@sme.up/ketchup 10.4.4 → 10.4.5

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 (193) hide show
  1. package/dist/cjs/{f-button-c084046d.js → f-button-9aca7812.js} +1 -1
  2. package/dist/cjs/{f-cell-2dce1c47.js → f-cell-808c80f4.js} +7 -7
  3. package/dist/cjs/{f-checkbox-e59d6bda.js → f-checkbox-a3461c4d.js} +1 -1
  4. package/dist/cjs/{f-chip-b2b2de76.js → f-chip-ad2e88cd.js} +2 -2
  5. package/dist/cjs/{f-image-7457eb26.js → f-image-5a33fd05.js} +28 -24
  6. package/dist/cjs/{f-object-field-508fe712.js → f-object-field-a2060085.js} +3 -3
  7. package/dist/cjs/{f-paginator-utils-40479dab.js → f-paginator-utils-ae22f3de.js} +2 -2
  8. package/dist/cjs/{f-text-field-5634b79e.js → f-text-field-582fa181.js} +2 -2
  9. package/dist/cjs/index.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  11. package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +79 -67
  13. package/dist/cjs/kup-box.cjs.entry.js +10 -10
  14. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  16. package/dist/cjs/kup-cell.cjs.entry.js +8 -8
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  18. package/dist/cjs/{kup-data-table-helper-262a013d.js → kup-data-table-helper-a1c73939.js} +1 -1
  19. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +8 -8
  27. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  29. package/dist/cjs/{kup-manager-57f5a949.js → kup-manager-5faed2fc.js} +14 -0
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-object-field.cjs.entry.js +5 -5
  33. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  34. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
  37. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  39. package/dist/cjs/kup-typography.cjs.entry.js +2 -2
  40. package/dist/collection/components/kup-data-table/kup-data-table.js +64 -57
  41. package/dist/collection/f-components/f-image/f-image.js +28 -24
  42. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +6 -0
  43. package/dist/collection/utils/utils.js +13 -0
  44. package/dist/components/index.js +1 -1
  45. package/dist/components/kup-accordion.js +2 -2
  46. package/dist/components/kup-activity-timeline.js +2 -2
  47. package/dist/components/kup-autocomplete.js +1 -1
  48. package/dist/components/kup-badge.js +1 -1
  49. package/dist/components/kup-box.js +1 -1
  50. package/dist/components/kup-button-list.js +1 -1
  51. package/dist/components/kup-button.js +1 -1
  52. package/dist/components/kup-calendar.js +2 -2
  53. package/dist/components/kup-card-list.js +3 -3
  54. package/dist/components/kup-card.js +1 -1
  55. package/dist/components/kup-cell.js +2 -2
  56. package/dist/components/kup-chart.js +1 -1
  57. package/dist/components/kup-checkbox.js +1 -1
  58. package/dist/components/kup-chip.js +1 -1
  59. package/dist/components/kup-color-picker.js +1 -1
  60. package/dist/components/kup-combobox.js +1 -1
  61. package/dist/components/kup-dashboard.js +2 -2
  62. package/dist/components/kup-data-table.js +1 -1
  63. package/dist/components/kup-date-picker.js +1 -1
  64. package/dist/components/kup-dialog.js +1 -1
  65. package/dist/components/kup-drawer.js +2 -2
  66. package/dist/components/kup-dropdown-button.js +1 -1
  67. package/dist/components/kup-echart.js +1 -1
  68. package/dist/components/kup-editor.js +1 -1
  69. package/dist/components/kup-family-tree.js +3 -3
  70. package/dist/components/kup-file-upload.js +1 -1
  71. package/dist/components/kup-form.js +1 -1
  72. package/dist/components/kup-gauge.js +1 -1
  73. package/dist/components/kup-grid.js +1 -1
  74. package/dist/components/kup-htm.js +2 -2
  75. package/dist/components/kup-iframe.js +2 -2
  76. package/dist/components/kup-image-list.js +1 -1
  77. package/dist/components/kup-image.js +1 -1
  78. package/dist/components/kup-input-panel.js +3 -3
  79. package/dist/components/kup-lazy.js +2 -2
  80. package/dist/components/kup-list.js +1 -1
  81. package/dist/components/kup-magic-box.js +4 -4
  82. package/dist/components/kup-nav-bar.js +2 -2
  83. package/dist/components/kup-numeric-picker.js +2 -2
  84. package/dist/components/kup-object-field.js +2 -2
  85. package/dist/components/kup-planner.js +2 -2
  86. package/dist/components/kup-probe.js +2 -2
  87. package/dist/components/kup-progress-bar.js +1 -1
  88. package/dist/components/kup-qlik.js +2 -2
  89. package/dist/components/kup-radio.js +1 -1
  90. package/dist/components/kup-rating.js +1 -1
  91. package/dist/components/kup-snackbar.js +2 -2
  92. package/dist/components/kup-spinner.js +1 -1
  93. package/dist/components/kup-switch.js +1 -1
  94. package/dist/components/kup-tab-bar.js +1 -1
  95. package/dist/components/kup-text-field.js +1 -1
  96. package/dist/components/kup-time-picker.js +1 -1
  97. package/dist/components/kup-toolbar.js +1 -1
  98. package/dist/components/kup-tree.js +1 -1
  99. package/dist/components/kup-txt.js +2 -2
  100. package/dist/components/kup-typography-list.js +2 -2
  101. package/dist/components/kup-typography.js +2 -2
  102. package/dist/components/{p-0406cd83.js → p-45333a69.js} +98 -82
  103. package/dist/components/{p-2097fdc9.js → p-485c5011.js} +2 -2
  104. package/dist/components/{p-f23c2bc2.js → p-5e972660.js} +2 -2
  105. package/dist/components/{p-38d8b309.js → p-6f3743ea.js} +2 -2
  106. package/dist/components/{p-25602d9a.js → p-a42dc353.js} +14 -1
  107. package/dist/components/{p-200cb22e.js → p-c6eba054.js} +2 -2
  108. package/dist/esm/{f-button-6298565d.js → f-button-3e022953.js} +1 -1
  109. package/dist/esm/{f-cell-1a087912.js → f-cell-d224dc3a.js} +7 -7
  110. package/dist/esm/{f-checkbox-191ec2e7.js → f-checkbox-9912e1a4.js} +1 -1
  111. package/dist/esm/{f-chip-876f5447.js → f-chip-a2d07acb.js} +2 -2
  112. package/dist/esm/{f-image-96ea1421.js → f-image-40b4e64b.js} +28 -24
  113. package/dist/esm/{f-object-field-4382c70d.js → f-object-field-bc0b6f80.js} +3 -3
  114. package/dist/esm/{f-paginator-utils-95d00f42.js → f-paginator-utils-8c3d7b88.js} +2 -2
  115. package/dist/esm/{f-text-field-a13130d7.js → f-text-field-0f550594.js} +2 -2
  116. package/dist/esm/index.js +1 -1
  117. package/dist/esm/kup-accordion.entry.js +2 -2
  118. package/dist/esm/kup-activity-timeline.entry.js +3 -3
  119. package/dist/esm/kup-autocomplete_30.entry.js +79 -67
  120. package/dist/esm/kup-box.entry.js +10 -10
  121. package/dist/esm/kup-calendar.entry.js +4 -4
  122. package/dist/esm/kup-card-list.entry.js +1 -1
  123. package/dist/esm/kup-cell.entry.js +8 -8
  124. package/dist/esm/kup-dashboard.entry.js +5 -5
  125. package/dist/esm/{kup-data-table-helper-4ab72247.js → kup-data-table-helper-3f3bb266.js} +1 -1
  126. package/dist/esm/kup-drawer.entry.js +1 -1
  127. package/dist/esm/kup-echart.entry.js +1 -1
  128. package/dist/esm/kup-editor.entry.js +1 -1
  129. package/dist/esm/kup-family-tree.entry.js +3 -3
  130. package/dist/esm/kup-grid.entry.js +1 -1
  131. package/dist/esm/kup-htm.entry.js +1 -1
  132. package/dist/esm/kup-iframe.entry.js +1 -1
  133. package/dist/esm/kup-input-panel.entry.js +8 -8
  134. package/dist/esm/kup-lazy.entry.js +1 -1
  135. package/dist/esm/kup-magic-box.entry.js +2 -2
  136. package/dist/esm/{kup-manager-150e2ada.js → kup-manager-232be463.js} +14 -1
  137. package/dist/esm/kup-nav-bar.entry.js +1 -1
  138. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  139. package/dist/esm/kup-object-field.entry.js +5 -5
  140. package/dist/esm/kup-planner.entry.js +3 -3
  141. package/dist/esm/kup-probe.entry.js +1 -1
  142. package/dist/esm/kup-qlik.entry.js +1 -1
  143. package/dist/esm/kup-snackbar.entry.js +3 -3
  144. package/dist/esm/kup-txt.entry.js +1 -1
  145. package/dist/esm/kup-typography-list.entry.js +1 -1
  146. package/dist/esm/kup-typography.entry.js +2 -2
  147. package/dist/ketchup/index.esm.js +1 -1
  148. package/dist/ketchup/ketchup.esm.js +1 -1
  149. package/dist/ketchup/p-0c4fdac4.js +1 -0
  150. package/dist/ketchup/{p-6e751ce8.entry.js → p-106ef861.entry.js} +1 -1
  151. package/dist/ketchup/{p-ff735e62.js → p-14c6efce.js} +1 -1
  152. package/dist/ketchup/{p-df030135.entry.js → p-2ea8982a.entry.js} +1 -1
  153. package/dist/ketchup/{p-ef3112d4.js → p-31ae78d1.js} +1 -1
  154. package/dist/ketchup/{p-e7feebf1.entry.js → p-40d9b650.entry.js} +1 -1
  155. package/dist/ketchup/{p-018a6d06.entry.js → p-498e38ec.entry.js} +1 -1
  156. package/dist/ketchup/{p-aa29831e.entry.js → p-4e86911e.entry.js} +1 -1
  157. package/dist/ketchup/{p-10812295.entry.js → p-549a999c.entry.js} +1 -1
  158. package/dist/ketchup/{p-d27d8ad1.entry.js → p-5b05f037.entry.js} +1 -1
  159. package/dist/ketchup/{p-fa4a5da1.entry.js → p-5bb7d7b3.entry.js} +1 -1
  160. package/dist/ketchup/{p-983576c3.entry.js → p-5d6f2048.entry.js} +1 -1
  161. package/dist/ketchup/{p-36b5d26b.entry.js → p-5f41ae01.entry.js} +1 -1
  162. package/dist/ketchup/{p-8721b809.js → p-6622b9dd.js} +3 -3
  163. package/dist/ketchup/{p-7940d143.entry.js → p-6b2e3868.entry.js} +1 -1
  164. package/dist/ketchup/{p-5154c3cd.js → p-6f00f1a3.js} +1 -1
  165. package/dist/ketchup/{p-17d03bbb.entry.js → p-7d05209d.entry.js} +1 -1
  166. package/dist/ketchup/{p-e9c66132.entry.js → p-855d7a7c.entry.js} +1 -1
  167. package/dist/ketchup/{p-0bede0f7.entry.js → p-88e822d6.entry.js} +1 -1
  168. package/dist/ketchup/{p-672cab52.entry.js → p-8ab45e3d.entry.js} +1 -1
  169. package/dist/ketchup/{p-cbec9dd6.entry.js → p-8ac64a64.entry.js} +1 -1
  170. package/dist/ketchup/p-96bef43d.js +1 -0
  171. package/dist/ketchup/p-a44ec249.entry.js +8 -0
  172. package/dist/ketchup/{p-a8a09ca2.entry.js → p-a84998d8.entry.js} +1 -1
  173. package/dist/ketchup/{p-a69b7815.entry.js → p-b4a94521.entry.js} +1 -1
  174. package/dist/ketchup/{p-ff394307.entry.js → p-b4b9fd65.entry.js} +1 -1
  175. package/dist/ketchup/p-b7abe6a2.entry.js +1 -0
  176. package/dist/ketchup/{p-d48d6b9b.entry.js → p-bc2604ea.entry.js} +1 -1
  177. package/dist/ketchup/{p-d3e2500c.js → p-c284a18d.js} +1 -1
  178. package/dist/ketchup/{p-7e92c87c.entry.js → p-c6acc505.entry.js} +1 -1
  179. package/dist/ketchup/{p-33d9524e.entry.js → p-ca31b7ee.entry.js} +1 -1
  180. package/dist/ketchup/p-cce08de3.js +1 -0
  181. package/dist/ketchup/{p-dbd00009.entry.js → p-ce92a1d6.entry.js} +1 -1
  182. package/dist/ketchup/{p-9cbf5d71.entry.js → p-d53275b8.entry.js} +1 -1
  183. package/dist/ketchup/{p-b20c5416.js → p-de3514d6.js} +1 -1
  184. package/dist/ketchup/{p-99b4d81d.entry.js → p-e032f052.entry.js} +1 -1
  185. package/dist/ketchup/{p-e3da3084.entry.js → p-e049f7d8.entry.js} +1 -1
  186. package/dist/ketchup/{p-f2edb49f.js → p-e155cbac.js} +1 -1
  187. package/dist/types/utils/utils.d.ts +6 -0
  188. package/package.json +1 -1
  189. package/dist/ketchup/p-091b08ff.entry.js +0 -1
  190. package/dist/ketchup/p-7f8582e3.entry.js +0 -8
  191. package/dist/ketchup/p-ad52ea4a.js +0 -1
  192. package/dist/ketchup/p-b669cdca.js +0 -1
  193. package/dist/ketchup/p-cc9db65d.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-ef8cbd35.js';
2
- import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as identify, aa as KupListProps, ab as KupCardFamily, ac as KupListRole, ad as KupLanguageUpload, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as DataTableAreasEnum, an as TypesToDuplicate, ao as FixedCellsClasses, ap as FixedCellsCSSVarsBase, aq as KupLanguageFontsize, ar as KupLanguageDensity, as as KupLanguageGrid, at as KupDataTableProps, au as UseAsValue, av as iconColumn, aw as keyColumn, ax as fieldColumn, ay as getSizeOfInputElement, az as KupCardProps } from './p-25602d9a.js';
2
+ import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as extractColumnsFromFormulaString, a2 as FILTER_ANALYZER, a3 as KupLanguagePage, a4 as addColumnValueFromRow, a5 as KupGlobalFilterMode, g as getProps, s as setProps, a6 as TotalLabel, a7 as isNegativeNumber, a8 as KupPointerEventTypes, a9 as kupDynamicPositionAttribute, aa as identify, ab as KupListProps, ac as KupCardFamily, ad as KupListRole, ae as KupLanguageUpload, af as LoadMoreMode, ag as PaginatorPos, ah as ShowGrid, ai as kupDraggableColumnAttr, aj as kupDragActiveAttr, ak as KupDragEffect, al as kupDraggableCellAttr, am as KupDropEventTypes, an as DataTableAreasEnum, ao as TypesToDuplicate, ap as FixedCellsClasses, aq as FixedCellsCSSVarsBase, ar as KupLanguageFontsize, as as KupLanguageDensity, at as KupLanguageGrid, au as KupDataTableProps, av as UseAsValue, aw as iconColumn, ax as keyColumn, ay as fieldColumn, az as getSizeOfInputElement, aA as KupCardProps } from './p-a42dc353.js';
3
3
  import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
4
4
  import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-d7365aa4.js';
5
5
 
@@ -1194,35 +1194,39 @@ function createIcon(icon, color, iconClass = 'f-image__icon') {
1194
1194
  }
1195
1195
  function createImage(props) {
1196
1196
  return (h("img", { class: props.placeholderResource ? HIDDEN_CLASS : '', onLoad: (e) => {
1197
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1197
1198
  const img = e.currentTarget;
1198
- if (img && img.parentElement) {
1199
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
1200
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
1201
- const fWrapper = img.parentElement.parentElement.querySelector('.f-image');
1202
- if (props.onLoad) {
1203
- props.onLoad(e);
1204
- }
1205
- if (placeholder) {
1206
- placeholder.classList.add(HIDDEN_CLASS);
1207
- img.classList.remove(HIDDEN_CLASS);
1208
- }
1209
- if (iconWrapper) {
1210
- iconWrapper.classList.add(HIDDEN_CLASS);
1211
- fWrapper.classList.add('noIcon');
1199
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
1200
+ return;
1201
+ }
1202
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
1203
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
1204
+ const fWrapper = (_d = (_c = img.parentElement) === null || _c === void 0 ? void 0 : _c.parentElement) === null || _d === void 0 ? void 0 : _d.querySelector('.f-image');
1205
+ (_e = props.onLoad) === null || _e === void 0 ? void 0 : _e.call(props, e);
1206
+ if (placeholder) {
1207
+ (_f = placeholder.classList) === null || _f === void 0 ? void 0 : _f.add(HIDDEN_CLASS);
1208
+ (_g = img.classList) === null || _g === void 0 ? void 0 : _g.remove(HIDDEN_CLASS);
1209
+ }
1210
+ if (iconWrapper) {
1211
+ (_h = iconWrapper.classList) === null || _h === void 0 ? void 0 : _h.add(HIDDEN_CLASS);
1212
+ if (fWrapper) {
1213
+ (_j = fWrapper.classList) === null || _j === void 0 ? void 0 : _j.add('noIcon');
1212
1214
  }
1213
1215
  }
1214
1216
  }, onError: (e) => {
1217
+ var _a, _b, _c, _d, _e;
1215
1218
  const img = e.currentTarget;
1216
- if (img && img.parentElement) {
1217
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
1218
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
1219
- if (placeholder) {
1220
- placeholder.classList.remove(HIDDEN_CLASS);
1221
- img.classList.add(HIDDEN_CLASS);
1222
- }
1223
- if (iconWrapper) {
1224
- iconWrapper.classList.remove(HIDDEN_CLASS);
1225
- }
1219
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
1220
+ return;
1221
+ }
1222
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
1223
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
1224
+ if (placeholder) {
1225
+ (_c = placeholder.classList) === null || _c === void 0 ? void 0 : _c.remove(HIDDEN_CLASS);
1226
+ (_d = img.classList) === null || _d === void 0 ? void 0 : _d.add(HIDDEN_CLASS);
1227
+ }
1228
+ if (iconWrapper) {
1229
+ (_e = iconWrapper.classList) === null || _e === void 0 ? void 0 : _e.remove(HIDDEN_CLASS);
1226
1230
  }
1227
1231
  }, src: props.resource }));
1228
1232
  }
@@ -12883,6 +12887,11 @@ class KupColumnMenu {
12883
12887
  newColumn: hasDescription
12884
12888
  ? { name: description, title: description }
12885
12889
  : undefined,
12890
+ columns: [
12891
+ columnName,
12892
+ parts[0],
12893
+ ...extractColumnsFromFormulaString(value),
12894
+ ],
12886
12895
  })
12887
12896
  .then((res) => {
12888
12897
  if (typeof res === 'string' ||
@@ -24510,7 +24519,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
24510
24519
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
24511
24520
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
24512
24521
  };
24513
- var _KupDataTable_instances, _KupDataTable_checkUpdateState, _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_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _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_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _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_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _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_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _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_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
24522
+ var _KupDataTable_instances, _KupDataTable_checkUpdateState, _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_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _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_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _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_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _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_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _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_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_addRowHandler, _KupDataTable_createRowWithInputFields, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
24514
24523
  const dom = document.documentElement;
24515
24524
  const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends H {
24516
24525
  constructor() {
@@ -24763,6 +24772,54 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24763
24772
  'view_headline',
24764
24773
  'grid_off',
24765
24774
  ]);
24775
+ _KupDataTable_addRowHandler.set(this, async (row) => {
24776
+ var _a, _b;
24777
+ var _c;
24778
+ let newRow;
24779
+ const selectedRows = await this.getSelectedRows();
24780
+ if (selectedRows.length > 0) {
24781
+ newRow = JSON.parse(JSON.stringify(selectedRows[0]));
24782
+ }
24783
+ else if (((_b = (_a = __classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0 && !row) {
24784
+ newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
24785
+ }
24786
+ else if (row) {
24787
+ newRow = __classPrivateFieldGet$3(this, _KupDataTable_createRowWithInputFields, "f").call(this, row);
24788
+ }
24789
+ else {
24790
+ newRow = __classPrivateFieldGet$3(this, _KupDataTable_createRowWithInputFields, "f").call(this);
24791
+ }
24792
+ Object.values(newRow.cells).forEach((cell) => {
24793
+ if (selectedRows.length == 0 && !row) {
24794
+ cell.value = '';
24795
+ }
24796
+ });
24797
+ newRow.id = (__classPrivateFieldGet$3(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$2(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$3(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
24798
+ __classPrivateFieldGet$3(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
24799
+ this.insertNewRow(newRow, true);
24800
+ });
24801
+ _KupDataTable_createRowWithInputFields.set(this, (rowToCopy) => {
24802
+ var _a;
24803
+ const row = { cells: {} };
24804
+ (_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
24805
+ var _a, _b, _c;
24806
+ const cell = ((_a = rowToCopy === null || rowToCopy === void 0 ? void 0 : rowToCopy.cells) === null || _a === void 0 ? void 0 : _a[c.name])
24807
+ ? structuredClone(rowToCopy.cells[c.name])
24808
+ : {
24809
+ shape: (_b = c.shape) !== null && _b !== void 0 ? _b : FCellShapes.TEXT_FIELD,
24810
+ obj: Object.assign({}, c.obj),
24811
+ isEditable: (_c = c.isEditable) !== null && _c !== void 0 ? _c : true,
24812
+ data: c['length'] && c['maxLength']
24813
+ ? {
24814
+ size: c['length'],
24815
+ maxLength: c['maxLength'],
24816
+ }
24817
+ : {},
24818
+ };
24819
+ row.cells[c.name] = cell;
24820
+ });
24821
+ return row;
24822
+ });
24766
24823
  this.stateId = '';
24767
24824
  this.store = undefined;
24768
24825
  this.autoFillMissingCells = false;
@@ -24941,6 +24998,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24941
24998
  structuredClone(row.cells);
24942
24999
  __classPrivateFieldGet$3(this, _KupDataTable_modifiedRowsIds, "f").push(`${originalDataRowIndex}`);
24943
25000
  }
25001
+ else {
25002
+ __classPrivateFieldGet$3(this, _KupDataTable_addRowHandler, "f").call(this, row);
25003
+ }
24944
25004
  }
24945
25005
  this.pendingRowsToUpdate = [];
24946
25006
  }
@@ -25954,7 +26014,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
25954
26014
  __classPrivateFieldSet$2(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
25955
26015
  let rows = null;
25956
26016
  if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
25957
- rows = (h$1("tr", { key: 'c3ff449ae10eb3a78bd6f63fbae0b0ab88d1c896', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '0ec262d6259836f12d4e92389cea0fb8dbecfea0', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
26017
+ rows = (h$1("tr", { key: 'fd61dd682eed8f7509b76569549c11074318b26d', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '375f74dab7f18f38c1fcfc82fbf89be7ea516acb', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
25958
26018
  }
25959
26019
  else {
25960
26020
  rows = [];
@@ -26030,7 +26090,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26030
26090
  __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
26031
26091
  });
26032
26092
  }
26033
- groupChips = h$1(FChip, Object.assign({ key: '637cfa25400c657fb0038bc795c84c54548659ff' }, props));
26093
+ groupChips = h$1(FChip, Object.assign({ key: '9b5489775f259e91e74e4ce96178923d7531ea85' }, props));
26034
26094
  }
26035
26095
  }
26036
26096
  const tableClass = {
@@ -26062,7 +26122,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26062
26122
  if (this.headerIsPersistent &&
26063
26123
  this.tableHeight === undefined &&
26064
26124
  this.tableWidth === undefined) {
26065
- stickyEl = (h$1("sticky-header", { key: 'a0764ce10008edbfe57e31b89a2bfce492032df9', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: '428018e227d53749f598af36ac80d9fb17fb4081' }, h$1("tr-sticky", { key: '07a5e202250a8fd94a5396db5f3d0cafa9e0ac01' }, stickyHeader))));
26125
+ stickyEl = (h$1("sticky-header", { key: 'c7322e666a446be849ff1b383a87845541ce2a09', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: 'd323db862d38913ac293117877b9014520644d07' }, h$1("tr-sticky", { key: '36682a81e6446b2d23ebe957d77eb7a33ec1eb23' }, stickyHeader))));
26066
26126
  }
26067
26127
  let belowClass = 'below-wrapper';
26068
26128
  if (!!this.tableHeight || !!this.tableWidth) {
@@ -26108,7 +26168,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26108
26168
  const useGlobalFilter = !this.legacyLook &&
26109
26169
  (this.globalFilter ||
26110
26170
  this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
26111
- const compCreated = (h$1(Host, { key: 'b90b5f42a700e5f8c38042a56088d9d52dce1347', "onKup-drop": (e) => {
26171
+ const compCreated = (h$1(Host, { key: '548c686024deca76c77bf5942728118d238c364b', "onKup-drop": (e) => {
26112
26172
  this.kupDataTableDrop.emit(e.detail);
26113
26173
  }, "onKup-cell-input": (e) => {
26114
26174
  autoselectOnAction(e);
@@ -26127,11 +26187,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26127
26187
  this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
26128
26188
  }, "onKup-objectfield-selectedmenuitem": (e) => {
26129
26189
  this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
26130
- } }, h$1("style", { key: '32fa6209cca43ce89d62c657ed19ce512065fe98' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h$1("div", { key: '908fca14f3458aaf8368ea779154692a0195fbd1', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '92a128bb8f34e39ac9a4f546dc29e2f8f5787362', class: "group-wrapper" }, groupChips), h$1("div", { key: 'f92764974b9fc57a337f377eb6cc7fcb38d49c75', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
26190
+ } }, h$1("style", { key: 'a59af13cdcad56c19f3d93a376251282d67d8927' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h$1("div", { key: '6361fb5d031766406ad7e43e53309eeb9883c297', id: componentWrapperId, class: wrapClass }, h$1("div", { key: 'afe0e1c52d9c1d0d4fc3e6aa2f4a50e4532a3444', class: "group-wrapper" }, groupChips), h$1("div", { key: 'c3a8df6ceecab5bdff580a0371754c8bdf5d05ae', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
26131
26191
  const t = event.target;
26132
26192
  window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
26133
26193
  __classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
26134
- } }))) : null, paginatorTop && (h$1("div", { key: '64ca2f2c11561b14bf06c2897735903635e46c68', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
26194
+ } }))) : null, paginatorTop && (h$1("div", { key: 'cbbf08d01bdc7a10c03eaeb882bb2a13151c4268', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
26135
26195
  this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
26136
26196
  this.kupSave.emit({
26137
26197
  comp: this,
@@ -26181,9 +26241,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26181
26241
  this.data.rows.unshift(row);
26182
26242
  await this.refresh(true);
26183
26243
  }
26184
- }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '0132e870d83fbf71b4913247c4346e1d179899ed', 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
26244
+ }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '0cb8de2dadf3d644cc849c30e378dd7b098fc881', 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
26185
26245
  ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
26186
- : null), h$1("div", { key: 'd59df5d24dc9b5a029ec7daa7ca2458e6b73a695', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
26246
+ : null), h$1("div", { key: 'c640c406c25fd847840ea8eb218183e258c6e250', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
26187
26247
  ? [
26188
26248
  h$1("div", { class: "settings-trigger", onClick: () => {
26189
26249
  __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
@@ -26192,7 +26252,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26192
26252
  } }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
26193
26253
  this.renderCustomizePanel(),
26194
26254
  ]
26195
- : null, h$1("table", { key: '0ac169c84d996f38c5c2e01f1f6e3c689b5a55bd', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$3(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
26255
+ : null, h$1("table", { key: '31305879e2f89950a611d5f6968b44b2929a7bdb', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$3(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
26196
26256
  ev.stopPropagation();
26197
26257
  }, onPointerDown: (e) => {
26198
26258
  __classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
@@ -26200,7 +26260,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26200
26260
  __classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
26201
26261
  }, onContextMenu: (e) => {
26202
26262
  e.preventDefault();
26203
- } }, h$1("thead", { key: '502ead64422e8f6e7ad125334929162946479078', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'e3669c953b64bb8839535100d633bebe1e9bb2ad' }, header)), h$1("tbody", { key: '25cdec97420d3277b02d13027087ad258a6739a4' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
26263
+ } }, h$1("thead", { key: '58519882fed4f56f6e391777be49883d6d809619', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: '586a3cd08234f259408bf88b8b417f2b0ea826ac' }, header)), h$1("tbody", { key: '2130a9f01980f50c553ad98b68eb10a40c7e25c8' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
26204
26264
  __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
26205
26265
  return compCreated;
26206
26266
  }
@@ -26370,7 +26430,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
26370
26430
  "fixedRows": ["controlFixedRowsColumns"],
26371
26431
  "transpose": ["recalculateData"]
26372
26432
  }]);
26373
- _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_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_modifiedRowsIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = 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_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedColumn = new WeakMap(), _KupDataTable_lastFocusedCell = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = 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_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_horNav = new WeakMap(), _KupDataTable_verNav = new WeakMap(), _KupDataTable_onKupKeyDown = new WeakMap(), _KupDataTable_handleUpdateClick = 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_checkUpdateState = function _KupDataTable_checkUpdateState() {
26433
+ _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_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_modifiedRowsIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = 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_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedColumn = new WeakMap(), _KupDataTable_lastFocusedCell = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = 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_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_horNav = new WeakMap(), _KupDataTable_verNav = new WeakMap(), _KupDataTable_onKupKeyDown = new WeakMap(), _KupDataTable_handleUpdateClick = 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_addRowHandler = new WeakMap(), _KupDataTable_createRowWithInputFields = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
26374
26434
  let somethingChanged = false;
26375
26435
  if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
26376
26436
  this.state.filters = Object.assign({}, this.filters);
@@ -28994,50 +29054,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
28994
29054
  return (!!commandButtons.length && (h$1("div", { class: "commands" }, commandButtons)));
28995
29055
  }, _KupDataTable_renderUpdateButtons = function _KupDataTable_renderUpdateButtons() {
28996
29056
  const styling = FButtonStyling.FLAT;
28997
- const createRowWithInputFields = () => {
28998
- var _a;
28999
- const row = { cells: {} };
29000
- (_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
29001
- var _a, _b;
29002
- const cell = {
29003
- shape: (_a = c.shape) !== null && _a !== void 0 ? _a : FCellShapes.TEXT_FIELD,
29004
- obj: Object.assign({}, c.obj),
29005
- isEditable: (_b = c.isEditable) !== null && _b !== void 0 ? _b : true,
29006
- data: {},
29007
- };
29008
- if (c['length'] && c['maxLength']) {
29009
- cell.data = {
29010
- size: c['length'],
29011
- maxLength: c['maxLength'],
29012
- };
29013
- }
29014
- row.cells[c.name] = cell;
29015
- });
29016
- return row;
29017
- };
29018
- const addRowHandler = async () => {
29019
- var _a, _b;
29020
- var _c;
29021
- let newRow;
29022
- const selectedRows = await this.getSelectedRows();
29023
- if (selectedRows.length > 0) {
29024
- newRow = JSON.parse(JSON.stringify(selectedRows[0]));
29025
- }
29026
- else if (((_b = (_a = __classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0) {
29027
- newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
29028
- }
29029
- else {
29030
- newRow = createRowWithInputFields();
29031
- }
29032
- Object.values(newRow.cells).forEach((cell) => {
29033
- if (selectedRows.length == 0) {
29034
- cell.value = '';
29035
- }
29036
- });
29037
- newRow.id = (__classPrivateFieldGet$3(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$2(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$3(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
29038
- __classPrivateFieldGet$3(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
29039
- this.insertNewRow(newRow, true);
29040
- };
29041
29057
  const addConfirmButton = () => {
29042
29058
  if (this.hiddenSubmitButton) {
29043
29059
  return;
@@ -29062,7 +29078,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
29062
29078
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.insert,
29063
29079
  icon: 'add',
29064
29080
  title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ROW_ADD),
29065
- onClickHandler: () => addRowHandler(),
29081
+ onClickHandler: () => __classPrivateFieldGet$3(this, _KupDataTable_addRowHandler, "f").call(this),
29066
29082
  },
29067
29083
  delete: {
29068
29084
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.delete,
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-25602d9a.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-0406cd83.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-a42dc353.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-45333a69.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-grid component.
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-25602d9a.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-0406cd83.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-a42dc353.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-45333a69.js';
4
4
 
5
5
  /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './p-25602d9a.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-0406cd83.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './p-a42dc353.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-45333a69.js';
4
4
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-0462f723.js';
5
5
 
6
6
  var toastuiEditor = {exports: {}};
@@ -10627,6 +10627,19 @@ function getRegExpFromString(s, flags) {
10627
10627
  function escapeRegExp(s) {
10628
10628
  return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
10629
10629
  }
10630
+ /**
10631
+ * Extract columns in a formula string in the format "[col]"
10632
+ * @param testo
10633
+ * @returns
10634
+ */
10635
+ function extractColumnsFromFormulaString(testo) {
10636
+ const regex = /\[([^\]]*)\]/g;
10637
+ const risultati = [];
10638
+ for (const match of testo.matchAll(regex)) {
10639
+ risultati.push(match[1]);
10640
+ }
10641
+ return risultati;
10642
+ }
10630
10643
 
10631
10644
  const dom$4 = document.documentElement;
10632
10645
  /**
@@ -19947,4 +19960,4 @@ function kupManagerInstance() {
19947
19960
  return dom.ketchup;
19948
19961
  }
19949
19962
 
19950
- export { KupLanguageGrouping as $, KupLanguageTotals as A, KupLanguageColumn as B, CHIAdapter as C, KupDataNewColumnTypes as D, KupCardSubEvents as E, FCellClasses as F, KupCardIds as G, KupLanguageRow as H, ItemsDisplayMode as I, KupLanguageSearch as J, KupManager as K, getColumnByName as L, KupObjects as M, formatToNumber as N, Filters as O, getValueForDisplay as P, getValueForDisplay2 as Q, RADAdapter as R, KupData as S, compareCell as T, TotalMode as U, getRegExpFromString as V, CHKAdapter as W, SWTAdapter as X, SortMode as Y, GroupLabelDisplayMode as Z, SelectionMode as _, KupComponentSizing as a, KupLanguageCheckbox as a0, FILTER_ANALYZER as a1, KupLanguagePage as a2, addColumnValueFromRow as a3, KupGlobalFilterMode as a4, TotalLabel as a5, isNegativeNumber as a6, KupPointerEventTypes as a7, kupDynamicPositionAttribute as a8, identify as a9, kupDraggableAttr as aA, KupCellElementsPosition as aB, submitPositionAdapter as aC, KupCellProps as aD, KupLanguageDashboard as aE, kupDropEvent as aF, kupDraggableRowAttr as aG, KupListProps as aa, KupCardFamily as ab, KupListRole as ac, KupLanguageUpload as ad, LoadMoreMode as ae, PaginatorPos as af, ShowGrid as ag, kupDraggableColumnAttr as ah, kupDragActiveAttr as ai, KupDragEffect as aj, kupDraggableCellAttr as ak, KupDropEventTypes as al, DataTableAreasEnum as am, TypesToDuplicate as an, FixedCellsClasses as ao, FixedCellsCSSVarsBase as ap, KupLanguageFontsize as aq, KupLanguageDensity as ar, KupLanguageGrid as as, KupDataTableProps as at, UseAsValue as au, iconColumn as av, keyColumn as aw, fieldColumn as ax, getSizeOfInputElement as ay, KupCardProps as az, KupThemeIconValues as b, KupThemeColorValues as c, KupDynamicPositionPlacement as d, KupLanguageGeneric as e, editableTypes as f, getProps as g, kupTypes as h, FCellTypes as i, CMBandACPAdapter as j, kupManagerInstance as k, KupTagNames as l, FCellShapes as m, getCellValueForDisplay as n, fullWidthFieldsComps as o, autoCenterComps as p, FCellEvents as q, isForceUppercase as r, setProps as s, isForceLowercase as t, KupDebugCategory as u, adaptContentToDisplayMode as v, FCellPadding as w, fillString as x, KupCardBuiltInClockElements as y, KupCardCSSClasses as z };
19963
+ export { KupLanguageGrouping as $, KupLanguageTotals as A, KupLanguageColumn as B, CHIAdapter as C, KupDataNewColumnTypes as D, KupCardSubEvents as E, FCellClasses as F, KupCardIds as G, KupLanguageRow as H, ItemsDisplayMode as I, KupLanguageSearch as J, KupManager as K, getColumnByName as L, KupObjects as M, formatToNumber as N, Filters as O, getValueForDisplay as P, getValueForDisplay2 as Q, RADAdapter as R, KupData as S, compareCell as T, TotalMode as U, getRegExpFromString as V, CHKAdapter as W, SWTAdapter as X, SortMode as Y, GroupLabelDisplayMode as Z, SelectionMode as _, KupComponentSizing as a, KupLanguageCheckbox as a0, extractColumnsFromFormulaString as a1, FILTER_ANALYZER as a2, KupLanguagePage as a3, addColumnValueFromRow as a4, KupGlobalFilterMode as a5, TotalLabel as a6, isNegativeNumber as a7, KupPointerEventTypes as a8, kupDynamicPositionAttribute as a9, KupCardProps as aA, kupDraggableAttr as aB, KupCellElementsPosition as aC, submitPositionAdapter as aD, KupCellProps as aE, KupLanguageDashboard as aF, kupDropEvent as aG, kupDraggableRowAttr as aH, identify as aa, KupListProps as ab, KupCardFamily as ac, KupListRole as ad, KupLanguageUpload as ae, LoadMoreMode as af, PaginatorPos as ag, ShowGrid as ah, kupDraggableColumnAttr as ai, kupDragActiveAttr as aj, KupDragEffect as ak, kupDraggableCellAttr as al, KupDropEventTypes as am, DataTableAreasEnum as an, TypesToDuplicate as ao, FixedCellsClasses as ap, FixedCellsCSSVarsBase as aq, KupLanguageFontsize as ar, KupLanguageDensity as as, KupLanguageGrid as at, KupDataTableProps as au, UseAsValue as av, iconColumn as aw, keyColumn as ax, fieldColumn as ay, getSizeOfInputElement as az, KupThemeIconValues as b, KupThemeColorValues as c, KupDynamicPositionPlacement as d, KupLanguageGeneric as e, editableTypes as f, getProps as g, kupTypes as h, FCellTypes as i, CMBandACPAdapter as j, kupManagerInstance as k, KupTagNames as l, FCellShapes as m, getCellValueForDisplay as n, fullWidthFieldsComps as o, autoCenterComps as p, FCellEvents as q, isForceUppercase as r, setProps as s, isForceLowercase as t, KupDebugCategory as u, adaptContentToDisplayMode as v, FCellPadding as w, fillString as x, KupCardBuiltInClockElements as y, KupCardCSSClasses as z };
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-25602d9a.js';
3
- import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-0406cd83.js';
2
+ import { k as kupManagerInstance, aa as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a8 as KupPointerEventTypes, ak as KupDragEffect, aB as kupDraggableAttr, am as KupDropEventTypes, J as KupLanguageSearch } from './p-a42dc353.js';
3
+ import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-45333a69.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-box component.
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
2
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
3
- import { F as FImage } from './f-image-96ea1421.js';
3
+ import { F as FImage } from './f-image-40b4e64b.js';
4
4
 
5
5
  /*-------------------------------------------------*/
6
6
  /* C o m p o n e n t */
@@ -1,11 +1,11 @@
1
1
  import { h, F as Fragment } from './index-9b0f4a0d.js';
2
- import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-150e2ada.js';
3
- import { F as FButton } from './f-button-6298565d.js';
4
- import { F as FCheckbox } from './f-checkbox-191ec2e7.js';
5
- import { F as FChipType, d as FChip } from './f-chip-876f5447.js';
6
- import { F as FImage } from './f-image-96ea1421.js';
7
- import { F as FObjectField } from './f-object-field-4382c70d.js';
8
- import { F as FTextField } from './f-text-field-a13130d7.js';
2
+ import { ar as editableTypes, as as kupTypes, U as FCellClasses, ae as FCellTypes, f as KupThemeColorValues, ap as CHIAdapter, an as RADAdapter, am as CMBandACPAdapter, at as KupTagNames, F as FCellShapes, aj as getCellValueForDisplay, a as KupComponentSizing, au as fullWidthFieldsComps, I as ItemsDisplayMode, av as autoCenterComps, aw as adaptContentToDisplayMode, ax as FCellEvents, ay as isForceUppercase, az as isForceLowercase, h as KupDebugCategory } from './kup-manager-232be463.js';
3
+ import { F as FButton } from './f-button-3e022953.js';
4
+ import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
5
+ import { F as FChipType, d as FChip } from './f-chip-a2d07acb.js';
6
+ import { F as FImage } from './f-image-40b4e64b.js';
7
+ import { F as FObjectField } from './f-object-field-bc0b6f80.js';
8
+ import { F as FTextField } from './f-text-field-0f550594.js';
9
9
 
10
10
  var FRadioType;
11
11
  (function (FRadioType) {
@@ -1,4 +1,4 @@
1
- import { F as FImage } from './f-image-96ea1421.js';
1
+ import { F as FImage } from './f-image-40b4e64b.js';
2
2
  import { h } from './index-9b0f4a0d.js';
3
3
 
4
4
  /*-------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { F as FImage } from './f-image-96ea1421.js';
3
- import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-150e2ada.js';
2
+ import { F as FImage } from './f-image-40b4e64b.js';
3
+ import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-232be463.js';
4
4
 
5
5
  function getIdOfItemByDisplayMode(item, mode, separator) {
6
6
  const { id, value } = item;
@@ -90,35 +90,39 @@ function createIcon(icon, color, iconClass = 'f-image__icon') {
90
90
  }
91
91
  function createImage(props) {
92
92
  return (h("img", { class: props.placeholderResource ? HIDDEN_CLASS : '', onLoad: (e) => {
93
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
93
94
  const img = e.currentTarget;
94
- if (img && img.parentElement) {
95
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
96
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
97
- const fWrapper = img.parentElement.parentElement.querySelector('.f-image');
98
- if (props.onLoad) {
99
- props.onLoad(e);
100
- }
101
- if (placeholder) {
102
- placeholder.classList.add(HIDDEN_CLASS);
103
- img.classList.remove(HIDDEN_CLASS);
104
- }
105
- if (iconWrapper) {
106
- iconWrapper.classList.add(HIDDEN_CLASS);
107
- fWrapper.classList.add('noIcon');
95
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
96
+ return;
97
+ }
98
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
99
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
100
+ const fWrapper = (_d = (_c = img.parentElement) === null || _c === void 0 ? void 0 : _c.parentElement) === null || _d === void 0 ? void 0 : _d.querySelector('.f-image');
101
+ (_e = props.onLoad) === null || _e === void 0 ? void 0 : _e.call(props, e);
102
+ if (placeholder) {
103
+ (_f = placeholder.classList) === null || _f === void 0 ? void 0 : _f.add(HIDDEN_CLASS);
104
+ (_g = img.classList) === null || _g === void 0 ? void 0 : _g.remove(HIDDEN_CLASS);
105
+ }
106
+ if (iconWrapper) {
107
+ (_h = iconWrapper.classList) === null || _h === void 0 ? void 0 : _h.add(HIDDEN_CLASS);
108
+ if (fWrapper) {
109
+ (_j = fWrapper.classList) === null || _j === void 0 ? void 0 : _j.add('noIcon');
108
110
  }
109
111
  }
110
112
  }, onError: (e) => {
113
+ var _a, _b, _c, _d, _e;
111
114
  const img = e.currentTarget;
112
- if (img && img.parentElement) {
113
- const placeholder = img.parentElement.querySelector('.f-image__placeholder');
114
- const iconWrapper = img.parentElement.querySelector('.iconWrapper');
115
- if (placeholder) {
116
- placeholder.classList.remove(HIDDEN_CLASS);
117
- img.classList.add(HIDDEN_CLASS);
118
- }
119
- if (iconWrapper) {
120
- iconWrapper.classList.remove(HIDDEN_CLASS);
121
- }
115
+ if (!(img === null || img === void 0 ? void 0 : img.parentElement)) {
116
+ return;
117
+ }
118
+ const placeholder = (_a = img.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('.f-image__placeholder');
119
+ const iconWrapper = (_b = img.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.iconWrapper');
120
+ if (placeholder) {
121
+ (_c = placeholder.classList) === null || _c === void 0 ? void 0 : _c.remove(HIDDEN_CLASS);
122
+ (_d = img.classList) === null || _d === void 0 ? void 0 : _d.add(HIDDEN_CLASS);
123
+ }
124
+ if (iconWrapper) {
125
+ (_e = iconWrapper.classList) === null || _e === void 0 ? void 0 : _e.remove(HIDDEN_CLASS);
122
126
  }
123
127
  }, src: props.resource }));
124
128
  }
@@ -1,8 +1,8 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-150e2ada.js';
3
- import { F as FButton } from './f-button-6298565d.js';
2
+ import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-232be463.js';
3
+ import { F as FButton } from './f-button-3e022953.js';
4
4
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
5
- import { F as FTextField } from './f-text-field-a13130d7.js';
5
+ import { F as FTextField } from './f-text-field-0f550594.js';
6
6
 
7
7
  const STATE = new WeakMap();
8
8
  const FObjectField = (props) => {
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-150e2ada.js';
3
- import { F as FButton } from './f-button-6298565d.js';
2
+ import { I as ItemsDisplayMode, aA as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-232be463.js';
3
+ import { F as FButton } from './f-button-3e022953.js';
4
4
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
5
5
 
6
6
  var FPaginatorMode;
@@ -1,6 +1,6 @@
1
1
  import { h, g as getAssetPath } from './index-9b0f4a0d.js';
2
- import { d as KupThemeIconValues } from './kup-manager-150e2ada.js';
3
- import { F as FImage } from './f-image-96ea1421.js';
2
+ import { d as KupThemeIconValues } from './kup-manager-232be463.js';
3
+ import { F as FImage } from './f-image-40b4e64b.js';
4
4
 
5
5
  const dom = document.documentElement;
6
6
  let helperEl = null;