@mescius/wijmo.vue2.grid 5.20252.43-nightly.d20251120.t173523 → 5.20252.43-nightly.d20251121.t173427

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251120.t173523
3
+ * Wijmo Library 5.20252.43-nightly.d20251121.t173427
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __rest=this&&this.__rest||function(e,t){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(l=Object.getOwnPropertySymbols(e);i<l.length;i++)t.indexOf(l[i])<0&&(o[l[i]]=e[l[i]])}return o},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_vue2_base_1=require("@mescius/wijmo.vue2.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGrid=__importStar(require("@mescius/wijmo.grid")),wjcInteropGrid=__importStar(require("@mescius/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;class WjFlexGridBehavior extends wijmo_vue2_base_1.WjComponentBehavior{_createControl(){let e=super._createControl();new DirectiveCellFactory(e);return e}}WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent","addNewAfterCommit"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};exports.WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,exports.WjFlexGrid)}class WjFlexGridColumnBehavior extends wijmo_vue2_base_1.WjComponentBehavior{_initParent(){var e=this.parent.control;if(e.autoGenerateColumns){e.autoGenerateColumns=!1;e.columns.clear()}super._initParent()}}WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};exports.WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,exports.WjFlexGridColumn)}class WjFlexGridColumnGroupBehavior extends wijmo_vue2_base_1.WjComponentBehavior{}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};exports.WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,exports.WjFlexGridColumnGroup)}class DirectiveCellFactory extends wjcInteropGrid.DirectiveCellFactoryBase{shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let o=e.row,l={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(l,o,e.column,o.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,o=i._instantiateTemplate(t,l.cell),r=e.templateCache={column:e.column,rootElement:o.$el,templateContextProperty:e.templateContextProperty,cellCmp:o};t[e.templateContextProperty]=r}else{let t=e.templateCache.cellCmp;t.context=l.cell;t.$forceUpdate()}}disposeTemplate(e,t,o){let l=t&&t.cellCmp;if(l){l.$destroy();t.cellCmp=null;super.disposeTemplate(e,t,o)}}clearCell(e){e.textContent=""}applyImmediately(e){if(!wijmo_vue2_base_1.VueApi.isV3Plus){const t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}}flushPendingEvents(e){}getEditorFocusFlag(){return!0}setEditorFocusFlag(e){}}exports.DirectiveCellFactory=DirectiveCellFactory;exports.WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.h("div"):e("div")},mounted:function(){let e=this.$parent;if(e){let t=e[wijmo_vue2_base_1.WjComponentBehavior._behProp];t._mountedCB(()=>{let o=this.ownerControl=t.control;if(o instanceof wjcGrid.FlexGrid)this.grid=o;else if(o instanceof wjcGrid.Column){this.column=o;let t,l=e;do{l=l.$parent;let e=l&&l[wijmo_vue2_base_1.WjComponentBehavior._behProp];t=e&&e.control}while(!(t instanceof wjcGrid.FlexGrid));this.grid=t}this._attachToControl()})}},methods:{_attachToControl:function(){let e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,exports.CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===exports.CellTemplateType.Cell||e===exports.CellTemplateType.ColumnHeader||e===exports.CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){let o=wijmo_vue2_base_1.VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});o.context=t;o.slotFn=wijmo_vue2_base_1.VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;o.$mount();e&&e.appendChild(o.$el);return o}}};exports.WjFlexGridCellTemplateDefinition[wijmo_vue2_base_1.VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};const WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";exports.WjFlexGridCellTemplate=wijmo_vue2_base_1.VueApi.isV3Plus?exports.WjFlexGridCellTemplateDefinition:wijmo_vue2_base_1.VueApi.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplate)}var CellTemplateCmp=wijmo_vue2_base_1.VueApi.extend({render:function(e){const t=this.slotFn;return e("div",t&&[t(this.context)])}});class V3CellTemplateCmp{constructor(e){this.props=e;this._host=document.createElement("div")}$mount(){const e=wijmo_vue2_base_1.VueApi.h,t=this.props,{parent:o}=t,l=__rest(t,["parent"]);wijmo_vue2_base_1.VueApi.render(e({parent:o,render:()=>e("div",l,this.slotFn&&this.slotFn(this.context))}),this.$el)}get $el(){return this._host}$destroy(){wijmo_vue2_base_1.VueApi.render(null,this.$el);this._host=null}$forceUpdate(){this._host&&this.$mount()}}function registerGrid(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}exports.registerGrid=registerGrid;
14
+ "use strict";var __rest=this&&this.__rest||function(e,t){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(l=Object.getOwnPropertySymbols(e);i<l.length;i++)t.indexOf(l[i])<0&&(o[l[i]]=e[l[i]])}return o},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_vue2_base_1=require("@mescius/wijmo.vue2.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGrid=__importStar(require("@mescius/wijmo.grid")),wjcInteropGrid=__importStar(require("@mescius/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;class WjFlexGridBehavior extends wijmo_vue2_base_1.WjComponentBehavior{_createControl(){let e=super._createControl();new DirectiveCellFactory(e);return e}}WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};exports.WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,exports.WjFlexGrid)}class WjFlexGridColumnBehavior extends wijmo_vue2_base_1.WjComponentBehavior{_initParent(){var e=this.parent.control;if(e.autoGenerateColumns){e.autoGenerateColumns=!1;e.columns.clear()}super._initParent()}}WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};exports.WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,exports.WjFlexGridColumn)}class WjFlexGridColumnGroupBehavior extends wijmo_vue2_base_1.WjComponentBehavior{}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};exports.WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,exports.WjFlexGridColumnGroup)}class DirectiveCellFactory extends wjcInteropGrid.DirectiveCellFactoryBase{shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let o=e.row,l={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(l,o,e.column,o.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,o=i._instantiateTemplate(t,l.cell),r=e.templateCache={column:e.column,rootElement:o.$el,templateContextProperty:e.templateContextProperty,cellCmp:o};t[e.templateContextProperty]=r}else{let t=e.templateCache.cellCmp;t.context=l.cell;t.$forceUpdate()}}disposeTemplate(e,t,o){let l=t&&t.cellCmp;if(l){l.$destroy();t.cellCmp=null;super.disposeTemplate(e,t,o)}}clearCell(e){e.textContent=""}applyImmediately(e){if(!wijmo_vue2_base_1.VueApi.isV3Plus){const t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}}flushPendingEvents(e){}getEditorFocusFlag(){return!0}setEditorFocusFlag(e){}}exports.DirectiveCellFactory=DirectiveCellFactory;exports.WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.h("div"):e("div")},mounted:function(){let e=this.$parent;if(e){let t=e[wijmo_vue2_base_1.WjComponentBehavior._behProp];t._mountedCB(()=>{let o=this.ownerControl=t.control;if(o instanceof wjcGrid.FlexGrid)this.grid=o;else if(o instanceof wjcGrid.Column){this.column=o;let t,l=e;do{l=l.$parent;let e=l&&l[wijmo_vue2_base_1.WjComponentBehavior._behProp];t=e&&e.control}while(!(t instanceof wjcGrid.FlexGrid));this.grid=t}this._attachToControl()})}},methods:{_attachToControl:function(){let e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,exports.CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===exports.CellTemplateType.Cell||e===exports.CellTemplateType.ColumnHeader||e===exports.CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){let o=wijmo_vue2_base_1.VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});o.context=t;o.slotFn=wijmo_vue2_base_1.VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;o.$mount();e&&e.appendChild(o.$el);return o}}};exports.WjFlexGridCellTemplateDefinition[wijmo_vue2_base_1.VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};const WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";exports.WjFlexGridCellTemplate=wijmo_vue2_base_1.VueApi.isV3Plus?exports.WjFlexGridCellTemplateDefinition:wijmo_vue2_base_1.VueApi.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplate)}var CellTemplateCmp=wijmo_vue2_base_1.VueApi.extend({render:function(e){const t=this.slotFn;return e("div",t&&[t(this.context)])}});class V3CellTemplateCmp{constructor(e){this.props=e;this._host=document.createElement("div")}$mount(){const e=wijmo_vue2_base_1.VueApi.h,t=this.props,{parent:o}=t,l=__rest(t,["parent"]);wijmo_vue2_base_1.VueApi.render(e({parent:o,render:()=>e("div",l,this.slotFn&&this.slotFn(this.context))}),this.$el)}get $el(){return this._host}$destroy(){wijmo_vue2_base_1.VueApi.render(null,this.$el);this._host=null}$forceUpdate(){this._host&&this.$mount()}}function registerGrid(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}exports.registerGrid=registerGrid;
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251120.t173523
3
+ * Wijmo Library 5.20252.43-nightly.d20251121.t173427
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- var __rest=this&&this.__rest||function(e,t){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(l[o[i]]=e[o[i]])}return l};import{VueApi,WjComponentBehavior}from"@mescius/wijmo.vue2.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGrid from"@mescius/wijmo.grid";import*as wjcInteropGrid from"@mescius/wijmo.interop.grid";export var CellTemplateType=wjcInteropGrid.GridCellTemplateType;class WjFlexGridBehavior extends WjComponentBehavior{_createControl(){let e=super._createControl();new DirectiveCellFactory(e);return e}}WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent","addNewAfterCommit"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};export var WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,WjFlexGrid)}class WjFlexGridColumnBehavior extends WjComponentBehavior{_initParent(){var e=this.parent.control;if(e.autoGenerateColumns){e.autoGenerateColumns=!1;e.columns.clear()}super._initParent()}}WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};export var WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,WjFlexGridColumn)}class WjFlexGridColumnGroupBehavior extends WjComponentBehavior{}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};export var WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,WjFlexGridColumnGroup)}export class DirectiveCellFactory extends wjcInteropGrid.DirectiveCellFactoryBase{shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let l=e.row,o={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(o,l,e.column,l.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,l=i._instantiateTemplate(t,o.cell),r=e.templateCache={column:e.column,rootElement:l.$el,templateContextProperty:e.templateContextProperty,cellCmp:l};t[e.templateContextProperty]=r}else{let t=e.templateCache.cellCmp;t.context=o.cell;t.$forceUpdate()}}disposeTemplate(e,t,l){let o=t&&t.cellCmp;if(o){o.$destroy();t.cellCmp=null;super.disposeTemplate(e,t,l)}}clearCell(e){e.textContent=""}applyImmediately(e){if(!VueApi.isV3Plus){const t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}}flushPendingEvents(e){}getEditorFocusFlag(){return!0}setEditorFocusFlag(e){}}export const WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return VueApi.isV3Plus?VueApi.h("div"):e("div")},mounted:function(){let e=this.$parent;if(e){let t=e[WjComponentBehavior._behProp];t._mountedCB(()=>{let l=this.ownerControl=t.control;if(l instanceof wjcGrid.FlexGrid)this.grid=l;else if(l instanceof wjcGrid.Column){this.column=l;let t,o=e;do{o=o.$parent;let e=o&&o[WjComponentBehavior._behProp];t=e&&e.control}while(!(t instanceof wjcGrid.FlexGrid));this.grid=t}this._attachToControl()})}},methods:{_attachToControl:function(){let e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===CellTemplateType.Cell||e===CellTemplateType.ColumnHeader||e===CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){let l=VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});l.context=t;l.slotFn=VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;l.$mount();e&&e.appendChild(l.$el);return l}}};WjFlexGridCellTemplateDefinition[VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};const WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";export var WjFlexGridCellTemplate=VueApi.isV3Plus?WjFlexGridCellTemplateDefinition:VueApi.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplate)}var CellTemplateCmp=VueApi.extend({render:function(e){const t=this.slotFn;return e("div",t&&[t(this.context)])}});class V3CellTemplateCmp{constructor(e){this.props=e;this._host=document.createElement("div")}$mount(){const e=VueApi.h,t=this.props,{parent:l}=t,o=__rest(t,["parent"]);VueApi.render(e({parent:l,render:()=>e("div",o,this.slotFn&&this.slotFn(this.context))}),this.$el)}get $el(){return this._host}$destroy(){VueApi.render(null,this.$el);this._host=null}$forceUpdate(){this._host&&this.$mount()}}export function registerGrid(e){if(VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}
14
+ var __rest=this&&this.__rest||function(e,t){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(l[o[i]]=e[o[i]])}return l};import{VueApi,WjComponentBehavior}from"@mescius/wijmo.vue2.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGrid from"@mescius/wijmo.grid";import*as wjcInteropGrid from"@mescius/wijmo.interop.grid";export var CellTemplateType=wjcInteropGrid.GridCellTemplateType;class WjFlexGridBehavior extends WjComponentBehavior{_createControl(){let e=super._createControl();new DirectiveCellFactory(e);return e}}WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};export var WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,WjFlexGrid)}class WjFlexGridColumnBehavior extends WjComponentBehavior{_initParent(){var e=this.parent.control;if(e.autoGenerateColumns){e.autoGenerateColumns=!1;e.columns.clear()}super._initParent()}}WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};export var WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,WjFlexGridColumn)}class WjFlexGridColumnGroupBehavior extends WjComponentBehavior{}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};export var WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,WjFlexGridColumnGroup)}export class DirectiveCellFactory extends wjcInteropGrid.DirectiveCellFactoryBase{shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let l=e.row,o={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(o,l,e.column,l.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,l=i._instantiateTemplate(t,o.cell),r=e.templateCache={column:e.column,rootElement:l.$el,templateContextProperty:e.templateContextProperty,cellCmp:l};t[e.templateContextProperty]=r}else{let t=e.templateCache.cellCmp;t.context=o.cell;t.$forceUpdate()}}disposeTemplate(e,t,l){let o=t&&t.cellCmp;if(o){o.$destroy();t.cellCmp=null;super.disposeTemplate(e,t,l)}}clearCell(e){e.textContent=""}applyImmediately(e){if(!VueApi.isV3Plus){const t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}}flushPendingEvents(e){}getEditorFocusFlag(){return!0}setEditorFocusFlag(e){}}export const WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return VueApi.isV3Plus?VueApi.h("div"):e("div")},mounted:function(){let e=this.$parent;if(e){let t=e[WjComponentBehavior._behProp];t._mountedCB(()=>{let l=this.ownerControl=t.control;if(l instanceof wjcGrid.FlexGrid)this.grid=l;else if(l instanceof wjcGrid.Column){this.column=l;let t,o=e;do{o=o.$parent;let e=o&&o[WjComponentBehavior._behProp];t=e&&e.control}while(!(t instanceof wjcGrid.FlexGrid));this.grid=t}this._attachToControl()})}},methods:{_attachToControl:function(){let e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===CellTemplateType.Cell||e===CellTemplateType.ColumnHeader||e===CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){let l=VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});l.context=t;l.slotFn=VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;l.$mount();e&&e.appendChild(l.$el);return l}}};WjFlexGridCellTemplateDefinition[VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};const WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";export var WjFlexGridCellTemplate=VueApi.isV3Plus?WjFlexGridCellTemplateDefinition:VueApi.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplate)}var CellTemplateCmp=VueApi.extend({render:function(e){const t=this.slotFn;return e("div",t&&[t(this.context)])}});class V3CellTemplateCmp{constructor(e){this.props=e;this._host=document.createElement("div")}$mount(){const e=VueApi.h,t=this.props,{parent:l}=t,o=__rest(t,["parent"]);VueApi.render(e({parent:l,render:()=>e("div",o,this.slotFn&&this.slotFn(this.context))}),this.$el)}get $el(){return this._host}$destroy(){VueApi.render(null,this.$el);this._host=null}$forceUpdate(){this._host&&this.$mount()}}export function registerGrid(e){if(VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251120.t173523
3
+ * Wijmo Library 5.20252.43-nightly.d20251121.t173427
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=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])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__rest=this&&this.__rest||function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(o[r[i]]=e[r[i]])}return o};import{VueApi,WjComponentBehavior}from"@mescius/wijmo.vue2.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGrid from"@mescius/wijmo.grid";import*as wjcInteropGrid from"@mescius/wijmo.interop.grid";export var CellTemplateType=wjcInteropGrid.GridCellTemplateType;var WjFlexGridBehavior=function(e){__extends(WjFlexGridBehavior,e);function WjFlexGridBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridBehavior.prototype._createControl=function(){var t=e.prototype._createControl.call(this);new DirectiveCellFactory(t);return t};WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent","addNewAfterCommit"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};return WjFlexGridBehavior}(WjComponentBehavior);export var WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,WjFlexGrid)}var WjFlexGridColumnBehavior=function(e){__extends(WjFlexGridColumnBehavior,e);function WjFlexGridColumnBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnBehavior.prototype._initParent=function(){var t=this.parent.control;if(t.autoGenerateColumns){t.autoGenerateColumns=!1;t.columns.clear()}e.prototype._initParent.call(this)};WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};return WjFlexGridColumnBehavior}(WjComponentBehavior);export var WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,WjFlexGridColumn)}var WjFlexGridColumnGroupBehavior=function(e){__extends(WjFlexGridColumnGroupBehavior,e);function WjFlexGridColumnGroupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};return WjFlexGridColumnGroupBehavior}(WjComponentBehavior);export var WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,WjFlexGridColumnGroup)}var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(){return null!==e&&e.apply(this,arguments)||this}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,r={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(r,o,e.column,o.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var l=e.cell,n=i._instantiateTemplate(l,r.cell),a=e.templateCache={column:e.column,rootElement:n.$el,templateContextProperty:e.templateContextProperty,cellCmp:n};l[e.templateContextProperty]=a}else{var p=e.templateCache.cellCmp;p.context=r.cell;p.$forceUpdate()}};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,r){var i=o&&o.cellCmp;if(i){i.$destroy();o.cellCmp=null;e.prototype.disposeTemplate.call(this,t,o,r)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){if(!VueApi.isV3Plus){var t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}};DirectiveCellFactory.prototype.flushPendingEvents=function(e){};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return!0};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){};return DirectiveCellFactory}(wjcInteropGrid.DirectiveCellFactoryBase);export{DirectiveCellFactory};export var WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return VueApi.isV3Plus?VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var o=t[WjComponentBehavior._behProp];o._mountedCB((function(){var r=e.ownerControl=o.control;if(r instanceof wjcGrid.FlexGrid)e.grid=r;else if(r instanceof wjcGrid.Column){e.column=r;var i=t,l=void 0;do{var n=(i=i.$parent)&&i[WjComponentBehavior._behProp];l=n&&n.control}while(!(l instanceof wjcGrid.FlexGrid));e.grid=l}e._attachToControl()}))}},methods:{_attachToControl:function(){var e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===CellTemplateType.Cell||e===CellTemplateType.ColumnHeader||e===CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){var o=VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});o.context=t;o.slotFn=VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;o.$mount();e&&e.appendChild(o.$el);return o}}};WjFlexGridCellTemplateDefinition[VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};var WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";export var WjFlexGridCellTemplate=VueApi.isV3Plus?WjFlexGridCellTemplateDefinition:VueApi.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplate)}var CellTemplateCmp=VueApi.extend({render:function(e){var t=this.slotFn;return e("div",t&&[t(this.context)])}}),V3CellTemplateCmp=function(){function V3CellTemplateCmp(e){this.props=e;this._host=document.createElement("div")}V3CellTemplateCmp.prototype.$mount=function(){var e=this,t=VueApi.h,o=this.props,r=o.parent,i=__rest(o,["parent"]);VueApi.render(t({parent:r,render:function(){return t("div",i,e.slotFn&&e.slotFn(e.context))}}),this.$el)};Object.defineProperty(V3CellTemplateCmp.prototype,"$el",{get:function(){return this._host},enumerable:!0,configurable:!0});V3CellTemplateCmp.prototype.$destroy=function(){VueApi.render(null,this.$el);this._host=null};V3CellTemplateCmp.prototype.$forceUpdate=function(){this._host&&this.$mount()};return V3CellTemplateCmp}();export function registerGrid(e){if(VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}
14
+ var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=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])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__rest=this&&this.__rest||function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&(o[r[l]]=e[r[l]])}return o};import{VueApi,WjComponentBehavior}from"@mescius/wijmo.vue2.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGrid from"@mescius/wijmo.grid";import*as wjcInteropGrid from"@mescius/wijmo.interop.grid";export var CellTemplateType=wjcInteropGrid.GridCellTemplateType;var WjFlexGridBehavior=function(e){__extends(WjFlexGridBehavior,e);function WjFlexGridBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridBehavior.prototype._createControl=function(){var t=e.prototype._createControl.call(this);new DirectiveCellFactory(t);return t};WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};return WjFlexGridBehavior}(WjComponentBehavior);export var WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,WjFlexGrid)}var WjFlexGridColumnBehavior=function(e){__extends(WjFlexGridColumnBehavior,e);function WjFlexGridColumnBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnBehavior.prototype._initParent=function(){var t=this.parent.control;if(t.autoGenerateColumns){t.autoGenerateColumns=!1;t.columns.clear()}e.prototype._initParent.call(this)};WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};return WjFlexGridColumnBehavior}(WjComponentBehavior);export var WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,WjFlexGridColumn)}var WjFlexGridColumnGroupBehavior=function(e){__extends(WjFlexGridColumnGroupBehavior,e);function WjFlexGridColumnGroupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};return WjFlexGridColumnGroupBehavior}(WjComponentBehavior);export var WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,WjFlexGridColumnGroup)}var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(){return null!==e&&e.apply(this,arguments)||this}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,r={},l=e.templateContext;e.cellBindingsData=this.setBindingsData(r,o,e.column,o.dataItem,e.cellValue,l.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var i=e.cell,n=l._instantiateTemplate(i,r.cell),a=e.templateCache={column:e.column,rootElement:n.$el,templateContextProperty:e.templateContextProperty,cellCmp:n};i[e.templateContextProperty]=a}else{var p=e.templateCache.cellCmp;p.context=r.cell;p.$forceUpdate()}};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,r){var l=o&&o.cellCmp;if(l){l.$destroy();o.cellCmp=null;e.prototype.disposeTemplate.call(this,t,o,r)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){if(!VueApi.isV3Plus){var t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}};DirectiveCellFactory.prototype.flushPendingEvents=function(e){};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return!0};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){};return DirectiveCellFactory}(wjcInteropGrid.DirectiveCellFactoryBase);export{DirectiveCellFactory};export var WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return VueApi.isV3Plus?VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var o=t[WjComponentBehavior._behProp];o._mountedCB((function(){var r=e.ownerControl=o.control;if(r instanceof wjcGrid.FlexGrid)e.grid=r;else if(r instanceof wjcGrid.Column){e.column=r;var l=t,i=void 0;do{var n=(l=l.$parent)&&l[WjComponentBehavior._behProp];i=n&&n.control}while(!(i instanceof wjcGrid.FlexGrid));e.grid=i}e._attachToControl()}))}},methods:{_attachToControl:function(){var e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===CellTemplateType.Cell||e===CellTemplateType.ColumnHeader||e===CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){var o=VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});o.context=t;o.slotFn=VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;o.$mount();e&&e.appendChild(o.$el);return o}}};WjFlexGridCellTemplateDefinition[VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};var WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";export var WjFlexGridCellTemplate=VueApi.isV3Plus?WjFlexGridCellTemplateDefinition:VueApi.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,WjFlexGridCellTemplate)}var CellTemplateCmp=VueApi.extend({render:function(e){var t=this.slotFn;return e("div",t&&[t(this.context)])}}),V3CellTemplateCmp=function(){function V3CellTemplateCmp(e){this.props=e;this._host=document.createElement("div")}V3CellTemplateCmp.prototype.$mount=function(){var e=this,t=VueApi.h,o=this.props,r=o.parent,l=__rest(o,["parent"]);VueApi.render(t({parent:r,render:function(){return t("div",l,e.slotFn&&e.slotFn(e.context))}}),this.$el)};Object.defineProperty(V3CellTemplateCmp.prototype,"$el",{get:function(){return this._host},enumerable:!0,configurable:!0});V3CellTemplateCmp.prototype.$destroy=function(){VueApi.render(null,this.$el);this._host=null};V3CellTemplateCmp.prototype.$forceUpdate=function(){this._host&&this.$mount()};return V3CellTemplateCmp}();export function registerGrid(e){if(VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251120.t173523
3
+ * Wijmo Library 5.20252.43-nightly.d20251121.t173427
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251120.t173523
3
+ * Wijmo Library 5.20252.43-nightly.d20251121.t173427
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=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])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__rest=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(r[o[i]]=e[o[i]])}return r},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_vue2_base_1=require("@mescius/wijmo.vue2.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGrid=__importStar(require("@mescius/wijmo.grid")),wjcInteropGrid=__importStar(require("@mescius/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;var WjFlexGridBehavior=function(e){__extends(WjFlexGridBehavior,e);function WjFlexGridBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridBehavior.prototype._createControl=function(){var t=e.prototype._createControl.call(this);new DirectiveCellFactory(t);return t};WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent","addNewAfterCommit"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};return WjFlexGridBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,exports.WjFlexGrid)}var WjFlexGridColumnBehavior=function(e){__extends(WjFlexGridColumnBehavior,e);function WjFlexGridColumnBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnBehavior.prototype._initParent=function(){var t=this.parent.control;if(t.autoGenerateColumns){t.autoGenerateColumns=!1;t.columns.clear()}e.prototype._initParent.call(this)};WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};return WjFlexGridColumnBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,exports.WjFlexGridColumn)}var WjFlexGridColumnGroupBehavior=function(e){__extends(WjFlexGridColumnGroupBehavior,e);function WjFlexGridColumnGroupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};return WjFlexGridColumnGroupBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,exports.WjFlexGridColumnGroup)}var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(){return null!==e&&e.apply(this,arguments)||this}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var r=e.row,o={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(o,r,e.column,r.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var l=e.cell,n=i._instantiateTemplate(l,o.cell),a=e.templateCache={column:e.column,rootElement:n.$el,templateContextProperty:e.templateContextProperty,cellCmp:n};l[e.templateContextProperty]=a}else{var s=e.templateCache.cellCmp;s.context=o.cell;s.$forceUpdate()}};DirectiveCellFactory.prototype.disposeTemplate=function(t,r,o){var i=r&&r.cellCmp;if(i){i.$destroy();r.cellCmp=null;e.prototype.disposeTemplate.call(this,t,r,o)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){if(!wijmo_vue2_base_1.VueApi.isV3Plus){var t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}};DirectiveCellFactory.prototype.flushPendingEvents=function(e){};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return!0};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){};return DirectiveCellFactory}(wjcInteropGrid.DirectiveCellFactoryBase);exports.DirectiveCellFactory=DirectiveCellFactory;exports.WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var r=t[wijmo_vue2_base_1.WjComponentBehavior._behProp];r._mountedCB((function(){var o=e.ownerControl=r.control;if(o instanceof wjcGrid.FlexGrid)e.grid=o;else if(o instanceof wjcGrid.Column){e.column=o;var i=t,l=void 0;do{var n=(i=i.$parent)&&i[wijmo_vue2_base_1.WjComponentBehavior._behProp];l=n&&n.control}while(!(l instanceof wjcGrid.FlexGrid));e.grid=l}e._attachToControl()}))}},methods:{_attachToControl:function(){var e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,exports.CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===exports.CellTemplateType.Cell||e===exports.CellTemplateType.ColumnHeader||e===exports.CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){var r=wijmo_vue2_base_1.VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});r.context=t;r.slotFn=wijmo_vue2_base_1.VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;r.$mount();e&&e.appendChild(r.$el);return r}}};exports.WjFlexGridCellTemplateDefinition[wijmo_vue2_base_1.VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};var WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";exports.WjFlexGridCellTemplate=wijmo_vue2_base_1.VueApi.isV3Plus?exports.WjFlexGridCellTemplateDefinition:wijmo_vue2_base_1.VueApi.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplate)}var CellTemplateCmp=wijmo_vue2_base_1.VueApi.extend({render:function(e){var t=this.slotFn;return e("div",t&&[t(this.context)])}}),V3CellTemplateCmp=function(){function V3CellTemplateCmp(e){this.props=e;this._host=document.createElement("div")}V3CellTemplateCmp.prototype.$mount=function(){var e=this,t=wijmo_vue2_base_1.VueApi.h,r=this.props,o=r.parent,i=__rest(r,["parent"]);wijmo_vue2_base_1.VueApi.render(t({parent:o,render:function(){return t("div",i,e.slotFn&&e.slotFn(e.context))}}),this.$el)};Object.defineProperty(V3CellTemplateCmp.prototype,"$el",{get:function(){return this._host},enumerable:!0,configurable:!0});V3CellTemplateCmp.prototype.$destroy=function(){wijmo_vue2_base_1.VueApi.render(null,this.$el);this._host=null};V3CellTemplateCmp.prototype.$forceUpdate=function(){this._host&&this.$mount()};return V3CellTemplateCmp}();function registerGrid(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}exports.registerGrid=registerGrid;
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=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])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__rest=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(r[o[i]]=e[o[i]])}return r},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_vue2_base_1=require("@mescius/wijmo.vue2.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGrid=__importStar(require("@mescius/wijmo.grid")),wjcInteropGrid=__importStar(require("@mescius/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;var WjFlexGridBehavior=function(e){__extends(WjFlexGridBehavior,e);function WjFlexGridBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridBehavior.prototype._createControl=function(){var t=e.prototype._createControl.call(this);new DirectiveCellFactory(t);return t};WjFlexGridBehavior.tag="wj-flex-grid";WjFlexGridBehavior.props=["isDisabled","tabOrder","newRowAtTop","allowAddNew","allowDelete","allowDragging","allowMerging","allowResizing","allowSorting","allowPinning","autoScroll","autoRowHeights","autoSizeMode","autoGenerateColumns","autoSearch","caseSensitiveSearch","quickAutoSize","bigCheckboxes","childItemsPath","groupHeaderFormat","headersVisibility","showSelectedHeaders","showMarquee","showPlaceholders","itemFormatter","isReadOnly","imeEnabled","mergeManager","selectionMode","showGroups","showSort","showDropDown","showAlternatingRows","showErrors","alternatingRowStep","itemValidator","validateEdits","treeIndent","itemsSource","autoClipboard","expandSelectionOnCopyPaste","frozenRows","frozenColumns","cloneFrozenCells","deferResizing","sortRowIndex","editColumnIndex","stickyHeaders","preserveSelectedState","preserveOutlineState","preserveWhiteSpace","keyActionTab","keyActionEnter","rowHeaderPath","virtualizationThreshold","anchorCursor","lazyRender","refreshOnEdit","copyHeaders","columnGroups","commitEmptyEdits","headersFocusability","ariaLabel","skipMerged","pasteEmptyCells","groupSummaryPosition","frozenCells","sortOrder","noDataOverlayContent"];WjFlexGridBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","beginningEdit","cellEditEnded","cellEditEnding","prepareCellForEdit","formatItem","resizingColumn","resizedColumn","autoSizingColumn","autoSizedColumn","draggingColumn","draggingColumnOver","draggedColumn","sortingColumn","sortedColumn","pinningColumn","pinnedColumn","resizingRow","resizedRow","autoSizingRow","autoSizedRow","draggingRow","draggingRowOver","draggedRow","deletingRow","deletedRow","loadingRows","loadedRows","rowEditStarting","rowEditStarted","rowEditEnding","rowEditEnded","rowAdded","groupCollapsedChanging","groupCollapsedChanged","columnGroupCollapsedChanging","columnGroupCollapsedChanged","itemsSourceChanging","itemsSourceChanged","selectionChanging","selectionChanged","scrollPositionChanged","updatingView","updatedView","updatingLayout","updatedLayout","pasting","pasted","pastingCell","pastedCell","copying","copied","gettingCellClipString"];WjFlexGridBehavior.classCtor=function(){return wjcGrid.FlexGrid};return WjFlexGridBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGrid=WjFlexGridBehavior.register();function registerV3WjFlexGrid(e){e.component(WjFlexGridBehavior.tag,exports.WjFlexGrid)}var WjFlexGridColumnBehavior=function(e){__extends(WjFlexGridColumnBehavior,e);function WjFlexGridColumnBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnBehavior.prototype._initParent=function(){var t=this.parent.control;if(t.autoGenerateColumns){t.autoGenerateColumns=!1;t.columns.clear()}e.prototype._initParent.call(this)};WjFlexGridColumnBehavior.tag="wj-flex-grid-column";WjFlexGridColumnBehavior.parentProp="columns";WjFlexGridColumnBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","sortOrder"];WjFlexGridColumnBehavior.events=["initialized"];WjFlexGridColumnBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnBehavior.classCtor=function(){return wjcGrid.Column};return WjFlexGridColumnBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGridColumn=WjFlexGridColumnBehavior.register();function registerV3WjFlexGridColumn(e){e.component(WjFlexGridColumnBehavior.tag,exports.WjFlexGridColumn)}var WjFlexGridColumnGroupBehavior=function(e){__extends(WjFlexGridColumnGroupBehavior,e);function WjFlexGridColumnGroupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjFlexGridColumnGroupBehavior.tag="wj-flex-grid-column-group";WjFlexGridColumnGroupBehavior.parentProp="columnGroups";WjFlexGridColumnGroupBehavior.props=["wjProperty","name","dataMap","dataType","binding","sortMemberPath","format","cellTemplate","header","width","maxLength","minWidth","maxWidth","align","allowDragging","allowSorting","allowResizing","allowMerging","aggregate","isReadOnly","cssClass","cssClassAll","isContentHtml","isSelected","visible","wordWrap","multiLine","mask","inputType","isRequired","showDropDown","dataMapEditor","dropDownCssClass","quickAutoSize","editor","placeholder","collapseTo","isCollapsed","height","sortOrder"];WjFlexGridColumnGroupBehavior.events=["initialized"];WjFlexGridColumnGroupBehavior.changeEvents={"grid.selectionChanged":["isSelected"]};WjFlexGridColumnGroupBehavior.classCtor=function(){return wjcGrid.ColumnGroup};return WjFlexGridColumnGroupBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroupBehavior.register();function registerV3WjFlexGridColumnGroup(e){e.component(WjFlexGridColumnGroupBehavior.tag,exports.WjFlexGridColumnGroup)}var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(){return null!==e&&e.apply(this,arguments)||this}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.cellCmp||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var r=e.row,o={},i=e.templateContext;e.cellBindingsData=this.setBindingsData(o,r,e.column,r.dataItem,e.cellValue,i.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var l=e.cell,n=i._instantiateTemplate(l,o.cell),a=e.templateCache={column:e.column,rootElement:n.$el,templateContextProperty:e.templateContextProperty,cellCmp:n};l[e.templateContextProperty]=a}else{var s=e.templateCache.cellCmp;s.context=o.cell;s.$forceUpdate()}};DirectiveCellFactory.prototype.disposeTemplate=function(t,r,o){var i=r&&r.cellCmp;if(i){i.$destroy();r.cellCmp=null;e.prototype.disposeTemplate.call(this,t,r,o)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){if(!wijmo_vue2_base_1.VueApi.isV3Plus){var t=e.templateCache.cellCmp._watcher;t&&"function"==typeof t.run&&t.run()}};DirectiveCellFactory.prototype.flushPendingEvents=function(e){};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return!0};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){};return DirectiveCellFactory}(wjcInteropGrid.DirectiveCellFactoryBase);exports.DirectiveCellFactory=DirectiveCellFactory;exports.WjFlexGridCellTemplateDefinition={props:{cellOverflow:{default:void 0},cellType:{default:void 0},autoSizeRows:{default:!0},forceFullEdit:{default:!0}},render:function(e){return wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var r=t[wijmo_vue2_base_1.WjComponentBehavior._behProp];r._mountedCB((function(){var o=e.ownerControl=r.control;if(o instanceof wjcGrid.FlexGrid)e.grid=o;else if(o instanceof wjcGrid.Column){e.column=o;var i=t,l=void 0;do{var n=(i=i.$parent)&&i[wijmo_vue2_base_1.WjComponentBehavior._behProp];l=n&&n.control}while(!(l instanceof wjcGrid.FlexGrid));e.grid=l}e._attachToControl()}))}},methods:{_attachToControl:function(){var e=this.cellTypeEnum=wjcCore.asEnum(this.cellType,exports.CellTemplateType),t=this.ownerControl;t[DirectiveCellFactory.getTemplContextProp(e)]=this;t instanceof wjcGrid.Column&&(e===exports.CellTemplateType.Cell||e===exports.CellTemplateType.ColumnHeader||e===exports.CellTemplateType.ColumnFooter)&&t._setFlag(wjcGrid.RowColFlags.HasTemplate,!0);this.grid.invalidate()},_detachFromControl:function(){if(null!=this.cellTypeEnum){this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeEnum)]=null;this.grid.invalidate()}},_instantiateTemplate:function(e,t){var r=wijmo_vue2_base_1.VueApi.isV3Plus?new V3CellTemplateCmp({parent:this}):new CellTemplateCmp({parent:this});r.context=t;r.slotFn=wijmo_vue2_base_1.VueApi.isV3Plus?this.$slots.default:this.$scopedSlots.default;r.$mount();e&&e.appendChild(r.$el);return r}}};exports.WjFlexGridCellTemplateDefinition[wijmo_vue2_base_1.VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this._detachFromControl()};var WjFlexGridCellTemplateTag="wj-flex-grid-cell-template";exports.WjFlexGridCellTemplate=wijmo_vue2_base_1.VueApi.isV3Plus?exports.WjFlexGridCellTemplateDefinition:wijmo_vue2_base_1.VueApi.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplateDefinition);function registerV3WjFlexGridCellTemplate(e){e.component(WjFlexGridCellTemplateTag,exports.WjFlexGridCellTemplate)}var CellTemplateCmp=wijmo_vue2_base_1.VueApi.extend({render:function(e){var t=this.slotFn;return e("div",t&&[t(this.context)])}}),V3CellTemplateCmp=function(){function V3CellTemplateCmp(e){this.props=e;this._host=document.createElement("div")}V3CellTemplateCmp.prototype.$mount=function(){var e=this,t=wijmo_vue2_base_1.VueApi.h,r=this.props,o=r.parent,i=__rest(r,["parent"]);wijmo_vue2_base_1.VueApi.render(t({parent:o,render:function(){return t("div",i,e.slotFn&&e.slotFn(e.context))}}),this.$el)};Object.defineProperty(V3CellTemplateCmp.prototype,"$el",{get:function(){return this._host},enumerable:!0,configurable:!0});V3CellTemplateCmp.prototype.$destroy=function(){wijmo_vue2_base_1.VueApi.render(null,this.$el);this._host=null};V3CellTemplateCmp.prototype.$forceUpdate=function(){this._host&&this.$mount()};return V3CellTemplateCmp}();function registerGrid(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){registerV3WjFlexGrid(e);registerV3WjFlexGridColumn(e);registerV3WjFlexGridColumnGroup(e);registerV3WjFlexGridCellTemplate(e)}}exports.registerGrid=registerGrid;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@mescius/wijmo.vue2.grid",
3
- "version": "5.20252.43-nightly.d20251120.t173523",
3
+ "version": "5.20252.43-nightly.d20251121.t173427",
4
4
  "description": "UI library for pure JS, Angular, React, Vue and more...",
5
5
  "author": "MESCIUS inc",
6
6
  "license": "Commercial",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "dependencies": {
10
- "@mescius/wijmo": "5.20252.43-nightly.d20251120.t173523",
11
- "@mescius/wijmo.grid": "5.20252.43-nightly.d20251120.t173523",
12
- "@mescius/wijmo.input": "5.20252.43-nightly.d20251120.t173523",
13
- "@mescius/wijmo.grid.detail": "5.20252.43-nightly.d20251120.t173523",
14
- "@mescius/wijmo.interop.grid": "5.20252.43-nightly.d20251120.t173523",
15
- "@mescius/wijmo.vue2.base": "5.20252.43-nightly.d20251120.t173523"
10
+ "@mescius/wijmo": "5.20252.43-nightly.d20251121.t173427",
11
+ "@mescius/wijmo.grid": "5.20252.43-nightly.d20251121.t173427",
12
+ "@mescius/wijmo.input": "5.20252.43-nightly.d20251121.t173427",
13
+ "@mescius/wijmo.grid.detail": "5.20252.43-nightly.d20251121.t173427",
14
+ "@mescius/wijmo.interop.grid": "5.20252.43-nightly.d20251121.t173427",
15
+ "@mescius/wijmo.vue2.base": "5.20252.43-nightly.d20251121.t173427"
16
16
  },
17
17
  "homepage": "https://developer.mescius.com/wijmo",
18
18
  "bugs": {