@sme.up/ketchup 7.5.0-SNAPSHOT → 8.0.0

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.
Files changed (147) hide show
  1. package/dist/cjs/{component-72a5b626.js → component-85c2bd4d.js} +1 -1
  2. package/dist/cjs/{f-button-a508a0a1.js → f-button-49b2c37c.js} +2 -2
  3. package/dist/cjs/{f-cell-52d724f5.js → f-cell-9a6bc55c.js} +6 -6
  4. package/dist/cjs/{f-checkbox-1148e791.js → f-checkbox-593f72c3.js} +1 -1
  5. package/dist/cjs/{f-chip-cbb70aed.js → f-chip-dee84122.js} +3 -3
  6. package/dist/cjs/{f-image-510563ed.js → f-image-27f965ff.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-ff531caa.js → f-paginator-utils-4a30189d.js} +3 -3
  8. package/dist/cjs/{f-text-field-d17e5aa0.js → f-text-field-04a663b4.js} +2 -2
  9. package/dist/cjs/{f-text-field-mdc-85997738.js → f-text-field-mdc-0e22f3e3.js} +2 -2
  10. package/dist/cjs/{index-1f177abc.js → index-74433248.js} +3 -0
  11. package/dist/cjs/ketchup.cjs.js +2 -2
  12. package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
  13. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +805 -816
  14. package/dist/cjs/kup-box.cjs.entry.js +13 -13
  15. package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
  16. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  17. package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
  18. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  19. package/dist/cjs/kup-dashboard.cjs.entry.js +9 -9
  20. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-echart.cjs.entry.js +26 -9
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +8 -19
  23. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-image-list.cjs.entry.js +10 -10
  25. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  27. package/dist/cjs/{kup-manager-9e1680dd.js → kup-manager-2ff5d258.js} +78 -2
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
  30. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-planner.cjs.entry.js +1042 -193
  32. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  34. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/cjs/{tslib.es6-0ee02c67.js → tslib.es6-386654de.js} +9 -5
  37. package/dist/collection/components/kup-chip/kup-chip.js +4 -3
  38. package/dist/collection/components/kup-data-table/kup-data-table.js +5 -16
  39. package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
  40. package/dist/collection/components/kup-echart/kup-echart.js +23 -8
  41. package/dist/collection/components/kup-family-tree/kup-family-tree.js +4 -15
  42. package/dist/collection/components/kup-planner/kup-planner-declarations.js +1 -0
  43. package/dist/collection/components/kup-planner/kup-planner.css +1 -3
  44. package/dist/collection/components/kup-planner/kup-planner.js +302 -72
  45. package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -3
  46. package/dist/collection/components/kup-tree/kup-tree.js +66 -67
  47. package/dist/collection/managers/kup-manager/kup-manager.js +18 -0
  48. package/dist/components/kup-autocomplete2.js +211 -143
  49. package/dist/components/kup-echart2.js +24 -7
  50. package/dist/components/kup-family-tree.js +4 -15
  51. package/dist/components/kup-planner.js +1041 -189
  52. package/dist/components/kup-progress-bar.js +1 -1
  53. package/dist/components/kup-radio.js +1 -1
  54. package/dist/components/kup-rating.js +1 -1
  55. package/dist/components/kup-snackbar.js +1 -1
  56. package/dist/components/kup-spinner.js +1 -1
  57. package/dist/components/kup-switch.js +1 -1
  58. package/dist/components/kup-tab-bar.js +1 -1
  59. package/dist/components/kup-text-field.js +1 -1
  60. package/dist/components/kup-time-picker.js +1 -1
  61. package/dist/components/kup-tree.js +1 -1
  62. package/dist/esm/{component-b1bedf1d.js → component-120651a0.js} +1 -1
  63. package/dist/esm/{f-button-b7f77b26.js → f-button-744cf1f6.js} +2 -2
  64. package/dist/esm/{f-cell-dc3beffe.js → f-cell-b319c869.js} +6 -6
  65. package/dist/esm/{f-checkbox-9b3f5f5b.js → f-checkbox-ec85b437.js} +1 -1
  66. package/dist/esm/{f-chip-0a678211.js → f-chip-7e3e4180.js} +3 -3
  67. package/dist/esm/{f-image-f84dbd7c.js → f-image-098c26ce.js} +2 -2
  68. package/dist/esm/{f-paginator-utils-52902bd6.js → f-paginator-utils-674cb2ae.js} +3 -3
  69. package/dist/esm/{f-text-field-7dd143be.js → f-text-field-c38ef113.js} +2 -2
  70. package/dist/esm/{f-text-field-mdc-d42d3f9e.js → f-text-field-mdc-cee583ea.js} +2 -2
  71. package/dist/esm/{index-8bd38435.js → index-b326ffc9.js} +3 -1
  72. package/dist/esm/ketchup.js +3 -3
  73. package/dist/esm/kup-accordion.entry.js +5 -5
  74. package/dist/esm/kup-autocomplete_27.entry.js +805 -816
  75. package/dist/esm/kup-box.entry.js +13 -13
  76. package/dist/esm/kup-calendar.entry.js +6 -6
  77. package/dist/esm/kup-cell.entry.js +7 -7
  78. package/dist/esm/kup-dash-list.entry.js +2 -2
  79. package/dist/esm/kup-dash_2.entry.js +2 -2
  80. package/dist/esm/kup-dashboard.entry.js +9 -9
  81. package/dist/esm/kup-drawer.entry.js +2 -2
  82. package/dist/esm/kup-echart.entry.js +26 -9
  83. package/dist/esm/kup-family-tree.entry.js +8 -19
  84. package/dist/esm/kup-iframe.entry.js +2 -2
  85. package/dist/esm/kup-image-list.entry.js +10 -10
  86. package/dist/esm/kup-lazy.entry.js +2 -2
  87. package/dist/esm/kup-magic-box.entry.js +3 -3
  88. package/dist/esm/{kup-manager-a5ab58a0.js → kup-manager-b41eb2a8.js} +78 -3
  89. package/dist/esm/kup-nav-bar.entry.js +2 -2
  90. package/dist/esm/kup-numeric-picker.entry.js +6 -6
  91. package/dist/esm/kup-photo-frame.entry.js +2 -2
  92. package/dist/esm/kup-planner.entry.js +1042 -193
  93. package/dist/esm/kup-probe.entry.js +2 -2
  94. package/dist/esm/kup-qlik.entry.js +2 -2
  95. package/dist/esm/kup-snackbar.entry.js +5 -5
  96. package/dist/esm/loader.js +3 -3
  97. package/dist/esm/{tslib.es6-3eea2234.js → tslib.es6-8c2af864.js} +9 -5
  98. package/dist/ketchup/ketchup.esm.js +1 -1
  99. package/dist/ketchup/{p-9ae47a0d.entry.js → p-0b0b61cb.entry.js} +1 -1
  100. package/dist/ketchup/p-0b91f5f8.entry.js +1 -0
  101. package/dist/ketchup/{p-81605f08.js → p-10d84b1b.js} +1 -1
  102. package/dist/ketchup/{p-a203f78b.js → p-27a56c87.js} +1 -1
  103. package/dist/ketchup/{p-871cfe60.entry.js → p-395e1960.entry.js} +1 -1
  104. package/dist/ketchup/{p-e92d1972.entry.js → p-3b41aca7.entry.js} +1 -1
  105. package/dist/ketchup/{p-98ff4101.entry.js → p-3efe7f43.entry.js} +1 -1
  106. package/dist/ketchup/{p-a32cc181.entry.js → p-4325d965.entry.js} +1 -1
  107. package/dist/ketchup/{p-6022c951.entry.js → p-4ae2ca6f.entry.js} +1 -1
  108. package/dist/ketchup/{p-a122b8d3.entry.js → p-5ce2b4fc.entry.js} +1 -1
  109. package/dist/ketchup/{p-d1e3573f.js → p-5d398e42.js} +1 -1
  110. package/dist/ketchup/{p-7065b172.js → p-77e3d537.js} +1 -1
  111. package/dist/ketchup/p-7f59211b.js +1 -0
  112. package/dist/ketchup/{p-4fd6c34c.js → p-940a5feb.js} +2 -2
  113. package/dist/ketchup/{p-69f3b9da.js → p-9700eb32.js} +1 -1
  114. package/dist/ketchup/{p-f158836b.entry.js → p-a7e19620.entry.js} +2 -2
  115. package/dist/ketchup/p-a877a87b.entry.js +9 -0
  116. package/dist/ketchup/p-a9b7533b.entry.js +25 -0
  117. package/dist/ketchup/{p-00fc0f80.entry.js → p-af82131e.entry.js} +1 -1
  118. package/dist/ketchup/{p-78d1fc60.entry.js → p-b032f47d.entry.js} +1 -1
  119. package/dist/ketchup/{p-beb0907a.entry.js → p-b244f5ca.entry.js} +1 -1
  120. package/dist/ketchup/{p-d2670436.entry.js → p-bb17c1ba.entry.js} +1 -1
  121. package/dist/ketchup/{p-d315f7fa.entry.js → p-bd42562d.entry.js} +1 -1
  122. package/dist/ketchup/{p-9f9b6656.js → p-c26975bf.js} +1 -1
  123. package/dist/ketchup/p-c8b7790a.entry.js +1 -0
  124. package/dist/ketchup/p-c968e93d.entry.js +1 -0
  125. package/dist/ketchup/{p-9dcfbb1e.js → p-d4ece435.js} +2 -2
  126. package/dist/ketchup/{p-c797ab39.entry.js → p-d739710a.entry.js} +1 -1
  127. package/dist/ketchup/{p-c5c6a2fb.js → p-d98fdb9b.js} +1 -1
  128. package/dist/ketchup/{p-166257d0.entry.js → p-da891093.entry.js} +1 -1
  129. package/dist/ketchup/{p-3ae1409f.entry.js → p-df316daf.entry.js} +1 -1
  130. package/dist/ketchup/{p-d711e9ae.entry.js → p-e02b5141.entry.js} +1 -1
  131. package/dist/ketchup/{p-28efed63.js → p-e714f4dc.js} +1 -1
  132. package/dist/ketchup/{p-de34eb56.js → p-ef614656.js} +1 -1
  133. package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -0
  134. package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +15 -2
  135. package/dist/types/components/kup-planner/kup-planner.d.ts +36 -11
  136. package/dist/types/components/kup-tree/kup-tree.d.ts +1 -5
  137. package/dist/types/components.d.ts +38 -4
  138. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
  139. package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +1 -0
  140. package/dist/types/managers/kup-manager/kup-manager.d.ts +7 -0
  141. package/package.json +6 -18
  142. package/dist/ketchup/p-7040cab7.entry.js +0 -1
  143. package/dist/ketchup/p-71cb80ac.entry.js +0 -9
  144. package/dist/ketchup/p-79b0730b.js +0 -15
  145. package/dist/ketchup/p-8d0e6825.entry.js +0 -1
  146. package/dist/ketchup/p-efb80719.entry.js +0 -1
  147. package/dist/ketchup/p-f69a6d89.entry.js +0 -10
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1f177abc.js');
6
- const kupManager = require('./kup-manager-9e1680dd.js');
7
- const fTextField = require('./f-text-field-d17e5aa0.js');
8
- const fTextFieldMdc = require('./f-text-field-mdc-85997738.js');
9
- const fCell = require('./f-cell-52d724f5.js');
5
+ const index = require('./index-74433248.js');
6
+ const kupManager = require('./kup-manager-2ff5d258.js');
7
+ const fTextField = require('./f-text-field-04a663b4.js');
8
+ const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
9
+ const fCell = require('./f-cell-9a6bc55c.js');
10
10
  const GenericVariables = require('./GenericVariables-a9ed17ee.js');
11
- const fImage = require('./f-image-510563ed.js');
12
- const fButton = require('./f-button-a508a0a1.js');
11
+ const fImage = require('./f-image-27f965ff.js');
12
+ const fButton = require('./f-button-49b2c37c.js');
13
13
  const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
14
- const fChip = require('./f-chip-cbb70aed.js');
15
- const component = require('./component-72a5b626.js');
16
- const fCheckbox = require('./f-checkbox-1148e791.js');
17
- const fPaginatorUtils = require('./f-paginator-utils-ff531caa.js');
18
- require('./tslib.es6-0ee02c67.js');
14
+ const fChip = require('./f-chip-dee84122.js');
15
+ const component = require('./component-85c2bd4d.js');
16
+ const fCheckbox = require('./f-checkbox-593f72c3.js');
17
+ const fPaginatorUtils = require('./f-paginator-utils-4a30189d.js');
18
+ require('./tslib.es6-386654de.js');
19
19
 
20
20
  /**
21
21
  * Props of the kup-autocomplete component.
@@ -168,7 +168,7 @@ function getItemByDisplayMode(listData, id, displayMode, setSelected) {
168
168
 
169
169
  const kupAutocompleteCss = ":host{display:block;width:max-content}.kup-icon{transition:transform 0.15s}.toggled .kup-icon.kup-dropdown-icon{transform:rotate(-180deg)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}";
170
170
 
171
- var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
171
+ var __classPrivateFieldGet$6 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
172
172
  if (kind === "a" && !f)
173
173
  throw new TypeError("Private accessor was defined without a getter");
174
174
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -229,18 +229,18 @@ const KupAutocomplete = class {
229
229
  comp: this,
230
230
  id: this.rootElement.id,
231
231
  value: this.value,
232
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
232
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
233
233
  });
234
234
  }
235
235
  onKupChange(value) {
236
236
  __classPrivateFieldSet$4(this, _KupAutocomplete_doConsistencyCheck, true, "f");
237
- const ret = __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
237
+ const ret = __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
238
238
  if (ret.exists || this.allowInconsistentValues) {
239
239
  this.kupChange.emit({
240
240
  comp: this,
241
241
  id: this.rootElement.id,
242
242
  value: this.value,
243
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
243
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
244
244
  node: ret.node,
245
245
  });
246
246
  }
@@ -250,7 +250,7 @@ const KupAutocomplete = class {
250
250
  comp: this,
251
251
  id: this.rootElement.id,
252
252
  value: this.value,
253
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
253
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
254
254
  });
255
255
  }
256
256
  onKupFocus() {
@@ -258,51 +258,51 @@ const KupAutocomplete = class {
258
258
  comp: this,
259
259
  id: this.rootElement.id,
260
260
  value: this.value,
261
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
261
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
262
262
  });
263
263
  }
264
264
  onKupInput() {
265
265
  __classPrivateFieldSet$4(this, _KupAutocomplete_doConsistencyCheck, true, "f");
266
- const ret = __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value, false);
267
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
268
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
266
+ const ret = __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value, false);
267
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
268
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
269
269
  this.kupInput.emit({
270
270
  comp: this,
271
271
  id: this.rootElement.id,
272
272
  value: this.value,
273
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
273
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
274
274
  node: ret.node,
275
275
  });
276
276
  }
277
277
  }
278
278
  onKupIconClick() {
279
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled')) {
280
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
279
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled')) {
280
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
281
281
  }
282
282
  else {
283
283
  if (this.showDropDownIcon) {
284
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
284
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
285
285
  }
286
286
  }
287
287
  this.kupIconClick.emit({
288
288
  comp: this,
289
289
  id: this.rootElement.id,
290
290
  value: this.value,
291
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
292
- open: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled'),
291
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
292
+ open: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled'),
293
293
  });
294
294
  }
295
295
  onKupItemClick(e) {
296
296
  this.onKupChange(e.detail.selected.id);
297
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
298
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f")) {
299
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").focus();
297
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
298
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f")) {
299
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").focus();
300
300
  }
301
301
  this.kupItemClick.emit({
302
302
  comp: this,
303
303
  id: this.rootElement.id,
304
304
  value: this.value,
305
- inputValue: __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value,
305
+ inputValue: __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value,
306
306
  node: e.detail.selected,
307
307
  });
308
308
  }
@@ -310,30 +310,30 @@ const KupAutocomplete = class {
310
310
  /* L i s t e n e r s */
311
311
  /*-------------------------------------------------*/
312
312
  listenKeydown(e) {
313
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
313
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
314
314
  switch (e.key) {
315
315
  case 'ArrowDown':
316
316
  e.preventDefault();
317
317
  e.stopPropagation();
318
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").focusNext();
318
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").focusNext();
319
319
  break;
320
320
  case 'ArrowUp':
321
321
  e.preventDefault();
322
322
  e.stopPropagation();
323
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").focusPrevious();
323
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").focusPrevious();
324
324
  break;
325
325
  case 'Enter':
326
326
  e.preventDefault();
327
327
  e.stopPropagation();
328
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").select().then(() => {
329
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
330
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").focus();
328
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").select().then(() => {
329
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
330
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").focus();
331
331
  });
332
332
  break;
333
333
  case 'Escape':
334
334
  e.preventDefault();
335
335
  e.stopPropagation();
336
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
336
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
337
337
  break;
338
338
  }
339
339
  }
@@ -342,14 +342,14 @@ const KupAutocomplete = class {
342
342
  case 'ArrowDown':
343
343
  e.preventDefault();
344
344
  e.stopPropagation();
345
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
346
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").focusNext();
345
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
346
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").focusNext();
347
347
  break;
348
348
  case 'ArrowUp':
349
349
  e.preventDefault();
350
350
  e.stopPropagation();
351
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
352
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").focusPrevious();
351
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
352
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").focusPrevious();
353
353
  break;
354
354
  }
355
355
  }
@@ -382,7 +382,7 @@ const KupAutocomplete = class {
382
382
  * Sets the focus to the component.
383
383
  */
384
384
  async setFocus() {
385
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").focus();
385
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").focus();
386
386
  }
387
387
  /**
388
388
  * Sets the props to the component.
@@ -397,14 +397,14 @@ const KupAutocomplete = class {
397
397
  */
398
398
  async setValue(value) {
399
399
  __classPrivateFieldSet$4(this, _KupAutocomplete_doConsistencyCheck, true, "f");
400
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
400
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
401
401
  }
402
402
  /*-------------------------------------------------*/
403
403
  /* L i f e c y c l e H o o k s */
404
404
  /*-------------------------------------------------*/
405
405
  componentWillLoad() {
406
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, false);
407
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").theme.register(this);
406
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, false);
407
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").theme.register(this);
408
408
  __classPrivateFieldSet$4(this, _KupAutocomplete_doConsistencyCheck, true, "f");
409
409
  this.value = this.initialValue;
410
410
  if (!this.data) {
@@ -415,11 +415,11 @@ const KupAutocomplete = class {
415
415
  }
416
416
  }
417
417
  componentDidLoad() {
418
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
419
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
418
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
419
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
420
420
  }
421
421
  componentWillRender() {
422
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, false);
422
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, false);
423
423
  }
424
424
  componentDidRender() {
425
425
  const root = this.rootElement.shadowRoot;
@@ -431,81 +431,81 @@ const KupAutocomplete = class {
431
431
  fTextFieldMdc.FTextFieldMDC(f);
432
432
  }
433
433
  }
434
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
434
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
435
435
  }
436
436
  render() {
437
437
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
438
438
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
439
- return (index.h(index.Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$5(this, _KupAutocomplete_elStyle, "f") }, index.h("style", null, __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$5(this, _KupAutocomplete_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ icon: this.showDropDownIcon
439
+ return (index.h(index.Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$6(this, _KupAutocomplete_elStyle, "f") }, index.h("style", null, __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$6(this, _KupAutocomplete_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ icon: this.showDropDownIcon
440
440
  ? kupManager.KupThemeIconValues.DROPDOWN
441
441
  : null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
442
- window.clearTimeout(__classPrivateFieldGet$5(this, _KupAutocomplete_inputTimeout, "f"));
442
+ window.clearTimeout(__classPrivateFieldGet$6(this, _KupAutocomplete_inputTimeout, "f"));
443
443
  __classPrivateFieldSet$4(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
444
- }, onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
444
+ }, onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
445
445
  }
446
446
  disconnectedCallback() {
447
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f")) {
448
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f")]);
449
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").remove();
447
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f")) {
448
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f")]);
449
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").remove();
450
450
  }
451
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").theme.unregister(this);
451
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").theme.unregister(this);
452
452
  }
453
453
  get rootElement() { return index.getElement(this); }
454
454
  };
455
455
  _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(), _KupAutocomplete_kupManager = new WeakMap(), _KupAutocomplete_textfieldWrapper = new WeakMap(), _KupAutocomplete_textfieldEl = new WeakMap(), _KupAutocomplete_clickCb = new WeakMap(), _KupAutocomplete_inputTimeout = new WeakMap(), _KupAutocomplete_instances = new WeakSet(), _KupAutocomplete_openList = function _KupAutocomplete_openList(forceOpen) {
456
456
  if (forceOpen != true &&
457
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
458
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
457
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
458
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
459
459
  return false;
460
460
  }
461
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
462
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").menuVisible = true;
463
- const elStyle = __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").style;
461
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
462
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").menuVisible = true;
463
+ const elStyle = __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").style;
464
464
  elStyle.height = 'auto';
465
- elStyle.minWidth = __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f").clientWidth + 'px';
466
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"))) {
467
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f"));
465
+ elStyle.minWidth = __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f").clientWidth + 'px';
466
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"))) {
467
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f"));
468
468
  }
469
469
  else {
470
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
470
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
471
471
  }
472
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"));
473
- if (!__classPrivateFieldGet$5(this, _KupAutocomplete_clickCb, "f")) {
472
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"));
473
+ if (!__classPrivateFieldGet$6(this, _KupAutocomplete_clickCb, "f")) {
474
474
  __classPrivateFieldSet$4(this, _KupAutocomplete_clickCb, {
475
475
  cb: () => {
476
- __classPrivateFieldGet$5(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
476
+ __classPrivateFieldGet$6(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
477
477
  },
478
- el: __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"),
478
+ el: __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"),
479
479
  }, "f");
480
480
  }
481
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").addClickCallback(__classPrivateFieldGet$5(this, _KupAutocomplete_clickCb, "f"), true);
481
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupAutocomplete_clickCb, "f"), true);
482
482
  return true;
483
483
  }, _KupAutocomplete_closeList = function _KupAutocomplete_closeList() {
484
- __classPrivateFieldGet$5(this, _KupAutocomplete_textfieldWrapper, "f").classList.remove('toggled');
485
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").menuVisible = false;
486
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"));
487
- __classPrivateFieldGet$5(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$5(this, _KupAutocomplete_clickCb, "f"));
484
+ __classPrivateFieldGet$6(this, _KupAutocomplete_textfieldWrapper, "f").classList.remove('toggled');
485
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").menuVisible = false;
486
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"));
487
+ __classPrivateFieldGet$6(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupAutocomplete_clickCb, "f"));
488
488
  }, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
489
- return __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").menuVisible == true;
489
+ return __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").menuVisible == true;
490
490
  }, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, setValue) {
491
- if (!__classPrivateFieldGet$5(this, _KupAutocomplete_doConsistencyCheck, "f")) {
491
+ if (!__classPrivateFieldGet$6(this, _KupAutocomplete_doConsistencyCheck, "f")) {
492
492
  return;
493
493
  }
494
494
  __classPrivateFieldSet$4(this, _KupAutocomplete_doConsistencyCheck, false, "f");
495
- const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.displayMode);
495
+ const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.displayMode);
496
496
  if (ret.exists || this.allowInconsistentValues) {
497
497
  if (setValue) {
498
498
  this.value = ret.value;
499
499
  this.displayedValue = ret.displayedValue;
500
500
  }
501
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
502
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").filter = ret.value;
501
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
502
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").filter = ret.value;
503
503
  }
504
504
  }
505
505
  else {
506
506
  this.displayedValue = idIn;
507
- if (__classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
508
- __classPrivateFieldGet$5(this, _KupAutocomplete_listEl, "f").filter = ret.value;
507
+ if (__classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
508
+ __classPrivateFieldGet$6(this, _KupAutocomplete_listEl, "f").filter = ret.value;
509
509
  }
510
510
  }
511
511
  return ret;
@@ -6451,7 +6451,7 @@ var KupChipProps;
6451
6451
 
6452
6452
  const kupChipCss = ":host{display:block}";
6453
6453
 
6454
- var __classPrivateFieldGet$4 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6454
+ var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6455
6455
  if (kind === "a" && !f)
6456
6456
  throw new TypeError("Private accessor was defined without a getter");
6457
6457
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -6520,7 +6520,7 @@ const KupChip = class {
6520
6520
  this.kupChange.emit({
6521
6521
  comp: this,
6522
6522
  id: this.rootElement.id,
6523
- stringifiedValues: __classPrivateFieldGet$4(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
6523
+ stringifiedValues: __classPrivateFieldGet$5(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
6524
6524
  });
6525
6525
  this.refresh();
6526
6526
  }
@@ -6636,12 +6636,12 @@ const KupChip = class {
6636
6636
  props.onFocus.push((chip) => this.onKupFocus(chip));
6637
6637
  props.onIconClick.push((chip) => this.onKupIconClick(chip));
6638
6638
  }
6639
- return (index.h(index.Host, { "onKup-autocomplete-change": (e) => {
6640
- __classPrivateFieldGet$4(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6641
- }, "onKup-combobox-change": (e) => {
6642
- __classPrivateFieldGet$4(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6639
+ return (index.h(index.Host, { "onKup-autocomplete-itemclick": (e) => {
6640
+ __classPrivateFieldGet$5(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6641
+ }, "onKup-combobox-itemclick": (e) => {
6642
+ __classPrivateFieldGet$5(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6643
6643
  }, "onKup-textfield-change": (e) => {
6644
- __classPrivateFieldGet$4(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6644
+ __classPrivateFieldGet$5(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
6645
6645
  } }, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? index.h(fChip.FChip, Object.assign({}, props)) : null, index.h("slot", { name: "field" }))));
6646
6646
  }
6647
6647
  disconnectedCallback() {
@@ -6664,8 +6664,9 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
6664
6664
  if (value) {
6665
6665
  const node = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find((node) => node.id === value);
6666
6666
  if (!node) {
6667
+ const data = this.data && this.data.length ? this.data : [];
6667
6668
  this.data = [
6668
- ...this.data,
6669
+ ...data,
6669
6670
  {
6670
6671
  id: listNode ? listNode.id : value,
6671
6672
  value: listNode ? listNode.value : value,
@@ -6678,7 +6679,7 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
6678
6679
  this.kupChange.emit({
6679
6680
  comp: this,
6680
6681
  id: this.rootElement.id,
6681
- stringifiedValues: __classPrivateFieldGet$4(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
6682
+ stringifiedValues: __classPrivateFieldGet$5(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
6682
6683
  });
6683
6684
  }
6684
6685
  }
@@ -6967,7 +6968,7 @@ var KupComboboxProps;
6967
6968
 
6968
6969
  const kupComboboxCss = ":host{display:block;font-size:var(--kup-font-size);width:max-content}:host([is-select]) #kup-component{transition:background-color 0.2s}:host([is-select]) #kup-component:hover{background-color:rgba(var(--kup-text-color-rgb), 0.1)}:host([is-select]) .mdc-text-field:not(.mdc-text-field--disabled) input{cursor:pointer}.kup-icon{transition:transform 0.15s}.toggled .kup-icon.kup-dropdown-icon{transform:rotate(-180deg)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}";
6969
6970
 
6970
- var __classPrivateFieldGet$3 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6971
+ var __classPrivateFieldGet$4 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6971
6972
  if (kind === "a" && !f)
6972
6973
  throw new TypeError("Private accessor was defined without a getter");
6973
6974
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -7023,33 +7024,33 @@ const KupCombobox = class {
7023
7024
  comp: this,
7024
7025
  id: this.rootElement.id,
7025
7026
  value: this.value,
7026
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7027
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7027
7028
  });
7028
7029
  }
7029
7030
  onKupChange(value) {
7030
- let ret = __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
7031
+ let ret = __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
7031
7032
  this.kupChange.emit({
7032
7033
  comp: this,
7033
7034
  id: this.rootElement.id,
7034
7035
  value: this.value,
7035
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7036
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7036
7037
  node: ret.node,
7037
7038
  });
7038
7039
  }
7039
7040
  onKupClick() {
7040
7041
  if (this.isSelect == true) {
7041
- if (__classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7042
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7042
+ if (__classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7043
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7043
7044
  }
7044
7045
  else {
7045
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7046
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7046
7047
  }
7047
7048
  }
7048
7049
  this.kupClick.emit({
7049
7050
  comp: this,
7050
7051
  id: this.rootElement.id,
7051
7052
  value: this.value,
7052
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7053
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7053
7054
  });
7054
7055
  }
7055
7056
  onKupFocus() {
@@ -7057,47 +7058,47 @@ const KupCombobox = class {
7057
7058
  comp: this,
7058
7059
  id: this.rootElement.id,
7059
7060
  value: this.value,
7060
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7061
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7061
7062
  });
7062
7063
  }
7063
7064
  onKupInput() {
7064
- let ret = __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value, false);
7065
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7065
+ let ret = __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value, false);
7066
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7066
7067
  this.kupInput.emit({
7067
7068
  comp: this,
7068
7069
  id: this.rootElement.id,
7069
7070
  value: this.value,
7070
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7071
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7071
7072
  node: ret.node,
7072
7073
  });
7073
7074
  }
7074
7075
  onKupIconClick() {
7075
- if (__classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7076
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7076
+ if (__classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7077
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7077
7078
  }
7078
7079
  else {
7079
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7080
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7080
7081
  }
7081
7082
  this.kupIconClick.emit({
7082
7083
  comp: this,
7083
7084
  id: this.rootElement.id,
7084
7085
  value: this.value,
7085
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7086
- open: __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled'),
7086
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7087
+ open: __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled'),
7087
7088
  });
7088
7089
  }
7089
7090
  onKupItemClick(e) {
7090
7091
  this.onKupChange(e.detail.selected.id);
7091
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7092
- if (__classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f")) {
7093
- __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").focus();
7092
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7093
+ if (__classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f")) {
7094
+ __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").focus();
7094
7095
  }
7095
7096
  this.kupItemClick.emit({
7096
7097
  comp: this,
7097
7098
  id: this.rootElement.id,
7098
7099
  node: e.detail.selected,
7099
7100
  value: this.value,
7100
- inputValue: __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").value,
7101
+ inputValue: __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").value,
7101
7102
  });
7102
7103
  }
7103
7104
  /*-------------------------------------------------*/
@@ -7110,30 +7111,30 @@ const KupCombobox = class {
7110
7111
  /* L i s t e n e r s */
7111
7112
  /*-------------------------------------------------*/
7112
7113
  listenKeydown(e) {
7113
- if (__classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7114
+ if (__classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7114
7115
  switch (e.key) {
7115
7116
  case 'ArrowDown':
7116
7117
  e.preventDefault();
7117
7118
  e.stopPropagation();
7118
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").focusNext();
7119
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").focusNext();
7119
7120
  break;
7120
7121
  case 'ArrowUp':
7121
7122
  e.preventDefault();
7122
7123
  e.stopPropagation();
7123
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").focusPrevious();
7124
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").focusPrevious();
7124
7125
  break;
7125
7126
  case 'Enter':
7126
7127
  e.preventDefault();
7127
7128
  e.stopPropagation();
7128
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").select().then(() => {
7129
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7130
- __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").focus();
7129
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").select().then(() => {
7130
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7131
+ __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").focus();
7131
7132
  });
7132
7133
  break;
7133
7134
  case 'Escape':
7134
7135
  e.preventDefault();
7135
7136
  e.stopPropagation();
7136
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7137
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7137
7138
  break;
7138
7139
  }
7139
7140
  }
@@ -7142,14 +7143,14 @@ const KupCombobox = class {
7142
7143
  case 'ArrowDown':
7143
7144
  e.preventDefault();
7144
7145
  e.stopPropagation();
7145
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7146
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").focusNext();
7146
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7147
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").focusNext();
7147
7148
  break;
7148
7149
  case 'ArrowUp':
7149
7150
  e.preventDefault();
7150
7151
  e.stopPropagation();
7151
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7152
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").focusPrevious();
7152
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7153
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").focusPrevious();
7153
7154
  break;
7154
7155
  }
7155
7156
  }
@@ -7182,7 +7183,7 @@ const KupCombobox = class {
7182
7183
  * Sets the focus to the component.
7183
7184
  */
7184
7185
  async setFocus() {
7185
- __classPrivateFieldGet$3(this, _KupCombobox_textfieldEl, "f").focus();
7186
+ __classPrivateFieldGet$4(this, _KupCombobox_textfieldEl, "f").focus();
7186
7187
  }
7187
7188
  /**
7188
7189
  * Sets the props to the component.
@@ -7196,14 +7197,14 @@ const KupCombobox = class {
7196
7197
  * @param {string} value - Value to be set.
7197
7198
  */
7198
7199
  async setValue(value) {
7199
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
7200
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
7200
7201
  }
7201
7202
  /*-------------------------------------------------*/
7202
7203
  /* L i f e c y c l e H o o k s */
7203
7204
  /*-------------------------------------------------*/
7204
7205
  componentWillLoad() {
7205
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").debug.logLoad(this, false);
7206
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").theme.register(this);
7206
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").debug.logLoad(this, false);
7207
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").theme.register(this);
7207
7208
  this.value = this.initialValue;
7208
7209
  if (!this.data) {
7209
7210
  this.data = {
@@ -7213,11 +7214,11 @@ const KupCombobox = class {
7213
7214
  }
7214
7215
  }
7215
7216
  componentDidLoad() {
7216
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
7217
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
7217
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
7218
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
7218
7219
  }
7219
7220
  componentWillRender() {
7220
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").debug.logRender(this, false);
7221
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").debug.logRender(this, false);
7221
7222
  }
7222
7223
  componentDidRender() {
7223
7224
  const root = this.rootElement.shadowRoot;
@@ -7229,21 +7230,21 @@ const KupCombobox = class {
7229
7230
  fTextFieldMdc.FTextFieldMDC(f);
7230
7231
  }
7231
7232
  }
7232
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").debug.logRender(this, true);
7233
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").debug.logRender(this, true);
7233
7234
  }
7234
7235
  render() {
7235
7236
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
7236
7237
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
7237
- return (index.h(index.Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$3(this, _KupCombobox_elStyle, "f") }, index.h("style", null, __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$3(this, _KupCombobox_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
7238
+ return (index.h(index.Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$4(this, _KupCombobox_elStyle, "f") }, index.h("style", null, __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$4(this, _KupCombobox_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
7238
7239
  ? kupManager.KupThemeIconValues.DROPDOWN
7239
- : null, readOnly: this.isSelect, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
7240
+ : null, readOnly: this.isSelect, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
7240
7241
  }
7241
7242
  disconnectedCallback() {
7242
- if (__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f")) {
7243
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f")]);
7244
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").remove();
7243
+ if (__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f")) {
7244
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f")]);
7245
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").remove();
7245
7246
  }
7246
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").theme.unregister(this);
7247
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").theme.unregister(this);
7247
7248
  }
7248
7249
  get rootElement() { return index.getElement(this); }
7249
7250
  static get watchers() { return {
@@ -7251,54 +7252,54 @@ const KupCombobox = class {
7251
7252
  }; }
7252
7253
  };
7253
7254
  _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _KupCombobox_listEl = new WeakMap(), _KupCombobox_textfieldWrapper = new WeakMap(), _KupCombobox_textfieldEl = new WeakMap(), _KupCombobox_clickCb = new WeakMap(), _KupCombobox_instances = new WeakSet(), _KupCombobox_openList = function _KupCombobox_openList() {
7254
- if (__classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7255
+ if (__classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7255
7256
  return;
7256
7257
  }
7257
- __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").classList.add('toggled');
7258
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").menuVisible = true;
7259
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").filter = '';
7260
- const elStyle = __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").style;
7258
+ __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").classList.add('toggled');
7259
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").menuVisible = true;
7260
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").filter = '';
7261
+ const elStyle = __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").style;
7261
7262
  elStyle.height = 'auto';
7262
- elStyle.minWidth = __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").clientWidth + 'px';
7263
- if (__classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"))) {
7264
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f"));
7263
+ elStyle.minWidth = __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").clientWidth + 'px';
7264
+ if (__classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"))) {
7265
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f"));
7265
7266
  }
7266
7267
  else {
7267
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
7268
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
7268
7269
  }
7269
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"));
7270
- if (!__classPrivateFieldGet$3(this, _KupCombobox_clickCb, "f")) {
7270
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"));
7271
+ if (!__classPrivateFieldGet$4(this, _KupCombobox_clickCb, "f")) {
7271
7272
  __classPrivateFieldSet$3(this, _KupCombobox_clickCb, {
7272
7273
  cb: () => {
7273
- __classPrivateFieldGet$3(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7274
+ __classPrivateFieldGet$4(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7274
7275
  },
7275
- el: __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"),
7276
+ el: __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"),
7276
7277
  }, "f");
7277
7278
  }
7278
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").addClickCallback(__classPrivateFieldGet$3(this, _KupCombobox_clickCb, "f"), true);
7279
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").addClickCallback(__classPrivateFieldGet$4(this, _KupCombobox_clickCb, "f"), true);
7279
7280
  }, _KupCombobox_closeList = function _KupCombobox_closeList() {
7280
- __classPrivateFieldGet$3(this, _KupCombobox_textfieldWrapper, "f").classList.remove('toggled');
7281
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").menuVisible = false;
7282
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"));
7283
- __classPrivateFieldGet$3(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupCombobox_clickCb, "f"));
7281
+ __classPrivateFieldGet$4(this, _KupCombobox_textfieldWrapper, "f").classList.remove('toggled');
7282
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").menuVisible = false;
7283
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"));
7284
+ __classPrivateFieldGet$4(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$4(this, _KupCombobox_clickCb, "f"));
7284
7285
  }, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
7285
- return __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").menuVisible == true;
7286
+ return __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").menuVisible == true;
7286
7287
  }, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, setValue) {
7287
- let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
7288
+ let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
7288
7289
  if (ret.exists) {
7289
7290
  if (setValue) {
7290
7291
  this.value = ret.value;
7291
7292
  this.displayedValue = ret.displayedValue;
7292
7293
  }
7293
- if (__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f") != null) {
7294
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").filter = ret.value;
7294
+ if (__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f") != null) {
7295
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").filter = ret.value;
7295
7296
  }
7296
7297
  }
7297
7298
  else {
7298
7299
  this.value = idIn;
7299
7300
  this.displayedValue = idIn;
7300
- if (__classPrivateFieldGet$3(this, _KupCombobox_listEl, "f") != null) {
7301
- __classPrivateFieldGet$3(this, _KupCombobox_listEl, "f").filter = ret.value;
7301
+ if (__classPrivateFieldGet$4(this, _KupCombobox_listEl, "f") != null) {
7302
+ __classPrivateFieldGet$4(this, _KupCombobox_listEl, "f").filter = ret.value;
7302
7303
  }
7303
7304
  }
7304
7305
  return ret;
@@ -8084,7 +8085,7 @@ class KupColumnMenu {
8084
8085
 
8085
8086
  const kupDataTableCss = ":host{--kup_datatable_background_color:var(\n --kup-datatable-background-color,\n var(--kup-background-color)\n );--kup_datatable_border:var(\n --kup-datatable-border,\n 1px solid var(--kup-border-color)\n );--kup_datatable_color:var(--kup-datatable-color, var(--kup-text-color));--kup_datatable_font_family:var(\n --kup-datatable-font-family,\n var(--kup-font-family)\n );--kup_datatable_font_family_monospace:var(\n --kup-datatable-font-family-monospace,\n var(--kup-font-family-monospace)\n );--kup_datatable_font_size:var(\n --kup-datatable-font-size,\n var(--kup-font-size)\n );--kup_datatable_th_border:var(\n --kup-datatable-th-border,\n 1px solid var(--kup-border-color)\n );--kup_datatable_th_resize_handle_width:var(\n --kup-datatable-th-resize-handle-width,\n 3px\n );display:block;font-family:var(--kup_datatable_font_family);font-size:var(--kup_datatable_font_size);position:relative}:host([kup-toolbar]) .settings-trigger{height:12px}:host([kup-toolbar]) .customize-panel{visibility:visible}:host([force-one-line]) .f-cell__text{white-space:nowrap}table{background-color:var(--kup_datatable_background_color);border-spacing:0;border-collapse:separate;color:var(--kup_datatable_color);min-width:intrinsic;min-width:-moz-max-content;min-width:-webkit-max-content;text-align:left;width:100%}table.auto-width{min-width:auto;width:0}table>tbody>tr.focus td:first-of-type,table>tbody>tr[kup-drag-over] td:first-of-type{box-shadow:inset 4px 0px 0px 0px var(--kup-secondary-color)}table>tbody>tr>td:first-of-type,table>tbody>tr>td.placeholder~td:not(.placeholder){border-left:var(--kup_datatable_border)}table>tbody>tr>td:last-of-type{border-right:var(--kup_datatable_border)}table>tbody>tr:last-of-type>td{border-bottom:var(--kup_datatable_border)}table.border-top>tbody>tr:first-of-type>td{border-top:var(--kup_datatable_border)}table.row-separation>tbody>tr>td{border-bottom:var(--kup_datatable_border)}table.column-separation>tbody>tr>td{border-right:var(--kup_datatable_border)}table.noGrid,table.noGrid td{border:none}table tfoot td{border-bottom:var(--kup_datatable_border);border-right:var(--kup_datatable_border);box-sizing:border-box;height:36px;text-align:right;font-weight:bold;padding:0.5em 0.3125em}table tfoot td:hover{background-color:var(--kup_datatable_background_color)}table tfoot td:first-of-type{border-left:var(--kup_datatable_border)}#global-filter{margin:0.5em 0px;min-width:140px;width:100%}.kup-icon:not(.f-image){background-color:var(--kup-title-color);margin:0 0.25em;height:1.25em;width:1.25em}.kup-icon:not(.f-image).kup-ascending-icon,.kup-icon:not(.f-image).kup-descending-icon,.kup-icon:not(.f-image).kup-key-icon,.kup-icon:not(.f-image).kup-filter-remove-icon{height:auto}.kup-icon:not(.f-image).kup-collapsed-icon,.kup-icon:not(.f-image).kup-expanded-icon{float:left}.kup-icon:not(.f-image).kup-filter-remove-icon,.kup-icon:not(.f-image).kup-key-icon{margin:0 0.25em}.below-wrapper{backface-visibility:hidden;height:auto;overflow:auto}.below-wrapper.custom-size{overflow:unset}.below-wrapper:not(.custom-size){overflow-x:auto}.density-dense tbody>tr.group td{padding-top:0.25em;padding-bottom:0.25em}.density-wide tbody>tr.group>td{padding-top:0.75em;padding-bottom:0.75em}.fontsize-small{font-size:calc(var(--kup_datatable_font_size) * 0.75);transition:font-size 0.1s}.fontsize-small .group-cell-content>span:before{font-size:calc(var(--kup_datatable_font_size) * 1) !important}.fontsize-big{font-size:calc(var(--kup_datatable_font_size) * 1.25);transition:font-size 0.1s}.fontsize-big .group-cell-content>span:before{font-size:calc(var(--kup_datatable_font_size) * 1.5) !important}th{background-color:var(--kup-title-background-color);border:var(--kup_datatable_th_border);border-left:0 none;border-bottom-width:2px;box-sizing:border-box;top:0;touch-action:none;transition:background-color 0.25s ease;user-select:none}th:first-of-type{border-left:var(--kup_datatable_th_border)}.header-cell__content{color:var(--kup-title-color);display:flex;justify-content:space-between;padding:0.5em 0.3125em;text-overflow:ellipsis;white-space:nowrap}.header-cell--centered .header-cell__content{justify-content:center}.header-cell--is-number .header-cell__content{justify-content:flex-end}.header-cell__title{overflow:hidden;text-overflow:ellipsis;user-select:none}.header-cell__icons{display:flex}.header-cell__drag-handler{background:rgba(var(--kup-title-color-rgb), 0.25);height:100%;position:absolute;right:0;top:0;touch-action:none;user-select:none;width:var(--kup_datatable_th_resize_handle_width)}.header-cell__drag-handler:hover{background:rgba(var(--kup-title-color-rgb), 0.5)}.header-cell--sortable{cursor:pointer}.header-cell--is-icon{width:30px}tbody{cursor:auto}tbody td{height:0;padding:0}tbody td>*{border:none !important}tbody tr kup-button{max-width:max-content}tbody tr[kup-draggable]{opacity:0.5}tbody tr.selected td{background-color:rgba(var(--kup-primary-color-rgb), 0.175)}tbody tr:hover:not(.group):not(.selected) td{color:var(--kup-hover-color);background-color:var(--kup-hover-background-color)}tbody tr.group{background:var(--kup-title-background-color);border-top:var(--kup_datatable_border);color:var(--kup-title-color);font-weight:bold;cursor:pointer}tbody tr.group.group-label{border-bottom:none}tbody tr.group.group-total{border-top:none;line-height:0.5em}tbody tr.group>td{padding:0.5em 0}tbody tr.group>td .group-cell-content .indent{float:left;margin-left:0.25em}tbody tr.group>td .group-cell-content>span{display:inline-flex;outline:none;margin-left:0.25em}tbody tr.group>td.total{text-align:right;padding:0.5em 0.3125em}tbody tr.group>td.total.negative-number{color:var(--kup-danger-color)}tbody tr>td{box-sizing:border-box;transition:box-shadow 0.1s}tbody tr>td .row-expander{margin-right:0.5em}tbody tr>td .row-action{margin-right:0.2em}tbody tr [row-select-cell]{min-height:40px}tbody tr td[row-action-cell]{width:calc(3em * var(--kup_datatable_row_actions))}tbody tr td[row-action-cell] .f-image{cursor:pointer;margin-left:0.75em;display:inline-block;opacity:1;transition:0.25s ease-in-out}tbody tr td[row-action-cell] .f-image:hover{opacity:0.5}.above-wrapper{display:flex;width:100%}.kup-icon.overlay-action{display:none;position:absolute;top:0.5em;left:calc(50% - 0.625em)}th:hover .kup-icon.overlay-action{display:block}thead th{position:relative}th.obj:hover span:not(.overlay-action){opacity:0.5}.hidden span{color:transparent;position:relative;text-overflow:ellipsis;transition:color 200ms}.hidden span:hover{color:var(--kup_datatable_color)}.group-wrapper{--kup-chip-margin:0 4px}.totals-value{font-weight:bold}.settings-trigger{cursor:pointer;display:block;width:32px;height:0;border-top-left-radius:25px 30px;border-top-right-radius:25px 30px;background-color:var(--kup-border-color);transition:height 0.25s}.settings-trigger.toggled{background-color:var(--kup-primary-color)}.settings-trigger.toggled .f-image__icon{background:var(--kup-text-on-primary-color) !important}.indent{display:inline-block;height:1em;width:2em}.indent~kup-image,.indent~kup-button{margin:0;vertical-align:middle}.indent~kup-image{display:inline-block}.indent~kup-button,.indent~kup-checkbox{display:inline-block}.actions-wrapper{display:flex}.insert-button,.delete-button,.save-button{padding:1em 0.5em}.kup-icon.kup-ascending-icon{-webkit-mask:var(--kup-ascending-icon);mask:var(--kup-ascending-icon)}.kup-icon.kup-collapsed-icon{-webkit-mask:var(--kup-collapsed-icon);mask:var(--kup-collapsed-icon)}.kup-icon.kup-descending-icon{-webkit-mask:var(--kup-descending-icon);mask:var(--kup-descending-icon)}.kup-icon.kup-expanded-icon{-webkit-mask:var(--kup-expanded-icon);mask:var(--kup-expanded-icon)}.kup-icon.kup-filter-remove-icon{-webkit-mask:var(--kup-filter-remove-icon);mask:var(--kup-filter-remove-icon)}.kup-icon.kup-key-icon{-webkit-mask:var(--kup-key-icon);mask:var(--kup-key-icon)}.paginator-wrapper{display:flex;flex-flow:wrap;min-width:max-content}.paginator-tabs{width:100%}.paginator-tabs kup-paginator{display:inline-flex}.paginator-tabs kup-button{position:relative;height:100%;margin-left:0.25em;float:right}.paginator-tabs .load-more-button{margin:0.5em 0px 0px}sticky-header{display:none}.persistent-header~sticky-header{background:var(--kup-title-background-color);border-bottom:2px solid var(--kup-border-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);color:var(--kup-title-color);display:block;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:opacity 0.25s ease-in-out;z-index:10}.persistent-header~sticky-header.activated{opacity:1;pointer-events:all}.persistent-header~sticky-header[hidden]{display:none}.persistent-header~sticky-header tr-sticky{display:inline-flex}.persistent-header~sticky-header th-sticky{box-sizing:border-box;display:inline-flex;padding:0 0.3125em}.persistent-header~sticky-header th-sticky .header-cell__content{width:100%}.fixed-column,.fixed-row{background-color:var(--kup_datatable_background_color);color:var(--kup-text-color);position:sticky}thead .fixed-column,thead .fixed-row,tfoot .fixed-column,tfoot .fixed-row{z-index:10}table.custom-size th{position:sticky;top:0;z-index:10}table.custom-size th.fixed-column{z-index:11}tr:hover .fixed-row,tr:hover .fixed-column{color:var(--kup-hover-color);background-color:var(--kup-hover-background-color)}tr.selected .fixed-column,tr.selected .fixed-row{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-primary-color-rgb), 0.175) 0%, rgba(var(--kup-primary-color-rgb), 0.175) 0.1%, rgba(var(--kup-primary-color-rgb), 0.175))}.fixed-row{top:0;z-index:4}.fixed-column{left:0;z-index:6}.fixed-column.fixed-row{z-index:8}thead tr .fixed-column,thead tr:hover:not(.group):not(.selected) .fixed-column{background-color:var(--kup-title-background-color);color:var(--kup-title-color)}tfoot tr:hover:not(.group):not(.selected) .fixed-row,tfoot tr:hover:not(.group):not(.selected) .fixed-column{color:var(--kup-text-color);background-color:var(--kup_datatable_background_color)}:host([drag-enabled]) tr{touch-action:none}th[kup-drag-over]{background-color:rgba(var(--kup-success-color-rgb), 0.25)}th[kup-draggable]{cursor:grabbing !important;opacity:0.5}.droparea{animation:fade-in 0.25s ease-out;background:var(--kup_datatable_background_color);border-radius:8px;box-shadow:var(--kup-box-shadow);display:none;padding:1em 0.5em}.droparea--visible{display:flex}.droparea__groups{border:2px dashed var(--kup-text-color)}.droparea__remove{border:2px dashed var(--kup-danger-color)}.droparea__groups,.droparea__remove{background:var(--kup_datatable_background_color);box-shadow:var(--kup-box-shadow);display:block;height:50px;margin:0 0.5em;opacity:0.5;position:relative;transition:opacity 0.25s;width:50px}.droparea__groups .f-image,.droparea__remove .f-image{width:100%;position:absolute}.droparea__groups .f-image:first-of-type,.droparea__remove .f-image:first-of-type{opacity:1}.droparea__groups .f-image:last-of-type,.droparea__remove .f-image:last-of-type{opacity:0}.droparea__groups[kup-drag-over],.droparea__remove[kup-drag-over]{opacity:1}.droparea__groups[kup-drag-over] .f-image:first-of-type,.droparea__remove[kup-drag-over] .f-image:first-of-type{opacity:0}.droparea__groups[kup-drag-over] .f-image:last-of-type,.droparea__remove[kup-drag-over] .f-image:last-of-type{opacity:1}:host(.kup-cross-selection) #kup-component th.selected{box-shadow:inset 0px 4px 0px 0px var(--kup-secondary-color)}:host(.kup-cross-selection) #kup-component td.selected{background-color:rgba(var(--kup-text-color-rgb), 0.075)}:host(.kup-cross-selection) #kup-component td.selected.fixed-column,:host(.kup-cross-selection) #kup-component td.selected.fixed-row{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.075) 0%, rgba(var(--kup-text-color-rgb), 0.075) 0.1%, rgba(var(--kup-text-color-rgb), 0.075))}:host(.kup-cross-selection) #kup-component tr.selected td{background-color:rgba(var(--kup-text-color-rgb), 0.075)}:host(.kup-cross-selection) #kup-component tr.selected td:first-of-type{box-shadow:inset 4px 0px 0px 0px var(--kup-secondary-color)}:host(.kup-cross-selection) #kup-component tr.selected td.selected{background-color:rgba(var(--kup-text-color-rgb), 0.15)}:host(.kup-cross-selection) #kup-component tr.selected td.fixed-column,:host(.kup-cross-selection) #kup-component tr.selected td.fixed-row{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.075) 0%, rgba(var(--kup-text-color-rgb), 0.075) 0.1%, rgba(var(--kup-text-color-rgb), 0.075))}:host(.kup-cross-selection) #kup-component tr.selected td.fixed-column.selected,:host(.kup-cross-selection) #kup-component tr.selected td.fixed-row.selected{background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.15) 0%, rgba(var(--kup-text-color-rgb), 0.15) 0.1%, rgba(var(--kup-text-color-rgb), 0.15))}:host(.kup-layout-fixed) #kup-component table{table-layout:fixed;width:100%}tr.clickable{cursor:pointer}";
8086
8087
 
8087
- var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8088
+ var __classPrivateFieldGet$3 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8088
8089
  if (kind === "a" && !f)
8089
8090
  throw new TypeError("Private accessor was defined without a getter");
8090
8091
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -8100,7 +8101,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
8100
8101
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
8101
8102
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8102
8103
  };
8103
- var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements, _KupDataTable_getEventPath, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_clickHandler, _KupDataTable_contextMenuHandler, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onDefaultRowActionClick, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_renderActions, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel;
8104
+ var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_clickHandler, _KupDataTable_contextMenuHandler, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onDefaultRowActionClick, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_renderActions, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel;
8104
8105
  const KupDataTable = class {
8105
8106
  constructor(hostRef) {
8106
8107
  index.registerInstance(this, hostRef);
@@ -8196,18 +8197,18 @@ const KupDataTable = class {
8196
8197
  _KupDataTable_MESSAGE_WRAPPER_ID.set(this, 'messageWrapper');
8197
8198
  _KupDataTable_INSERT_PREFIX.set(this, 'insert_');
8198
8199
  _KupDataTable_stickyHeaderPosition.set(this, () => {
8199
- if (__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f")) {
8200
- if (__classPrivateFieldGet$2(this, _KupDataTable_tableIntersecting, "f")) {
8201
- if (!__classPrivateFieldGet$2(this, _KupDataTable_theadIntersecting, "f")) {
8202
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8203
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").classList.add('activated');
8200
+ if (__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f")) {
8201
+ if (__classPrivateFieldGet$3(this, _KupDataTable_tableIntersecting, "f")) {
8202
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_theadIntersecting, "f")) {
8203
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8204
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").classList.add('activated');
8204
8205
  }
8205
8206
  else {
8206
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8207
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8207
8208
  }
8208
8209
  }
8209
8210
  else {
8210
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8211
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8211
8212
  }
8212
8213
  }
8213
8214
  });
@@ -8301,7 +8302,7 @@ const KupDataTable = class {
8301
8302
  if (this.store && this.stateId) {
8302
8303
  const state = this.store.getState(this.stateId);
8303
8304
  if (state != null) {
8304
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Initializing stateId ' + this.stateId);
8305
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Initializing stateId ' + this.stateId);
8305
8306
  // *** PROPS ***
8306
8307
  this.filters = Object.assign({}, state.filters);
8307
8308
  this.groups = [...state.groups];
@@ -8337,116 +8338,116 @@ const KupDataTable = class {
8337
8338
  persistState() {
8338
8339
  if (this.store && this.stateId) {
8339
8340
  let somethingChanged = false;
8340
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
8341
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
8341
8342
  this.state.filters = Object.assign({}, this.filters);
8342
8343
  somethingChanged = true;
8343
8344
  }
8344
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groups, this.groups)) {
8345
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groups, this.groups)) {
8345
8346
  this.state.groups = [...this.groups];
8346
8347
  somethingChanged = true;
8347
8348
  }
8348
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sort, this.sort)) {
8349
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sort, this.sort)) {
8349
8350
  this.state.sort = [...this.sort];
8350
8351
  somethingChanged = true;
8351
8352
  }
8352
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.expandGroups, this.expandGroups)) {
8353
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.expandGroups, this.expandGroups)) {
8353
8354
  this.state.expandGroups = this.expandGroups;
8354
8355
  somethingChanged = true;
8355
8356
  }
8356
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groupLabelDisplay, this.groupLabelDisplay)) {
8357
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groupLabelDisplay, this.groupLabelDisplay)) {
8357
8358
  this.state.groupLabelDisplay = this.groupLabelDisplay;
8358
8359
  somethingChanged = true;
8359
8360
  }
8360
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
8361
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
8361
8362
  this.state.density = this.density;
8362
8363
  somethingChanged = true;
8363
8364
  }
8364
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableExtraColumns, this.enableExtraColumns)) {
8365
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableExtraColumns, this.enableExtraColumns)) {
8365
8366
  this.state.enableExtraColumns = this.enableExtraColumns;
8366
8367
  somethingChanged = true;
8367
8368
  }
8368
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableSortableColumns, this.enableSortableColumns)) {
8369
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableSortableColumns, this.enableSortableColumns)) {
8369
8370
  this.state.enableSortableColumns = this.enableSortableColumns;
8370
8371
  somethingChanged = true;
8371
8372
  }
8372
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.forceOneLine, this.forceOneLine)) {
8373
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.forceOneLine, this.forceOneLine)) {
8373
8374
  this.state.forceOneLine = this.forceOneLine;
8374
8375
  somethingChanged = true;
8375
8376
  }
8376
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
8377
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
8377
8378
  this.state.globalFilter = this.globalFilter;
8378
8379
  somethingChanged = true;
8379
8380
  }
8380
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
8381
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
8381
8382
  this.state.globalFilterValue = this.globalFilterValue;
8382
8383
  somethingChanged = true;
8383
8384
  }
8384
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.headerIsPersistent, this.headerIsPersistent)) {
8385
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.headerIsPersistent, this.headerIsPersistent)) {
8385
8386
  this.state.headerIsPersistent = this.headerIsPersistent;
8386
8387
  somethingChanged = true;
8387
8388
  }
8388
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.lazyLoadRows, this.lazyLoadRows)) {
8389
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.lazyLoadRows, this.lazyLoadRows)) {
8389
8390
  this.state.lazyLoadRows = this.lazyLoadRows;
8390
8391
  somethingChanged = true;
8391
8392
  }
8392
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
8393
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
8393
8394
  this.state.loadMoreLimit = this.loadMoreLimit;
8394
8395
  somethingChanged = true;
8395
8396
  }
8396
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selection, this.selection)) {
8397
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selection, this.selection)) {
8397
8398
  this.state.selection = this.selection;
8398
8399
  somethingChanged = true;
8399
8400
  }
8400
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
8401
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
8401
8402
  this.state.rowsPerPage = this.currentRowsPerPage;
8402
8403
  somethingChanged = true;
8403
8404
  }
8404
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
8405
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
8405
8406
  this.state.showFilters = this.showFilters;
8406
8407
  somethingChanged = true;
8407
8408
  }
8408
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showGroups, this.showGroups)) {
8409
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showGroups, this.showGroups)) {
8409
8410
  this.state.showGroups = this.showGroups;
8410
8411
  somethingChanged = true;
8411
8412
  }
8412
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showHeader, this.showHeader)) {
8413
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showHeader, this.showHeader)) {
8413
8414
  this.state.showHeader = this.showHeader;
8414
8415
  somethingChanged = true;
8415
8416
  }
8416
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
8417
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
8417
8418
  this.state.showLoadMore = this.showLoadMore;
8418
8419
  somethingChanged = true;
8419
8420
  }
8420
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortEnabled, this.sortEnabled)) {
8421
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortEnabled, this.sortEnabled)) {
8421
8422
  this.state.sortEnabled = this.sortEnabled;
8422
8423
  somethingChanged = true;
8423
8424
  }
8424
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortableColumnsMutateData, this.sortableColumnsMutateData)) {
8425
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortableColumnsMutateData, this.sortableColumnsMutateData)) {
8425
8426
  this.state.sortableColumnsMutateData =
8426
8427
  this.sortableColumnsMutateData;
8427
8428
  somethingChanged = true;
8428
8429
  }
8429
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
8430
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
8430
8431
  this.state.pageSelected = this.currentPage;
8431
8432
  somethingChanged = true;
8432
8433
  }
8433
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dragEnabled, this.dragEnabled)) {
8434
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dragEnabled, this.dragEnabled)) {
8434
8435
  this.state.dragEnabled = this.dragEnabled;
8435
8436
  somethingChanged = true;
8436
8437
  }
8437
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dropEnabled, this.dropEnabled)) {
8438
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dropEnabled, this.dropEnabled)) {
8438
8439
  this.state.dropEnabled = this.dropEnabled;
8439
8440
  somethingChanged = true;
8440
8441
  }
8441
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
8442
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
8442
8443
  this.state.showFooter = this.showFooter;
8443
8444
  somethingChanged = true;
8444
8445
  }
8445
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
8446
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
8446
8447
  this.state.totals = Object.assign({}, this.totals);
8447
8448
  somethingChanged = true;
8448
8449
  }
8449
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selectRowsById, this.selectedRows.reduce((accumulator, row, currentIndex) => {
8450
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selectRowsById, this.selectedRows.reduce((accumulator, row, currentIndex) => {
8450
8451
  const prefix = currentIndex > 0 ? ';' : '';
8451
8452
  return accumulator + prefix + row.id;
8452
8453
  }, ''))) {
@@ -8461,7 +8462,7 @@ const KupDataTable = class {
8461
8462
  return;
8462
8463
  }
8463
8464
  if (somethingChanged) {
8464
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
8465
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
8465
8466
  this.store.persistState(this.stateId, this.state);
8466
8467
  }
8467
8468
  }
@@ -8470,33 +8471,33 @@ const KupDataTable = class {
8470
8471
  this.currentRowsPerPage = newValue;
8471
8472
  }
8472
8473
  expandGroupsHandler() {
8473
- if (!__classPrivateFieldGet$2(this, _KupDataTable_isRestoringState, "f")) {
8474
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_isRestoringState, "f")) {
8474
8475
  this.recalculateRows();
8475
8476
  // reset group state
8476
8477
  this.groupState = {};
8477
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
8478
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
8478
8479
  }
8479
8480
  }
8480
8481
  filtersChanged() {
8481
8482
  this.expandGroupsHandler();
8482
8483
  }
8483
8484
  recalculateRows() {
8484
- if (!__classPrivateFieldGet$2(this, _KupDataTable_isRestoringState, "f")) {
8485
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
8485
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_isRestoringState, "f")) {
8486
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
8486
8487
  }
8487
8488
  }
8488
8489
  identifyAndInitRows() {
8489
8490
  kupManager.identify(this.getRows());
8490
8491
  this.expandGroupsHandler();
8491
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8492
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8492
8493
  }
8493
8494
  recalculateRowsAndUndoSelections() {
8494
- if (!__classPrivateFieldGet$2(this, _KupDataTable_isRestoringState, "f")) {
8495
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_isRestoringState, "f")) {
8495
8496
  this.recalculateRows();
8496
8497
  // reset group state
8497
8498
  this.groupState = {};
8498
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
8499
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8499
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
8500
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8500
8501
  }
8501
8502
  }
8502
8503
  controlFixedRowsColumns() {
@@ -8512,8 +8513,8 @@ const KupDataTable = class {
8512
8513
  }
8513
8514
  }
8514
8515
  recalculateData() {
8515
- if (__classPrivateFieldGet$2(this, _KupDataTable_initialized, "f")) {
8516
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
8516
+ if (__classPrivateFieldGet$3(this, _KupDataTable_initialized, "f")) {
8517
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
8517
8518
  }
8518
8519
  }
8519
8520
  /**
@@ -8521,14 +8522,14 @@ const KupDataTable = class {
8521
8522
  */
8522
8523
  async closeColumnMenu() {
8523
8524
  this.columnMenuAnchor = null;
8524
- if (__classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f")) {
8525
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").data = null;
8525
+ if (__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f")) {
8526
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = null;
8526
8527
  }
8527
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").close(__classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"));
8528
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").close(__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"));
8528
8529
  this.kupDataTableColumnMenu.emit({
8529
8530
  comp: this,
8530
8531
  id: this.rootElement.id,
8531
- card: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"),
8532
+ card: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"),
8532
8533
  event: null,
8533
8534
  open: false,
8534
8535
  });
@@ -8571,8 +8572,8 @@ const KupDataTable = class {
8571
8572
  * Closes the insert new record card (called by backend, on success)
8572
8573
  */
8573
8574
  async closeInsertCard() {
8574
- if (__classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f")) {
8575
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").remove();
8575
+ if (__classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f")) {
8576
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").remove();
8576
8577
  __classPrivateFieldSet$2(this, _KupDataTable_insertCard, null, "f");
8577
8578
  }
8578
8579
  }
@@ -8580,8 +8581,8 @@ const KupDataTable = class {
8580
8581
  * Closes the delete confirm card (called by backend, on success)
8581
8582
  */
8582
8583
  async closeConfirmDeleteCard() {
8583
- if (__classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteDialog, "f")) {
8584
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteDialog, "f").close();
8584
+ if (__classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteDialog, "f")) {
8585
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteDialog, "f").close();
8585
8586
  __classPrivateFieldSet$2(this, _KupDataTable_confirmDeleteCard, null, "f");
8586
8587
  __classPrivateFieldSet$2(this, _KupDataTable_confirmDeleteDialog, null, "f");
8587
8588
  }
@@ -8591,23 +8592,23 @@ const KupDataTable = class {
8591
8592
  */
8592
8593
  async getCards() {
8593
8594
  const obj = {};
8594
- if (__classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f")) {
8595
+ if (__classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f")) {
8595
8596
  obj['insertCard'] = {
8596
- el: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f"),
8597
- messageWrapper: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
8598
- message: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_ID, "f")),
8599
- submitButton: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
8600
- cancelButton: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
8601
- form: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_FIELDS_FORM_ID, "f")),
8597
+ el: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f"),
8598
+ messageWrapper: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
8599
+ message: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_ID, "f")),
8600
+ submitButton: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
8601
+ cancelButton: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
8602
+ form: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_FIELDS_FORM_ID, "f")),
8602
8603
  };
8603
8604
  }
8604
- if (__classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f")) {
8605
+ if (__classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f")) {
8605
8606
  obj['confirmDeleteCard'] = {
8606
- el: __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f"),
8607
- messageWrapper: __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
8608
- message: __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_ID, "f")),
8609
- submitButton: __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
8610
- cancelButton: __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
8607
+ el: __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f"),
8608
+ messageWrapper: __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
8609
+ message: __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_ID, "f")),
8610
+ submitButton: __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
8611
+ cancelButton: __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
8611
8612
  };
8612
8613
  }
8613
8614
  /*
@@ -8661,7 +8662,7 @@ const KupDataTable = class {
8661
8662
  * @param {KupDataColumn} column - Column to hide.
8662
8663
  */
8663
8664
  async hideColumn(column) {
8664
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").data.column.hide(this.data, [column.name]);
8665
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.column.hide(this.data, [column.name]);
8665
8666
  this.kupColumnRemove.emit({
8666
8667
  comp: this,
8667
8668
  id: this.rootElement.id,
@@ -8676,7 +8677,7 @@ const KupDataTable = class {
8676
8677
  * @returns {string|KupDataColumn} Returns the new column created or a string containing the error message if something went wrong.
8677
8678
  */
8678
8679
  async newColumn(type, options) {
8679
- const result = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").data.column.new(this.data, type, options);
8680
+ const result = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.column.new(this.data, type, options);
8680
8681
  this.refresh();
8681
8682
  return result;
8682
8683
  }
@@ -8686,40 +8687,40 @@ const KupDataTable = class {
8686
8687
  */
8687
8688
  async openColumnMenu(column) {
8688
8689
  this.columnMenuAnchor = column;
8689
- if (!__classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f")) {
8690
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f")) {
8690
8691
  __classPrivateFieldSet$2(this, _KupDataTable_columnMenuCard, document.createElement('kup-card'), "f");
8691
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
8692
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
8693
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").sizeX = 'auto';
8694
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").sizeY = 'auto';
8695
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-click', (e) => {
8692
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
8693
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
8694
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").sizeX = 'auto';
8695
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").sizeY = 'auto';
8696
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-click', (e) => {
8696
8697
  this.kupDataTableColumnMenu.emit({
8697
8698
  comp: this,
8698
8699
  id: this.rootElement.id,
8699
- card: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"),
8700
+ card: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"),
8700
8701
  event: e,
8701
- open: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").menuVisible,
8702
+ open: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").menuVisible,
8702
8703
  });
8703
8704
  });
8704
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-event', (e) => {
8705
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").eventHandlers(e, this);
8705
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-event', (e) => {
8706
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").eventHandlers(e, this);
8706
8707
  this.kupDataTableColumnMenu.emit({
8707
8708
  comp: this,
8708
8709
  id: this.rootElement.id,
8709
- card: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"),
8710
+ card: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"),
8710
8711
  event: e,
8711
- open: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").menuVisible,
8712
+ open: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").menuVisible,
8712
8713
  });
8713
8714
  });
8714
8715
  }
8715
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', column);
8716
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), column));
8717
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").open(this, column);
8718
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"));
8716
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', column);
8717
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), column));
8718
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").open(this, column);
8719
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"));
8719
8720
  this.kupDataTableColumnMenu.emit({
8720
8721
  comp: this,
8721
8722
  id: this.rootElement.id,
8722
- card: __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f"),
8723
+ card: __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f"),
8723
8724
  event: null,
8724
8725
  open: true,
8725
8726
  });
@@ -8729,7 +8730,7 @@ const KupDataTable = class {
8729
8730
  */
8730
8731
  async refresh(recalcRows) {
8731
8732
  if (recalcRows) {
8732
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
8733
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
8733
8734
  }
8734
8735
  index.forceUpdate(this);
8735
8736
  }
@@ -8738,8 +8739,8 @@ const KupDataTable = class {
8738
8739
  */
8739
8740
  async resizeCallback() {
8740
8741
  if (this.lazyLoadCells &&
8741
- this.rootElement.clientWidth !== __classPrivateFieldGet$2(this, _KupDataTable_oldWidth, "f")) {
8742
- window.clearTimeout(__classPrivateFieldGet$2(this, _KupDataTable_resizeTimeout, "f"));
8742
+ this.rootElement.clientWidth !== __classPrivateFieldGet$3(this, _KupDataTable_oldWidth, "f")) {
8743
+ window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_resizeTimeout, "f"));
8743
8744
  __classPrivateFieldSet$2(this, _KupDataTable_resizeTimeout, window.setTimeout(() => this.refresh(), 300), "f");
8744
8745
  }
8745
8746
  }
@@ -8754,7 +8755,7 @@ const KupDataTable = class {
8754
8755
  if (!column) {
8755
8756
  return;
8756
8757
  }
8757
- const row = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, rowId);
8758
+ const row = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, rowId);
8758
8759
  if (!row) {
8759
8760
  return;
8760
8761
  }
@@ -8812,7 +8813,7 @@ const KupDataTable = class {
8812
8813
  this.selectedRows = [];
8813
8814
  for (let index = 0; index < rowsIdentifiers.length; index++) {
8814
8815
  const id = rowsIdentifiers[index];
8815
- this.selectedRows.push(__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id));
8816
+ this.selectedRows.push(__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id));
8816
8817
  }
8817
8818
  if (emitEvent !== false) {
8818
8819
  this.kupRowSelected.emit({
@@ -8826,12 +8827,12 @@ const KupDataTable = class {
8826
8827
  }
8827
8828
  //---- Lifecycle hooks ----
8828
8829
  componentWillLoad() {
8829
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logLoad(this, false);
8830
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.register(this);
8831
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").theme.register(this);
8832
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").toolbar.register(this.rootElement);
8830
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logLoad(this, false);
8831
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.register(this);
8832
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.register(this);
8833
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").toolbar.register(this.rootElement);
8833
8834
  if (!this.emptyDataLabel) {
8834
- this.emptyDataLabel = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA);
8835
+ this.emptyDataLabel = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA);
8835
8836
  }
8836
8837
  __classPrivateFieldSet$2(this, _KupDataTable_columnMenuInstance, new KupColumnMenu(), "f");
8837
8838
  __classPrivateFieldSet$2(this, _KupDataTable_filtersColumnMenuInstance, new fPaginatorUtils.FiltersColumnMenu(), "f");
@@ -8855,18 +8856,18 @@ const KupDataTable = class {
8855
8856
  __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, 0, "f");
8856
8857
  }
8857
8858
  if (document.querySelector('.topbar')) {
8858
- __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$2(this, _KupDataTable_navBarHeight, "f") + document.querySelector('.topbar').clientHeight, "f");
8859
+ __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$3(this, _KupDataTable_navBarHeight, "f") + document.querySelector('.topbar').clientHeight, "f");
8859
8860
  }
8860
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_setObserver).call(this);
8861
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_setObserver).call(this);
8861
8862
  //this.recalculateRows();
8862
8863
  // Detects is the browser is Safari. If needed, this function can be moved into an external file and then imported into components
8863
8864
  __classPrivateFieldSet$2(this, _KupDataTable_isSafariBrowser, CSS.supports('position', '-webkit-sticky') ||
8864
8865
  !!(window && window.safari), "f");
8865
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
8866
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
8866
8867
  __classPrivateFieldSet$2(this, _KupDataTable_initialized, true, "f");
8867
8868
  }
8868
8869
  componentWillRender() {
8869
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logRender(this, false);
8870
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logRender(this, false);
8870
8871
  }
8871
8872
  componentDidRender() {
8872
8873
  const root = this.rootElement.shadowRoot;
@@ -8877,40 +8878,40 @@ const KupDataTable = class {
8877
8878
  }
8878
8879
  }
8879
8880
  if (this.showCustomization) {
8880
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_customizePanelPosition).call(this);
8881
- }
8882
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_totalMenuPosition).call(this);
8883
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_checkScrollOnHover).call(this);
8884
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_didRenderObservers).call(this);
8885
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_didRenderInteractables).call(this);
8886
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
8887
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_setDynPosElements).call(this);
8881
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_customizePanelPosition).call(this);
8882
+ }
8883
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_totalMenuPosition).call(this);
8884
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_checkScrollOnHover).call(this);
8885
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_didRenderObservers).call(this);
8886
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_didRenderInteractables).call(this);
8887
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
8888
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_setDynPosElements).call(this);
8888
8889
  if (this.headerIsPersistent &&
8889
8890
  this.tableHeight === undefined &&
8890
8891
  this.tableWidth === undefined) {
8891
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8892
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8892
8893
  }
8893
- setTimeout(() => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_updateFixedRowsAndColumnsCssVariables).call(this), 50);
8894
+ setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_updateFixedRowsAndColumnsCssVariables).call(this), 50);
8894
8895
  // *** Store
8895
8896
  if (this.lazyLoadCells) {
8896
8897
  this.persistState();
8897
8898
  }
8898
8899
  // ***
8899
8900
  __classPrivateFieldSet$2(this, _KupDataTable_oldWidth, this.rootElement.clientWidth, "f");
8900
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
8901
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
8901
8902
  }
8902
8903
  componentDidLoad() {
8903
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_didLoadObservers).call(this);
8904
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_didLoadEventHandling).call(this);
8905
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_didLoadInteractables).call(this);
8904
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_didLoadObservers).call(this);
8905
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_didLoadEventHandling).call(this);
8906
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_didLoadInteractables).call(this);
8906
8907
  this.lazyLoadCells = true;
8907
8908
  this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
8908
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").resize.observe(this.rootElement);
8909
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logLoad(this, true);
8909
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").resize.observe(this.rootElement);
8910
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logLoad(this, true);
8910
8911
  }
8911
8912
  resetCurrentPage() {
8912
8913
  this.currentPage = 1;
8913
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8914
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
8914
8915
  }
8915
8916
  getColumns() {
8916
8917
  return this.data && this.data.columns
@@ -8921,7 +8922,7 @@ const KupDataTable = class {
8921
8922
  // TODO: change into `visible ?? true` when TS dependency has been updated
8922
8923
  const visibleColumns = this.getColumns().filter(({ visible }) => visible !== undefined ? visible : true);
8923
8924
  // check grouping
8924
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
8925
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
8925
8926
  // filtering column based on group visibility
8926
8927
  return visibleColumns.filter((column) => {
8927
8928
  // check if in group
@@ -8945,7 +8946,7 @@ const KupDataTable = class {
8945
8946
  return visibleColumns;
8946
8947
  }
8947
8948
  getGroupByName(column) {
8948
- if (!__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
8949
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
8949
8950
  return null;
8950
8951
  }
8951
8952
  for (let group of this.groups) {
@@ -8956,7 +8957,7 @@ const KupDataTable = class {
8956
8957
  return null;
8957
8958
  }
8958
8959
  getColumnValues(column) {
8959
- return __classPrivateFieldGet$2(this, _KupDataTable_filtersRowsInstance, "f").getColumnValues(this, column, this.globalFilterValue, __classPrivateFieldGet$2(this, _KupDataTable_filtersColumnMenuInstance, "f"));
8960
+ return __classPrivateFieldGet$3(this, _KupDataTable_filtersRowsInstance, "f").getColumnValues(this, column, this.globalFilterValue, __classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f"));
8960
8961
  }
8961
8962
  getRows() {
8962
8963
  return this.data && this.data.rows ? this.data.rows : [];
@@ -8971,7 +8972,7 @@ const KupDataTable = class {
8971
8972
  }
8972
8973
  async defaultSortingFunction(columns, receivingColumnIndex, sortedColumnIndex, useNewObject = false) {
8973
8974
  const toSort = !useNewObject ? columns : [...columns];
8974
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, toSort, receivingColumnIndex, sortedColumnIndex);
8975
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, toSort, receivingColumnIndex, sortedColumnIndex);
8975
8976
  return toSort;
8976
8977
  }
8977
8978
  areTotalsSelected(column) {
@@ -8979,7 +8980,7 @@ const KupDataTable = class {
8979
8980
  }
8980
8981
  onTotalsChange(event, column) {
8981
8982
  // close menu
8982
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
8983
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
8983
8984
  if (column) {
8984
8985
  // must do this
8985
8986
  // otherwise does not fire the watcher
@@ -9002,14 +9003,14 @@ const KupDataTable = class {
9002
9003
  let selectRowCell = null;
9003
9004
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
9004
9005
  extraCells++;
9005
- const fixedCellStyle = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, extraCells);
9006
+ const fixedCellStyle = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, extraCells);
9006
9007
  selectRowCell = (index.h("td", { class: fixedCellStyle ? fixedCellStyle.fixedCellClasses : null, style: fixedCellStyle ? fixedCellStyle.fixedCellStyle : null }));
9007
9008
  }
9008
9009
  // Action cell
9009
9010
  let actionsCell = null;
9010
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
9011
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
9011
9012
  extraCells++;
9012
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, extraCells);
9013
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, extraCells);
9013
9014
  actionsCell = (index.h("td", { class: selectionStyleAndClass
9014
9015
  ? selectionStyleAndClass.fixedCellClasses
9015
9016
  : {}, style: selectionStyleAndClass
@@ -9017,19 +9018,19 @@ const KupDataTable = class {
9017
9018
  : {} }));
9018
9019
  }
9019
9020
  const footerCells = this.getVisibleColumns().map((column, columnIndex) => {
9020
- const fixedCellStyle = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, 0, extraCells);
9021
+ const fixedCellStyle = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, 0, extraCells);
9021
9022
  let totalMenu = undefined;
9022
9023
  let menuLabel = kupManager.TotalLabel.CALC;
9023
9024
  const translation = {
9024
- [kupManager.TotalLabel.AVERAGE]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.AVERAGE),
9025
- [kupManager.TotalLabel.CALC]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CALCULATE),
9026
- [kupManager.TotalLabel.CANC]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CANCEL),
9027
- [kupManager.TotalLabel.COUNT]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.COUNT),
9028
- [kupManager.TotalLabel.DISTINCT]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.DISTINCT),
9029
- [kupManager.TotalLabel.MATH]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.FORMULA),
9030
- [kupManager.TotalLabel.MAX]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MAXIMUM),
9031
- [kupManager.TotalLabel.MIN]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MINIMUM),
9032
- [kupManager.TotalLabel.SUM]: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.SUM),
9025
+ [kupManager.TotalLabel.AVERAGE]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.AVERAGE),
9026
+ [kupManager.TotalLabel.CALC]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CALCULATE),
9027
+ [kupManager.TotalLabel.CANC]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CANCEL),
9028
+ [kupManager.TotalLabel.COUNT]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.COUNT),
9029
+ [kupManager.TotalLabel.DISTINCT]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.DISTINCT),
9030
+ [kupManager.TotalLabel.MATH]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.FORMULA),
9031
+ [kupManager.TotalLabel.MAX]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MAXIMUM),
9032
+ [kupManager.TotalLabel.MIN]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MINIMUM),
9033
+ [kupManager.TotalLabel.SUM]: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageTotals.SUM),
9033
9034
  };
9034
9035
  if (this.totals) {
9035
9036
  const totalValue = this.totals[column.name];
@@ -9061,7 +9062,7 @@ const KupDataTable = class {
9061
9062
  }
9062
9063
  }
9063
9064
  }
9064
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isOpenedTotalMenuForColumn).call(this, column.name)) {
9065
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isOpenedTotalMenuForColumn).call(this, column.name)) {
9065
9066
  const listData = [
9066
9067
  {
9067
9068
  id: kupManager.TotalMode.COUNT,
@@ -9072,7 +9073,7 @@ const KupDataTable = class {
9072
9073
  value: translation[kupManager.TotalLabel.DISTINCT],
9073
9074
  },
9074
9075
  ];
9075
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
9076
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
9076
9077
  // TODO Move these objects in declarations
9077
9078
  listData.push({
9078
9079
  id: kupManager.TotalMode.SUM,
@@ -9089,7 +9090,7 @@ const KupDataTable = class {
9089
9090
  value: translation[kupManager.TotalLabel.MAX],
9090
9091
  });
9091
9092
  }
9092
- else if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9093
+ else if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9093
9094
  listData.push({
9094
9095
  id: kupManager.TotalMode.MIN,
9095
9096
  separator: true,
@@ -9114,14 +9115,14 @@ const KupDataTable = class {
9114
9115
  }
9115
9116
  // TODO please use getValueForDisplay
9116
9117
  let value;
9117
- const footerValue = __classPrivateFieldGet$2(this, _KupDataTable_footer, "f")[column.name];
9118
+ const footerValue = __classPrivateFieldGet$3(this, _KupDataTable_footer, "f")[column.name];
9118
9119
  if (menuLabel === kupManager.TotalLabel.COUNT ||
9119
9120
  menuLabel === kupManager.TotalLabel.DISTINCT) {
9120
9121
  value = footerValue;
9121
9122
  }
9122
9123
  else if ((menuLabel === kupManager.TotalLabel.MAX ||
9123
9124
  menuLabel === kupManager.TotalLabel.MIN) &&
9124
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9125
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9125
9126
  if (footerValue) {
9126
9127
  value = footerValue;
9127
9128
  }
@@ -9145,38 +9146,38 @@ const KupDataTable = class {
9145
9146
  let transpose = undefined;
9146
9147
  let totalsMatrix = undefined;
9147
9148
  if (this.openedCustomSettings) {
9148
- density = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderDensityPanel).call(this);
9149
- fontsize = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderFontSizePanel).call(this);
9150
- grid = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderGridPanel).call(this);
9151
- transpose = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderTransposeSwitch).call(this);
9149
+ density = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderDensityPanel).call(this);
9150
+ fontsize = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderFontSizePanel).call(this);
9151
+ grid = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderGridPanel).call(this);
9152
+ transpose = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderTransposeSwitch).call(this);
9152
9153
  if (this.totals && this.groups.length > 0) {
9153
- totalsMatrix = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderTotalsMatrix).call(this);
9154
+ totalsMatrix = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderTotalsMatrix).call(this);
9154
9155
  }
9155
9156
  }
9156
9157
  return (index.h("kup-card", { customStyle: "::slotted(kup-switch) { width: max-content !important; } ::slotted(*) { margin: auto !important; } ::slotted(.customize-element) { margin: auto !important; padding: 0 1em 1em 1em !important; width: max-content !important; } ::slotted(.customize-element):nth-child(1) { padding-top: 1em !important; }", isMenu: true, layoutFamily: kupManager.KupCardFamily.FREE, ref: (el) => {
9157
9158
  __classPrivateFieldSet$2(this, _KupDataTable_customizeTopPanelRef, el, "f");
9158
- }, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, index.h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), index.h("kup-switch", { class: "customize-element", checked: this.editableData, label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), index.h("kup-button", { title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOGGLE) +
9159
+ }, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, index.h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), index.h("kup-switch", { class: "customize-element", checked: this.editableData, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), index.h("kup-button", { title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOGGLE) +
9159
9160
  ' Magic Box ' +
9160
9161
  '(' +
9161
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9162
- ')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), totalsMatrix));
9162
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9163
+ ')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), totalsMatrix));
9163
9164
  }
9164
9165
  render() {
9165
9166
  __classPrivateFieldSet$2(this, _KupDataTable_thRefs, [], "f");
9166
9167
  __classPrivateFieldSet$2(this, _KupDataTable_rowsRefs, [], "f");
9167
9168
  __classPrivateFieldSet$2(this, _KupDataTable_renderedRows, [], "f");
9168
9169
  let elStyle = undefined;
9169
- __classPrivateFieldSet$2(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
9170
+ __classPrivateFieldSet$2(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
9170
9171
  let rows = null;
9171
- if (__classPrivateFieldGet$2(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
9172
- rows = (index.h("tr", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { colSpan: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
9172
+ if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
9173
+ rows = (index.h("tr", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
9173
9174
  }
9174
9175
  else {
9175
9176
  rows = [];
9176
- __classPrivateFieldGet$2(this, _KupDataTable_paginatedRows, "f")
9177
+ __classPrivateFieldGet$3(this, _KupDataTable_paginatedRows, "f")
9177
9178
  // We must pass the previous element of the array to check if we must hide or display the value of the cell
9178
9179
  // When the column has specified the parameter hideValuesRepetitions
9179
- .map((row, rowIndex, currentArray) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, 0, rowIndex + 1, rowIndex > 0 ? currentArray[rowIndex - 1] : null))
9180
+ .map((row, rowIndex, currentArray) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, 0, rowIndex + 1, rowIndex > 0 ? currentArray[rowIndex - 1] : null))
9180
9181
  .forEach((jsxRow) => {
9181
9182
  if (Array.isArray(jsxRow)) {
9182
9183
  jsxRow.forEach((jr) => rows.push(jr));
@@ -9188,24 +9189,24 @@ const KupDataTable = class {
9188
9189
  }
9189
9190
  // header
9190
9191
  // for multi selection purposes, this should be called before this.renderedRows has been evaluated
9191
- const header = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderHeader).call(this);
9192
- const stickyHeader = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderStickyHeader).call(this);
9192
+ const header = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderHeader).call(this);
9193
+ const stickyHeader = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderStickyHeader).call(this);
9193
9194
  let paginatorTop = undefined;
9194
9195
  let paginatorBottom = undefined;
9195
- if ((!this.lazyLoadRows && __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ||
9196
+ if ((!this.lazyLoadRows && __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ||
9196
9197
  this.showCustomization ||
9197
9198
  this.showLoadMore) {
9198
9199
  if (kupManager.PaginatorPos.TOP === this.paginatorPos ||
9199
9200
  kupManager.PaginatorPos.BOTH === this.paginatorPos) {
9200
- paginatorTop = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, true);
9201
+ paginatorTop = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, true);
9201
9202
  }
9202
9203
  if (kupManager.PaginatorPos.BOTTOM === this.paginatorPos ||
9203
9204
  kupManager.PaginatorPos.BOTH === this.paginatorPos) {
9204
- paginatorBottom = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, false);
9205
+ paginatorBottom = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, false);
9205
9206
  }
9206
9207
  }
9207
9208
  let groupChips = null;
9208
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9209
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9209
9210
  const chipsData = [];
9210
9211
  for (let index = 0; index < this.groups.length; index++) {
9211
9212
  const group = this.groups[index];
@@ -9218,7 +9219,7 @@ const KupDataTable = class {
9218
9219
  });
9219
9220
  }
9220
9221
  else {
9221
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Grouped for a non-existent column! (' +
9222
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Grouped for a non-existent column! (' +
9222
9223
  group.column +
9223
9224
  ')', kupManager.KupDebugCategory.WARNING);
9224
9225
  }
@@ -9231,7 +9232,7 @@ const KupDataTable = class {
9231
9232
  onIconClick: [],
9232
9233
  };
9233
9234
  for (let i = 0; i < chipsData.length; i++) {
9234
- props.onIconClick.push(() => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
9235
+ props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
9235
9236
  }
9236
9237
  groupChips = index.h(fChip.FChip, Object.assign({}, props));
9237
9238
  }
@@ -9239,7 +9240,7 @@ const KupDataTable = class {
9239
9240
  const tableClass = {
9240
9241
  // Class to specify whether the table should have width: auto or not.
9241
9242
  // Mandatory to check with custom column size.
9242
- 'auto-width': __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_tableHasAutoWidth).call(this),
9243
+ 'auto-width': __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_tableHasAutoWidth).call(this),
9243
9244
  'column-separation': kupManager.ShowGrid.COMPLETE === this.showGrid ||
9244
9245
  kupManager.ShowGrid.COL === this.showGrid,
9245
9246
  // When there are columns with a specified width, we must add table-layout: fixed to force the table to respect them
@@ -9289,17 +9290,17 @@ const KupDataTable = class {
9289
9290
  }
9290
9291
  }
9291
9292
  };
9292
- const compCreated = (index.h(index.Host, { "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, index.h("style", null, __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h("div", { class: "above-wrapper" }, this.globalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
9293
+ const compCreated = (index.h(index.Host, { "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, index.h("style", null, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h("div", { class: "above-wrapper" }, this.globalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
9293
9294
  const t = event.target;
9294
- window.clearTimeout(__classPrivateFieldGet$2(this, _KupDataTable_globalFilterTimeout, "f"));
9295
- __classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
9295
+ window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
9296
+ __classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
9296
9297
  } }))) : null, paginatorTop), index.h("div", { class: "group-wrapper" }, groupChips), index.h("div", { class: "actions-wrapper" }, this.insertMode !== '' ? (index.h(fButton.FButton, { icon: "plus", onClick: async () => {
9297
9298
  var _a;
9298
9299
  if (this.insertMode === 'form') {
9299
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_rowInsertForm).call(this);
9300
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_rowInsertForm).call(this);
9300
9301
  }
9301
9302
  else {
9302
- __classPrivateFieldSet$2(this, _KupDataTable_insertCount, (_a = __classPrivateFieldGet$2(this, _KupDataTable_insertCount, "f"), _a++, _a), "f");
9303
+ __classPrivateFieldSet$2(this, _KupDataTable_insertCount, (_a = __classPrivateFieldGet$3(this, _KupDataTable_insertCount, "f"), _a++, _a), "f");
9303
9304
  const cells = {};
9304
9305
  for (let index = 0; index < this.data.columns.length; index++) {
9305
9306
  const column = this.data.columns[index];
@@ -9313,8 +9314,8 @@ const KupDataTable = class {
9313
9314
  }
9314
9315
  const row = {
9315
9316
  cells,
9316
- id: __classPrivateFieldGet$2(this, _KupDataTable_INSERT_PREFIX, "f") +
9317
- __classPrivateFieldGet$2(this, _KupDataTable_insertCount, "f"),
9317
+ id: __classPrivateFieldGet$3(this, _KupDataTable_INSERT_PREFIX, "f") +
9318
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCount, "f"),
9318
9319
  };
9319
9320
  this.data.rows.unshift(row);
9320
9321
  await this.refresh(true);
@@ -9328,13 +9329,13 @@ const KupDataTable = class {
9328
9329
  });
9329
9330
  }, styling: fButtonDeclarations.FButtonStyling.OUTLINED, title: "Save", wrapperClass: "save-button" })) : null, this.showDeleteButton &&
9330
9331
  this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "delete", onClick: () => {
9331
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_rowsDelete).call(this);
9332
- }, styling: fButtonDeclarations.FButtonStyling.OUTLINED, title: "Delete selected rows", wrapperClass: "delete-button" })) : null), index.h("div", { class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
9333
- ? __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
9332
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_rowsDelete).call(this);
9333
+ }, styling: fButtonDeclarations.FButtonStyling.OUTLINED, title: "Delete selected rows", wrapperClass: "delete-button" })) : null), index.h("div", { class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
9334
+ ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
9334
9335
  : null), index.h("div", { style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
9335
9336
  ? [
9336
9337
  index.h("div", { class: "settings-trigger", onClick: () => {
9337
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
9338
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
9338
9339
  }, ref: (el) => {
9339
9340
  __classPrivateFieldSet$2(this, _KupDataTable_customizeTopButtonRef, el, "f");
9340
9341
  } }, index.h(fImage.FImage, { color: `var(${kupManager.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
@@ -9344,29 +9345,29 @@ const KupDataTable = class {
9344
9345
  ev.stopPropagation();
9345
9346
  }, onContextMenu: (e) => {
9346
9347
  e.preventDefault();
9347
- } }, index.h("thead", { hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", null, header)), index.h("tbody", null, rows), this.showFooter || __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
9348
+ } }, index.h("thead", { hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", null, header)), index.h("tbody", null, rows), this.showFooter || __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
9348
9349
  ? this.renderFooter()
9349
9350
  : null), stickyEl), paginatorBottom)));
9350
9351
  return compCreated;
9351
9352
  }
9352
9353
  disconnectedCallback() {
9353
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet$2(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet$2(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet$2(this, _KupDataTable_interactableTouch, "f")));
9354
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.unregister(this);
9355
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").theme.unregister(this);
9354
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet$3(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet$3(this, _KupDataTable_interactableTouch, "f")));
9355
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.unregister(this);
9356
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.unregister(this);
9356
9357
  const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupManager.kupDynamicPositionAttribute + ']');
9357
9358
  if (dynamicPositionElements.length > 0) {
9358
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
9359
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
9359
9360
  }
9360
- if (__classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f")) {
9361
- __classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f").remove();
9361
+ if (__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f")) {
9362
+ __classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f").remove();
9362
9363
  }
9363
- if (__classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f")) {
9364
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").remove();
9364
+ if (__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f")) {
9365
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").remove();
9365
9366
  }
9366
9367
  if (this.scrollOnHover) {
9367
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f"));
9368
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f"));
9368
9369
  }
9369
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").resize.unobserve(this.rootElement);
9370
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").resize.unobserve(this.rootElement);
9370
9371
  this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
9371
9372
  }
9372
9373
  get rootElement() { return index.getElement(this); }
@@ -9387,16 +9388,16 @@ const KupDataTable = class {
9387
9388
  }; }
9388
9389
  };
9389
9390
  _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_customizeTopButtonRef = new WeakMap(), _KupDataTable_customizeTopPanelRef = new WeakMap(), _KupDataTable_sizedColumns = new WeakMap(), _KupDataTable_intObserver = new WeakMap(), _KupDataTable_navBarHeight = new WeakMap(), _KupDataTable_theadIntersecting = new WeakMap(), _KupDataTable_tableIntersecting = new WeakMap(), _KupDataTable_isSafariBrowser = new WeakMap(), _KupDataTable_isRestoringState = new WeakMap(), _KupDataTable_globalFilterTimeout = new WeakMap(), _KupDataTable_totalMenuCoords = new WeakMap(), _KupDataTable_clickTimeout = new WeakMap(), _KupDataTable_thRefs = new WeakMap(), _KupDataTable_rowsRefs = new WeakMap(), _KupDataTable_oldWidth = new WeakMap(), _KupDataTable_hold = new WeakMap(), _KupDataTable_interactableDrag = new WeakMap(), _KupDataTable_interactableDrop = new WeakMap(), _KupDataTable_interactableResize = new WeakMap(), _KupDataTable_interactableTouch = new WeakMap(), _KupDataTable_dropareaRef = new WeakMap(), _KupDataTable_removeDropareaRef = new WeakMap(), _KupDataTable_groupsDropareaRef = new WeakMap(), _KupDataTable_clickCb = new WeakMap(), _KupDataTable_clickCbCustomPanel = new WeakMap(), _KupDataTable_clickCbDropCard = new WeakMap(), _KupDataTable_resizeTimeout = new WeakMap(), _KupDataTable_columnMenuInstance = new WeakMap(), _KupDataTable_filtersColumnMenuInstance = new WeakMap(), _KupDataTable_filtersRowsInstance = new WeakMap(), _KupDataTable_detailCard = new WeakMap(), _KupDataTable_insertCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_BUTTON_CANCEL_ID = new WeakMap(), _KupDataTable_BUTTON_SUBMIT_ID = new WeakMap(), _KupDataTable_FIELDS_FORM_ID = new WeakMap(), _KupDataTable_MESSAGE_ID = new WeakMap(), _KupDataTable_MESSAGE_WRAPPER_ID = new WeakMap(), _KupDataTable_INSERT_PREFIX = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_FONTSIZE_CODES = new WeakMap(), _KupDataTable_FONTSIZE_DECODES = new WeakMap(), _KupDataTable_FONTSIZE_ICONS = new WeakMap(), _KupDataTable_DENSITY_DECODES = new WeakMap(), _KupDataTable_DENSITY_ICONS = new WeakMap(), _KupDataTable_GRID_CODES = new WeakMap(), _KupDataTable_GRID_DECODES = new WeakMap(), _KupDataTable_GRID_ICONS = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_closeDropCard = function _KupDataTable_closeDropCard() {
9390
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f"));
9391
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCbDropCard, "f"));
9392
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").remove();
9391
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"));
9392
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbDropCard, "f"));
9393
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").remove();
9393
9394
  __classPrivateFieldSet$2(this, _KupDataTable_columnDropCard, null, "f");
9394
9395
  }, _KupDataTable_createDropCard = function _KupDataTable_createDropCard(starter, receiving) {
9395
- if (__classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f")) {
9396
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9396
+ if (__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f")) {
9397
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9397
9398
  }
9398
9399
  __classPrivateFieldSet$2(this, _KupDataTable_columnDropCard, document.createElement('kup-card'), "f");
9399
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").data = {
9400
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").data = {
9400
9401
  options: {
9401
9402
  data: this.data,
9402
9403
  enableFormula: this.enableColumnsFormula,
@@ -9405,46 +9406,46 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9405
9406
  receivingColumn: receiving,
9406
9407
  starterColumn: starter,
9407
9408
  formulaCb: () => {
9408
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9409
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9409
9410
  this.refresh();
9410
9411
  },
9411
9412
  mergeCb: () => {
9412
9413
  this.newColumn(kupManager.KupDataNewColumnTypes.CONCATENATE, {
9413
9414
  columns: [receiving.name, starter.name],
9414
9415
  });
9415
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9416
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9416
9417
  },
9417
9418
  moveCb: () => {
9418
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
9419
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9419
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
9420
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9420
9421
  },
9421
9422
  },
9422
9423
  };
9423
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").layoutFamily = kupManager.KupCardFamily.BUILT_IN;
9424
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").layoutNumber = 3;
9425
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").isMenu = true;
9426
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").sizeX = '280px';
9427
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").sizeY = 'auto';
9428
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f"), __classPrivateFieldGet$2(this, _KupDataTable_columnDropCardAnchor, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
9429
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f"));
9424
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").layoutFamily = kupManager.KupCardFamily.BUILT_IN;
9425
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").layoutNumber = 3;
9426
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").isMenu = true;
9427
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").sizeX = '280px';
9428
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").sizeY = 'auto';
9429
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"), __classPrivateFieldGet$3(this, _KupDataTable_columnDropCardAnchor, "f"), 0, kupManager.KupDynamicPositionPlacement.AUTO, true);
9430
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"));
9430
9431
  __classPrivateFieldSet$2(this, _KupDataTable_clickCbDropCard, {
9431
9432
  cb: () => {
9432
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9433
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
9433
9434
  },
9434
- el: __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f"),
9435
+ el: __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"),
9435
9436
  }, "f");
9436
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCbDropCard, "f"), true);
9437
- __classPrivateFieldGet$2(this, _KupDataTable_columnDropCard, "f").menuVisible = true;
9437
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbDropCard, "f"), true);
9438
+ __classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").menuVisible = true;
9438
9439
  }, _KupDataTable_calculateData = function _KupDataTable_calculateData() {
9439
9440
  if (!this.transpose) {
9440
9441
  // restore
9441
- if (__classPrivateFieldGet$2(this, _KupDataTable_originalData, "f")) {
9442
- this.data = Object.assign({}, __classPrivateFieldGet$2(this, _KupDataTable_originalData, "f"));
9442
+ if (__classPrivateFieldGet$3(this, _KupDataTable_originalData, "f")) {
9443
+ this.data = Object.assign({}, __classPrivateFieldGet$3(this, _KupDataTable_originalData, "f"));
9443
9444
  }
9444
9445
  }
9445
9446
  else {
9446
9447
  // transpose
9447
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_setTransposedData).call(this);
9448
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_setTransposedData).call(this);
9448
9449
  }
9449
9450
  }, _KupDataTable_getRow = function _KupDataTable_getRow(id) {
9450
9451
  let row = null;
@@ -9461,26 +9462,26 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9461
9462
  row = rows.find((row) => row.id === id);
9462
9463
  }
9463
9464
  };
9464
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) && typeof id === 'string') {
9465
- __classPrivateFieldGet$2(this, _KupDataTable_paginatedRows, "f").forEach((row) => search(row.group.children));
9465
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) && typeof id === 'string') {
9466
+ __classPrivateFieldGet$3(this, _KupDataTable_paginatedRows, "f").forEach((row) => search(row.group.children));
9466
9467
  }
9467
9468
  else {
9468
- test(__classPrivateFieldGet$2(this, _KupDataTable_rows, "f"));
9469
+ test(__classPrivateFieldGet$3(this, _KupDataTable_rows, "f"));
9469
9470
  }
9470
9471
  return row;
9471
9472
  }, _KupDataTable_getTransposedData = function _KupDataTable_getTransposedData(column) {
9472
9473
  if (column) {
9473
9474
  this.filters = {};
9474
9475
  }
9475
- return __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").data.transpose(this.data, column);
9476
+ return __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.transpose(this.data, column);
9476
9477
  }, _KupDataTable_setTransposedData = function _KupDataTable_setTransposedData() {
9477
9478
  // transpose
9478
9479
  __classPrivateFieldSet$2(this, _KupDataTable_originalData, Object.assign({}, this.data), "f");
9479
9480
  if (this.data.columns.length > 0) {
9480
- this.data = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this, this.data.columns[0].name);
9481
+ this.data = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this, this.data.columns[0].name);
9481
9482
  }
9482
9483
  }, _KupDataTable_switchToTotalsMatrix = function _KupDataTable_switchToTotalsMatrix() {
9483
- if (__classPrivateFieldGet$2(this, _KupDataTable_rows, "f").length === 0 || !__classPrivateFieldGet$2(this, _KupDataTable_rows, "f")[0].group)
9484
+ if (__classPrivateFieldGet$3(this, _KupDataTable_rows, "f").length === 0 || !__classPrivateFieldGet$3(this, _KupDataTable_rows, "f")[0].group)
9484
9485
  return;
9485
9486
  // calc totals matrix data
9486
9487
  const totalsMatrixData = {};
@@ -9488,9 +9489,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9488
9489
  // note that the sorting of the columns depends on the totals selection
9489
9490
  // the first column is the one that is selected first in the totals, and so on...
9490
9491
  const ids = [];
9491
- ids.push(__classPrivateFieldGet$2(this, _KupDataTable_rows, "f")[0].group.column);
9492
- Object.keys(__classPrivateFieldGet$2(this, _KupDataTable_rows, "f")[0].group.totals).forEach((columnKey) => {
9493
- if (__classPrivateFieldGet$2(this, _KupDataTable_rows, "f")[0].group.column !== columnKey)
9492
+ ids.push(__classPrivateFieldGet$3(this, _KupDataTable_rows, "f")[0].group.column);
9493
+ Object.keys(__classPrivateFieldGet$3(this, _KupDataTable_rows, "f")[0].group.totals).forEach((columnKey) => {
9494
+ if (__classPrivateFieldGet$3(this, _KupDataTable_rows, "f")[0].group.column !== columnKey)
9494
9495
  ids.push(columnKey);
9495
9496
  });
9496
9497
  // calc columns
@@ -9520,7 +9521,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9520
9521
  totalMode + ' ' + currentColumn.title;
9521
9522
  }
9522
9523
  }
9523
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_setObjForTotalsMatrix).call(this, currentColumn, this.totals);
9524
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_setObjForTotalsMatrix).call(this, currentColumn, this.totals);
9524
9525
  }
9525
9526
  totalsMatrixColumns.push(currentColumn);
9526
9527
  }
@@ -9531,15 +9532,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9531
9532
  // calc rows
9532
9533
  const totalsMatrixRows = [];
9533
9534
  let index = 0;
9534
- __classPrivateFieldGet$2(this, _KupDataTable_rows, "f").forEach((row) => {
9535
+ __classPrivateFieldGet$3(this, _KupDataTable_rows, "f").forEach((row) => {
9535
9536
  const cells = {};
9536
9537
  ids.forEach((id) => {
9537
9538
  let totalValue = row.group.totals[id];
9538
9539
  if (!totalValue) {
9539
9540
  totalValue = row.group.id;
9540
9541
  }
9541
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dates.isValid(totalValue, kupManager.KupDatesFormats.ISO_DATE)) {
9542
- totalValue = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
9542
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dates.isValid(totalValue, kupManager.KupDatesFormats.ISO_DATE)) {
9543
+ totalValue = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
9543
9544
  }
9544
9545
  cells[id] = {
9545
9546
  value: String(totalValue),
@@ -9579,13 +9580,13 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9579
9580
  }, _KupDataTable_setObjForTotalsMatrix = function _KupDataTable_setObjForTotalsMatrix(column, totals) {
9580
9581
  const obj = column.obj;
9581
9582
  const totalMode = totals[column.name];
9582
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isDate(obj)) {
9583
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isDate(obj)) {
9583
9584
  // check if min or max totals mode
9584
9585
  if (totalMode === kupManager.TotalMode.MAX || totalMode === kupManager.TotalMode.MIN) {
9585
9586
  return;
9586
9587
  }
9587
9588
  }
9588
- else if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isNumber(obj)) {
9589
+ else if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isNumber(obj)) {
9589
9590
  // check if percentage
9590
9591
  if (obj.p && obj.p.toUpperCase() === 'P') {
9591
9592
  if (totalMode !== kupManager.TotalMode.COUNT &&
@@ -9613,14 +9614,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9613
9614
  __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, 0, "f");
9614
9615
  }
9615
9616
  if (topBar) {
9616
- __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$2(this, _KupDataTable_navBarHeight, "f") + topBar.clientHeight, "f");
9617
- }
9618
- if (__classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f")) {
9619
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").style.top = __classPrivateFieldGet$2(this, _KupDataTable_navBarHeight, "f") + 'px';
9620
- const widthTable = __classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f").offsetWidth;
9621
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").style.maxWidth = widthTable + 'px';
9622
- const thCollection = __classPrivateFieldGet$2(this, _KupDataTable_theadRef, "f").querySelectorAll('th');
9623
- const thStickyCollection = __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").querySelectorAll('th-sticky');
9617
+ __classPrivateFieldSet$2(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$3(this, _KupDataTable_navBarHeight, "f") + topBar.clientHeight, "f");
9618
+ }
9619
+ if (__classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f")) {
9620
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").style.top = __classPrivateFieldGet$3(this, _KupDataTable_navBarHeight, "f") + 'px';
9621
+ const widthTable = __classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f").offsetWidth;
9622
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").style.maxWidth = widthTable + 'px';
9623
+ const thCollection = __classPrivateFieldGet$3(this, _KupDataTable_theadRef, "f").querySelectorAll('th');
9624
+ const thStickyCollection = __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").querySelectorAll('th-sticky');
9624
9625
  for (let i = 0; i < thCollection.length; i++) {
9625
9626
  const widthTH = thCollection[i].offsetWidth;
9626
9627
  thStickyCollection[i].style.width = widthTH + 'px';
@@ -9631,8 +9632,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9631
9632
  entries.forEach((entry) => {
9632
9633
  if (entry.target.tagName === 'TR') {
9633
9634
  if (entry.isIntersecting) {
9634
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
9635
- const delta = __classPrivateFieldGet$2(this, _KupDataTable_rows, "f").length - this.currentRowsPerPage;
9635
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
9636
+ const delta = __classPrivateFieldGet$3(this, _KupDataTable_rows, "f").length - this.currentRowsPerPage;
9636
9637
  if (delta < this.loadMoreStep) {
9637
9638
  this.currentRowsPerPage += delta;
9638
9639
  }
@@ -9646,7 +9647,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9646
9647
  if (entry.isIntersecting) {
9647
9648
  __classPrivateFieldSet$2(this, _KupDataTable_theadIntersecting, true, "f");
9648
9649
  }
9649
- else if (entry.boundingClientRect.bottom > __classPrivateFieldGet$2(this, _KupDataTable_navBarHeight, "f")) {
9650
+ else if (entry.boundingClientRect.bottom > __classPrivateFieldGet$3(this, _KupDataTable_navBarHeight, "f")) {
9650
9651
  //If the thead is not intersecting but it still is inside the viewport, is to be considered intersected
9651
9652
  __classPrivateFieldSet$2(this, _KupDataTable_theadIntersecting, true, "f");
9652
9653
  }
@@ -9665,19 +9666,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9665
9666
  if (this.tableHeight === undefined &&
9666
9667
  this.tableWidth === undefined &&
9667
9668
  this.headerIsPersistent) {
9668
- __classPrivateFieldGet$2(this, _KupDataTable_stickyHeaderPosition, "f").call(this);
9669
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyHeaderPosition, "f").call(this);
9669
9670
  }
9670
9671
  });
9671
9672
  };
9672
9673
  const options = {
9673
9674
  threshold: 0,
9674
- rootMargin: '-' + __classPrivateFieldGet$2(this, _KupDataTable_navBarHeight, "f") + 'px 0px 0px 0px',
9675
+ rootMargin: '-' + __classPrivateFieldGet$3(this, _KupDataTable_navBarHeight, "f") + 'px 0px 0px 0px',
9675
9676
  };
9676
9677
  __classPrivateFieldSet$2(this, _KupDataTable_intObserver, new IntersectionObserver(callback, options), "f");
9677
9678
  }, _KupDataTable_didLoadInteractables = function _KupDataTable_didLoadInteractables() {
9678
- __classPrivateFieldGet$2(this, _KupDataTable_interactableTouch, "f").push(__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"));
9679
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableTouch, "f").push(__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"));
9679
9680
  const tapCb = (e) => {
9680
- if (__classPrivateFieldGet$2(this, _KupDataTable_hold, "f")) {
9681
+ if (__classPrivateFieldGet$3(this, _KupDataTable_hold, "f")) {
9681
9682
  __classPrivateFieldSet$2(this, _KupDataTable_hold, false, "f");
9682
9683
  return;
9683
9684
  }
@@ -9690,11 +9691,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9690
9691
  for (const key in e) {
9691
9692
  clone[key] = e[key];
9692
9693
  }
9693
- __classPrivateFieldGet$2(this, _KupDataTable_clickTimeout, "f").push(setTimeout(() => {
9694
+ __classPrivateFieldGet$3(this, _KupDataTable_clickTimeout, "f").push(setTimeout(() => {
9694
9695
  this.kupDataTableClick.emit({
9695
9696
  comp: this,
9696
9697
  id: this.rootElement.id,
9697
- details: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_clickHandler).call(this, clone),
9698
+ details: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_clickHandler).call(this, clone),
9698
9699
  });
9699
9700
  }, 300));
9700
9701
  break;
@@ -9703,7 +9704,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9703
9704
  this.kupDataTableContextMenu.emit({
9704
9705
  comp: this,
9705
9706
  id: this.rootElement.id,
9706
- details: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
9707
+ details: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
9707
9708
  });
9708
9709
  break;
9709
9710
  }
@@ -9712,17 +9713,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9712
9713
  switch (e.button) {
9713
9714
  // left click
9714
9715
  case 0:
9715
- for (let index = 0; index < __classPrivateFieldGet$2(this, _KupDataTable_clickTimeout, "f").length; index++) {
9716
- clearTimeout(__classPrivateFieldGet$2(this, _KupDataTable_clickTimeout, "f")[index]);
9717
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Cleared clickHandler timeout(' +
9718
- __classPrivateFieldGet$2(this, _KupDataTable_clickTimeout, "f")[index] +
9716
+ for (let index = 0; index < __classPrivateFieldGet$3(this, _KupDataTable_clickTimeout, "f").length; index++) {
9717
+ clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_clickTimeout, "f")[index]);
9718
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Cleared clickHandler timeout(' +
9719
+ __classPrivateFieldGet$3(this, _KupDataTable_clickTimeout, "f")[index] +
9719
9720
  ').');
9720
9721
  }
9721
9722
  __classPrivateFieldSet$2(this, _KupDataTable_clickTimeout, [], "f");
9722
9723
  this.kupDataTableDblClick.emit({
9723
9724
  comp: this,
9724
9725
  id: this.rootElement.id,
9725
- details: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_dblClickHandler).call(this, e),
9726
+ details: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_dblClickHandler).call(this, e),
9726
9727
  });
9727
9728
  break;
9728
9729
  }
@@ -9733,40 +9734,40 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9733
9734
  this.kupDataTableContextMenu.emit({
9734
9735
  comp: this,
9735
9736
  id: this.rootElement.id,
9736
- details: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
9737
+ details: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
9737
9738
  });
9738
9739
  }
9739
9740
  };
9740
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.TAP, tapCb);
9741
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.DOUBLETAP, doubletapCb);
9742
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.HOLD, holdCb);
9741
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.TAP, tapCb);
9742
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.DOUBLETAP, doubletapCb);
9743
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"), kupManager.KupPointerEventTypes.HOLD, holdCb);
9743
9744
  }, _KupDataTable_didRenderInteractables = function _KupDataTable_didRenderInteractables() {
9744
9745
  if (this.showGroups) {
9745
- if (!__classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$2(this, _KupDataTable_groupsDropareaRef, "f"))) {
9746
- __classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$2(this, _KupDataTable_groupsDropareaRef, "f"));
9747
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$2(this, _KupDataTable_groupsDropareaRef, "f"), {
9746
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$3(this, _KupDataTable_groupsDropareaRef, "f"))) {
9747
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$3(this, _KupDataTable_groupsDropareaRef, "f"));
9748
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$3(this, _KupDataTable_groupsDropareaRef, "f"), {
9748
9749
  accept: `[${kupManager.kupDraggableColumnAttr}]`,
9749
9750
  }, null, {
9750
9751
  drop: (e) => {
9751
9752
  const draggedTh = e.relatedTarget;
9752
9753
  const grouped = kupManager.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9753
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnGroup).call(this, grouped);
9754
- __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9754
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnGroup).call(this, grouped);
9755
+ __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9755
9756
  },
9756
9757
  });
9757
9758
  }
9758
9759
  }
9759
9760
  if (this.removableColumns) {
9760
- if (!__classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$2(this, _KupDataTable_removeDropareaRef, "f"))) {
9761
- __classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$2(this, _KupDataTable_removeDropareaRef, "f"));
9762
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$2(this, _KupDataTable_removeDropareaRef, "f"), {
9761
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$3(this, _KupDataTable_removeDropareaRef, "f"))) {
9762
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$3(this, _KupDataTable_removeDropareaRef, "f"));
9763
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$3(this, _KupDataTable_removeDropareaRef, "f"), {
9763
9764
  accept: `[${kupManager.kupDraggableColumnAttr}]`,
9764
9765
  }, null, {
9765
9766
  drop: (e) => {
9766
9767
  const draggedTh = e.relatedTarget;
9767
9768
  const deleted = kupManager.getColumnByName(this.getColumns(), draggedTh.dataset.column);
9768
9769
  this.hideColumn(deleted);
9769
- __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9770
+ __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9770
9771
  },
9771
9772
  });
9772
9773
  }
@@ -9799,7 +9800,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9799
9800
  __classPrivateFieldSet$2(this, _KupDataTable_columnDropCardAnchor, e.target, "f");
9800
9801
  if (receiving && starter) {
9801
9802
  if (onlySort) {
9802
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
9803
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
9803
9804
  }
9804
9805
  else if (onlyMerge) {
9805
9806
  this.newColumn(kupManager.KupDataNewColumnTypes.CONCATENATE, {
@@ -9807,17 +9808,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9807
9808
  });
9808
9809
  }
9809
9810
  else {
9810
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_createDropCard).call(this, starter, receiving);
9811
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_createDropCard).call(this, starter, receiving);
9811
9812
  }
9812
9813
  }
9813
- __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9814
+ __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").removeAttribute(kupManager.kupDragActiveAttr);
9814
9815
  };
9815
9816
  const startCb = (e) => {
9816
9817
  const draggable = e.target;
9817
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, true, draggable);
9818
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, true, draggable);
9818
9819
  };
9819
9820
  const endCb = () => {
9820
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
9821
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
9821
9822
  };
9822
9823
  const dropCallbacks = {
9823
9824
  drop: dropCb,
@@ -9826,14 +9827,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9826
9827
  start: startCb,
9827
9828
  end: endCb,
9828
9829
  };
9829
- for (let index = 0; index < __classPrivateFieldGet$2(this, _KupDataTable_thRefs, "f").length; index++) {
9830
- const th = __classPrivateFieldGet$2(this, _KupDataTable_thRefs, "f")[index];
9831
- if (th && !__classPrivateFieldGet$2(this, _KupDataTable_interactableDrag, "f").includes(th)) {
9832
- __classPrivateFieldGet$2(this, _KupDataTable_interactableDrag, "f").push(th);
9833
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.dropzone(th, {
9830
+ for (let index = 0; index < __classPrivateFieldGet$3(this, _KupDataTable_thRefs, "f").length; index++) {
9831
+ const th = __classPrivateFieldGet$3(this, _KupDataTable_thRefs, "f")[index];
9832
+ if (th && !__classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").includes(th)) {
9833
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").push(th);
9834
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.dropzone(th, {
9834
9835
  accept: `[${kupManager.kupDraggableColumnAttr}]`,
9835
9836
  }, null, dropCallbacks);
9836
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.draggable(th, {
9837
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.draggable(th, {
9837
9838
  cursorChecker() {
9838
9839
  return null;
9839
9840
  },
@@ -9853,11 +9854,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9853
9854
  const callbacks = {
9854
9855
  move: moveCb,
9855
9856
  };
9856
- for (let index = 0; index < __classPrivateFieldGet$2(this, _KupDataTable_thRefs, "f").length; index++) {
9857
- const th = __classPrivateFieldGet$2(this, _KupDataTable_thRefs, "f")[index];
9858
- if (th && !__classPrivateFieldGet$2(this, _KupDataTable_interactableResize, "f").includes(th)) {
9859
- __classPrivateFieldGet$2(this, _KupDataTable_interactableResize, "f").push(th);
9860
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.resizable(th, {
9857
+ for (let index = 0; index < __classPrivateFieldGet$3(this, _KupDataTable_thRefs, "f").length; index++) {
9858
+ const th = __classPrivateFieldGet$3(this, _KupDataTable_thRefs, "f")[index];
9859
+ if (th && !__classPrivateFieldGet$3(this, _KupDataTable_interactableResize, "f").includes(th)) {
9860
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableResize, "f").push(th);
9861
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.resizable(th, {
9861
9862
  allowFrom: '.header-cell__drag-handler',
9862
9863
  edges: {
9863
9864
  left: false,
@@ -9871,8 +9872,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9871
9872
  }
9872
9873
  }
9873
9874
  if (this.dragEnabled) {
9874
- for (let index = 0; index < __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").length; index++) {
9875
- const row = __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f")[index];
9875
+ for (let index = 0; index < __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").length; index++) {
9876
+ const row = __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f")[index];
9876
9877
  const dataCb = () => {
9877
9878
  const cellEl = this.rootElement.shadowRoot.querySelector('td:hover');
9878
9879
  return {
@@ -9885,9 +9886,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9885
9886
  selectedRows: this.selectedRows,
9886
9887
  };
9887
9888
  };
9888
- if (row && !__classPrivateFieldGet$2(this, _KupDataTable_interactableDrag, "f").includes(row)) {
9889
- __classPrivateFieldGet$2(this, _KupDataTable_interactableDrag, "f").push(row);
9890
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.draggable(row, {
9889
+ if (row && !__classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").includes(row)) {
9890
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").push(row);
9891
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.draggable(row, {
9891
9892
  allowFrom: 'td',
9892
9893
  cursorChecker() {
9893
9894
  return null;
@@ -9902,11 +9903,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9902
9903
  const dataCb = () => {
9903
9904
  const cell = this.rootElement.shadowRoot.querySelector('td:hover');
9904
9905
  if (!cell) {
9905
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", kupManager.KupDebugCategory.WARNING);
9906
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", kupManager.KupDebugCategory.WARNING);
9906
9907
  return;
9907
9908
  }
9908
- const path = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventPath).call(this, cell);
9909
- const receivingDetails = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, path);
9909
+ const path = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(cell, this.rootElement);
9910
+ const receivingDetails = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, path);
9910
9911
  return {
9911
9912
  cell: receivingDetails.cell,
9912
9913
  column: receivingDetails.column,
@@ -9914,11 +9915,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9914
9915
  row: receivingDetails.row,
9915
9916
  };
9916
9917
  };
9917
- for (let index = 0; index < __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").length; index++) {
9918
- const row = __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f")[index];
9919
- if (row && !__classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").includes(row)) {
9920
- __classPrivateFieldGet$2(this, _KupDataTable_interactableDrop, "f").push(row);
9921
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").interact.dropzone(row, {
9918
+ for (let index = 0; index < __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").length; index++) {
9919
+ const row = __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f")[index];
9920
+ if (row && !__classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").includes(row)) {
9921
+ __classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f").push(row);
9922
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.dropzone(row, {
9922
9923
  accept: `[${kupManager.kupDraggableCellAttr}]`,
9923
9924
  }, {
9924
9925
  callback: dataCb,
@@ -9932,44 +9933,44 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9932
9933
  if (this.headerIsPersistent &&
9933
9934
  this.tableHeight === undefined &&
9934
9935
  this.tableWidth === undefined) {
9935
- __classPrivateFieldGet$2(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"));
9936
- __classPrivateFieldGet$2(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$2(this, _KupDataTable_theadRef, "f"));
9936
+ __classPrivateFieldGet$3(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"));
9937
+ __classPrivateFieldGet$3(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$3(this, _KupDataTable_theadRef, "f"));
9937
9938
  }
9938
9939
  }, _KupDataTable_didRenderObservers = function _KupDataTable_didRenderObservers() {
9939
- if (__classPrivateFieldGet$2(this, _KupDataTable_paginatedRowsLength, "f") < __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f") && this.lazyLoadRows) {
9940
- __classPrivateFieldGet$2(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f")[__classPrivateFieldGet$2(this, _KupDataTable_paginatedRowsLength, "f") - 1]);
9940
+ if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") < __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f") && this.lazyLoadRows) {
9941
+ __classPrivateFieldGet$3(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f")[__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") - 1]);
9941
9942
  }
9942
9943
  }, _KupDataTable_didLoadEventHandling = function _KupDataTable_didLoadEventHandling() {
9943
- __classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f").addEventListener('scroll', () => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_scrollStickyHeader).call(this));
9944
+ __classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f").addEventListener('scroll', () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_scrollStickyHeader).call(this));
9944
9945
  }, _KupDataTable_scrollStickyHeader = function _KupDataTable_scrollStickyHeader() {
9945
- if (!__classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f")) {
9946
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f")) {
9946
9947
  return;
9947
9948
  }
9948
- __classPrivateFieldGet$2(this, _KupDataTable_stickyTheadRef, "f").scrollLeft = __classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f").scrollLeft;
9949
+ __classPrivateFieldGet$3(this, _KupDataTable_stickyTheadRef, "f").scrollLeft = __classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f").scrollLeft;
9949
9950
  }, _KupDataTable_checkScrollOnHover = function _KupDataTable_checkScrollOnHover() {
9950
- if (!__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").scrollOnHover.isRegistered(__classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f"))) {
9951
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").scrollOnHover.isRegistered(__classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f"))) {
9951
9952
  if (this.scrollOnHover &&
9952
9953
  this.tableHeight === undefined &&
9953
9954
  this.tableWidth === undefined) {
9954
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").scrollOnHover.register(__classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f"));
9955
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").scrollOnHover.register(__classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f"));
9955
9956
  }
9956
9957
  }
9957
9958
  else {
9958
9959
  if (!this.scrollOnHover &&
9959
9960
  (this.tableHeight !== undefined ||
9960
9961
  this.tableWidth !== undefined)) {
9961
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f"));
9962
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f"));
9962
9963
  }
9963
9964
  }
9964
9965
  }, _KupDataTable_customizePanelPosition = function _KupDataTable_customizePanelPosition() {
9965
- if (__classPrivateFieldGet$2(this, _KupDataTable_customizeTopButtonRef, "f") &&
9966
- !__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f"))) {
9967
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f"), __classPrivateFieldGet$2(this, _KupDataTable_customizeTopButtonRef, "f"), 0, kupManager.KupDynamicPositionPlacement.BOTTOM, true);
9966
+ if (__classPrivateFieldGet$3(this, _KupDataTable_customizeTopButtonRef, "f") &&
9967
+ !__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f"))) {
9968
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f"), __classPrivateFieldGet$3(this, _KupDataTable_customizeTopButtonRef, "f"), 0, kupManager.KupDynamicPositionPlacement.BOTTOM, true);
9968
9969
  }
9969
9970
  }, _KupDataTable_rowsPointLength = function _KupDataTable_rowsPointLength() {
9970
- return __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$2(this, _KupDataTable_rows, "f"));
9971
+ return __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$3(this, _KupDataTable_rows, "f"));
9971
9972
  }, _KupDataTable_paginatedRowsPointLength = function _KupDataTable_paginatedRowsPointLength() {
9972
- return __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$2(this, _KupDataTable_paginatedRows, "f"));
9973
+ return __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$3(this, _KupDataTable_paginatedRows, "f"));
9973
9974
  }, _KupDataTable__rowsLength = function _KupDataTable__rowsLength(r) {
9974
9975
  if (r == null) {
9975
9976
  return 0;
@@ -9982,26 +9983,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
9982
9983
  }
9983
9984
  count += 1;
9984
9985
  if (row.group != null) {
9985
- count += __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, row.group.children);
9986
+ count += __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, row.group.children);
9986
9987
  }
9987
9988
  }
9988
9989
  return count;
9989
9990
  }, _KupDataTable_setDynPosElements = function _KupDataTable_setDynPosElements() {
9990
9991
  // Column menu
9991
- if (__classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f") && __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").data) {
9992
- __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$2(this, _KupDataTable_columnMenuInstance, "f").prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), __classPrivateFieldGet$2(this, _KupDataTable_columnMenuCard, "f").data);
9993
- }
9994
- }, _KupDataTable_getEventPath = function _KupDataTable_getEventPath(currentEl) {
9995
- const path = [];
9996
- while (currentEl &&
9997
- currentEl !== this.rootElement &&
9998
- currentEl !== document.body) {
9999
- path.push(currentEl);
10000
- currentEl = currentEl.parentNode
10001
- ? currentEl.parentNode
10002
- : currentEl.host;
10003
- }
10004
- return path;
9992
+ if (__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f") && __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data) {
9993
+ __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").prepData(this, kupManager.getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data);
9994
+ }
10005
9995
  }, _KupDataTable_resetSelectedRows = function _KupDataTable_resetSelectedRows() {
10006
9996
  if (this.getRows().length === 0)
10007
9997
  return;
@@ -10024,7 +10014,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10024
10014
  return undefined;
10025
10015
  }
10026
10016
  }, _KupDataTable_rowDetail = function _KupDataTable_rowDetail(row, x, y) {
10027
- const transposedData = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this);
10017
+ const transposedData = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this);
10028
10018
  const cardData = {
10029
10019
  button: [
10030
10020
  {
@@ -10053,7 +10043,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10053
10043
  showHeader: false,
10054
10044
  },
10055
10045
  ],
10056
- text: [__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.DETAIL)],
10046
+ text: [__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.DETAIL)],
10057
10047
  };
10058
10048
  const columns = cardData.datatable[0].data.columns;
10059
10049
  const rows = cardData.datatable[0].data.rows;
@@ -10077,7 +10067,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10077
10067
  currentColumn.visible = true;
10078
10068
  }
10079
10069
  else {
10080
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Invalid column name on row ID (' +
10070
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Invalid column name on row ID (' +
10081
10071
  row.id +
10082
10072
  "), couldn't set current record!", kupManager.KupDebugCategory.WARNING);
10083
10073
  }
@@ -10086,7 +10076,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10086
10076
  for (let index = 0; index < rows.length; index++) {
10087
10077
  const column = this.data.columns.find((x) => x.name === rows[index].transposedColumnName);
10088
10078
  if (!column) {
10089
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Column not found on row name (' + column + ')!', kupManager.KupDebugCategory.WARNING);
10079
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Column not found on row name (' + column + ')!', kupManager.KupDebugCategory.WARNING);
10090
10080
  return;
10091
10081
  }
10092
10082
  const editable = rows[index].cells[row.id].isEditable
@@ -10110,8 +10100,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10110
10100
  resource: editable ? 'edit-key' : 'key-variant',
10111
10101
  },
10112
10102
  title: editable
10113
- ? __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.EDITABLE_KEY)
10114
- : __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.KEY),
10103
+ ? __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.EDITABLE_KEY)
10104
+ : __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.KEY),
10115
10105
  value: editable ? 'edit-key' : 'key-variant',
10116
10106
  };
10117
10107
  }
@@ -10126,7 +10116,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10126
10116
  color: `var(${kupManager.KupThemeColorValues.TEXT})`,
10127
10117
  resource: 'pencil',
10128
10118
  },
10129
- title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EDITABLE_FIELD),
10119
+ title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EDITABLE_FIELD),
10130
10120
  value: 'pencil',
10131
10121
  };
10132
10122
  }
@@ -10148,35 +10138,35 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10148
10138
  }
10149
10139
  rows[index].cells[kupManager.iconColumn.toUpperCase()] = iconCell;
10150
10140
  }
10151
- if (!__classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f")) {
10141
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f")) {
10152
10142
  __classPrivateFieldSet$2(this, _KupDataTable_detailCard, document.createElement('kup-card'), "f");
10153
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").layoutFamily = kupManager.KupCardFamily.DIALOG;
10154
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").layoutNumber = 4;
10155
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").sizeX = 'auto';
10156
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").sizeY = 'auto';
10143
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").layoutFamily = kupManager.KupCardFamily.DIALOG;
10144
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").layoutNumber = 4;
10145
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").sizeX = 'auto';
10146
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").sizeY = 'auto';
10157
10147
  }
10158
10148
  else {
10159
- const children = Array.prototype.slice.call(__classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").children, 0);
10149
+ const children = Array.prototype.slice.call(__classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").children, 0);
10160
10150
  for (let index = 0; index < children.length; index++) {
10161
10151
  children[index].remove();
10162
10152
  }
10163
10153
  }
10164
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").data = cardData;
10165
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").style.position = 'fixed';
10166
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").style.left = '0';
10167
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").style.top = '0';
10168
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").setAttribute('data-x', x.toString());
10169
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").setAttribute('data-y', y.toString());
10170
- __classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f").style.transform = 'translate(' + x + 'px,' + y + 'px)';
10171
- this.rootElement.shadowRoot.append(__classPrivateFieldGet$2(this, _KupDataTable_detailCard, "f"));
10154
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").data = cardData;
10155
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").style.position = 'fixed';
10156
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").style.left = '0';
10157
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").style.top = '0';
10158
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").setAttribute('data-x', x.toString());
10159
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").setAttribute('data-y', y.toString());
10160
+ __classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f").style.transform = 'translate(' + x + 'px,' + y + 'px)';
10161
+ this.rootElement.shadowRoot.append(__classPrivateFieldGet$3(this, _KupDataTable_detailCard, "f"));
10172
10162
  }, _KupDataTable_rowInsertForm = function _KupDataTable_rowInsertForm() {
10173
10163
  const CARD_WIDTH = 400;
10174
10164
  const CARD_HEIGHT = 400;
10175
10165
  __classPrivateFieldSet$2(this, _KupDataTable_insertCard, document.createElement('kup-card'), "f");
10176
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").layoutFamily = kupManager.KupCardFamily.FREE;
10177
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").layoutNumber = 1;
10178
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").sizeX = CARD_WIDTH + 'px';
10179
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").sizeY = CARD_HEIGHT + 'px';
10166
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").layoutFamily = kupManager.KupCardFamily.FREE;
10167
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").layoutNumber = 1;
10168
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").sizeX = CARD_WIDTH + 'px';
10169
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").sizeY = CARD_HEIGHT + 'px';
10180
10170
  const style = document.createElement('style');
10181
10171
  style.innerText =
10182
10172
  'kup-form { max-height: 40vh; overflow: auto; } .page-wrapper { display: grid; } ' +
@@ -10184,24 +10174,24 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10184
10174
  '.message-wrapper { display: none; justify-content: start; padding-top: 5px; padding-bottom: 5px; } ' +
10185
10175
  '.errorIcon { --kup-icon-color: var(--kup-danger-color); } ' +
10186
10176
  '.message { background-color: var(--kup-danger-color); color: white; padding: 3px; } ';
10187
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").append(style);
10177
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").append(style);
10188
10178
  const pageWrapper = document.createElement('div');
10189
10179
  pageWrapper.className = 'page-wrapper';
10190
10180
  const buttonWrapper = document.createElement('div');
10191
10181
  buttonWrapper.className = 'button-wrapper';
10192
10182
  const cancel = document.createElement('kup-button');
10193
10183
  const confirm = document.createElement('kup-button');
10194
- cancel.id = __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_CANCEL_ID, "f");
10184
+ cancel.id = __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_CANCEL_ID, "f");
10195
10185
  cancel.icon = 'clear';
10196
- cancel.label = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.ABORT);
10186
+ cancel.label = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.ABORT);
10197
10187
  cancel.styling = fButtonDeclarations.FButtonStyling.FLAT;
10198
10188
  cancel.addEventListener('kup-button-click', () => {
10199
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").remove();
10189
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").remove();
10200
10190
  __classPrivateFieldSet$2(this, _KupDataTable_insertCard, null, "f");
10201
10191
  });
10202
- confirm.id = __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
10192
+ confirm.id = __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
10203
10193
  confirm.icon = 'check';
10204
- confirm.label = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM);
10194
+ confirm.label = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM);
10205
10195
  let innerComp = document.createElement('kup-spinner');
10206
10196
  innerComp.slot = 'spinner';
10207
10197
  innerComp.dimensions = '0.6em';
@@ -10220,7 +10210,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10220
10210
  buttonWrapper.append(cancel);
10221
10211
  buttonWrapper.append(confirm);
10222
10212
  const form = document.createElement('kup-form');
10223
- form.id = __classPrivateFieldGet$2(this, _KupDataTable_FIELDS_FORM_ID, "f");
10213
+ form.id = __classPrivateFieldGet$3(this, _KupDataTable_FIELDS_FORM_ID, "f");
10224
10214
  const row = {
10225
10215
  cells: {},
10226
10216
  id: '0',
@@ -10240,7 +10230,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10240
10230
  };
10241
10231
  const messageWrapper = document.createElement('div');
10242
10232
  messageWrapper.className = 'message-wrapper';
10243
- messageWrapper.id = __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
10233
+ messageWrapper.id = __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
10244
10234
  const icon = document.createElement('kup-image');
10245
10235
  icon.className = 'errorIcon';
10246
10236
  icon.resource = 'cancel';
@@ -10249,43 +10239,43 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10249
10239
  messageWrapper.append(icon);
10250
10240
  const message = document.createElement('span');
10251
10241
  message.className = 'message';
10252
- message.id = __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_ID, "f");
10242
+ message.id = __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_ID, "f");
10253
10243
  let msg = '';
10254
10244
  message.innerText = msg;
10255
10245
  messageWrapper.append(message);
10256
10246
  pageWrapper.append(messageWrapper);
10257
10247
  pageWrapper.append(form);
10258
10248
  pageWrapper.append(buttonWrapper);
10259
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").append(pageWrapper);
10260
- __classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f").data = {};
10261
- this.rootElement.shadowRoot.append(__classPrivateFieldGet$2(this, _KupDataTable_insertCard, "f"));
10249
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").append(pageWrapper);
10250
+ __classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f").data = {};
10251
+ this.rootElement.shadowRoot.append(__classPrivateFieldGet$3(this, _KupDataTable_insertCard, "f"));
10262
10252
  }, _KupDataTable_rowsDelete = function _KupDataTable_rowsDelete() {
10263
10253
  const createDeleteCard = () => {
10264
10254
  __classPrivateFieldSet$2(this, _KupDataTable_confirmDeleteDialog, document.createElement('kup-dialog'), "f");
10265
10255
  __classPrivateFieldSet$2(this, _KupDataTable_confirmDeleteCard, document.createElement('kup-card'), "f");
10266
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").layoutFamily = kupManager.KupCardFamily.FREE;
10267
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").layoutNumber = 1;
10268
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").sizeX = 'auto';
10269
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").sizeY = 'auto';
10256
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").layoutFamily = kupManager.KupCardFamily.FREE;
10257
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").layoutNumber = 1;
10258
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").sizeX = 'auto';
10259
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").sizeY = 'auto';
10270
10260
  const style = document.createElement('style');
10271
10261
  style.innerText =
10272
10262
  '.button-wrapper, .message-wrapper { display: flex; justify-content: space-around; z-index: var(--kup-card-zindex); } .message-wrapper { padding-bottom: 20px; }';
10273
10263
  const messageWrapper = document.createElement('div');
10274
10264
  messageWrapper.className = 'message-wrapper';
10275
- messageWrapper.id = __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
10265
+ messageWrapper.id = __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
10276
10266
  const message = document.createElement('span');
10277
10267
  message.className = 'message';
10278
- message.id = __classPrivateFieldGet$2(this, _KupDataTable_MESSAGE_ID, "f");
10279
- let msg = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM_DELETE_X_ROWS);
10268
+ message.id = __classPrivateFieldGet$3(this, _KupDataTable_MESSAGE_ID, "f");
10269
+ let msg = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM_DELETE_X_ROWS);
10280
10270
  msg = msg.replace('{0}', this.selectedRows.length + '');
10281
10271
  message.innerText = msg;
10282
10272
  messageWrapper.append(message);
10283
10273
  const buttonWrapper = document.createElement('div');
10284
10274
  buttonWrapper.className = 'button-wrapper';
10285
10275
  const confirm = document.createElement('kup-button');
10286
- confirm.id = __classPrivateFieldGet$2(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
10276
+ confirm.id = __classPrivateFieldGet$3(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
10287
10277
  confirm.icon = 'check';
10288
- confirm.label = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM);
10278
+ confirm.label = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM);
10289
10279
  let innerComp = document.createElement('kup-spinner');
10290
10280
  innerComp.slot = 'spinner';
10291
10281
  innerComp.dimensions = '0.6em';
@@ -10300,17 +10290,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10300
10290
  });
10301
10291
  });
10302
10292
  buttonWrapper.append(confirm);
10303
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").append(style);
10304
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").append(messageWrapper);
10305
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").append(buttonWrapper);
10306
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f").data = {};
10307
- __classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteDialog, "f").append(__classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteCard, "f"));
10308
- document.querySelector('body').append(__classPrivateFieldGet$2(this, _KupDataTable_confirmDeleteDialog, "f"));
10293
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").append(style);
10294
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").append(messageWrapper);
10295
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").append(buttonWrapper);
10296
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f").data = {};
10297
+ __classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteDialog, "f").append(__classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteCard, "f"));
10298
+ document.querySelector('body').append(__classPrivateFieldGet$3(this, _KupDataTable_confirmDeleteDialog, "f"));
10309
10299
  };
10310
10300
  const insertRowsIds = [];
10311
10301
  const startingRows = [];
10312
10302
  this.selectedRows.forEach((row) => {
10313
- if (row.id.indexOf(__classPrivateFieldGet$2(this, _KupDataTable_INSERT_PREFIX, "f")) > -1) {
10303
+ if (row.id.indexOf(__classPrivateFieldGet$3(this, _KupDataTable_INSERT_PREFIX, "f")) > -1) {
10314
10304
  insertRowsIds.push(row.id);
10315
10305
  }
10316
10306
  else {
@@ -10415,15 +10405,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10415
10405
  tr: tr ? tr : null,
10416
10406
  };
10417
10407
  }, _KupDataTable_clickHandler = function _KupDataTable_clickHandler(e) {
10418
- const details = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventPath).call(this, e.target), e);
10408
+ const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
10419
10409
  if (details.area === 'header') {
10420
10410
  if (details.th && details.column) {
10421
10411
  if (details.filterRemove) {
10422
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, details.column);
10412
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, details.column);
10423
10413
  return details;
10424
10414
  }
10425
10415
  else if (this.sortEnabled) {
10426
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onColumnSort).call(this, e, details.column.name);
10416
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onColumnSort).call(this, e, details.column.name);
10427
10417
  return details;
10428
10418
  }
10429
10419
  }
@@ -10438,22 +10428,22 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10438
10428
  }
10439
10429
  details.tr.classList.add('focus');
10440
10430
  if (e.ctrlKey || e.metaKey) {
10441
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_rowDetail).call(this, Object.assign({}, details.row), e.clientX, e.clientY);
10431
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_rowDetail).call(this, Object.assign({}, details.row), e.clientX, e.clientY);
10442
10432
  return details;
10443
10433
  }
10444
10434
  }
10445
10435
  if (details.tr && details.row && details.isGroupRow) {
10446
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onRowExpand).call(this, details.row);
10436
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowExpand).call(this, details.row);
10447
10437
  return details;
10448
10438
  }
10449
10439
  if (details.td && details.row && !details.textfield) {
10450
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, true);
10440
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, true);
10451
10441
  return details;
10452
10442
  }
10453
10443
  }
10454
10444
  return details;
10455
10445
  }, _KupDataTable_contextMenuHandler = function _KupDataTable_contextMenuHandler(e) {
10456
- const details = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventPath).call(this, e.target), e);
10446
+ const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
10457
10447
  if (details.area === 'header') {
10458
10448
  if (details.th && details.column) {
10459
10449
  this.openColumnMenu(details.column.name);
@@ -10463,34 +10453,34 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10463
10453
  else if (details.area === 'footer') {
10464
10454
  if (details.td && details.column) {
10465
10455
  __classPrivateFieldSet$2(this, _KupDataTable_totalMenuCoords, { x: e.clientX, y: e.clientY }, "f");
10466
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onTotalMenuOpen).call(this, details.column);
10456
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onTotalMenuOpen).call(this, details.column);
10467
10457
  return details;
10468
10458
  }
10469
10459
  }
10470
10460
  return details;
10471
10461
  }, _KupDataTable_dblClickHandler = function _KupDataTable_dblClickHandler(e) {
10472
- const details = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getEventPath).call(this, e.target), e);
10462
+ const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
10473
10463
  if (details.area === 'body') {
10474
10464
  if (this.selection == kupManager.SelectionMode.MULTIPLE) {
10475
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
10465
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
10476
10466
  }
10477
10467
  if (this.selection == kupManager.SelectionMode.SINGLE ||
10478
10468
  this.selection == kupManager.SelectionMode.MULTIPLE) {
10479
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, false);
10469
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, false);
10480
10470
  }
10481
10471
  }
10482
10472
  return details;
10483
10473
  }, _KupDataTable_initRows = function _KupDataTable_initRows() {
10484
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_filterRows).call(this);
10485
- __classPrivateFieldSet$2(this, _KupDataTable_footer, fPaginatorUtils.calcTotals(fPaginatorUtils.normalizeRows(this.getColumns(), __classPrivateFieldGet$2(this, _KupDataTable_rows, "f")), this.totals), "f");
10486
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_groupRows).call(this);
10487
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_sortRows).call(this);
10488
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
10489
- __classPrivateFieldSet$2(this, _KupDataTable_paginatedRows, fPaginatorUtils.paginateRows(__classPrivateFieldGet$2(this, _KupDataTable_rows, "f"), this.currentPage, this.currentRowsPerPage, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)), "f");
10490
- __classPrivateFieldSet$2(this, _KupDataTable_paginatedRowsLength, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_paginatedRowsPointLength).call(this), "f");
10474
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_filterRows).call(this);
10475
+ __classPrivateFieldSet$2(this, _KupDataTable_footer, fPaginatorUtils.calcTotals(fPaginatorUtils.normalizeRows(this.getColumns(), __classPrivateFieldGet$3(this, _KupDataTable_rows, "f")), this.totals), "f");
10476
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_groupRows).call(this);
10477
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_sortRows).call(this);
10478
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
10479
+ __classPrivateFieldSet$2(this, _KupDataTable_paginatedRows, fPaginatorUtils.paginateRows(__classPrivateFieldGet$3(this, _KupDataTable_rows, "f"), this.currentPage, this.currentRowsPerPage, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)), "f");
10480
+ __classPrivateFieldSet$2(this, _KupDataTable_paginatedRowsLength, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_paginatedRowsPointLength).call(this), "f");
10491
10481
  }, _KupDataTable_filterRows = function _KupDataTable_filterRows() {
10492
10482
  __classPrivateFieldSet$2(this, _KupDataTable_rows, fPaginatorUtils.filterRows(this.getRows(), this.filters, this.globalFilterValue, this.getColumns()), "f");
10493
- __classPrivateFieldSet$2(this, _KupDataTable_rowsLength, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_rowsPointLength).call(this), "f");
10483
+ __classPrivateFieldSet$2(this, _KupDataTable_rowsLength, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_rowsPointLength).call(this), "f");
10494
10484
  }, _KupDataTable_isGrouping = function _KupDataTable_isGrouping() {
10495
10485
  return this.groups && this.groups.length > 0;
10496
10486
  }, _KupDataTable_hasRowActions = function _KupDataTable_hasRowActions() {
@@ -10504,19 +10494,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10504
10494
  }, _KupDataTable_hasTotals = function _KupDataTable_hasTotals() {
10505
10495
  return this.totals && Object.keys(this.totals).length > 0;
10506
10496
  }, _KupDataTable_tableHasAutoWidth = function _KupDataTable_tableHasAutoWidth() {
10507
- if (!__classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")) {
10497
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")) {
10508
10498
  return;
10509
10499
  }
10510
10500
  const visibleCols = this.getVisibleColumns();
10511
10501
  // Before checking each column, controls that visible columns are as many as items with custom sizes.
10512
10502
  // If there are more visible columns, it means that the width of the table will be set to auto.
10513
- if (visibleCols.length <= __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f").length) {
10503
+ if (visibleCols.length <= __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f").length) {
10514
10504
  let found = false;
10515
10505
  // Each visible column must have its own width for the table to have a auto width
10516
10506
  for (let i = 0; i < visibleCols.length; i++) {
10517
10507
  found = false;
10518
- for (let j = 0; j < __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f").length; j++) {
10519
- if (visibleCols[i].name === __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")[j].name) {
10508
+ for (let j = 0; j < __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f").length; j++) {
10509
+ if (visibleCols[i].name === __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")[j].name) {
10520
10510
  found = true;
10521
10511
  break;
10522
10512
  }
@@ -10529,8 +10519,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10529
10519
  }
10530
10520
  return false;
10531
10521
  }, _KupDataTable_forceGroupExpansion = function _KupDataTable_forceGroupExpansion() {
10532
- __classPrivateFieldGet$2(this, _KupDataTable_rows, "f").forEach((row) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
10533
- __classPrivateFieldGet$2(this, _KupDataTable_paginatedRows, "f").forEach((row) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
10522
+ __classPrivateFieldGet$3(this, _KupDataTable_rows, "f").forEach((row) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
10523
+ __classPrivateFieldGet$3(this, _KupDataTable_paginatedRows, "f").forEach((row) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
10534
10524
  }, _KupDataTable_forceRowGroupExpansion = function _KupDataTable_forceRowGroupExpansion(row) {
10535
10525
  // check if row is group
10536
10526
  if (!row.group) {
@@ -10551,10 +10541,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10551
10541
  }
10552
10542
  this.groupState[row.group.id] = groupState;
10553
10543
  if (row.group.children) {
10554
- row.group.children.forEach((childRow) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, childRow));
10544
+ row.group.children.forEach((childRow) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, childRow));
10555
10545
  }
10556
10546
  }, _KupDataTable_adjustPaginator = function _KupDataTable_adjustPaginator() {
10557
- const numberOfRows = __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f");
10547
+ const numberOfRows = __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f");
10558
10548
  // check if current page is valid
10559
10549
  const numberOfPages = Math.ceil(numberOfRows / this.currentRowsPerPage);
10560
10550
  if (this.currentPage > numberOfPages) {
@@ -10563,7 +10553,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10563
10553
  this.resetCurrentPage();
10564
10554
  }
10565
10555
  }, _KupDataTable_composeFixedCellStyleAndClass = function _KupDataTable_composeFixedCellStyleAndClass(columnCssIndex, rowCssIndex, extraCellsCount = 0) {
10566
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
10556
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
10567
10557
  return undefined;
10568
10558
  }
10569
10559
  //-- Controls if there are fixed rows or columns --
@@ -10600,20 +10590,20 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10600
10590
  }, _KupDataTable_updateFixedRowsAndColumnsCssVariables = function _KupDataTable_updateFixedRowsAndColumnsCssVariables() {
10601
10591
  // [ffbf] - Using getBoundingClientRect is mandatory since Firefox return a wrong value for ele.offsetHeight and witdh values
10602
10592
  // When grouping, the fixed rows and columns are not sticky
10603
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) || !__classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f"))
10593
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) || !__classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f"))
10604
10594
  return false;
10605
10595
  let toRet = false;
10606
10596
  if (this.fixedRows >= 1) {
10607
- let currentRow = __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type');
10597
+ let currentRow = __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type');
10608
10598
  // The height must start from the height of the header. BUT not on Safari.
10609
10599
  // Safari handles the sticky position on the tables in a different way, making it start from the tbody element
10610
10600
  // and not on the table with a specified position of sticky. There fore in that case we must set initial height to 0.
10611
- let previousHeight = !__classPrivateFieldGet$2(this, _KupDataTable_isSafariBrowser, "f")
10612
- ? __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").querySelector('thead > tr:first-of-type > th:first-of-type').getBoundingClientRect().height // [ffbf]
10601
+ let previousHeight = !__classPrivateFieldGet$3(this, _KupDataTable_isSafariBrowser, "f")
10602
+ ? __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").querySelector('thead > tr:first-of-type > th:first-of-type').getBoundingClientRect().height // [ffbf]
10613
10603
  : 0;
10614
10604
  // [CSSCount] - I must start from 1 since we are referencing html elements e not array (with CSS selectors starting from 1)
10615
10605
  for (let i = 1; i <= this.fixedRows && currentRow; i++) {
10616
- __classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f").style.setProperty(kupManager.FixedCellsCSSVarsBase.rows + i, previousHeight + 'px');
10606
+ __classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f").style.setProperty(kupManager.FixedCellsCSSVarsBase.rows + i, previousHeight + 'px');
10617
10607
  previousHeight += currentRow.children[0].getBoundingClientRect().height; // [ffbf]
10618
10608
  currentRow =
10619
10609
  currentRow.nextElementSibling;
@@ -10621,14 +10611,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10621
10611
  toRet = true;
10622
10612
  }
10623
10613
  if (this.fixedColumns >= 1) {
10624
- let currentCell = __classPrivateFieldGet$2(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:first-of-type');
10614
+ let currentCell = __classPrivateFieldGet$3(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:first-of-type');
10625
10615
  let previousWidth = 0;
10626
10616
  const totalFixedColumns = this.fixedColumns +
10627
- (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ? 1 : 0) +
10617
+ (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ? 1 : 0) +
10628
10618
  (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX ? 1 : 0);
10629
10619
  // @See [CSSCount]
10630
10620
  for (let i = 1; i <= totalFixedColumns && currentCell; i++) {
10631
- __classPrivateFieldGet$2(this, _KupDataTable_tableAreaRef, "f").style.setProperty(kupManager.FixedCellsCSSVarsBase.columns + i, previousWidth + 'px');
10621
+ __classPrivateFieldGet$3(this, _KupDataTable_tableAreaRef, "f").style.setProperty(kupManager.FixedCellsCSSVarsBase.columns + i, previousWidth + 'px');
10632
10622
  previousWidth += currentCell.getBoundingClientRect().width; // [ffbf]
10633
10623
  currentCell =
10634
10624
  currentCell.nextElementSibling;
@@ -10676,10 +10666,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10676
10666
  // resetting current page
10677
10667
  this.resetCurrentPage();
10678
10668
  const newFilters = Object.assign({}, this.filters);
10679
- __classPrivateFieldGet$2(this, _KupDataTable_filtersColumnMenuInstance, "f").removeFilter(newFilters, column.name);
10669
+ __classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f").removeFilter(newFilters, column.name);
10680
10670
  this.filters = newFilters;
10681
10671
  }, _KupDataTable_getFilterValueForTooltip = function _KupDataTable_getFilterValueForTooltip(column) {
10682
- return __classPrivateFieldGet$2(this, _KupDataTable_filtersColumnMenuInstance, "f").getFilterValueForTooltip(this.filters, column);
10672
+ return __classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f").getFilterValueForTooltip(this.filters, column);
10683
10673
  }, _KupDataTable_onGlobalFilterChange = function _KupDataTable_onGlobalFilterChange(inputEl) {
10684
10674
  this.resetCurrentPage();
10685
10675
  if (inputEl) {
@@ -10690,15 +10680,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10690
10680
  this.globalFilterValue = '';
10691
10681
  }
10692
10682
  }, _KupDataTable_handlePageChange = function _KupDataTable_handlePageChange(pageNumber) {
10693
- const newPage = fPaginatorUtils.pageChange(pageNumber, __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f"), this.currentRowsPerPage);
10683
+ const newPage = fPaginatorUtils.pageChange(pageNumber, __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f"), this.currentRowsPerPage);
10694
10684
  if (newPage) {
10695
10685
  this.currentPage = newPage;
10696
10686
  }
10697
10687
  }, _KupDataTable_handleRowsPerPageChange = function _KupDataTable_handleRowsPerPageChange(rowsNumber) {
10698
- const newRows = fPaginatorUtils.rowsPerPageChange(rowsNumber, __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f"));
10688
+ const newRows = fPaginatorUtils.rowsPerPageChange(rowsNumber, __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f"));
10699
10689
  if (newRows) {
10700
10690
  this.currentRowsPerPage = newRows;
10701
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
10691
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
10702
10692
  }
10703
10693
  }, _KupDataTable_onRowClick = function _KupDataTable_onRowClick(row, td, emitEvent) {
10704
10694
  // selecting row
@@ -10728,9 +10718,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10728
10718
  if (!row.unselectable &&
10729
10719
  this.selection !== kupManager.SelectionMode.NONE &&
10730
10720
  clickedColumn) {
10731
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_deselectColumn).call(this, this.selectedColumn);
10721
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_deselectColumn).call(this, this.selectedColumn);
10732
10722
  this.selectedColumn = clickedColumn;
10733
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_selectColumn).call(this, this.selectedColumn);
10723
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_selectColumn).call(this, this.selectedColumn);
10734
10724
  if (emitEvent !== false) {
10735
10725
  // emit event
10736
10726
  this.kupRowSelected.emit({
@@ -10805,7 +10795,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10805
10795
  }, _KupDataTable_onSelectAll = function _KupDataTable_onSelectAll({ target }) {
10806
10796
  if (target.checked) {
10807
10797
  // select all rows
10808
- this.selectedRows = __classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f");
10798
+ this.selectedRows = __classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f");
10809
10799
  // triggering event
10810
10800
  this.kupRowSelected.emit({
10811
10801
  comp: this,
@@ -10817,21 +10807,21 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10817
10807
  }
10818
10808
  else {
10819
10809
  // deselect all rows
10820
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
10810
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
10821
10811
  }
10822
10812
  }, _KupDataTable_openTotalMenu = function _KupDataTable_openTotalMenu(column) {
10823
10813
  this.openedTotalMenu = column.name;
10824
10814
  }, _KupDataTable_closeTotalMenu = function _KupDataTable_closeTotalMenu() {
10825
10815
  this.openedTotalMenu = null;
10826
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCb, "f"));
10816
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCb, "f"));
10827
10817
  }, _KupDataTable_isOpenedTotalMenuForColumn = function _KupDataTable_isOpenedTotalMenuForColumn(column) {
10828
10818
  return this.openedTotalMenu === column;
10829
10819
  }, _KupDataTable_groupRows = function _KupDataTable_groupRows() {
10830
- if (!__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
10820
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
10831
10821
  return;
10832
10822
  }
10833
- __classPrivateFieldSet$2(this, _KupDataTable_rows, fPaginatorUtils.groupRows(this.getColumns(), __classPrivateFieldGet$2(this, _KupDataTable_rows, "f"), this.groups, this.totals), "f");
10834
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
10823
+ __classPrivateFieldSet$2(this, _KupDataTable_rows, fPaginatorUtils.groupRows(this.getColumns(), __classPrivateFieldGet$3(this, _KupDataTable_rows, "f"), this.groups, this.totals), "f");
10824
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
10835
10825
  }, _KupDataTable_onLoadMoreClick = function _KupDataTable_onLoadMoreClick() {
10836
10826
  var _a;
10837
10827
  let loadItems = 0;
@@ -10841,11 +10831,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10841
10831
  break;
10842
10832
  case kupManager.LoadMoreMode.CONSTANT_INCREMENT:
10843
10833
  loadItems =
10844
- this.loadMoreStep * (__classPrivateFieldGet$2(this, _KupDataTable_loadMoreEventCounter, "f") + 1);
10834
+ this.loadMoreStep * (__classPrivateFieldGet$3(this, _KupDataTable_loadMoreEventCounter, "f") + 1);
10845
10835
  break;
10846
10836
  case kupManager.LoadMoreMode.PROGRESSIVE_THRESHOLD:
10847
10837
  loadItems =
10848
- Math.max(__classPrivateFieldGet$2(this, _KupDataTable_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet$2(this, _KupDataTable_loadMoreEventCounter, "f") + 1, 2);
10838
+ Math.max(__classPrivateFieldGet$3(this, _KupDataTable_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet$3(this, _KupDataTable_loadMoreEventCounter, "f") + 1, 2);
10849
10839
  break;
10850
10840
  }
10851
10841
  if (loadItems > this.loadMoreLimit) {
@@ -10857,15 +10847,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10857
10847
  loadItems: loadItems,
10858
10848
  });
10859
10849
  __classPrivateFieldSet$2(this, _KupDataTable_loadMoreEventPreviousQuantity, loadItems, "f");
10860
- __classPrivateFieldSet$2(this, _KupDataTable_loadMoreEventCounter, (_a = __classPrivateFieldGet$2(this, _KupDataTable_loadMoreEventCounter, "f"), _a++, _a), "f");
10850
+ __classPrivateFieldSet$2(this, _KupDataTable_loadMoreEventCounter, (_a = __classPrivateFieldGet$3(this, _KupDataTable_loadMoreEventCounter, "f"), _a++, _a), "f");
10861
10851
  }, _KupDataTable_adjustGroupState = function _KupDataTable_adjustGroupState() {
10862
- if (!__classPrivateFieldGet$2(this, _KupDataTable_rows, "f") ||
10863
- __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f") === 0 ||
10864
- !__classPrivateFieldGet$2(this, _KupDataTable_rows, "f")[0].hasOwnProperty('group')) {
10852
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_rows, "f") ||
10853
+ __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f") === 0 ||
10854
+ !__classPrivateFieldGet$3(this, _KupDataTable_rows, "f")[0].hasOwnProperty('group')) {
10865
10855
  // no grouping
10866
10856
  return;
10867
10857
  }
10868
- __classPrivateFieldGet$2(this, _KupDataTable_rows, "f").forEach((r) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, r));
10858
+ __classPrivateFieldGet$3(this, _KupDataTable_rows, "f").forEach((r) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, r));
10869
10859
  }, _KupDataTable_adjustGroupStateFromRow = function _KupDataTable_adjustGroupStateFromRow(row) {
10870
10860
  if (!row || !row.hasOwnProperty('group')) {
10871
10861
  // not a groping row, nothing to do
@@ -10882,9 +10872,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10882
10872
  // update expanded
10883
10873
  group.expanded = groupFromState.expanded;
10884
10874
  }
10885
- group.children.forEach((child) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, child));
10875
+ group.children.forEach((child) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, child));
10886
10876
  }, _KupDataTable_sortRows = function _KupDataTable_sortRows() {
10887
- __classPrivateFieldSet$2(this, _KupDataTable_rows, fPaginatorUtils.sortRows(__classPrivateFieldGet$2(this, _KupDataTable_rows, "f"), this.sort), "f");
10877
+ __classPrivateFieldSet$2(this, _KupDataTable_rows, fPaginatorUtils.sortRows(__classPrivateFieldGet$3(this, _KupDataTable_rows, "f"), this.sort), "f");
10888
10878
  }, _KupDataTable_getSortIcon = function _KupDataTable_getSortIcon(columnName) {
10889
10879
  // check if column in sort array
10890
10880
  for (let sortObj of this.sort) {
@@ -10910,7 +10900,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10910
10900
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
10911
10901
  colSpan += 1;
10912
10902
  }
10913
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
10903
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
10914
10904
  colSpan += 1;
10915
10905
  }
10916
10906
  return colSpan;
@@ -10940,7 +10930,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10940
10930
  sourceColumn: this.data.columns[sortedColIndex],
10941
10931
  targetColumn: this.data.columns[receivingColIndex],
10942
10932
  });
10943
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, this.data.columns, receivingColIndex, sortedColIndex);
10933
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, this.data.columns, receivingColIndex, sortedColIndex);
10944
10934
  }
10945
10935
  }, _KupDataTable_moveSortedColumns = function _KupDataTable_moveSortedColumns(columns, receivingColumnIndex, sortedColumnIndex) {
10946
10936
  const remove = columns.splice(sortedColumnIndex, 1);
@@ -10953,25 +10943,25 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10953
10943
  .map((chunk, index$1) => (index$1 !== 0 ? [index.h("br", null), chunk] : chunk));
10954
10944
  }, _KupDataTable_composeHeaderCellClassAndStyle = function _KupDataTable_composeHeaderCellClassAndStyle(columnIndex, extraCells = 0, column) {
10955
10945
  let columnClass = { ['header-cell']: true }, thStyle = column.style ? Object.assign({}, column.style) : {};
10956
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isBar(column.obj) ||
10957
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isButton(column.obj) ||
10958
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isChart(column.obj) ||
10959
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isCheckbox(column.obj) ||
10960
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isImage(column.obj) ||
10961
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj) ||
10962
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isProgressBar(column.obj) ||
10963
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isRadio(column.obj) ||
10964
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isVoCodver(column.obj)) {
10946
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isBar(column.obj) ||
10947
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isButton(column.obj) ||
10948
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isChart(column.obj) ||
10949
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isCheckbox(column.obj) ||
10950
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isImage(column.obj) ||
10951
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj) ||
10952
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isProgressBar(column.obj) ||
10953
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isRadio(column.obj) ||
10954
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isVoCodver(column.obj)) {
10965
10955
  columnClass['header-cell--centered'] = true;
10966
10956
  }
10967
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
10957
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
10968
10958
  columnClass['header-cell--is-number'] = true;
10969
10959
  }
10970
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj)) {
10960
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj)) {
10971
10961
  columnClass['header-cell--is-icon'] = true;
10972
10962
  }
10973
10963
  // For fixed cells styles and classes
10974
- const fixedCellStyle = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, 0, extraCells);
10964
+ const fixedCellStyle = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, 0, extraCells);
10975
10965
  if (fixedCellStyle) {
10976
10966
  columnClass = Object.assign(Object.assign({}, columnClass), fixedCellStyle.fixedCellClasses);
10977
10967
  thStyle = Object.assign(Object.assign({}, thStyle), fixedCellStyle.fixedCellStyle);
@@ -10986,24 +10976,24 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10986
10976
  let multiSelectColumn = null;
10987
10977
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
10988
10978
  specialExtraCellsCount++;
10989
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
10979
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
10990
10980
  const style = Object.assign({ width: '30px', margin: '0 auto' }, (selectionStyleAndClass
10991
10981
  ? selectionStyleAndClass.fixedCellStyle
10992
10982
  : {}));
10993
10983
  multiSelectColumn = (index.h("th", { class: selectionStyleAndClass
10994
10984
  ? selectionStyleAndClass.fixedCellClasses
10995
- : {}, style: style }, index.h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.SELECTED) +
10985
+ : {}, style: style }, index.h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.SELECTED) +
10996
10986
  `: ${this.selectedRows.length},` +
10997
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.RENDERED) +
10998
- `: ${__classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
10987
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.RENDERED) +
10988
+ `: ${__classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
10999
10989
  this.selectedRows.length ===
11000
- __classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f").length })));
10990
+ __classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f").length })));
11001
10991
  }
11002
10992
  // Renders action column
11003
10993
  let actionsColumn = null;
11004
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
10994
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11005
10995
  specialExtraCellsCount++;
11006
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
10996
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
11007
10997
  actionsColumn = (index.h("th", { class: selectionStyleAndClass
11008
10998
  ? selectionStyleAndClass.fixedCellClasses
11009
10999
  : {}, style: selectionStyleAndClass
@@ -11012,26 +11002,26 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11012
11002
  }
11013
11003
  // Renders normal cells
11014
11004
  const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
11015
- const { columnClass, thStyle } = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
11005
+ const { columnClass, thStyle } = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
11016
11006
  let filter = null;
11017
- if (__classPrivateFieldGet$2(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column)) {
11018
- const svgLabel = __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.REMOVE_FILTERS) + `: '${__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getFilterValueForTooltip).call(this, column)}'`;
11007
+ if (__classPrivateFieldGet$3(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column)) {
11008
+ const svgLabel = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.REMOVE_FILTERS) + `: '${__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getFilterValueForTooltip).call(this, column)}'`;
11019
11009
  filter = (index.h("span", { title: svgLabel, class: `kup-icon ${kupManager.KupThemeIconValues.FILTER_REMOVE.replace('--', '')}` }));
11020
11010
  }
11021
11011
  let sortIcon = null;
11022
- let iconClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getSortIcon).call(this, column.name);
11012
+ let iconClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSortIcon).call(this, column.name);
11023
11013
  if (iconClass !== '') {
11024
- sortIcon = (index.h("span", { class: iconClass, title: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getSortDecode).call(this, column.name) }));
11014
+ sortIcon = (index.h("span", { class: iconClass, title: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSortDecode).call(this, column.name) }));
11025
11015
  }
11026
11016
  columnClass['header-cell--sortable'] = true;
11027
11017
  let keyIcon = null;
11028
11018
  if (column.isKey) {
11029
- keyIcon = (index.h("span", { class: `kup-icon ${kupManager.KupThemeIconValues.KEY.replace('--', '')}`, title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.KEY) }));
11019
+ keyIcon = (index.h("span", { class: `kup-icon ${kupManager.KupThemeIconValues.KEY.replace('--', '')}`, title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.KEY) }));
11030
11020
  }
11031
11021
  // Sets custom columns width
11032
- if (__classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")) {
11033
- for (let i = 0; i < __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f").length; i++) {
11034
- const currentCol = __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")[i];
11022
+ if (__classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")) {
11023
+ for (let i = 0; i < __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f").length; i++) {
11024
+ const currentCol = __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")[i];
11035
11025
  if (currentCol.name === column.name) {
11036
11026
  const width = currentCol.size + '';
11037
11027
  if (width.indexOf('ch') < 1) {
@@ -11044,7 +11034,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11044
11034
  }
11045
11035
  }
11046
11036
  }
11047
- return (index.h("th", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_thRefs, "f").push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, index.h("div", { class: "header-cell__content" }, index.h("span", { class: "header-cell__title" }, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)), index.h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (index.h("span", { class: "header-cell__drag-handler" })) : null));
11037
+ return (index.h("th", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_thRefs, "f").push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, index.h("div", { class: "header-cell__content" }, index.h("span", { class: "header-cell__title" }, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)), index.h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (index.h("span", { class: "header-cell__drag-handler" })) : null));
11048
11038
  });
11049
11039
  return [multiSelectColumn, actionsColumn, ...dataColumns];
11050
11040
  // return [multiSelectColumn, groupColumn, actionsColumn, ...dataColumns];
@@ -11053,24 +11043,24 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11053
11043
  let multiSelectColumn = null;
11054
11044
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
11055
11045
  specialExtraCellsCount++;
11056
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
11046
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
11057
11047
  const style = Object.assign({ width: '30px', margin: '0 auto' }, (selectionStyleAndClass
11058
11048
  ? selectionStyleAndClass.fixedCellStyle
11059
11049
  : {}));
11060
11050
  multiSelectColumn = (index.h("th-sticky", { class: selectionStyleAndClass
11061
11051
  ? selectionStyleAndClass.fixedCellClasses
11062
- : null, style: style }, index.h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.SELECTED) +
11052
+ : null, style: style }, index.h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.SELECTED) +
11063
11053
  `: ${this.selectedRows.length},` +
11064
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.RENDERED) +
11065
- `: ${__classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
11054
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageRow.RENDERED) +
11055
+ `: ${__classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
11066
11056
  this.selectedRows.length ===
11067
- __classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f").length })));
11057
+ __classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f").length })));
11068
11058
  }
11069
11059
  // Empty cell for the actions
11070
11060
  let actionsColumn = null;
11071
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11061
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11072
11062
  specialExtraCellsCount++;
11073
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
11063
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, specialExtraCellsCount - 1);
11074
11064
  actionsColumn = (index.h("th-sticky", { class: selectionStyleAndClass
11075
11065
  ? selectionStyleAndClass.fixedCellClasses
11076
11066
  : null, style: selectionStyleAndClass
@@ -11079,29 +11069,29 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11079
11069
  }
11080
11070
  // Composes normal header cells
11081
11071
  const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
11082
- const { columnClass, thStyle } = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
11083
- return (index.h("th-sticky", { class: columnClass, style: thStyle }, index.h("div", { class: "header-cell__content" }, index.h("span", { class: "header-cell__title" }, __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)))));
11072
+ const { columnClass, thStyle } = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
11073
+ return (index.h("th-sticky", { class: columnClass, style: thStyle }, index.h("div", { class: "header-cell__content" }, index.h("span", { class: "header-cell__title" }, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)))));
11084
11074
  });
11085
11075
  return [multiSelectColumn, actionsColumn, ...dataColumns];
11086
11076
  }, _KupDataTable_totalMenuPosition = function _KupDataTable_totalMenuPosition() {
11087
11077
  if (this.rootElement.shadowRoot) {
11088
11078
  const menu = this.rootElement.shadowRoot.querySelector('#totals-menu');
11089
11079
  if (menu) {
11090
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.register(menu, __classPrivateFieldGet$2(this, _KupDataTable_totalMenuCoords, "f"));
11080
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.register(menu, __classPrivateFieldGet$3(this, _KupDataTable_totalMenuCoords, "f"));
11091
11081
  __classPrivateFieldSet$2(this, _KupDataTable_clickCb, {
11092
11082
  cb: () => {
11093
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
11083
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
11094
11084
  },
11095
11085
  el: menu,
11096
11086
  }, "f");
11097
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCb, "f"), true);
11098
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.start(menu);
11087
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCb, "f"), true);
11088
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.start(menu);
11099
11089
  menu.menuVisible = true;
11100
11090
  }
11101
11091
  }
11102
11092
  }, _KupDataTable_onTotalMenuOpen = function _KupDataTable_onTotalMenuOpen(column) {
11103
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
11104
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_openTotalMenu).call(this, column);
11093
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
11094
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_openTotalMenu).call(this, column);
11105
11095
  }, _KupDataTable_renderRow = function _KupDataTable_renderRow(row, level = 0, rowCssIndex = 0, previousRow) {
11106
11096
  const visibleColumns = this.getVisibleColumns();
11107
11097
  let rowActionsCount = 0;
@@ -11133,17 +11123,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11133
11123
  for (let i = 0; i < level; i++) {
11134
11124
  indent.push(index.h("span", { class: "indent" }));
11135
11125
  }
11136
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
11126
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
11137
11127
  //const colSpan = this.multiSelection ? 2 : 1;
11138
11128
  const cells = [];
11139
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11129
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11140
11130
  cells.push(index.h("td", null));
11141
11131
  }
11142
11132
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
11143
11133
  cells.push(index.h("td", null));
11144
11134
  }
11145
11135
  // adding 'grouping' cell
11146
- const grouplabelcell = (index.h("td", { colSpan: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, index.h("span", { class: "group-cell-content" }, indent, index.h("span", { class: iconClass }), index.h("span", { class: "text" }, composedGroupLabel))));
11136
+ const grouplabelcell = (index.h("td", { colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, index.h("span", { class: "group-cell-content" }, indent, index.h("span", { class: iconClass }), index.h("span", { class: "text" }, composedGroupLabel))));
11147
11137
  // adding 'totals grouping' cells
11148
11138
  for (let column of visibleColumns) {
11149
11139
  let totalClass = 'total';
@@ -11158,11 +11148,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11158
11148
  value = totalValue;
11159
11149
  }
11160
11150
  else {
11161
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
11151
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
11162
11152
  if (totalValue) {
11163
- if (__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dates.isValid(totalValue, kupManager.KupDatesFormats.ISO_DATE)) {
11153
+ if (__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dates.isValid(totalValue, kupManager.KupDatesFormats.ISO_DATE)) {
11164
11154
  value =
11165
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
11155
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
11166
11156
  }
11167
11157
  else {
11168
11158
  console.warn(`invalid date: ${totalValue}`);
@@ -11175,18 +11165,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11175
11165
  }
11176
11166
  cells.push(index.h("td", { class: totalClass }, value));
11177
11167
  }
11178
- jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-label" }, grouplabelcell));
11179
- jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-total" }, cells));
11168
+ jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-label" }, grouplabelcell));
11169
+ jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-total" }, cells));
11180
11170
  }
11181
11171
  else {
11182
- jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group" }, index.h("td", { colSpan: __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, index.h("span", { class: "group-cell-content" }, indent, index.h("span", { class: iconClass }), index.h("span", { class: "text" }, composedGroupLabel)))));
11172
+ jsxRows.push(index.h("tr", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group" }, index.h("td", { colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, index.h("span", { class: "group-cell-content" }, indent, index.h("span", { class: iconClass }), index.h("span", { class: "text" }, composedGroupLabel)))));
11183
11173
  }
11184
11174
  // if group is expanded, add children
11185
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
11175
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
11186
11176
  row.group.children
11187
11177
  // We must pass the previous element of the array to check if we must hide or display the value of the cell
11188
11178
  // When the column has specified the parameter hideValuesRepetitions
11189
- .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
11179
+ .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
11190
11180
  ? currentArray[groupRowIndex - 1]
11191
11181
  : undefined))
11192
11182
  .forEach((jsxRow) => {
@@ -11213,11 +11203,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11213
11203
  let selectRowCell = null;
11214
11204
  if (this.selection === kupManager.SelectionMode.MULTIPLE_CHECKBOX) {
11215
11205
  specialExtraCellsCount++;
11216
- const selectionStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
11206
+ const selectionStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
11217
11207
  const props = {
11218
11208
  checked: this.selectedRows.includes(row),
11219
11209
  onChange: () => {
11220
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handleRowSelect).call(this, row);
11210
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleRowSelect).call(this, row);
11221
11211
  },
11222
11212
  };
11223
11213
  selectRowCell = (index.h("td", { "row-select-cell": true, class: selectionStyleAndClass
@@ -11229,18 +11219,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11229
11219
  // Renders action cell
11230
11220
  // If active, this can be either the first or second cell
11231
11221
  let rowActionsCell = null;
11232
- if (__classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11222
+ if (__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this)) {
11233
11223
  // Increments
11234
11224
  specialExtraCellsCount++;
11235
- const actionsStyleAndClass = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
11225
+ const actionsStyleAndClass = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
11236
11226
  rowActionsCount += this.rowActions.length;
11237
- const defaultRowActions = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderActions).call(this, this.rowActions, row, 'default');
11227
+ const defaultRowActions = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderActions).call(this, this.rowActions, row, 'default');
11238
11228
  let rowActionExpander = null;
11239
11229
  let variableActions = null;
11240
11230
  if (row.actions) {
11241
11231
  rowActionsCount += row.actions.length;
11242
11232
  // adding variable actions
11243
- variableActions = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_renderActions).call(this, row.actions, row, 'variable');
11233
+ variableActions = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderActions).call(this, row.actions, row, 'variable');
11244
11234
  }
11245
11235
  else {
11246
11236
  // adding expander
@@ -11249,10 +11239,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11249
11239
  resource: 'chevron-right',
11250
11240
  sizeX: '1.5em',
11251
11241
  sizeY: '1.5em',
11252
- title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPAND),
11242
+ title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPAND),
11253
11243
  wrapperClass: 'expander',
11254
11244
  onClick: (e) => {
11255
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, row);
11245
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, row);
11256
11246
  },
11257
11247
  };
11258
11248
  rowActionsCount++;
@@ -11301,18 +11291,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11301
11291
  let cellClass = null;
11302
11292
  let cellStyle = Object.assign({}, cell.style);
11303
11293
  //-- For fixed cells --
11304
- const fixedStyles = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, cellIndex + 1 + specialExtraCellsCount, rowCssIndex, specialExtraCellsCount);
11294
+ const fixedStyles = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, cellIndex + 1 + specialExtraCellsCount, rowCssIndex, specialExtraCellsCount);
11305
11295
  if (fixedStyles) {
11306
11296
  cellStyle = Object.assign(cellStyle ? cellStyle : {}, fixedStyles.fixedCellStyle);
11307
11297
  cellClass = Object.assign(Object.assign({}, cellClass), fixedStyles.fixedCellClasses);
11308
11298
  }
11309
11299
  // Controls if there are columns with a specified width
11310
- if (__classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")) {
11300
+ if (__classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")) {
11311
11301
  let colWidth = '';
11312
11302
  // Search if this column has a specified width
11313
- for (let j = 0; j < __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f").length; j++) {
11314
- if (name === __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")[j].name) {
11315
- colWidth = __classPrivateFieldGet$2(this, _KupDataTable_sizedColumns, "f")[j].size;
11303
+ for (let j = 0; j < __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f").length; j++) {
11304
+ if (name === __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")[j].name) {
11305
+ colWidth = __classPrivateFieldGet$3(this, _KupDataTable_sizedColumns, "f")[j].size;
11316
11306
  break;
11317
11307
  }
11318
11308
  }
@@ -11334,7 +11324,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11334
11324
  return (index.h("td", Object.assign({ title: title, colSpan: cell.span && cell.span.col ? cell.span.col : null, rowSpan: cell.span && cell.span.row ? cell.span.row : null, "data-cell": cell, "data-column": name, "data-row": row, style: cellStyle, class: cellClass }, eventHandlers), jsxCell));
11335
11325
  });
11336
11326
  // adding row to rendered rows
11337
- __classPrivateFieldGet$2(this, _KupDataTable_renderedRows, "f").push(row);
11327
+ __classPrivateFieldGet$3(this, _KupDataTable_renderedRows, "f").push(row);
11338
11328
  const rowClass = {
11339
11329
  selected: this.selectedRows.includes(row),
11340
11330
  };
@@ -11344,7 +11334,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11344
11334
  const style = {
11345
11335
  '--kup_datatable_row_actions': rowActionsCount,
11346
11336
  };
11347
- return (index.h("tr", { ref: (el) => __classPrivateFieldGet$2(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: rowClass, style: style }, selectRowCell, rowActionsCell, cells));
11337
+ return (index.h("tr", { ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: rowClass, style: style }, selectRowCell, rowActionsCell, cells));
11348
11338
  }
11349
11339
  }, _KupDataTable_renderActions = function _KupDataTable_renderActions(actions, row, type) {
11350
11340
  return actions.map((action, index$1) => {
@@ -11355,7 +11345,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11355
11345
  sizeY: '1.5em',
11356
11346
  title: action.text,
11357
11347
  wrapperClass: 'action',
11358
- onClick: () => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onDefaultRowActionClick).call(this, {
11348
+ onClick: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onDefaultRowActionClick).call(this, {
11359
11349
  action,
11360
11350
  row,
11361
11351
  index: index$1,
@@ -11366,58 +11356,58 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11366
11356
  });
11367
11357
  }, _KupDataTable_onCustomSettingsClick = function _KupDataTable_onCustomSettingsClick() {
11368
11358
  if (!this.openedCustomSettings) {
11369
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_openCustomSettings).call(this);
11359
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_openCustomSettings).call(this);
11370
11360
  }
11371
11361
  else {
11372
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
11362
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
11373
11363
  }
11374
11364
  }, _KupDataTable_openCustomSettings = function _KupDataTable_openCustomSettings() {
11375
- __classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = true;
11376
- __classPrivateFieldGet$2(this, _KupDataTable_customizeTopButtonRef, "f").classList.add('toggled');
11377
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f"));
11365
+ __classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = true;
11366
+ __classPrivateFieldGet$3(this, _KupDataTable_customizeTopButtonRef, "f").classList.add('toggled');
11367
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f"));
11378
11368
  this.openedCustomSettings = true;
11379
- if (!__classPrivateFieldGet$2(this, _KupDataTable_clickCbCustomPanel, "f")) {
11369
+ if (!__classPrivateFieldGet$3(this, _KupDataTable_clickCbCustomPanel, "f")) {
11380
11370
  __classPrivateFieldSet$2(this, _KupDataTable_clickCbCustomPanel, {
11381
11371
  cb: () => {
11382
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
11372
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
11383
11373
  },
11384
- el: __classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f"),
11374
+ el: __classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f"),
11385
11375
  }, "f");
11386
11376
  }
11387
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCbCustomPanel, "f"), true);
11377
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbCustomPanel, "f"), true);
11388
11378
  }, _KupDataTable_closeCustomSettings = function _KupDataTable_closeCustomSettings() {
11389
- __classPrivateFieldGet$2(this, _KupDataTable_customizeTopButtonRef, "f").classList.remove('toggled');
11390
- if (__classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f") == null) {
11379
+ __classPrivateFieldGet$3(this, _KupDataTable_customizeTopButtonRef, "f").classList.remove('toggled');
11380
+ if (__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f") == null) {
11391
11381
  return;
11392
11382
  }
11393
- __classPrivateFieldGet$2(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = false;
11383
+ __classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = false;
11394
11384
  this.openedCustomSettings = false;
11395
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$2(this, _KupDataTable_clickCbCustomPanel, "f"));
11385
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbCustomPanel, "f"));
11396
11386
  }, _KupDataTable_renderPaginator = function _KupDataTable_renderPaginator(top) {
11397
11387
  return (index.h("div", { class: "paginator-wrapper" }, index.h("div", { class: "paginator-tabs" }, this.showLoadMore ||
11398
11388
  (!this.lazyLoadRows &&
11399
- __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ? (index.h(fPaginatorUtils.FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: __classPrivateFieldGet$2(this, _KupDataTable_rowsLength, "f"), perPage: this.currentRowsPerPage
11389
+ __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ? (index.h(fPaginatorUtils.FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: __classPrivateFieldGet$3(this, _KupDataTable_rowsLength, "f"), perPage: this.currentRowsPerPage
11400
11390
  ? this.currentRowsPerPage
11401
11391
  : this.rowsPerPage, onLoadMore: this.showLoadMore
11402
11392
  ? () => {
11403
- __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
11393
+ __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
11404
11394
  }
11405
- : null, onNextPage: () => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
11395
+ : null, onNextPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
11406
11396
  }, _KupDataTable_columnRemoveArea = function _KupDataTable_columnRemoveArea() {
11407
11397
  return (index.h("div", { class: "droparea__remove", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_removeDropareaRef, el, "f")) }, index.h(fImage.FImage, { resource: "delete", color: `var(${kupManager.KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), index.h(fImage.FImage, { resource: "delete-empty", color: `var(${kupManager.KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
11408
11398
  }, _KupDataTable_columnGroupArea = function _KupDataTable_columnGroupArea() {
11409
11399
  return (index.h("div", { class: "droparea__groups", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_groupsDropareaRef, el, "f")) }, index.h(fImage.FImage, { resource: "bookmark", color: `var(${kupManager.KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }), index.h(fImage.FImage, { resource: "book", color: `var(${kupManager.KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
11410
11400
  }, _KupDataTable_hideShowColumnDropArea = function _KupDataTable_hideShowColumnDropArea(show, th) {
11411
11401
  if (show && th && (this.removableColumns || this.showGroups)) {
11412
- __classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f").classList.add('droparea--visible');
11413
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f"), th, 10, kupManager.KupDynamicPositionPlacement.TOP);
11414
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f"));
11415
- __classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f").style.marginLeft =
11416
- th.clientWidth / 2 - __classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f").clientWidth / 2 + 'px';
11402
+ __classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f").classList.add('droparea--visible');
11403
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f"), th, 10, kupManager.KupDynamicPositionPlacement.TOP);
11404
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f"));
11405
+ __classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f").style.marginLeft =
11406
+ th.clientWidth / 2 - __classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f").clientWidth / 2 + 'px';
11417
11407
  }
11418
11408
  else {
11419
- __classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f").classList.remove('droparea--visible');
11420
- +__classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$2(this, _KupDataTable_dropareaRef, "f"));
11409
+ __classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f").classList.remove('droparea--visible');
11410
+ +__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_dropareaRef, "f"));
11421
11411
  }
11422
11412
  }, _KupDataTable_handleColumnGroup = function _KupDataTable_handleColumnGroup(column2group) {
11423
11413
  // Get sorted column current position
@@ -11485,19 +11475,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11485
11475
  icon: icons[i],
11486
11476
  id: codes[i],
11487
11477
  selected: selectedCode == codes[i],
11488
- value: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(value),
11478
+ value: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(value),
11489
11479
  };
11490
11480
  }
11491
11481
  }
11492
11482
  return listItems;
11493
11483
  }, _KupDataTable_getFontSizeCodeFromDecode = function _KupDataTable_getFontSizeCodeFromDecode(decode) {
11494
- return __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$2(this, _KupDataTable_FONTSIZE_DECODES, "f"), __classPrivateFieldGet$2(this, _KupDataTable_FONTSIZE_CODES, "f"));
11484
+ return __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$3(this, _KupDataTable_FONTSIZE_DECODES, "f"), __classPrivateFieldGet$3(this, _KupDataTable_FONTSIZE_CODES, "f"));
11495
11485
  }, _KupDataTable_renderFontSizePanel = function _KupDataTable_renderFontSizePanel() {
11496
- const listItems = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$2(this, _KupDataTable_FONTSIZE_CODES, "f"), __classPrivateFieldGet$2(this, _KupDataTable_FONTSIZE_ICONS, "f"), this.fontsize);
11486
+ const listItems = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$3(this, _KupDataTable_FONTSIZE_CODES, "f"), __classPrivateFieldGet$3(this, _KupDataTable_FONTSIZE_ICONS, "f"), this.fontsize);
11497
11487
  const listData = { data: listItems, showIcons: true };
11498
11488
  const textfieldData = {
11499
11489
  trailingIcon: true,
11500
- label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageFontsize.LABEL),
11490
+ label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageFontsize.LABEL),
11501
11491
  icon: 'arrow_drop_down',
11502
11492
  };
11503
11493
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -11514,22 +11504,22 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11514
11504
  text = kupManager.KupLanguageFontsize.SMALL;
11515
11505
  break;
11516
11506
  }
11517
- return (index.h("div", { class: "customize-element fontsize-panel" }, index.h("kup-combobox", { isSelect: true, data: data, initialValue: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(text), "onkup-combobox-itemclick": (e) => {
11507
+ return (index.h("div", { class: "customize-element fontsize-panel" }, index.h("kup-combobox", { isSelect: true, data: data, initialValue: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(text), "onkup-combobox-itemclick": (e) => {
11518
11508
  e.stopPropagation();
11519
- this.fontsize = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getFontSizeCodeFromDecode).call(this, e.detail.node.id);
11509
+ this.fontsize = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getFontSizeCodeFromDecode).call(this, e.detail.node.id);
11520
11510
  } })));
11521
11511
  }, _KupDataTable_getDensityCodeFromDecode = function _KupDataTable_getDensityCodeFromDecode(decode) {
11522
- return __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$2(this, _KupDataTable_DENSITY_DECODES, "f"), [
11512
+ return __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$3(this, _KupDataTable_DENSITY_DECODES, "f"), [
11523
11513
  'dense',
11524
11514
  'medium',
11525
11515
  'wide',
11526
11516
  ]);
11527
11517
  }, _KupDataTable_renderDensityPanel = function _KupDataTable_renderDensityPanel() {
11528
- const listItems = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, ['dense', 'medium', 'wide'], __classPrivateFieldGet$2(this, _KupDataTable_DENSITY_ICONS, "f"), this.density);
11518
+ const listItems = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, ['dense', 'medium', 'wide'], __classPrivateFieldGet$3(this, _KupDataTable_DENSITY_ICONS, "f"), this.density);
11529
11519
  const listData = { data: listItems, showIcons: true };
11530
11520
  const textfieldData = {
11531
11521
  trailingIcon: true,
11532
- label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageDensity.LABEL),
11522
+ label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageDensity.LABEL),
11533
11523
  icon: 'arrow_drop_down',
11534
11524
  };
11535
11525
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -11546,14 +11536,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11546
11536
  text = kupManager.KupLanguageDensity.WIDE;
11547
11537
  break;
11548
11538
  }
11549
- return (index.h("div", { class: "customize-element density-panel" }, index.h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(text), selectMode: fCell.ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
11539
+ return (index.h("div", { class: "customize-element density-panel" }, index.h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(text), selectMode: fCell.ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
11550
11540
  e.stopPropagation();
11551
- this.density = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getDensityCodeFromDecode).call(this, e.detail.node.id);
11541
+ this.density = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getDensityCodeFromDecode).call(this, e.detail.node.id);
11552
11542
  } })));
11553
11543
  }, _KupDataTable_getGridCodeFromDecode = function _KupDataTable_getGridCodeFromDecode(decode) {
11554
- return __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$2(this, _KupDataTable_GRID_DECODES, "f"), __classPrivateFieldGet$2(this, _KupDataTable_GRID_CODES, "f"));
11544
+ return __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$3(this, _KupDataTable_GRID_DECODES, "f"), __classPrivateFieldGet$3(this, _KupDataTable_GRID_CODES, "f"));
11555
11545
  }, _KupDataTable_renderTransposeSwitch = function _KupDataTable_renderTransposeSwitch() {
11556
- return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-switch", { checked: this.transpose, label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
11546
+ return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-switch", { checked: this.transpose, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
11557
11547
  e.stopPropagation();
11558
11548
  if (e.detail.value === 'on') {
11559
11549
  this.transpose = true;
@@ -11563,16 +11553,16 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11563
11553
  }
11564
11554
  } })));
11565
11555
  }, _KupDataTable_renderTotalsMatrix = function _KupDataTable_renderTotalsMatrix() {
11566
- return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-button", { title: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOTALS_TABLE) +
11556
+ return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-button", { title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOTALS_TABLE) +
11567
11557
  ' (' +
11568
- __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPERIMENTAL_FEAT) +
11569
- ')', label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_switchToTotalsMatrix).call(this) })));
11558
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPERIMENTAL_FEAT) +
11559
+ ')', label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_switchToTotalsMatrix).call(this) })));
11570
11560
  }, _KupDataTable_renderGridPanel = function _KupDataTable_renderGridPanel() {
11571
- const listItems = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$2(this, _KupDataTable_GRID_CODES, "f"), __classPrivateFieldGet$2(this, _KupDataTable_GRID_ICONS, "f"), this.showGrid);
11561
+ const listItems = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$3(this, _KupDataTable_GRID_CODES, "f"), __classPrivateFieldGet$3(this, _KupDataTable_GRID_ICONS, "f"), this.showGrid);
11572
11562
  const listData = { data: listItems, showIcons: true };
11573
11563
  const textfieldData = {
11574
11564
  trailingIcon: true,
11575
- label: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGrid.LABEL),
11565
+ label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(kupManager.KupLanguageGrid.LABEL),
11576
11566
  icon: 'arrow_drop_down',
11577
11567
  };
11578
11568
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -11592,9 +11582,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11592
11582
  text = kupManager.KupLanguageGrid.ROW;
11593
11583
  break;
11594
11584
  }
11595
- return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$2(this, _KupDataTable_kupManager, "f").language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
11585
+ return (index.h("div", { class: "customize-element grid-panel" }, index.h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
11596
11586
  e.stopPropagation();
11597
- const grid = __classPrivateFieldGet$2(this, _KupDataTable_instances, "m", _KupDataTable_getGridCodeFromDecode).call(this, e.detail.value);
11587
+ const grid = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getGridCodeFromDecode).call(this, e.detail.value);
11598
11588
  this.showGrid = grid;
11599
11589
  } })));
11600
11590
  };
@@ -11998,7 +11988,7 @@ var KupDialogProps;
11998
11988
 
11999
11989
  const kupDialogCss = ":host{--kup_dialog_header_height:var(--kup-dialog-header-height, 2em);box-sizing:border-box;display:block;height:var(--kup_dialog_height);left:var(--kup_dialog_left);min-height:var(--kup_dialog_height);min-width:var(--kup_dialog_width);position:absolute;top:var(--kup_dialog_top);transition:opacity 0.25s ease-in;width:var(--kup_dialog_width)}#kup-component{height:100%;width:100%}[fade-in]{opacity:0}[fade-in] ::slotted{display:none}.header{background-color:var(--kup-title-background-color);color:var(--kup-title-color);display:flex;flex-direction:row;height:var(--kup_dialog_header_height);position:relative;width:100%}.header__title{font-weight:bold;line-height:2em;padding-left:0.5em;padding-right:2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header__close.f-image{--kup-icon-color:var(--kup-title-color);cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:0;background:var(--kup-title-background-color)}.header__close.f-image:hover{opacity:0.5}.content{height:calc(100% - var(--kup_dialog_header_height));overflow:auto;user-select:text}";
12000
11990
 
12001
- var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
11991
+ var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12002
11992
  if (kind === "a" && !f)
12003
11993
  throw new TypeError("Private accessor was defined without a getter");
12004
11994
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -12081,12 +12071,12 @@ const KupDialog = class {
12081
12071
  /* L i f e c y c l e H o o k s */
12082
12072
  /*-------------------------------------------------*/
12083
12073
  componentWillLoad() {
12084
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").debug.logLoad(this, false);
12085
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").theme.register(this);
12074
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").debug.logLoad(this, false);
12075
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").theme.register(this);
12086
12076
  }
12087
12077
  componentDidLoad() {
12088
12078
  var _a;
12089
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$1(this, _KupDialog_header, "f") ? __classPrivateFieldGet$1(this, _KupDialog_header, "f") : null, !this.resizable);
12079
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$2(this, _KupDialog_header, "f") ? __classPrivateFieldGet$2(this, _KupDialog_header, "f") : null, !this.resizable);
12090
12080
  if ((_a = this.autoCenter) === null || _a === void 0 ? void 0 : _a.onReady) {
12091
12081
  this.recalcPosition().then(() => {
12092
12082
  this.rootElement.removeAttribute('fade-in');
@@ -12096,7 +12086,7 @@ const KupDialog = class {
12096
12086
  this.rootElement.removeAttribute('fade-in');
12097
12087
  }
12098
12088
  if (this.modal) {
12099
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
12089
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
12100
12090
  ? () => {
12101
12091
  this.close();
12102
12092
  }
@@ -12106,13 +12096,13 @@ const KupDialog = class {
12106
12096
  comp: this,
12107
12097
  id: this.rootElement.id,
12108
12098
  });
12109
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
12099
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
12110
12100
  }
12111
12101
  componentWillRender() {
12112
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").debug.logRender(this, false);
12102
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").debug.logRender(this, false);
12113
12103
  }
12114
12104
  componentDidRender() {
12115
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").debug.logRender(this, true);
12105
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").debug.logRender(this, true);
12116
12106
  }
12117
12107
  render() {
12118
12108
  var _a;
@@ -12120,13 +12110,13 @@ const KupDialog = class {
12120
12110
  '--kup_dialog_height': this.sizeY ? this.sizeY : 'auto',
12121
12111
  '--kup_dialog_width': this.sizeX ? this.sizeX : 'auto',
12122
12112
  };
12123
- return (index.h(index.Host, { "fade-in": true, style: style }, index.h("style", null, __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, this.header ? (index.h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$1(this, _KupDialog_header, el, "f")) }, this.header.title ? (index.h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (index.h(fImage.FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : null, index.h("div", { class: "content" }, index.h("slot", null)))));
12113
+ return (index.h(index.Host, { "fade-in": true, style: style }, index.h("style", null, __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, this.header ? (index.h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$1(this, _KupDialog_header, el, "f")) }, this.header.title ? (index.h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (index.h(fImage.FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : null, index.h("div", { class: "content" }, index.h("slot", null)))));
12124
12114
  }
12125
12115
  disconnectedCallback() {
12126
12116
  if (this.modal) {
12127
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").interact.hideModalBackdrop();
12117
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").interact.hideModalBackdrop();
12128
12118
  }
12129
- __classPrivateFieldGet$1(this, _KupDialog_kupManager, "f").theme.unregister(this);
12119
+ __classPrivateFieldGet$2(this, _KupDialog_kupManager, "f").theme.unregister(this);
12130
12120
  }
12131
12121
  get rootElement() { return index.getElement(this); }
12132
12122
  };
@@ -14252,7 +14242,7 @@ KupImage.style = kupImageCss;
14252
14242
 
14253
14243
  const kupListCss = ":host{--kup_list_background:var(\n --kup-list-background,\n var(--kup-background-color)\n );--kup_list_color:var(--kup-list-color, var(--kup-text-color));--kup_list_font_family:var(--kup-list-font-family, var(--kup-font-family));--kup_list_font_size:var(--kup-list-font-size, var(--kup-font-size));--kup_list_font_weight:var(--kup-list-font-weight, 400);--kup_list_group_item_height:var(--kup-list-group-item-height, 3em);--kup_list_item_height:var(--kup-list-item-height, 2.5em);--kup_list_item_padding_left:var(--kup-list-item-padding, 0.75em);--kup_list_item_padding_right:var(--kup-list-item-padding, 0.75em);--kup_list_max_height_as_menu:var(--kup-list-max-height-as-menu, 33vh);--kup_list_primary_color:var(\n --kup-list-primary-color,\n var(--kup-primary-color)\n );--kup_list_primary_color_rgb:var(\n --kup-list-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_list_separator_color:var(\n --kup-list-separator-color,\n rgba(var(--kup-text-color-rgb), 0.25)\n );--kup_list_transition:var(--kup-list-transition, 120ms);display:block;font-family:var(--kup_list_font_family);font-size:var(--kup_list_font_size);outline:none}.list{background:var(--kup_list_background);color:var(--kup_list_color);font-weight:var(--kup_list_font_weight);letter-spacing:0.009375em;line-height:1.5em;list-style-type:none;margin:0;padding:0.5em 0;text-decoration:inherit;text-transform:inherit}.list--empty{padding:0}.list .list-item{display:-ms-flexbox;display:flex;height:var(--kup_list_item_height);position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:var(--kup_list_item_padding_left);padding-right:calc(var(--kup_list_item_padding_left) + var(--kup_list_item_expand_padding, 0px));overflow:hidden;outline:none;transition:background-color var(--kup_list_transition), color var(--kup_list_transition)}.list .list-item[role=checkbox],.list .list-item[role=radio]{height:var(--kup_list_group_item_height)}.list .list-item.list-item--activated,.list .list-item.list-item--activated .list-item__graphic,.list .list-item.list-item--selected,.list .list-item.list-item--selected .list-item__graphic{background-color:rgba(var(--kup_list_primary_color_rgb), 0.175);color:var(--kup_list_primary_color)}.list .list-item .list-item__text{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.list .list-item .list-item__primary-text{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:0;line-height:normal;margin-bottom:-1.5em;display:block}.list .list-item .list-item__primary-text:before{display:inline-block;width:0;height:1.5em;content:\"\";vertical-align:0}.list .list-item .list-item__primary-text:after{display:inline-block;width:0;height:2em;content:\"\";vertical-align:-2em}.list .list-item .list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-o-text-overflow:ellipsis;-webkit-font-smoothing:antialiased;display:block;font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:0;line-height:normal;color:var(--kup_list_color);opacity:0.75}.list .list-item .kup-icon{margin:0;margin-right:0.75em}.list .list-item kup-checkbox{margin:0}.list .list-divider{background-color:var(--kup_list_separator_color);height:1px;padding:0;background-clip:content-box}.list.list--two-line .list-item{height:3.6em}.list.list--two-line .list-item__text{-ms-flex-item-align:start;align-self:flex-start}.list:not(.list--non-interactive)>:not(.list-item--disabled).list-item{cursor:pointer}.list:not(.list--non-interactive)>:not(.list-item--disabled).list-item label{cursor:pointer}.list:not(.list--non-interactive) .list-item:not(.list-item--selected):hover,.list:not(.list--non-interactive) .list-item:not(.list-item--selected).list-item--focused{background-color:var(--kup-hover-background-color);color:var(--kup-hover-color)}.list.text-hidden .list-item__text{display:none}.kup-menu{animation:fade-in 0.25s ease-out;background-color:var(--kup-background-color);box-shadow:var(--kup-box-shadow);color:var(--kup-text-color);display:none;max-height:var(--kup_list_max_height_as_menu);overflow:auto;position:relative;transform:none;transform-origin:unset;transition:height 0.2s;user-select:none;will-change:unset}.kup-menu.visible{display:block}.kup-menu .list-item__text{user-select:none}:host([nested-list]){--kup_list_item_expand_padding:1.5em;max-width:250px}:host([nested-list]) .kup-menu{max-height:unset;overflow:visible}:host([nested-list]) kup-list{display:none;left:100%;position:absolute;top:0}:host([nested-list]) .list-item{overflow:visible}:host([nested-list]) .list-item__expand-icon{position:absolute;right:0}:host([nested-list]) .list-item:hover kup-list{display:block}:host(.kup-paddingless) .list{padding:0}:host(.kup-danger){--kup-list-primary-color:var(--kup-danger-color);--kup-list-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-list-primary-color:var(--kup-info-color);--kup-list-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-list-primary-color:var(--kup-secondary-color);--kup-list-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-list-primary-color:var(--kup-success-color);--kup-list-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-list-primary-color:var(--kup-warning-color);--kup-list-primary-color-rgb:var(--kup-warning-color-rgb)}";
14254
14244
 
14255
- var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
14245
+ var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
14256
14246
  if (kind === "a" && !f)
14257
14247
  throw new TypeError("Private accessor was defined without a getter");
14258
14248
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -14313,7 +14303,7 @@ const KupList = class {
14313
14303
  });
14314
14304
  }
14315
14305
  onKupClick(index) {
14316
- __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
14306
+ __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
14317
14307
  }
14318
14308
  /*-------------------------------------------------*/
14319
14309
  /* L i s t e n e r s */
@@ -14334,7 +14324,7 @@ const KupList = class {
14334
14324
  case 'Enter':
14335
14325
  e.preventDefault();
14336
14326
  e.stopPropagation();
14337
- __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_handleSelection).call(this, this.focused);
14327
+ __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_handleSelection).call(this, this.focused);
14338
14328
  break;
14339
14329
  }
14340
14330
  }
@@ -14360,10 +14350,10 @@ const KupList = class {
14360
14350
  else {
14361
14351
  this.focused++;
14362
14352
  }
14363
- if (this.focused > __classPrivateFieldGet(this, _KupList_listItems, "f").length - 1) {
14353
+ if (this.focused > __classPrivateFieldGet$1(this, _KupList_listItems, "f").length - 1) {
14364
14354
  this.focused = 0;
14365
14355
  }
14366
- __classPrivateFieldGet(this, _KupList_listItems, "f")[this.focused].focus();
14356
+ __classPrivateFieldGet$1(this, _KupList_listItems, "f")[this.focused].focus();
14367
14357
  }
14368
14358
  /**
14369
14359
  * Focuses the previous element of the list.
@@ -14384,9 +14374,9 @@ const KupList = class {
14384
14374
  this.focused--;
14385
14375
  }
14386
14376
  if (this.focused < 0) {
14387
- this.focused = __classPrivateFieldGet(this, _KupList_listItems, "f").length - 1;
14377
+ this.focused = __classPrivateFieldGet$1(this, _KupList_listItems, "f").length - 1;
14388
14378
  }
14389
- __classPrivateFieldGet(this, _KupList_listItems, "f")[this.focused].focus();
14379
+ __classPrivateFieldGet$1(this, _KupList_listItems, "f")[this.focused].focus();
14390
14380
  }
14391
14381
  /**
14392
14382
  * Used to retrieve component's props values.
@@ -14423,7 +14413,7 @@ const KupList = class {
14423
14413
  if (index === undefined) {
14424
14414
  index = this.focused;
14425
14415
  }
14426
- __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
14416
+ __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
14427
14417
  }
14428
14418
  /**
14429
14419
  * Sets the props to the component.
@@ -14436,8 +14426,8 @@ const KupList = class {
14436
14426
  /* L i f e c y c l e H o o k s */
14437
14427
  /*-------------------------------------------------*/
14438
14428
  componentWillLoad() {
14439
- __classPrivateFieldGet(this, _KupList_kupManager, "f").debug.logLoad(this, false);
14440
- __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.register(this);
14429
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").debug.logLoad(this, false);
14430
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").theme.register(this);
14441
14431
  for (let index = 0; index < this.data.length; index++) {
14442
14432
  const el = this.data[index];
14443
14433
  if (el.selected) {
@@ -14446,10 +14436,10 @@ const KupList = class {
14446
14436
  }
14447
14437
  }
14448
14438
  componentDidLoad() {
14449
- __classPrivateFieldGet(this, _KupList_kupManager, "f").debug.logLoad(this, true);
14439
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").debug.logLoad(this, true);
14450
14440
  }
14451
14441
  componentWillRender() {
14452
- __classPrivateFieldGet(this, _KupList_kupManager, "f").debug.logRender(this, false);
14442
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").debug.logRender(this, false);
14453
14443
  }
14454
14444
  componentDidRender() {
14455
14445
  if (this.isMenu &&
@@ -14460,7 +14450,7 @@ const KupList = class {
14460
14450
  this.rootElement.focus();
14461
14451
  }, 0);
14462
14452
  }
14463
- __classPrivateFieldGet(this, _KupList_kupManager, "f").debug.logRender(this, true);
14453
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").debug.logRender(this, true);
14464
14454
  }
14465
14455
  render() {
14466
14456
  __classPrivateFieldSet(this, _KupList_listItems, [], "f");
@@ -14472,7 +14462,7 @@ const KupList = class {
14472
14462
  wrapperClass += ' visible';
14473
14463
  }
14474
14464
  }
14475
- __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_checkRoleType).call(this);
14465
+ __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_checkRoleType).call(this);
14476
14466
  if (this.selectable != true) {
14477
14467
  componentClass += ' list--non-interactive';
14478
14468
  }
@@ -14487,17 +14477,17 @@ const KupList = class {
14487
14477
  }
14488
14478
  let roleAttr = this.roleType;
14489
14479
  let ariaMultiSelectable = 'false';
14490
- if (__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isMultiSelection).call(this)) {
14480
+ if (__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isMultiSelection).call(this)) {
14491
14481
  ariaMultiSelectable = 'true';
14492
14482
  }
14493
14483
  __classPrivateFieldSet(this, _KupList_radios, [], "f");
14494
14484
  let index$1 = 0;
14495
- return (index.h(index.Host, null, index.h("style", null, __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: "kup-component", class: wrapperClass }, index.h("ul", { class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
14496
- .filter((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
14497
- .map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index$1++))))));
14485
+ return (index.h(index.Host, null, index.h("style", null, __classPrivateFieldGet$1(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: "kup-component", class: wrapperClass }, index.h("ul", { class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
14486
+ .filter((item) => __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
14487
+ .map((item) => __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index$1++))))));
14498
14488
  }
14499
14489
  disconnectedCallback() {
14500
- __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.unregister(this);
14490
+ __classPrivateFieldGet$1(this, _KupList_kupManager, "f").theme.unregister(this);
14501
14491
  }
14502
14492
  get rootElement() { return index.getElement(this); }
14503
14493
  };
@@ -14548,7 +14538,7 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14548
14538
  if (this.showIcons == true &&
14549
14539
  item.icon != null &&
14550
14540
  item.icon.trim() != '') {
14551
- imageTag = __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_getIconTag).call(this, item.icon);
14541
+ imageTag = __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_getIconTag).call(this, item.icon);
14552
14542
  }
14553
14543
  let primaryTextTag = [
14554
14544
  getIdOfItemByDisplayMode(item, this.displayMode, ' - '),
@@ -14564,9 +14554,9 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14564
14554
  }
14565
14555
  let classAttr = 'list-item';
14566
14556
  let tabIndexAttr = item.selected == true ? '0' : '-1';
14567
- if (!__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isNested).call(this) &&
14557
+ if (!__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isNested).call(this) &&
14568
14558
  item.selected == true &&
14569
- __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isListBoxRule).call(this)) {
14559
+ __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isListBoxRule).call(this)) {
14570
14560
  classAttr += ' list-item--selected';
14571
14561
  }
14572
14562
  if (this.focused === index$1) {
@@ -14582,7 +14572,7 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14582
14572
  imageTag,
14583
14573
  index.h("span", { class: "list-item__text" }, primaryTextTag, secTextTag),
14584
14574
  ];
14585
- if (__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
14575
+ if (__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
14586
14576
  roleAttr = 'radio';
14587
14577
  ariaCheckedAttr = item.selected == true ? 'true' : 'false';
14588
14578
  let dataTmp = [
@@ -14596,12 +14586,12 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14596
14586
  display: 'none',
14597
14587
  };
14598
14588
  innerSpanTag = [
14599
- index.h("span", { class: "list-item__graphic" }, index.h("input", { type: "radio", style: trickForMDC }), index.h("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index$1, ref: (el) => (__classPrivateFieldGet(this, _KupList_radios, "f")[index$1] = el) })),
14589
+ index.h("span", { class: "list-item__graphic" }, index.h("input", { type: "radio", style: trickForMDC }), index.h("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index$1, ref: (el) => (__classPrivateFieldGet$1(this, _KupList_radios, "f")[index$1] = el) })),
14600
14590
  imageTag,
14601
14591
  index.h("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index$1 }, primaryTextTag, secTextTag),
14602
14592
  ];
14603
14593
  }
14604
- else if (__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this)) {
14594
+ else if (__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this)) {
14605
14595
  roleAttr = 'checkbox';
14606
14596
  ariaCheckedAttr = item.selected == true ? 'true' : 'false';
14607
14597
  let checkedAttr = item.selected == true ? true : false;
@@ -14619,14 +14609,14 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14619
14609
  vNodes.push(index.h("li", { role: "separator", class: "list-divider" }));
14620
14610
  }
14621
14611
  vNodes.push(index.h("li", { ref: (el) => {
14622
- __classPrivateFieldGet(this, _KupList_listItems, "f").push(el);
14612
+ __classPrivateFieldGet$1(this, _KupList_listItems, "f").push(el);
14623
14613
  }, class: classAttr, role: roleAttr, tabindex: tabIndexAttr, "data-id": item.id, "aria-selected": ariaSelectedAttr, "aria-checked": ariaCheckedAttr, onBlur: !this.selectable
14624
14614
  ? (e) => e.stopPropagation()
14625
14615
  : () => this.onKupBlur(), onFocus: !this.selectable
14626
14616
  ? (e) => e.stopPropagation()
14627
14617
  : () => this.onKupFocus(), onClick: !this.selectable
14628
14618
  ? (e) => e.stopPropagation()
14629
- : __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isNested).call(this)
14619
+ : __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isNested).call(this)
14630
14620
  ? (e) => {
14631
14621
  e.stopPropagation();
14632
14622
  this.onKupClick(index$1);
@@ -14647,7 +14637,7 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14647
14637
  };
14648
14638
  return (index.h(fImage.FImage, Object.assign({}, propsFImage, { resource: icon, wrapperClass: `icon-button__icon kup-icon` })));
14649
14639
  }, _KupList_isMultiSelection = function _KupList_isMultiSelection() {
14650
- return __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this);
14640
+ return __classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this);
14651
14641
  }, _KupList_isCheckBoxRule = function _KupList_isCheckBoxRule() {
14652
14642
  return this.roleType == fCell.KupListRole.GROUP;
14653
14643
  }, _KupList_isRadioButtonRule = function _KupList_isRadioButtonRule() {
@@ -14655,7 +14645,7 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
14655
14645
  }, _KupList_isListBoxRule = function _KupList_isListBoxRule() {
14656
14646
  return this.roleType == fCell.KupListRole.LISTBOX;
14657
14647
  }, _KupList_checkRoleType = function _KupList_checkRoleType() {
14658
- if (!__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this) && !__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
14648
+ if (!__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this) && !__classPrivateFieldGet$1(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
14659
14649
  this.roleType = fCell.KupListRole.LISTBOX;
14660
14650
  }
14661
14651
  }, _KupList_itemCompliant = function _KupList_itemCompliant(item) {
@@ -16492,6 +16482,14 @@ class FiltersTreeItems extends fPaginatorUtils.FiltersRows {
16492
16482
 
16493
16483
  const kupTreeCss = ":host{--kup_tree_border:var(--kup-tree-border, 1px solid var(--kup-border-color));--kup_tree_color:var(--kup-tree-color, var(--kup-text-color));--kup_tree_color_rgb:var(--kup-tree-color-rgb, var(--kup-text-color-rgb));--kup_tree_font_family:var(--kup-tree-font-family, var(--kup-font-family));--kup_tree_filter_background_color:var(--kup-tree-filter-background-color, var(--kup-background-color));--kup_tree_font_family_monospace:var(\n --kup-tree-font-family-monospace,\n var(--kup-font-family-monospace)\n );--kup_tree_font_size:var(--kup-tree-font-size, var(--kup-font-size));--kup_tree_hover_color:var(--kup-tree-hover-color, var(--kup-hover-color));--kup_tree_hover_background_color:var(\n --kup-tree-hover-background-color,\n var(--kup-hover-background-color)\n );--kup_tree_icon_color:var(--kup-tree-icon-color, var(--kup-icon-color));--kup_tree_primary_color:var(\n --kup-tree-primary-color,\n var(--kup-primary-color)\n );--kup_tree_primary_color_rgb:var(\n --kup-tree-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_tree_text_on_primary_color:var(\n --kup-tree-text-on-primary-color,\n var(--kup-text-on-primary-color)\n );display:block;font-family:var(--kup_tree_font_family);font-size:var(--kup_tree_font_size)}:host([prevent-x-scroll]) .wrapper{overflow-x:hidden}#kup-component{color:var(--kup_tree_color)}.density-dense .wrapper .kup-tree td:not(.grid-cell),.density-dense .wrapper .kup-tree th{padding:0 0.5em}.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon+.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon+.cell-content{vertical-align:0.4em}.density-wide .wrapper .kup-tree td:not(.grid-cell),.density-wide .wrapper .kup-tree th{padding:0.75em 0.5em}.wrapper{overflow-x:auto}.wrapper .kup-tree{border-collapse:collapse;width:max-content}.wrapper .kup-tree thead{display:none}.wrapper .kup-tree thead.header--is-visible{display:table-header-group}.wrapper .kup-tree thead.header--is-visible th{padding:0.8em 0.5em;font-size:1.1em}.wrapper .kup-tree thead th{text-align:left}.wrapper .kup-tree tr,.wrapper .kup-tree td{font-size:1em;line-height:1em}.wrapper .kup-tree tr.mdc-ripple-surface,.wrapper .kup-tree td.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.wrapper .kup-tree tr.mdc-ripple-surface:before,.wrapper .kup-tree tr.mdc-ripple-surface:after,.wrapper .kup-tree td.mdc-ripple-surface:before,.wrapper .kup-tree td.mdc-ripple-surface:after{background-color:var(--kup_tree_primary_color)}.wrapper .kup-tree tr .kup-tree__icon~.cell-content,.wrapper .kup-tree tr .kup-tree__icon+.cell-content,.wrapper .kup-tree td .kup-tree__icon~.cell-content,.wrapper .kup-tree td .kup-tree__icon+.cell-content{display:inline-block;vertical-align:0.3em}.wrapper .kup-tree td:not(.grid-cell),.wrapper .kup-tree th{padding:0.4em 0.5em}.wrapper .kup-tree td{padding:0;white-space:nowrap}.wrapper .kup-tree__indent{display:inline-block;width:calc(1.5em * var(--kup_tree_node_depth, 0))}.wrapper .kup-tree__icon{display:inline-block;margin-right:0.4em;height:1.5em;min-width:1.5em;width:1.5em}.wrapper .kup-tree__node__expander{transition:transform 0.1s}.wrapper .kup-tree__node{cursor:default}.wrapper .kup-tree__node.with-dyn:not(.kup-tree__node--disabled){cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .wrapper .kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .kup-icon.kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node--disabled{opacity:0.4}.wrapper .kup-tree__node--disabled__expander{pointer-events:none}.wrapper .kup-tree__node .kup-icon:not(.is-image){background-color:var(--kup_tree_icon_color)}.wrapper .kup-tree__node .kup-icon.kup-tree__node__expander:not(.is-image){background-color:var(--kup_tree_color)}.wrapper .kup-tree__node .kup-icon.is-image img{display:block;height:auto;width:100%}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td{background-color:var(--kup_tree_hover_background_color);color:var(--kup_tree_hover_color)}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td .kup-icon{background-color:var(--kup_tree_hover_color)}.wrapper .kup-tree__node--selected:not(.kup-tree__node--disabled) td{background-color:rgba(var(--kup_tree_primary_color_rgb), 0.175);color:var(--kup_tree_color)}.wrapper .kup-tree[data-show-columns] .kup-tree__node{border-bottom:solid 1px var(--kup-border-color)}#global-filter{background:var(--kup_tree_filter_background_color);margin-bottom:1em;position:sticky;top:0;z-index:1}.first-node .cell-content{font-weight:bold}.cell-content--ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:var(--kup_tree_content_width, auto)}.cell-content--highlighted{color:var(--kup_tree_text_on_primary_color);background-color:var(--kup_tree_primary_color)}.kup-icon.kup-filter-remove-icon:not(.f-image){background-color:var(--kup_tree_color);margin:0 0.25em;height:1em;width:1em;cursor:pointer;float:right;margin:0 0.25em;opacity:0.5}.grid-cell{height:0}tfoot td{border-bottom:var(--kup_tree_border);border-right:var(--kup_tree_border);box-sizing:border-box;height:36px;text-align:right;font-weight:bold;padding:0.5em 0.3125em}tfoot td:hover{background-color:var(--kup-background-color)}tfoot td:first-of-type{border:none;border-right:var(--kup_tree_border)}.hidden span{color:transparent;position:relative;text-overflow:ellipsis;transition:color 200ms}.hidden span:hover{color:var(--kup_tree_color)}.totals-value{font-weight:bold}:host([as-accordion]) .wrapper .kup-tree thead{display:table-header-group}:host([as-accordion]) .wrapper .kup-tree thead tr{border-left:var(--kup_tree_border);border-right:var(--kup_tree_border)}:host([as-accordion]) .density-dense .first-node:not(.grid-cell){padding:0.5em 1em}:host([as-accordion]) .density-medium .first-node:not(.grid-cell){padding:1em 1.5em}:host([as-accordion]) .density-wide .first-node:not(.grid-cell){padding:1.75em 1.75em}:host([as-accordion]) .kup-tree__node--first{border:none;box-sizing:border-box;display:block}:host([as-accordion]) .kup-tree__node--first:hover,:host([as-accordion]) .kup-tree__node--first[data-is-expanded]{background-color:var(--kup_tree_hover_background_color)}:host([as-accordion]) .kup-tree__node--first:hover .cell-content,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .cell-content{color:var(--kup_tree_hover_color)}:host([as-accordion]) .kup-tree__node--first:hover .kup-icon,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-icon{background-color:var(--kup_tree_hover_color)}:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .first-node{border-bottom-left-radius:4px;border-bottom-right-radius:4px}:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-dropdown-icon{transform:rotate(180deg)}:host([as-accordion]) .kup-tree__node--first:first-of-type .first-node{border-top-left-radius:4px;border-top-right-radius:4px;border-top:var(--kup_tree_border)}:host([as-accordion]) .kup-tree__node--first:last-of-type .first-node{border-bottom-left-radius:4px;border-bottom-right-radius:4px}:host([as-accordion]) .kup-tree__node--first .first-node{align-items:center;border-bottom:var(--kup_tree_border);border-left:var(--kup_tree_border);border-right:var(--kup_tree_border);box-sizing:border-box;color:var(--kup_tree_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;text-align:left;transition:background-color 80ms, color 80ms;width:100%}:host([as-accordion]) .kup-tree__node--first .kup-tree__icon{margin-left:0;margin-right:0.5em;min-width:1.5em}:host([as-accordion]) .kup-tree__node--first .cell-content{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}:host([as-accordion]) .kup-tree__node--first .kup-dropdown-icon{background-color:var(--kup_tree_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform 0.1s}:host([as-accordion]) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border-top:var(--kup_tree_border);border-top-left-radius:4px;border-top-right-radius:4px}.kup-menu{animation:fade-in 0.25s ease-out;background-color:var(--kup-background-color);box-shadow:var(--kup-box-shadow);color:var(--kup-text-color);display:none;max-height:33vh;overflow:auto;position:relative;transform:none;transform-origin:unset;transition:height 0.2s;will-change:unset}.kup-menu.visible{display:block}.kup-icon.kup-collapsed-icon{-webkit-mask:var(--kup-collapsed-icon);mask:var(--kup-collapsed-icon)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.kup-icon.kup-expanded-icon{-webkit-mask:var(--kup-expanded-icon);mask:var(--kup-expanded-icon)}.kup-icon.kup-filter-remove-icon{-webkit-mask:var(--kup-filter-remove-icon);mask:var(--kup-filter-remove-icon)}:host(.kup-borderless) .first-node{border:none !important}:host(.kup-borderless) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border:none !important}:host(.kup-full-width){min-width:100%}:host(.kup-full-width) table.kup-tree{min-width:100%}:host(.kup-layout-fixed) #kup-component table{table-layout:fixed;width:100%}:host(.kup-shaped) td.mdc-ripple-surface{border-radius:0 66px 66px 0}tr.clickable{cursor:pointer}";
16494
16484
 
16485
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
16486
+ if (kind === "a" && !f)
16487
+ throw new TypeError("Private accessor was defined without a getter");
16488
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
16489
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
16490
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
16491
+ };
16492
+ var _KupTree_kupManager;
16495
16493
  const KupTree = class {
16496
16494
  constructor(hostRef) {
16497
16495
  index.registerInstance(this, hostRef);
@@ -16516,7 +16514,7 @@ const KupTree = class {
16516
16514
  /**
16517
16515
  * Instance of the KupManager class.
16518
16516
  */
16519
- this.kupManager = kupManager.kupManagerInstance();
16517
+ _KupTree_kupManager.set(this, kupManager.kupManagerInstance());
16520
16518
  /**
16521
16519
  * Reference to the column menu card.
16522
16520
  */
@@ -16581,31 +16579,31 @@ const KupTree = class {
16581
16579
  persistState() {
16582
16580
  if (this.store && this.stateId) {
16583
16581
  let somethingChanged = false;
16584
- if (!this.kupManager.objects.deepEqual(this.state.filters, this.filters)) {
16582
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
16585
16583
  this.state.filters = Object.assign({}, this.filters);
16586
16584
  somethingChanged = true;
16587
16585
  }
16588
- if (!this.kupManager.objects.deepEqual(this.state.density, this.density)) {
16586
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
16589
16587
  this.state.density = this.density;
16590
16588
  somethingChanged = true;
16591
16589
  }
16592
- if (!this.kupManager.objects.deepEqual(this.state.showFilters, this.showFilters)) {
16590
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
16593
16591
  this.state.showFilters = this.showFilters;
16594
16592
  somethingChanged = true;
16595
16593
  }
16596
- if (!this.kupManager.objects.deepEqual(this.state.showFooter, this.showFooter)) {
16594
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
16597
16595
  this.state.showFooter = this.showFooter;
16598
16596
  somethingChanged = true;
16599
16597
  }
16600
- if (!this.kupManager.objects.deepEqual(this.state.totals, this.totals)) {
16598
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
16601
16599
  this.state.totals = Object.assign({}, this.totals);
16602
16600
  somethingChanged = true;
16603
16601
  }
16604
- if (!this.kupManager.objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
16602
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
16605
16603
  this.state.globalFilter = this.globalFilter;
16606
16604
  somethingChanged = true;
16607
16605
  }
16608
- if (!this.kupManager.objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
16606
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
16609
16607
  this.state.globalFilterValue = this.globalFilterValue;
16610
16608
  somethingChanged = true;
16611
16609
  }
@@ -16736,7 +16734,7 @@ const KupTree = class {
16736
16734
  * @param {KupDataColumn} column - Column to hide.
16737
16735
  */
16738
16736
  async hideColumn(column) {
16739
- this.kupManager.data.column.hide(this.columns, [column.name]);
16737
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").data.column.hide(this.columns, [column.name]);
16740
16738
  this.kupColumnRemove.emit({
16741
16739
  comp: this,
16742
16740
  id: this.rootElement.id,
@@ -16820,21 +16818,21 @@ const KupTree = class {
16820
16818
  return this.treeColumnVisible;
16821
16819
  }
16822
16820
  checkScrollOnHover() {
16823
- if (!this.kupManager.scrollOnHover.isRegistered(this.treeWrapperRef)) {
16821
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").scrollOnHover.isRegistered(this.treeWrapperRef)) {
16824
16822
  if (this.scrollOnHover) {
16825
- this.kupManager.scrollOnHover.register(this.treeWrapperRef);
16823
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").scrollOnHover.register(this.treeWrapperRef);
16826
16824
  }
16827
16825
  }
16828
16826
  else {
16829
16827
  if (!this.scrollOnHover) {
16830
- this.kupManager.scrollOnHover.unregister(this.treeWrapperRef);
16828
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
16831
16829
  }
16832
16830
  }
16833
16831
  }
16834
16832
  onKupTreeNodeDblClick(treeNodeData, treeNodePath) {
16835
16833
  for (let index = 0; index < this.clickTimeout.length; index++) {
16836
16834
  clearTimeout(this.clickTimeout[index]);
16837
- this.kupManager.debug.logMessage(this, 'Cleared hdlTreeNodeClick timeout(' +
16835
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Cleared hdlTreeNodeClick timeout(' +
16838
16836
  this.clickTimeout[index] +
16839
16837
  ').');
16840
16838
  }
@@ -17023,7 +17021,7 @@ const KupTree = class {
17023
17021
  }
17024
17022
  contextMenuHandler(e) {
17025
17023
  e.preventDefault();
17026
- const details = this.getEventDetails(this.getEventPath(e.target), e);
17024
+ const details = this.getEventDetails(__classPrivateFieldGet(this, _KupTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
17027
17025
  if (details.area === 'header') {
17028
17026
  if (details.th && details.column) {
17029
17027
  this.openColumnMenu(details.column.name);
@@ -17039,18 +17037,6 @@ const KupTree = class {
17039
17037
  }
17040
17038
  return details;
17041
17039
  }
17042
- getEventPath(currentEl) {
17043
- const path = [];
17044
- while (currentEl &&
17045
- currentEl !== this.rootElement &&
17046
- currentEl !== document.body) {
17047
- path.push(currentEl);
17048
- currentEl = currentEl.parentNode
17049
- ? currentEl.parentNode
17050
- : currentEl.host;
17051
- }
17052
- return path;
17053
- }
17054
17040
  // When a TreeNode can be selected
17055
17041
  hdlTreeNodeClick(e, treeNodeData, treeNodePath) {
17056
17042
  if (this.expansionMode.toLowerCase() ===
@@ -17058,7 +17044,9 @@ const KupTree = class {
17058
17044
  (this.expansionMode.toLowerCase() === fPaginatorUtils.KupTreeExpansionMode.NODE &&
17059
17045
  !treeNodeData.expandable)) {
17060
17046
  const td = e
17061
- ? this.getEventPath(e.target).find((el) => {
17047
+ ? __classPrivateFieldGet(this, _KupTree_kupManager, "f")
17048
+ .getEventPath(e.target, this.rootElement)
17049
+ .find((el) => {
17062
17050
  if (el.tagName === 'TD')
17063
17051
  return el;
17064
17052
  })
@@ -17250,10 +17238,10 @@ const KupTree = class {
17250
17238
  refreshStructureState() {
17251
17239
  if (this.data) {
17252
17240
  if (this.data.columns) {
17253
- this.kupManager.debug.logMessage(this, 'Detected KupDataDataset: setting up tree as grid.', kupManager.KupDebugCategory.WARNING);
17241
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Detected KupDataDataset: setting up tree as grid.', kupManager.KupDebugCategory.WARNING);
17254
17242
  const data = this.data;
17255
17243
  this.columns = data.columns;
17256
- this.data = this.kupManager.data.row.toNode(data);
17244
+ this.data = __classPrivateFieldGet(this, _KupTree_kupManager, "f").data.row.toNode(data);
17257
17245
  this.showColumns = true;
17258
17246
  this.showHeader = true;
17259
17247
  }
@@ -17316,7 +17304,7 @@ const KupTree = class {
17316
17304
  //---- Filter ----
17317
17305
  let filter = null;
17318
17306
  if (this.filtersColumnMenuInstance.hasFiltersForColumn(this.filters, column)) {
17319
- const svgLabel = this.kupManager.language.translate(kupManager.KupLanguageGeneric.REMOVE_FILTERS) + `: '${this.getFilterValueForTooltip(column)}'`;
17307
+ const svgLabel = __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.REMOVE_FILTERS) + `: '${this.getFilterValueForTooltip(column)}'`;
17320
17308
  /**
17321
17309
  * When column has a filter but filters must not be displayed, shows an icon to remove the filter.
17322
17310
  * Upon click, the filter gets removed.
@@ -17391,9 +17379,9 @@ const KupTree = class {
17391
17379
  expandClass += ` ${kupManager.KupThemeIconValues.COLLAPSED.replace('--', '')}`;
17392
17380
  }
17393
17381
  }
17394
- let treeExpandIcon = (index.h("span", { title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.EXPAND) +
17382
+ let treeExpandIcon = (index.h("span", { title: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPAND) +
17395
17383
  '/' +
17396
- this.kupManager.language.translate(kupManager.KupLanguageGeneric.COLLAPSE) +
17384
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.COLLAPSE) +
17397
17385
  ' (CTRL + Click)', class: expandClass, onClick: this.expansionMode.toLowerCase() ===
17398
17386
  fPaginatorUtils.KupTreeExpansionMode.DROPDOWN && !treeNodeData.disabled
17399
17387
  ? (event) => {
@@ -17466,8 +17454,8 @@ const KupTree = class {
17466
17454
  }
17467
17455
  }
17468
17456
  let title = undefined;
17469
- if (!this.kupManager.objects.isEmptyKupObj(treeNodeData.obj) &&
17470
- this.kupManager.debug.isDebug()) {
17457
+ if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj) &&
17458
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.isDebug()) {
17471
17459
  title =
17472
17460
  treeNodeData.obj.t +
17473
17461
  '; ' +
@@ -17490,7 +17478,7 @@ const KupTree = class {
17490
17478
  'mdc-ripple-surface': this.ripple &&
17491
17479
  !this.showColumns &&
17492
17480
  !treeNodeData.disabled,
17493
- 'is-obj': !this.kupManager.objects.isEmptyKupObj(treeNodeData.obj),
17481
+ 'is-obj': !__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj),
17494
17482
  }, style: treeNodeData.style || null, title: title, onDblClick: () => {
17495
17483
  this.onKupTreeNodeDblClick(treeNodeData, treeNodePath);
17496
17484
  } }, this.asAccordion && !treeNodeDepth
@@ -17513,7 +17501,7 @@ const KupTree = class {
17513
17501
  }
17514
17502
  closeTotalMenu() {
17515
17503
  this.openedTotalMenu = null;
17516
- this.kupManager.removeClickCallback(this.clickCb);
17504
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").removeClickCallback(this.clickCb);
17517
17505
  }
17518
17506
  isOpenedTotalMenuForColumn(column) {
17519
17507
  return this.openedTotalMenu === column;
@@ -17543,15 +17531,15 @@ const KupTree = class {
17543
17531
  let totalMenu = undefined;
17544
17532
  let menuLabel = kupManager.TotalLabel.CALC;
17545
17533
  const translation = {
17546
- [kupManager.TotalLabel.AVERAGE]: this.kupManager.language.translate(kupManager.KupLanguageTotals.AVERAGE),
17547
- [kupManager.TotalLabel.CALC]: this.kupManager.language.translate(kupManager.KupLanguageTotals.CALCULATE),
17548
- [kupManager.TotalLabel.CANC]: this.kupManager.language.translate(kupManager.KupLanguageTotals.CANCEL),
17549
- [kupManager.TotalLabel.COUNT]: this.kupManager.language.translate(kupManager.KupLanguageTotals.COUNT),
17550
- [kupManager.TotalLabel.DISTINCT]: this.kupManager.language.translate(kupManager.KupLanguageTotals.DISTINCT),
17551
- [kupManager.TotalLabel.MATH]: this.kupManager.language.translate(kupManager.KupLanguageTotals.FORMULA),
17552
- [kupManager.TotalLabel.MAX]: this.kupManager.language.translate(kupManager.KupLanguageTotals.MAXIMUM),
17553
- [kupManager.TotalLabel.MIN]: this.kupManager.language.translate(kupManager.KupLanguageTotals.MINIMUM),
17554
- [kupManager.TotalLabel.SUM]: this.kupManager.language.translate(kupManager.KupLanguageTotals.SUM),
17534
+ [kupManager.TotalLabel.AVERAGE]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.AVERAGE),
17535
+ [kupManager.TotalLabel.CALC]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CALCULATE),
17536
+ [kupManager.TotalLabel.CANC]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.CANCEL),
17537
+ [kupManager.TotalLabel.COUNT]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.COUNT),
17538
+ [kupManager.TotalLabel.DISTINCT]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.DISTINCT),
17539
+ [kupManager.TotalLabel.MATH]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.FORMULA),
17540
+ [kupManager.TotalLabel.MAX]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MAXIMUM),
17541
+ [kupManager.TotalLabel.MIN]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.MINIMUM),
17542
+ [kupManager.TotalLabel.SUM]: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageTotals.SUM),
17555
17543
  };
17556
17544
  if (this.totals) {
17557
17545
  const totalValue = this.totals[column.name];
@@ -17594,7 +17582,7 @@ const KupTree = class {
17594
17582
  value: translation[kupManager.TotalLabel.DISTINCT],
17595
17583
  },
17596
17584
  ];
17597
- if (this.kupManager.objects.isNumber(column.obj)) {
17585
+ if (__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.isNumber(column.obj)) {
17598
17586
  listData.push({
17599
17587
  id: kupManager.TotalMode.SUM,
17600
17588
  value: translation[kupManager.TotalLabel.SUM],
@@ -17660,25 +17648,25 @@ const KupTree = class {
17660
17648
  });
17661
17649
  }
17662
17650
  };
17663
- this.kupManager.interact.on(this.treeWrapperRef, kupManager.KupPointerEventTypes.TAP, tapCb);
17664
- this.kupManager.interact.on(this.treeWrapperRef, kupManager.KupPointerEventTypes.HOLD, holdCb);
17651
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, kupManager.KupPointerEventTypes.TAP, tapCb);
17652
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, kupManager.KupPointerEventTypes.HOLD, holdCb);
17665
17653
  }
17666
17654
  totalMenuPosition() {
17667
17655
  if (this.rootElement.shadowRoot) {
17668
17656
  const menu = this.rootElement.shadowRoot.querySelector('#totals-menu');
17669
17657
  if (menu) {
17670
- this.kupManager.dynamicPosition.register(menu, this.totalMenuCoords);
17658
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").dynamicPosition.register(menu, this.totalMenuCoords);
17671
17659
  if (!this.clickCb) {
17672
17660
  this.clickCb = {
17673
17661
  cb: () => {
17674
17662
  this.closeTotalMenu();
17675
- this.kupManager.dynamicPosition.stop(menu);
17663
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").dynamicPosition.stop(menu);
17676
17664
  },
17677
17665
  el: menu,
17678
17666
  };
17679
17667
  }
17680
- this.kupManager.addClickCallback(this.clickCb, true);
17681
- this.kupManager.dynamicPosition.start(menu);
17668
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").addClickCallback(this.clickCb, true);
17669
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").dynamicPosition.start(menu);
17682
17670
  menu.menuVisible = true;
17683
17671
  }
17684
17672
  }
@@ -17736,20 +17724,20 @@ const KupTree = class {
17736
17724
  /* L i f e c y c l e H o o k s */
17737
17725
  /*-------------------------------------------------*/
17738
17726
  componentWillLoad() {
17739
- this.kupManager.debug.logLoad(this, false);
17740
- this.kupManager.language.register(this);
17741
- this.kupManager.theme.register(this);
17727
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logLoad(this, false);
17728
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.register(this);
17729
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.register(this);
17742
17730
  this.columnMenuInstance = new KupColumnMenu();
17743
17731
  this.refreshStructureState();
17744
17732
  }
17745
17733
  componentDidLoad() {
17746
17734
  this.didLoadInteractables();
17747
17735
  this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
17748
- this.kupManager.resize.observe(this.rootElement);
17749
- this.kupManager.debug.logLoad(this, true);
17736
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").resize.observe(this.rootElement);
17737
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logLoad(this, true);
17750
17738
  }
17751
17739
  componentWillRender() {
17752
- this.kupManager.debug.logRender(this, false);
17740
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logRender(this, false);
17753
17741
  if (this.showFooter && this.columns) {
17754
17742
  this.footer = fPaginatorUtils.calcTotals(fPaginatorUtils.normalizeRows(this.getColumns(), this.nodesToRows()), this.totals);
17755
17743
  }
@@ -17781,7 +17769,7 @@ const KupTree = class {
17781
17769
  this.persistState();
17782
17770
  // ***
17783
17771
  this.oldWidth = this.rootElement.clientWidth;
17784
- this.kupManager.debug.logRender(this, true);
17772
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").debug.logRender(this, true);
17785
17773
  }
17786
17774
  render() {
17787
17775
  this.contentRefs = [];
@@ -17804,7 +17792,7 @@ const KupTree = class {
17804
17792
  }
17805
17793
  else {
17806
17794
  // There are no TreeNodes, so we print a single cell with a caption
17807
- treeNodes.push(index.h("tr", null, index.h("td", null, this.kupManager.language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA))));
17795
+ treeNodes.push(index.h("tr", null, index.h("td", null, __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA))));
17808
17796
  }
17809
17797
  // Calculates if header must be shown or not
17810
17798
  const visibleHeader = this.showHeader && this.showColumns;
@@ -17813,12 +17801,12 @@ const KupTree = class {
17813
17801
  this.data &&
17814
17802
  this.data.length &&
17815
17803
  this.data.length > 0) {
17816
- filterField = (index.h("div", { id: "global-filter" }, index.h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(kupManager.KupLanguageSearch.SEARCH), icon: kupManager.KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
17804
+ filterField = (index.h("div", { id: "global-filter" }, index.h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager.KupLanguageSearch.SEARCH), icon: kupManager.KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
17817
17805
  window.clearTimeout(this.globalFilterTimeout);
17818
17806
  this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
17819
17807
  } })));
17820
17808
  }
17821
- return (index.h(index.Host, null, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, class: wrapperClass }, filterField, index.h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
17809
+ return (index.h(index.Host, null, index.h("style", null, __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId, class: wrapperClass }, filterField, index.h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
17822
17810
  el) }, index.h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
17823
17811
  e.preventDefault();
17824
17812
  } }, index.h("thead", { class: {
@@ -17829,18 +17817,18 @@ const KupTree = class {
17829
17817
  : null)))));
17830
17818
  }
17831
17819
  disconnectedCallback() {
17832
- this.kupManager.language.register(this);
17833
- this.kupManager.resize.unobserve(this.rootElement);
17834
- this.kupManager.theme.unregister(this);
17820
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.register(this);
17821
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").resize.unobserve(this.rootElement);
17822
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.unregister(this);
17835
17823
  const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupManager.kupDynamicPositionAttribute + ']');
17836
17824
  if (dynamicPositionElements.length > 0) {
17837
- this.kupManager.dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
17825
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
17838
17826
  }
17839
17827
  if (this.columnMenuCard) {
17840
17828
  this.columnMenuCard.remove();
17841
17829
  }
17842
17830
  if (this.scrollOnHover) {
17843
- this.kupManager.scrollOnHover.unregister(this.treeWrapperRef);
17831
+ __classPrivateFieldGet(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
17844
17832
  }
17845
17833
  this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
17846
17834
  }
@@ -17850,6 +17838,7 @@ const KupTree = class {
17850
17838
  "expanded": ["enrichStructureStateWhenChanged"]
17851
17839
  }; }
17852
17840
  };
17841
+ _KupTree_kupManager = new WeakMap();
17853
17842
  KupTree.style = kupTreeCss;
17854
17843
 
17855
17844
  exports.kup_autocomplete = KupAutocomplete;