@sme.up/ketchup 10.2.0 → 10.3.1

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 (235) hide show
  1. package/dist/cjs/{f-cell-3ed4ad9e.js → f-cell-be0c55ac.js} +5 -5
  2. package/dist/cjs/{f-chip-b936dcaf.js → f-chip-dc085b9b.js} +1 -1
  3. package/dist/cjs/{f-object-field-348fa103.js → f-object-field-96e1c599.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-f951cc54.js → f-paginator-utils-3f233ebe.js} +1 -1
  5. package/dist/cjs/{f-text-field-e41f653a.js → f-text-field-d91ab1e8.js} +1 -1
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/ketchup.cjs.js +1 -1
  8. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-autocomplete_29.cjs.entry.js +143 -61
  11. package/dist/cjs/kup-box.cjs.entry.js +87 -69
  12. package/dist/cjs/kup-calendar.cjs.entry.js +34 -16
  13. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  16. package/dist/cjs/{kup-data-table-helper-adaa11bb.js → kup-data-table-helper-ff263f4f.js} +1 -1
  17. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-editor.cjs.entry.js +9 -4
  20. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-image-list.cjs.entry.js +9 -8
  25. package/dist/cjs/kup-input-panel.cjs.entry.js +49 -77
  26. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  27. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  28. package/dist/cjs/{kup-manager-39bc2be8.js → kup-manager-ecc44384.js} +130 -157
  29. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-pdf.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/cjs/loader.cjs.js +1 -1
  41. package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +1 -0
  42. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +39 -7
  43. package/dist/collection/components/kup-box/kup-box.js +115 -62
  44. package/dist/collection/components/kup-button/kup-button.js +0 -24
  45. package/dist/collection/components/kup-calendar/kup-calendar.css +5 -1
  46. package/dist/collection/components/kup-calendar/kup-calendar.js +32 -14
  47. package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
  48. package/dist/collection/components/kup-combobox/kup-combobox.js +24 -1
  49. package/dist/collection/components/kup-data-table/kup-data-table.js +110 -28
  50. package/dist/collection/components/kup-editor/kup-editor.js +8 -3
  51. package/dist/collection/components/kup-image/assets/svg/bullseye-arrow.svg +1 -0
  52. package/dist/collection/components/kup-image/assets/svg/email-stacked.svg +1 -0
  53. package/dist/collection/components/kup-image/assets/svg/filter-off.svg +1 -0
  54. package/dist/collection/components/kup-image/assets/svg/status.svg +9 -0
  55. package/dist/collection/components/kup-image-list/kup-image-list.js +4 -3
  56. package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +24 -11
  57. package/dist/collection/components/kup-input-panel/kup-input-panel.js +52 -39
  58. package/dist/collection/components/kup-tree/kup-tree.js +48 -12
  59. package/dist/collection/f-components/f-cell/f-cell.js +1 -1
  60. package/dist/collection/managers/kup-data/kup-data.js +49 -0
  61. package/dist/collection/managers/kup-manager/kup-manager.js +0 -2
  62. package/dist/components/index.js +1 -1
  63. package/dist/components/kup-accordion.js +2 -2
  64. package/dist/components/kup-activity-timeline.js +2 -2
  65. package/dist/components/kup-autocomplete.js +1 -1
  66. package/dist/components/kup-badge.js +1 -1
  67. package/dist/components/kup-box.js +1 -1
  68. package/dist/components/kup-button-list.js +1 -1
  69. package/dist/components/kup-button.js +1 -1
  70. package/dist/components/kup-calendar.js +35 -17
  71. package/dist/components/kup-card-list.js +3 -3
  72. package/dist/components/kup-card.js +1 -1
  73. package/dist/components/kup-cell.js +2 -2
  74. package/dist/components/kup-chart.js +1 -1
  75. package/dist/components/kup-checkbox.js +1 -1
  76. package/dist/components/kup-chip.js +1 -1
  77. package/dist/components/kup-color-picker.js +1 -1
  78. package/dist/components/kup-combobox.js +1 -1
  79. package/dist/components/kup-dashboard.js +2 -2
  80. package/dist/components/kup-data-table.js +1 -1
  81. package/dist/components/kup-date-picker.js +1 -1
  82. package/dist/components/kup-dialog.js +1 -1
  83. package/dist/components/kup-drawer.js +2 -2
  84. package/dist/components/kup-dropdown-button.js +1 -1
  85. package/dist/components/kup-echart.js +1 -1
  86. package/dist/components/kup-editor.js +1 -1
  87. package/dist/components/kup-family-tree.js +3 -3
  88. package/dist/components/kup-file-upload.js +1 -1
  89. package/dist/components/kup-form.js +1 -1
  90. package/dist/components/kup-gauge.js +1 -1
  91. package/dist/components/kup-grid.js +1 -1
  92. package/dist/components/kup-htm.js +2 -2
  93. package/dist/components/kup-iframe.js +2 -2
  94. package/dist/components/kup-image-list.js +6 -5
  95. package/dist/components/kup-image.js +1 -1
  96. package/dist/components/kup-input-panel.js +49 -76
  97. package/dist/components/kup-lazy.js +2 -2
  98. package/dist/components/kup-list.js +1 -1
  99. package/dist/components/kup-magic-box.js +4 -4
  100. package/dist/components/kup-nav-bar.js +2 -2
  101. package/dist/components/kup-numeric-picker.js +2 -2
  102. package/dist/components/kup-object-field.js +2 -2
  103. package/dist/components/kup-pdf.js +2 -2
  104. package/dist/components/kup-planner.js +2 -2
  105. package/dist/components/kup-probe.js +2 -2
  106. package/dist/components/kup-progress-bar.js +1 -1
  107. package/dist/components/kup-qlik.js +2 -2
  108. package/dist/components/kup-radio.js +1 -1
  109. package/dist/components/kup-rating.js +1 -1
  110. package/dist/components/kup-snackbar.js +2 -2
  111. package/dist/components/kup-spinner.js +1 -1
  112. package/dist/components/kup-switch.js +1 -1
  113. package/dist/components/kup-tab-bar.js +1 -1
  114. package/dist/components/kup-text-field.js +1 -1
  115. package/dist/components/kup-time-picker.js +1 -1
  116. package/dist/components/kup-toolbar.js +1 -1
  117. package/dist/components/kup-tree.js +1 -1
  118. package/dist/components/kup-txt.js +2 -2
  119. package/dist/components/kup-typography-list.js +2 -2
  120. package/dist/components/kup-typography.js +2 -2
  121. package/dist/components/{p-a0258e6f.js → p-39e807bc.js} +2 -2
  122. package/dist/components/{p-b80494d7.js → p-680ee680.js} +2 -2
  123. package/dist/components/{p-3438f15f.js → p-685106b4.js} +83 -64
  124. package/dist/components/{p-b304b91c.js → p-73922583.js} +130 -157
  125. package/dist/components/{p-eb8a2811.js → p-8037ef07.js} +10 -5
  126. package/dist/components/{p-7d0f1f90.js → p-e0031e17.js} +141 -57
  127. package/dist/esm/{f-cell-6576e009.js → f-cell-eea4e836.js} +5 -5
  128. package/dist/esm/{f-chip-bb62428a.js → f-chip-72bcea75.js} +1 -1
  129. package/dist/esm/{f-object-field-b87b6ae6.js → f-object-field-1827746c.js} +2 -2
  130. package/dist/esm/{f-paginator-utils-04903d74.js → f-paginator-utils-e785d34e.js} +1 -1
  131. package/dist/esm/{f-text-field-9be88e51.js → f-text-field-591dc383.js} +1 -1
  132. package/dist/esm/index.js +1 -1
  133. package/dist/esm/ketchup.js +1 -1
  134. package/dist/esm/kup-accordion.entry.js +1 -1
  135. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  136. package/dist/esm/kup-autocomplete_29.entry.js +143 -61
  137. package/dist/esm/kup-box.entry.js +87 -69
  138. package/dist/esm/kup-calendar.entry.js +35 -17
  139. package/dist/esm/kup-card-list.entry.js +1 -1
  140. package/dist/esm/kup-cell.entry.js +5 -5
  141. package/dist/esm/kup-dashboard.entry.js +2 -2
  142. package/dist/esm/{kup-data-table-helper-13eb7abf.js → kup-data-table-helper-0fbe9df1.js} +1 -1
  143. package/dist/esm/kup-drawer.entry.js +1 -1
  144. package/dist/esm/kup-echart.entry.js +1 -1
  145. package/dist/esm/kup-editor.entry.js +9 -4
  146. package/dist/esm/kup-family-tree.entry.js +1 -1
  147. package/dist/esm/kup-grid.entry.js +1 -1
  148. package/dist/esm/kup-htm.entry.js +1 -1
  149. package/dist/esm/kup-iframe.entry.js +1 -1
  150. package/dist/esm/kup-image-list.entry.js +9 -8
  151. package/dist/esm/kup-input-panel.entry.js +49 -77
  152. package/dist/esm/kup-lazy.entry.js +1 -1
  153. package/dist/esm/kup-magic-box.entry.js +1 -1
  154. package/dist/esm/{kup-manager-6aa0a1c7.js → kup-manager-a3f8ee8f.js} +130 -157
  155. package/dist/esm/kup-nav-bar.entry.js +1 -1
  156. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  157. package/dist/esm/kup-object-field.entry.js +3 -3
  158. package/dist/esm/kup-pdf.entry.js +1 -1
  159. package/dist/esm/kup-planner.entry.js +2 -2
  160. package/dist/esm/kup-probe.entry.js +1 -1
  161. package/dist/esm/kup-qlik.entry.js +1 -1
  162. package/dist/esm/kup-snackbar.entry.js +1 -1
  163. package/dist/esm/kup-txt.entry.js +1 -1
  164. package/dist/esm/kup-typography-list.entry.js +1 -1
  165. package/dist/esm/kup-typography.entry.js +1 -1
  166. package/dist/esm/loader.js +1 -1
  167. package/dist/ketchup/assets/svg/bullseye-arrow.svg +1 -0
  168. package/dist/ketchup/assets/svg/email-stacked.svg +1 -0
  169. package/dist/ketchup/assets/svg/filter-off.svg +1 -0
  170. package/dist/ketchup/assets/svg/status.svg +9 -0
  171. package/dist/ketchup/index.esm.js +1 -1
  172. package/dist/ketchup/ketchup.esm.js +1 -1
  173. package/dist/ketchup/{p-267d1898.js → p-0eea54ac.js} +1 -1
  174. package/dist/ketchup/{p-0de49966.entry.js → p-0f9ae966.entry.js} +1 -1
  175. package/dist/ketchup/{p-6fc1bb18.entry.js → p-1a9fb6e7.entry.js} +1 -1
  176. package/dist/ketchup/{p-9b907768.entry.js → p-21a2d25a.entry.js} +1 -1
  177. package/dist/ketchup/{p-f8a027a1.entry.js → p-283f7bfc.entry.js} +1 -1
  178. package/dist/ketchup/{p-2d84c26e.entry.js → p-2c11b778.entry.js} +1 -1
  179. package/dist/ketchup/{p-4ffc1a88.entry.js → p-2f0664cb.entry.js} +1 -1
  180. package/dist/ketchup/{p-58002a23.entry.js → p-2faa7118.entry.js} +1 -1
  181. package/dist/ketchup/p-32a6feed.entry.js +9 -0
  182. package/dist/ketchup/{p-d084b2d4.entry.js → p-36ec5bc3.entry.js} +1 -1
  183. package/dist/ketchup/{p-fb775526.entry.js → p-43dc9f87.entry.js} +1 -1
  184. package/dist/ketchup/p-442a16b1.entry.js +1 -0
  185. package/dist/ketchup/p-4c16edda.entry.js +1 -0
  186. package/dist/ketchup/{p-15f192f0.entry.js → p-4c5b911e.entry.js} +1 -1
  187. package/dist/ketchup/{p-c2ccbaca.entry.js → p-5340f777.entry.js} +1 -1
  188. package/dist/ketchup/{p-b365f2f2.entry.js → p-57a93686.entry.js} +1 -1
  189. package/dist/ketchup/{p-100b8ae7.entry.js → p-5e55604b.entry.js} +1 -1
  190. package/dist/ketchup/{p-8be42f5c.js → p-64e064f0.js} +1 -1
  191. package/dist/ketchup/{p-5d9f2d24.entry.js → p-6fe57b1a.entry.js} +1 -1
  192. package/dist/ketchup/{p-fdcb43a2.entry.js → p-79e580bc.entry.js} +1 -1
  193. package/dist/ketchup/{p-a4b6d6c5.js → p-8140c1d2.js} +1 -1
  194. package/dist/ketchup/{p-9bc02da6.entry.js → p-8cf7b4a6.entry.js} +1 -1
  195. package/dist/ketchup/{p-0b1e0b48.js → p-932940cb.js} +1 -1
  196. package/dist/ketchup/p-a4168ce9.entry.js +1 -0
  197. package/dist/ketchup/{p-9edd90c2.entry.js → p-beef4fe9.entry.js} +1 -1
  198. package/dist/ketchup/{p-d8dbf3df.entry.js → p-cd5db3b1.entry.js} +2 -2
  199. package/dist/ketchup/{p-92431583.entry.js → p-d03527d8.entry.js} +1 -1
  200. package/dist/ketchup/{p-838d8e97.js → p-d1fa33e0.js} +1 -1
  201. package/dist/ketchup/{p-e6afa8a6.entry.js → p-d2e3f987.entry.js} +1 -1
  202. package/dist/ketchup/{p-07f50333.entry.js → p-d9ae70bb.entry.js} +1 -1
  203. package/dist/ketchup/{p-a597a851.entry.js → p-dcf2c5c0.entry.js} +1 -1
  204. package/dist/ketchup/p-e1281898.entry.js +1 -0
  205. package/dist/ketchup/{p-d0554d1f.entry.js → p-ec86f88f.entry.js} +1 -1
  206. package/dist/ketchup/{p-6d628b49.entry.js → p-ee0836a4.entry.js} +1 -1
  207. package/dist/ketchup/{p-e104cfb7.js → p-f1886258.js} +1 -1
  208. package/dist/ketchup/{p-e4fa2cf3.js → p-fb4f10d5.js} +2 -2
  209. package/dist/ketchup/p-fc750bff.entry.js +1 -0
  210. package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -1
  211. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +5 -0
  212. package/dist/types/components/kup-box/kup-box.d.ts +6 -5
  213. package/dist/types/components/kup-button/kup-button.d.ts +0 -1
  214. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +2 -1
  215. package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
  216. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
  217. package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -0
  218. package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +7 -4
  219. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
  220. package/dist/types/components/kup-tree/kup-tree.d.ts +2 -1
  221. package/dist/types/components.d.ts +44 -4
  222. package/dist/types/managers/kup-data/kup-data.d.ts +11 -0
  223. package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +0 -2
  224. package/dist/types/managers/kup-manager/kup-manager.d.ts +0 -2
  225. package/package.json +2 -2
  226. package/dist/collection/managers/kup-keys-binding/kup-keys-binding-declarations.js +0 -1
  227. package/dist/collection/managers/kup-keys-binding/kup-keys-binding.js +0 -79
  228. package/dist/ketchup/p-3dbafa20.entry.js +0 -9
  229. package/dist/ketchup/p-3e42953b.entry.js +0 -1
  230. package/dist/ketchup/p-42a1f9ec.entry.js +0 -1
  231. package/dist/ketchup/p-55b0991f.entry.js +0 -1
  232. package/dist/ketchup/p-65b23870.entry.js +0 -1
  233. package/dist/ketchup/p-da44226a.entry.js +0 -1
  234. package/dist/types/managers/kup-keys-binding/kup-keys-binding-declarations.d.ts +0 -1
  235. package/dist/types/managers/kup-keys-binding/kup-keys-binding.d.ts +0 -20
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-bfafefb3.js');
7
7
  const fCheckbox = require('./f-checkbox-aaa6d45c.js');
8
- const fTextField = require('./f-text-field-e41f653a.js');
8
+ const fTextField = require('./f-text-field-d91ab1e8.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
10
- const kupManager = require('./kup-manager-39bc2be8.js');
10
+ const kupManager = require('./kup-manager-ecc44384.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-db10b066.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const kupManager = require('./kup-manager-39bc2be8.js');
3
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const kupDates = require('./kup-dates-bc4cf9d0.js');
9
9
 
@@ -46180,8 +46180,13 @@ const KupEditor = class {
46180
46180
  }, this.autosaveTimer), "f");
46181
46181
  }
46182
46182
  onEditorSave() {
46183
- this.editor.getUI().getToolbar().removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
46184
- __classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
46183
+ if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
46184
+ this.editor
46185
+ .getUI()
46186
+ .getToolbar()
46187
+ .removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
46188
+ __classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
46189
+ }
46185
46190
  this.kupSave.emit(this.getSaveAndAutoSaveProps());
46186
46191
  }
46187
46192
  onEditorAutoSave() {
@@ -46270,7 +46275,7 @@ const KupEditor = class {
46270
46275
  __classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
46271
46276
  }
46272
46277
  render() {
46273
- return (index.h(index.Host, { key: '09fc441ca21e0118ae9d721c8b77a9042a8a82e0' }, index.h("div", { key: '9c23d5c533cded4fd2970464bd59addecf6cc143', id: GenericVariables.componentWrapperId }, index.h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }))));
46278
+ return (index.h(index.Host, { key: 'e7af368e1134de8874c2791b82291bc5391bff6d' }, index.h("div", { key: '0faeedec267b850a027ce153adaf116c8dbe0a82', id: GenericVariables.componentWrapperId }, index.h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }))));
46274
46279
  }
46275
46280
  disconnectedCallback() {
46276
46281
  __classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
@@ -6,7 +6,7 @@ const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-bfafefb3.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-db10b066.js');
9
- const kupManager = require('./kup-manager-39bc2be8.js');
9
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fImage = require('./f-image-db10b066.js');
9
9
  const fButton = require('./f-button-bfafefb3.js');
10
10
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
11
- const fCell = require('./f-cell-3ed4ad9e.js');
11
+ const fCell = require('./f-cell-be0c55ac.js');
12
12
  const component = require('./component-cb3b32f5.js');
13
13
  require('./kup-dates-bc4cf9d0.js');
14
14
  require('./f-checkbox-aaa6d45c.js');
15
- require('./f-chip-b936dcaf.js');
16
- require('./f-object-field-348fa103.js');
17
- require('./f-text-field-e41f653a.js');
15
+ require('./f-chip-dc085b9b.js');
16
+ require('./f-object-field-96e1c599.js');
17
+ require('./f-text-field-d91ab1e8.js');
18
18
 
19
19
  /**
20
20
  * Props of the kup-image-list component.
@@ -235,14 +235,14 @@ const KupImageList = class {
235
235
  }
236
236
  const imlClass = 'image-list' +
237
237
  (this.showFullDescription ? ' full-description' : '');
238
- return (index.h(index.Host, { key: '0dfe8dc9ddc1120bcefb741e41ce2af6af225f63' }, index.h("style", { key: '2f2e1717102b7b866e6e268c8b25db6eb7586719' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '2a9e85aeb724679ad85ace215c27e5b7ddd756f2', id: GenericVariables.componentWrapperId, ref: (el) => {
238
+ return (index.h(index.Host, { key: 'ca040281aa4d992d8d6efaa3e294e4cc5e06f95a' }, index.h("style", { key: '433ac510a032fef1a28de7a19cc725338f12ed18' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '09711dbe9475c429a0b87f08c4f95d33dc0a2387', id: GenericVariables.componentWrapperId, ref: (el) => {
239
239
  __classPrivateFieldSet(this, _KupImageList_el, el, "f");
240
- } }, index.h("div", { key: '1afaeafc6de7b2d6743571817c8aafd1ae6f8120', class: "navigation-bar" }, hasNavigation ? (index.h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
240
+ } }, index.h("div", { key: 'fa65e7bfd83e21146e71c9889cf08849cccc1479', class: "navigation-bar" }, hasNavigation ? (index.h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
241
241
  ? 'navigation-bar__wrapper--active'
242
242
  : ''}` }, index.h("div", { class: `navigation-bar__title`, onClick: () => {
243
243
  this.navigationBarToggled =
244
244
  !this.navigationBarToggled;
245
- } }, index.h(fImage.FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), index.h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.BACK) })), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOP) })))) : null), index.h("div", { key: '1868b4d2e1e23b78ab3eb99031a21afc88ead36d', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
245
+ } }, index.h(fImage.FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), index.h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.BACK) })), index.h(fButton.FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.TOP) })))) : null), index.h("div", { key: 'e8348ec6cfc974859f45548e1bb156032dda8d2d', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
246
246
  }
247
247
  disconnectedCallback() {
248
248
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
@@ -281,6 +281,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
281
281
  icon: node.icon,
282
282
  placeholderIcon: node.placeholderIcon,
283
283
  obj: node.obj,
284
+ cssClass: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").data.cell.getObjectRelatedStyleClasses(node.obj, node.cssClass),
284
285
  }, column: { name: 'IMAGE', title: 'Image' }, component: this, density: kupManager.FCellPadding.NONE, row: Object.assign({}, node) }, index.h("div", { class: `image-list__wrapper${hasExternalResource ? ' images' : ''}` }, !hasExternalResource && (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 24 24" })), image, label)));
285
286
  }, _KupImageList_createList = function _KupImageList_createList() {
286
287
  const nodes = [];
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-bfafefb3.js');
7
- const fCell = require('./f-cell-3ed4ad9e.js');
8
- const kupManager = require('./kup-manager-39bc2be8.js');
7
+ const fCell = require('./f-cell-be0c55ac.js');
8
+ const kupManager = require('./kup-manager-ecc44384.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
10
10
  const fTypography = require('./f-typography-85d8238a.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-db10b066.js');
14
14
  require('./f-checkbox-aaa6d45c.js');
15
- require('./f-chip-b936dcaf.js');
16
- require('./f-object-field-348fa103.js');
17
- require('./f-text-field-e41f653a.js');
15
+ require('./f-chip-dc085b9b.js');
16
+ require('./f-object-field-96e1c599.js');
17
+ require('./f-text-field-d91ab1e8.js');
18
18
  require('./kup-dates-bc4cf9d0.js');
19
19
  require('./component-cb3b32f5.js');
20
20
 
@@ -51,35 +51,6 @@ var KupInputPanelButtonsPositions;
51
51
  KupInputPanelButtonsPositions["RIGHT"] = "RIGHT";
52
52
  KupInputPanelButtonsPositions["TOP"] = "TOP";
53
53
  })(KupInputPanelButtonsPositions || (KupInputPanelButtonsPositions = {}));
54
- const InputPanelKeyCommands = {
55
- '*F01': 'F1',
56
- '*F02': 'F2',
57
- '*F03': 'F3',
58
- '*F04': 'F4',
59
- '*F05': 'F5',
60
- '*F06': 'F6',
61
- '*F07': 'F7',
62
- '*F08': 'F8',
63
- '*F09': 'F9',
64
- '*F10': 'F10',
65
- '*F11': 'F11',
66
- '*F12': 'F12',
67
- '*F13': 'shift+F1',
68
- '*F14': 'shift+F2',
69
- '*F15': 'shift+F3',
70
- '*F16': 'shift+F4',
71
- '*F17': 'shift+F5',
72
- '*F18': 'shift+F6',
73
- '*F19': 'shift+F7',
74
- '*F20': 'shift+F8',
75
- '*F21': 'shift+F9',
76
- '*F22': 'shift+F10',
77
- '*F23': 'shift+F11',
78
- '*F24': 'shift+F12',
79
- '*ENT': 'Enter',
80
- '*PDN': 'PageDown',
81
- '*PUP': 'PageUp',
82
- };
83
54
  var CheckTriggeringEvents;
84
55
  (function (CheckTriggeringEvents) {
85
56
  CheckTriggeringEvents["BLUR"] = "blur";
@@ -97,9 +68,16 @@ const CheckConditionsByEventType = {
97
68
  },
98
69
  };
99
70
 
100
- const CHAR_WIDTH = 10;
101
- const ROW_HEIGHT = 20;
102
- const getAbsoluteWidth = (length) => {
71
+ // General INP constants
72
+ const ROW_HEIGHT = 20; // Used for the ACTUAL row height calculations (no spacing)
73
+ const SPACED_ROW_HEIGHT = 22; // Used for the INP total height calculations (accounting for row spacing)
74
+ const LEFT_MULTIPLIER = 1.15; // Multiplier commanding the left attribute "scale"
75
+ const ADDITIONAL_WIDTH_WITH_ICON = 18; // Additional width added to account for the shape's icon (ACP,CAL,CMB)
76
+ // Char sizes
77
+ const FONT_SIZE = 12; // Monospace font size of the INP
78
+ const FONT_SIZE_TO_WIDTH_RATIO = 1.6; // FontSize to SingleCharWidth ratio
79
+ const CHAR_WIDTH = FONT_SIZE / FONT_SIZE_TO_WIDTH_RATIO; // Used for field width and left attribute
80
+ const getAbsoluteWidth = (length, graphicShapeHasIcon) => {
103
81
  if (length == 0) {
104
82
  return CHAR_WIDTH / 2;
105
83
  }
@@ -109,22 +87,22 @@ const getAbsoluteWidth = (length) => {
109
87
  if (length === 1) {
110
88
  return 1.5 * CHAR_WIDTH;
111
89
  }
112
- return length * CHAR_WIDTH;
90
+ return (length * CHAR_WIDTH +
91
+ (graphicShapeHasIcon ? ADDITIONAL_WIDTH_WITH_ICON : 0) +
92
+ 4 // Additional size to include padding
93
+ );
113
94
  };
114
- const FONT_SIZE = 12;
115
- const FONT_SIZE_TO_WIDTH_RATIO = 1.666666666666667;
116
- const SINGLE_CHAR_WIDTH = FONT_SIZE / FONT_SIZE_TO_WIDTH_RATIO;
117
95
  const getLabelAbsoluteWidth = (length) => {
118
96
  if (length == 0) {
119
- return SINGLE_CHAR_WIDTH / 2;
97
+ return CHAR_WIDTH / 2;
120
98
  }
121
99
  if (!length) {
122
100
  return null;
123
101
  }
124
102
  if (length === 1) {
125
- return 1.5 * SINGLE_CHAR_WIDTH;
103
+ return 1.5 * CHAR_WIDTH;
126
104
  }
127
- return length * SINGLE_CHAR_WIDTH;
105
+ return length * CHAR_WIDTH;
128
106
  };
129
107
  const getAbsoluteHeight = (height) => {
130
108
  if (!height) {
@@ -151,7 +129,7 @@ const getAbsoluteLeft = (col) => {
151
129
  if (!col) {
152
130
  return null;
153
131
  }
154
- return (col - 1) * CHAR_WIDTH;
132
+ return (col - 1) * 10 * LEFT_MULTIPLIER;
155
133
  };
156
134
  const getInpComponentAbsoluteHeight = (layout) => {
157
135
  let inpRowHeight = 0;
@@ -168,6 +146,11 @@ const getInpComponentAbsoluteHeight = (layout) => {
168
146
  });
169
147
  return inpRowHeight;
170
148
  };
149
+ const graphicShapeHasIcon = (shape) => {
150
+ return (shape === kupManager.FCellShapes.AUTOCOMPLETE ||
151
+ shape === kupManager.FCellShapes.COMBOBOX ||
152
+ shape === kupManager.FCellShapes.DATE);
153
+ };
171
154
 
172
155
  const kupInputPanelCss = ".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:var(--kup-label-01-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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-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{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_textfield_textarea_height_input_panel:var(\n --kup-textfield-textarea-height-input_panel,\n 200px\n );--kup_textfield_textarea_width_input_panel:var(\n --kup-textfield-textarea-width-input_panel,\n 300px\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0);--kup_input_panel_padding--inline:var(\n --kup-input-panel-padding--inline,\n 1em 0\n );--kup_input_panel_absolute_max_height:var(\n --kup-input-panel-absolute-max-height,\n \n 716px\n )}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:8px}:host .input-panel__commands{display:flex;gap:1rem}:host .input-panel__commands.input-panel__commands--right{flex-shrink:0;overflow:hidden}:host .input-panel--inline{flex:1;overflow-x:auto;white-space:nowrap;padding:var(--kup_input_panel_padding--inline);display:inline-flex;align-items:flex-end}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel .f-text-field .mdc-text-field.mdc-text-field--textarea{min-height:var(--kup_textfield_textarea_height_input_panel) !important;min-width:var(--kup_textfield_textarea_width_input_panel) !important}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel__section-inline{display:inline-block;width:max-content}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel .input-panel-label--legacy-look{font-size:12px;font-family:var(--kup-font-family-monospace);white-space:pre;overflow:hidden}:host .input-panel--absolute{justify-content:flex-end;padding:var(--kup-space-02);max-height:var(--kup_input_panel_absolute_max_height);--kup-textfield-extrasmall-height:20px;--kup-textfield-extrasmall-padding:0 var(--kup-space-01)}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .input-panel-label.input-panel-label-number{justify-content:end}:host .input-panel--absolute .mdc-text-field{height:unset !important}:host .input-panel-form--inline{display:flex;align-items:end;gap:1rem}";
173
156
  const KupInputPanelStyle0 = kupInputPanelCss;
@@ -277,12 +260,6 @@ const KupInputPanel = class {
277
260
  });
278
261
  __classPrivateFieldSet(this, _KupInputPanel_listeners, [], "f");
279
262
  }
280
- if (__classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").length) {
281
- __classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").map((key) => {
282
- __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.unregister(key);
283
- });
284
- __classPrivateFieldSet(this, _KupInputPanel_keysShortcut, [], "f");
285
- }
286
263
  if (this.data) {
287
264
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
288
265
  }
@@ -344,6 +321,13 @@ const KupInputPanel = class {
344
321
  async setProps(props) {
345
322
  kupManager.setProps(this, KupInputPanelProps, props);
346
323
  }
324
+ /**
325
+ * Trigger update from outside
326
+ * @param {string} cellId - When provided, will trigger onclick event of cell instead of *UPDATE
327
+ */
328
+ async update(cellId) {
329
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, cellId), cellId);
330
+ }
347
331
  //#endregion
348
332
  //#region LIFECYCLE HOOKS
349
333
  /*-------------------------------------------------*/
@@ -391,7 +375,7 @@ const KupInputPanel = class {
391
375
  index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
392
376
  ]
393
377
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
394
- return (index.h(index.Host, { key: '05c05f0e83a1f080424e053c74c1d2a6ee06e672', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
378
+ return (index.h(index.Host, { key: 'd468961b69c36da299594dd70e3d65911a40a1f6', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
395
379
  this.tabSelected = e.detail.node.id;
396
380
  }, "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": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK), "onKup-objectfield-searchpayload": (e) => {
397
381
  this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
@@ -399,14 +383,11 @@ const KupInputPanel = class {
399
383
  this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
400
384
  }, "onKup-objectfield-selectedmenuitem": (e) => {
401
385
  this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
402
- } }, index.h("style", { key: 'c1b2093b1747eb47abd06dadad11cb932a521d89' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'dbc40999bdce880da7407ca757710688310548f8', id: GenericVariables.componentWrapperId }, inputPanelContent)));
386
+ } }, index.h("style", { key: '824fd398cb63ceda965e538605c4e679085d1d33' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '83cb7ae70a5d7340792ed76fa53aee7c3ecbfc60', id: GenericVariables.componentWrapperId }, inputPanelContent)));
403
387
  }
404
388
  disconnectedCallback() {
405
389
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
406
390
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.unregister(this);
407
- __classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").forEach((keyEvent) => {
408
- __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.unregister(keyEvent);
409
- });
410
391
  }
411
392
  get rootElement() { return index.getElement(this); }
412
393
  static get watchers() { return {
@@ -414,6 +395,9 @@ const KupInputPanel = class {
414
395
  }; }
415
396
  };
416
397
  _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
398
+ if (!id) {
399
+ return null;
400
+ }
417
401
  return this.inputPanelCells.reduce((cell, { cells }) => {
418
402
  if (!cell) {
419
403
  const foundCell = cells.find(({ column }) => column.name === id);
@@ -425,7 +409,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
425
409
  return cell;
426
410
  }, null);
427
411
  }, _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
428
- var _a, _b;
412
+ var _a, _b, _c;
429
413
  const layout = inputPanelCell.row.layout;
430
414
  const horizontal = (layout === null || layout === void 0 ? void 0 : layout.horizontal) || false;
431
415
  const styleObj = {};
@@ -439,7 +423,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
439
423
  if (layout.absolute) {
440
424
  rowContent = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderAbsoluteLayout).call(this, inputPanelCell, layout);
441
425
  // 12px is added due to the chance that the horizontal scrollbar will be rendered
442
- styleObj.height = `${getInpComponentAbsoluteHeight(layout) * ROW_HEIGHT + 12}px`;
426
+ styleObj.height = `${getInpComponentAbsoluteHeight(layout) * SPACED_ROW_HEIGHT +
427
+ 12}px`;
443
428
  }
444
429
  else {
445
430
  if (!layout.sectionsType) {
@@ -486,10 +471,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
486
471
  'input-panel__commands': true,
487
472
  [`input-panel__commands--${this.buttonPosition}`]: true,
488
473
  };
489
- const props = {
490
- value: (_b = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _b === void 0 ? void 0 : _b.title,
491
- type: fTypography.FTypographyType.HEADING1,
492
- };
493
474
  return (index.h("div", null, index.h("form", { name: this.rootElement.id, id: this.rootElement.id, class: inputPanelClass, ref: (el) => (__classPrivateFieldSet(this, _KupInputPanel_formRef, el, "f")), onSubmit: (e) => {
494
475
  e.preventDefault();
495
476
  this.submitCb({
@@ -502,7 +483,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
502
483
  if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_findTraversedFCell).call(this, e) != null) {
503
484
  e.preventDefault();
504
485
  }
505
- } }, index.h("div", { class: "input-panel__typography" }, index.h(fTypography.FTypography, Object.assign({}, props))), index.h("div", { class: classObj, style: styleObj }, rowContent), index.h("div", { class: commandsClass }, index.h(fButton.FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.inputPanelCommands))));
486
+ } }, ((_b = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _b === void 0 ? void 0 : _b.length) == 1 &&
487
+ ((_c = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _c === void 0 ? void 0 : _c.title) && (index.h("div", { class: "input-panel__typography" }, index.h(fTypography.FTypography, { value: layout.sections[0].title, type: fTypography.FTypographyType.HEADING1 }))), index.h("div", { class: classObj, style: styleObj }, rowContent), index.h("div", { class: commandsClass }, index.h(fButton.FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.inputPanelCommands))));
506
488
  }, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
507
489
  var _a;
508
490
  if (!cell) {
@@ -528,7 +510,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
528
510
  }
529
511
  return index.h(fCell.FCell, Object.assign({}, cellProps));
530
512
  }, _KupInputPanel_renderButton = function _KupInputPanel_renderButton(cell, { name }) {
531
- const renderedButton = (index.h(fButton.FButton, Object.assign({ icon: cell.icon, id: name }, cell.data, { wrapperClass: "form__submit" })));
513
+ const renderedButton = (index.h(fButton.FButton, Object.assign({ icon: cell.icon, placeholderIcon: cell.placeholderIcon, id: name }, cell.data, { wrapperClass: "form__submit" })));
532
514
  return renderedButton;
533
515
  }, _KupInputPanel_renderDropDownButton = function _KupInputPanel_renderDropDownButton(cell, data) {
534
516
  return (index.h("kup-dropdown-button", Object.assign({}, cell.data, { label: cell.value, data: data, "onkup-dropdownbutton-itemclick": (e) => {
@@ -739,7 +721,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
739
721
  }
740
722
  const absoluteWidth = fieldCell.cell.shape === kupManager.FCellShapes.LABEL
741
723
  ? getLabelAbsoluteWidth(length)
742
- : getAbsoluteWidth(length);
724
+ : getAbsoluteWidth(length, graphicShapeHasIcon(fieldCell.cell.shape));
743
725
  const absoluteHeight = getAbsoluteHeight(field.absoluteHeight);
744
726
  const absoluteTop = getAbsoluteTop(field.absoluteRow, absoluteTblPositioningData);
745
727
  const absoluteLeft = getAbsoluteLeft(field.absoluteColumn);
@@ -933,15 +915,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
933
915
  },
934
916
  };
935
917
  }, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue, cell, id) {
936
- var _a, _b, _c, _d;
937
918
  cell.data = cell.data || {};
938
919
  cell.data.onClick = () => {
939
920
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
940
921
  };
941
- if (((_a = cell.data) === null || _a === void 0 ? void 0 : _a.keyShortcut) && !((_b = cell.data) === null || _b === void 0 ? void 0 : _b.disabled)) {
942
- __classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").push((_c = cell.data) === null || _c === void 0 ? void 0 : _c.keyShortcut);
943
- __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
944
- }
945
922
  return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
946
923
  }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
947
924
  const configCMandACP = kupManager.CMBandACPAdapter(currentValue, fieldLabel, []);
@@ -1118,11 +1095,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1118
1095
  };
1119
1096
  });
1120
1097
  }, _KupInputPanel_commandAdapter = function _KupInputPanel_commandAdapter(cell) {
1121
- if (cell.data &&
1122
- !cell.data.keyShortcut &&
1123
- __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").objects.isJ1Key(cell.obj ? cell.obj : {})) {
1124
- cell.data.keyShortcut = InputPanelKeyCommands[cell.obj.k];
1125
- }
1126
1098
  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 });
1127
1099
  return buttonCell;
1128
1100
  }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
@@ -1145,7 +1117,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1145
1117
  : (_d = (_c = cell.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d['kup-list'];
1146
1118
  if (kupListData) {
1147
1119
  kupListData.data = (filteredRows === null || filteredRows === void 0 ? void 0 : filteredRows.length)
1148
- ? (_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : []
1120
+ ? ((_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : [])
1149
1121
  : [];
1150
1122
  kupListData.options = (_f = options.columns) !== null && _f !== void 0 ? _f : [];
1151
1123
  }
@@ -1232,7 +1204,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1232
1204
  }, _KupInputPanel_areValuesUpdated = function _KupInputPanel_areValuesUpdated() {
1233
1205
  return this.inputPanelCells.some(({ cells, row }) => cells.some(({ cell, column: { name } }) => cell.value !== row.cells[name].value));
1234
1206
  }, _KupInputPanel_getFunctionOnClickBTN = function _KupInputPanel_getFunctionOnClickBTN(cell, id) {
1235
- cell.fun
1207
+ (cell === null || cell === void 0 ? void 0 : cell.fun)
1236
1208
  ? this.customButtonClickHandler({
1237
1209
  fun: cell.fun,
1238
1210
  cellId: id,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.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-c7d441d8.js');
6
- const kupManager = require('./kup-manager-39bc2be8.js');
6
+ const kupManager = require('./kup-manager-ecc44384.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-db10b066.js');
9
9
  const GenericVariables = require('./GenericVariables-1d52ba57.js');