@handsontable/angular 14.2.0 → 14.3.0-next-13fe676-20240409

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1078 +0,0 @@
1
- /*!
2
- * Copyright (c) HANDSONCODE sp. z o. o.
3
- *
4
- * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
5
- * Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number
6
- * 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
7
- *
8
- * This software is protected by applicable copyright laws, including international treaties, and dual-
9
- * licensed - depending on whether your use for commercial purposes, meaning intended for or
10
- * resulting in commercial advantage or monetary compensation, or not.
11
- *
12
- * If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
13
- * the suitability, performance, and usefulness of this software outside the production environment,
14
- * you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.
15
- *
16
- * Your use of this software for commercial purposes is subject to the terms included in an applicable
17
- * license agreement.
18
- *
19
- * In any case, you must not make any such use of this software as to develop software which may be
20
- * considered competitive with this software.
21
- *
22
- * UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"
23
- * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO
24
- * LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
25
- * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
- * USE OR INABILITY TO USE THIS SOFTWARE.
27
- *
28
- * Version: 14.2.0 (built at Wed Mar 06 2024 09:50:15 GMT+0100 (Central European Standard Time))
29
- */
30
- (function (global, factory) {
31
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('handsontable/base')) :
32
- typeof define === 'function' && define.amd ? define('@handsontable/angular', ['exports', '@angular/core', 'handsontable/base'], factory) :
33
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Handsontable = global.Handsontable || {}, global.Handsontable.angular = {}), global.ng.core, global.Handsontable));
34
- })(this, (function (exports, i0, Handsontable) { 'use strict';
35
-
36
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
37
-
38
- function _interopNamespace(e) {
39
- if (e && e.__esModule) return e;
40
- var n = Object.create(null);
41
- if (e) {
42
- Object.keys(e).forEach(function (k) {
43
- if (k !== 'default') {
44
- var d = Object.getOwnPropertyDescriptor(e, k);
45
- Object.defineProperty(n, k, d.get ? d : {
46
- enumerable: true,
47
- get: function () { return e[k]; }
48
- });
49
- }
50
- });
51
- }
52
- n["default"] = e;
53
- return Object.freeze(n);
54
- }
55
-
56
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
57
- var Handsontable__default = /*#__PURE__*/_interopDefaultLegacy(Handsontable);
58
-
59
- var instances = new Map();
60
- var HOT_DESTROYED_WARNING = 'The Handsontable instance bound to this component was destroyed and cannot be' +
61
- ' used properly.';
62
- var HotTableRegisterer = /** @class */ (function () {
63
- function HotTableRegisterer() {
64
- }
65
- HotTableRegisterer.prototype.getInstance = function (id) {
66
- var hotInstance = instances.get(id);
67
- if (hotInstance.isDestroyed) {
68
- console.warn(HOT_DESTROYED_WARNING);
69
- return null;
70
- }
71
- return hotInstance;
72
- };
73
- HotTableRegisterer.prototype.registerInstance = function (id, instance) {
74
- return instances.set(id, instance);
75
- };
76
- HotTableRegisterer.prototype.removeInstance = function (id) {
77
- return instances.delete(id);
78
- };
79
- return HotTableRegisterer;
80
- }());
81
- HotTableRegisterer.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableRegisterer, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
82
- HotTableRegisterer.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableRegisterer });
83
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableRegisterer, decorators: [{
84
- type: i0.Injectable
85
- }] });
86
-
87
- var AVAILABLE_OPTIONS = Object.keys(Handsontable__default["default"].DefaultSettings);
88
- var AVAILABLE_HOOKS = Handsontable__default["default"].hooks.getRegistered();
89
- var HotSettingsResolver = /** @class */ (function () {
90
- function HotSettingsResolver() {
91
- }
92
- HotSettingsResolver.prototype.mergeSettings = function (component) {
93
- var isSettingsObject = 'settings' in component && (typeof component['settings'] === 'object');
94
- var mergedSettings = isSettingsObject ? component['settings'] : {};
95
- var options = AVAILABLE_HOOKS.concat(AVAILABLE_OPTIONS);
96
- options.forEach(function (key) {
97
- var isHook = AVAILABLE_HOOKS.indexOf(key) > -1;
98
- var option;
99
- if (isSettingsObject && isHook) {
100
- option = component['settings'][key];
101
- }
102
- if (component[key] !== void 0) {
103
- option = component[key];
104
- }
105
- if (option === void 0) {
106
- return;
107
- }
108
- else if (('ngZone' in component) && (typeof option === 'function' && isHook)) {
109
- mergedSettings[key] = function () {
110
- var _this = this;
111
- var args = [];
112
- for (var _i = 0; _i < arguments.length; _i++) {
113
- args[_i] = arguments[_i];
114
- }
115
- return component.ngZone.run(function () { return option.apply(_this, args); });
116
- };
117
- }
118
- else {
119
- mergedSettings[key] = option;
120
- }
121
- });
122
- return mergedSettings;
123
- };
124
- HotSettingsResolver.prototype.prepareChanges = function (changes) {
125
- var result = {};
126
- var parameters = Object.keys(changes);
127
- parameters.forEach(function (param) {
128
- if (changes.hasOwnProperty(param)) {
129
- result[param] = changes[param].currentValue;
130
- }
131
- });
132
- return result;
133
- };
134
- return HotSettingsResolver;
135
- }());
136
- HotSettingsResolver.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotSettingsResolver, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
137
- HotSettingsResolver.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotSettingsResolver });
138
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotSettingsResolver, decorators: [{
139
- type: i0.Injectable
140
- }] });
141
-
142
- var HotTableComponent = /** @class */ (function () {
143
- function HotTableComponent(_hotTableRegisterer, _hotSettingsResolver, ngZone) {
144
- this._hotTableRegisterer = _hotTableRegisterer;
145
- this._hotSettingsResolver = _hotSettingsResolver;
146
- this.ngZone = ngZone;
147
- this.__hotInstance = null;
148
- this.columnsComponents = [];
149
- this.hotId = '';
150
- }
151
- Object.defineProperty(HotTableComponent.prototype, "hotInstance", {
152
- get: function () {
153
- if (!this.__hotInstance || (this.__hotInstance && !this.__hotInstance.isDestroyed)) {
154
- // Will return the Handsontable instance or `null` if it's not yet been created.
155
- return this.__hotInstance;
156
- }
157
- else {
158
- this._hotTableRegisterer.removeInstance(this.hotId);
159
- console.warn(HOT_DESTROYED_WARNING);
160
- return null;
161
- }
162
- },
163
- set: function (hotInstance) {
164
- this.__hotInstance = hotInstance;
165
- },
166
- enumerable: false,
167
- configurable: true
168
- });
169
- HotTableComponent.prototype.ngAfterViewInit = function () {
170
- var _this = this;
171
- var options = this._hotSettingsResolver.mergeSettings(this);
172
- if (this.columnsComponents.length > 0) {
173
- var columns_1 = [];
174
- this.columnsComponents.forEach(function (column) {
175
- columns_1.push(_this._hotSettingsResolver.mergeSettings(column));
176
- });
177
- options['columns'] = columns_1;
178
- }
179
- this.ngZone.runOutsideAngular(function () {
180
- _this.hotInstance = new Handsontable__default["default"].Core(_this.container.nativeElement, options);
181
- if (_this.hotId) {
182
- _this._hotTableRegisterer.registerInstance(_this.hotId, _this.hotInstance);
183
- }
184
- // @ts-ignore
185
- _this.hotInstance.init();
186
- });
187
- };
188
- HotTableComponent.prototype.ngOnChanges = function (changes) {
189
- if (this.hotInstance === null) {
190
- return;
191
- }
192
- var newOptions = this._hotSettingsResolver.prepareChanges(changes);
193
- this.updateHotTable(newOptions);
194
- };
195
- HotTableComponent.prototype.ngOnDestroy = function () {
196
- var _this = this;
197
- this.ngZone.runOutsideAngular(function () {
198
- if (_this.hotInstance) {
199
- _this.hotInstance.destroy();
200
- }
201
- });
202
- if (this.hotId) {
203
- this._hotTableRegisterer.removeInstance(this.hotId);
204
- }
205
- };
206
- HotTableComponent.prototype.updateHotTable = function (newSettings) {
207
- var _this = this;
208
- if (!this.hotInstance) {
209
- return;
210
- }
211
- this.ngZone.runOutsideAngular(function () {
212
- _this.hotInstance.updateSettings(newSettings, false);
213
- });
214
- };
215
- HotTableComponent.prototype.onAfterColumnsChange = function () {
216
- var _this = this;
217
- if (this.columnsComponents === void 0) {
218
- return;
219
- }
220
- if (this.columnsComponents.length > 0) {
221
- var columns_2 = [];
222
- this.columnsComponents.forEach(function (column) {
223
- columns_2.push(_this._hotSettingsResolver.mergeSettings(column));
224
- });
225
- var newOptions = {
226
- columns: columns_2
227
- };
228
- this.updateHotTable(newOptions);
229
- }
230
- };
231
- HotTableComponent.prototype.onAfterColumnsNumberChange = function () {
232
- var _this = this;
233
- var columns = [];
234
- if (this.columnsComponents.length > 0) {
235
- this.columnsComponents.forEach(function (column) {
236
- columns.push(_this._hotSettingsResolver.mergeSettings(column));
237
- });
238
- }
239
- this.updateHotTable({ columns: columns });
240
- };
241
- HotTableComponent.prototype.addColumn = function (column) {
242
- this.columnsComponents.push(column);
243
- this.onAfterColumnsNumberChange();
244
- };
245
- HotTableComponent.prototype.removeColumn = function (column) {
246
- var index = this.columnsComponents.indexOf(column);
247
- this.columnsComponents.splice(index, 1);
248
- this.onAfterColumnsNumberChange();
249
- };
250
- return HotTableComponent;
251
- }());
252
- HotTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableComponent, deps: [{ token: HotTableRegisterer }, { token: HotSettingsResolver }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
253
- HotTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HotTableComponent, selector: "hot-table", inputs: { settings: "settings", hotId: "hotId", activeHeaderClassName: "activeHeaderClassName", allowEmpty: "allowEmpty", allowHtml: "allowHtml", allowInsertColumn: "allowInsertColumn", allowInsertRow: "allowInsertRow", allowInvalid: "allowInvalid", allowRemoveColumn: "allowRemoveColumn", allowRemoveRow: "allowRemoveRow", ariaTags: "ariaTags", autoColumnSize: "autoColumnSize", autoRowSize: "autoRowSize", autoWrapCol: "autoWrapCol", autoWrapRow: "autoWrapRow", bindRowsWithHeaders: "bindRowsWithHeaders", cell: "cell", cells: "cells", checkedTemplate: "checkedTemplate", className: "className", colHeaders: "colHeaders", collapsibleColumns: "collapsibleColumns", columnHeaderHeight: "columnHeaderHeight", columns: "columns", columnSorting: "columnSorting", columnSummary: "columnSummary", colWidths: "colWidths", commentedCellClassName: "commentedCellClassName", comments: "comments", contextMenu: "contextMenu", copyable: "copyable", copyPaste: "copyPaste", correctFormat: "correctFormat", currentColClassName: "currentColClassName", currentHeaderClassName: "currentHeaderClassName", currentRowClassName: "currentRowClassName", customBorders: "customBorders", data: "data", dataSchema: "dataSchema", dateFormat: "dateFormat", datePickerConfig: "datePickerConfig", defaultDate: "defaultDate", tabNavigation: "tabNavigation", disableVisualSelection: "disableVisualSelection", dragToScroll: "dragToScroll", dropdownMenu: "dropdownMenu", editor: "editor", enterBeginsEditing: "enterBeginsEditing", enterMoves: "enterMoves", fillHandle: "fillHandle", filter: "filter", filteringCaseSensitive: "filteringCaseSensitive", filters: "filters", fixedColumnsLeft: "fixedColumnsLeft", fixedColumnsStart: "fixedColumnsStart", fixedRowsBottom: "fixedRowsBottom", fixedRowsTop: "fixedRowsTop", formulas: "formulas", fragmentSelection: "fragmentSelection", height: "height", hiddenColumns: "hiddenColumns", hiddenRows: "hiddenRows", invalidCellClassName: "invalidCellClassName", imeFastEdit: "imeFastEdit", label: "label", language: "language", layoutDirection: "layoutDirection", licenseKey: "licenseKey", locale: "locale", manualColumnFreeze: "manualColumnFreeze", manualColumnMove: "manualColumnMove", manualColumnResize: "manualColumnResize", manualRowMove: "manualRowMove", manualRowResize: "manualRowResize", maxCols: "maxCols", maxRows: "maxRows", mergeCells: "mergeCells", minCols: "minCols", minRows: "minRows", minSpareCols: "minSpareCols", minSpareRows: "minSpareRows", multiColumnSorting: "multiColumnSorting", navigableHeaders: "navigableHeaders", nestedHeaders: "nestedHeaders", nestedRows: "nestedRows", noWordWrapClassName: "noWordWrapClassName", numericFormat: "numericFormat", observeDOMVisibility: "observeDOMVisibility", outsideClickDeselects: "outsideClickDeselects", persistentState: "persistentState", placeholder: "placeholder", placeholderCellClassName: "placeholderCellClassName", preventOverflow: "preventOverflow", preventWheel: "preventWheel", readOnly: "readOnly", readOnlyCellClassName: "readOnlyCellClassName", renderAllColumns: "renderAllColumns", renderAllRows: "renderAllRows", renderer: "renderer", rowHeaders: "rowHeaders", rowHeaderWidth: "rowHeaderWidth", rowHeights: "rowHeights", search: "search", selectionMode: "selectionMode", selectOptions: "selectOptions", skipColumnOnPaste: "skipColumnOnPaste", skipRowOnPaste: "skipRowOnPaste", sortByRelevance: "sortByRelevance", source: "source", startCols: "startCols", startRows: "startRows", stretchH: "stretchH", strict: "strict", tableClassName: "tableClassName", tabMoves: "tabMoves", title: "title", trimDropdown: "trimDropdown", trimRows: "trimRows", trimWhitespace: "trimWhitespace", type: "type", uncheckedTemplate: "uncheckedTemplate", undo: "undo", validator: "validator", viewportColumnRenderingOffset: "viewportColumnRenderingOffset", viewportRowRenderingOffset: "viewportRowRenderingOffset", visibleRows: "visibleRows", width: "width", wordWrap: "wordWrap", afterAddChild: "afterAddChild", afterAutofill: "afterAutofill", afterBeginEditing: "afterBeginEditing", afterCellMetaReset: "afterCellMetaReset", afterChange: "afterChange", afterChangesObserved: "afterChangesObserved", afterColumnCollapse: "afterColumnCollapse", afterColumnExpand: "afterColumnExpand", afterColumnFreeze: "afterColumnFreeze", afterColumnMove: "afterColumnMove", afterColumnResize: "afterColumnResize", afterColumnSequenceChange: "afterColumnSequenceChange", afterColumnSort: "afterColumnSort", afterColumnUnfreeze: "afterColumnUnfreeze", afterContextMenuDefaultOptions: "afterContextMenuDefaultOptions", afterContextMenuHide: "afterContextMenuHide", afterContextMenuShow: "afterContextMenuShow", afterCopy: "afterCopy", afterCopyLimit: "afterCopyLimit", afterCreateCol: "afterCreateCol", afterCreateRow: "afterCreateRow", afterCut: "afterCut", afterDeselect: "afterDeselect", afterDestroy: "afterDestroy", afterDetachChild: "afterDetachChild", afterDocumentKeyDown: "afterDocumentKeyDown", afterDrawSelection: "afterDrawSelection", afterDropdownMenuDefaultOptions: "afterDropdownMenuDefaultOptions", afterDropdownMenuHide: "afterDropdownMenuHide", afterDropdownMenuShow: "afterDropdownMenuShow", afterFilter: "afterFilter", afterFormulasValuesUpdate: "afterFormulasValuesUpdate", afterGetCellMeta: "afterGetCellMeta", afterGetColHeader: "afterGetColHeader", afterGetColumnHeaderRenderers: "afterGetColumnHeaderRenderers", afterGetRowHeader: "afterGetRowHeader", afterGetRowHeaderRenderers: "afterGetRowHeaderRenderers", afterHideColumns: "afterHideColumns", afterHideRows: "afterHideRows", afterInit: "afterInit", afterLanguageChange: "afterLanguageChange", afterListen: "afterListen", afterLoadData: "afterLoadData", afterMergeCells: "afterMergeCells", afterModifyTransformEnd: "afterModifyTransformEnd", afterModifyTransformStart: "afterModifyTransformStart", afterMomentumScroll: "afterMomentumScroll", afterNamedExpressionAdded: "afterNamedExpressionAdded", afterNamedExpressionRemoved: "afterNamedExpressionRemoved", afterOnCellContextMenu: "afterOnCellContextMenu", afterOnCellCornerDblClick: "afterOnCellCornerDblClick", afterOnCellCornerMouseDown: "afterOnCellCornerMouseDown", afterOnCellMouseDown: "afterOnCellMouseDown", afterOnCellMouseOut: "afterOnCellMouseOut", afterOnCellMouseOver: "afterOnCellMouseOver", afterOnCellMouseUp: "afterOnCellMouseUp", afterPaste: "afterPaste", afterPluginsInitialized: "afterPluginsInitialized", afterRedo: "afterRedo", afterRedoStackChange: "afterRedoStackChange", afterRefreshDimensions: "afterRefreshDimensions", afterRemoveCellMeta: "afterRemoveCellMeta", afterRemoveCol: "afterRemoveCol", afterRemoveRow: "afterRemoveRow", afterRender: "afterRender", afterRenderer: "afterRenderer", afterRowMove: "afterRowMove", afterRowResize: "afterRowResize", afterRowSequenceChange: "afterRowSequenceChange", afterScrollHorizontally: "afterScrollHorizontally", afterScrollVertically: "afterScrollVertically", afterScroll: "afterScroll", afterSelectColumns: "afterSelectColumns", afterSelection: "afterSelection", afterSelectionByProp: "afterSelectionByProp", afterSelectionEnd: "afterSelectionEnd", afterSelectionEndByProp: "afterSelectionEndByProp", afterSelectRows: "afterSelectRows", afterSetCellMeta: "afterSetCellMeta", afterSetDataAtCell: "afterSetDataAtCell", afterSetDataAtRowProp: "afterSetDataAtRowProp", afterSetSourceDataAtCell: "afterSetSourceDataAtCell", afterSheetAdded: "afterSheetAdded", afterSheetRenamed: "afterSheetRenamed", afterSheetRemoved: "afterSheetRemoved", afterTrimRow: "afterTrimRow", afterUndo: "afterUndo", afterUndoStackChange: "afterUndoStackChange", afterUnhideColumns: "afterUnhideColumns", afterUnhideRows: "afterUnhideRows", afterUnlisten: "afterUnlisten", afterUnmergeCells: "afterUnmergeCells", afterUntrimRow: "afterUntrimRow", afterUpdateData: "afterUpdateData", afterUpdateSettings: "afterUpdateSettings", afterValidate: "afterValidate", afterViewportColumnCalculatorOverride: "afterViewportColumnCalculatorOverride", afterViewportRowCalculatorOverride: "afterViewportRowCalculatorOverride", afterViewRender: "afterViewRender", beforeAddChild: "beforeAddChild", beforeAutofill: "beforeAutofill", beforeBeginEditing: "beforeBeginEditing", beforeCellAlignment: "beforeCellAlignment", beforeChange: "beforeChange", beforeChangeRender: "beforeChangeRender", beforeColumnCollapse: "beforeColumnCollapse", beforeColumnExpand: "beforeColumnExpand", beforeColumnFreeze: "beforeColumnFreeze", beforeColumnMove: "beforeColumnMove", beforeColumnResize: "beforeColumnResize", beforeColumnSort: "beforeColumnSort", beforeColumnWrap: "beforeColumnWrap", beforeColumnUnfreeze: "beforeColumnUnfreeze", beforeContextMenuSetItems: "beforeContextMenuSetItems", beforeContextMenuShow: "beforeContextMenuShow", beforeCopy: "beforeCopy", beforeCreateCol: "beforeCreateCol", beforeCreateRow: "beforeCreateRow", beforeCut: "beforeCut", beforeDetachChild: "beforeDetachChild", beforeDrawBorders: "beforeDrawBorders", beforeDropdownMenuSetItems: "beforeDropdownMenuSetItems", beforeDropdownMenuShow: "beforeDropdownMenuShow", beforeFilter: "beforeFilter", beforeGetCellMeta: "beforeGetCellMeta", beforeHideColumns: "beforeHideColumns", beforeHideRows: "beforeHideRows", beforeHighlightingColumnHeader: "beforeHighlightingColumnHeader", beforeHighlightingRowHeader: "beforeHighlightingRowHeader", beforeInit: "beforeInit", beforeInitWalkontable: "beforeInitWalkontable", beforeKeyDown: "beforeKeyDown", beforeLanguageChange: "beforeLanguageChange", beforeLoadData: "beforeLoadData", beforeMergeCells: "beforeMergeCells", beforeOnCellContextMenu: "beforeOnCellContextMenu", beforeOnCellMouseDown: "beforeOnCellMouseDown", beforeOnCellMouseOut: "beforeOnCellMouseOut", beforeOnCellMouseOver: "beforeOnCellMouseOver", beforeOnCellMouseUp: "beforeOnCellMouseUp", beforePaste: "beforePaste", beforeRedo: "beforeRedo", beforeRedoStackChange: "beforeRedoStackChange", beforeRefreshDimensions: "beforeRefreshDimensions", beforeRemoveCellClassNames: "beforeRemoveCellClassNames", beforeRemoveCellMeta: "beforeRemoveCellMeta", beforeRemoveCol: "beforeRemoveCol", beforeRemoveRow: "beforeRemoveRow", beforeRender: "beforeRender", beforeRenderer: "beforeRenderer", beforeRowMove: "beforeRowMove", beforeRowResize: "beforeRowResize", beforeRowWrap: "beforeRowWrap", beforeSelectColumns: "beforeSelectColumns", beforeSelectionHighlightSet: "beforeSelectionHighlightSet", beforeSelectRows: "beforeSelectRows", beforeSetCellMeta: "beforeSetCellMeta", beforeSetRangeEnd: "beforeSetRangeEnd", beforeSetRangeStart: "beforeSetRangeStart", beforeSetRangeStartOnly: "beforeSetRangeStartOnly", beforeStretchingColumnWidth: "beforeStretchingColumnWidth", beforeTouchScroll: "beforeTouchScroll", beforeTrimRow: "beforeTrimRow", beforeUndo: "beforeUndo", beforeUndoStackChange: "beforeUndoStackChange", beforeUnhideColumns: "beforeUnhideColumns", beforeUnhideRows: "beforeUnhideRows", beforeUnmergeCells: "beforeUnmergeCells", beforeUntrimRow: "beforeUntrimRow", beforeUpdateData: "beforeUpdateData", beforeValidate: "beforeValidate", beforeValueRender: "beforeValueRender", beforeViewportScroll: "beforeViewportScroll", beforeViewportScrollHorizontally: "beforeViewportScrollHorizontally", beforeViewportScrollVertically: "beforeViewportScrollVertically", beforeViewRender: "beforeViewRender", construct: "construct", init: "init", modifyAutoColumnSizeSeed: "modifyAutoColumnSizeSeed", modifyAutofillRange: "modifyAutofillRange", modifyColHeader: "modifyColHeader", modifyColumnHeaderHeight: "modifyColumnHeaderHeight", modifyColumnHeaderValue: "modifyColumnHeaderValue", modifyColWidth: "modifyColWidth", modifyCopyableRange: "modifyCopyableRange", modifyFiltersMultiSelectValue: "modifyFiltersMultiSelectValue", modifyFocusedElement: "modifyFocusedElement", modifyData: "modifyData", modifyFocusOnTabNavigation: "modifyFocusOnTabNavigation", modifyGetCellCoords: "modifyGetCellCoords", modifyRowData: "modifyRowData", modifyRowHeader: "modifyRowHeader", modifyRowHeaderWidth: "modifyRowHeaderWidth", modifyRowHeight: "modifyRowHeight", modifySourceData: "modifySourceData", modifyTransformEnd: "modifyTransformEnd", modifyTransformStart: "modifyTransformStart", persistentStateLoad: "persistentStateLoad", persistentStateReset: "persistentStateReset", persistentStateSave: "persistentStateSave" }, providers: [HotTableRegisterer, HotSettingsResolver], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container [id]="hotId"></div>', isInline: true, encapsulation: i0__namespace.ViewEncapsulation.None });
254
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableComponent, decorators: [{
255
- type: i0.Component,
256
- args: [{
257
- selector: 'hot-table',
258
- template: '<div #container [id]="hotId"></div>',
259
- encapsulation: i0.ViewEncapsulation.None,
260
- providers: [HotTableRegisterer, HotSettingsResolver],
261
- }]
262
- }], ctorParameters: function () { return [{ type: HotTableRegisterer }, { type: HotSettingsResolver }, { type: i0__namespace.NgZone }]; }, propDecorators: { container: [{
263
- type: i0.ViewChild,
264
- args: ['container', { static: false }]
265
- }], settings: [{
266
- type: i0.Input
267
- }], hotId: [{
268
- type: i0.Input
269
- }], activeHeaderClassName: [{
270
- type: i0.Input
271
- }], allowEmpty: [{
272
- type: i0.Input
273
- }], allowHtml: [{
274
- type: i0.Input
275
- }], allowInsertColumn: [{
276
- type: i0.Input
277
- }], allowInsertRow: [{
278
- type: i0.Input
279
- }], allowInvalid: [{
280
- type: i0.Input
281
- }], allowRemoveColumn: [{
282
- type: i0.Input
283
- }], allowRemoveRow: [{
284
- type: i0.Input
285
- }], ariaTags: [{
286
- type: i0.Input
287
- }], autoColumnSize: [{
288
- type: i0.Input
289
- }], autoRowSize: [{
290
- type: i0.Input
291
- }], autoWrapCol: [{
292
- type: i0.Input
293
- }], autoWrapRow: [{
294
- type: i0.Input
295
- }], bindRowsWithHeaders: [{
296
- type: i0.Input
297
- }], cell: [{
298
- type: i0.Input
299
- }], cells: [{
300
- type: i0.Input
301
- }], checkedTemplate: [{
302
- type: i0.Input
303
- }], className: [{
304
- type: i0.Input
305
- }], colHeaders: [{
306
- type: i0.Input
307
- }], collapsibleColumns: [{
308
- type: i0.Input
309
- }], columnHeaderHeight: [{
310
- type: i0.Input
311
- }], columns: [{
312
- type: i0.Input
313
- }], columnSorting: [{
314
- type: i0.Input
315
- }], columnSummary: [{
316
- type: i0.Input
317
- }], colWidths: [{
318
- type: i0.Input
319
- }], commentedCellClassName: [{
320
- type: i0.Input
321
- }], comments: [{
322
- type: i0.Input
323
- }], contextMenu: [{
324
- type: i0.Input
325
- }], copyable: [{
326
- type: i0.Input
327
- }], copyPaste: [{
328
- type: i0.Input
329
- }], correctFormat: [{
330
- type: i0.Input
331
- }], currentColClassName: [{
332
- type: i0.Input
333
- }], currentHeaderClassName: [{
334
- type: i0.Input
335
- }], currentRowClassName: [{
336
- type: i0.Input
337
- }], customBorders: [{
338
- type: i0.Input
339
- }], data: [{
340
- type: i0.Input
341
- }], dataSchema: [{
342
- type: i0.Input
343
- }], dateFormat: [{
344
- type: i0.Input
345
- }], datePickerConfig: [{
346
- type: i0.Input
347
- }], defaultDate: [{
348
- type: i0.Input
349
- }], tabNavigation: [{
350
- type: i0.Input
351
- }], disableVisualSelection: [{
352
- type: i0.Input
353
- }], dragToScroll: [{
354
- type: i0.Input
355
- }], dropdownMenu: [{
356
- type: i0.Input
357
- }], editor: [{
358
- type: i0.Input
359
- }], enterBeginsEditing: [{
360
- type: i0.Input
361
- }], enterMoves: [{
362
- type: i0.Input
363
- }], fillHandle: [{
364
- type: i0.Input
365
- }], filter: [{
366
- type: i0.Input
367
- }], filteringCaseSensitive: [{
368
- type: i0.Input
369
- }], filters: [{
370
- type: i0.Input
371
- }], fixedColumnsLeft: [{
372
- type: i0.Input
373
- }], fixedColumnsStart: [{
374
- type: i0.Input
375
- }], fixedRowsBottom: [{
376
- type: i0.Input
377
- }], fixedRowsTop: [{
378
- type: i0.Input
379
- }], formulas: [{
380
- type: i0.Input
381
- }], fragmentSelection: [{
382
- type: i0.Input
383
- }], height: [{
384
- type: i0.Input
385
- }], hiddenColumns: [{
386
- type: i0.Input
387
- }], hiddenRows: [{
388
- type: i0.Input
389
- }], invalidCellClassName: [{
390
- type: i0.Input
391
- }], imeFastEdit: [{
392
- type: i0.Input
393
- }], label: [{
394
- type: i0.Input
395
- }], language: [{
396
- type: i0.Input
397
- }], layoutDirection: [{
398
- type: i0.Input
399
- }], licenseKey: [{
400
- type: i0.Input
401
- }], locale: [{
402
- type: i0.Input
403
- }], manualColumnFreeze: [{
404
- type: i0.Input
405
- }], manualColumnMove: [{
406
- type: i0.Input
407
- }], manualColumnResize: [{
408
- type: i0.Input
409
- }], manualRowMove: [{
410
- type: i0.Input
411
- }], manualRowResize: [{
412
- type: i0.Input
413
- }], maxCols: [{
414
- type: i0.Input
415
- }], maxRows: [{
416
- type: i0.Input
417
- }], mergeCells: [{
418
- type: i0.Input
419
- }], minCols: [{
420
- type: i0.Input
421
- }], minRows: [{
422
- type: i0.Input
423
- }], minSpareCols: [{
424
- type: i0.Input
425
- }], minSpareRows: [{
426
- type: i0.Input
427
- }], multiColumnSorting: [{
428
- type: i0.Input
429
- }], navigableHeaders: [{
430
- type: i0.Input
431
- }], nestedHeaders: [{
432
- type: i0.Input
433
- }], nestedRows: [{
434
- type: i0.Input
435
- }], noWordWrapClassName: [{
436
- type: i0.Input
437
- }], numericFormat: [{
438
- type: i0.Input
439
- }], observeDOMVisibility: [{
440
- type: i0.Input
441
- }], outsideClickDeselects: [{
442
- type: i0.Input
443
- }], persistentState: [{
444
- type: i0.Input
445
- }], placeholder: [{
446
- type: i0.Input
447
- }], placeholderCellClassName: [{
448
- type: i0.Input
449
- }], preventOverflow: [{
450
- type: i0.Input
451
- }], preventWheel: [{
452
- type: i0.Input
453
- }], readOnly: [{
454
- type: i0.Input
455
- }], readOnlyCellClassName: [{
456
- type: i0.Input
457
- }], renderAllColumns: [{
458
- type: i0.Input
459
- }], renderAllRows: [{
460
- type: i0.Input
461
- }], renderer: [{
462
- type: i0.Input
463
- }], rowHeaders: [{
464
- type: i0.Input
465
- }], rowHeaderWidth: [{
466
- type: i0.Input
467
- }], rowHeights: [{
468
- type: i0.Input
469
- }], search: [{
470
- type: i0.Input
471
- }], selectionMode: [{
472
- type: i0.Input
473
- }], selectOptions: [{
474
- type: i0.Input
475
- }], skipColumnOnPaste: [{
476
- type: i0.Input
477
- }], skipRowOnPaste: [{
478
- type: i0.Input
479
- }], sortByRelevance: [{
480
- type: i0.Input
481
- }], source: [{
482
- type: i0.Input
483
- }], startCols: [{
484
- type: i0.Input
485
- }], startRows: [{
486
- type: i0.Input
487
- }], stretchH: [{
488
- type: i0.Input
489
- }], strict: [{
490
- type: i0.Input
491
- }], tableClassName: [{
492
- type: i0.Input
493
- }], tabMoves: [{
494
- type: i0.Input
495
- }], title: [{
496
- type: i0.Input
497
- }], trimDropdown: [{
498
- type: i0.Input
499
- }], trimRows: [{
500
- type: i0.Input
501
- }], trimWhitespace: [{
502
- type: i0.Input
503
- }], type: [{
504
- type: i0.Input
505
- }], uncheckedTemplate: [{
506
- type: i0.Input
507
- }], undo: [{
508
- type: i0.Input
509
- }], validator: [{
510
- type: i0.Input
511
- }], viewportColumnRenderingOffset: [{
512
- type: i0.Input
513
- }], viewportRowRenderingOffset: [{
514
- type: i0.Input
515
- }], visibleRows: [{
516
- type: i0.Input
517
- }], width: [{
518
- type: i0.Input
519
- }], wordWrap: [{
520
- type: i0.Input
521
- }], afterAddChild: [{
522
- type: i0.Input
523
- }], afterAutofill: [{
524
- type: i0.Input
525
- }], afterBeginEditing: [{
526
- type: i0.Input
527
- }], afterCellMetaReset: [{
528
- type: i0.Input
529
- }], afterChange: [{
530
- type: i0.Input
531
- }], afterChangesObserved: [{
532
- type: i0.Input
533
- }], afterColumnCollapse: [{
534
- type: i0.Input
535
- }], afterColumnExpand: [{
536
- type: i0.Input
537
- }], afterColumnFreeze: [{
538
- type: i0.Input
539
- }], afterColumnMove: [{
540
- type: i0.Input
541
- }], afterColumnResize: [{
542
- type: i0.Input
543
- }], afterColumnSequenceChange: [{
544
- type: i0.Input
545
- }], afterColumnSort: [{
546
- type: i0.Input
547
- }], afterColumnUnfreeze: [{
548
- type: i0.Input
549
- }], afterContextMenuDefaultOptions: [{
550
- type: i0.Input
551
- }], afterContextMenuHide: [{
552
- type: i0.Input
553
- }], afterContextMenuShow: [{
554
- type: i0.Input
555
- }], afterCopy: [{
556
- type: i0.Input
557
- }], afterCopyLimit: [{
558
- type: i0.Input
559
- }], afterCreateCol: [{
560
- type: i0.Input
561
- }], afterCreateRow: [{
562
- type: i0.Input
563
- }], afterCut: [{
564
- type: i0.Input
565
- }], afterDeselect: [{
566
- type: i0.Input
567
- }], afterDestroy: [{
568
- type: i0.Input
569
- }], afterDetachChild: [{
570
- type: i0.Input
571
- }], afterDocumentKeyDown: [{
572
- type: i0.Input
573
- }], afterDrawSelection: [{
574
- type: i0.Input
575
- }], afterDropdownMenuDefaultOptions: [{
576
- type: i0.Input
577
- }], afterDropdownMenuHide: [{
578
- type: i0.Input
579
- }], afterDropdownMenuShow: [{
580
- type: i0.Input
581
- }], afterFilter: [{
582
- type: i0.Input
583
- }], afterFormulasValuesUpdate: [{
584
- type: i0.Input
585
- }], afterGetCellMeta: [{
586
- type: i0.Input
587
- }], afterGetColHeader: [{
588
- type: i0.Input
589
- }], afterGetColumnHeaderRenderers: [{
590
- type: i0.Input
591
- }], afterGetRowHeader: [{
592
- type: i0.Input
593
- }], afterGetRowHeaderRenderers: [{
594
- type: i0.Input
595
- }], afterHideColumns: [{
596
- type: i0.Input
597
- }], afterHideRows: [{
598
- type: i0.Input
599
- }], afterInit: [{
600
- type: i0.Input
601
- }], afterLanguageChange: [{
602
- type: i0.Input
603
- }], afterListen: [{
604
- type: i0.Input
605
- }], afterLoadData: [{
606
- type: i0.Input
607
- }], afterMergeCells: [{
608
- type: i0.Input
609
- }], afterModifyTransformEnd: [{
610
- type: i0.Input
611
- }], afterModifyTransformStart: [{
612
- type: i0.Input
613
- }], afterMomentumScroll: [{
614
- type: i0.Input
615
- }], afterNamedExpressionAdded: [{
616
- type: i0.Input
617
- }], afterNamedExpressionRemoved: [{
618
- type: i0.Input
619
- }], afterOnCellContextMenu: [{
620
- type: i0.Input
621
- }], afterOnCellCornerDblClick: [{
622
- type: i0.Input
623
- }], afterOnCellCornerMouseDown: [{
624
- type: i0.Input
625
- }], afterOnCellMouseDown: [{
626
- type: i0.Input
627
- }], afterOnCellMouseOut: [{
628
- type: i0.Input
629
- }], afterOnCellMouseOver: [{
630
- type: i0.Input
631
- }], afterOnCellMouseUp: [{
632
- type: i0.Input
633
- }], afterPaste: [{
634
- type: i0.Input
635
- }], afterPluginsInitialized: [{
636
- type: i0.Input
637
- }], afterRedo: [{
638
- type: i0.Input
639
- }], afterRedoStackChange: [{
640
- type: i0.Input
641
- }], afterRefreshDimensions: [{
642
- type: i0.Input
643
- }], afterRemoveCellMeta: [{
644
- type: i0.Input
645
- }], afterRemoveCol: [{
646
- type: i0.Input
647
- }], afterRemoveRow: [{
648
- type: i0.Input
649
- }], afterRender: [{
650
- type: i0.Input
651
- }], afterRenderer: [{
652
- type: i0.Input
653
- }], afterRowMove: [{
654
- type: i0.Input
655
- }], afterRowResize: [{
656
- type: i0.Input
657
- }], afterRowSequenceChange: [{
658
- type: i0.Input
659
- }], afterScrollHorizontally: [{
660
- type: i0.Input
661
- }], afterScrollVertically: [{
662
- type: i0.Input
663
- }], afterScroll: [{
664
- type: i0.Input
665
- }], afterSelectColumns: [{
666
- type: i0.Input
667
- }], afterSelection: [{
668
- type: i0.Input
669
- }], afterSelectionByProp: [{
670
- type: i0.Input
671
- }], afterSelectionEnd: [{
672
- type: i0.Input
673
- }], afterSelectionEndByProp: [{
674
- type: i0.Input
675
- }], afterSelectRows: [{
676
- type: i0.Input
677
- }], afterSetCellMeta: [{
678
- type: i0.Input
679
- }], afterSetDataAtCell: [{
680
- type: i0.Input
681
- }], afterSetDataAtRowProp: [{
682
- type: i0.Input
683
- }], afterSetSourceDataAtCell: [{
684
- type: i0.Input
685
- }], afterSheetAdded: [{
686
- type: i0.Input
687
- }], afterSheetRenamed: [{
688
- type: i0.Input
689
- }], afterSheetRemoved: [{
690
- type: i0.Input
691
- }], afterTrimRow: [{
692
- type: i0.Input
693
- }], afterUndo: [{
694
- type: i0.Input
695
- }], afterUndoStackChange: [{
696
- type: i0.Input
697
- }], afterUnhideColumns: [{
698
- type: i0.Input
699
- }], afterUnhideRows: [{
700
- type: i0.Input
701
- }], afterUnlisten: [{
702
- type: i0.Input
703
- }], afterUnmergeCells: [{
704
- type: i0.Input
705
- }], afterUntrimRow: [{
706
- type: i0.Input
707
- }], afterUpdateData: [{
708
- type: i0.Input
709
- }], afterUpdateSettings: [{
710
- type: i0.Input
711
- }], afterValidate: [{
712
- type: i0.Input
713
- }], afterViewportColumnCalculatorOverride: [{
714
- type: i0.Input
715
- }], afterViewportRowCalculatorOverride: [{
716
- type: i0.Input
717
- }], afterViewRender: [{
718
- type: i0.Input
719
- }], beforeAddChild: [{
720
- type: i0.Input
721
- }], beforeAutofill: [{
722
- type: i0.Input
723
- }], beforeBeginEditing: [{
724
- type: i0.Input
725
- }], beforeCellAlignment: [{
726
- type: i0.Input
727
- }], beforeChange: [{
728
- type: i0.Input
729
- }], beforeChangeRender: [{
730
- type: i0.Input
731
- }], beforeColumnCollapse: [{
732
- type: i0.Input
733
- }], beforeColumnExpand: [{
734
- type: i0.Input
735
- }], beforeColumnFreeze: [{
736
- type: i0.Input
737
- }], beforeColumnMove: [{
738
- type: i0.Input
739
- }], beforeColumnResize: [{
740
- type: i0.Input
741
- }], beforeColumnSort: [{
742
- type: i0.Input
743
- }], beforeColumnWrap: [{
744
- type: i0.Input
745
- }], beforeColumnUnfreeze: [{
746
- type: i0.Input
747
- }], beforeContextMenuSetItems: [{
748
- type: i0.Input
749
- }], beforeContextMenuShow: [{
750
- type: i0.Input
751
- }], beforeCopy: [{
752
- type: i0.Input
753
- }], beforeCreateCol: [{
754
- type: i0.Input
755
- }], beforeCreateRow: [{
756
- type: i0.Input
757
- }], beforeCut: [{
758
- type: i0.Input
759
- }], beforeDetachChild: [{
760
- type: i0.Input
761
- }], beforeDrawBorders: [{
762
- type: i0.Input
763
- }], beforeDropdownMenuSetItems: [{
764
- type: i0.Input
765
- }], beforeDropdownMenuShow: [{
766
- type: i0.Input
767
- }], beforeFilter: [{
768
- type: i0.Input
769
- }], beforeGetCellMeta: [{
770
- type: i0.Input
771
- }], beforeHideColumns: [{
772
- type: i0.Input
773
- }], beforeHideRows: [{
774
- type: i0.Input
775
- }], beforeHighlightingColumnHeader: [{
776
- type: i0.Input
777
- }], beforeHighlightingRowHeader: [{
778
- type: i0.Input
779
- }], beforeInit: [{
780
- type: i0.Input
781
- }], beforeInitWalkontable: [{
782
- type: i0.Input
783
- }], beforeKeyDown: [{
784
- type: i0.Input
785
- }], beforeLanguageChange: [{
786
- type: i0.Input
787
- }], beforeLoadData: [{
788
- type: i0.Input
789
- }], beforeMergeCells: [{
790
- type: i0.Input
791
- }], beforeOnCellContextMenu: [{
792
- type: i0.Input
793
- }], beforeOnCellMouseDown: [{
794
- type: i0.Input
795
- }], beforeOnCellMouseOut: [{
796
- type: i0.Input
797
- }], beforeOnCellMouseOver: [{
798
- type: i0.Input
799
- }], beforeOnCellMouseUp: [{
800
- type: i0.Input
801
- }], beforePaste: [{
802
- type: i0.Input
803
- }], beforeRedo: [{
804
- type: i0.Input
805
- }], beforeRedoStackChange: [{
806
- type: i0.Input
807
- }], beforeRefreshDimensions: [{
808
- type: i0.Input
809
- }], beforeRemoveCellClassNames: [{
810
- type: i0.Input
811
- }], beforeRemoveCellMeta: [{
812
- type: i0.Input
813
- }], beforeRemoveCol: [{
814
- type: i0.Input
815
- }], beforeRemoveRow: [{
816
- type: i0.Input
817
- }], beforeRender: [{
818
- type: i0.Input
819
- }], beforeRenderer: [{
820
- type: i0.Input
821
- }], beforeRowMove: [{
822
- type: i0.Input
823
- }], beforeRowResize: [{
824
- type: i0.Input
825
- }], beforeRowWrap: [{
826
- type: i0.Input
827
- }], beforeSelectColumns: [{
828
- type: i0.Input
829
- }], beforeSelectionHighlightSet: [{
830
- type: i0.Input
831
- }], beforeSelectRows: [{
832
- type: i0.Input
833
- }], beforeSetCellMeta: [{
834
- type: i0.Input
835
- }], beforeSetRangeEnd: [{
836
- type: i0.Input
837
- }], beforeSetRangeStart: [{
838
- type: i0.Input
839
- }], beforeSetRangeStartOnly: [{
840
- type: i0.Input
841
- }], beforeStretchingColumnWidth: [{
842
- type: i0.Input
843
- }], beforeTouchScroll: [{
844
- type: i0.Input
845
- }], beforeTrimRow: [{
846
- type: i0.Input
847
- }], beforeUndo: [{
848
- type: i0.Input
849
- }], beforeUndoStackChange: [{
850
- type: i0.Input
851
- }], beforeUnhideColumns: [{
852
- type: i0.Input
853
- }], beforeUnhideRows: [{
854
- type: i0.Input
855
- }], beforeUnmergeCells: [{
856
- type: i0.Input
857
- }], beforeUntrimRow: [{
858
- type: i0.Input
859
- }], beforeUpdateData: [{
860
- type: i0.Input
861
- }], beforeValidate: [{
862
- type: i0.Input
863
- }], beforeValueRender: [{
864
- type: i0.Input
865
- }], beforeViewportScroll: [{
866
- type: i0.Input
867
- }], beforeViewportScrollHorizontally: [{
868
- type: i0.Input
869
- }], beforeViewportScrollVertically: [{
870
- type: i0.Input
871
- }], beforeViewRender: [{
872
- type: i0.Input
873
- }], construct: [{
874
- type: i0.Input
875
- }], init: [{
876
- type: i0.Input
877
- }], modifyAutoColumnSizeSeed: [{
878
- type: i0.Input
879
- }], modifyAutofillRange: [{
880
- type: i0.Input
881
- }], modifyColHeader: [{
882
- type: i0.Input
883
- }], modifyColumnHeaderHeight: [{
884
- type: i0.Input
885
- }], modifyColumnHeaderValue: [{
886
- type: i0.Input
887
- }], modifyColWidth: [{
888
- type: i0.Input
889
- }], modifyCopyableRange: [{
890
- type: i0.Input
891
- }], modifyFiltersMultiSelectValue: [{
892
- type: i0.Input
893
- }], modifyFocusedElement: [{
894
- type: i0.Input
895
- }], modifyData: [{
896
- type: i0.Input
897
- }], modifyFocusOnTabNavigation: [{
898
- type: i0.Input
899
- }], modifyGetCellCoords: [{
900
- type: i0.Input
901
- }], modifyRowData: [{
902
- type: i0.Input
903
- }], modifyRowHeader: [{
904
- type: i0.Input
905
- }], modifyRowHeaderWidth: [{
906
- type: i0.Input
907
- }], modifyRowHeight: [{
908
- type: i0.Input
909
- }], modifySourceData: [{
910
- type: i0.Input
911
- }], modifyTransformEnd: [{
912
- type: i0.Input
913
- }], modifyTransformStart: [{
914
- type: i0.Input
915
- }], persistentStateLoad: [{
916
- type: i0.Input
917
- }], persistentStateReset: [{
918
- type: i0.Input
919
- }], persistentStateSave: [{
920
- type: i0.Input
921
- }] } });
922
-
923
- var HotColumnComponent = /** @class */ (function () {
924
- function HotColumnComponent(parentComponent) {
925
- this.parentComponent = parentComponent;
926
- this.firstRun = true;
927
- }
928
- HotColumnComponent.prototype.ngOnInit = function () {
929
- this.firstRun = false;
930
- this.parentComponent.addColumn(this);
931
- };
932
- HotColumnComponent.prototype.ngOnChanges = function () {
933
- if (this.firstRun) {
934
- return;
935
- }
936
- this.parentComponent.onAfterColumnsChange();
937
- };
938
- HotColumnComponent.prototype.ngOnDestroy = function () {
939
- this.parentComponent.removeColumn(this);
940
- };
941
- return HotColumnComponent;
942
- }());
943
- HotColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotColumnComponent, deps: [{ token: HotTableComponent }], target: i0__namespace.ɵɵFactoryTarget.Component });
944
- HotColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HotColumnComponent, selector: "hot-column", inputs: { allowEmpty: "allowEmpty", allowHtml: "allowHtml", allowInvalid: "allowInvalid", checkedTemplate: "checkedTemplate", className: "className", columnSorting: "columnSorting", colWidths: "colWidths", commentedCellClassName: "commentedCellClassName", copyable: "copyable", correctFormat: "correctFormat", data: "data", dateFormat: "dateFormat", defaultDate: "defaultDate", editor: "editor", filteringCaseSensitive: "filteringCaseSensitive", invalidCellClassName: "invalidCellClassName", label: "label", language: "language", noWordWrapClassName: "noWordWrapClassName", numericFormat: "numericFormat", placeholder: "placeholder", placeholderCellClassName: "placeholderCellClassName", readOnly: "readOnly", readOnlyCellClassName: "readOnlyCellClassName", renderer: "renderer", selectOptions: "selectOptions", skipColumnOnPaste: "skipColumnOnPaste", sortByRelevance: "sortByRelevance", source: "source", strict: "strict", title: "title", trimDropdown: "trimDropdown", type: "type", uncheckedTemplate: "uncheckedTemplate", validator: "validator", visibleRows: "visibleRows", width: "width", wordWrap: "wordWrap" }, usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
945
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotColumnComponent, decorators: [{
946
- type: i0.Component,
947
- args: [{
948
- selector: 'hot-column',
949
- template: '',
950
- }]
951
- }], ctorParameters: function () { return [{ type: HotTableComponent }]; }, propDecorators: { allowEmpty: [{
952
- type: i0.Input
953
- }], allowHtml: [{
954
- type: i0.Input
955
- }], allowInvalid: [{
956
- type: i0.Input
957
- }], checkedTemplate: [{
958
- type: i0.Input
959
- }], className: [{
960
- type: i0.Input
961
- }], columnSorting: [{
962
- type: i0.Input
963
- }], colWidths: [{
964
- type: i0.Input
965
- }], commentedCellClassName: [{
966
- type: i0.Input
967
- }], copyable: [{
968
- type: i0.Input
969
- }], correctFormat: [{
970
- type: i0.Input
971
- }], data: [{
972
- type: i0.Input
973
- }], dateFormat: [{
974
- type: i0.Input
975
- }], defaultDate: [{
976
- type: i0.Input
977
- }], editor: [{
978
- type: i0.Input
979
- }], filteringCaseSensitive: [{
980
- type: i0.Input
981
- }], invalidCellClassName: [{
982
- type: i0.Input
983
- }], label: [{
984
- type: i0.Input
985
- }], language: [{
986
- type: i0.Input
987
- }], noWordWrapClassName: [{
988
- type: i0.Input
989
- }], numericFormat: [{
990
- type: i0.Input
991
- }], placeholder: [{
992
- type: i0.Input
993
- }], placeholderCellClassName: [{
994
- type: i0.Input
995
- }], readOnly: [{
996
- type: i0.Input
997
- }], readOnlyCellClassName: [{
998
- type: i0.Input
999
- }], renderer: [{
1000
- type: i0.Input
1001
- }], selectOptions: [{
1002
- type: i0.Input
1003
- }], skipColumnOnPaste: [{
1004
- type: i0.Input
1005
- }], sortByRelevance: [{
1006
- type: i0.Input
1007
- }], source: [{
1008
- type: i0.Input
1009
- }], strict: [{
1010
- type: i0.Input
1011
- }], title: [{
1012
- type: i0.Input
1013
- }], trimDropdown: [{
1014
- type: i0.Input
1015
- }], type: [{
1016
- type: i0.Input
1017
- }], uncheckedTemplate: [{
1018
- type: i0.Input
1019
- }], validator: [{
1020
- type: i0.Input
1021
- }], visibleRows: [{
1022
- type: i0.Input
1023
- }], width: [{
1024
- type: i0.Input
1025
- }], wordWrap: [{
1026
- type: i0.Input
1027
- }] } });
1028
-
1029
- var HotTableModule = /** @class */ (function () {
1030
- function HotTableModule() {
1031
- }
1032
- HotTableModule.forRoot = function () {
1033
- return {
1034
- ngModule: HotTableModule,
1035
- providers: [HotTableRegisterer],
1036
- };
1037
- };
1038
- return HotTableModule;
1039
- }());
1040
- HotTableModule.version = '14.2.0';
1041
- HotTableModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1042
- HotTableModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableModule, declarations: [HotTableComponent,
1043
- HotColumnComponent], exports: [HotTableComponent,
1044
- HotColumnComponent] });
1045
- HotTableModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableModule });
1046
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HotTableModule, decorators: [{
1047
- type: i0.NgModule,
1048
- args: [{
1049
- declarations: [
1050
- HotTableComponent,
1051
- HotColumnComponent,
1052
- ],
1053
- exports: [
1054
- HotTableComponent,
1055
- HotColumnComponent,
1056
- ]
1057
- }]
1058
- }] });
1059
-
1060
- /*
1061
- * Public API Surface of hot-table
1062
- */
1063
-
1064
- /**
1065
- * Generated bundle index. Do not edit.
1066
- */
1067
-
1068
- exports.HOT_DESTROYED_WARNING = HOT_DESTROYED_WARNING;
1069
- exports.HotColumnComponent = HotColumnComponent;
1070
- exports.HotSettingsResolver = HotSettingsResolver;
1071
- exports.HotTableComponent = HotTableComponent;
1072
- exports.HotTableModule = HotTableModule;
1073
- exports.HotTableRegisterer = HotTableRegisterer;
1074
-
1075
- Object.defineProperty(exports, '__esModule', { value: true });
1076
-
1077
- }));
1078
- //# sourceMappingURL=handsontable-angular.umd.js.map