New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@grapecity/wijmo.angular2.grid

Package Overview
Dependencies
Maintainers
0
Versions
1297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grapecity/wijmo.angular2.grid - npm Package Compare versions

Comparing version

to
5.20241.19

4

es2015-commonjs.js
/*!
*
* Wijmo Library 5.20241.9
* Wijmo Library 5.20241.19
* https://developer.mescius.com/wijmo

@@ -14,2 +14,2 @@ *

"use strict";var WjFlexGrid_1,WjFlexGridColumn_1,WjFlexGridColumnGroup_1,WjFlexGridCellTemplate_1,__decorate=this&&this.__decorate||function(e,t,i,r){var o,l=arguments.length,n=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(l<3?o(n):l>3?o(t,i,n):o(t,i))||n);return l>3&&n&&Object.defineProperty(t,i,n),n},__param=this&&this.__param||function(e,t){return function(i,r){t(i,r,e)}},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo_angular2_directivebase_1=require("@grapecity/wijmo.angular2.directivebase"),wijmo_interop_grid_1=require("@grapecity/wijmo.interop.grid"),wjcCore=__importStar(require("@grapecity/wijmo")),wjcGrid=__importStar(require("@grapecity/wijmo.grid")),wjcInteropGrid=__importStar(require("@grapecity/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;var wjFlexGridMeta={selector:"wj-flex-grid",template:"<div><ng-content></ng-content></div>",inputs:["wjModelProperty","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"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","beginningEditNg: beginningEdit","cellEditEndedNg: cellEditEnded","cellEditEndingNg: cellEditEnding","prepareCellForEditNg: prepareCellForEdit","formatItemNg: formatItem","resizingColumnNg: resizingColumn","resizedColumnNg: resizedColumn","autoSizingColumnNg: autoSizingColumn","autoSizedColumnNg: autoSizedColumn","draggingColumnNg: draggingColumn","draggingColumnOverNg: draggingColumnOver","draggedColumnNg: draggedColumn","sortingColumnNg: sortingColumn","sortedColumnNg: sortedColumn","pinningColumnNg: pinningColumn","pinnedColumnNg: pinnedColumn","resizingRowNg: resizingRow","resizedRowNg: resizedRow","autoSizingRowNg: autoSizingRow","autoSizedRowNg: autoSizedRow","draggingRowNg: draggingRow","draggingRowOverNg: draggingRowOver","draggedRowNg: draggedRow","deletingRowNg: deletingRow","deletedRowNg: deletedRow","loadingRowsNg: loadingRows","loadedRowsNg: loadedRows","rowEditStartingNg: rowEditStarting","rowEditStartedNg: rowEditStarted","rowEditEndingNg: rowEditEnding","rowEditEndedNg: rowEditEnded","rowAddedNg: rowAdded","groupCollapsedChangingNg: groupCollapsedChanging","groupCollapsedChangedNg: groupCollapsedChanged","columnGroupCollapsedChangingNg: columnGroupCollapsedChanging","columnGroupCollapsedChangedNg: columnGroupCollapsedChanged","itemsSourceChangingNg: itemsSourceChanging","itemsSourceChangedNg: itemsSourceChanged","selectionChangingNg: selectionChanging","selectionChangedNg: selectionChanged","scrollPositionChangedNg: scrollPositionChanged","updatingViewNg: updatingView","updatedViewNg: updatedView","updatingLayoutNg: updatingLayout","updatedLayoutNg: updatedLayout","pastingNg: pasting","pastedNg: pasted","pastingCellNg: pastingCell","pastedCellNg: pastedCell","copyingNg: copying","copiedNg: copied"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridMeta=wjFlexGridMeta;let WjFlexGrid=WjFlexGrid_1=class WjFlexGrid extends wjcGrid.FlexGrid{constructor(e,t,i,r){super(wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(e,t));this.cdRef=r;this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i);new DirectiveCellFactory(this,r);this.deferUpdate(()=>{if(this.rows.defaultSize<10){let e=this.hostElement,t=getComputedStyle(e),i=getComputedStyle(document.body),r=2*parseInt(t.fontSize&&wjcCore.contains(document.body,e)?t.fontSize:i.fontSize);this.rows.defaultSize=r;this.columns.defaultSize=4*r;this.columnHeaders.rows.defaultSize=r;this.rowHeaders.columns.defaultSize=Math.round(1.25*r)}});this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,i,r=!1){let o=wijmo_angular2_directivebase_1.WjDirectiveBehavior,l=o.getZone(this);l&&o.outsideZoneEvents[t]?l.runOutsideAngular(()=>{super.addEventListener(e,t,i,r)}):super.addEventListener(e,t,i,r)}startEditing(e=!0,t,i,r,o){this._edtFocus=null;let l=super.startEditing(e,t,i,r,o);l&&(this._edtFocus=r||null==r);return l}onCellEditEnding(e){this._edtFocus=null;return super.onCellEditEnding(e)}};WjFlexGrid.meta={outputs:wjFlexGridMeta.outputs};WjFlexGrid=WjFlexGrid_1=__decorate([core_1.Component({selector:wjFlexGridMeta.selector,template:wjFlexGridMeta.template,inputs:wjFlexGridMeta.inputs,outputs:wjFlexGridMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGrid_1)},...wjFlexGridMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGrid);exports.WjFlexGrid=WjFlexGrid;var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnMeta=wjFlexGridColumnMeta;let WjFlexGridColumn=WjFlexGridColumn_1=class WjFlexGridColumn extends wjcGrid.Column{constructor(e,t,i,r){super();this.cdRef=r;this.isInitialized=!1;this.wjProperty="columns";let o=(this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i)).parentBehavior.directive;if(o.autoGenerateColumns){o.autoGenerateColumns=!1;o.columns.clear()}this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumn=WjFlexGridColumn_1=__decorate([core_1.Component({selector:wjFlexGridColumnMeta.selector,template:wjFlexGridColumnMeta.template,inputs:wjFlexGridColumnMeta.inputs,outputs:wjFlexGridColumnMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridColumn_1)},...wjFlexGridColumnMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridColumn);exports.WjFlexGridColumn=WjFlexGridColumn;var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnGroupMeta=wjFlexGridColumnGroupMeta;let WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=class WjFlexGridColumnGroup extends wjcGrid.ColumnGroup{constructor(e,t,i){super();this.isInitialized=!1;this.wjProperty="columnGroups";this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=__decorate([core_1.Component({selector:wjFlexGridColumnGroupMeta.selector,template:wjFlexGridColumnGroupMeta.template,inputs:wjFlexGridColumnGroupMeta.inputs,outputs:wjFlexGridColumnGroupMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridColumnGroup_1)},...wjFlexGridColumnGroupMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridColumnGroup);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroup;let WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=class WjFlexGridCellTemplate{constructor(e,t,i,r,o,l){this.viewContainerRef=e;this.templateRef=t;this.elRef=i;this.cdRef=l;this.autoSizeRows=!0;this.forceFullEdit=!0;if(r instanceof wjcGrid.FlexGrid)this.grid=r;else if(r instanceof wjcGrid.Column){this.column=r;let e,t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(r);do{e=(t=t.parentBehavior)&&t.directive}while(e&&!(e instanceof wjcGrid.FlexGrid));this.grid=e}}set cellType(e){this.cellTypeStr=wjcCore.asEnum(e,exports.CellTemplateType)}get cellType(){return this.cellTypeStr}ngOnInit(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()}ngOnDestroy(){if(exports.CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}}_instantiateTemplate(e,t){return wijmo_angular2_directivebase_1.WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)}_attachToControl(){if(!exports.CellTemplateType[this.cellType])return;let e=this.cellTypeStr,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()}};__decorate([core_1.Input()],WjFlexGridCellTemplate.prototype,"cellType",null);WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=__decorate([core_1.Directive({selector:"[wjFlexGridCellTemplate]",inputs:["wjFlexGridCellTemplate","cellOverflow","valuePaths","autoSizeRows","forceFullEdit"],exportAs:"wjFlexGridCellTemplate",providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridCellTemplate_1)}]}),__param(0,core_1.Inject(core_1.ViewContainerRef)),__param(1,core_1.Inject(core_1.TemplateRef)),__param(1,core_1.Optional()),__param(2,core_1.Inject(core_1.ElementRef)),__param(3,core_1.Inject("WjComponent")),__param(3,core_1.SkipSelf()),__param(3,core_1.Optional()),__param(4,core_1.Inject(core_1.Injector)),__param(5,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridCellTemplate);exports.WjFlexGridCellTemplate=WjFlexGridCellTemplate;class DirectiveCellFactory extends wijmo_interop_grid_1.DirectiveCellFactoryBase{constructor(e,t){super(e);this._needsCdCheck=!1;this._gridCdRef=t;e.updatedView.addHandler(()=>{if(this._needsCdCheck){this._needsCdCheck=!1;this._gridCdRef.markForCheck()}},this)}shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let i=e.row,r=t?{}:e.templateCache.viewRef.context,o=e.templateContext;e.cellBindingsData=this.setBindingsData(r,i,e.column,i.dataItem,e.cellValue,o.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,i=o._instantiateTemplate(t,r),l=e.templateCache={column:e.column,viewRef:i.viewRef,rootElement:i.rootElement,templateContextProperty:e.templateContextProperty};t[e.templateContextProperty]=l}}setBindingsData(e,t,i,r,o,l){this._needsCdCheck=!0;return super.setBindingsData(e,t,i,r,o,l)}disposeTemplate(e,t,i){if(t&&t.viewRef){if(i){let e=i.viewContainerRef.indexOf(t.viewRef);e>-1&&i.viewContainerRef.remove(e)}t.viewRef=null;super.disposeTemplate(e,t,i)}}clearCell(e){e.textContent=""}applyImmediately(e){e.templateContext.cdRef.detectChanges()}flushPendingEvents(e){if(e){let t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}}getEditorFocusFlag(){return this.grid._edtFocus}setEditorFocusFlag(e){this.grid._edtFocus=e}checkHeight(e){wijmo_angular2_directivebase_1.WjDirectiveBehavior.getZone(this.grid).runOutsideAngular(()=>{super.checkHeight(e)})}}exports.DirectiveCellFactory=DirectiveCellFactory;let moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=class WjGridModule{};WjGridModule=__decorate([core_1.NgModule({imports:[common_1.CommonModule],declarations:[...moduleExports],exports:[...moduleExports]})],WjGridModule);exports.WjGridModule=WjGridModule;
"use strict";var WjFlexGrid_1,WjFlexGridColumn_1,WjFlexGridColumnGroup_1,WjFlexGridCellTemplate_1,__decorate=this&&this.__decorate||function(e,t,i,r){var o,l=arguments.length,n=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(l<3?o(n):l>3?o(t,i,n):o(t,i))||n);return l>3&&n&&Object.defineProperty(t,i,n),n},__param=this&&this.__param||function(e,t){return function(i,r){t(i,r,e)}},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo_angular2_directivebase_1=require("@grapecity/wijmo.angular2.directivebase"),wijmo_interop_grid_1=require("@grapecity/wijmo.interop.grid"),wjcCore=__importStar(require("@grapecity/wijmo")),wjcGrid=__importStar(require("@grapecity/wijmo.grid")),wjcInteropGrid=__importStar(require("@grapecity/wijmo.interop.grid"));exports.CellTemplateType=wjcInteropGrid.GridCellTemplateType;var wjFlexGridMeta={selector:"wj-flex-grid",template:"<div><ng-content></ng-content></div>",inputs:["wjModelProperty","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"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","beginningEditNg: beginningEdit","cellEditEndedNg: cellEditEnded","cellEditEndingNg: cellEditEnding","prepareCellForEditNg: prepareCellForEdit","formatItemNg: formatItem","resizingColumnNg: resizingColumn","resizedColumnNg: resizedColumn","autoSizingColumnNg: autoSizingColumn","autoSizedColumnNg: autoSizedColumn","draggingColumnNg: draggingColumn","draggingColumnOverNg: draggingColumnOver","draggedColumnNg: draggedColumn","sortingColumnNg: sortingColumn","sortedColumnNg: sortedColumn","pinningColumnNg: pinningColumn","pinnedColumnNg: pinnedColumn","resizingRowNg: resizingRow","resizedRowNg: resizedRow","autoSizingRowNg: autoSizingRow","autoSizedRowNg: autoSizedRow","draggingRowNg: draggingRow","draggingRowOverNg: draggingRowOver","draggedRowNg: draggedRow","deletingRowNg: deletingRow","deletedRowNg: deletedRow","loadingRowsNg: loadingRows","loadedRowsNg: loadedRows","rowEditStartingNg: rowEditStarting","rowEditStartedNg: rowEditStarted","rowEditEndingNg: rowEditEnding","rowEditEndedNg: rowEditEnded","rowAddedNg: rowAdded","groupCollapsedChangingNg: groupCollapsedChanging","groupCollapsedChangedNg: groupCollapsedChanged","columnGroupCollapsedChangingNg: columnGroupCollapsedChanging","columnGroupCollapsedChangedNg: columnGroupCollapsedChanged","itemsSourceChangingNg: itemsSourceChanging","itemsSourceChangedNg: itemsSourceChanged","selectionChangingNg: selectionChanging","selectionChangedNg: selectionChanged","scrollPositionChangedNg: scrollPositionChanged","updatingViewNg: updatingView","updatedViewNg: updatedView","updatingLayoutNg: updatingLayout","updatedLayoutNg: updatedLayout","pastingNg: pasting","pastedNg: pasted","pastingCellNg: pastingCell","pastedCellNg: pastedCell","copyingNg: copying","copiedNg: copied"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjFlexGridMeta=wjFlexGridMeta;let WjFlexGrid=WjFlexGrid_1=class WjFlexGrid extends wjcGrid.FlexGrid{constructor(e,t,i,r){super(wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(e,t));this.cdRef=r;this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i);new DirectiveCellFactory(this,r);this.deferUpdate(()=>{if(this.rows.defaultSize<10){let e=this.hostElement,t=getComputedStyle(e),i=getComputedStyle(document.body),r=2*parseInt(t.fontSize&&wjcCore.contains(document.body,e)?t.fontSize:i.fontSize);this.rows.defaultSize=r;this.columns.defaultSize=4*r;this.columnHeaders.rows.defaultSize=r;this.rowHeaders.columns.defaultSize=Math.round(1.25*r)}});this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,i,r=!1){let o=wijmo_angular2_directivebase_1.WjDirectiveBehavior,l=o.getZone(this);l&&o.outsideZoneEvents[t]?l.runOutsideAngular(()=>{super.addEventListener(e,t,i,r)}):super.addEventListener(e,t,i,r)}startEditing(e=!0,t,i,r,o){this._edtFocus=null;let l=super.startEditing(e,t,i,r,o);l&&(this._edtFocus=r||null==r);return l}onCellEditEnding(e){this._edtFocus=null;return super.onCellEditEnding(e)}};WjFlexGrid.meta={outputs:wjFlexGridMeta.outputs};WjFlexGrid=WjFlexGrid_1=__decorate([core_1.Component({selector:wjFlexGridMeta.selector,template:wjFlexGridMeta.template,inputs:wjFlexGridMeta.inputs,outputs:wjFlexGridMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGrid_1)},...wjFlexGridMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGrid);exports.WjFlexGrid=WjFlexGrid;var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnMeta=wjFlexGridColumnMeta;let WjFlexGridColumn=WjFlexGridColumn_1=class WjFlexGridColumn extends wjcGrid.Column{constructor(e,t,i,r){super();this.cdRef=r;this.isInitialized=!1;this.wjProperty="columns";let o=(this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i)).parentBehavior.directive;if(o.autoGenerateColumns){o.autoGenerateColumns=!1;o.columns.clear()}this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumn=WjFlexGridColumn_1=__decorate([core_1.Component({selector:wjFlexGridColumnMeta.selector,template:wjFlexGridColumnMeta.template,inputs:wjFlexGridColumnMeta.inputs,outputs:wjFlexGridColumnMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridColumn_1)},...wjFlexGridColumnMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridColumn);exports.WjFlexGridColumn=WjFlexGridColumn;var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnGroupMeta=wjFlexGridColumnGroupMeta;let WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=class WjFlexGridColumnGroup extends wjcGrid.ColumnGroup{constructor(e,t,i){super();this.isInitialized=!1;this.wjProperty="columnGroups";this._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=__decorate([core_1.Component({selector:wjFlexGridColumnGroupMeta.selector,template:wjFlexGridColumnGroupMeta.template,inputs:wjFlexGridColumnGroupMeta.inputs,outputs:wjFlexGridColumnGroupMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridColumnGroup_1)},...wjFlexGridColumnGroupMeta.providers]}),__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridColumnGroup);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroup;let WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=class WjFlexGridCellTemplate{constructor(e,t,i,r,o,l){this.viewContainerRef=e;this.templateRef=t;this.elRef=i;this.cdRef=l;this.autoSizeRows=!0;this.forceFullEdit=!0;if(r instanceof wjcGrid.FlexGrid)this.grid=r;else if(r instanceof wjcGrid.Column){this.column=r;let e,t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(r);do{e=(t=t.parentBehavior)&&t.directive}while(e&&!(e instanceof wjcGrid.FlexGrid));this.grid=e}}set cellType(e){this.cellTypeStr=wjcCore.asEnum(e,exports.CellTemplateType)}get cellType(){return this.cellTypeStr}ngOnInit(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()}ngOnDestroy(){if(exports.CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}}_instantiateTemplate(e,t){return wijmo_angular2_directivebase_1.WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)}_attachToControl(){if(!exports.CellTemplateType[this.cellType])return;let e=this.cellTypeStr,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()}};__decorate([core_1.Input()],WjFlexGridCellTemplate.prototype,"cellType",null);WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=__decorate([core_1.Directive({selector:"[wjFlexGridCellTemplate]",inputs:["wjFlexGridCellTemplate","cellOverflow","valuePaths","autoSizeRows","forceFullEdit"],exportAs:"wjFlexGridCellTemplate",providers:[{provide:"WjComponent",useExisting:core_1.forwardRef(()=>WjFlexGridCellTemplate_1)}]}),__param(0,core_1.Inject(core_1.ViewContainerRef)),__param(1,core_1.Inject(core_1.TemplateRef)),__param(1,core_1.Optional()),__param(2,core_1.Inject(core_1.ElementRef)),__param(3,core_1.Inject("WjComponent")),__param(3,core_1.SkipSelf()),__param(3,core_1.Optional()),__param(4,core_1.Inject(core_1.Injector)),__param(5,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridCellTemplate);exports.WjFlexGridCellTemplate=WjFlexGridCellTemplate;class DirectiveCellFactory extends wijmo_interop_grid_1.DirectiveCellFactoryBase{constructor(e,t){super(e);this._needsCdCheck=!1;this._gridCdRef=t;e.updatedView.addHandler(()=>{if(this._needsCdCheck){this._needsCdCheck=!1;this._gridCdRef.markForCheck()}},this)}_updatedViewHandler(){setTimeout(()=>{this._autoSizeIfRequired()})}shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let i=e.row,r=t?{}:e.templateCache.viewRef.context,o=e.templateContext;e.cellBindingsData=this.setBindingsData(r,i,e.column,i.dataItem,e.cellValue,o.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,i=o._instantiateTemplate(t,r),l=e.templateCache={column:e.column,viewRef:i.viewRef,rootElement:i.rootElement,templateContextProperty:e.templateContextProperty};t[e.templateContextProperty]=l}}setBindingsData(e,t,i,r,o,l){this._needsCdCheck=!0;return super.setBindingsData(e,t,i,r,o,l)}disposeTemplate(e,t,i){if(t&&t.viewRef){if(i){let e=i.viewContainerRef.indexOf(t.viewRef);e>-1&&i.viewContainerRef.remove(e)}t.viewRef=null;super.disposeTemplate(e,t,i)}}clearCell(e){e.textContent=""}applyImmediately(e){e.templateContext.cdRef.detectChanges()}flushPendingEvents(e){if(e){let t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}}getEditorFocusFlag(){return this.grid._edtFocus}setEditorFocusFlag(e){this.grid._edtFocus=e}checkHeight(e){wijmo_angular2_directivebase_1.WjDirectiveBehavior.getZone(this.grid).runOutsideAngular(()=>{super.checkHeight(e)})}}exports.DirectiveCellFactory=DirectiveCellFactory;let moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=class WjGridModule{};WjGridModule=__decorate([core_1.NgModule({imports:[common_1.CommonModule],declarations:[...moduleExports],exports:[...moduleExports]})],WjGridModule);exports.WjGridModule=WjGridModule;
/*!
*
* Wijmo Library 5.20241.9
* Wijmo Library 5.20241.19
* https://developer.mescius.com/wijmo

@@ -24,3 +24,3 @@ *

ɵngcc0.ɵɵelementEnd();
} }, encapsulation: 2 });WjFlexGrid.meta={outputs:wjFlexGridMeta.outputs};WjFlexGrid=WjFlexGrid_1=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGrid);export{WjFlexGrid};var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnMeta};let WjFlexGridColumn=WjFlexGridColumn_1=class WjFlexGridColumn extends wjcGrid.Column{constructor(e,t,i,o){super();this.cdRef=o;this.isInitialized=!1;this.wjProperty="columns";let r=(this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,i)).parentBehavior.directive;if(r.autoGenerateColumns){r.autoGenerateColumns=!1;r.columns.clear()}this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};
} }, encapsulation: 2 });WjFlexGrid.meta={outputs:wjFlexGridMeta.outputs};WjFlexGrid=WjFlexGrid_1=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGrid);export{WjFlexGrid};var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnMeta};let WjFlexGridColumn=WjFlexGridColumn_1=class WjFlexGridColumn extends wjcGrid.Column{constructor(e,t,i,o){super();this.cdRef=o;this.isInitialized=!1;this.wjProperty="columns";let r=(this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,i)).parentBehavior.directive;if(r.autoGenerateColumns){r.autoGenerateColumns=!1;r.columns.clear()}this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};
WjFlexGridColumn.ɵfac = function WjFlexGridColumn_Factory(t) { return new (t || WjFlexGridColumn)(ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(ChangeDetectorRef)); };

@@ -32,3 +32,3 @@ WjFlexGridColumn.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumn, selectors: [["wj-flex-grid-column"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef(() => WjFlexGridColumn_1) }, ...wjFlexGridColumnMeta.providers]), ɵngcc0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumn_Template(rf, ctx) { if (rf & 1) {

ɵngcc0.ɵɵelementEnd();
} }, encapsulation: 2 });WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumn=WjFlexGridColumn_1=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGridColumn);export{WjFlexGridColumn};var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnGroupMeta};let WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=class WjFlexGridColumnGroup extends wjcGrid.ColumnGroup{constructor(e,t,i){super();this.isInitialized=!1;this.wjProperty="columnGroups";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};
} }, encapsulation: 2 });WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumn=WjFlexGridColumn_1=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGridColumn);export{WjFlexGridColumn};var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnGroupMeta};let WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=class WjFlexGridColumnGroup extends wjcGrid.ColumnGroup{constructor(e,t,i){super();this.isInitialized=!1;this.wjProperty="columnGroups";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};
WjFlexGridColumnGroup.ɵfac = function WjFlexGridColumnGroup_Factory(t) { return new (t || WjFlexGridColumnGroup)(ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12)); };

@@ -40,5 +40,5 @@ WjFlexGridColumnGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumnGroup, selectors: [["wj-flex-grid-column-group"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor", collapseTo: "collapseTo", isCollapsed: "isCollapsed", height: "height" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef(() => WjFlexGridColumnGroup_1) }, ...wjFlexGridColumnGroupMeta.providers]), ɵngcc0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumnGroup_Template(rf, ctx) { if (rf & 1) {

ɵngcc0.ɵɵelementEnd();
} }, encapsulation: 2 });WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridColumnGroup);export{WjFlexGridColumnGroup};let WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=class WjFlexGridCellTemplate{constructor(e,t,i,o,r,l){this.viewContainerRef=e;this.templateRef=t;this.elRef=i;this.cdRef=l;this.autoSizeRows=!0;this.forceFullEdit=!0;if(o instanceof wjcGrid.FlexGrid)this.grid=o;else if(o instanceof wjcGrid.Column){this.column=o;let e,t=WjDirectiveBehavior.getBehavior(o);do{e=(t=t.parentBehavior)&&t.directive}while(e&&!(e instanceof wjcGrid.FlexGrid));this.grid=e}}set cellType(e){this.cellTypeStr=wjcCore.asEnum(e,CellTemplateType)}get cellType(){return this.cellTypeStr}ngOnInit(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()}ngOnDestroy(){if(CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}}_instantiateTemplate(e,t){return WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)}_attachToControl(){if(!CellTemplateType[this.cellType])return;let e=this.cellTypeStr,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()}};
} }, encapsulation: 2 });WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};WjFlexGridColumnGroup=WjFlexGridColumnGroup_1=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridColumnGroup);export{WjFlexGridColumnGroup};let WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=class WjFlexGridCellTemplate{constructor(e,t,i,o,r,l){this.viewContainerRef=e;this.templateRef=t;this.elRef=i;this.cdRef=l;this.autoSizeRows=!0;this.forceFullEdit=!0;if(o instanceof wjcGrid.FlexGrid)this.grid=o;else if(o instanceof wjcGrid.Column){this.column=o;let e,t=WjDirectiveBehavior.getBehavior(o);do{e=(t=t.parentBehavior)&&t.directive}while(e&&!(e instanceof wjcGrid.FlexGrid));this.grid=e}}set cellType(e){this.cellTypeStr=wjcCore.asEnum(e,CellTemplateType)}get cellType(){return this.cellTypeStr}ngOnInit(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()}ngOnDestroy(){if(CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}}_instantiateTemplate(e,t){return WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)}_attachToControl(){if(!CellTemplateType[this.cellType])return;let e=this.cellTypeStr,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()}};
WjFlexGridCellTemplate.ɵfac = function WjFlexGridCellTemplate_Factory(t) { return new (t || WjFlexGridCellTemplate)(ɵngcc0.ɵɵdirectiveInject(ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(TemplateRef, 8), ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject(ChangeDetectorRef)); };
WjFlexGridCellTemplate.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WjFlexGridCellTemplate, selectors: [["", "wjFlexGridCellTemplate", ""]], inputs: { wjFlexGridCellTemplate: "wjFlexGridCellTemplate", cellOverflow: "cellOverflow", valuePaths: "valuePaths", autoSizeRows: "autoSizeRows", forceFullEdit: "forceFullEdit", cellType: "cellType" }, exportAs: ["wjFlexGridCellTemplate"], features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef(() => WjFlexGridCellTemplate_1) }])] });__decorate([Input()],WjFlexGridCellTemplate.prototype,"cellType",null);WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=__decorate([,__param(0,Inject(ViewContainerRef)),__param(1,Inject(TemplateRef)),__param(1,Optional()),__param(2,Inject(ElementRef)),__param(3,Inject("WjComponent")),__param(3,SkipSelf()),__param(3,Optional()),__param(4,Inject(Injector)),__param(5,Inject(ChangeDetectorRef))],WjFlexGridCellTemplate);export{WjFlexGridCellTemplate};export class DirectiveCellFactory extends DirectiveCellFactoryBase{constructor(e,t){super(e);this._needsCdCheck=!1;this._gridCdRef=t;e.updatedView.addHandler(()=>{if(this._needsCdCheck){this._needsCdCheck=!1;this._gridCdRef.markForCheck()}},this)}shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let i=e.row,o=t?{}:e.templateCache.viewRef.context,r=e.templateContext;e.cellBindingsData=this.setBindingsData(o,i,e.column,i.dataItem,e.cellValue,r.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,i=r._instantiateTemplate(t,o),l=e.templateCache={column:e.column,viewRef:i.viewRef,rootElement:i.rootElement,templateContextProperty:e.templateContextProperty};t[e.templateContextProperty]=l}}setBindingsData(e,t,i,o,r,l){this._needsCdCheck=!0;return super.setBindingsData(e,t,i,o,r,l)}disposeTemplate(e,t,i){if(t&&t.viewRef){if(i){let e=i.viewContainerRef.indexOf(t.viewRef);e>-1&&i.viewContainerRef.remove(e)}t.viewRef=null;super.disposeTemplate(e,t,i)}}clearCell(e){e.textContent=""}applyImmediately(e){e.templateContext.cdRef.detectChanges()}flushPendingEvents(e){if(e){let t=WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}}getEditorFocusFlag(){return this.grid._edtFocus}setEditorFocusFlag(e){this.grid._edtFocus=e}checkHeight(e){WjDirectiveBehavior.getZone(this.grid).runOutsideAngular(()=>{super.checkHeight(e)})}}let moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=class WjGridModule{};
WjFlexGridCellTemplate.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WjFlexGridCellTemplate, selectors: [["", "wjFlexGridCellTemplate", ""]], inputs: { wjFlexGridCellTemplate: "wjFlexGridCellTemplate", cellOverflow: "cellOverflow", valuePaths: "valuePaths", autoSizeRows: "autoSizeRows", forceFullEdit: "forceFullEdit", cellType: "cellType" }, exportAs: ["wjFlexGridCellTemplate"], features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef(() => WjFlexGridCellTemplate_1) }])] });__decorate([Input()],WjFlexGridCellTemplate.prototype,"cellType",null);WjFlexGridCellTemplate=WjFlexGridCellTemplate_1=__decorate([__param(0,Inject(ViewContainerRef)),__param(1,Inject(TemplateRef)),__param(1,Optional()),__param(2,Inject(ElementRef)),__param(3,Inject("WjComponent")),__param(3,SkipSelf()),__param(3,Optional()),__param(4,Inject(Injector)),__param(5,Inject(ChangeDetectorRef))],WjFlexGridCellTemplate);export{WjFlexGridCellTemplate};export class DirectiveCellFactory extends DirectiveCellFactoryBase{constructor(e,t){super(e);this._needsCdCheck=!1;this._gridCdRef=t;e.updatedView.addHandler(()=>{if(this._needsCdCheck){this._needsCdCheck=!1;this._gridCdRef.markForCheck()}},this)}_updatedViewHandler(){setTimeout(()=>{this._autoSizeIfRequired()})}shouldInstantiate(e){let t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement}renderTemplate(e,t){let i=e.row,o=t?{}:e.templateCache.viewRef.context,r=e.templateContext;e.cellBindingsData=this.setBindingsData(o,i,e.column,i.dataItem,e.cellValue,r.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){let t=e.cell,i=r._instantiateTemplate(t,o),l=e.templateCache={column:e.column,viewRef:i.viewRef,rootElement:i.rootElement,templateContextProperty:e.templateContextProperty};t[e.templateContextProperty]=l}}setBindingsData(e,t,i,o,r,l){this._needsCdCheck=!0;return super.setBindingsData(e,t,i,o,r,l)}disposeTemplate(e,t,i){if(t&&t.viewRef){if(i){let e=i.viewContainerRef.indexOf(t.viewRef);e>-1&&i.viewContainerRef.remove(e)}t.viewRef=null;super.disposeTemplate(e,t,i)}}clearCell(e){e.textContent=""}applyImmediately(e){e.templateContext.cdRef.detectChanges()}flushPendingEvents(e){if(e){let t=WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}}getEditorFocusFlag(){return this.grid._edtFocus}setEditorFocusFlag(e){this.grid._edtFocus=e}checkHeight(e){WjDirectiveBehavior.getZone(this.grid).runOutsideAngular(()=>{super.checkHeight(e)})}}let moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=class WjGridModule{};
WjGridModule.ɵfac = function WjGridModule_Factory(t) { return new (t || WjGridModule)(); };

@@ -45,0 +45,0 @@ WjGridModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WjGridModule });

/*!
*
* Wijmo Library 5.20241.9
* Wijmo Library 5.20241.19
* https://developer.mescius.com/wijmo

@@ -44,3 +44,3 @@ *

args: [ChangeDetectorRef]
}] }]; }, null); })();return WjFlexGrid=t=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGrid)}(wjcGrid.FlexGrid);export{WjFlexGrid};var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnMeta};var WjFlexGridColumn=function(e){__extends(WjFlexGridColumn,e);function WjFlexGridColumn(t,o,i,r){var n=e.call(this)||this;n.cdRef=r;n.isInitialized=!1;n.wjProperty="columns";var l=(n._wjBehaviour=WjDirectiveBehavior.attach(n,t,o,i)).parentBehavior.directive;if(l.autoGenerateColumns){l.autoGenerateColumns=!1;l.columns.clear()}n.created();return n}t=WjFlexGridColumn;WjFlexGridColumn.prototype.created=function(){};WjFlexGridColumn.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumn.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumn.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
}] }]; }, null); })();return WjFlexGrid=t=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGrid)}(wjcGrid.FlexGrid);export{WjFlexGrid};var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnMeta};var WjFlexGridColumn=function(e){__extends(WjFlexGridColumn,e);function WjFlexGridColumn(t,o,i,r){var n=e.call(this)||this;n.cdRef=r;n.isInitialized=!1;n.wjProperty="columns";var l=(n._wjBehaviour=WjDirectiveBehavior.attach(n,t,o,i)).parentBehavior.directive;if(l.autoGenerateColumns){l.autoGenerateColumns=!1;l.columns.clear()}n.created();return n}t=WjFlexGridColumn;WjFlexGridColumn.prototype.created=function(){};WjFlexGridColumn.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumn.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumn.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
WjFlexGridColumn.ɵfac = function WjFlexGridColumn_Factory(t) { return new (t || WjFlexGridColumn)(ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(ChangeDetectorRef)); };

@@ -72,3 +72,3 @@ WjFlexGridColumn.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumn, selectors: [["wj-flex-grid-column"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef((function () { return t; })) }].concat(wjFlexGridColumnMeta.providers))], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumn_Template(rf, ctx) { if (rf & 1) {

args: [ChangeDetectorRef]
}] }]; }, null); })();return WjFlexGridColumn=t=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGridColumn)}(wjcGrid.Column);export{WjFlexGridColumn};var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnGroupMeta};var WjFlexGridColumnGroup=function(e){__extends(WjFlexGridColumnGroup,e);function WjFlexGridColumnGroup(t,o,i){var r=e.call(this)||this;r.isInitialized=!1;r.wjProperty="columnGroups";r._wjBehaviour=WjDirectiveBehavior.attach(r,t,o,i);r.created();return r}t=WjFlexGridColumnGroup;WjFlexGridColumnGroup.prototype.created=function(){};WjFlexGridColumnGroup.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumnGroup.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumnGroup.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
}] }]; }, null); })();return WjFlexGridColumn=t=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional()),__param(3,Inject(ChangeDetectorRef))],WjFlexGridColumn)}(wjcGrid.Column);export{WjFlexGridColumn};var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};export{wjFlexGridColumnGroupMeta};var WjFlexGridColumnGroup=function(e){__extends(WjFlexGridColumnGroup,e);function WjFlexGridColumnGroup(t,o,i){var r=e.call(this)||this;r.isInitialized=!1;r.wjProperty="columnGroups";r._wjBehaviour=WjDirectiveBehavior.attach(r,t,o,i);r.created();return r}t=WjFlexGridColumnGroup;WjFlexGridColumnGroup.prototype.created=function(){};WjFlexGridColumnGroup.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumnGroup.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumnGroup.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
WjFlexGridColumnGroup.ɵfac = function WjFlexGridColumnGroup_Factory(t) { return new (t || WjFlexGridColumnGroup)(ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12)); };

@@ -97,3 +97,3 @@ WjFlexGridColumnGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumnGroup, selectors: [["wj-flex-grid-column-group"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor", collapseTo: "collapseTo", isCollapsed: "isCollapsed", height: "height" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef((function () { return t; })) }].concat(wjFlexGridColumnGroupMeta.providers))], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumnGroup_Template(rf, ctx) { if (rf & 1) {

type: Optional
}] }]; }, null); })();return WjFlexGridColumnGroup=t=__decorate([,__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridColumnGroup)}(wjcGrid.ColumnGroup);export{WjFlexGridColumnGroup};var WjFlexGridCellTemplate=function(){function WjFlexGridCellTemplate(e,t,o,i,r,n){this.viewContainerRef=e;this.templateRef=t;this.elRef=o;this.cdRef=n;this.autoSizeRows=!0;this.forceFullEdit=!0;if(i instanceof wjcGrid.FlexGrid)this.grid=i;else if(i instanceof wjcGrid.Column){this.column=i;var l=void 0,a=WjDirectiveBehavior.getBehavior(i);do{l=(a=a.parentBehavior)&&a.directive}while(l&&!(l instanceof wjcGrid.FlexGrid));this.grid=l}}e=WjFlexGridCellTemplate;Object.defineProperty(WjFlexGridCellTemplate.prototype,"cellType",{get:function(){return this.cellTypeStr},set:function(e){this.cellTypeStr=wjcCore.asEnum(e,CellTemplateType)},enumerable:!0,configurable:!0});WjFlexGridCellTemplate.prototype.ngOnInit=function(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()};WjFlexGridCellTemplate.prototype.ngOnDestroy=function(){if(CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}};WjFlexGridCellTemplate.prototype._instantiateTemplate=function(e,t){return WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)};WjFlexGridCellTemplate.prototype._attachToControl=function(){if(CellTemplateType[this.cellType]){var e=this.cellTypeStr,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()}};var e;__decorate([Input()],WjFlexGridCellTemplate.prototype,"cellType",null);
}] }]; }, null); })();return WjFlexGridColumnGroup=t=__decorate([__param(0,Inject(ElementRef)),__param(1,Inject(Injector)),__param(2,Inject("WjComponent")),__param(2,SkipSelf()),__param(2,Optional())],WjFlexGridColumnGroup)}(wjcGrid.ColumnGroup);export{WjFlexGridColumnGroup};var WjFlexGridCellTemplate=function(){function WjFlexGridCellTemplate(e,t,o,i,r,n){this.viewContainerRef=e;this.templateRef=t;this.elRef=o;this.cdRef=n;this.autoSizeRows=!0;this.forceFullEdit=!0;if(i instanceof wjcGrid.FlexGrid)this.grid=i;else if(i instanceof wjcGrid.Column){this.column=i;var l=void 0,a=WjDirectiveBehavior.getBehavior(i);do{l=(a=a.parentBehavior)&&a.directive}while(l&&!(l instanceof wjcGrid.FlexGrid));this.grid=l}}e=WjFlexGridCellTemplate;Object.defineProperty(WjFlexGridCellTemplate.prototype,"cellType",{get:function(){return this.cellTypeStr},set:function(e){this.cellTypeStr=wjcCore.asEnum(e,CellTemplateType)},enumerable:!0,configurable:!0});WjFlexGridCellTemplate.prototype.ngOnInit=function(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()};WjFlexGridCellTemplate.prototype.ngOnDestroy=function(){if(CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}};WjFlexGridCellTemplate.prototype._instantiateTemplate=function(e,t){return WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)};WjFlexGridCellTemplate.prototype._attachToControl=function(){if(CellTemplateType[this.cellType]){var e=this.cellTypeStr,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()}};var e;__decorate([Input()],WjFlexGridCellTemplate.prototype,"cellType",null);
WjFlexGridCellTemplate.ɵfac = function WjFlexGridCellTemplate_Factory(t) { return new (t || WjFlexGridCellTemplate)(ɵngcc0.ɵɵdirectiveInject(ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(TemplateRef, 8), ɵngcc0.ɵɵdirectiveInject(ElementRef), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(Injector), ɵngcc0.ɵɵdirectiveInject(ChangeDetectorRef)); };

@@ -130,3 +130,3 @@ WjFlexGridCellTemplate.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WjFlexGridCellTemplate, selectors: [["", "wjFlexGridCellTemplate", ""]], inputs: { wjFlexGridCellTemplate: "wjFlexGridCellTemplate", cellOverflow: "cellOverflow", valuePaths: "valuePaths", autoSizeRows: "autoSizeRows", forceFullEdit: "forceFullEdit", cellType: "cellType" }, exportAs: ["wjFlexGridCellTemplate"], features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: forwardRef((function () { return e; })) }])] });

type: Input
}] }); })();return WjFlexGridCellTemplate=e=__decorate([,__param(0,Inject(ViewContainerRef)),__param(1,Inject(TemplateRef)),__param(1,Optional()),__param(2,Inject(ElementRef)),__param(3,Inject("WjComponent")),__param(3,SkipSelf()),__param(3,Optional()),__param(4,Inject(Injector)),__param(5,Inject(ChangeDetectorRef))],WjFlexGridCellTemplate)}();export{WjFlexGridCellTemplate};var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(t,o){var i=e.call(this,t)||this;i._needsCdCheck=!1;i._gridCdRef=o;t.updatedView.addHandler((function(){if(i._needsCdCheck){i._needsCdCheck=!1;i._gridCdRef.markForCheck()}}),i);return i}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,i=t?{}:e.templateCache.viewRef.context,r=e.templateContext;e.cellBindingsData=this.setBindingsData(i,o,e.column,o.dataItem,e.cellValue,r.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var n=e.cell,l=r._instantiateTemplate(n,i),a=e.templateCache={column:e.column,viewRef:l.viewRef,rootElement:l.rootElement,templateContextProperty:e.templateContextProperty};n[e.templateContextProperty]=a}};DirectiveCellFactory.prototype.setBindingsData=function(t,o,i,r,n,l){this._needsCdCheck=!0;return e.prototype.setBindingsData.call(this,t,o,i,r,n,l)};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,i){if(o&&o.viewRef){if(i){var r=i.viewContainerRef.indexOf(o.viewRef);r>-1&&i.viewContainerRef.remove(r)}o.viewRef=null;e.prototype.disposeTemplate.call(this,t,o,i)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){e.templateContext.cdRef.detectChanges()};DirectiveCellFactory.prototype.flushPendingEvents=function(e){if(e){var t=WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return this.grid._edtFocus};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){this.grid._edtFocus=e};DirectiveCellFactory.prototype.checkHeight=function(t){var o=this;WjDirectiveBehavior.getZone(this.grid).runOutsideAngular((function(){e.prototype.checkHeight.call(o,t)}))};return DirectiveCellFactory}(DirectiveCellFactoryBase);export{DirectiveCellFactory};var moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=function(){function WjGridModule(){}
}] }); })();return WjFlexGridCellTemplate=e=__decorate([__param(0,Inject(ViewContainerRef)),__param(1,Inject(TemplateRef)),__param(1,Optional()),__param(2,Inject(ElementRef)),__param(3,Inject("WjComponent")),__param(3,SkipSelf()),__param(3,Optional()),__param(4,Inject(Injector)),__param(5,Inject(ChangeDetectorRef))],WjFlexGridCellTemplate)}();export{WjFlexGridCellTemplate};var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(t,o){var i=e.call(this,t)||this;i._needsCdCheck=!1;i._gridCdRef=o;t.updatedView.addHandler((function(){if(i._needsCdCheck){i._needsCdCheck=!1;i._gridCdRef.markForCheck()}}),i);return i}DirectiveCellFactory.prototype._updatedViewHandler=function(){var e=this;setTimeout((function(){e._autoSizeIfRequired()}))};DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,i=t?{}:e.templateCache.viewRef.context,r=e.templateContext;e.cellBindingsData=this.setBindingsData(i,o,e.column,o.dataItem,e.cellValue,r.valuePaths);e.cellBindingsData.localVars.valueFormatted=e.cellValueFormatted;if(t){var n=e.cell,l=r._instantiateTemplate(n,i),a=e.templateCache={column:e.column,viewRef:l.viewRef,rootElement:l.rootElement,templateContextProperty:e.templateContextProperty};n[e.templateContextProperty]=a}};DirectiveCellFactory.prototype.setBindingsData=function(t,o,i,r,n,l){this._needsCdCheck=!0;return e.prototype.setBindingsData.call(this,t,o,i,r,n,l)};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,i){if(o&&o.viewRef){if(i){var r=i.viewContainerRef.indexOf(o.viewRef);r>-1&&i.viewContainerRef.remove(r)}o.viewRef=null;e.prototype.disposeTemplate.call(this,t,o,i)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){e.templateContext.cdRef.detectChanges()};DirectiveCellFactory.prototype.flushPendingEvents=function(e){if(e){var t=WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return this.grid._edtFocus};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){this.grid._edtFocus=e};DirectiveCellFactory.prototype.checkHeight=function(t){var o=this;WjDirectiveBehavior.getZone(this.grid).runOutsideAngular((function(){e.prototype.checkHeight.call(o,t)}))};return DirectiveCellFactory}(DirectiveCellFactoryBase);export{DirectiveCellFactory};var moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=function(){function WjGridModule(){}
WjGridModule.ɵfac = function WjGridModule_Factory(t) { return new (t || WjGridModule)(); };

@@ -133,0 +133,0 @@ WjGridModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WjGridModule });

/*!
*
* Wijmo Library 5.20241.9
* Wijmo Library 5.20241.19
* https://developer.mescius.com/wijmo

@@ -914,2 +914,3 @@ *

constructor(grid: WjFlexGrid, gridCdRef: ChangeDetectorRef);
protected _updatedViewHandler(): void;
protected shouldInstantiate(cellInfo: ICellRenderingInfoNg): boolean;

@@ -916,0 +917,0 @@ protected renderTemplate(cellInfo: ICellRenderingInfoNg, initNew: boolean): void;

/*!
*
* Wijmo Library 5.20241.9
* Wijmo Library 5.20241.19
* https://developer.mescius.com/wijmo

@@ -45,3 +45,3 @@ *

args: [core_1.ChangeDetectorRef]
}] }]; }, null); })();return WjFlexGrid=t=__decorate([,__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGrid)}(wjcGrid.FlexGrid);exports.WjFlexGrid=WjFlexGrid;var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnMeta=wjFlexGridColumnMeta;var WjFlexGridColumn=function(e){__extends(WjFlexGridColumn,e);function WjFlexGridColumn(t,o,r,i){var n=e.call(this)||this;n.cdRef=i;n.isInitialized=!1;n.wjProperty="columns";var l=(n._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(n,t,o,r)).parentBehavior.directive;if(l.autoGenerateColumns){l.autoGenerateColumns=!1;l.columns.clear()}n.created();return n}t=WjFlexGridColumn;WjFlexGridColumn.prototype.created=function(){};WjFlexGridColumn.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumn.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumn.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
}] }]; }, null); })();return WjFlexGrid=t=__decorate([__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGrid)}(wjcGrid.FlexGrid);exports.WjFlexGrid=WjFlexGrid;var wjFlexGridColumnMeta={selector:"wj-flex-grid-column",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnMeta=wjFlexGridColumnMeta;var WjFlexGridColumn=function(e){__extends(WjFlexGridColumn,e);function WjFlexGridColumn(t,o,r,i){var n=e.call(this)||this;n.cdRef=i;n.isInitialized=!1;n.wjProperty="columns";var l=(n._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(n,t,o,r)).parentBehavior.directive;if(l.autoGenerateColumns){l.autoGenerateColumns=!1;l.columns.clear()}n.created();return n}t=WjFlexGridColumn;WjFlexGridColumn.prototype.created=function(){};WjFlexGridColumn.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumn.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumn.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumn.meta={outputs:wjFlexGridColumnMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
WjFlexGridColumn.ɵfac = function WjFlexGridColumn_Factory(t) { return new (t || WjFlexGridColumn)(ɵngcc0.ɵɵdirectiveInject(core_1.ElementRef), ɵngcc0.ɵɵdirectiveInject(core_1.Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(core_1.ChangeDetectorRef)); };

@@ -73,3 +73,3 @@ WjFlexGridColumn.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumn, selectors: [["wj-flex-grid-column"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return t; })) }].concat(wjFlexGridColumnMeta.providers))], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumn_Template(rf, ctx) { if (rf & 1) {

args: [core_1.ChangeDetectorRef]
}] }]; }, null); })();return WjFlexGridColumn=t=__decorate([,__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridColumn)}(wjcGrid.Column);exports.WjFlexGridColumn=WjFlexGridColumn;var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnGroupMeta=wjFlexGridColumnGroupMeta;var WjFlexGridColumnGroup=function(e){__extends(WjFlexGridColumnGroup,e);function WjFlexGridColumnGroup(t,o,r){var i=e.call(this)||this;i.isInitialized=!1;i.wjProperty="columnGroups";i._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(i,t,o,r);i.created();return i}t=WjFlexGridColumnGroup;WjFlexGridColumnGroup.prototype.created=function(){};WjFlexGridColumnGroup.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumnGroup.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumnGroup.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
}] }]; }, null); })();return WjFlexGridColumn=t=__decorate([__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional()),__param(3,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridColumn)}(wjcGrid.Column);exports.WjFlexGridColumn=WjFlexGridColumn;var wjFlexGridColumnGroupMeta={selector:"wj-flex-grid-column-group",template:"<div><ng-content></ng-content></div>",inputs:["asyncBindings","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","collapseTo","isCollapsed","height"],outputs:["initialized","isSelectedChangePC: isSelectedChange"],providers:[]};exports.wjFlexGridColumnGroupMeta=wjFlexGridColumnGroupMeta;var WjFlexGridColumnGroup=function(e){__extends(WjFlexGridColumnGroup,e);function WjFlexGridColumnGroup(t,o,r){var i=e.call(this)||this;i.isInitialized=!1;i.wjProperty="columnGroups";i._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(i,t,o,r);i.created();return i}t=WjFlexGridColumnGroup;WjFlexGridColumnGroup.prototype.created=function(){};WjFlexGridColumnGroup.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjFlexGridColumnGroup.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjFlexGridColumnGroup.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};var t;WjFlexGridColumnGroup.meta={outputs:wjFlexGridColumnGroupMeta.outputs,changeEvents:{"grid.selectionChanged":["isSelected"]}};
WjFlexGridColumnGroup.ɵfac = function WjFlexGridColumnGroup_Factory(t) { return new (t || WjFlexGridColumnGroup)(ɵngcc0.ɵɵdirectiveInject(core_1.ElementRef), ɵngcc0.ɵɵdirectiveInject(core_1.Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12)); };

@@ -98,3 +98,3 @@ WjFlexGridColumnGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjFlexGridColumnGroup, selectors: [["wj-flex-grid-column-group"]], inputs: { asyncBindings: "asyncBindings", wjProperty: "wjProperty", name: "name", dataMap: "dataMap", dataType: "dataType", binding: "binding", sortMemberPath: "sortMemberPath", format: "format", cellTemplate: "cellTemplate", header: "header", width: "width", maxLength: "maxLength", minWidth: "minWidth", maxWidth: "maxWidth", align: "align", allowDragging: "allowDragging", allowSorting: "allowSorting", allowResizing: "allowResizing", allowMerging: "allowMerging", aggregate: "aggregate", isReadOnly: "isReadOnly", cssClass: "cssClass", cssClassAll: "cssClassAll", isContentHtml: "isContentHtml", isSelected: "isSelected", visible: "visible", wordWrap: "wordWrap", multiLine: "multiLine", mask: "mask", inputType: "inputType", isRequired: "isRequired", showDropDown: "showDropDown", dataMapEditor: "dataMapEditor", dropDownCssClass: "dropDownCssClass", quickAutoSize: "quickAutoSize", editor: "editor", collapseTo: "collapseTo", isCollapsed: "isCollapsed", height: "height" }, outputs: { initialized: "initialized", isSelectedChangePC: "isSelectedChange" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return t; })) }].concat(wjFlexGridColumnGroupMeta.providers))], ngContentSelectors: _c0, decls: 2, vars: 0, template: function WjFlexGridColumnGroup_Template(rf, ctx) { if (rf & 1) {

type: core_1.Optional
}] }]; }, null); })();return WjFlexGridColumnGroup=t=__decorate([,__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridColumnGroup)}(wjcGrid.ColumnGroup);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroup;var WjFlexGridCellTemplate=function(){function WjFlexGridCellTemplate(e,t,o,r,i,n){this.viewContainerRef=e;this.templateRef=t;this.elRef=o;this.cdRef=n;this.autoSizeRows=!0;this.forceFullEdit=!0;if(r instanceof wjcGrid.FlexGrid)this.grid=r;else if(r instanceof wjcGrid.Column){this.column=r;var l=void 0,a=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(r);do{l=(a=a.parentBehavior)&&a.directive}while(l&&!(l instanceof wjcGrid.FlexGrid));this.grid=l}}e=WjFlexGridCellTemplate;Object.defineProperty(WjFlexGridCellTemplate.prototype,"cellType",{get:function(){return this.cellTypeStr},set:function(e){this.cellTypeStr=wjcCore.asEnum(e,exports.CellTemplateType)},enumerable:!0,configurable:!0});WjFlexGridCellTemplate.prototype.ngOnInit=function(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()};WjFlexGridCellTemplate.prototype.ngOnDestroy=function(){if(exports.CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}};WjFlexGridCellTemplate.prototype._instantiateTemplate=function(e,t){return wijmo_angular2_directivebase_1.WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)};WjFlexGridCellTemplate.prototype._attachToControl=function(){if(exports.CellTemplateType[this.cellType]){var e=this.cellTypeStr,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()}};var e;__decorate([core_1.Input()],WjFlexGridCellTemplate.prototype,"cellType",null);
}] }]; }, null); })();return WjFlexGridColumnGroup=t=__decorate([__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjFlexGridColumnGroup)}(wjcGrid.ColumnGroup);exports.WjFlexGridColumnGroup=WjFlexGridColumnGroup;var WjFlexGridCellTemplate=function(){function WjFlexGridCellTemplate(e,t,o,r,i,n){this.viewContainerRef=e;this.templateRef=t;this.elRef=o;this.cdRef=n;this.autoSizeRows=!0;this.forceFullEdit=!0;if(r instanceof wjcGrid.FlexGrid)this.grid=r;else if(r instanceof wjcGrid.Column){this.column=r;var l=void 0,a=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(r);do{l=(a=a.parentBehavior)&&a.directive}while(l&&!(l instanceof wjcGrid.FlexGrid));this.grid=l}}e=WjFlexGridCellTemplate;Object.defineProperty(WjFlexGridCellTemplate.prototype,"cellType",{get:function(){return this.cellTypeStr},set:function(e){this.cellTypeStr=wjcCore.asEnum(e,exports.CellTemplateType)},enumerable:!0,configurable:!0});WjFlexGridCellTemplate.prototype.ngOnInit=function(){this.ownerControl=this.column&&this.column.grid===this.grid?this.column:this.grid;this._attachToControl()};WjFlexGridCellTemplate.prototype.ngOnDestroy=function(){if(exports.CellTemplateType[this.cellType]){this.viewContainerRef.clear();this.ownerControl[DirectiveCellFactory.getTemplContextProp(this.cellTypeStr)]=null;this.grid.invalidate()}};WjFlexGridCellTemplate.prototype._instantiateTemplate=function(e,t){return wijmo_angular2_directivebase_1.WjDirectiveBehavior.instantiateTemplate(e,this.viewContainerRef,this.templateRef,!1,t)};WjFlexGridCellTemplate.prototype._attachToControl=function(){if(exports.CellTemplateType[this.cellType]){var e=this.cellTypeStr,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()}};var e;__decorate([core_1.Input()],WjFlexGridCellTemplate.prototype,"cellType",null);
WjFlexGridCellTemplate.ɵfac = function WjFlexGridCellTemplate_Factory(t) { return new (t || WjFlexGridCellTemplate)(ɵngcc0.ɵɵdirectiveInject(core_1.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(core_1.TemplateRef, 8), ɵngcc0.ɵɵdirectiveInject(core_1.ElementRef), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12), ɵngcc0.ɵɵdirectiveInject(core_1.Injector), ɵngcc0.ɵɵdirectiveInject(core_1.ChangeDetectorRef)); };

@@ -131,3 +131,3 @@ WjFlexGridCellTemplate.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WjFlexGridCellTemplate, selectors: [["", "wjFlexGridCellTemplate", ""]], inputs: { wjFlexGridCellTemplate: "wjFlexGridCellTemplate", cellOverflow: "cellOverflow", valuePaths: "valuePaths", autoSizeRows: "autoSizeRows", forceFullEdit: "forceFullEdit", cellType: "cellType" }, exportAs: ["wjFlexGridCellTemplate"], features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return e; })) }])] });

type: core_1.Input
}] }); })();return WjFlexGridCellTemplate=e=__decorate([,__param(0,core_1.Inject(core_1.ViewContainerRef)),__param(1,core_1.Inject(core_1.TemplateRef)),__param(1,core_1.Optional()),__param(2,core_1.Inject(core_1.ElementRef)),__param(3,core_1.Inject("WjComponent")),__param(3,core_1.SkipSelf()),__param(3,core_1.Optional()),__param(4,core_1.Inject(core_1.Injector)),__param(5,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridCellTemplate)}();exports.WjFlexGridCellTemplate=WjFlexGridCellTemplate;var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(t,o){var r=e.call(this,t)||this;r._needsCdCheck=!1;r._gridCdRef=o;t.updatedView.addHandler((function(){if(r._needsCdCheck){r._needsCdCheck=!1;r._gridCdRef.markForCheck()}}),r);return r}DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,r=t?{}:e.templateCache.viewRef.context,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 n=e.cell,l=i._instantiateTemplate(n,r),a=e.templateCache={column:e.column,viewRef:l.viewRef,rootElement:l.rootElement,templateContextProperty:e.templateContextProperty};n[e.templateContextProperty]=a}};DirectiveCellFactory.prototype.setBindingsData=function(t,o,r,i,n,l){this._needsCdCheck=!0;return e.prototype.setBindingsData.call(this,t,o,r,i,n,l)};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,r){if(o&&o.viewRef){if(r){var i=r.viewContainerRef.indexOf(o.viewRef);i>-1&&r.viewContainerRef.remove(i)}o.viewRef=null;e.prototype.disposeTemplate.call(this,t,o,r)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){e.templateContext.cdRef.detectChanges()};DirectiveCellFactory.prototype.flushPendingEvents=function(e){if(e){var t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return this.grid._edtFocus};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){this.grid._edtFocus=e};DirectiveCellFactory.prototype.checkHeight=function(t){var o=this;wijmo_angular2_directivebase_1.WjDirectiveBehavior.getZone(this.grid).runOutsideAngular((function(){e.prototype.checkHeight.call(o,t)}))};return DirectiveCellFactory}(wijmo_interop_grid_1.DirectiveCellFactoryBase);exports.DirectiveCellFactory=DirectiveCellFactory;var moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=function(){function WjGridModule(){}
}] }); })();return WjFlexGridCellTemplate=e=__decorate([__param(0,core_1.Inject(core_1.ViewContainerRef)),__param(1,core_1.Inject(core_1.TemplateRef)),__param(1,core_1.Optional()),__param(2,core_1.Inject(core_1.ElementRef)),__param(3,core_1.Inject("WjComponent")),__param(3,core_1.SkipSelf()),__param(3,core_1.Optional()),__param(4,core_1.Inject(core_1.Injector)),__param(5,core_1.Inject(core_1.ChangeDetectorRef))],WjFlexGridCellTemplate)}();exports.WjFlexGridCellTemplate=WjFlexGridCellTemplate;var DirectiveCellFactory=function(e){__extends(DirectiveCellFactory,e);function DirectiveCellFactory(t,o){var r=e.call(this,t)||this;r._needsCdCheck=!1;r._gridCdRef=o;t.updatedView.addHandler((function(){if(r._needsCdCheck){r._needsCdCheck=!1;r._gridCdRef.markForCheck()}}),r);return r}DirectiveCellFactory.prototype._updatedViewHandler=function(){var e=this;setTimeout((function(){e._autoSizeIfRequired()}))};DirectiveCellFactory.prototype.shouldInstantiate=function(e){var t=e.templateCache;return null==t||t.column!==e.column||!t.viewRef||t.templateContextProperty!==e.templateContextProperty||e.cell.firstChild!=t.rootElement};DirectiveCellFactory.prototype.renderTemplate=function(e,t){var o=e.row,r=t?{}:e.templateCache.viewRef.context,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 n=e.cell,l=i._instantiateTemplate(n,r),a=e.templateCache={column:e.column,viewRef:l.viewRef,rootElement:l.rootElement,templateContextProperty:e.templateContextProperty};n[e.templateContextProperty]=a}};DirectiveCellFactory.prototype.setBindingsData=function(t,o,r,i,n,l){this._needsCdCheck=!0;return e.prototype.setBindingsData.call(this,t,o,r,i,n,l)};DirectiveCellFactory.prototype.disposeTemplate=function(t,o,r){if(o&&o.viewRef){if(r){var i=r.viewContainerRef.indexOf(o.viewRef);i>-1&&r.viewContainerRef.remove(i)}o.viewRef=null;e.prototype.disposeTemplate.call(this,t,o,r)}};DirectiveCellFactory.prototype.clearCell=function(e){e.textContent=""};DirectiveCellFactory.prototype.applyImmediately=function(e){e.templateContext.cdRef.detectChanges()};DirectiveCellFactory.prototype.flushPendingEvents=function(e){if(e){var t=wijmo_angular2_directivebase_1.WjDirectiveBehavior.getBehavior(e);t&&t.flushPendingEvents()}};DirectiveCellFactory.prototype.getEditorFocusFlag=function(){return this.grid._edtFocus};DirectiveCellFactory.prototype.setEditorFocusFlag=function(e){this.grid._edtFocus=e};DirectiveCellFactory.prototype.checkHeight=function(t){var o=this;wijmo_angular2_directivebase_1.WjDirectiveBehavior.getZone(this.grid).runOutsideAngular((function(){e.prototype.checkHeight.call(o,t)}))};return DirectiveCellFactory}(wijmo_interop_grid_1.DirectiveCellFactoryBase);exports.DirectiveCellFactory=DirectiveCellFactory;var moduleExports=[WjFlexGrid,WjFlexGridColumn,WjFlexGridColumnGroup,WjFlexGridCellTemplate],WjGridModule=function(){function WjGridModule(){}
WjGridModule.ɵfac = function WjGridModule_Factory(t) { return new (t || WjGridModule)(); };

@@ -134,0 +134,0 @@ WjGridModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WjGridModule });

{
"name": "@grapecity/wijmo.angular2.grid",
"version": "5.20241.9",
"version": "5.20241.19",
"description": "UI library for pure JS, Angular, React, Vue and more...",

@@ -10,8 +10,8 @@ "author": "MESCIUS inc",

"dependencies": {
"@grapecity/wijmo": "5.20241.9",
"@grapecity/wijmo.grid": "5.20241.9",
"@grapecity/wijmo.input": "5.20241.9",
"@grapecity/wijmo.grid.detail": "5.20241.9",
"@grapecity/wijmo.interop.grid": "5.20241.9",
"@grapecity/wijmo.angular2.directivebase": "5.20241.9"
"@grapecity/wijmo": "5.20241.19",
"@grapecity/wijmo.grid": "5.20241.19",
"@grapecity/wijmo.input": "5.20241.19",
"@grapecity/wijmo.grid.detail": "5.20241.19",
"@grapecity/wijmo.interop.grid": "5.20241.19",
"@grapecity/wijmo.angular2.directivebase": "5.20241.19"
},

@@ -18,0 +18,0 @@ "homepage": "https://developer.mescius.com/wijmo",