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