@sme.up/ketchup 11.0.0-SNAPSHOT-20250417122352 → 11.0.0-SNAPSHOT-20250422074609

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 (189) hide show
  1. package/dist/cjs/{f-cell-2c302104.js → f-cell-9f4dc285.js} +4 -4
  2. package/dist/cjs/{f-chip-4892f53c.js → f-chip-794e3c72.js} +1 -1
  3. package/dist/cjs/{f-object-field-b7b25635.js → f-object-field-3dbf445d.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-a25266ba.js → f-paginator-utils-1f10abba.js} +1 -1
  5. package/dist/cjs/{f-text-field-11cb8e22.js → f-text-field-253f62ee.js} +1 -1
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  9. package/dist/cjs/kup-autocomplete_29.cjs.entry.js +8 -8
  10. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  11. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  12. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  13. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  14. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  15. package/dist/cjs/{kup-data-table-helper-6044989f.js → kup-data-table-helper-a9d621f4.js} +1 -1
  16. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
  24. package/dist/cjs/kup-input-panel.cjs.entry.js +28 -24
  25. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  27. package/dist/cjs/{kup-manager-a57c7eda.js → kup-manager-d400f59d.js} +48 -11
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  32. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  34. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  39. package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +20 -14
  40. package/dist/collection/components/kup-input-panel/kup-input-panel.js +4 -6
  41. package/dist/collection/components/kup-toolbar/kup-toolbar.css +17 -5
  42. package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +39 -0
  43. package/dist/components/index.js +1 -1
  44. package/dist/components/kup-accordion.js +2 -2
  45. package/dist/components/kup-activity-timeline.js +2 -2
  46. package/dist/components/kup-autocomplete.js +1 -1
  47. package/dist/components/kup-badge.js +1 -1
  48. package/dist/components/kup-box.js +1 -1
  49. package/dist/components/kup-button-list.js +1 -1
  50. package/dist/components/kup-button.js +1 -1
  51. package/dist/components/kup-calendar.js +2 -2
  52. package/dist/components/kup-card-list.js +3 -3
  53. package/dist/components/kup-card.js +1 -1
  54. package/dist/components/kup-cell.js +2 -2
  55. package/dist/components/kup-chart.js +1 -1
  56. package/dist/components/kup-checkbox.js +1 -1
  57. package/dist/components/kup-chip.js +1 -1
  58. package/dist/components/kup-color-picker.js +1 -1
  59. package/dist/components/kup-combobox.js +1 -1
  60. package/dist/components/kup-dashboard.js +2 -2
  61. package/dist/components/kup-data-table.js +1 -1
  62. package/dist/components/kup-date-picker.js +1 -1
  63. package/dist/components/kup-dialog.js +1 -1
  64. package/dist/components/kup-drawer.js +2 -2
  65. package/dist/components/kup-dropdown-button.js +1 -1
  66. package/dist/components/kup-echart.js +1 -1
  67. package/dist/components/kup-editor.js +1 -1
  68. package/dist/components/kup-family-tree.js +3 -3
  69. package/dist/components/kup-file-upload.js +1 -1
  70. package/dist/components/kup-form.js +1 -1
  71. package/dist/components/kup-gauge.js +1 -1
  72. package/dist/components/kup-grid.js +1 -1
  73. package/dist/components/kup-htm.js +2 -2
  74. package/dist/components/kup-iframe.js +2 -2
  75. package/dist/components/kup-image-list.js +2 -2
  76. package/dist/components/kup-image.js +1 -1
  77. package/dist/components/kup-input-panel.js +26 -22
  78. package/dist/components/kup-lazy.js +2 -2
  79. package/dist/components/kup-list.js +1 -1
  80. package/dist/components/kup-magic-box.js +4 -4
  81. package/dist/components/kup-nav-bar.js +2 -2
  82. package/dist/components/kup-numeric-picker.js +2 -2
  83. package/dist/components/kup-object-field.js +2 -2
  84. package/dist/components/kup-pdf.js +2 -2
  85. package/dist/components/kup-planner.js +2 -2
  86. package/dist/components/kup-probe.js +2 -2
  87. package/dist/components/kup-progress-bar.js +1 -1
  88. package/dist/components/kup-qlik.js +2 -2
  89. package/dist/components/kup-radio.js +1 -1
  90. package/dist/components/kup-rating.js +1 -1
  91. package/dist/components/kup-snackbar.js +2 -2
  92. package/dist/components/kup-spinner.js +1 -1
  93. package/dist/components/kup-switch.js +1 -1
  94. package/dist/components/kup-tab-bar.js +1 -1
  95. package/dist/components/kup-text-field.js +1 -1
  96. package/dist/components/kup-time-picker.js +1 -1
  97. package/dist/components/kup-toolbar.js +1 -1
  98. package/dist/components/kup-tree.js +1 -1
  99. package/dist/components/kup-txt.js +2 -2
  100. package/dist/components/kup-typography-list.js +2 -2
  101. package/dist/components/kup-typography.js +2 -2
  102. package/dist/components/{p-c8693312.js → p-08c3d9e8.js} +2 -2
  103. package/dist/components/{p-3dcc6c21.js → p-64f42825.js} +2 -2
  104. package/dist/components/{p-65b145f9.js → p-aa3f10ec.js} +48 -11
  105. package/dist/components/{p-db8ad47c.js → p-d4a54ea4.js} +2 -2
  106. package/dist/components/{p-8dbf574d.js → p-d4c76baf.js} +2 -2
  107. package/dist/components/{p-b41c0615.js → p-f30bba43.js} +2 -2
  108. package/dist/esm/{f-cell-aeac2e47.js → f-cell-e6e9c8d8.js} +4 -4
  109. package/dist/esm/{f-chip-df4b0f55.js → f-chip-f7cb2b1d.js} +1 -1
  110. package/dist/esm/{f-object-field-4b6ed309.js → f-object-field-cb42b11f.js} +2 -2
  111. package/dist/esm/{f-paginator-utils-3c98d5d8.js → f-paginator-utils-4ac6711f.js} +1 -1
  112. package/dist/esm/{f-text-field-e36e172f.js → f-text-field-f6ef7751.js} +1 -1
  113. package/dist/esm/index.js +1 -1
  114. package/dist/esm/kup-accordion.entry.js +1 -1
  115. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  116. package/dist/esm/kup-autocomplete_29.entry.js +8 -8
  117. package/dist/esm/kup-box.entry.js +7 -7
  118. package/dist/esm/kup-calendar.entry.js +2 -2
  119. package/dist/esm/kup-card-list.entry.js +1 -1
  120. package/dist/esm/kup-cell.entry.js +5 -5
  121. package/dist/esm/kup-dashboard.entry.js +2 -2
  122. package/dist/esm/{kup-data-table-helper-a54978d0.js → kup-data-table-helper-b1340436.js} +1 -1
  123. package/dist/esm/kup-drawer.entry.js +1 -1
  124. package/dist/esm/kup-echart.entry.js +1 -1
  125. package/dist/esm/kup-editor.entry.js +1 -1
  126. package/dist/esm/kup-family-tree.entry.js +1 -1
  127. package/dist/esm/kup-grid.entry.js +1 -1
  128. package/dist/esm/kup-htm.entry.js +1 -1
  129. package/dist/esm/kup-iframe.entry.js +1 -1
  130. package/dist/esm/kup-image-list.entry.js +5 -5
  131. package/dist/esm/kup-input-panel.entry.js +28 -24
  132. package/dist/esm/kup-lazy.entry.js +1 -1
  133. package/dist/esm/kup-magic-box.entry.js +1 -1
  134. package/dist/esm/{kup-manager-b6d8891e.js → kup-manager-ca69ab74.js} +48 -11
  135. package/dist/esm/kup-nav-bar.entry.js +1 -1
  136. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  137. package/dist/esm/kup-object-field.entry.js +3 -3
  138. package/dist/esm/kup-pdf.entry.js +1 -1
  139. package/dist/esm/kup-planner.entry.js +2 -2
  140. package/dist/esm/kup-probe.entry.js +1 -1
  141. package/dist/esm/kup-qlik.entry.js +1 -1
  142. package/dist/esm/kup-snackbar.entry.js +1 -1
  143. package/dist/esm/kup-txt.entry.js +1 -1
  144. package/dist/esm/kup-typography-list.entry.js +1 -1
  145. package/dist/esm/kup-typography.entry.js +1 -1
  146. package/dist/ketchup/index.esm.js +1 -1
  147. package/dist/ketchup/ketchup.esm.js +1 -1
  148. package/dist/ketchup/{p-8974500c.entry.js → p-114d9d11.entry.js} +1 -1
  149. package/dist/ketchup/{p-9104a5c3.js → p-15d810ea.js} +1 -1
  150. package/dist/ketchup/{p-94f6f941.js → p-15f4fc68.js} +1 -1
  151. package/dist/ketchup/{p-80912a13.entry.js → p-262a0af1.entry.js} +1 -1
  152. package/dist/ketchup/p-2711dab4.js +21 -0
  153. package/dist/ketchup/{p-21992470.entry.js → p-309b81f4.entry.js} +1 -1
  154. package/dist/ketchup/{p-aa532103.entry.js → p-38754ff6.entry.js} +1 -1
  155. package/dist/ketchup/{p-34da4117.entry.js → p-3c8961b1.entry.js} +1 -1
  156. package/dist/ketchup/{p-aeeaeeea.entry.js → p-483ae964.entry.js} +1 -1
  157. package/dist/ketchup/{p-7d438de7.entry.js → p-4f6f089e.entry.js} +1 -1
  158. package/dist/ketchup/{p-258bf980.js → p-6ae806dd.js} +1 -1
  159. package/dist/ketchup/{p-6b66ec24.entry.js → p-6c7fff41.entry.js} +1 -1
  160. package/dist/ketchup/{p-96fa6a29.entry.js → p-709440f1.entry.js} +1 -1
  161. package/dist/ketchup/{p-e65ac4a5.entry.js → p-796cc0f8.entry.js} +1 -1
  162. package/dist/ketchup/{p-e5abb901.entry.js → p-7f84629f.entry.js} +1 -1
  163. package/dist/ketchup/{p-4cb05c1e.entry.js → p-8ae49a3e.entry.js} +1 -1
  164. package/dist/ketchup/{p-f1b69618.entry.js → p-8bc75815.entry.js} +1 -1
  165. package/dist/ketchup/{p-68e462a1.entry.js → p-8d7a2013.entry.js} +1 -1
  166. package/dist/ketchup/{p-c6456221.entry.js → p-8d80e658.entry.js} +1 -1
  167. package/dist/ketchup/{p-3a97f303.entry.js → p-8e575560.entry.js} +1 -1
  168. package/dist/ketchup/{p-92bf33d0.entry.js → p-8ed76a35.entry.js} +1 -1
  169. package/dist/ketchup/{p-36ea09b5.js → p-9cb3bfdc.js} +1 -1
  170. package/dist/ketchup/{p-871237ca.entry.js → p-9cda618c.entry.js} +1 -1
  171. package/dist/ketchup/{p-6ebfa60b.js → p-b236ef40.js} +1 -1
  172. package/dist/ketchup/{p-e2c901a1.entry.js → p-b7871c09.entry.js} +1 -1
  173. package/dist/ketchup/{p-f004dcda.entry.js → p-bad337d3.entry.js} +1 -1
  174. package/dist/ketchup/{p-5c365dee.entry.js → p-c4cf0b17.entry.js} +1 -1
  175. package/dist/ketchup/{p-99b5f372.entry.js → p-d0f8a973.entry.js} +1 -1
  176. package/dist/ketchup/{p-32536327.entry.js → p-de4cab16.entry.js} +1 -1
  177. package/dist/ketchup/{p-8037340b.entry.js → p-e15c5b3a.entry.js} +1 -1
  178. package/dist/ketchup/p-e2383f1b.entry.js +1 -0
  179. package/dist/ketchup/{p-440287f2.entry.js → p-ea46e9d7.entry.js} +1 -1
  180. package/dist/ketchup/{p-c08847ee.entry.js → p-ec5e1e75.entry.js} +1 -1
  181. package/dist/ketchup/{p-938763d2.entry.js → p-ecad248f.entry.js} +2 -2
  182. package/dist/ketchup/{p-f583c2b5.js → p-effe0016.js} +1 -1
  183. package/dist/ketchup/{p-bc542b8f.entry.js → p-f26201d9.entry.js} +1 -1
  184. package/dist/ketchup/{p-5739e128.entry.js → p-ffc74a09.entry.js} +1 -1
  185. package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +1 -1
  186. package/dist/types/managers/kup-dynamic-position/kup-dynamic-position.d.ts +1 -0
  187. package/package.json +1 -1
  188. package/dist/ketchup/p-663f8e73.js +0 -21
  189. package/dist/ketchup/p-c42be181.entry.js +0 -1
@@ -1,16 +1,16 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
2
  import { F as FButton } from './f-button-3c8f4506.js';
3
- import { F as FCell, e as FLabel } from './f-cell-aeac2e47.js';
4
- import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, ah as getCellValueForDisplay, an as CHIAdapter, ak as CMBandACPAdapter, am as CHKAdapter, al as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-b6d8891e.js';
3
+ import { F as FCell, e as FLabel } from './f-cell-e6e9c8d8.js';
4
+ import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, ah as getCellValueForDisplay, an as CHIAdapter, ak as CMBandACPAdapter, am as CHKAdapter, al as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-ca69ab74.js';
5
5
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
6
6
  import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
7
7
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
8
8
  import './f-button-declarations-6c8f8abe.js';
9
9
  import './f-image-a2ecd7c3.js';
10
10
  import './f-checkbox-5cdd1cad.js';
11
- import './f-chip-df4b0f55.js';
12
- import './f-object-field-4b6ed309.js';
13
- import './f-text-field-e36e172f.js';
11
+ import './f-chip-f7cb2b1d.js';
12
+ import './f-object-field-cb42b11f.js';
13
+ import './f-text-field-f6ef7751.js';
14
14
  import './kup-dates-da19044e.js';
15
15
  import './component-a35bc7f1.js';
16
16
 
@@ -127,20 +127,26 @@ const getAbsoluteLeft = (col) => {
127
127
  }
128
128
  return (col - 1) * 10 * LEFT_MULTIPLIER;
129
129
  };
130
- const getInpComponentAbsoluteHeight = (layout) => {
131
- let inpRowHeight = 0;
132
- layout.sections.forEach((section) => {
133
- section.content.forEach((layoutField) => {
134
- if (layoutField.absoluteRow > inpRowHeight) {
135
- inpRowHeight =
136
- layoutField.absoluteRow +
137
- (layoutField.absoluteHeight > 1
138
- ? layoutField.absoluteHeight
139
- : 0);
140
- }
141
- });
142
- });
143
- return inpRowHeight;
130
+ const getInpComponentHeight = (layout) => {
131
+ var _a, _b;
132
+ if (!layout)
133
+ return 0;
134
+ const tblHeight = (_b = (_a = layout.sections
135
+ .flatMap((section) => section.content)
136
+ .find((field) => field.shape === FCellShapes.TABLE)) === null || _a === void 0 ? void 0 : _a.absoluteHeight) !== null && _b !== void 0 ? _b : null;
137
+ const maxRow = Math.max(0, ...layout.sections.flatMap((section) => section.content.map(
138
+ // -1 because if the absolute height is 1 the sum will result in a field with height 2
139
+ // A field with absoluteRow 1 and height 1 is only on row 1, not 1+1
140
+ (field) => field.absoluteRow + (field.absoluteHeight - 1))));
141
+ if (!tblHeight) {
142
+ // No TBL, all the rows have height 22
143
+ return maxRow * SPACED_ROW_HEIGHT;
144
+ }
145
+ else {
146
+ // There is a TBL, with a rows height of 20
147
+ // All the non-TBL rows still have height 22
148
+ return ((maxRow - tblHeight) * SPACED_ROW_HEIGHT + tblHeight * ROW_HEIGHT);
149
+ }
144
150
  };
145
151
  const graphicShapeHasIcon = (shape) => {
146
152
  return (shape === FCellShapes.AUTOCOMPLETE ||
@@ -371,7 +377,7 @@ const KupInputPanel = class {
371
377
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
372
378
  ]
373
379
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
374
- return (h(Host, { key: 'ca27e0988ad61aaacfb0178007bf9ee9f2ded44b', "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) => {
380
+ return (h(Host, { key: '1a2703a7799eb062cf96e2cf26e58c27db9c7bdc', "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) => {
375
381
  this.tabSelected = e.detail.node.id;
376
382
  }, "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) => {
377
383
  this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
@@ -379,7 +385,7 @@ const KupInputPanel = class {
379
385
  this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
380
386
  }, "onKup-objectfield-selectedmenuitem": (e) => {
381
387
  this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
382
- } }, h("style", { key: '8c9599af4ffd06dd9b838e58389d7b6e6f077873' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd9efc87a7f252b6071e35879802455a352ede255', id: componentWrapperId }, inputPanelContent)));
388
+ } }, h("style", { key: 'f401c31e0776590571d2ee7a4c0a3df8d9116b61' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '586d41f805ad741b579e27278a2b56a75d14522a', id: componentWrapperId }, inputPanelContent)));
383
389
  }
384
390
  disconnectedCallback() {
385
391
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -418,9 +424,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
418
424
  else {
419
425
  if (layout.absolute) {
420
426
  rowContent = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderAbsoluteLayout).call(this, inputPanelCell, layout);
421
- // 12px is added due to the chance that the horizontal scrollbar will be rendered
422
- styleObj.height = `${getInpComponentAbsoluteHeight(layout) * SPACED_ROW_HEIGHT +
423
- 12}px`;
427
+ styleObj.height = `${getInpComponentHeight(layout)}px`;
424
428
  }
425
429
  else {
426
430
  if (!layout.sectionsType) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-da19044e.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, aD as kupDropEvent, W as kupDraggableColumnAttr, aE as kupDraggableRowAttr, _ as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, aD as kupDropEvent, W as kupDraggableColumnAttr, aE as kupDraggableRowAttr, _ as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-ca69ab74.js';
3
3
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
4
4
  import { F as FImage } from './f-image-a2ecd7c3.js';
5
5
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
@@ -355,7 +355,7 @@ var __classPrivateFieldSet$3 = (undefined && undefined.__classPrivateFieldSet) |
355
355
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
356
356
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
357
357
  };
358
- var __classPrivateFieldGet$4 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
358
+ var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
359
359
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
360
360
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
361
361
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
@@ -384,7 +384,7 @@ class KupDebug {
384
384
  this.logs = [];
385
385
  __classPrivateFieldSet$3(this, _KupDebug_debugWidget, null, "f");
386
386
  document.addEventListener('kup-language-change', () => {
387
- if (this.active && __classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f")) {
387
+ if (this.active && __classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f")) {
388
388
  this.hideWidget();
389
389
  this.showWidget();
390
390
  }
@@ -592,7 +592,7 @@ class KupDebug {
592
592
  break;
593
593
  case 'kup-debug-clear':
594
594
  kupDebug.widgetClear();
595
- __classPrivateFieldGet$4(kupDebug, _KupDebug_debugWidget, "f").refresh();
595
+ __classPrivateFieldGet$5(kupDebug, _KupDebug_debugWidget, "f").refresh();
596
596
  break;
597
597
  case 'kup-debug-dl-props':
598
598
  kupDebug.getProps().then((res) => {
@@ -616,7 +616,7 @@ class KupDebug {
616
616
  case 'kup-debug-print':
617
617
  kupDebug.widgetClear();
618
618
  kupDebug.widgetPrint();
619
- __classPrivateFieldGet$4(kupDebug, _KupDebug_debugWidget, "f").refresh();
619
+ __classPrivateFieldGet$5(kupDebug, _KupDebug_debugWidget, "f").refresh();
620
620
  break;
621
621
  }
622
622
  break;
@@ -651,14 +651,14 @@ class KupDebug {
651
651
  * Closes the debug widget.
652
652
  */
653
653
  hideWidget() {
654
- __classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f").remove();
654
+ __classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f").remove();
655
655
  __classPrivateFieldSet$3(this, _KupDebug_debugWidget, null, "f");
656
656
  }
657
657
  /**
658
658
  * Clears all the printed logs inside the debug widget.
659
659
  */
660
660
  widgetClear() {
661
- const children = Array.prototype.slice.call(__classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f").children, 0);
661
+ const children = Array.prototype.slice.call(__classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f").children, 0);
662
662
  for (let index = 0; index < children.length; index++) {
663
663
  children[index].remove();
664
664
  }
@@ -724,7 +724,7 @@ class KupDebug {
724
724
  }
725
725
  slots.reverse();
726
726
  for (let index = 0; index < slots.length; index++) {
727
- __classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f").append(slots[index]);
727
+ __classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f").append(slots[index]);
728
728
  }
729
729
  }
730
730
  /**
@@ -799,13 +799,13 @@ class KupDebug {
799
799
  }
800
800
  if (this.active) {
801
801
  document.dispatchEvent(new CustomEvent('kup-debug-active'));
802
- if (!__classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f")) {
802
+ if (!__classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f")) {
803
803
  this.showWidget();
804
804
  }
805
805
  }
806
806
  else {
807
807
  document.dispatchEvent(new CustomEvent('kup-debug-inactive'));
808
- if (__classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f")) {
808
+ if (__classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f")) {
809
809
  this.hideWidget();
810
810
  }
811
811
  }
@@ -940,10 +940,10 @@ class KupDebug {
940
940
  this.dump();
941
941
  }
942
942
  this.logs.push(log);
943
- if (this.autoPrint && __classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f")) {
943
+ if (this.autoPrint && __classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f")) {
944
944
  this.widgetClear();
945
945
  this.widgetPrint();
946
- __classPrivateFieldGet$4(this, _KupDebug_debugWidget, "f").refresh();
946
+ __classPrivateFieldGet$5(this, _KupDebug_debugWidget, "f").refresh();
947
947
  }
948
948
  }
949
949
  switch (category) {
@@ -1042,6 +1042,12 @@ var KupDynamicPositionPlacement;
1042
1042
  KupDynamicPositionPlacement["TOP_RIGHT"] = "tr";
1043
1043
  })(KupDynamicPositionPlacement || (KupDynamicPositionPlacement = {}));
1044
1044
 
1045
+ var __classPrivateFieldGet$4 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
1046
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
1047
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1048
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1049
+ };
1050
+ var _KupDynamicPosition_instances, _KupDynamicPosition_setSubMenuPosition;
1045
1051
  const dom$h = document.documentElement;
1046
1052
  /**
1047
1053
  * This class is used to dynamically reposition HTML elements.
@@ -1052,6 +1058,7 @@ class KupDynamicPosition {
1052
1058
  * Initializes KupDynamicPosition.
1053
1059
  */
1054
1060
  constructor() {
1061
+ _KupDynamicPosition_instances.add(this);
1055
1062
  this.container = document.createElement('div');
1056
1063
  this.container.setAttribute('kup-dynamic-position', '');
1057
1064
  document.body.appendChild(this.container);
@@ -1283,6 +1290,7 @@ class KupDynamicPosition {
1283
1290
  el.style.left = `${left}px`;
1284
1291
  }
1285
1292
  }
1293
+ __classPrivateFieldGet$4(this, _KupDynamicPosition_instances, "m", _KupDynamicPosition_setSubMenuPosition).call(this, el);
1286
1294
  }
1287
1295
  reposition(el) {
1288
1296
  if (el.isConnected &&
@@ -1351,6 +1359,35 @@ class KupDynamicPosition {
1351
1359
  : undefined;
1352
1360
  }
1353
1361
  }
1362
+ _KupDynamicPosition_instances = new WeakSet(), _KupDynamicPosition_setSubMenuPosition = function _KupDynamicPosition_setSubMenuPosition(parentElement) {
1363
+ var _a;
1364
+ const SubMenuClass = {
1365
+ MAIN: 'nested-class',
1366
+ ALIGN_RIGHT: 'align-right',
1367
+ ALIGN_LEFT: 'align-left',
1368
+ };
1369
+ const subMenuElementList = (_a = parentElement === null || parentElement === void 0 ? void 0 : parentElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${SubMenuClass.MAIN}`);
1370
+ if (!(subMenuElementList === null || subMenuElementList === void 0 ? void 0 : subMenuElementList.length)) {
1371
+ return;
1372
+ }
1373
+ const menuRect = parentElement.getBoundingClientRect();
1374
+ subMenuElementList.forEach((subMenuElement) => {
1375
+ subMenuElement.classList.remove(SubMenuClass.ALIGN_LEFT, SubMenuClass.ALIGN_RIGHT);
1376
+ const subMenuRect = subMenuElement.getBoundingClientRect();
1377
+ const subMenuRightEdge = menuRect.right + subMenuRect.width;
1378
+ const isOverflowRight = subMenuRightEdge > window.innerWidth;
1379
+ const subMenuLeftEdge = menuRect.left - subMenuRect.width;
1380
+ const isOverflowLeft = subMenuLeftEdge < 0;
1381
+ if (isOverflowRight && isOverflowLeft) {
1382
+ return;
1383
+ }
1384
+ subMenuElement.classList.add(isOverflowRight
1385
+ ? // Render on the left side of the menu
1386
+ SubMenuClass.ALIGN_LEFT
1387
+ : // Render on the right side of the menu
1388
+ SubMenuClass.ALIGN_RIGHT);
1389
+ });
1390
+ };
1354
1391
 
1355
1392
  var interact_min = {exports: {}};
1356
1393
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-da19044e.js';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, c as KupDynamicPositionPlacement, u as KupCardFamily } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, c as KupDynamicPositionPlacement, u as KupCardFamily } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import { F as FTextField } from './f-text-field-e36e172f.js';
4
+ import { F as FTextField } from './f-text-field-f6ef7751.js';
5
5
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
6
6
  import './kup-dates-da19044e.js';
7
7
  import './f-image-a2ecd7c3.js';
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { F as FObjectField } from './f-object-field-4b6ed309.js';
3
- import { k as kupManagerInstance, g as getProps } from './kup-manager-b6d8891e.js';
2
+ import { F as FObjectField } from './f-object-field-cb42b11f.js';
3
+ import { k as kupManagerInstance, g as getProps } from './kup-manager-ca69ab74.js';
4
4
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
5
5
  import './f-button-3c8f4506.js';
6
6
  import './f-button-declarations-6c8f8abe.js';
7
7
  import './f-image-a2ecd7c3.js';
8
- import './f-text-field-e36e172f.js';
8
+ import './f-text-field-f6ef7751.js';
9
9
  import './kup-dates-da19044e.js';
10
10
 
11
11
  /**
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import { e as getAugmentedNamespace, f as commonjsRequire, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
5
5
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, ah as getCellValueForDisplay, g as getProps, s as setProps, b as KupThemeIconValues, t as KupLanguageSearch } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, ah as getCellValueForDisplay, g as getProps, s as setProps, b as KupThemeIconValues, t as KupLanguageSearch } from './kup-manager-ca69ab74.js';
3
3
  import { K as KupPlannerGanttRowType, d as defaultStylingOptions, a as KupPlannerTaskAction, b as KupPlannerLastOnChangeReceived, c as KupPlannerProps } from './kup-planner-declarations-0704bc6c.js';
4
4
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
5
- import { F as FTextField } from './f-text-field-e36e172f.js';
5
+ import { F as FTextField } from './f-text-field-f6ef7751.js';
6
6
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
7
7
  import './kup-dates-da19044e.js';
8
8
  import './f-image-a2ecd7c3.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-da19044e.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance } from './kup-manager-ca69ab74.js';
3
3
  import './kup-dates-da19044e.js';
4
4
 
5
5
  const kupQlikCss = ".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}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-subtle, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import { F as FButton } from './f-button-3c8f4506.js';
5
5
  import './kup-dates-da19044e.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-da19044e.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, e as KupDebugCategory, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, e as KupDebugCategory, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { a as FTypographyType, F as FTypography } from './f-typography-8c914ec6.js';
4
4
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
5
5
  import './kup-dates-da19044e.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, c as KupDynamicPositionPlacement, g as getProps, s as setProps } from './kup-manager-b6d8891e.js';
2
+ import { k as kupManagerInstance, c as KupDynamicPositionPlacement, g as getProps, s as setProps } from './kup-manager-ca69ab74.js';
3
3
  import { a as FTypographyType, F as FTypography } from './f-typography-8c914ec6.js';
4
4
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
5
5
  import { F as FImage } from './f-image-a2ecd7c3.js';
@@ -1 +1 @@
1
- import{K as p}from"./p-663f8e73.js";import"./p-1ee561ba.js";import"./p-710d0a7d.js";function r(r){return new p(r)}export{r as newKupManager}
1
+ import{K as p}from"./p-2711dab4.js";import"./p-1ee561ba.js";import"./p-710d0a7d.js";function r(r){return new p(r)}export{r as newKupManager}