/*
    *
    * 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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();Object.defineProperty(exports,"__esModule",{value:!0});var wjcVue2Base=require("wijmo/wijmo.vue2.base"),wjcGridDetail=require("wijmo/wijmo.grid.detail"),__glob="undefined"!=typeof window?window:self,wjcSelfRef=require("wijmo/wijmo.vue2.grid.detail"),wjcSelf=wjcSelfRef||exports;__glob.wijmo=__glob.wijmo||{},__glob.wijmo.vue2=__glob.wijmo.vue2||{},__glob.wijmo.vue2.grid=__glob.wijmo.vue2.grid||{},__glob.wijmo.vue2.grid.detail=wjcSelf;var vue_1=require("vue"),VueModule=require("vue");exports.Vue=vue_1.default||VueModule;var WjFlexGridDetailBehavior=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._openedComponents=[],t}return __extends(t,e),t.render=function(e){return e("div")},t.prototype._createControl=function(){var t=this,r=e.prototype._createControl.call(this);return r.createDetailCell=function(e){var r=new(exports.Vue.extend({data:function(){return{childVN:null}},render:function(e){return e("div",[this.childVN])}}));return r.childVN=t.component.$scopedSlots.default({row:e,item:e.dataItem}),r.$mount(),t._openedComponents.push(r),r.$el},r.disposeDetailCell=function(e){var r=e.detail,o=t._openedComponents;if(r)for(var i=0;i<o.length;i++)if(r===o[i].$el){o[i].$destroy(),o.splice(i,1);break}},r},t.tag="wj-flex-grid-detail",t.className="wijmo.grid.detail.FlexGridDetailProvider",t.parentInCtor=!0,t.classCtor=function(){return wjcGridDetail.FlexGridDetailProvider},t}(wjcVue2Base.WjComponentBehavior);exports.WjFlexGridDetail=WjFlexGridDetailBehavior.register();