@sme.up/ketchup 9.6.3 → 9.6.4

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 (211) hide show
  1. package/dist/cjs/{f-button-9a0eba42.js → f-button-89de2403.js} +1 -1
  2. package/dist/cjs/{f-cell-1ad41071.js → f-cell-75dbd6eb.js} +9 -29
  3. package/dist/cjs/{f-chip-48851b4f.js → f-chip-08857345.js} +2 -2
  4. package/dist/cjs/{f-image-541e5f4d.js → f-image-a41d7f1e.js} +1 -1
  5. package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-ff07301e.js} +3 -3
  6. package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-eb207a83.js} +1 -1
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/ketchup.cjs.js +1 -1
  9. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +47 -47
  11. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  12. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  13. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  14. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
  16. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  17. package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
  18. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  19. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +21 -21
  23. package/dist/cjs/kup-grid.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-image-list.cjs.entry.js +7 -7
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +298 -0
  27. package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
  29. package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-abfe4ddd.js} +9 -1
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
  32. package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  34. package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-9f776d6e.js} +1 -1
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
  36. package/dist/cjs/kup-planner.cjs.entry.js +4 -4
  37. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  38. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  40. package/dist/cjs/loader.cjs.js +1 -1
  41. package/dist/collection/assets/index.js +8 -0
  42. package/dist/collection/assets/input-panel.js +249 -0
  43. package/dist/collection/assets/pdf.js +15 -0
  44. package/dist/collection/collection-manifest.json +2 -0
  45. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
  46. package/dist/collection/components/kup-input-panel/kup-input-panel.css +132 -0
  47. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +305 -0
  48. package/dist/collection/components/kup-input-panel/kup-input-panel.js +522 -0
  49. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  50. package/dist/collection/components/kup-list/kup-list.js +1 -1
  51. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  52. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  53. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  54. package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
  55. package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
  56. package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
  57. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  58. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  59. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  60. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
  61. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +1 -1
  62. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  63. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
  64. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +2 -2
  65. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
  66. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  67. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  68. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  69. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  70. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  71. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  72. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  73. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  74. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  75. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  76. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  77. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  78. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  79. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  80. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  81. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  82. package/dist/collection/f-components/f-cell/f-cell.js +5 -24
  83. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
  84. package/dist/collection/types/GenericTypes.js +1 -0
  85. package/dist/components/custom-task-list-header.js +2 -2
  86. package/dist/components/custom-task-list-table.js +1 -1
  87. package/dist/components/kup-autocomplete2.js +44 -64
  88. package/dist/components/kup-box2.js +1 -1
  89. package/dist/components/kup-calendar.js +1 -1
  90. package/dist/components/kup-cell.js +1 -1
  91. package/dist/components/kup-dashboard.js +1 -1
  92. package/dist/components/kup-dates.js +20 -1
  93. package/dist/components/kup-echart2.js +1 -1
  94. package/dist/components/kup-gantt-calendar2.js +1 -1
  95. package/dist/components/kup-gantt2.js +1 -1
  96. package/dist/components/kup-grid-renderer2.js +2 -2
  97. package/dist/components/kup-grid2.js +1 -1
  98. package/dist/components/kup-horizontal-scroll2.js +2 -2
  99. package/dist/components/kup-iframe.js +1 -1
  100. package/dist/components/kup-image-list.js +1 -1
  101. package/dist/components/kup-input-panel.d.ts +11 -0
  102. package/dist/components/kup-input-panel.js +449 -0
  103. package/dist/components/kup-lazy.js +11 -11
  104. package/dist/components/kup-magic-box.js +4 -4
  105. package/dist/components/kup-manager.js +9 -1
  106. package/dist/components/kup-nav-bar.js +1 -1
  107. package/dist/components/kup-numeric-picker.js +2 -2
  108. package/dist/components/kup-pdf.d.ts +11 -0
  109. package/dist/components/kup-pdf.js +76756 -0
  110. package/dist/components/kup-photo-frame.js +2 -2
  111. package/dist/components/kup-planner-renderer2.js +1 -1
  112. package/dist/components/kup-planner.js +1 -1
  113. package/dist/components/kup-probe.js +1 -1
  114. package/dist/components/kup-qlik.js +1 -1
  115. package/dist/components/kup-snackbar.js +1 -1
  116. package/dist/components/kup-standard-tooltip2.js +1 -1
  117. package/dist/components/kup-switcher2.js +1 -1
  118. package/dist/components/kup-task-gantt2.js +2 -2
  119. package/dist/components/kup-task-list-header2.js +7 -7
  120. package/dist/components/kup-task-list-table2.js +1 -1
  121. package/dist/components/kup-task-list2.js +1 -1
  122. package/dist/components/kup-tooltip2.js +1 -1
  123. package/dist/components/kup-vertical-scroll2.js +2 -2
  124. package/dist/esm/{f-button-45d690a5.js → f-button-1eebd42e.js} +1 -1
  125. package/dist/esm/{f-cell-63db06db.js → f-cell-af19d5c7.js} +9 -29
  126. package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-9e5fdb25.js} +2 -2
  127. package/dist/esm/{f-image-8b382cc5.js → f-image-1e1ed567.js} +1 -1
  128. package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-dede029b.js} +3 -3
  129. package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-802b45fb.js} +1 -1
  130. package/dist/esm/index.js +2 -2
  131. package/dist/esm/ketchup.js +1 -1
  132. package/dist/esm/kup-accordion.entry.js +3 -3
  133. package/dist/esm/kup-autocomplete_27.entry.js +47 -47
  134. package/dist/esm/kup-box.entry.js +8 -8
  135. package/dist/esm/kup-calendar.entry.js +5 -5
  136. package/dist/esm/kup-card-list.entry.js +2 -2
  137. package/dist/esm/kup-cell.entry.js +7 -7
  138. package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
  139. package/dist/esm/kup-dashboard.entry.js +5 -5
  140. package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
  141. package/dist/esm/kup-drawer.entry.js +2 -2
  142. package/dist/esm/kup-echart.entry.js +2 -2
  143. package/dist/esm/kup-editor.entry.js +2 -2
  144. package/dist/esm/kup-family-tree.entry.js +4 -4
  145. package/dist/esm/kup-gantt_10.entry.js +21 -21
  146. package/dist/esm/kup-grid.entry.js +2 -2
  147. package/dist/esm/kup-iframe.entry.js +2 -2
  148. package/dist/esm/kup-image-list.entry.js +7 -7
  149. package/dist/esm/kup-input-panel.entry.js +294 -0
  150. package/dist/esm/kup-lazy.entry.js +13 -13
  151. package/dist/esm/kup-magic-box.entry.js +6 -6
  152. package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-dd24fb5a.js} +9 -1
  153. package/dist/esm/kup-nav-bar.entry.js +3 -3
  154. package/dist/esm/kup-numeric-picker.entry.js +4 -4
  155. package/dist/esm/kup-pdf.entry.js +76596 -0
  156. package/dist/esm/kup-photo-frame.entry.js +4 -4
  157. package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-b4727e44.js} +1 -1
  158. package/dist/esm/kup-planner-renderer.entry.js +3 -3
  159. package/dist/esm/kup-planner.entry.js +4 -4
  160. package/dist/esm/kup-probe.entry.js +3 -3
  161. package/dist/esm/kup-qlik.entry.js +3 -3
  162. package/dist/esm/kup-snackbar.entry.js +5 -5
  163. package/dist/esm/loader.js +1 -1
  164. package/dist/ketchup/index.esm.js +1 -1
  165. package/dist/ketchup/ketchup.esm.js +1 -1
  166. package/dist/ketchup/p-14943de9.entry.js +1 -0
  167. package/dist/ketchup/{p-c6b34763.entry.js → p-158076de.entry.js} +1 -1
  168. package/dist/ketchup/{p-670354ef.entry.js → p-180cd7ab.entry.js} +1 -1
  169. package/dist/ketchup/{p-b6a21b6a.entry.js → p-19a13672.entry.js} +1 -1
  170. package/dist/ketchup/{p-d9284d98.entry.js → p-201f8d7b.entry.js} +1 -1
  171. package/dist/ketchup/{p-41e8402e.entry.js → p-26d42b88.entry.js} +1 -1
  172. package/dist/ketchup/{p-590c34bc.js → p-2d4a9235.js} +1 -1
  173. package/dist/ketchup/{p-090e5097.entry.js → p-2e04042b.entry.js} +1 -1
  174. package/dist/ketchup/{p-e508b2fd.entry.js → p-34d70475.entry.js} +1 -1
  175. package/dist/ketchup/{p-e0a1fbe7.entry.js → p-3b544027.entry.js} +1 -1
  176. package/dist/ketchup/{p-4c100286.entry.js → p-43ce397b.entry.js} +1 -1
  177. package/dist/ketchup/{p-31c0cfc0.entry.js → p-489af77f.entry.js} +1 -1
  178. package/dist/ketchup/{p-ca8a1f53.entry.js → p-4f69f6f9.entry.js} +1 -1
  179. package/dist/ketchup/{p-ba0f28b7.js → p-61e8d573.js} +1 -1
  180. package/dist/ketchup/{p-ca42a421.entry.js → p-636be6f1.entry.js} +2 -2
  181. package/dist/ketchup/{p-ec4050e1.entry.js → p-63c141d9.entry.js} +1 -1
  182. package/dist/ketchup/{p-4dfc5927.entry.js → p-6972fa0c.entry.js} +1 -1
  183. package/dist/ketchup/{p-a5074ce4.js → p-6c888179.js} +1 -1
  184. package/dist/ketchup/{p-1474852d.entry.js → p-79f4dc5b.entry.js} +1 -1
  185. package/dist/ketchup/{p-2b40d9b9.entry.js → p-818e61d5.entry.js} +1 -1
  186. package/dist/ketchup/{p-9a856951.js → p-8229b97a.js} +1 -1
  187. package/dist/ketchup/p-8f3d400a.entry.js +44 -0
  188. package/dist/ketchup/{p-bedabdb5.js → p-8fcdf454.js} +1 -1
  189. package/dist/ketchup/{p-ad6a3c2a.entry.js → p-a2e14d8b.entry.js} +1 -1
  190. package/dist/ketchup/{p-d839ce21.entry.js → p-a2e691b8.entry.js} +2 -2
  191. package/dist/ketchup/p-a46f99d4.js +1 -0
  192. package/dist/ketchup/{p-1cd48eea.entry.js → p-b238cde7.entry.js} +1 -1
  193. package/dist/ketchup/{p-837bd0a6.entry.js → p-b3b50bb5.entry.js} +1 -1
  194. package/dist/ketchup/{p-d50515f7.js → p-c0f660d6.js} +1 -1
  195. package/dist/ketchup/{p-157f0e89.entry.js → p-cd7fec02.entry.js} +1 -1
  196. package/dist/ketchup/{p-cbe42afd.entry.js → p-dcf7e9b6.entry.js} +1 -1
  197. package/dist/ketchup/{p-e0c10de2.entry.js → p-e0e47ca9.entry.js} +1 -1
  198. package/dist/ketchup/{p-9852b1e9.js → p-e4c63684.js} +1 -1
  199. package/dist/ketchup/{p-cc7352a8.entry.js → p-e7507dd6.entry.js} +1 -1
  200. package/dist/ketchup/p-eb8ea3a6.js +1 -0
  201. package/dist/ketchup/{p-d608f866.entry.js → p-f998ff28.entry.js} +1 -1
  202. package/dist/ketchup/{p-21351b19.entry.js → p-f9a7c21c.entry.js} +1 -1
  203. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +79 -0
  204. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
  205. package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
  206. package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
  207. package/dist/types/components.d.ts +158 -0
  208. package/dist/types/types/GenericTypes.d.ts +1 -0
  209. package/package.json +2 -1
  210. package/dist/ketchup/p-5c79cb74.js +0 -1
  211. package/dist/ketchup/p-935f58fc.js +0 -1
@@ -0,0 +1,298 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-958d0399.js');
6
+ const kupManager = require('./kup-manager-abfe4ddd.js');
7
+ const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
+ const fButton = require('./f-button-89de2403.js');
9
+ const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
10
+ const fCell = require('./f-cell-75dbd6eb.js');
11
+ require('./kup-dates-e22ee32c.js');
12
+ require('./f-button-declarations-51ef6d9a.js');
13
+ require('./f-image-a41d7f1e.js');
14
+ require('./component-cb3b32f5.js');
15
+ require('./f-checkbox-1fa28e76.js');
16
+ require('./f-text-field-eb207a83.js');
17
+ require('./f-chip-08857345.js');
18
+
19
+ var KupInputPanelProps;
20
+ (function (KupInputPanelProps) {
21
+ KupInputPanelProps["customStyle"] = "Custom style of the component.";
22
+ KupInputPanelProps["data"] = "Actual data of the input panel.";
23
+ KupInputPanelProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
24
+ KupInputPanelProps["submitCb"] = "Sets the callback function on submit form";
25
+ KupInputPanelProps["valueChangeCb"] = "Sets the callback function on value change event";
26
+ })(KupInputPanelProps || (KupInputPanelProps = {}));
27
+
28
+ const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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}.input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}";
29
+ const KupInputPanelStyle0 = kupInputPanelCss;
30
+
31
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
32
+ if (kind === "a" && !f)
33
+ throw new TypeError("Private accessor was defined without a getter");
34
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
35
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
36
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
37
+ };
38
+ var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_mapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter;
39
+ const dom = document.documentElement;
40
+ const KupInputPanel = class {
41
+ constructor(hostRef) {
42
+ index.registerInstance(this, hostRef);
43
+ this.kupReady = index.createEvent(this, "kup-input-panel-ready", 6);
44
+ _KupInputPanel_instances.add(this);
45
+ //#endregion
46
+ //#region VARIABLES
47
+ /*-------------------------------------------------*/
48
+ /* I n t e r n a l V a r i a b l e s */
49
+ /*-------------------------------------------------*/
50
+ _KupInputPanel_kupManager.set(this, kupManager.kupManagerInstance());
51
+ this.customStyle = '';
52
+ this.data = null;
53
+ this.hiddenSubmitButton = false;
54
+ this.submitCb = null;
55
+ this.handleEventsCallbacks = [];
56
+ this.inputPanelCells = [];
57
+ }
58
+ //#endregion
59
+ //#region WATCHERS
60
+ /*-------------------------------------------------*/
61
+ /* W a t c h e r s */
62
+ /*-------------------------------------------------*/
63
+ onDataChanged() {
64
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
65
+ }
66
+ //#endregion
67
+ //#region PUBLIC METHODS
68
+ /*-------------------------------------------------*/
69
+ /* P u b l i c M e t h o d s */
70
+ /*-------------------------------------------------*/
71
+ /**
72
+ * Used to retrieve component's props values.
73
+ * @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
74
+ * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
75
+ */
76
+ async getProps(descriptions) {
77
+ return kupManager.getProps(this, KupInputPanelProps, descriptions);
78
+ }
79
+ /**
80
+ * This method is used to trigger a new render of the component.
81
+ */
82
+ async refresh() {
83
+ index.forceUpdate(this);
84
+ }
85
+ /**
86
+ * Sets the props to the component.
87
+ * @param {GenericObject} props - Object containing props that will be set to the component.
88
+ */
89
+ async setProps(props) {
90
+ kupManager.setProps(this, KupInputPanelProps, props);
91
+ }
92
+ //#endregion
93
+ //#region LIFECYCLE HOOKS
94
+ /*-------------------------------------------------*/
95
+ /* L i f e c y c l e H o o k s */
96
+ /*-------------------------------------------------*/
97
+ componentWillLoad() {
98
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, false);
99
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.register(this);
100
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.register(this);
101
+ this.onDataChanged();
102
+ }
103
+ componentDidLoad() {
104
+ this.kupReady.emit({ comp: this, id: this.rootElement.id });
105
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, true);
106
+ this.handleEventsCallbacks.map((cbData) => {
107
+ this.rootElement.addEventListener(cbData.eventName, (e) => {
108
+ const inputPanelEvent = {
109
+ state: this.inputPanelCells.find((data) => data.cells.find((cell) => cell.column.name === e.detail.id)).cells,
110
+ data: {
111
+ field: e.detail.id,
112
+ value: e.detail.inputValue || e.detail.value,
113
+ },
114
+ };
115
+ cbData.eventCallback(inputPanelEvent);
116
+ });
117
+ });
118
+ }
119
+ componentWillRender() {
120
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, false);
121
+ }
122
+ componentDidRender() {
123
+ const root = this.rootElement.shadowRoot;
124
+ if (root) {
125
+ const fs = root.querySelectorAll('.f-text-field');
126
+ for (let index = 0; index < fs.length; index++) {
127
+ fTextFieldMdc.FTextFieldMDC(fs[index]);
128
+ }
129
+ }
130
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, true);
131
+ }
132
+ render() {
133
+ const isEmptyData = Boolean(!this.inputPanelCells.length);
134
+ const inputPanelContent = isEmptyData
135
+ ? [
136
+ index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
137
+ ]
138
+ : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
139
+ return (index.h(index.Host, { key: '47b1cbfae920b48873c3c5c5629ed1d9f4ac7290' }, index.h("style", { key: 'd48cfa1e1f470e9b991745ef30ebc236c6399b98' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '257d3d98795b32e59abee2c5aa8be341880f37be', id: GenericVariables.componentWrapperId }, inputPanelContent)));
140
+ }
141
+ disconnectedCallback() {
142
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
143
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.unregister(this);
144
+ }
145
+ get rootElement() { return index.getElement(this); }
146
+ static get watchers() { return {
147
+ "data": ["onDataChanged"]
148
+ }; }
149
+ };
150
+ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
151
+ var _a;
152
+ // todo layout
153
+ const horizontal = ((_a = inputPanelCell.row.layout) === null || _a === void 0 ? void 0 : _a.horizontal) || false;
154
+ const rowContent = inputPanelCell.cells.map((cell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, cell.cell, inputPanelCell.row, cell.column));
155
+ const classObj = {
156
+ form: true,
157
+ 'input-panel': true,
158
+ 'form--column': !horizontal,
159
+ };
160
+ // We create a form for each row in data
161
+ return (index.h("form", { class: classObj, name: this.rootElement.id, onSubmit: this.submitCb }, rowContent, this.hiddenSubmitButton ? (index.h(fButton.FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit" })) : null));
162
+ }, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
163
+ const cellProps = {
164
+ cell,
165
+ column,
166
+ row,
167
+ component: this,
168
+ editable: cell.isEditable,
169
+ renderKup: true,
170
+ setSizes: true,
171
+ };
172
+ return index.h(fCell.FCell, Object.assign({}, cellProps));
173
+ }, _KupInputPanel_mapCells = function _KupInputPanel_mapCells(data) {
174
+ var _a;
175
+ const inpuPanelCells = ((_a = data === null || data === void 0 ? void 0 : data.rows) === null || _a === void 0 ? void 0 : _a.length)
176
+ ? data.rows.reduce((inpuPanelCells, row) => {
177
+ const cells = data.columns
178
+ .filter((column) => column.visible)
179
+ .map((column) => {
180
+ const cell = row.cells[column.name];
181
+ const mappedCell = Object.assign(Object.assign({}, cell), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column)), { id: column.name }), slotData: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_slotData).call(this, cell, column), isEditable: cell.editable });
182
+ return { column, cell: mappedCell };
183
+ });
184
+ return [...inpuPanelCells, { cells, row }];
185
+ }, [])
186
+ : [];
187
+ this.inputPanelCells = inpuPanelCells;
188
+ }, _KupInputPanel_mapData = function _KupInputPanel_mapData(cell, col) {
189
+ const options = cell.options;
190
+ const fieldLabel = col.title;
191
+ const currentValue = cell.value;
192
+ const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
193
+ const dataAdapterMap = new Map([
194
+ [kupManager.FCellTypes.AUTOCOMPLETE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
195
+ [kupManager.FCellTypes.BUTTON_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter)],
196
+ [kupManager.FCellTypes.CHART, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_GRAAdapter)],
197
+ [kupManager.FCellTypes.CHIP, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHIAdapter)],
198
+ [kupManager.FCellTypes.CHECKBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHKAdapter)],
199
+ [kupManager.FCellTypes.COLOR_PICKER, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CLPAdapter)],
200
+ [kupManager.FCellTypes.COMBOBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
201
+ [kupManager.FCellTypes.RADIO, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_RADAdapter)],
202
+ [kupManager.FCellTypes.STRING, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ITXAdapter)],
203
+ ]);
204
+ const adapter = dataAdapterMap.get(cellType);
205
+ return adapter ? adapter(options, fieldLabel, currentValue) : null;
206
+ }, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
207
+ const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
208
+ if (cellType !== kupManager.FCellTypes.CHIP &&
209
+ cellType !== kupManager.FCellTypes.MULTI_AUTOCOMPLETE &&
210
+ cellType !== kupManager.FCellTypes.MULTI_COMBOBOX &&
211
+ !cell.editable) {
212
+ return null;
213
+ }
214
+ return {
215
+ trailingIcon: true,
216
+ label: col.title,
217
+ };
218
+ }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(options, _fieldLabel, currentValue) {
219
+ return {
220
+ data: (options === null || options === void 0 ? void 0 : options.length)
221
+ ? options.map((option) => ({
222
+ value: option.label,
223
+ id: option.id,
224
+ selected: currentValue === option.id,
225
+ }))
226
+ : [{ id: currentValue, value: currentValue }],
227
+ };
228
+ }, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
229
+ //TODO: definire mapping
230
+ return {
231
+ data: {
232
+ sizeX: '50px',
233
+ offlineMode: {
234
+ value: '8;4;5',
235
+ },
236
+ id: 'i1012_GREF_0',
237
+ cellId: 'i1012_GREF_0',
238
+ sizeY: '50px',
239
+ },
240
+ };
241
+ }, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue) {
242
+ //TODO: come gestire i button list dal protocollo?
243
+ return {
244
+ data: [
245
+ {
246
+ data: { dropdownOnly: false, label: 'Pier' },
247
+ },
248
+ { data: { dropdownOnly: false, label: 'Valerio' } },
249
+ ],
250
+ };
251
+ }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(options, fieldLabel, currentValue) {
252
+ return {
253
+ data: {
254
+ 'kup-text-field': {
255
+ trailingIcon: true,
256
+ label: fieldLabel,
257
+ icon: 'arrow_drop_down',
258
+ },
259
+ 'kup-list': {
260
+ showIcons: true,
261
+ data: (options === null || options === void 0 ? void 0 : options.length)
262
+ ? options.map((option) => ({
263
+ value: option.label,
264
+ id: option.id,
265
+ selected: currentValue === option.id,
266
+ }))
267
+ : [],
268
+ },
269
+ },
270
+ label: fieldLabel,
271
+ };
272
+ }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
273
+ return {
274
+ checked: currentValue === 'on' || currentValue === '1',
275
+ label: fieldLabel,
276
+ };
277
+ }, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
278
+ return {
279
+ data: {
280
+ 'kup-text-field': {
281
+ label: fieldLabel,
282
+ },
283
+ },
284
+ };
285
+ }, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue) {
286
+ return { label: fieldLabel };
287
+ }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
288
+ return {
289
+ data: options.map((option) => ({
290
+ value: option.id,
291
+ label: option.label,
292
+ checked: option.id === currentValue,
293
+ })),
294
+ };
295
+ };
296
+ KupInputPanel.style = KupInputPanelStyle0;
297
+
298
+ exports.kup_input_panel = KupInputPanel;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-26a9154b.js');
6
+ const kupManager = require('./kup-manager-abfe4ddd.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
- require('./kup-dates-b7d53b4d.js');
8
+ require('./kup-dates-e22ee32c.js');
9
9
 
10
10
  /**
11
11
  * Props of the kup-lazy component.
@@ -138,39 +138,39 @@ const KupLazy = class {
138
138
  switch (this.componentName) {
139
139
  case 'kup-button':
140
140
  //call_to_action.svg
141
- resource = (index.h("svg", { key: '443fa9b66f9c77621cb7a377eb920bc60c59bde9', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '89cf45ecbcd72a193b5a34c767870de6c29c12ca', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
141
+ resource = (index.h("svg", { key: 'bca5daf712b40d11abe4f3b1856385844642acf1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'ab212455b45b78bf981309de350b4b3619a288e9', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
142
142
  break;
143
143
  case 'kup-card':
144
144
  //art_track.svg
145
- resource = (index.h("svg", { key: 'dd9f6feeb37d8a9e35e7666bad5a01891f35379d', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '63a2e64edf16b4536a0229ea2a8bcc61b5edfd34', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
145
+ resource = (index.h("svg", { key: '1e266ffe7b2568dc6caa45592e86b73c7683cc16', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '14a4eb6f9c5b6772cd26ec29aef7b470e0fe6574', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
146
146
  break;
147
147
  case 'kup-checkbox':
148
148
  //check_box_outline_blank.svg
149
- resource = (index.h("svg", { key: '974137d7bdc5d82995437999b798c5b559a4dcbf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'a74fe51dc66ed1f8780d52d99424f53cd6357877', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
149
+ resource = (index.h("svg", { key: 'd553613ffa5ee60014a4e89cf8e62ace3384f3a4', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'bf5a69068bc1f2142a0d4b451cf3cdceb16d7963', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
150
150
  break;
151
151
  case 'kup-chart':
152
152
  //chart-bar.svg
153
- resource = (index.h("svg", { key: '721b36d96e2b04b83a81cf90f3cf687983ab2cec', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '58b44e235faeec04c16fd483e06f2319d06c0d46', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
153
+ resource = (index.h("svg", { key: '51f3129e31571f6e7a8faf293a6f3e35ba7524e0', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '19085e9d52b14637127c1bafdb37beb5349d2300', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
154
154
  break;
155
155
  case 'kup-data-table':
156
156
  //table-large.svg
157
- resource = (index.h("svg", { key: 'f3afac4818e7716418876a9aa31fccef8ec01065', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '5f65fcb7cfe13a5ceb622277c0254ea5fc10cbfd', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
157
+ resource = (index.h("svg", { key: 'f7f187befb900356e7e589b3d169adff21791e35', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '4a53ed7568274a78be593b5ce8cd412747313725', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
158
158
  break;
159
159
  case 'kup-image':
160
160
  //photo.svg
161
- resource = (index.h("svg", { key: '9ef1ec66b4d9f1bfb857050c7675bc603a6e3c28', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'b7af93b41b90594b3796845fcdbfef1b58da2e9f', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
161
+ resource = (index.h("svg", { key: '587c27f674e8c3f153c9ed047ed605301a477621', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'e76e9b0410e3375d8d981396fdacc2f2c44dadf1', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
162
162
  break;
163
163
  case 'kup-progress-bar':
164
164
  //linear_scale.svg
165
- resource = (index.h("svg", { key: '927e099e9635eaa351c215038215b16c482cbb4e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '19b0203ffa92bef2fccfab60d1d371991f27e9fe', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
165
+ resource = (index.h("svg", { key: 'c7e82a2c18827a874acd6b8fe2dbcb4009ab3807', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '291ca07cfeced3bbbc92cb5ae7ac69375b640e22', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
166
166
  break;
167
167
  case 'kup-radio':
168
168
  //radio_button_unchecked.svg
169
- resource = (index.h("svg", { key: '54722f3674a50a06b25d6b522b3e6c16f17bc38f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '4072725741e4e13718719a58a04e7b38d970474c', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
169
+ resource = (index.h("svg", { key: 'd2f81e158dc86c4ef74ad7628ac376f7e0eacbe2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'fc4ec71ff460760866b3ad99db0d8cb9b8e3cd3b', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
170
170
  break;
171
171
  default:
172
172
  //art_track.svg
173
- resource = (index.h("svg", { key: '6f01bf46027c471e23977744437b772389f11373', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'a06e38a7b791a7bbbfdfa214410118c354db1bba', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
173
+ resource = (index.h("svg", { key: '8da82bcc100ef628d5f4bab0a8d28c06841270ca', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'f95db9cad4ee1973048e1a121cf84a8b0ecbce99', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
174
174
  break;
175
175
  }
176
176
  if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
@@ -179,14 +179,14 @@ const KupLazy = class {
179
179
  this.data &&
180
180
  this.isInViewport)) {
181
181
  let Tag = this.componentName;
182
- content = (index.h(Tag, Object.assign({ key: 'b11a009ad63262e8fd26d8e672fecb829b89d190' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
182
+ content = (index.h(Tag, Object.assign({ key: 'af0853700b7bbfdcfd01f500fe303816264b387f' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
183
183
  className += ' kup-loaded';
184
184
  }
185
185
  else if (this.showPlaceholder) {
186
186
  content = resource;
187
187
  className += ' kup-to-be-loaded';
188
188
  }
189
- return (index.h(index.Host, { key: 'c7c2773d030703d7034705075df18657481ecbe6', class: className }, index.h("style", { key: 'b83be89f8a9f9b394dba345e6b764361e890c8ed' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '262125d048ac9f2d99c2f6a3ccb99f8286a35e99', id: GenericVariables.componentWrapperId }, content)));
189
+ return (index.h(index.Host, { key: '66562d25373ef498b4b82bc654752c894051ce6b', class: className }, index.h("style", { key: '7b314d53110ba9310ee1717f3b026da85e95e04d' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '4e72e07e2acb78b1db0e0a69c8a3424ff14731ff', id: GenericVariables.componentWrapperId }, content)));
190
190
  }
191
191
  disconnectedCallback() {
192
192
  var _a;
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-26a9154b.js');
6
+ const kupManager = require('./kup-manager-abfe4ddd.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-51ef6d9a.js');
8
- const fImage = require('./f-image-541e5f4d.js');
8
+ const fImage = require('./f-image-a41d7f1e.js');
9
9
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
10
- require('./kup-dates-b7d53b4d.js');
10
+ require('./kup-dates-e22ee32c.js');
11
11
 
12
12
  /**
13
13
  * Props of the kup-magic-box component.
@@ -291,11 +291,11 @@ const KupMagicBox = class {
291
291
  this.kupManager.debug.logRender(this, true);
292
292
  }
293
293
  render() {
294
- return (index.h(index.Host, { key: '79c487291987eeaa0dfd3127cd93e11bdd51a048' }, index.h("style", { key: '88d77f9029cbe5e112c41fad1e1a7c4fefdc06ef' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '59cbf333a260e3c2455c69d9717d088019a7ca53', id: GenericVariables.componentWrapperId }, index.h("div", { key: 'e1a68e91de25ca426c7d029219fdaf98865c2a9f', class: "magic-box-wrapper" }, index.h("div", { key: '1db871607d685738ce9eb4ea99c7807aa0918a25', class: "actions", id: "drag-handle" }, index.h("kup-combobox", Object.assign({ key: '01e46100ea2c370e0079358921e8fa338434ff6e' }, this.comboboxProps())), index.h("kup-button", { key: '0ab7767d552bf4119db2ac2f5f69f574027eeebd', styling: fButtonDeclarations.FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
294
+ return (index.h(index.Host, { key: '212f73b08fa30db6822a33f61dd8d10fe5e0ae5c' }, index.h("style", { key: 'bd8dfa094092c2b010867f98d595320d59e120e8' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '29d97585aa1a3d0c8680912289153337c2c2a23c', id: GenericVariables.componentWrapperId }, index.h("div", { key: 'fc73991d493f68a37690b4b9d8dbc45ff15e9c1a', class: "magic-box-wrapper" }, index.h("div", { key: '7f27dcf3a8916ea1007a263cff3a1b835ce39612', class: "actions", id: "drag-handle" }, index.h("kup-combobox", Object.assign({ key: '2f7303dd205ad6411c73e5ec5809632b12d134ca' }, this.comboboxProps())), index.h("kup-button", { key: 'ef696124673192ca35f7b71138f061c6e09a3f70', styling: fButtonDeclarations.FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
295
295
  this.data = null;
296
- } }), index.h("kup-button", { key: '26267a6c3e19b15725feda21eed43d9db3f2ddc4', id: "close-dialog", customStyle: `:host{${kupManager.KupThemeColorValues.PRIMARY}: var(${kupManager.KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
296
+ } }), index.h("kup-button", { key: '09d63727c8500844e614606d5417f350cb2aebed', id: "close-dialog", customStyle: `:host{${kupManager.KupThemeColorValues.PRIMARY}: var(${kupManager.KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
297
297
  this.kupManager.hideMagicBox();
298
- } })), index.h("div", { key: 'd5ec68498c68b205ce2c7247cd19e01b6a283230', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
298
+ } })), index.h("div", { key: 'aaa1d0f9e81041dfa3669bcb1222b937760c49aa', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
299
299
  }
300
300
  disconnectedCallback() {
301
301
  this.kupManager.interact.unregister([
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const kupDates = require('./kup-dates-b7d53b4d.js');
3
+ const kupDates = require('./kup-dates-e22ee32c.js');
4
4
  const index = require('./index-958d0399.js');
5
5
 
6
6
  /**
@@ -5135,6 +5135,7 @@ exports.KupTagNames = void 0;
5135
5135
  KupTagNames["IFRAME"] = "KUP-IFRAME";
5136
5136
  KupTagNames["IMAGE"] = "KUP-IMAGE";
5137
5137
  KupTagNames["IMAGE_LIST"] = "KUP-IMAGE-LIST";
5138
+ KupTagNames["INPUT_PANEL"] = "KUP-INPUT-PANEL";
5138
5139
  KupTagNames["LAZY"] = "KUP-LAZY";
5139
5140
  KupTagNames["LIST"] = "KUP-LIST";
5140
5141
  KupTagNames["MAGIC_BOX"] = "KUP-MAGIC-BOX";
@@ -5174,6 +5175,7 @@ const fButtonUsers = [
5174
5175
  exports.KupTagNames.DROPDOWN_BUTTON,
5175
5176
  exports.KupTagNames.FAMILY_TREE,
5176
5177
  exports.KupTagNames.FORM,
5178
+ exports.KupTagNames.INPUT_PANEL,
5177
5179
  exports.KupTagNames.IMAGE_LIST,
5178
5180
  exports.KupTagNames.SNACKBAR,
5179
5181
  ];
@@ -5186,6 +5188,7 @@ const fCellUsers = [
5186
5188
  exports.KupTagNames.CELL,
5187
5189
  exports.KupTagNames.DATA_TABLE,
5188
5190
  exports.KupTagNames.FORM,
5191
+ exports.KupTagNames.INPUT_PANEL,
5189
5192
  exports.KupTagNames.TREE,
5190
5193
  ];
5191
5194
  /**
@@ -5198,6 +5201,7 @@ const fCheckboxUsers = [
5198
5201
  exports.KupTagNames.DASHBOARD,
5199
5202
  exports.KupTagNames.DATA_TABLE,
5200
5203
  exports.KupTagNames.FORM,
5204
+ exports.KupTagNames.INPUT_PANEL,
5201
5205
  exports.KupTagNames.LIST,
5202
5206
  exports.KupTagNames.TREE,
5203
5207
  ];
@@ -5211,6 +5215,7 @@ const fChipUsers = [
5211
5215
  exports.KupTagNames.CHIP,
5212
5216
  exports.KupTagNames.DATA_TABLE,
5213
5217
  exports.KupTagNames.FORM,
5218
+ exports.KupTagNames.INPUT_PANEL,
5214
5219
  exports.KupTagNames.TREE,
5215
5220
  ];
5216
5221
  /**
@@ -5263,6 +5268,7 @@ const fRadioUsers = [
5263
5268
  exports.KupTagNames.CELL,
5264
5269
  exports.KupTagNames.DATA_TABLE,
5265
5270
  exports.KupTagNames.FORM,
5271
+ exports.KupTagNames.INPUT_PANEL,
5266
5272
  exports.KupTagNames.RADIO,
5267
5273
  exports.KupTagNames.TREE,
5268
5274
  ];
@@ -5285,6 +5291,7 @@ const fSwitchUsers = [
5285
5291
  exports.KupTagNames.CELL,
5286
5292
  exports.KupTagNames.DATA_TABLE,
5287
5293
  exports.KupTagNames.FORM,
5294
+ exports.KupTagNames.INPUT_PANEL,
5288
5295
  exports.KupTagNames.SWITCH,
5289
5296
  exports.KupTagNames.TREE,
5290
5297
  ];
@@ -5301,6 +5308,7 @@ const fTextFieldUsers = [
5301
5308
  exports.KupTagNames.DATA_TABLE,
5302
5309
  exports.KupTagNames.DATE_PICKER,
5303
5310
  exports.KupTagNames.FORM,
5311
+ exports.KupTagNames.INPUT_PANEL,
5304
5312
  exports.KupTagNames.NUMERIC_PICKER,
5305
5313
  exports.KupTagNames.PLANNER,
5306
5314
  exports.KupTagNames.TEXT_FIELD,
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-26a9154b.js');
6
+ const kupManager = require('./kup-manager-abfe4ddd.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
- require('./kup-dates-b7d53b4d.js');
8
+ require('./kup-dates-e22ee32c.js');
9
9
 
10
10
  const navbarClass = 'nav-bar';
11
11
  /**
@@ -130,7 +130,7 @@ const KupNavBar = class {
130
130
  this.kupManager.debug.logRender(this, true);
131
131
  }
132
132
  render() {
133
- return (index.h(index.Host, { key: 'd87202afdc46b32160433e9367e65b8911081758', class: "header" }, index.h("style", { key: 'f040c8ddb9a4e109be8b83c0ef434a331ffe1f28' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '12d4968317af6fecbad1f5e08a818798668d39e0', id: GenericVariables.componentWrapperId }, index.h("header", { key: '4b8be98eea078116b8f166ca4b12872b51690ba8', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, index.h("div", { key: '42939e2fa3d1ec1f19b77aa994ce49b27a942063', class: `${navbarClass}__row` }, this.content())))));
133
+ return (index.h(index.Host, { key: 'c0ee317aa4f4c5d7eea17e92073c2382dfed6f38', class: "header" }, index.h("style", { key: '48b3dec462796c406f3c492f402cd18090b780c4' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '6a4822ca6723bf9f7145db93dffe88f7781cccb3', id: GenericVariables.componentWrapperId }, index.h("header", { key: '178148cbe743a0c4d9b4e41b26519f2ebb89c776', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, index.h("div", { key: '5ee2f06ac2e4518cf6c993e0e9b09b9cf77e66ff', class: `${navbarClass}__row` }, this.content())))));
134
134
  }
135
135
  disconnectedCallback() {
136
136
  this.kupManager.language.unregister(this);
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-26a9154b.js');
6
+ const kupManager = require('./kup-manager-abfe4ddd.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
- const fTextField = require('./f-text-field-ac5d6497.js');
8
+ const fTextField = require('./f-text-field-eb207a83.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
10
- require('./kup-dates-b7d53b4d.js');
10
+ require('./kup-dates-e22ee32c.js');
11
11
  require('./component-cb3b32f5.js');
12
12
 
13
13
  /**
@@ -365,7 +365,7 @@ const KupNumericPicker = class {
365
365
  this.kupManager.debug.logRender(this, true);
366
366
  }
367
367
  render() {
368
- return (index.h(index.Host, { key: '00b965e54783036031219a8eb57fcb3a764c6f30' }, index.h("style", { key: '004fdaa3d5cf77a7364ba2114eaff76f3985e3ac' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '2d7cb3bec99e2874ca26246a091ca2c21bdf2f1e', id: GenericVariables.componentWrapperId }, this.prepTextfield())));
368
+ return (index.h(index.Host, { key: '83c844a686d9a82576b8ccbbdaaf0ce61190fad4' }, index.h("style", { key: '9f8e8eeeeb0db1f67cdd03e0815aa3cc0126f7b0' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '787aee96d5550a9bdb98d3d746142967456645f4', id: GenericVariables.componentWrapperId }, this.prepTextfield())));
369
369
  }
370
370
  disconnectedCallback() {
371
371
  this.kupManager.dates.unregister(this);