handsontable 12.3.3-next-e19badf-20230328 → 12.3.3
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.
- package/3rdparty/walkontable/src/core/_base.js +20 -16
- package/3rdparty/walkontable/src/core/_base.mjs +20 -16
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +3077 -3595
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +226 -240
- package/dist/handsontable.js +112 -310
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/editors/autocompleteEditor/autocompleteEditor.js +9 -8
- package/editors/autocompleteEditor/autocompleteEditor.mjs +9 -8
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/base/base.js +10 -9
- package/plugins/base/base.mjs +10 -9
- package/plugins/collapsibleColumns/collapsibleColumns.js +7 -24
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +7 -24
- package/plugins/copyPaste/copyPaste.js +16 -92
- package/plugins/copyPaste/copyPaste.mjs +16 -92
- package/plugins/copyPaste/copyableRanges.js +8 -14
- package/plugins/copyPaste/copyableRanges.mjs +8 -14
- package/plugins/customBorders/customBorders.js +7 -6
- package/plugins/customBorders/customBorders.mjs +7 -6
- package/plugins/formulas/formulas.js +7 -34
- package/plugins/formulas/formulas.mjs +7 -34
- package/plugins/hiddenColumns/hiddenColumns.js +7 -12
- package/plugins/hiddenColumns/hiddenColumns.mjs +7 -12
- package/plugins/hiddenRows/hiddenRows.js +7 -12
- package/plugins/hiddenRows/hiddenRows.mjs +7 -12
- package/plugins/nestedHeaders/nestedHeaders.js +7 -26
- package/plugins/nestedHeaders/nestedHeaders.mjs +7 -26
- package/plugins/nestedHeaders/stateManager/index.js +0 -18
- package/plugins/nestedHeaders/stateManager/index.mjs +0 -18
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +0 -19
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +0 -19
- package/translations/changesObservable/observer.js +0 -7
- package/translations/changesObservable/observer.mjs +0 -7
- package/translations/maps/linkedPhysicalIndexToValueMap.js +0 -6
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +0 -6
@@ -120,12 +120,6 @@ export var CustomBorders = /*#__PURE__*/function (_BasePlugin) {
|
|
120
120
|
args[_key] = arguments[_key];
|
121
121
|
}
|
122
122
|
_this = _super.call.apply(_super, [this].concat(args));
|
123
|
-
/**
|
124
|
-
* Saved borders.
|
125
|
-
*
|
126
|
-
* @private
|
127
|
-
* @type {Array}
|
128
|
-
*/
|
129
123
|
_defineProperty(_assertThisInitialized(_this), "savedBorders", []);
|
130
124
|
return _this;
|
131
125
|
}
|
@@ -876,6 +870,13 @@ export var CustomBorders = /*#__PURE__*/function (_BasePlugin) {
|
|
876
870
|
get: function get() {
|
877
871
|
return PLUGIN_PRIORITY;
|
878
872
|
}
|
873
|
+
|
874
|
+
/**
|
875
|
+
* Saved borders.
|
876
|
+
*
|
877
|
+
* @private
|
878
|
+
* @type {Array}
|
879
|
+
*/
|
879
880
|
}]);
|
880
881
|
return CustomBorders;
|
881
882
|
}(BasePlugin);
|
@@ -123,31 +123,14 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
123
123
|
_args[_key] = arguments[_key];
|
124
124
|
}
|
125
125
|
_this = _super.call.apply(_super, [this].concat(_args));
|
126
|
-
/**
|
127
|
-
* Flag used to bypass hooks in internal operations.
|
128
|
-
*
|
129
|
-
* @private
|
130
|
-
* @type {boolean}
|
131
|
-
*/
|
132
126
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _internalOperationPending, {
|
133
127
|
writable: true,
|
134
128
|
value: false
|
135
129
|
});
|
136
|
-
/**
|
137
|
-
* Flag needed to mark if Handsontable was initialized with no data.
|
138
|
-
* (Required to work around the fact, that Handsontable auto-generates sample data, when no data is provided).
|
139
|
-
*
|
140
|
-
* @type {boolean}
|
141
|
-
*/
|
142
130
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hotWasInitializedWithEmptyData, {
|
143
131
|
writable: true,
|
144
132
|
value: false
|
145
133
|
});
|
146
|
-
/**
|
147
|
-
* The list of the HyperFormula listeners.
|
148
|
-
*
|
149
|
-
* @type {Array}
|
150
|
-
*/
|
151
134
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _engineListeners, {
|
152
135
|
writable: true,
|
153
136
|
value: [['valuesUpdated', function () {
|
@@ -170,25 +153,8 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
170
153
|
return (_this7 = _this).onEngineSheetRemoved.apply(_this7, arguments);
|
171
154
|
}]]
|
172
155
|
});
|
173
|
-
/**
|
174
|
-
* Static register used to set up one global HyperFormula instance.
|
175
|
-
* TODO: currently used in tests, might be removed later.
|
176
|
-
*
|
177
|
-
* @private
|
178
|
-
* @type {object}
|
179
|
-
*/
|
180
156
|
_defineProperty(_assertThisInitialized(_this), "staticRegister", (0, _staticRegister.default)('formulas'));
|
181
|
-
/**
|
182
|
-
* The engine instance that will be used for this instance of Handsontable.
|
183
|
-
*
|
184
|
-
* @type {HyperFormula|null}
|
185
|
-
*/
|
186
157
|
_defineProperty(_assertThisInitialized(_this), "engine", null);
|
187
|
-
/**
|
188
|
-
* HyperFormula's sheet name.
|
189
|
-
*
|
190
|
-
* @type {string|null}
|
191
|
-
*/
|
192
158
|
_defineProperty(_assertThisInitialized(_this), "sheetName", null);
|
193
159
|
return _this;
|
194
160
|
}
|
@@ -1255,6 +1221,13 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
1255
1221
|
get: function get() {
|
1256
1222
|
return PLUGIN_PRIORITY;
|
1257
1223
|
}
|
1224
|
+
|
1225
|
+
/**
|
1226
|
+
* Flag used to bypass hooks in internal operations.
|
1227
|
+
*
|
1228
|
+
* @private
|
1229
|
+
* @type {boolean}
|
1230
|
+
*/
|
1258
1231
|
}]);
|
1259
1232
|
return Formulas;
|
1260
1233
|
}(_base.BasePlugin);
|
@@ -116,31 +116,14 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
116
116
|
_args[_key] = arguments[_key];
|
117
117
|
}
|
118
118
|
_this = _super.call.apply(_super, [this].concat(_args));
|
119
|
-
/**
|
120
|
-
* Flag used to bypass hooks in internal operations.
|
121
|
-
*
|
122
|
-
* @private
|
123
|
-
* @type {boolean}
|
124
|
-
*/
|
125
119
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _internalOperationPending, {
|
126
120
|
writable: true,
|
127
121
|
value: false
|
128
122
|
});
|
129
|
-
/**
|
130
|
-
* Flag needed to mark if Handsontable was initialized with no data.
|
131
|
-
* (Required to work around the fact, that Handsontable auto-generates sample data, when no data is provided).
|
132
|
-
*
|
133
|
-
* @type {boolean}
|
134
|
-
*/
|
135
123
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hotWasInitializedWithEmptyData, {
|
136
124
|
writable: true,
|
137
125
|
value: false
|
138
126
|
});
|
139
|
-
/**
|
140
|
-
* The list of the HyperFormula listeners.
|
141
|
-
*
|
142
|
-
* @type {Array}
|
143
|
-
*/
|
144
127
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _engineListeners, {
|
145
128
|
writable: true,
|
146
129
|
value: [['valuesUpdated', function () {
|
@@ -163,25 +146,8 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
163
146
|
return (_this7 = _this).onEngineSheetRemoved.apply(_this7, arguments);
|
164
147
|
}]]
|
165
148
|
});
|
166
|
-
/**
|
167
|
-
* Static register used to set up one global HyperFormula instance.
|
168
|
-
* TODO: currently used in tests, might be removed later.
|
169
|
-
*
|
170
|
-
* @private
|
171
|
-
* @type {object}
|
172
|
-
*/
|
173
149
|
_defineProperty(_assertThisInitialized(_this), "staticRegister", staticRegister('formulas'));
|
174
|
-
/**
|
175
|
-
* The engine instance that will be used for this instance of Handsontable.
|
176
|
-
*
|
177
|
-
* @type {HyperFormula|null}
|
178
|
-
*/
|
179
150
|
_defineProperty(_assertThisInitialized(_this), "engine", null);
|
180
|
-
/**
|
181
|
-
* HyperFormula's sheet name.
|
182
|
-
*
|
183
|
-
* @type {string|null}
|
184
|
-
*/
|
185
151
|
_defineProperty(_assertThisInitialized(_this), "sheetName", null);
|
186
152
|
return _this;
|
187
153
|
}
|
@@ -1248,6 +1214,13 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
|
|
1248
1214
|
get: function get() {
|
1249
1215
|
return PLUGIN_PRIORITY;
|
1250
1216
|
}
|
1217
|
+
|
1218
|
+
/**
|
1219
|
+
* Flag used to bypass hooks in internal operations.
|
1220
|
+
*
|
1221
|
+
* @private
|
1222
|
+
* @type {boolean}
|
1223
|
+
*/
|
1251
1224
|
}]);
|
1252
1225
|
return Formulas;
|
1253
1226
|
}(BasePlugin);
|
@@ -188,22 +188,10 @@ var HiddenColumns = /*#__PURE__*/function (_BasePlugin) {
|
|
188
188
|
args[_key] = arguments[_key];
|
189
189
|
}
|
190
190
|
_this = _super.call.apply(_super, [this].concat(args));
|
191
|
-
/**
|
192
|
-
* Cached plugin settings.
|
193
|
-
*
|
194
|
-
* @private
|
195
|
-
* @type {object}
|
196
|
-
*/
|
197
191
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _settings, {
|
198
192
|
writable: true,
|
199
193
|
value: {}
|
200
194
|
});
|
201
|
-
/**
|
202
|
-
* Map of hidden columns by the plugin.
|
203
|
-
*
|
204
|
-
* @private
|
205
|
-
* @type {null|HidingMap}
|
206
|
-
*/
|
207
195
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hiddenColumnsMap, {
|
208
196
|
writable: true,
|
209
197
|
value: null
|
@@ -623,6 +611,13 @@ var HiddenColumns = /*#__PURE__*/function (_BasePlugin) {
|
|
623
611
|
get: function get() {
|
624
612
|
return PLUGIN_PRIORITY;
|
625
613
|
}
|
614
|
+
|
615
|
+
/**
|
616
|
+
* Cached plugin settings.
|
617
|
+
*
|
618
|
+
* @private
|
619
|
+
* @type {object}
|
620
|
+
*/
|
626
621
|
}]);
|
627
622
|
return HiddenColumns;
|
628
623
|
}(_base.BasePlugin);
|
@@ -181,22 +181,10 @@ export var HiddenColumns = /*#__PURE__*/function (_BasePlugin) {
|
|
181
181
|
args[_key] = arguments[_key];
|
182
182
|
}
|
183
183
|
_this = _super.call.apply(_super, [this].concat(args));
|
184
|
-
/**
|
185
|
-
* Cached plugin settings.
|
186
|
-
*
|
187
|
-
* @private
|
188
|
-
* @type {object}
|
189
|
-
*/
|
190
184
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _settings, {
|
191
185
|
writable: true,
|
192
186
|
value: {}
|
193
187
|
});
|
194
|
-
/**
|
195
|
-
* Map of hidden columns by the plugin.
|
196
|
-
*
|
197
|
-
* @private
|
198
|
-
* @type {null|HidingMap}
|
199
|
-
*/
|
200
188
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hiddenColumnsMap, {
|
201
189
|
writable: true,
|
202
190
|
value: null
|
@@ -616,6 +604,13 @@ export var HiddenColumns = /*#__PURE__*/function (_BasePlugin) {
|
|
616
604
|
get: function get() {
|
617
605
|
return PLUGIN_PRIORITY;
|
618
606
|
}
|
607
|
+
|
608
|
+
/**
|
609
|
+
* Cached plugin settings.
|
610
|
+
*
|
611
|
+
* @private
|
612
|
+
* @type {object}
|
613
|
+
*/
|
619
614
|
}]);
|
620
615
|
return HiddenColumns;
|
621
616
|
}(BasePlugin);
|
@@ -188,22 +188,10 @@ var HiddenRows = /*#__PURE__*/function (_BasePlugin) {
|
|
188
188
|
args[_key] = arguments[_key];
|
189
189
|
}
|
190
190
|
_this = _super.call.apply(_super, [this].concat(args));
|
191
|
-
/**
|
192
|
-
* Cached settings from Handsontable settings.
|
193
|
-
*
|
194
|
-
* @private
|
195
|
-
* @type {object}
|
196
|
-
*/
|
197
191
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _settings, {
|
198
192
|
writable: true,
|
199
193
|
value: {}
|
200
194
|
});
|
201
|
-
/**
|
202
|
-
* Map of hidden rows by the plugin.
|
203
|
-
*
|
204
|
-
* @private
|
205
|
-
* @type {HidingMap|null}
|
206
|
-
*/
|
207
195
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hiddenRowsMap, {
|
208
196
|
writable: true,
|
209
197
|
value: null
|
@@ -615,6 +603,13 @@ var HiddenRows = /*#__PURE__*/function (_BasePlugin) {
|
|
615
603
|
get: function get() {
|
616
604
|
return PLUGIN_PRIORITY;
|
617
605
|
}
|
606
|
+
|
607
|
+
/**
|
608
|
+
* Cached settings from Handsontable settings.
|
609
|
+
*
|
610
|
+
* @private
|
611
|
+
* @type {object}
|
612
|
+
*/
|
618
613
|
}]);
|
619
614
|
return HiddenRows;
|
620
615
|
}(_base.BasePlugin);
|
@@ -181,22 +181,10 @@ export var HiddenRows = /*#__PURE__*/function (_BasePlugin) {
|
|
181
181
|
args[_key] = arguments[_key];
|
182
182
|
}
|
183
183
|
_this = _super.call.apply(_super, [this].concat(args));
|
184
|
-
/**
|
185
|
-
* Cached settings from Handsontable settings.
|
186
|
-
*
|
187
|
-
* @private
|
188
|
-
* @type {object}
|
189
|
-
*/
|
190
184
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _settings, {
|
191
185
|
writable: true,
|
192
186
|
value: {}
|
193
187
|
});
|
194
|
-
/**
|
195
|
-
* Map of hidden rows by the plugin.
|
196
|
-
*
|
197
|
-
* @private
|
198
|
-
* @type {HidingMap|null}
|
199
|
-
*/
|
200
188
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hiddenRowsMap, {
|
201
189
|
writable: true,
|
202
190
|
value: null
|
@@ -608,6 +596,13 @@ export var HiddenRows = /*#__PURE__*/function (_BasePlugin) {
|
|
608
596
|
get: function get() {
|
609
597
|
return PLUGIN_PRIORITY;
|
610
598
|
}
|
599
|
+
|
600
|
+
/**
|
601
|
+
* Cached settings from Handsontable settings.
|
602
|
+
*
|
603
|
+
* @private
|
604
|
+
* @type {object}
|
605
|
+
*/
|
611
606
|
}]);
|
612
607
|
return HiddenRows;
|
613
608
|
}(BasePlugin);
|
@@ -119,43 +119,17 @@ var NestedHeaders = /*#__PURE__*/function (_BasePlugin) {
|
|
119
119
|
args[_key] = arguments[_key];
|
120
120
|
}
|
121
121
|
_this = _super.call.apply(_super, [this].concat(args));
|
122
|
-
/**
|
123
|
-
* The state manager for the nested headers.
|
124
|
-
*
|
125
|
-
* @private
|
126
|
-
* @type {StateManager}
|
127
|
-
*/
|
128
122
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _stateManager, {
|
129
123
|
writable: true,
|
130
124
|
value: new _stateManager2.default()
|
131
125
|
});
|
132
|
-
/**
|
133
|
-
* The instance of the ChangesObservable class that allows track the changes that happens in the
|
134
|
-
* column indexes.
|
135
|
-
*
|
136
|
-
* @private
|
137
|
-
* @type {ChangesObservable}
|
138
|
-
*/
|
139
126
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hidingIndexMapObserver, {
|
140
127
|
writable: true,
|
141
128
|
value: null
|
142
129
|
});
|
143
|
-
/**
|
144
|
-
* Custom helper for getting widths of the nested headers.
|
145
|
-
*
|
146
|
-
* @private
|
147
|
-
* @type {GhostTable}
|
148
|
-
*/
|
149
|
-
// @TODO This should be changed after refactor handsontable/utils/ghostTable.
|
150
130
|
_defineProperty(_assertThisInitialized(_this), "ghostTable", new _ghostTable.default(_this.hot, function (row, column) {
|
151
131
|
return _this.getHeaderSettings(row, column);
|
152
132
|
}));
|
153
|
-
/**
|
154
|
-
* The flag which determines that the nested header settings contains overlapping headers
|
155
|
-
* configuration.
|
156
|
-
*
|
157
|
-
* @type {boolean}
|
158
|
-
*/
|
159
133
|
_defineProperty(_assertThisInitialized(_this), "detectedOverlappedHeaders", false);
|
160
134
|
return _this;
|
161
135
|
}
|
@@ -787,6 +761,13 @@ var NestedHeaders = /*#__PURE__*/function (_BasePlugin) {
|
|
787
761
|
get: function get() {
|
788
762
|
return PLUGIN_PRIORITY;
|
789
763
|
}
|
764
|
+
|
765
|
+
/**
|
766
|
+
* The state manager for the nested headers.
|
767
|
+
*
|
768
|
+
* @private
|
769
|
+
* @type {StateManager}
|
770
|
+
*/
|
790
771
|
}]);
|
791
772
|
return NestedHeaders;
|
792
773
|
}(_base.BasePlugin);
|
@@ -112,43 +112,17 @@ export var NestedHeaders = /*#__PURE__*/function (_BasePlugin) {
|
|
112
112
|
args[_key] = arguments[_key];
|
113
113
|
}
|
114
114
|
_this = _super.call.apply(_super, [this].concat(args));
|
115
|
-
/**
|
116
|
-
* The state manager for the nested headers.
|
117
|
-
*
|
118
|
-
* @private
|
119
|
-
* @type {StateManager}
|
120
|
-
*/
|
121
115
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _stateManager, {
|
122
116
|
writable: true,
|
123
117
|
value: new StateManager()
|
124
118
|
});
|
125
|
-
/**
|
126
|
-
* The instance of the ChangesObservable class that allows track the changes that happens in the
|
127
|
-
* column indexes.
|
128
|
-
*
|
129
|
-
* @private
|
130
|
-
* @type {ChangesObservable}
|
131
|
-
*/
|
132
119
|
_classPrivateFieldInitSpec(_assertThisInitialized(_this), _hidingIndexMapObserver, {
|
133
120
|
writable: true,
|
134
121
|
value: null
|
135
122
|
});
|
136
|
-
/**
|
137
|
-
* Custom helper for getting widths of the nested headers.
|
138
|
-
*
|
139
|
-
* @private
|
140
|
-
* @type {GhostTable}
|
141
|
-
*/
|
142
|
-
// @TODO This should be changed after refactor handsontable/utils/ghostTable.
|
143
123
|
_defineProperty(_assertThisInitialized(_this), "ghostTable", new GhostTable(_this.hot, function (row, column) {
|
144
124
|
return _this.getHeaderSettings(row, column);
|
145
125
|
}));
|
146
|
-
/**
|
147
|
-
* The flag which determines that the nested header settings contains overlapping headers
|
148
|
-
* configuration.
|
149
|
-
*
|
150
|
-
* @type {boolean}
|
151
|
-
*/
|
152
126
|
_defineProperty(_assertThisInitialized(_this), "detectedOverlappedHeaders", false);
|
153
127
|
return _this;
|
154
128
|
}
|
@@ -780,6 +754,13 @@ export var NestedHeaders = /*#__PURE__*/function (_BasePlugin) {
|
|
780
754
|
get: function get() {
|
781
755
|
return PLUGIN_PRIORITY;
|
782
756
|
}
|
757
|
+
|
758
|
+
/**
|
759
|
+
* The state manager for the nested headers.
|
760
|
+
*
|
761
|
+
* @private
|
762
|
+
* @type {StateManager}
|
763
|
+
*/
|
783
764
|
}]);
|
784
765
|
return NestedHeaders;
|
785
766
|
}(BasePlugin);
|
@@ -79,32 +79,14 @@ var _stateMatrix = /*#__PURE__*/new WeakMap();
|
|
79
79
|
var StateManager = /*#__PURE__*/function () {
|
80
80
|
function StateManager() {
|
81
81
|
_classCallCheck(this, StateManager);
|
82
|
-
/**
|
83
|
-
* The instance of the source settings class.
|
84
|
-
*
|
85
|
-
* @private
|
86
|
-
* @type {SourceSettings}
|
87
|
-
*/
|
88
82
|
_classPrivateFieldInitSpec(this, _sourceSettings, {
|
89
83
|
writable: true,
|
90
84
|
value: new _sourceSettings2.default()
|
91
85
|
});
|
92
|
-
/**
|
93
|
-
* The instance of the headers tree. The tree is generated after setting new configuration data.
|
94
|
-
*
|
95
|
-
* @private
|
96
|
-
* @type {HeadersTree}
|
97
|
-
*/
|
98
86
|
_classPrivateFieldInitSpec(this, _headersTree, {
|
99
87
|
writable: true,
|
100
88
|
value: new _headersTree2.default(_classPrivateFieldGet(this, _sourceSettings))
|
101
89
|
});
|
102
|
-
/**
|
103
|
-
* Cached matrix which is generated from the tree structure.
|
104
|
-
*
|
105
|
-
* @private
|
106
|
-
* @type {Array[]}
|
107
|
-
*/
|
108
90
|
_classPrivateFieldInitSpec(this, _stateMatrix, {
|
109
91
|
writable: true,
|
110
92
|
value: [[]]
|
@@ -74,32 +74,14 @@ var _stateMatrix = /*#__PURE__*/new WeakMap();
|
|
74
74
|
var StateManager = /*#__PURE__*/function () {
|
75
75
|
function StateManager() {
|
76
76
|
_classCallCheck(this, StateManager);
|
77
|
-
/**
|
78
|
-
* The instance of the source settings class.
|
79
|
-
*
|
80
|
-
* @private
|
81
|
-
* @type {SourceSettings}
|
82
|
-
*/
|
83
77
|
_classPrivateFieldInitSpec(this, _sourceSettings, {
|
84
78
|
writable: true,
|
85
79
|
value: new SourceSettings()
|
86
80
|
});
|
87
|
-
/**
|
88
|
-
* The instance of the headers tree. The tree is generated after setting new configuration data.
|
89
|
-
*
|
90
|
-
* @private
|
91
|
-
* @type {HeadersTree}
|
92
|
-
*/
|
93
81
|
_classPrivateFieldInitSpec(this, _headersTree, {
|
94
82
|
writable: true,
|
95
83
|
value: new HeadersTree(_classPrivateFieldGet(this, _sourceSettings))
|
96
84
|
});
|
97
|
-
/**
|
98
|
-
* Cached matrix which is generated from the tree structure.
|
99
|
-
*
|
100
|
-
* @private
|
101
|
-
* @type {Array[]}
|
102
|
-
*/
|
103
85
|
_classPrivateFieldInitSpec(this, _stateMatrix, {
|
104
86
|
writable: true,
|
105
87
|
value: [[]]
|
@@ -63,33 +63,14 @@ var _columnsLimit = /*#__PURE__*/new WeakMap();
|
|
63
63
|
var SourceSettings = /*#__PURE__*/function () {
|
64
64
|
function SourceSettings() {
|
65
65
|
_classCallCheck(this, SourceSettings);
|
66
|
-
/**
|
67
|
-
* The normalized source data (normalized user-defined settings for nested headers).
|
68
|
-
*
|
69
|
-
* @private
|
70
|
-
* @type {Array[]}
|
71
|
-
*/
|
72
66
|
_classPrivateFieldInitSpec(this, _data, {
|
73
67
|
writable: true,
|
74
68
|
value: []
|
75
69
|
});
|
76
|
-
/**
|
77
|
-
* The total length of the nested header layers.
|
78
|
-
*
|
79
|
-
* @private
|
80
|
-
* @type {number}
|
81
|
-
*/
|
82
70
|
_classPrivateFieldInitSpec(this, _dataLength, {
|
83
71
|
writable: true,
|
84
72
|
value: 0
|
85
73
|
});
|
86
|
-
/**
|
87
|
-
* Columns count limit value trims source settings to that value. If columns
|
88
|
-
* count limit intersects nested header, the header's colspan value is reduced
|
89
|
-
* to keep the whole structure stable (trimmed precisely where the limit is set).
|
90
|
-
*
|
91
|
-
* @type {number}
|
92
|
-
*/
|
93
74
|
_classPrivateFieldInitSpec(this, _columnsLimit, {
|
94
75
|
writable: true,
|
95
76
|
value: Infinity
|
@@ -58,33 +58,14 @@ var _columnsLimit = /*#__PURE__*/new WeakMap();
|
|
58
58
|
var SourceSettings = /*#__PURE__*/function () {
|
59
59
|
function SourceSettings() {
|
60
60
|
_classCallCheck(this, SourceSettings);
|
61
|
-
/**
|
62
|
-
* The normalized source data (normalized user-defined settings for nested headers).
|
63
|
-
*
|
64
|
-
* @private
|
65
|
-
* @type {Array[]}
|
66
|
-
*/
|
67
61
|
_classPrivateFieldInitSpec(this, _data, {
|
68
62
|
writable: true,
|
69
63
|
value: []
|
70
64
|
});
|
71
|
-
/**
|
72
|
-
* The total length of the nested header layers.
|
73
|
-
*
|
74
|
-
* @private
|
75
|
-
* @type {number}
|
76
|
-
*/
|
77
65
|
_classPrivateFieldInitSpec(this, _dataLength, {
|
78
66
|
writable: true,
|
79
67
|
value: 0
|
80
68
|
});
|
81
|
-
/**
|
82
|
-
* Columns count limit value trims source settings to that value. If columns
|
83
|
-
* count limit intersects nested header, the header's colspan value is reduced
|
84
|
-
* to keep the whole structure stable (trimmed precisely where the limit is set).
|
85
|
-
*
|
86
|
-
* @type {number}
|
87
|
-
*/
|
88
69
|
_classPrivateFieldInitSpec(this, _columnsLimit, {
|
89
70
|
writable: true,
|
90
71
|
value: Infinity
|
@@ -39,13 +39,6 @@ var _currentInitialChanges = /*#__PURE__*/new WeakMap();
|
|
39
39
|
var ChangesObserver = /*#__PURE__*/function () {
|
40
40
|
function ChangesObserver() {
|
41
41
|
_classCallCheck(this, ChangesObserver);
|
42
|
-
/**
|
43
|
-
* The field holds initial changes that will be used to notify the callbacks added using
|
44
|
-
* subscribe method. Regardless of the moment of listening for changes, the subscriber
|
45
|
-
* will be notified once with all changes made before subscribing.
|
46
|
-
*
|
47
|
-
* @type {Array}
|
48
|
-
*/
|
49
42
|
_classPrivateFieldInitSpec(this, _currentInitialChanges, {
|
50
43
|
writable: true,
|
51
44
|
value: []
|
@@ -34,13 +34,6 @@ var _currentInitialChanges = /*#__PURE__*/new WeakMap();
|
|
34
34
|
export var ChangesObserver = /*#__PURE__*/function () {
|
35
35
|
function ChangesObserver() {
|
36
36
|
_classCallCheck(this, ChangesObserver);
|
37
|
-
/**
|
38
|
-
* The field holds initial changes that will be used to notify the callbacks added using
|
39
|
-
* subscribe method. Regardless of the moment of listening for changes, the subscriber
|
40
|
-
* will be notified once with all changes made before subscribing.
|
41
|
-
*
|
42
|
-
* @type {Array}
|
43
|
-
*/
|
44
37
|
_classPrivateFieldInitSpec(this, _currentInitialChanges, {
|
45
38
|
writable: true,
|
46
39
|
value: []
|
@@ -71,12 +71,6 @@ var LinkedPhysicalIndexToValueMap = /*#__PURE__*/function (_IndexMap) {
|
|
71
71
|
args[_key] = arguments[_key];
|
72
72
|
}
|
73
73
|
_this = _super.call.apply(_super, [this].concat(args));
|
74
|
-
/**
|
75
|
-
* Indexes and values corresponding to them (entries) are stored in a certain order.
|
76
|
-
*
|
77
|
-
* @private
|
78
|
-
* @type {Array<number>}
|
79
|
-
*/
|
80
74
|
_defineProperty(_assertThisInitialized(_this), "orderOfIndexes", []);
|
81
75
|
return _this;
|
82
76
|
}
|
@@ -67,12 +67,6 @@ export var LinkedPhysicalIndexToValueMap = /*#__PURE__*/function (_IndexMap) {
|
|
67
67
|
args[_key] = arguments[_key];
|
68
68
|
}
|
69
69
|
_this = _super.call.apply(_super, [this].concat(args));
|
70
|
-
/**
|
71
|
-
* Indexes and values corresponding to them (entries) are stored in a certain order.
|
72
|
-
*
|
73
|
-
* @private
|
74
|
-
* @type {Array<number>}
|
75
|
-
*/
|
76
70
|
_defineProperty(_assertThisInitialized(_this), "orderOfIndexes", []);
|
77
71
|
return _this;
|
78
72
|
}
|