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

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 +54 -199
  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 +49 -194
  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 +52 -197
  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 +54 -199
  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-6dd4c3c1.entry.js +1 -0
  164. package/dist/ketchup/{p-92daefa6.entry.js → p-72148698.entry.js} +1 -1
  165. package/dist/ketchup/{p-df467d12.entry.js → p-75ed372c.entry.js} +1 -1
  166. package/dist/ketchup/p-76d0aeb9.entry.js +9 -0
  167. package/dist/ketchup/{p-f63e26e4.entry.js → p-808a7ffa.entry.js} +1 -1
  168. package/dist/ketchup/{p-d2732f45.entry.js → p-85512014.entry.js} +1 -1
  169. package/dist/ketchup/{p-b640b0d3.js → p-927aa746.js} +2 -2
  170. package/dist/ketchup/{p-f11b1064.js → p-9a33082b.js} +1 -1
  171. package/dist/ketchup/{p-9f7826b8.entry.js → p-9cdfce9d.entry.js} +1 -1
  172. package/dist/ketchup/{p-2e8b266e.entry.js → p-a4ac2d83.entry.js} +1 -1
  173. package/dist/ketchup/{p-24e66646.entry.js → p-a9738796.entry.js} +1 -1
  174. package/dist/ketchup/{p-c51aca8b.entry.js → p-bdf12dc3.entry.js} +1 -1
  175. package/dist/ketchup/{p-1339b77a.entry.js → p-c10caeed.entry.js} +1 -1
  176. package/dist/ketchup/{p-b6fa890b.entry.js → p-c9924da3.entry.js} +1 -1
  177. package/dist/ketchup/{p-08608891.js → p-ce299c02.js} +1 -1
  178. package/dist/ketchup/{p-8876e673.entry.js → p-ce37247c.entry.js} +1 -1
  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
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
7
- const kupDataTableHelper = require('./kup-data-table-helper-d6d793fc.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
+ const kupDataTableHelper = require('./kup-data-table-helper-07df1b41.js');
8
8
  const fImage = require('./f-image-4d316ab3.js');
9
- const fChip = require('./f-chip-0342fdc1.js');
9
+ const fChip = require('./f-chip-238c78d1.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
- const fCell = require('./f-cell-752a5bc4.js');
12
- const fPaginatorUtils = require('./f-paginator-utils-db5e6e08.js');
11
+ const fCell = require('./f-cell-732263b0.js');
12
+ const fPaginatorUtils = require('./f-paginator-utils-be634c3c.js');
13
13
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
14
14
  require('./kup-dates-bc4cf9d0.js');
15
15
  require('./f-checkbox-4fcdec8a.js');
16
- require('./f-text-field-ed89e4d2.js');
16
+ require('./f-text-field-b5a51398.js');
17
17
  require('./f-button-1e98edae.js');
18
18
  require('./f-button-declarations-76ef9f87.js');
19
- require('./f-object-field-74179ab4.js');
19
+ require('./f-object-field-8bca23a7.js');
20
20
  require('./component-a6dd6c14.js');
21
21
 
22
22
  /**
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$4 = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-1e98edae.js');
9
- const fChip = require('./f-chip-0342fdc1.js');
9
+ const fChip = require('./f-chip-238c78d1.js');
10
10
  const kupDates = require('./kup-dates-bc4cf9d0.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-4d316ab3.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,17 +3,17 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-1e98edae.js');
9
- const fCell = require('./f-cell-752a5bc4.js');
9
+ const fCell = require('./f-cell-732263b0.js');
10
10
  require('./kup-dates-bc4cf9d0.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-4d316ab3.js');
13
13
  require('./f-checkbox-4fcdec8a.js');
14
- require('./f-text-field-ed89e4d2.js');
15
- require('./f-chip-0342fdc1.js');
16
- require('./f-object-field-74179ab4.js');
14
+ require('./f-text-field-b5a51398.js');
15
+ require('./f-chip-238c78d1.js');
16
+ require('./f-object-field-8bca23a7.js');
17
17
 
18
18
  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%}";
19
19
  const KupCellStyle0 = kupCellCss;
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-e8aa3c73.js');
6
6
  const fButton = require('./f-button-1e98edae.js');
7
7
  const fCheckbox = require('./f-checkbox-4fcdec8a.js');
8
- const fTextField = require('./f-text-field-ed89e4d2.js');
8
+ const fTextField = require('./f-text-field-b5a51398.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
10
- const kupManager = require('./kup-manager-4e75f704.js');
10
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-4d316ab3.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const kupManager = require('./kup-manager-4e75f704.js');
3
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
4
4
  const kupDates = require('./kup-dates-bc4cf9d0.js');
5
5
 
6
6
  /**
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const kupDates = require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -6,7 +6,7 @@ const index = require('./index-e8aa3c73.js');
6
6
  const fButton = require('./f-button-1e98edae.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-4d316ab3.js');
9
- const kupManager = require('./kup-manager-4e75f704.js');
9
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
11
  require('./kup-dates-bc4cf9d0.js');
12
12
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  require('./kup-dates-bc4cf9d0.js');
8
8
 
9
9
  /**
@@ -3,18 +3,18 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fImage = require('./f-image-4d316ab3.js');
9
9
  const fButton = require('./f-button-1e98edae.js');
10
10
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
11
- const fCell = require('./f-cell-752a5bc4.js');
11
+ const fCell = require('./f-cell-732263b0.js');
12
12
  const component = require('./component-a6dd6c14.js');
13
13
  require('./kup-dates-bc4cf9d0.js');
14
14
  require('./f-checkbox-4fcdec8a.js');
15
- require('./f-text-field-ed89e4d2.js');
16
- require('./f-chip-0342fdc1.js');
17
- require('./f-object-field-74179ab4.js');
15
+ require('./f-text-field-b5a51398.js');
16
+ require('./f-chip-238c78d1.js');
17
+ require('./f-object-field-8bca23a7.js');
18
18
 
19
19
  /**
20
20
  * Props of the kup-image-list component.
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
6
  const fButton = require('./f-button-1e98edae.js');
7
- const fCell = require('./f-cell-752a5bc4.js');
8
- const kupManager = require('./kup-manager-4e75f704.js');
7
+ const fCell = require('./f-cell-732263b0.js');
8
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
10
10
  const fTypography = require('./f-typography-271f5037.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-4d316ab3.js');
14
14
  require('./f-checkbox-4fcdec8a.js');
15
- require('./f-text-field-ed89e4d2.js');
16
- require('./f-chip-0342fdc1.js');
17
- require('./f-object-field-74179ab4.js');
15
+ require('./f-text-field-b5a51398.js');
16
+ require('./f-chip-238c78d1.js');
17
+ require('./f-object-field-8bca23a7.js');
18
18
  require('./kup-dates-bc4cf9d0.js');
19
19
  require('./component-a6dd6c14.js');
20
20
 
@@ -160,7 +160,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
160
160
  }
161
161
  return t;
162
162
  };
163
- 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;
163
+ 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;
164
164
  const dom = document.documentElement;
165
165
  const KupInputPanel = class {
166
166
  constructor(hostRef) {
@@ -194,15 +194,6 @@ const KupInputPanel = class {
194
194
  [kupManager.FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
195
195
  [kupManager.FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
196
196
  ]));
197
- _KupInputPanel_eventBlurNames.set(this, new Map([
198
- [kupManager.FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
199
- [kupManager.FCellShapes.CHIP, 'kup-textfield-blur'],
200
- [kupManager.FCellShapes.COMBOBOX, 'kup-combobox-blur'],
201
- [kupManager.FCellShapes.DATE, 'kup-datepicker-blur'],
202
- [kupManager.FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
203
- [kupManager.FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
204
- [kupManager.FCellShapes.TIME, 'kup-timepicker-blur'],
205
- ]));
206
197
  _KupInputPanel_listeners.set(this, []);
207
198
  _KupInputPanel_cellTypeComponents.set(this, new Map([
208
199
  [kupManager.FCellTypes.DATE, 'kup-date-picker'],
@@ -320,7 +311,9 @@ const KupInputPanel = class {
320
311
  index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
321
312
  ]
322
313
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
323
- return (index.h(index.Host, { key: 'fd7cb43c2e106e5ee0792ebf06cb7d97feb08a5a' }, index.h("style", { key: 'e9c94d1db637c291c024ca4c20391e72d977aff2' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '3a43c79c02826a018af22e00d869b48fdf60ebe4', id: GenericVariables.componentWrapperId }, inputPanelContent)));
314
+ return (index.h(index.Host, { key: '77e1409d760b149f1a3ae34963b9f7bec250513e', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
315
+ this.tabSelected = e.detail.node.id;
316
+ }, "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) }, index.h("style", { key: 'aae1d4252362f1243fffdf1712423021e11e1ed6' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '90c0918bd6d3ef402f21272654a21b507ded99cb', id: GenericVariables.componentWrapperId }, inputPanelContent)));
324
317
  }
325
318
  disconnectedCallback() {
326
319
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -331,7 +324,7 @@ const KupInputPanel = class {
331
324
  "data": ["onDataChanged"]
332
325
  }; }
333
326
  };
334
- _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) {
327
+ _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) {
335
328
  return this.inputPanelCells.reduce((cell, { cells }) => {
336
329
  if (!cell) {
337
330
  return cells.find(({ column }) => column.name === id).cell;
@@ -589,17 +582,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
589
582
  });
590
583
  });
591
584
  const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
592
- if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
593
- const event = 'kup-tabbar-click';
594
- const handler = (e) => {
595
- this.tabSelected = e.detail.node.id;
596
- };
597
- this.rootElement.addEventListener(event, handler);
598
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
599
- event,
600
- handler,
601
- });
602
- }
603
585
  return (index.h("div", { class: { 'input-panel__tabs_container': true } }, index.h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
604
586
  }, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
605
587
  const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
@@ -818,16 +800,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
818
800
  }
819
801
  if (cellType === kupManager.FCellTypes.MULTI_AUTOCOMPLETE ||
820
802
  cellType === kupManager.FCellTypes.MULTI_COMBOBOX) {
821
- 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 });
803
+ 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 });
822
804
  }
823
805
  return null;
824
- }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell, id) {
825
- var _a, _b;
826
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
827
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
828
- cell.mandatory) {
829
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
830
- }
806
+ }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
831
807
  return kupManager.CHIAdapter(currentValue);
832
808
  }, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
833
809
  //TODO: definire mapping
@@ -853,47 +829,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
853
829
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
854
830
  }
855
831
  return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
856
- }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell, id) {
857
- var _a, _b;
832
+ }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
858
833
  const configCMandACP = kupManager.CMBandACPAdapter(currentValue, fieldLabel, []);
859
- if (cell.fun) {
860
- const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
861
- const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
862
- if (!evNames) {
863
- return;
864
- }
865
- evNames.map((evName) => {
866
- const handler = (e) => {
867
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
868
- };
869
- this.rootElement.addEventListener(evName, handler);
870
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
871
- event: evName,
872
- handler,
873
- });
874
- });
875
- }
876
- else if (rawOptions) {
834
+ if (rawOptions) {
877
835
  configCMandACP.data['kup-list'].data =
878
836
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
879
837
  }
880
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
881
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
882
- cell.mandatory) {
883
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
884
- }
885
838
  return configCMandACP;
886
- }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue, cell, id) {
887
- var _a, _b;
888
- let data = kupManager.CHKAdapter(currentValue, fieldLabel);
889
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
890
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
891
- cell.mandatory) {
892
- return Object.assign(Object.assign({}, data), { onBlur: () => {
893
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
894
- } });
839
+ }, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
840
+ const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
841
+ if (cell.fun) {
842
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
895
843
  }
896
- return data;
844
+ }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
845
+ return kupManager.CHKAdapter(currentValue, fieldLabel);
897
846
  }, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
898
847
  return {
899
848
  data: {
@@ -907,7 +856,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
907
856
  initialValue: currentValue,
908
857
  };
909
858
  }, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
910
- var _a, _b, _c;
859
+ var _a;
911
860
  const data = Object.assign({ label: fieldLabel }, cell.data);
912
861
  if (this.autoSkip &&
913
862
  (cell.isEditable || cell.editable) &&
@@ -916,34 +865,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
916
865
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
917
866
  };
918
867
  }
919
- if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
920
- ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
921
- cell.mandatory) {
922
- data.onBlur = () => {
923
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
924
- };
925
- }
926
- return data;
927
- }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
928
- var _a, _b;
929
- let data = kupManager.RADAdapter(currentValue, options);
930
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
931
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
932
- cell.mandatory) {
933
- return Object.assign(Object.assign({}, data), { onBlur: () => {
934
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
935
- } });
936
- }
937
868
  return data;
869
+ }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
870
+ return kupManager.RADAdapter(currentValue, options);
938
871
  }, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
939
872
  return kupManager.SWTAdapter(currentValue, fieldLabel);
940
- }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue, cell, id) {
941
- var _a, _b;
942
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
943
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
944
- cell.mandatory) {
945
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
946
- }
873
+ }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
947
874
  return {
948
875
  data: {
949
876
  'kup-text-field': {
@@ -952,32 +879,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
952
879
  },
953
880
  initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
954
881
  };
955
- }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue, cell, id) {
956
- var _a, _b;
957
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
958
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
959
- cell.mandatory) {
960
- return {
961
- initialValue: currentValue || '',
962
- label: fieldLabel || ' ',
963
- value: currentValue || '',
964
- onBlur: () => {
965
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
966
- },
967
- };
968
- }
882
+ }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
969
883
  return {
970
884
  initialValue: currentValue || '',
971
885
  label: fieldLabel || ' ',
972
886
  value: currentValue || '',
973
887
  };
974
- }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue, cell, id) {
975
- var _a, _b;
976
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
977
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
978
- cell.mandatory) {
979
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
980
- }
888
+ }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
981
889
  return {
982
890
  data: {
983
891
  'kup-text-field': {
@@ -986,18 +894,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
986
894
  },
987
895
  initialValue: currentValue,
988
896
  };
989
- }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue, cell, id) {
990
- var _a, _b;
991
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
992
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
993
- cell.mandatory) {
994
- return {
995
- label: fieldLabel,
996
- onBlur: () => {
997
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
998
- },
999
- };
1000
- }
897
+ }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
1001
898
  return { label: fieldLabel };
1002
899
  }, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
1003
900
  try {
@@ -1012,7 +909,17 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1012
909
  }
1013
910
  return {
1014
911
  data: {
1015
- columns: data.columns.map((col) => (Object.assign(Object.assign({}, col), { obj: data.rows[0].cells[col.name].obj }))),
912
+ columns: data.columns.map((col) => {
913
+ var _a;
914
+ if (data.rows.length > 0) {
915
+ const cellObj = (_a = data.rows[0].cells[col.name]) === null || _a === void 0 ? void 0 : _a.obj;
916
+ if (!col.obj && cellObj) {
917
+ return Object.assign(Object.assign({}, col), { obj: { t: cellObj.t, p: cellObj.p } });
918
+ }
919
+ return col;
920
+ }
921
+ return col;
922
+ }),
1016
923
  rows: data.rows.map((row) => (Object.assign(Object.assign({}, row), { cells: Object.keys(row.cells).reduce((cell, key) => {
1017
924
  const column = data.columns.find((col) => col.name === key);
1018
925
  return Object.assign(Object.assign({}, cell), { [key]: Object.assign(Object.assign({}, row.cells[key]), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, row.cells[key], column)), { disabled: row.cells[key].editable === false, id: column.id }) }) });
@@ -1103,44 +1010,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1103
1010
  }
1104
1011
  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 });
1105
1012
  return buttonCell;
1106
- }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, fun, data, id, currentValue) {
1107
- if (detail.id !== id ||
1108
- detail.open === false) {
1109
- return;
1110
- }
1111
- this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1013
+ }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
1014
+ this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1112
1015
  var _a;
1113
- data.data['kup-list'].data =
1114
- (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
1016
+ cell.data.data['kup-list'].data =
1017
+ (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
1115
1018
  detail.comp.refresh();
1116
1019
  });
1117
- }, _KupInputPanel_checkOnBlurProp = async function _KupInputPanel_checkOnBlurProp(cell, id) {
1020
+ }, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
1118
1021
  var _a, _b, _c, _d, _e;
1119
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1022
+ const { detail: { column, cell }, } = e;
1023
+ const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
1024
+ const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
1120
1025
  // Required cell check
1121
1026
  if (cell.mandatory) {
1122
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1123
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1027
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
1028
+ ? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1124
1029
  : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.REQUIRED_VALUE));
1125
- if (!currCell.value) {
1030
+ if (!cell.value) {
1126
1031
  return;
1127
1032
  }
1128
1033
  }
1129
1034
  else {
1130
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1035
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1131
1036
  }
1132
1037
  // Valid object check
1133
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && currCell.value) {
1038
+ if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
1134
1039
  const { valid } = await this.checkValidObjCallback({
1135
1040
  obj: cell.obj,
1136
1041
  currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1137
1042
  fun: cell.fun,
1138
1043
  });
1139
1044
  if (valid) {
1140
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1045
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1141
1046
  }
1142
1047
  else {
1143
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.INVALID_VALUE));
1048
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.INVALID_VALUE));
1144
1049
  return;
1145
1050
  }
1146
1051
  }
@@ -1148,58 +1053,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1148
1053
  this.checkValidValueCallback({
1149
1054
  before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1150
1055
  after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1151
- }, id);
1056
+ }, column.name);
1152
1057
  }
1153
- }, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
1154
- const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
1155
- if (!evName) {
1156
- return;
1157
- }
1158
- const handler = async (e) => {
1159
- var _a, _b, _c, _d, _e;
1160
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1161
- if (e.detail.id !== id) {
1162
- return;
1163
- }
1164
- // Required cell check
1165
- if (cell.mandatory) {
1166
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1167
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1168
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.REQUIRED_VALUE));
1169
- if (!e.detail.value) {
1170
- return;
1171
- }
1172
- }
1173
- else {
1174
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1175
- }
1176
- // Valid object check
1177
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
1178
- const { valid } = await this.checkValidObjCallback({
1179
- obj: cell.obj,
1180
- currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1181
- fun: cell.fun,
1182
- });
1183
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
1184
- ? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
1185
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.INVALID_VALUE));
1186
- if (!valid) {
1187
- return;
1188
- }
1189
- }
1190
- if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
1191
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
1192
- this.checkValidValueCallback({
1193
- before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1194
- after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1195
- }, id);
1196
- }
1197
- };
1198
- this.rootElement.addEventListener(evName, handler);
1199
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
1200
- event: evName,
1201
- handler,
1202
- });
1203
1058
  }, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
1204
1059
  this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
1205
1060
  const data = column.name === id
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-e8aa3c73.js');
6
- const kupManager = require('./kup-manager-4e75f704.js');
6
+ const kupManager = require('./kup-manager-f5ccf3d0.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-4d316ab3.js');
9
9
  const GenericVariables = require('./GenericVariables-1d52ba57.js');