@sme.up/ketchup 11.0.0-SNAPSHOT-20241217103126 → 11.0.0-SNAPSHOT-20241217103457

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 (196) hide show
  1. package/dist/cjs/{f-cell-752a5bc4.js → f-cell-732263b0.js} +16 -16
  2. package/dist/cjs/{f-chip-0342fdc1.js → f-chip-238c78d1.js} +1 -1
  3. package/dist/cjs/{f-object-field-74179ab4.js → f-object-field-8bca23a7.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-db5e6e08.js → f-paginator-utils-be634c3c.js} +1 -1
  5. package/dist/cjs/{f-text-field-ed89e4d2.js → f-text-field-b5a51398.js} +1 -1
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  9. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +142 -175
  10. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  11. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  12. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  13. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  14. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  15. package/dist/cjs/{kup-data-table-helper-d6d793fc.js → kup-data-table-helper-07df1b41.js} +1 -1
  16. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
  24. package/dist/cjs/kup-input-panel.cjs.entry.js +43 -198
  25. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  27. package/dist/cjs/{kup-manager-4e75f704.js → kup-manager-f5ccf3d0.js} +1 -0
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  32. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  33. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  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 +1 -1
  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 +1 -1
  40. package/dist/collection/components/kup-data-table/kup-data-table.js +97 -70
  41. package/dist/collection/components/kup-input-panel/kup-input-panel.js +38 -193
  42. package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
  43. package/dist/collection/f-components/f-cell/f-cell.js +12 -12
  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-form.js +1 -1
  71. package/dist/components/kup-gauge.js +1 -1
  72. package/dist/components/kup-grid.js +1 -1
  73. package/dist/components/kup-htm.js +2 -2
  74. package/dist/components/kup-iframe.js +2 -2
  75. package/dist/components/kup-image-list.js +2 -2
  76. package/dist/components/kup-image.js +1 -1
  77. package/dist/components/kup-input-panel.js +41 -196
  78. package/dist/components/kup-lazy.js +2 -2
  79. package/dist/components/kup-list.js +1 -1
  80. package/dist/components/kup-magic-box.js +4 -4
  81. package/dist/components/kup-nav-bar.js +2 -2
  82. package/dist/components/kup-numeric-picker.js +2 -2
  83. package/dist/components/kup-object-field.js +2 -2
  84. package/dist/components/kup-pdf.js +2 -2
  85. package/dist/components/kup-photo-frame.js +2 -2
  86. package/dist/components/kup-planner.js +2 -2
  87. package/dist/components/kup-probe.js +2 -2
  88. package/dist/components/kup-progress-bar.js +1 -1
  89. package/dist/components/kup-qlik.js +2 -2
  90. package/dist/components/kup-radio.js +1 -1
  91. package/dist/components/kup-rating.js +1 -1
  92. package/dist/components/kup-snackbar.js +2 -2
  93. package/dist/components/kup-spinner.js +1 -1
  94. package/dist/components/kup-switch.js +1 -1
  95. package/dist/components/kup-tab-bar.js +1 -1
  96. package/dist/components/kup-text-field.js +1 -1
  97. package/dist/components/kup-time-picker.js +1 -1
  98. package/dist/components/kup-toolbar.js +1 -1
  99. package/dist/components/kup-tree.js +1 -1
  100. package/dist/components/kup-txt.js +2 -2
  101. package/dist/components/kup-typography-list.js +2 -2
  102. package/dist/components/kup-typography.js +2 -2
  103. package/dist/components/{p-3bed44d4.js → p-248b85c1.js} +2 -2
  104. package/dist/components/{p-b96e265d.js → p-3bf643ae.js} +2 -2
  105. package/dist/components/{p-83a86ca8.js → p-5c82ed77.js} +2 -2
  106. package/dist/components/{p-f22fb696.js → p-5ee0b3dc.js} +223 -256
  107. package/dist/components/{p-14aad914.js → p-8138bfb7.js} +1 -0
  108. package/dist/components/{p-e2f1b5d3.js → p-b31cf6a0.js} +2 -2
  109. package/dist/esm/{f-cell-07fa16b7.js → f-cell-b6871cf3.js} +16 -16
  110. package/dist/esm/{f-chip-70a06610.js → f-chip-ba9a3748.js} +1 -1
  111. package/dist/esm/{f-object-field-4f6d8bb7.js → f-object-field-e76b1e59.js} +2 -2
  112. package/dist/esm/{f-paginator-utils-17f01722.js → f-paginator-utils-54e4b908.js} +1 -1
  113. package/dist/esm/{f-text-field-3521b89f.js → f-text-field-48beba2c.js} +1 -1
  114. package/dist/esm/index.js +1 -1
  115. package/dist/esm/kup-accordion.entry.js +1 -1
  116. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  117. package/dist/esm/kup-autocomplete_28.entry.js +142 -175
  118. package/dist/esm/kup-box.entry.js +7 -7
  119. package/dist/esm/kup-calendar.entry.js +2 -2
  120. package/dist/esm/kup-card-list.entry.js +1 -1
  121. package/dist/esm/kup-cell.entry.js +5 -5
  122. package/dist/esm/kup-dashboard.entry.js +2 -2
  123. package/dist/esm/{kup-data-table-helper-d85d607a.js → kup-data-table-helper-c2ac5163.js} +1 -1
  124. package/dist/esm/kup-drawer.entry.js +1 -1
  125. package/dist/esm/kup-echart.entry.js +1 -1
  126. package/dist/esm/kup-editor.entry.js +1 -1
  127. package/dist/esm/kup-family-tree.entry.js +1 -1
  128. package/dist/esm/kup-grid.entry.js +1 -1
  129. package/dist/esm/kup-htm.entry.js +1 -1
  130. package/dist/esm/kup-iframe.entry.js +1 -1
  131. package/dist/esm/kup-image-list.entry.js +5 -5
  132. package/dist/esm/kup-input-panel.entry.js +43 -198
  133. package/dist/esm/kup-lazy.entry.js +1 -1
  134. package/dist/esm/kup-magic-box.entry.js +1 -1
  135. package/dist/esm/{kup-manager-02418eff.js → kup-manager-02d449a3.js} +2 -1
  136. package/dist/esm/kup-nav-bar.entry.js +1 -1
  137. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  138. package/dist/esm/kup-object-field.entry.js +3 -3
  139. package/dist/esm/kup-pdf.entry.js +1 -1
  140. package/dist/esm/kup-photo-frame.entry.js +1 -1
  141. package/dist/esm/kup-planner.entry.js +2 -2
  142. package/dist/esm/kup-probe.entry.js +1 -1
  143. package/dist/esm/kup-qlik.entry.js +1 -1
  144. package/dist/esm/kup-snackbar.entry.js +1 -1
  145. package/dist/esm/kup-txt.entry.js +1 -1
  146. package/dist/esm/kup-typography-list.entry.js +1 -1
  147. package/dist/esm/kup-typography.entry.js +1 -1
  148. package/dist/ketchup/index.esm.js +1 -1
  149. package/dist/ketchup/ketchup.esm.js +1 -1
  150. package/dist/ketchup/{p-8f6b99d1.entry.js → p-004e0b2c.entry.js} +1 -1
  151. package/dist/ketchup/{p-a34e3c9a.entry.js → p-0ee306a5.entry.js} +1 -1
  152. package/dist/ketchup/p-16a65a92.js +1 -0
  153. package/dist/ketchup/{p-bd8c59be.js → p-2ca239c5.js} +1 -1
  154. package/dist/ketchup/{p-8cfb1c3c.entry.js → p-32beb39d.entry.js} +1 -1
  155. package/dist/ketchup/{p-b4bf8262.entry.js → p-43bdc189.entry.js} +1 -1
  156. package/dist/ketchup/{p-100b68f9.entry.js → p-4c23dfc6.entry.js} +1 -1
  157. package/dist/ketchup/{p-87c116ed.entry.js → p-4ce1c468.entry.js} +1 -1
  158. package/dist/ketchup/{p-200fee46.entry.js → p-597facc7.entry.js} +1 -1
  159. package/dist/ketchup/{p-00969f5a.entry.js → p-5fbe73fa.entry.js} +1 -1
  160. package/dist/ketchup/{p-c9961dde.entry.js → p-63ac7b9d.entry.js} +1 -1
  161. package/dist/ketchup/{p-ccb446a9.entry.js → p-6a6887c2.entry.js} +1 -1
  162. package/dist/ketchup/{p-fc32246e.entry.js → p-6aef8eca.entry.js} +1 -1
  163. package/dist/ketchup/{p-92daefa6.entry.js → p-72148698.entry.js} +1 -1
  164. package/dist/ketchup/{p-df467d12.entry.js → p-75ed372c.entry.js} +1 -1
  165. package/dist/ketchup/p-76d0aeb9.entry.js +9 -0
  166. package/dist/ketchup/{p-f63e26e4.entry.js → p-808a7ffa.entry.js} +1 -1
  167. package/dist/ketchup/{p-d2732f45.entry.js → p-85512014.entry.js} +1 -1
  168. package/dist/ketchup/{p-b640b0d3.js → p-927aa746.js} +2 -2
  169. package/dist/ketchup/{p-f11b1064.js → p-9a33082b.js} +1 -1
  170. package/dist/ketchup/{p-9f7826b8.entry.js → p-9cdfce9d.entry.js} +1 -1
  171. package/dist/ketchup/{p-2e8b266e.entry.js → p-a4ac2d83.entry.js} +1 -1
  172. package/dist/ketchup/{p-24e66646.entry.js → p-a9738796.entry.js} +1 -1
  173. package/dist/ketchup/{p-c51aca8b.entry.js → p-bdf12dc3.entry.js} +1 -1
  174. package/dist/ketchup/{p-1339b77a.entry.js → p-c10caeed.entry.js} +1 -1
  175. package/dist/ketchup/{p-b6fa890b.entry.js → p-c9924da3.entry.js} +1 -1
  176. package/dist/ketchup/{p-08608891.js → p-ce299c02.js} +1 -1
  177. package/dist/ketchup/{p-8876e673.entry.js → p-ce37247c.entry.js} +1 -1
  178. package/dist/ketchup/p-ce908d23.entry.js +1 -0
  179. package/dist/ketchup/p-d52a97d6.entry.js +1 -0
  180. package/dist/ketchup/{p-9e8bd55a.entry.js → p-d75f7618.entry.js} +1 -1
  181. package/dist/ketchup/{p-4b13c5f5.entry.js → p-d9bd93d2.entry.js} +1 -1
  182. package/dist/ketchup/{p-51f2ffb9.entry.js → p-dd567e1d.entry.js} +1 -1
  183. package/dist/ketchup/{p-edcb4ac6.entry.js → p-e5b796d2.entry.js} +1 -1
  184. package/dist/ketchup/p-ed3253c1.js +1 -0
  185. package/dist/ketchup/{p-93dff1f9.js → p-ed3ff1ae.js} +1 -1
  186. package/dist/ketchup/{p-c4617db5.entry.js → p-f252ef4f.entry.js} +1 -1
  187. package/dist/ketchup/{p-026a5635.entry.js → p-f81d80a7.entry.js} +1 -1
  188. package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -1
  189. package/dist/types/components.d.ts +8 -2
  190. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
  191. package/package.json +1 -1
  192. package/dist/ketchup/p-0c8cb88e.js +0 -1
  193. package/dist/ketchup/p-60a761cb.entry.js +0 -9
  194. package/dist/ketchup/p-67eacdd7.entry.js +0 -1
  195. package/dist/ketchup/p-72ed5abb.js +0 -1
  196. package/dist/ketchup/p-fcdeb4b6.entry.js +0 -1
@@ -26,7 +26,7 @@ var __rest = (this && this.__rest) || function (s, e) {
26
26
  }
27
27
  return t;
28
28
  };
29
- var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_eventBlurNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_checkOnBlurProp, _KupInputPanel_checkOnBlurEvent, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
29
+ var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_onBlurHandler, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
30
30
  import { Host, forceUpdate, h, } from "@stencil/core";
31
31
  import { FButton } from "../../f-components/f-button/f-button";
32
32
  import { FCell } from "../../f-components/f-cell/f-cell";
@@ -73,15 +73,6 @@ export class KupInputPanel {
73
73
  [FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
74
74
  [FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
75
75
  ]));
76
- _KupInputPanel_eventBlurNames.set(this, new Map([
77
- [FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
78
- [FCellShapes.CHIP, 'kup-textfield-blur'],
79
- [FCellShapes.COMBOBOX, 'kup-combobox-blur'],
80
- [FCellShapes.DATE, 'kup-datepicker-blur'],
81
- [FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
82
- [FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
83
- [FCellShapes.TIME, 'kup-timepicker-blur'],
84
- ]));
85
76
  _KupInputPanel_listeners.set(this, []);
86
77
  _KupInputPanel_cellTypeComponents.set(this, new Map([
87
78
  [FCellTypes.DATE, 'kup-date-picker'],
@@ -199,7 +190,9 @@ export class KupInputPanel {
199
190
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
200
191
  ]
201
192
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
202
- return (h(Host, { key: 'fd7cb43c2e106e5ee0792ebf06cb7d97feb08a5a' }, h("style", { key: 'e9c94d1db637c291c024ca4c20391e72d977aff2' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3a43c79c02826a018af22e00d869b48fdf60ebe4', id: componentWrapperId }, inputPanelContent)));
193
+ return (h(Host, { key: '1316f47cce917e05cfb94bd3e68c8f1ad14a85de', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
194
+ this.tabSelected = e.detail.node.id;
195
+ }, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: 'f8d4834ceed60a77270667e9229090faf36c06fe' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'ca1a00d028a0a8ef030d41c2452fbb229a041c32', id: componentWrapperId }, inputPanelContent)));
203
196
  }
204
197
  disconnectedCallback() {
205
198
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -675,7 +668,7 @@ export class KupInputPanel {
675
668
  }];
676
669
  }
677
670
  }
678
- _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_eventBlurNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
671
+ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
679
672
  return this.inputPanelCells.reduce((cell, { cells }) => {
680
673
  if (!cell) {
681
674
  return cells.find(({ column }) => column.name === id).cell;
@@ -934,17 +927,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
934
927
  });
935
928
  });
936
929
  const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
937
- if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
938
- const event = 'kup-tabbar-click';
939
- const handler = (e) => {
940
- this.tabSelected = e.detail.node.id;
941
- };
942
- this.rootElement.addEventListener(event, handler);
943
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
944
- event,
945
- handler,
946
- });
947
- }
948
930
  return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
949
931
  }, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
950
932
  const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
@@ -1163,16 +1145,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1163
1145
  }
1164
1146
  if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
1165
1147
  cellType === FCellTypes.MULTI_COMBOBOX) {
1166
- return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null, cell, col.name)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
1148
+ return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
1167
1149
  }
1168
1150
  return null;
1169
- }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell, id) {
1170
- var _a, _b;
1171
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1172
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1173
- cell.mandatory) {
1174
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1175
- }
1151
+ }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
1176
1152
  return CHIAdapter(currentValue);
1177
1153
  }, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
1178
1154
  //TODO: definire mapping
@@ -1198,47 +1174,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1198
1174
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
1199
1175
  }
1200
1176
  return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
1201
- }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell, id) {
1202
- var _a, _b;
1177
+ }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
1203
1178
  const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
1204
- if (cell.fun) {
1205
- const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
1206
- const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
1207
- if (!evNames) {
1208
- return;
1209
- }
1210
- evNames.map((evName) => {
1211
- const handler = (e) => {
1212
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
1213
- };
1214
- this.rootElement.addEventListener(evName, handler);
1215
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
1216
- event: evName,
1217
- handler,
1218
- });
1219
- });
1220
- }
1221
- else if (rawOptions) {
1179
+ if (rawOptions) {
1222
1180
  configCMandACP.data['kup-list'].data =
1223
1181
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
1224
1182
  }
1225
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1226
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1227
- cell.mandatory) {
1228
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1229
- }
1230
1183
  return configCMandACP;
1231
- }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue, cell, id) {
1232
- var _a, _b;
1233
- let data = CHKAdapter(currentValue, fieldLabel);
1234
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1235
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1236
- cell.mandatory) {
1237
- return Object.assign(Object.assign({}, data), { onBlur: () => {
1238
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1239
- } });
1184
+ }, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
1185
+ const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
1186
+ if (cell.fun) {
1187
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
1240
1188
  }
1241
- return data;
1189
+ }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
1190
+ return CHKAdapter(currentValue, fieldLabel);
1242
1191
  }, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
1243
1192
  return {
1244
1193
  data: {
@@ -1252,7 +1201,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1252
1201
  initialValue: currentValue,
1253
1202
  };
1254
1203
  }, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
1255
- var _a, _b, _c;
1204
+ var _a;
1256
1205
  const data = Object.assign({ label: fieldLabel }, cell.data);
1257
1206
  if (this.autoSkip &&
1258
1207
  (cell.isEditable || cell.editable) &&
@@ -1261,34 +1210,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1261
1210
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
1262
1211
  };
1263
1212
  }
1264
- if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
1265
- ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
1266
- cell.mandatory) {
1267
- data.onBlur = () => {
1268
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1269
- };
1270
- }
1271
- return data;
1272
- }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
1273
- var _a, _b;
1274
- let data = RADAdapter(currentValue, options);
1275
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1276
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1277
- cell.mandatory) {
1278
- return Object.assign(Object.assign({}, data), { onBlur: () => {
1279
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1280
- } });
1281
- }
1282
1213
  return data;
1214
+ }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
1215
+ return RADAdapter(currentValue, options);
1283
1216
  }, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
1284
1217
  return SWTAdapter(currentValue, fieldLabel);
1285
- }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue, cell, id) {
1286
- var _a, _b;
1287
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1288
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1289
- cell.mandatory) {
1290
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1291
- }
1218
+ }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
1292
1219
  return {
1293
1220
  data: {
1294
1221
  'kup-text-field': {
@@ -1297,32 +1224,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1297
1224
  },
1298
1225
  initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
1299
1226
  };
1300
- }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue, cell, id) {
1301
- var _a, _b;
1302
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1303
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1304
- cell.mandatory) {
1305
- return {
1306
- initialValue: currentValue || '',
1307
- label: fieldLabel || ' ',
1308
- value: currentValue || '',
1309
- onBlur: () => {
1310
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1311
- },
1312
- };
1313
- }
1227
+ }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
1314
1228
  return {
1315
1229
  initialValue: currentValue || '',
1316
1230
  label: fieldLabel || ' ',
1317
1231
  value: currentValue || '',
1318
1232
  };
1319
- }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue, cell, id) {
1320
- var _a, _b;
1321
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1322
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1323
- cell.mandatory) {
1324
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1325
- }
1233
+ }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
1326
1234
  return {
1327
1235
  data: {
1328
1236
  'kup-text-field': {
@@ -1331,18 +1239,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1331
1239
  },
1332
1240
  initialValue: currentValue,
1333
1241
  };
1334
- }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue, cell, id) {
1335
- var _a, _b;
1336
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1337
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1338
- cell.mandatory) {
1339
- return {
1340
- label: fieldLabel,
1341
- onBlur: () => {
1342
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1343
- },
1344
- };
1345
- }
1242
+ }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
1346
1243
  return { label: fieldLabel };
1347
1244
  }, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
1348
1245
  try {
@@ -1448,44 +1345,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1448
1345
  }
1449
1346
  const buttonCell = Object.assign(Object.assign({}, cell), { data: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter).call(this, null, null, cell.value, cell, cell.obj.k), id: cell.obj.k });
1450
1347
  return buttonCell;
1451
- }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, fun, data, id, currentValue) {
1452
- if (detail.id !== id ||
1453
- detail.open === false) {
1454
- return;
1455
- }
1456
- this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1348
+ }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
1349
+ this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1457
1350
  var _a;
1458
- data.data['kup-list'].data =
1459
- (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
1351
+ cell.data.data['kup-list'].data =
1352
+ (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
1460
1353
  detail.comp.refresh();
1461
1354
  });
1462
- }, _KupInputPanel_checkOnBlurProp = async function _KupInputPanel_checkOnBlurProp(cell, id) {
1355
+ }, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
1463
1356
  var _a, _b, _c, _d, _e;
1464
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1357
+ const { detail: { column, cell }, } = e;
1358
+ const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
1359
+ const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
1465
1360
  // Required cell check
1466
1361
  if (cell.mandatory) {
1467
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1468
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1362
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
1363
+ ? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1469
1364
  : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
1470
- if (!currCell.value) {
1365
+ if (!cell.value) {
1471
1366
  return;
1472
1367
  }
1473
1368
  }
1474
1369
  else {
1475
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1370
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1476
1371
  }
1477
1372
  // Valid object check
1478
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && currCell.value) {
1373
+ if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
1479
1374
  const { valid } = await this.checkValidObjCallback({
1480
1375
  obj: cell.obj,
1481
1376
  currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1482
1377
  fun: cell.fun,
1483
1378
  });
1484
1379
  if (valid) {
1485
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1380
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1486
1381
  }
1487
1382
  else {
1488
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1383
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1489
1384
  return;
1490
1385
  }
1491
1386
  }
@@ -1493,58 +1388,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1493
1388
  this.checkValidValueCallback({
1494
1389
  before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1495
1390
  after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1496
- }, id);
1391
+ }, column.name);
1497
1392
  }
1498
- }, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
1499
- const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
1500
- if (!evName) {
1501
- return;
1502
- }
1503
- const handler = async (e) => {
1504
- var _a, _b, _c, _d, _e;
1505
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1506
- if (e.detail.id !== id) {
1507
- return;
1508
- }
1509
- // Required cell check
1510
- if (cell.mandatory) {
1511
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1512
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1513
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
1514
- if (!e.detail.value) {
1515
- return;
1516
- }
1517
- }
1518
- else {
1519
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1520
- }
1521
- // Valid object check
1522
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
1523
- const { valid } = await this.checkValidObjCallback({
1524
- obj: cell.obj,
1525
- currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1526
- fun: cell.fun,
1527
- });
1528
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
1529
- ? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
1530
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1531
- if (!valid) {
1532
- return;
1533
- }
1534
- }
1535
- if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
1536
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
1537
- this.checkValidValueCallback({
1538
- before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1539
- after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1540
- }, id);
1541
- }
1542
- };
1543
- this.rootElement.addEventListener(evName, handler);
1544
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
1545
- event: evName,
1546
- handler,
1547
- });
1548
1393
  }, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
1549
1394
  this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
1550
1395
  const data = column.name === id
@@ -6,6 +6,7 @@ export const fullWidthFieldsComps = [KupTagNames.DATA_TABLE, KupTagNames.TREE];
6
6
  */
7
7
  export var FCellEvents;
8
8
  (function (FCellEvents) {
9
+ FCellEvents["BLUR"] = "kup-cell-blur";
9
10
  FCellEvents["CLICK"] = "kup-cell-click";
10
11
  FCellEvents["ICON_CLICK"] = "kup-cell-iconclick";
11
12
  FCellEvents["INPUT"] = "kup-cell-input";
@@ -372,7 +372,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
372
372
  var _a, _b, _c, _d;
373
373
  switch (cellType) {
374
374
  case FCellTypes.AUTOCOMPLETE:
375
- return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
375
+ return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
376
376
  case FCellTypes.CHECKBOX:
377
377
  if (isAutoCentered(props)) {
378
378
  classObj[FCellClasses.C_CENTERED] = true;
@@ -380,23 +380,23 @@ function setEditableCell(cellType, classObj, cell, column, props) {
380
380
  if (cell.shape === FCellShapes.INPUT_CHECKBOX) {
381
381
  return (h("input", { checked: cell.value === 'on' || cell.value === '1'
382
382
  ? true
383
- : false, class: "input-checkbox", onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), type: "checkbox" }));
383
+ : false, class: "input-checkbox", onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), type: "checkbox", onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) }));
384
384
  }
385
385
  else {
386
- return (h(FCheckbox, Object.assign({}, cell.data, { onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
386
+ return (h(FCheckbox, Object.assign({}, cell.data, { onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
387
387
  }
388
388
  case FCellTypes.CHIP:
389
- return (h("kup-chip", Object.assign({}, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-text-field", Object.assign({ fullWidth: true, slot: "field" }, cell.slotData, { error: cell.data.error }))));
389
+ return (h("kup-chip", Object.assign({}, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-text-field", Object.assign({ fullWidth: true, slot: "field" }, cell.slotData, { error: cell.data.error, "onKup-textfield-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) }))));
390
390
  case FCellTypes.COLOR_PICKER:
391
391
  return (h("kup-color-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', disabled: false, "onkup-colorpicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
392
392
  case FCellTypes.COMBOBOX:
393
- return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-combobox-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
393
+ return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-combobox-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
394
394
  case FCellTypes.DATE:
395
- return (h("kup-date-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-datepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-datepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT) })));
395
+ return (h("kup-date-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-datepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-datepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onKup-datepicker-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
396
396
  case FCellTypes.MULTI_AUTOCOMPLETE:
397
- return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-autocomplete", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), showDropDownIcon: false }, cell.slotData, { error: cell.data.error, showMarker: (_a = cell.tooltip) !== null && _a !== void 0 ? _a : false }))));
397
+ return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-autocomplete", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), showDropDownIcon: false }, cell.slotData, { error: cell.data.error, showMarker: (_a = cell.tooltip) !== null && _a !== void 0 ? _a : false }))));
398
398
  case FCellTypes.MULTI_COMBOBOX:
399
- return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_b = cell.tooltip) !== null && _b !== void 0 ? _b : false }))));
399
+ return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }), h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, selectMode: ItemsDisplayMode.DESCRIPTION_AND_CODE, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_b = cell.tooltip) !== null && _b !== void 0 ? _b : false }))));
400
400
  case FCellTypes.RADIO:
401
401
  return (h(FRadio, Object.assign({}, cell.data, { disabled: false, onChange: (i, e) => {
402
402
  const radioData = cell.data.data;
@@ -410,13 +410,13 @@ function setEditableCell(cellType, classObj, cell, column, props) {
410
410
  }
411
411
  }
412
412
  cellEvent(e, props, cellType, FCellEvents.UPDATE);
413
- } })));
413
+ }, onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
414
414
  case FCellTypes.RATING:
415
415
  return (h("kup-rating", Object.assign({ key: column.name + props.row.id }, cell.data, { disabled: false, "onkup-rating-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
416
416
  case FCellTypes.SWITCH:
417
- return (h(FSwitch, Object.assign({}, cell.data, { disabled: false, onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
417
+ return (h(FSwitch, Object.assign({}, cell.data, { disabled: false, onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
418
418
  case FCellTypes.TIME:
419
- return (h("kup-time-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-timepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-timepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT) })));
419
+ return (h("kup-time-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-timepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-timepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onKup-timepicker-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
420
420
  case FCellTypes.OBJECT:
421
421
  return (h(FObjectField, { cell: cell, inputValue: cell.value }));
422
422
  case FCellTypes.NUMBER:
@@ -448,7 +448,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
448
448
  ? cell.icon
449
449
  : column.icon
450
450
  ? column.icon
451
- : null, decimals: props.column.decimals, integers: props.column.integers, value: value, onChange: onChange, onInput: onInput, onIconClick: (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
451
+ : null, decimals: props.column.decimals, integers: props.column.integers, value: value, onChange: onChange, onInput: onInput, onIconClick: (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
452
452
  }
453
453
  }
454
454
  }
@@ -1,5 +1,5 @@
1
1
  export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-2e5f2e07.js';
2
- import { K as KupManager } from './p-14aad914.js';
2
+ import { K as KupManager } from './p-8138bfb7.js';
3
3
 
4
4
  /** used for obtain a KupManager instance without a dom document (for UT) */
5
5
  function newKupManager(init) {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
2
- import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-14aad914.js';
3
- import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-f22fb696.js';
2
+ import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-8138bfb7.js';
3
+ import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-accordion component.
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-2e5f2e07.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, o as getCellValueForDisplay } from './p-14aad914.js';
3
- import { c as componentWrapperId, D as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, F as FImage } from './p-f22fb696.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, o as getCellValueForDisplay } from './p-8138bfb7.js';
3
+ import { c as componentWrapperId, D as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, F as FImage } from './p-5ee0b3dc.js';
4
4
 
5
5
  var KupActivityTimelineProps;
6
6
  (function (KupActivityTimelineProps) {
@@ -1,4 +1,4 @@
1
- import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupAutocomplete = KupAutocomplete$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { E as KupBadge$1, B as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { E as KupBadge$1, B as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupBadge = KupBadge$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { K as KupBox$1, d as defineCustomElement$1 } from './p-3bed44d4.js';
1
+ import { K as KupBox$1, d as defineCustomElement$1 } from './p-248b85c1.js';
2
2
 
3
3
  const KupBox = KupBox$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as KupButtonList$1, z as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { R as KupButtonList$1, z as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupButtonList = KupButtonList$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { Q as KupButton$1, A as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { Q as KupButton$1, A as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupButton = KupButton$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H as H$2, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, d as Host } from './p-2e5f2e07.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, G as getColumnByName, t as KupDebugCategory } from './p-14aad914.js';
3
- import { c as componentWrapperId, S as FButton, N as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, T as FChipType } from './p-f22fb696.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, G as getColumnByName, t as KupDebugCategory } from './p-8138bfb7.js';
3
+ import { c as componentWrapperId, S as FButton, N as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, T as FChipType } from './p-5ee0b3dc.js';
4
4
  import { b as KupDatesLocales, K as KupDatesFormats } from './p-1581348d.js';
5
5
 
6
6
  var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, a5 as KupCardFamily, o as getCellValueForDisplay } from './p-14aad914.js';
3
- import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$f, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-f22fb696.js';
4
- import { d as defineCustomElement$e } from './p-b96e265d.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, a5 as KupCardFamily, o as getCellValueForDisplay } from './p-8138bfb7.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$f, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-5ee0b3dc.js';
4
+ import { d as defineCustomElement$e } from './p-3bf643ae.js';
5
5
 
6
6
  /**
7
7
  * Props of the kup-card-list component.
@@ -1,4 +1,4 @@
1
- import { U as KupCard$1, y as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { U as KupCard$1, y as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupCard = KupCard$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
2
- import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-14aad914.js';
3
- import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-f22fb696.js';
2
+ import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-8138bfb7.js';
3
+ import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
4
4
 
5
5
  const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
6
6
  const KupCellStyle0 = kupCellCss;
@@ -1,4 +1,4 @@
1
- import { V as KupChart$1, x as defineCustomElement$1 } from './p-f22fb696.js';
1
+ import { V as KupChart$1, x as defineCustomElement$1 } from './p-5ee0b3dc.js';
2
2
 
3
3
  const KupChart = KupChart$1;
4
4
  const defineCustomElement = defineCustomElement$1;