@sme.up/ketchup 11.0.0-SNAPSHOT-20250304084455 → 11.0.0-SNAPSHOT-20250304101532

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 (200) hide show
  1. package/dist/cjs/{f-cell-85a6d34f.js → f-cell-99cd86a8.js} +6 -6
  2. package/dist/cjs/{f-chip-2ef57266.js → f-chip-5e3aac74.js} +142 -20
  3. package/dist/cjs/{f-object-field-e3ce50b0.js → f-object-field-db728a84.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-bf7943d7.js → f-paginator-utils-b2e5e10a.js} +1 -1
  5. package/dist/cjs/{f-text-field-a60f6360.js → f-text-field-4399a408.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 +37 -164
  11. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  12. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  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-d466baa3.js → kup-data-table-helper-8ffff1e7.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 +1 -1
  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 +5 -5
  25. package/dist/cjs/kup-input-panel.cjs.entry.js +8 -11
  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-6aa5ac5c.js → kup-manager-83ec79ff.js} +2 -2
  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.js +27 -6
  42. package/dist/collection/components/kup-chip/kup-chip.js +25 -2
  43. package/dist/collection/components/kup-combobox/kup-combobox.js +27 -2
  44. package/dist/collection/components/kup-data-table/kup-data-table.js +14 -10
  45. package/dist/collection/components/kup-input-panel/kup-input-panel.js +3 -6
  46. package/dist/collection/f-components/f-cell/f-cell.js +2 -2
  47. package/dist/collection/f-components/f-chip/f-chip.js +9 -19
  48. package/dist/components/index.js +1 -1
  49. package/dist/components/kup-accordion.js +2 -2
  50. package/dist/components/kup-activity-timeline.js +2 -2
  51. package/dist/components/kup-autocomplete.js +1 -1
  52. package/dist/components/kup-badge.js +1 -1
  53. package/dist/components/kup-box.js +1 -1
  54. package/dist/components/kup-button-list.js +1 -1
  55. package/dist/components/kup-button.js +1 -1
  56. package/dist/components/kup-calendar.js +2 -2
  57. package/dist/components/kup-card-list.js +3 -3
  58. package/dist/components/kup-card.js +1 -1
  59. package/dist/components/kup-cell.js +2 -2
  60. package/dist/components/kup-chart.js +1 -1
  61. package/dist/components/kup-checkbox.js +1 -1
  62. package/dist/components/kup-chip.js +1 -1
  63. package/dist/components/kup-color-picker.js +1 -1
  64. package/dist/components/kup-combobox.js +1 -1
  65. package/dist/components/kup-dashboard.js +2 -2
  66. package/dist/components/kup-data-table.js +1 -1
  67. package/dist/components/kup-date-picker.js +1 -1
  68. package/dist/components/kup-dialog.js +1 -1
  69. package/dist/components/kup-drawer.js +2 -2
  70. package/dist/components/kup-dropdown-button.js +1 -1
  71. package/dist/components/kup-echart.js +1 -1
  72. package/dist/components/kup-editor.js +1 -1
  73. package/dist/components/kup-family-tree.js +3 -3
  74. package/dist/components/kup-file-upload.js +1 -1
  75. package/dist/components/kup-form.js +1 -1
  76. package/dist/components/kup-gauge.js +1 -1
  77. package/dist/components/kup-grid.js +1 -1
  78. package/dist/components/kup-htm.js +2 -2
  79. package/dist/components/kup-iframe.js +2 -2
  80. package/dist/components/kup-image-list.js +2 -2
  81. package/dist/components/kup-image.js +1 -1
  82. package/dist/components/kup-input-panel.js +6 -9
  83. package/dist/components/kup-lazy.js +2 -2
  84. package/dist/components/kup-list.js +1 -1
  85. package/dist/components/kup-magic-box.js +4 -4
  86. package/dist/components/kup-nav-bar.js +2 -2
  87. package/dist/components/kup-numeric-picker.js +2 -2
  88. package/dist/components/kup-object-field.js +2 -2
  89. package/dist/components/kup-pdf.js +2 -2
  90. package/dist/components/kup-planner.js +2 -2
  91. package/dist/components/kup-probe.js +2 -2
  92. package/dist/components/kup-progress-bar.js +1 -1
  93. package/dist/components/kup-qlik.js +2 -2
  94. package/dist/components/kup-radio.js +1 -1
  95. package/dist/components/kup-rating.js +1 -1
  96. package/dist/components/kup-snackbar.js +2 -2
  97. package/dist/components/kup-spinner.js +1 -1
  98. package/dist/components/kup-switch.js +1 -1
  99. package/dist/components/kup-tab-bar.js +1 -1
  100. package/dist/components/kup-text-field.js +1 -1
  101. package/dist/components/kup-time-picker.js +1 -1
  102. package/dist/components/kup-toolbar.js +1 -1
  103. package/dist/components/kup-tree.js +1 -1
  104. package/dist/components/kup-txt.js +2 -2
  105. package/dist/components/kup-typography-list.js +2 -2
  106. package/dist/components/kup-typography.js +2 -2
  107. package/dist/components/{p-0dc6d3d0.js → p-1e6b3f9c.js} +2 -2
  108. package/dist/components/{p-d7f8098a.js → p-6d8f94ab.js} +38 -42
  109. package/dist/components/{p-742fd4a8.js → p-8ce40321.js} +2 -2
  110. package/dist/components/{p-7a9e046d.js → p-a56976e4.js} +2 -2
  111. package/dist/components/{p-c0bf6472.js → p-c48fc437.js} +2 -2
  112. package/dist/components/{p-7855d728.js → p-cddf3f40.js} +2 -2
  113. package/dist/esm/{f-cell-bb40a68f.js → f-cell-4a9e9143.js} +6 -6
  114. package/dist/esm/{f-chip-e1c5f820.js → f-chip-03456661.js} +141 -21
  115. package/dist/esm/{f-object-field-679ee903.js → f-object-field-6f62d1eb.js} +2 -2
  116. package/dist/esm/{f-paginator-utils-d3a189e5.js → f-paginator-utils-08092423.js} +1 -1
  117. package/dist/esm/{f-text-field-caef463f.js → f-text-field-90415eb0.js} +1 -1
  118. package/dist/esm/index.js +1 -1
  119. package/dist/esm/ketchup.js +1 -1
  120. package/dist/esm/kup-accordion.entry.js +1 -1
  121. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  122. package/dist/esm/kup-autocomplete_29.entry.js +31 -158
  123. package/dist/esm/kup-box.entry.js +7 -7
  124. package/dist/esm/kup-calendar.entry.js +2 -2
  125. package/dist/esm/kup-card-list.entry.js +1 -1
  126. package/dist/esm/kup-cell.entry.js +5 -5
  127. package/dist/esm/kup-dashboard.entry.js +2 -2
  128. package/dist/esm/{kup-data-table-helper-0cb9e65d.js → kup-data-table-helper-f31401da.js} +1 -1
  129. package/dist/esm/kup-drawer.entry.js +1 -1
  130. package/dist/esm/kup-echart.entry.js +1 -1
  131. package/dist/esm/kup-editor.entry.js +1 -1
  132. package/dist/esm/kup-family-tree.entry.js +1 -1
  133. package/dist/esm/kup-grid.entry.js +1 -1
  134. package/dist/esm/kup-htm.entry.js +1 -1
  135. package/dist/esm/kup-iframe.entry.js +1 -1
  136. package/dist/esm/kup-image-list.entry.js +5 -5
  137. package/dist/esm/kup-input-panel.entry.js +8 -11
  138. package/dist/esm/kup-lazy.entry.js +1 -1
  139. package/dist/esm/kup-magic-box.entry.js +1 -1
  140. package/dist/esm/{kup-manager-2cf94be2.js → kup-manager-12a6fbac.js} +2 -2
  141. package/dist/esm/kup-nav-bar.entry.js +1 -1
  142. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  143. package/dist/esm/kup-object-field.entry.js +3 -3
  144. package/dist/esm/kup-pdf.entry.js +1 -1
  145. package/dist/esm/kup-planner.entry.js +2 -2
  146. package/dist/esm/kup-probe.entry.js +1 -1
  147. package/dist/esm/kup-qlik.entry.js +1 -1
  148. package/dist/esm/kup-snackbar.entry.js +1 -1
  149. package/dist/esm/kup-txt.entry.js +1 -1
  150. package/dist/esm/kup-typography-list.entry.js +1 -1
  151. package/dist/esm/kup-typography.entry.js +1 -1
  152. package/dist/esm/loader.js +1 -1
  153. package/dist/ketchup/index.esm.js +1 -1
  154. package/dist/ketchup/ketchup.esm.js +1 -1
  155. package/dist/ketchup/{p-1b6c9425.entry.js → p-0255643e.entry.js} +1 -1
  156. package/dist/ketchup/{p-1765a3a0.entry.js → p-04cc5055.entry.js} +1 -1
  157. package/dist/ketchup/{p-77544225.js → p-091a23a7.js} +2 -2
  158. package/dist/ketchup/{p-c29f7db8.entry.js → p-0c284c5d.entry.js} +1 -1
  159. package/dist/ketchup/{p-c700f440.entry.js → p-0f6b7f14.entry.js} +1 -1
  160. package/dist/ketchup/{p-26ca1580.entry.js → p-1e10cede.entry.js} +1 -1
  161. package/dist/ketchup/{p-b52a2816.entry.js → p-240e7b18.entry.js} +1 -1
  162. package/dist/ketchup/p-2478ab90.entry.js +9 -0
  163. package/dist/ketchup/{p-70c88bf6.entry.js → p-2dcf63fd.entry.js} +1 -1
  164. package/dist/ketchup/{p-2b3fa234.js → p-3aa5d7ca.js} +1 -1
  165. package/dist/ketchup/{p-df047fd2.entry.js → p-3aca3561.entry.js} +1 -1
  166. package/dist/ketchup/{p-30b25338.entry.js → p-3f2339e4.entry.js} +1 -1
  167. package/dist/ketchup/{p-0dd89a8d.entry.js → p-405384e3.entry.js} +1 -1
  168. package/dist/ketchup/{p-6daba984.js → p-5543dfb6.js} +1 -1
  169. package/dist/ketchup/{p-9cb57011.entry.js → p-5c1e6ed7.entry.js} +1 -1
  170. package/dist/ketchup/p-5e3c53fb.js +1 -0
  171. package/dist/ketchup/{p-9df490a7.entry.js → p-70dfb0e1.entry.js} +1 -1
  172. package/dist/ketchup/{p-e871267c.entry.js → p-7110887e.entry.js} +1 -1
  173. package/dist/ketchup/{p-b2a360d3.entry.js → p-71600ae7.entry.js} +1 -1
  174. package/dist/ketchup/{p-9aaeb760.entry.js → p-76463800.entry.js} +1 -1
  175. package/dist/ketchup/{p-a6eb5435.entry.js → p-7e14bd12.entry.js} +1 -1
  176. package/dist/ketchup/{p-42b6c541.entry.js → p-81a96da0.entry.js} +1 -1
  177. package/dist/ketchup/{p-937ce346.entry.js → p-8412f3a5.entry.js} +1 -1
  178. package/dist/ketchup/{p-1e84b42e.entry.js → p-941facfa.entry.js} +1 -1
  179. package/dist/ketchup/{p-65229dac.entry.js → p-9befeab0.entry.js} +1 -1
  180. package/dist/ketchup/{p-35347b66.js → p-a9dae8cf.js} +1 -1
  181. package/dist/ketchup/{p-3dd9aa12.js → p-b14e559c.js} +1 -1
  182. package/dist/ketchup/{p-399cdcc4.entry.js → p-b3c1004a.entry.js} +1 -1
  183. package/dist/ketchup/{p-1ca7e242.entry.js → p-b411ecf8.entry.js} +1 -1
  184. package/dist/ketchup/{p-ee83c5b7.entry.js → p-c8803f17.entry.js} +1 -1
  185. package/dist/ketchup/{p-3195d0d0.entry.js → p-d180c246.entry.js} +1 -1
  186. package/dist/ketchup/{p-1a3e3ea6.js → p-d5d194ce.js} +1 -1
  187. package/dist/ketchup/{p-43dfb613.entry.js → p-dc830a56.entry.js} +1 -1
  188. package/dist/ketchup/{p-77eac892.entry.js → p-e3261693.entry.js} +1 -1
  189. package/dist/ketchup/{p-f9b5bd3d.entry.js → p-f432167f.entry.js} +1 -1
  190. package/dist/ketchup/{p-965c7e24.entry.js → p-f45fdcfd.entry.js} +1 -1
  191. package/dist/ketchup/{p-f34adc5a.entry.js → p-f7612f29.entry.js} +1 -1
  192. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +4 -0
  193. package/dist/types/components/kup-chip/kup-chip.d.ts +5 -0
  194. package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
  195. package/dist/types/components.d.ts +26 -0
  196. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +1 -1
  197. package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +1 -0
  198. package/package.json +1 -1
  199. package/dist/ketchup/p-d0cf9c5e.js +0 -1
  200. package/dist/ketchup/p-d1578aab.entry.js +0 -9
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-ef8cbd35.js';
2
- import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as KupLanguageUpload, ad as identify, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as FixedCellsClasses, an as FixedCellsCSSVarsBase, ao as KupLanguageFontsize, ap as KupLanguageDensity, aq as KupLanguageGrid, ar as KupDataTableProps, as as DataTableAreasEnum, at as iconColumn, au as keyColumn, av as fieldColumn, aw as KupCardProps } from './p-0dc6d3d0.js';
2
+ import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as KupLanguageUpload, ad as identify, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as FixedCellsClasses, an as FixedCellsCSSVarsBase, ao as KupLanguageFontsize, ap as KupLanguageDensity, aq as KupLanguageGrid, ar as KupDataTableProps, as as DataTableAreasEnum, at as iconColumn, au as keyColumn, av as fieldColumn, aw as KupCardProps } from './p-1e6b3f9c.js';
3
3
  import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
4
4
  import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-1581348d.js';
5
5
 
@@ -4592,6 +4592,9 @@ const FChip = (props) => {
4592
4592
  if (!props.type) {
4593
4593
  props.type = FChipType.STANDARD;
4594
4594
  }
4595
+ if (!props.displayMode) {
4596
+ props.displayMode = ItemsDisplayMode.DESCRIPTION;
4597
+ }
4595
4598
  const isChoice = props.type.toLowerCase() === FChipType.CHOICE;
4596
4599
  const isFilter = props.type.toLowerCase() === FChipType.FILTER;
4597
4600
  const isInput = props.type.toLowerCase() === FChipType.INPUT;
@@ -4624,6 +4627,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
4624
4627
  const indentStyle = {
4625
4628
  ['--kup_chip_indent_offset']: indent.toString(),
4626
4629
  };
4630
+ const isDisabled = props.disabled;
4627
4631
  chipGroup.push(h("div", { class: `chip-set__wrapper ${hasChildren && !showChildren
4628
4632
  ? 'chip-set__wrapper--hidden-children'
4629
4633
  : ''}` },
@@ -4635,7 +4639,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
4635
4639
  '/' +
4636
4640
  dom$h.ketchup.language.translate(KupLanguageGeneric.COLLAPSE) +
4637
4641
  ' (CTRL + Click)', wrapperClass: "dropdown-icon" })) : indent ? (h(FImage, { resource: "blank", sizeX: "16px", sizeY: "16px", wrapperClass: "dropdown-icon" })) : null,
4638
- createChip(chip)));
4642
+ createChip(chip, isDisabled)));
4639
4643
  if (showChildren) {
4640
4644
  for (let index = 0; index < chip.children.length; index++) {
4641
4645
  if (chip.children[index]) {
@@ -4644,10 +4648,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
4644
4648
  }
4645
4649
  }
4646
4650
  }
4647
- function createChip(chip) {
4648
- var _a;
4651
+ function createChip(chip, disabled) {
4649
4652
  const onlyIcon = !!(chip.icon && !chip.value);
4650
- let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''}`;
4653
+ let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled && 'chip--disabled'}`;
4651
4654
  let iconEl = [];
4652
4655
  let iconClass = 'chip__icon chip__icon--leading';
4653
4656
  if (isFilter || isChoice) {
@@ -4676,21 +4679,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
4676
4679
  h("svg", { class: "chip__checkmark-svg", viewBox: "-2 -3 30 30" },
4677
4680
  h("path", { class: "chip__checkmark-path", fill: "none", stroke: "black", d: "M1.73,12.91 8.1,19.28 22.79,4.59" }))));
4678
4681
  }
4679
- let chipText = '';
4680
- switch (props.displayMode) {
4681
- case ItemsDisplayMode.CODE:
4682
- chipText = chip.id;
4683
- break;
4684
- case ItemsDisplayMode.DESCRIPTION:
4685
- chipText = chip.value;
4686
- break;
4687
- case ItemsDisplayMode.CODE_AND_DESC:
4688
- chipText = chip.id + ' - ' + chip.value;
4689
- break;
4690
- default:
4691
- chipText = (_a = chip.value) !== null && _a !== void 0 ? _a : chip.id;
4692
- break;
4693
- }
4682
+ let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
4694
4683
  return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
4695
4684
  ? props.onClick[i].bind(props.onClick[i], chip)
4696
4685
  : null, role: "row", title: chip.title ? chip.title : '' },
@@ -5744,11 +5733,11 @@ function setEditableCell(cellType, classObj, cell, column, props) {
5744
5733
  return h("kup-file-upload", Object.assign({}, cell.data));
5745
5734
  case FCellTypes.MULTI_AUTOCOMPLETE: {
5746
5735
  return (h("kup-chip", Object.assign({ displayMode: (_a = cell.data.displayMode) !== null && _a !== void 0 ? _a : ItemsDisplayMode.DESCRIPTION }, cell.data, { label: (_c = (_b = cell.slotData) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : '', type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
5747
- h("kup-autocomplete", { class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, selectMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false })));
5736
+ h("kup-autocomplete", { class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false })));
5748
5737
  }
5749
5738
  case FCellTypes.MULTI_COMBOBOX:
5750
5739
  return (h("kup-chip", Object.assign({ displayMode: (_l = cell.data.displayMode) !== null && _l !== void 0 ? _l : ItemsDisplayMode.DESCRIPTION }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
5751
- h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, selectMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_m = cell.tooltip) !== null && _m !== void 0 ? _m : false }))));
5740
+ h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_m = cell.tooltip) !== null && _m !== void 0 ? _m : false }))));
5752
5741
  case FCellTypes.RADIO:
5753
5742
  return (h(FRadio, Object.assign({}, cell.data, { disabled: false, onChange: (i, e) => {
5754
5743
  const radioData = cell.data.data;
@@ -23752,6 +23741,10 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
23752
23741
  ? [...state.visibleColumns]
23753
23742
  : undefined;
23754
23743
  }
23744
+ else {
23745
+ __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting initial stateId ' + this.stateId);
23746
+ this.store.persistState(this.stateId, this.state);
23747
+ }
23755
23748
  }
23756
23749
  }
23757
23750
  persistState() {
@@ -24853,7 +24846,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24853
24846
  }
24854
24847
  let rows = null;
24855
24848
  if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
24856
- rows = (h$1("tr", { key: '44aa2662a98a9af4ea08d8ebf142ee069aa8c651', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '0761eba2a9e617c3e70e795dffd45b97037703ee', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
24849
+ rows = (h$1("tr", { key: '3b935ea885faeb04c873641dd44e687fef08291c', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '3d2443a3b942c6c7c448aee0b08d294e24a6583c', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
24857
24850
  }
24858
24851
  else {
24859
24852
  rows = [];
@@ -24918,7 +24911,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24918
24911
  for (let i = 0; i < chipsData.length; i++) {
24919
24912
  props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
24920
24913
  }
24921
- groupChips = h$1(FChip, Object.assign({ key: 'f2c04641aab53ecea3cfe594ea8610daa3b4f392' }, props));
24914
+ groupChips = h$1(FChip, Object.assign({ key: '7cf9bb157232dd49ff9c5353f8e8818eeb657747' }, props));
24922
24915
  }
24923
24916
  }
24924
24917
  const tableClass = {
@@ -24950,7 +24943,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24950
24943
  if (this.headerIsPersistent &&
24951
24944
  this.tableHeight === undefined &&
24952
24945
  this.tableWidth === undefined) {
24953
- stickyEl = (h$1("sticky-header", { key: '44763f547ec797aaac6402d04890cbb6bf6e7bfc', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: '89cc6e76dc6eb7ef48df8c1c866a4fa864cb6715' }, h$1("tr-sticky", { key: '77569ed751574a2e7e3fcbccf907187ab801a7e3' }, stickyHeader))));
24946
+ stickyEl = (h$1("sticky-header", { key: '4ebee58565a99ad333fe8829b6a00be452fc4b54', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: 'b1cab09c983671c10a20eed31266354544aa92b4' }, h$1("tr-sticky", { key: '648d8c10c2ca787f64c0bdf7d6626abc61af8832' }, stickyHeader))));
24954
24947
  }
24955
24948
  let belowClass = 'below-wrapper';
24956
24949
  if (!!this.tableHeight || !!this.tableWidth) {
@@ -24996,7 +24989,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
24996
24989
  const useGlobalFilter = !this.legacyLook &&
24997
24990
  (this.globalFilter ||
24998
24991
  this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
24999
- const compCreated = (h$1(Host, { key: '5cac5e800667c1bca3e0e5cfe16f3bc89762b8ae', "onKup-drop": (e) => {
24992
+ const compCreated = (h$1(Host, { key: 'f0de1bf91adc23c60038a86ffcd3154cfe12132c', "onKup-drop": (e) => {
25000
24993
  this.kupDataTableDrop.emit(e.detail);
25001
24994
  }, "onKup-cell-input": (e) => {
25002
24995
  autoselectOnAction(e);
@@ -25011,11 +25004,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
25011
25004
  this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
25012
25005
  }, "onKup-objectfield-selectedmenuitem": (e) => {
25013
25006
  this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
25014
- } }, h$1("style", { key: 'b93dc3a5e19a4d99ddab29c3fd6c40e26ccaa8e5' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: '11c25be09e7bedd447053e81344de60aaa35e4fe', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '6f2f0c7241daa8d717d251a8c210d381de05bad3', class: "group-wrapper" }, groupChips), h$1("div", { key: '959bb6fa3cea1933f10231a897c78e9dc38631bf', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
25007
+ } }, h$1("style", { key: '80427b3ea45b719aba58ff2fb1cbadde142c1e7b' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: 'e17aa2dcd81b7603123deb98d2f243d814af0882', id: componentWrapperId, class: wrapClass }, h$1("div", { key: 'ee5d899eb4a8cb9dee042b3641314fb4d51269d0', class: "group-wrapper" }, groupChips), h$1("div", { key: '95034f19273c4e2d6b2c565510ec11889e094b64', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
25015
25008
  const t = event.target;
25016
25009
  window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
25017
25010
  __classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
25018
- } }))) : null, h$1("div", { key: 'f69d2d5a4065d6cd598a08ee87d6d795c539ef75', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
25011
+ } }))) : null, h$1("div", { key: '2cbf20566978467ea2c8f31d9d8083cc25caf5ef', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
25019
25012
  this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
25020
25013
  this.kupSave.emit({
25021
25014
  comp: this,
@@ -25065,9 +25058,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
25065
25058
  this.data.rows.unshift(row);
25066
25059
  await this.refresh(true);
25067
25060
  }
25068
- }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '0f11d6809cca096c210251096f703af2f83b5e29', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
25061
+ }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: 'fb1bc234b14babe7132fdccb58b360732c182ddf', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
25069
25062
  ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
25070
- : null), h$1("div", { key: '214287c7959fff5e1a28f6f2ac0813891f2b3859', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
25063
+ : null), h$1("div", { key: 'f782b61c42838bf1594caede4fee06a457cd44c1', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
25071
25064
  ? [
25072
25065
  h$1("div", { class: "settings-trigger", onClick: () => {
25073
25066
  __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
@@ -25076,7 +25069,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
25076
25069
  } }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
25077
25070
  this.renderCustomizePanel(),
25078
25071
  ]
25079
- : null, h$1("table", { key: 'cfe4951c91c36910578fa3afe393d068045f04e1', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
25072
+ : null, h$1("table", { key: '82d1056d837505f9ce3e3d59f3554fafa53446c0', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
25080
25073
  ev.stopPropagation();
25081
25074
  }, onPointerDown: (e) => {
25082
25075
  __classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
@@ -25084,7 +25077,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
25084
25077
  __classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
25085
25078
  }, onContextMenu: (e) => {
25086
25079
  e.preventDefault();
25087
- } }, h$1("thead", { key: 'd643e84bf3bc52eed581c812b55a132c93be848f', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'dd572d85cd18aec9c5c1b5a4c03372f7df532256' }, header)), h$1("tbody", { key: 'e1176e57cc39af52f69209f50653f68165bb8d1e' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
25080
+ } }, h$1("thead", { key: '4c65298c63c67ff1c14ea6e1d10fe6ca06c9833c', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'bf2b2b0eef4e56a8d2254881eb884324f16ce9ef' }, header)), h$1("tbody", { key: '31f0156008ef84ec3d3d73f86f41d63a614878a8' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
25088
25081
  __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
25089
25082
  return compCreated;
25090
25083
  }
@@ -28002,6 +27995,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
28002
27995
  this.data = undefined;
28003
27996
  this.disabled = false;
28004
27997
  this.displayMode = ItemsDisplayMode.DESCRIPTION;
27998
+ this.listDisplayMode = ItemsDisplayMode.DESCRIPTION;
28005
27999
  this.error = '';
28006
28000
  this.icon = null;
28007
28001
  this.initialValue = '';
@@ -28263,7 +28257,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
28263
28257
  };
28264
28258
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
28265
28259
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
28266
- return (h$1(Host, { key: 'a2da35eaa1b7925b502aca7158c39bf0fcab1710', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1("style", { key: 'c5ad52389a102e2642dc99338b7d5ae4d015544b' }, __classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '8049da077963399045499e87b37faf49bb559394', id: componentWrapperId, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1(FTextField, Object.assign({ key: '8f9816850ec658cfe634cecc8ebbf45eb42fad77' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
28260
+ return (h$1(Host, { key: '7a79e1f9225b8e7c6333e23cf661e866b561be5b', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1("style", { key: '1c6ccb9f133f50b27fac94d7372d97b6be9d7087' }, __classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '5f89a091c92a2483ae68883a022ace37e815bf99', id: componentWrapperId, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1(FTextField, Object.assign({ key: 'ac79467e90eeb6d3b0f6dae5277e2364e7143ca6' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
28267
28261
  ? KupThemeIconValues.DROPDOWN
28268
28262
  : null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
28269
28263
  }
@@ -28286,6 +28280,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
28286
28280
  "data": [16],
28287
28281
  "disabled": [4],
28288
28282
  "displayMode": [1, "display-mode"],
28283
+ "listDisplayMode": [1, "list-display-mode"],
28289
28284
  "error": [1],
28290
28285
  "icon": [1],
28291
28286
  "initialValue": [1, "initial-value"],
@@ -28371,7 +28366,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
28371
28366
  }
28372
28367
  }, _KupCombobox_prepList = function _KupCombobox_prepList() {
28373
28368
  var _a, _b;
28374
- return (h$1("kup-list", Object.assign({ displayMode: ItemsDisplayMode.CODE_AND_DESC }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$1(this, _KupCombobox_listEl, el, "f")) })));
28369
+ return (h$1("kup-list", Object.assign({ displayMode: this.listDisplayMode }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$1(this, _KupCombobox_listEl, el, "f")) })));
28375
28370
  };
28376
28371
  function defineCustomElement$9() {
28377
28372
  if (typeof customElements === "undefined") {
@@ -28972,6 +28967,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
28972
28967
  this.customStyle = '';
28973
28968
  this.data = [];
28974
28969
  this.enableInput = false;
28970
+ this.disabled = false;
28975
28971
  this.type = FChipType.STANDARD;
28976
28972
  this.sizing = FChipSize.SMALL;
28977
28973
  this.styling = FChipStyling.RAISED;
@@ -29124,6 +29120,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
29124
29120
  warning: this.rootElement.classList.contains('kup-warning')
29125
29121
  ? true
29126
29122
  : false,
29123
+ disabled: this.disabled,
29127
29124
  };
29128
29125
  for (let j = 0; this.data && j < this.data.length; j++) {
29129
29126
  props.onBlur.push((chip) => this.onKupBlur(chip));
@@ -29138,13 +29135,13 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
29138
29135
  props.onFocus.push((chip) => this.onKupFocus(chip));
29139
29136
  props.onIconClick.push((chip) => this.onKupIconClick(chip));
29140
29137
  }
29141
- return (h$1(Host, { key: '9cd0c033b3ac04d391d02c92f87225a61a2a70e8', "onKup-autocomplete-itemclick": (e) => {
29138
+ return (h$1(Host, { key: '533a5f181eeb49228d98620d317fa994f5a8f9d6', "onKup-autocomplete-itemclick": (e) => {
29142
29139
  __classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
29143
29140
  }, "onKup-combobox-itemclick": (e) => {
29144
29141
  __classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
29145
29142
  }, "onKup-textfield-change": (e) => {
29146
29143
  __classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
29147
- } }, h$1("style", { key: 'df4a044277cdde23fd186e139dc3901c142dff71' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'd895cd93ae064232c9fe6d8faba1fbf09a1b99a5', id: componentWrapperId }, this.label ? (h$1("div", { class: "mdc-text-field__label-container" }, h$1("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h$1(FChip, Object.assign({}, props)) : null, h$1("slot", { key: '0994bd4975bfd0dd12efde12f7cc7e63e180a61c', name: "field" }))));
29144
+ } }, h$1("style", { key: 'ec7e8e382857042e9c3860f57406f29a762f15b1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '157ff6221c5470dfd8abd8d2e512f0577bb863e4', id: componentWrapperId }, this.label ? (h$1("div", { class: "mdc-text-field__label-container" }, h$1("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h$1(FChip, Object.assign({}, props)) : null, h$1("slot", { key: '885d6b61a1540805d593d9c1a7e8cf6dfc7b903a', name: "field" }))));
29148
29145
  }
29149
29146
  disconnectedCallback() {
29150
29147
  this.kupManager.theme.unregister(this);
@@ -29158,6 +29155,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
29158
29155
  "customStyle": [1, "custom-style"],
29159
29156
  "data": [1040],
29160
29157
  "enableInput": [4, "enable-input"],
29158
+ "disabled": [4],
29161
29159
  "type": [1],
29162
29160
  "sizing": [1],
29163
29161
  "styling": [1],
@@ -32090,6 +32088,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
32090
32088
  this.data = undefined;
32091
32089
  this.disabled = false;
32092
32090
  this.displayMode = ItemsDisplayMode.DESCRIPTION;
32091
+ this.listDisplayMode = ItemsDisplayMode.DESCRIPTION;
32093
32092
  this.error = '';
32094
32093
  this.icon = null;
32095
32094
  this.initialValue = '';
@@ -32377,7 +32376,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
32377
32376
  };
32378
32377
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
32379
32378
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
32380
- return (h$1(Host, { key: 'b9dcafc9778173a331b9ed121c265da27fc83807', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1("style", { key: 'b363b4026b94d14c0fd48612af5a94ac180bbe71' }, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '71af474a92617f8862ead85bd69796539afc4ddf', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1(FTextField, Object.assign({ key: '1d7486308b4a09a3a4eb39e9baf4d8fceb2e4a65' }, props, { icon: this.showDropDownIcon
32379
+ return (h$1(Host, { key: '7577f0a619a0487b8f00dc33ad5ceff3cbea32a3', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1("style", { key: 'ce567026914bb259e6da13a041c5e0923e044c38' }, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '53ff86d1f1000d7aa3a807f5fb456cb823c30bb5', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1(FTextField, Object.assign({ key: '558f0f16a28d3e106687b59a431371ea495bae61' }, props, { icon: this.showDropDownIcon
32381
32380
  ? KupThemeIconValues.SEARCH
32382
32381
  : null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
32383
32382
  window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
@@ -32404,6 +32403,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
32404
32403
  "data": [1040],
32405
32404
  "disabled": [4],
32406
32405
  "displayMode": [1, "display-mode"],
32406
+ "listDisplayMode": [1, "list-display-mode"],
32407
32407
  "error": [1],
32408
32408
  "icon": [1],
32409
32409
  "initialValue": [1, "initial-value"],
@@ -32493,11 +32493,7 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
32493
32493
  return ret;
32494
32494
  }
32495
32495
  }, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
32496
- var _a;
32497
- const displayModeForList = ((_a = this.data['kup-list'].options) === null || _a === void 0 ? void 0 : _a.length) === 1
32498
- ? ItemsDisplayMode.CODE
32499
- : ItemsDisplayMode.CODE_AND_DESC;
32500
- return (h$1("kup-list", Object.assign({ displayMode: displayModeForList }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet(this, _KupAutocomplete_listEl, el, "f")) })));
32496
+ return (h$1("kup-list", Object.assign({ displayMode: this.listDisplayMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet(this, _KupAutocomplete_listEl, el, "f")) })));
32501
32497
  }, _KupAutocomplete_calcSize = function _KupAutocomplete_calcSize() {
32502
32498
  var _a, _b;
32503
32499
  // Explicitly setting size from sub-components props, if present
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, b as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-0dc6d3d0.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-d7f8098a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, b as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-1e6b3f9c.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-6d8f94ab.js';
4
4
 
5
5
  /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-0dc6d3d0.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-d7f8098a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-1e6b3f9c.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-6d8f94ab.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-grid component.
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './p-0dc6d3d0.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-d7f8098a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './p-1e6b3f9c.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-6d8f94ab.js';
4
4
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-5882e117.js';
5
5
 
6
6
  var toastuiEditor = {exports: {}};
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, ad as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, d as KupLanguageGeneric, c as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, ax as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-0dc6d3d0.js';
3
- import { H as filterRows, I as paginateRows, E as sortRows, J as pageChange, L as rowsPerPageChange, F as FImage, N as FCell, O as FChip, P as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, Q as FPaginator } from './p-d7f8098a.js';
2
+ import { k as kupManagerInstance, ad as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, d as KupLanguageGeneric, c as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, ax as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-1e6b3f9c.js';
3
+ import { H as filterRows, I as paginateRows, E as sortRows, J as pageChange, L as rowsPerPageChange, F as FImage, N as FCell, O as FChip, P as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, Q as FPaginator } from './p-6d8f94ab.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-box component.
@@ -1,11 +1,11 @@
1
1
  import { h, g as getAssetPath, F as Fragment } from './index-9b0f4a0d.js';
2
- import { an as editableTypes, ao as kupTypes, Q as FCellClasses, aa as FCellTypes, d as KupThemeColorValues, al as CHIAdapter, aj as RADAdapter, ai as CMBandACPAdapter, ap as KupTagNames, F as FCellShapes, af as getCellValueForDisplay, a as KupComponentSizing, aq as fullWidthFieldsComps, I as ItemsDisplayMode, ar as autoCenterComps, as as adaptContentToDisplayMode, at as FCellEvents, au as isForceUppercase, av as isForceLowercase, e as KupDebugCategory } from './kup-manager-2cf94be2.js';
2
+ import { an as editableTypes, ao as kupTypes, Q as FCellClasses, aa as FCellTypes, d as KupThemeColorValues, al as CHIAdapter, aj as RADAdapter, ai as CMBandACPAdapter, ap as KupTagNames, F as FCellShapes, af as getCellValueForDisplay, a as KupComponentSizing, aq as fullWidthFieldsComps, I as ItemsDisplayMode, ar as autoCenterComps, as as adaptContentToDisplayMode, at as FCellEvents, au as isForceUppercase, av as isForceLowercase, e as KupDebugCategory } from './kup-manager-12a6fbac.js';
3
3
  import { F as FButton } from './f-button-365673bb.js';
4
4
  import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
5
- import { F as FChipType, c as FChip } from './f-chip-e1c5f820.js';
5
+ import { F as FChipType, d as FChip } from './f-chip-03456661.js';
6
6
  import { F as FImage } from './f-image-a2ecd7c3.js';
7
- import { F as FObjectField } from './f-object-field-679ee903.js';
8
- import { F as FTextField } from './f-text-field-caef463f.js';
7
+ import { F as FObjectField } from './f-object-field-6f62d1eb.js';
8
+ import { F as FTextField } from './f-text-field-90415eb0.js';
9
9
 
10
10
  /*-------------------------------------------------*/
11
11
  /* C o m p o n e n t */
@@ -912,11 +912,11 @@ function setEditableCell(cellType, classObj, cell, column, props) {
912
912
  return h("kup-file-upload", Object.assign({}, cell.data));
913
913
  case FCellTypes.MULTI_AUTOCOMPLETE: {
914
914
  return (h("kup-chip", Object.assign({ displayMode: (_a = cell.data.displayMode) !== null && _a !== void 0 ? _a : ItemsDisplayMode.DESCRIPTION }, cell.data, { label: (_c = (_b = cell.slotData) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : '', type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
915
- h("kup-autocomplete", { class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, selectMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false })));
915
+ h("kup-autocomplete", { class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false })));
916
916
  }
917
917
  case FCellTypes.MULTI_COMBOBOX:
918
918
  return (h("kup-chip", Object.assign({ displayMode: (_l = cell.data.displayMode) !== null && _l !== void 0 ? _l : ItemsDisplayMode.DESCRIPTION }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
919
- h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, selectMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_m = cell.tooltip) !== null && _m !== void 0 ? _m : false }))));
919
+ h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_m = cell.tooltip) !== null && _m !== void 0 ? _m : false }))));
920
920
  case FCellTypes.RADIO:
921
921
  return (h(FRadio, Object.assign({}, cell.data, { disabled: false, onChange: (i, e) => {
922
922
  const radioData = cell.data.data;
@@ -1,6 +1,137 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
2
  import { F as FImage } from './f-image-a2ecd7c3.js';
3
- import { b as KupThemeIconValues, h as KupLanguageGeneric, I as ItemsDisplayMode } from './kup-manager-2cf94be2.js';
3
+ import { I as ItemsDisplayMode, b as KupThemeIconValues, h as KupLanguageGeneric } from './kup-manager-12a6fbac.js';
4
+
5
+ function getIdOfItemByDisplayMode(item, mode, separator) {
6
+ const { id, value } = item;
7
+ if (id == null && value) {
8
+ return value;
9
+ }
10
+ if (id && value == null) {
11
+ return id;
12
+ }
13
+ switch (mode) {
14
+ case ItemsDisplayMode.CODE:
15
+ return id;
16
+ case ItemsDisplayMode.DESCRIPTION:
17
+ return value;
18
+ case ItemsDisplayMode.CODE_AND_DESC:
19
+ case ItemsDisplayMode.CODE_AND_DESC_ALIAS:
20
+ return id && value ? id + separator + value : id || value;
21
+ case ItemsDisplayMode.DESC_AND_CODE:
22
+ return value && id ? value + separator + id : value || id;
23
+ default:
24
+ return id;
25
+ }
26
+ }
27
+ function consistencyCheck(idIn, listData, listEl, selectMode, displayMode, e) {
28
+ const validList = !!(listEl && listData && listData['data']);
29
+ let id = '';
30
+ let displayedValue = '';
31
+ let selected = null;
32
+ if (e != null) {
33
+ selected = e.detail.selected;
34
+ }
35
+ if (selected == null && idIn != null && validList) {
36
+ selected = getItemByDisplayMode(listData, idIn, displayMode, true);
37
+ listEl.data = [...listData['data']];
38
+ }
39
+ if (selected == null && idIn == null && listData) {
40
+ selected = getFirstItemSelected(listData);
41
+ }
42
+ let trueValue = null;
43
+ if (selected == null) {
44
+ selected = {
45
+ id: idIn == null ? '' : idIn,
46
+ value: idIn == null ? '' : idIn,
47
+ };
48
+ id = selected.id;
49
+ displayedValue = selected.id;
50
+ trueValue = selected.id;
51
+ }
52
+ else {
53
+ id = getIdOfItemByDisplayMode(selected, selectMode, ' - ');
54
+ displayedValue = getIdOfItemByDisplayMode(selected, id == '' ? ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
55
+ trueValue = getIdOfItemByDisplayMode(selected, ItemsDisplayMode.CODE, ' - ');
56
+ }
57
+ const listNode = validList
58
+ ? listData['data'].find((x) => x.id === trueValue)
59
+ : null;
60
+ let exists = listNode ? true : false;
61
+ return {
62
+ value: id,
63
+ displayedValue: displayedValue,
64
+ node: listNode,
65
+ exists: exists,
66
+ };
67
+ }
68
+ function getFirstItemSelected(listData) {
69
+ if (listData['data']) {
70
+ for (let i = 0; i < listData['data'].length; i++) {
71
+ if (listData['data'][i].selected) {
72
+ return listData['data'][i];
73
+ }
74
+ }
75
+ }
76
+ return null;
77
+ }
78
+ function getItemById(listData, id, setSelected) {
79
+ if (listData && listData['data']) {
80
+ let found = false;
81
+ let item = null;
82
+ for (let i = 0; i < listData['data'].length; i++) {
83
+ if (setSelected == true) {
84
+ listData['data'][i].selected = false;
85
+ }
86
+ if (!found &&
87
+ listData['data'][i].id.toString().toLowerCase() ==
88
+ id.toString().toLowerCase()) {
89
+ item = listData['data'][i];
90
+ item.selected = true;
91
+ found = true;
92
+ }
93
+ }
94
+ if (found == true) {
95
+ return item;
96
+ }
97
+ for (let i = 0; i < listData['data'].length; i++) {
98
+ if (listData['data'][i].value.toString().toLowerCase() ==
99
+ id.toString().toLowerCase()) {
100
+ item = listData['data'][i];
101
+ item.selected = true;
102
+ found = true;
103
+ break;
104
+ }
105
+ }
106
+ if (found == true) {
107
+ return item;
108
+ }
109
+ }
110
+ return null;
111
+ }
112
+ function getItemByDisplayMode(listData, id, displayMode, setSelected) {
113
+ if (listData && listData['data']) {
114
+ let found = false;
115
+ let item = null;
116
+ for (let i = 0; i < listData['data'].length; i++) {
117
+ let displayedValue = getIdOfItemByDisplayMode(listData['data'][i], id == '' ? ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
118
+ if (setSelected == true) {
119
+ listData['data'][i].selected = false;
120
+ }
121
+ if (!found &&
122
+ displayedValue.toString().toLowerCase() ==
123
+ id.toString().toLowerCase()) {
124
+ item = listData['data'][i];
125
+ item.selected = true;
126
+ found = true;
127
+ }
128
+ }
129
+ if (found == true) {
130
+ return item;
131
+ }
132
+ }
133
+ return getItemById(listData, id, setSelected);
134
+ }
4
135
 
5
136
  /**
6
137
  * Types of the f-chip component.
@@ -51,6 +182,9 @@ const FChip = (props) => {
51
182
  if (!props.type) {
52
183
  props.type = FChipType.STANDARD;
53
184
  }
185
+ if (!props.displayMode) {
186
+ props.displayMode = ItemsDisplayMode.DESCRIPTION;
187
+ }
54
188
  const isChoice = props.type.toLowerCase() === FChipType.CHOICE;
55
189
  const isFilter = props.type.toLowerCase() === FChipType.FILTER;
56
190
  const isInput = props.type.toLowerCase() === FChipType.INPUT;
@@ -83,6 +217,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
83
217
  const indentStyle = {
84
218
  ['--kup_chip_indent_offset']: indent.toString(),
85
219
  };
220
+ const isDisabled = props.disabled;
86
221
  chipGroup.push(h("div", { class: `chip-set__wrapper ${hasChildren && !showChildren
87
222
  ? 'chip-set__wrapper--hidden-children'
88
223
  : ''}` },
@@ -94,7 +229,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
94
229
  '/' +
95
230
  dom.ketchup.language.translate(KupLanguageGeneric.COLLAPSE) +
96
231
  ' (CTRL + Click)', wrapperClass: "dropdown-icon" })) : indent ? (h(FImage, { resource: "blank", sizeX: "16px", sizeY: "16px", wrapperClass: "dropdown-icon" })) : null,
97
- createChip(chip)));
232
+ createChip(chip, isDisabled)));
98
233
  if (showChildren) {
99
234
  for (let index = 0; index < chip.children.length; index++) {
100
235
  if (chip.children[index]) {
@@ -103,10 +238,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
103
238
  }
104
239
  }
105
240
  }
106
- function createChip(chip) {
107
- var _a;
241
+ function createChip(chip, disabled) {
108
242
  const onlyIcon = !!(chip.icon && !chip.value);
109
- let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''}`;
243
+ let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled && 'chip--disabled'}`;
110
244
  let iconEl = [];
111
245
  let iconClass = 'chip__icon chip__icon--leading';
112
246
  if (isFilter || isChoice) {
@@ -135,21 +269,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
135
269
  h("svg", { class: "chip__checkmark-svg", viewBox: "-2 -3 30 30" },
136
270
  h("path", { class: "chip__checkmark-path", fill: "none", stroke: "black", d: "M1.73,12.91 8.1,19.28 22.79,4.59" }))));
137
271
  }
138
- let chipText = '';
139
- switch (props.displayMode) {
140
- case ItemsDisplayMode.CODE:
141
- chipText = chip.id;
142
- break;
143
- case ItemsDisplayMode.DESCRIPTION:
144
- chipText = chip.value;
145
- break;
146
- case ItemsDisplayMode.CODE_AND_DESC:
147
- chipText = chip.id + ' - ' + chip.value;
148
- break;
149
- default:
150
- chipText = (_a = chip.value) !== null && _a !== void 0 ? _a : chip.id;
151
- break;
152
- }
272
+ let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
153
273
  return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
154
274
  ? props.onClick[i].bind(props.onClick[i], chip)
155
275
  : null, role: "row", title: chip.title ? chip.title : '' },
@@ -173,4 +293,4 @@ function createChipList(props, isChoice, isFilter, isInput) {
173
293
  return chipList;
174
294
  }
175
295
 
176
- export { FChipType as F, FChipSize as a, FChipStyling as b, FChip as c };
296
+ export { FChipType as F, FChipSize as a, FChipStyling as b, consistencyCheck as c, FChip as d, getIdOfItemByDisplayMode as g };
@@ -1,8 +1,8 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { a as KupComponentSizing, k as kupManagerInstance, c as KupDynamicPositionPlacement } from './kup-manager-2cf94be2.js';
2
+ import { a as KupComponentSizing, k as kupManagerInstance, c as KupDynamicPositionPlacement } from './kup-manager-12a6fbac.js';
3
3
  import { F as FButton } from './f-button-365673bb.js';
4
4
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
5
- import { F as FTextField } from './f-text-field-caef463f.js';
5
+ import { F as FTextField } from './f-text-field-90415eb0.js';
6
6
 
7
7
  const STATE = new WeakMap();
8
8
  const FObjectField = (props) => {