/*
    *
    * Wijmo Library 5.20183.550
    * http://wijmo.com/
    *
    * Copyright(c) GrapeCity, Inc.  All rights reserved.
    *
    * Licensed under the GrapeCity Commercial License.
    * sales@wijmo.com
    * wijmo.com/products/wijmo-5/license/
    *
    */
"use strict";var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();Object.defineProperty(exports,"__esModule",{value:!0});var wjcWebcomponentsBase=require("wijmo/wijmo.webcomponents.base"),wjcGrid=require("wijmo/wijmo.grid"),__glob="undefined"!=typeof window?window:self,wjcSelfRef=require("wijmo/wijmo.webcomponents.grid"),wjcSelf=wjcSelfRef||exports;__glob.wijmo=__glob.wijmo||{},__glob.wijmo.webcomponents=__glob.wijmo.webcomponents||{},__glob.wijmo.webcomponents.grid=wjcSelf;var _wj_ns_exists_14=!0,WjcFlexGrid=function(e){function t(){var t=e.call(this,document.createElement("div"))||this;return t._wjBehaviour=wjcWebcomponentsBase.WjComponentBehavior._attach(t),t}return __extends(t,e),Object.defineProperty(t,"observedAttributes",{get:function(){return wjcWebcomponentsBase.WjComponentBehavior.getProps(this)},enumerable:!0,configurable:!0}),t.prototype.connectedCallback=function(){this._wjBehaviour.lhConnected()},t.prototype.attributeChangedCallback=function(e,t,o){this._wjBehaviour.lhAttributeChanged(e,t,o)},t.prototype.disconnectedCallback=function(){this._wjBehaviour.lhDisconnected()},t.prototype.addEventListener=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];"string"==typeof t[0]?HTMLElement.prototype.addEventListener.apply(this,t):e.prototype.addEventListener.apply(this,t)},t}(wjcGrid.FlexGrid);exports.WjcFlexGrid=WjcFlexGrid,_wj_ns_exists_14&&wjcWebcomponentsBase.WjComponentBehavior.register("wjc-flex-grid",WjcFlexGrid);var WjcFlexGridColumn=function(e){function t(){var t=e.call(this)||this;return t._wjBehaviour=wjcWebcomponentsBase.WjComponentBehavior._attach(t),t}return __extends(t,e),Object.defineProperty(t,"observedAttributes",{get:function(){return wjcWebcomponentsBase.WjComponentBehavior.getProps(this)},enumerable:!0,configurable:!0}),t.prototype.connectedCallback=function(){this._wjBehaviour.lhConnected()},t.prototype.attributeChangedCallback=function(e,t,o){this._wjBehaviour.lhAttributeChanged(e,t,o)},t.prototype.disconnectedCallback=function(){this._wjBehaviour.lhDisconnected()},t.prototype._beforeInitParent=function(){var e=this.parentElement.control;e.autoGenerateColumns&&(e.autoGenerateColumns=!1,e.columns.clear())},t.wrappedClass=function(){return wjcGrid.Column},t.parentProp="columns",t}(HTMLElement);exports.WjcFlexGridColumn=WjcFlexGridColumn,_wj_ns_exists_14&&wjcWebcomponentsBase.WjComponentBehavior.register("wjc-flex-grid-column",WjcFlexGridColumn);