@sme.up/ketchup 11.0.0-SNAPSHOT-20250213163617 → 11.0.0-SNAPSHOT-20250214081717

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 (185) hide show
  1. package/dist/cjs/{f-cell-8108a25d.js → f-cell-4bf61761.js} +4 -4
  2. package/dist/cjs/{f-chip-4acaa8f0.js → f-chip-907331fb.js} +1 -1
  3. package/dist/cjs/{f-object-field-c076edaa.js → f-object-field-b7dea194.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-926b9b47.js → f-paginator-utils-14afdc35.js} +1 -1
  5. package/dist/cjs/{f-text-field-3b35b25a.js → f-text-field-02a5da88.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 +7 -7
  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-7efbe89d.js → kup-data-table-helper-ac499068.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 +5 -5
  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-f85c953e.js → kup-manager-fedbb28b.js} +12 -1
  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/managers/kup-dynamic-position/kup-dynamic-position.js +12 -1
  40. package/dist/components/index.js +1 -1
  41. package/dist/components/kup-accordion.js +2 -2
  42. package/dist/components/kup-activity-timeline.js +2 -2
  43. package/dist/components/kup-autocomplete.js +1 -1
  44. package/dist/components/kup-badge.js +1 -1
  45. package/dist/components/kup-box.js +1 -1
  46. package/dist/components/kup-button-list.js +1 -1
  47. package/dist/components/kup-button.js +1 -1
  48. package/dist/components/kup-calendar.js +2 -2
  49. package/dist/components/kup-card-list.js +3 -3
  50. package/dist/components/kup-card.js +1 -1
  51. package/dist/components/kup-cell.js +2 -2
  52. package/dist/components/kup-chart.js +1 -1
  53. package/dist/components/kup-checkbox.js +1 -1
  54. package/dist/components/kup-chip.js +1 -1
  55. package/dist/components/kup-color-picker.js +1 -1
  56. package/dist/components/kup-combobox.js +1 -1
  57. package/dist/components/kup-dashboard.js +2 -2
  58. package/dist/components/kup-data-table.js +1 -1
  59. package/dist/components/kup-date-picker.js +1 -1
  60. package/dist/components/kup-dialog.js +1 -1
  61. package/dist/components/kup-drawer.js +2 -2
  62. package/dist/components/kup-dropdown-button.js +1 -1
  63. package/dist/components/kup-echart.js +1 -1
  64. package/dist/components/kup-editor.js +1 -1
  65. package/dist/components/kup-family-tree.js +3 -3
  66. package/dist/components/kup-file-upload.js +1 -1
  67. package/dist/components/kup-form.js +1 -1
  68. package/dist/components/kup-gauge.js +1 -1
  69. package/dist/components/kup-grid.js +1 -1
  70. package/dist/components/kup-htm.js +2 -2
  71. package/dist/components/kup-iframe.js +2 -2
  72. package/dist/components/kup-image-list.js +2 -2
  73. package/dist/components/kup-image.js +1 -1
  74. package/dist/components/kup-input-panel.js +3 -3
  75. package/dist/components/kup-lazy.js +2 -2
  76. package/dist/components/kup-list.js +1 -1
  77. package/dist/components/kup-magic-box.js +4 -4
  78. package/dist/components/kup-nav-bar.js +2 -2
  79. package/dist/components/kup-numeric-picker.js +2 -2
  80. package/dist/components/kup-object-field.js +2 -2
  81. package/dist/components/kup-pdf.js +2 -2
  82. package/dist/components/kup-planner.js +2 -2
  83. package/dist/components/kup-probe.js +2 -2
  84. package/dist/components/kup-progress-bar.js +1 -1
  85. package/dist/components/kup-qlik.js +2 -2
  86. package/dist/components/kup-radio.js +1 -1
  87. package/dist/components/kup-rating.js +1 -1
  88. package/dist/components/kup-snackbar.js +2 -2
  89. package/dist/components/kup-spinner.js +1 -1
  90. package/dist/components/kup-switch.js +1 -1
  91. package/dist/components/kup-tab-bar.js +1 -1
  92. package/dist/components/kup-text-field.js +1 -1
  93. package/dist/components/kup-time-picker.js +1 -1
  94. package/dist/components/kup-toolbar.js +1 -1
  95. package/dist/components/kup-tree.js +1 -1
  96. package/dist/components/kup-txt.js +2 -2
  97. package/dist/components/kup-typography-list.js +2 -2
  98. package/dist/components/kup-typography.js +2 -2
  99. package/dist/components/{p-7f1cf46b.js → p-020dcde8.js} +2 -2
  100. package/dist/components/{p-598d4586.js → p-07c0fe68.js} +1 -1
  101. package/dist/components/{p-12d205a7.js → p-6f69e184.js} +2 -2
  102. package/dist/components/{p-c135cede.js → p-9a7ca2b7.js} +12 -1
  103. package/dist/components/{p-e48f9300.js → p-ebb48c0a.js} +2 -2
  104. package/dist/components/{p-ab0cab58.js → p-f5eff8b8.js} +2 -2
  105. package/dist/esm/{f-cell-4a97872c.js → f-cell-7d1399fc.js} +4 -4
  106. package/dist/esm/{f-chip-92a3e908.js → f-chip-1a613b1f.js} +1 -1
  107. package/dist/esm/{f-object-field-ab09705a.js → f-object-field-d2c2753d.js} +2 -2
  108. package/dist/esm/{f-paginator-utils-42540256.js → f-paginator-utils-a54fc9b5.js} +1 -1
  109. package/dist/esm/{f-text-field-040bf23c.js → f-text-field-b10a8afc.js} +1 -1
  110. package/dist/esm/index.js +1 -1
  111. package/dist/esm/kup-accordion.entry.js +1 -1
  112. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  113. package/dist/esm/kup-autocomplete_29.entry.js +7 -7
  114. package/dist/esm/kup-box.entry.js +7 -7
  115. package/dist/esm/kup-calendar.entry.js +2 -2
  116. package/dist/esm/kup-card-list.entry.js +1 -1
  117. package/dist/esm/kup-cell.entry.js +5 -5
  118. package/dist/esm/kup-dashboard.entry.js +2 -2
  119. package/dist/esm/{kup-data-table-helper-54bce12e.js → kup-data-table-helper-b3c8cf6a.js} +1 -1
  120. package/dist/esm/kup-drawer.entry.js +1 -1
  121. package/dist/esm/kup-echart.entry.js +1 -1
  122. package/dist/esm/kup-editor.entry.js +1 -1
  123. package/dist/esm/kup-family-tree.entry.js +1 -1
  124. package/dist/esm/kup-grid.entry.js +1 -1
  125. package/dist/esm/kup-htm.entry.js +1 -1
  126. package/dist/esm/kup-iframe.entry.js +1 -1
  127. package/dist/esm/kup-image-list.entry.js +5 -5
  128. package/dist/esm/kup-input-panel.entry.js +5 -5
  129. package/dist/esm/kup-lazy.entry.js +1 -1
  130. package/dist/esm/kup-magic-box.entry.js +1 -1
  131. package/dist/esm/{kup-manager-5878b3f1.js → kup-manager-cf62a7e0.js} +12 -1
  132. package/dist/esm/kup-nav-bar.entry.js +1 -1
  133. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  134. package/dist/esm/kup-object-field.entry.js +3 -3
  135. package/dist/esm/kup-pdf.entry.js +1 -1
  136. package/dist/esm/kup-planner.entry.js +2 -2
  137. package/dist/esm/kup-probe.entry.js +1 -1
  138. package/dist/esm/kup-qlik.entry.js +1 -1
  139. package/dist/esm/kup-snackbar.entry.js +1 -1
  140. package/dist/esm/kup-txt.entry.js +1 -1
  141. package/dist/esm/kup-typography-list.entry.js +1 -1
  142. package/dist/esm/kup-typography.entry.js +1 -1
  143. package/dist/ketchup/index.esm.js +1 -1
  144. package/dist/ketchup/ketchup.esm.js +1 -1
  145. package/dist/ketchup/{p-f9e08d18.entry.js → p-04699874.entry.js} +1 -1
  146. package/dist/ketchup/{p-05993362.entry.js → p-08620353.entry.js} +1 -1
  147. package/dist/ketchup/{p-5d3d92fe.js → p-127196a7.js} +1 -1
  148. package/dist/ketchup/{p-3d117a70.entry.js → p-14e637ac.entry.js} +1 -1
  149. package/dist/ketchup/p-25ca4d3a.js +1 -0
  150. package/dist/ketchup/{p-1925587b.entry.js → p-29e6edd5.entry.js} +1 -1
  151. package/dist/ketchup/{p-8e34490e.entry.js → p-58fa5d13.entry.js} +1 -1
  152. package/dist/ketchup/{p-609c40d0.entry.js → p-5a7bbdeb.entry.js} +1 -1
  153. package/dist/ketchup/{p-efd926e9.entry.js → p-5b2e623f.entry.js} +1 -1
  154. package/dist/ketchup/{p-beaab6c7.js → p-5b7bc57a.js} +1 -1
  155. package/dist/ketchup/{p-194ac258.js → p-64f9c5e9.js} +1 -1
  156. package/dist/ketchup/{p-f19b41a8.entry.js → p-661dda10.entry.js} +1 -1
  157. package/dist/ketchup/{p-3a88d1d8.entry.js → p-66cb6dd5.entry.js} +1 -1
  158. package/dist/ketchup/{p-6c13719e.entry.js → p-6791a007.entry.js} +1 -1
  159. package/dist/ketchup/{p-90a9351b.entry.js → p-6995599c.entry.js} +1 -1
  160. package/dist/ketchup/{p-1c7e1e3a.entry.js → p-76122405.entry.js} +1 -1
  161. package/dist/ketchup/{p-59b10b7e.entry.js → p-76a102e5.entry.js} +1 -1
  162. package/dist/ketchup/p-79bed595.js +1 -0
  163. package/dist/ketchup/{p-757b0d54.entry.js → p-84a3c528.entry.js} +1 -1
  164. package/dist/ketchup/{p-1d7ee5d7.entry.js → p-9193a0ac.entry.js} +1 -1
  165. package/dist/ketchup/{p-4d7bde1e.entry.js → p-9439fe19.entry.js} +1 -1
  166. package/dist/ketchup/{p-afda3af6.entry.js → p-95c811c9.entry.js} +1 -1
  167. package/dist/ketchup/{p-0f44bb37.entry.js → p-988b9359.entry.js} +1 -1
  168. package/dist/ketchup/{p-96088cb3.entry.js → p-9a9cfbad.entry.js} +1 -1
  169. package/dist/ketchup/p-a1316c85.js +21 -0
  170. package/dist/ketchup/{p-ade319f2.entry.js → p-a7901100.entry.js} +1 -1
  171. package/dist/ketchup/{p-54d8f8fd.entry.js → p-b85265b2.entry.js} +1 -1
  172. package/dist/ketchup/{p-bea39c28.entry.js → p-bded6c9e.entry.js} +1 -1
  173. package/dist/ketchup/{p-e644ce53.entry.js → p-c10e762f.entry.js} +1 -1
  174. package/dist/ketchup/{p-6c4ac98a.entry.js → p-c5c78514.entry.js} +1 -1
  175. package/dist/ketchup/{p-3d06a3b8.entry.js → p-c71db43b.entry.js} +1 -1
  176. package/dist/ketchup/{p-dbbddacb.entry.js → p-c87c9e36.entry.js} +1 -1
  177. package/dist/ketchup/{p-53c92bd7.entry.js → p-c95063e6.entry.js} +1 -1
  178. package/dist/ketchup/{p-cd1ee400.entry.js → p-cbef1cff.entry.js} +1 -1
  179. package/dist/ketchup/{p-a20592e4.entry.js → p-de63c2b2.entry.js} +1 -1
  180. package/dist/ketchup/{p-3a737973.js → p-f643dabf.js} +1 -1
  181. package/dist/ketchup/{p-fd69c0ce.entry.js → p-fd561dfc.entry.js} +1 -1
  182. package/package.json +1 -1
  183. package/dist/ketchup/p-48e99d19.js +0 -21
  184. package/dist/ketchup/p-81a35c89.js +0 -1
  185. package/dist/ketchup/p-8b3aef8c.js +0 -1
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-b0368f88.js";export{s as setNonce}from"./p-b0368f88.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-757b0d54",[[1,"kup-data-table",{"stateId":[1,"state-id"],"store":[16],"autoFillMissingCells":[4,"auto-fill-missing-cells"],"customStyle":[1,"custom-style"],"data":[1040],"density":[1],"dragEnabled":[1540,"drag-enabled"],"dropEnabled":[516,"drop-enabled"],"editableData":[1028,"editable-data"],"emptyDataLabel":[1025,"empty-data-label"],"enableColumnsFormula":[4,"enable-columns-formula"],"enableExtraColumns":[4,"enable-extra-columns"],"enableMergeColumns":[4,"enable-merge-columns"],"enableSortableColumns":[4,"enable-sortable-columns"],"expandGroups":[4,"expand-groups"],"filters":[1040],"fixedColumns":[2,"fixed-columns"],"fixedColumnsR":[2,"fixed-columns-r"],"fixedRows":[2,"fixed-rows"],"forceOneLine":[516,"force-one-line"],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"groupLabelDisplay":[1,"group-label-display"],"groups":[1040],"headerIsPersistent":[4,"header-is-persistent"],"insertMode":[1,"insert-mode"],"isFocusable":[4,"is-focusable"],"lazyLoadRows":[4,"lazy-load-rows"],"lineBreakCharacter":[1,"line-break-character"],"loadMoreLimit":[2,"load-more-limit"],"loadMoreMode":[1,"load-more-mode"],"loadMoreStep":[2,"load-more-step"],"pageSelected":[2,"page-selected"],"paginatorPos":[1,"paginator-pos"],"legacyLook":[516,"legacy-look"],"removableColumns":[4,"removable-columns"],"resizableColumns":[4,"resizable-columns"],"rowActions":[16],"commands":[16],"rowsPerPage":[1026,"rows-per-page"],"scrollOnHover":[4,"scroll-on-hover"],"selection":[1],"showCustomization":[4,"show-customization"],"showDeleteButton":[4,"show-delete-button"],"showHistoryButton":[4,"show-history-button"],"showFilters":[4,"show-filters"],"showFooter":[4,"show-footer"],"showGrid":[1,"show-grid"],"showGroups":[4,"show-groups"],"showHeader":[4,"show-header"],"showLoadMore":[4,"show-load-more"],"showPaginator":[4,"show-paginator"],"hiddenSubmitButton":[4,"hidden-submit-button"],"sort":[1040],"sortableColumnsMutateData":[4,"sortable-columns-mutate-data"],"sortEnabled":[4,"sort-enabled"],"tableHeight":[1,"table-height"],"tableWidth":[1,"table-width"],"totals":[1040],"transpose":[1028],"visibleColumns":[1040],"updatableData":[1540,"updatable-data"],"updateOnClick":[4,"update-on-click"],"lazyLoadCells":[32],"currentPage":[32],"currentRowsPerPage":[32],"selectedRows":[32],"selectedColumn":[32],"columnMenuAnchor":[32],"groupState":[32],"openedTotalMenu":[32],"openedCustomSettings":[32],"fontsize":[32],"closeColumnMenu":[64],"collapseAll":[64],"deleteRows":[64],"closeInsertCard":[64],"closeConfirmDeleteCard":[64],"getCards":[64],"insertNewRow":[64],"expandAll":[64],"getProps":[64],"getSelectedRows":[64],"hideColumn":[64],"setGroupExpansionByDepth":[64],"newColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setCellValue":[64],"setFocus":[64],"setProps":[64],"setSelectedRows":[64],"scrollToRow":[64],"waitForReady":[64],"getLastFocusedRow":[64],"getInternalState":[64],"defaultSortingFunction":[64]},null,{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"expandGroups":["expandGroupsHandler"],"filters":["filtersChanged"],"globalFilterValue":["filtersChanged"],"sort":["recalculateRows"],"totals":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["identifyAndInitRows","decorateAndInitForUpdTable","computeMaxRowsPerPage"],"groups":["recalculateRowsAndUndoSelections"],"fixedColumns":["controlFixedRowsColumns"],"fixedColumnsR":["controlFixedRowsColumns"],"fixedRows":["controlFixedRowsColumns"],"transpose":["recalculateData"]}],[1,"kup-form",{"customStyle":[1,"custom-style"],"data":[16],"hiddenSubmitButton":[4,"hidden-submit-button"],"labelPlacement":[1,"label-placement"],"layout":[16],"submitCb":[16],"getProps":[64],"refresh":[64],"setFocus":[64],"setProps":[64]},null,{"data":["onDataChanged"],"layout":["onLayoutChanged"]}],[1,"kup-autocomplete",{"alert":[1],"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"error":[1],"icon":[1],"initialValue":[1,"initial-value"],"initialValueDecode":[1,"initial-value-decode"],"isClearable":[4,"is-clearable"],"inputDelay":[2,"input-delay"],"label":[1],"leadingLabel":[4,"leading-label"],"minimumChars":[2,"minimum-chars"],"readOnly":[4,"read-only"],"selectMode":[1,"select-mode"],"serverHandledFilter":[516,"server-handled-filter"],"showDropDownIcon":[4,"show-drop-down-icon"],"showMarker":[4,"show-marker"],"sizing":[1],"trailingIcon":[4,"trailing-icon"],"placeholder":[1],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"reset":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-button",{"buttonType":[1,"button-type"],"checked":[1028],"contentAlign":[1,"content-align"],"customStyle":[1,"custom-style"],"disabled":[4],"icon":[1],"iconOff":[1,"icon-off"],"label":[1],"blackMode":[4,"black-mode"],"placeholderIcon":[1,"placeholder-icon"],"styling":[1],"showSpinner":[4,"show-spinner"],"toggable":[4],"trailingIcon":[4,"trailing-icon"],"sizing":[1],"keyShortcut":[1,"key-shortcut"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-button-list",{"blackMode":[4,"black-mode"],"contentAlign":[1,"content-align"],"columns":[2],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"showSelection":[4,"show-selection"],"sizing":[1],"styling":[513],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[1,"kup-radio",{"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"horizontal":[4],"label":[1],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-checkbox",{"alert":[1],"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"error":[1],"indeterminate":[1028],"label":[1],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tree",{"asAccordion":[516,"as-accordion"],"columns":[1040],"customStyle":[1,"custom-style"],"data":[1040],"density":[1],"dynamicExpansionCallback":[16],"editableData":[4,"editable-data"],"enableExtraColumns":[4,"enable-extra-columns"],"expanded":[4],"expansionMode":[1,"expansion-mode"],"filters":[1040],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"globalFilterMode":[1,"global-filter-mode"],"treeHeight":[1,"tree-height"],"preventXScroll":[516,"prevent-x-scroll"],"removableColumns":[4,"removable-columns"],"ripple":[4],"scrollOnHover":[4,"scroll-on-hover"],"showColumns":[1028,"show-columns"],"showFilters":[4,"show-filters"],"showFooter":[4,"show-footer"],"showHeader":[1028,"show-header"],"showIcons":[4,"show-icons"],"stateId":[1,"state-id"],"store":[16],"useDynamicExpansion":[4,"use-dynamic-expansion"],"totals":[1040],"treeColumnVisible":[32],"openedTotalMenu":[32],"columnMenuAnchor":[32],"stateSwitcher":[32],"selectedNode":[32],"getSelectedNode":[64],"setSelectedNode":[64],"isEmpty":[64],"closeColumnMenu":[64],"collapseAll":[64],"expandAll":[64],"setExpansionByDepth":[64],"getProps":[64],"hideColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["enrichDataWhenChanged"],"expanded":["enrichStructureStateWhenChanged"]}],[1,"kup-color-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"initialValue":[1,"initial-value"],"readOnly":[4,"read-only"],"swatchOnly":[4,"swatch-only"],"value":[32],"getProps":[64],"getValue":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"refresh":[64]}],[1,"kup-dropdown-button",{"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"dropdownOnly":[4,"dropdown-only"],"icon":[1],"initialValue":[1,"initial-value"],"label":[1],"placeholderIcon":[1,"placeholder-icon"],"selectMode":[1,"select-mode"],"sizing":[1],"styling":[1],"trailingIcon":[4,"trailing-icon"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-file-upload",{"customStyle":[1,"custom-style"],"data":[8],"inputRef":[32],"files":[32],"uploadSuccess":[32],"showSpinner":[32],"getProps":[64],"refresh":[64],"setProps":[64],"setSuccess":[64],"setLoading":[64]},null,{"data":["onDataChanged"]}],[1,"kup-list",{"customStyle":[1,"custom-style"],"data":[1040],"displayMode":[1,"display-mode"],"showFilter":[4,"show-filter"],"filter":[1025],"hideText":[4,"hide-text"],"isMenu":[4,"is-menu"],"keyboardNavigation":[4,"keyboard-navigation"],"menuVisible":[4,"menu-visible"],"roleType":[1025,"role-type"],"selectable":[4],"showIcons":[4,"show-icons"],"twoLine":[4,"two-line"],"focused":[32],"selected":[32],"focusNext":[64],"focusPrevious":[64],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"select":[64],"setProps":[64],"setFocus":[64],"setBlur":[64]}],[1,"kup-badge",{"customStyle":[1,"custom-style"],"imageData":[16],"type":[1],"text":[1],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-card",{"customStyle":[1,"custom-style"],"data":[16],"isMenu":[516,"is-menu"],"layoutFamily":[1,"layout-family"],"layoutNumber":[2,"layout-number"],"menuVisible":[1540,"menu-visible"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}],[1,"kup-toolbar",{"customStyle":[1,"custom-style"],"data":[1040],"showIcons":[4,"show-icons"],"focused":[32],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-chart",{"asp":[1],"axis":[1],"chartTitle":[16],"colors":[16],"customStyle":[1,"custom-style"],"data":[16],"hAxis":[16],"hAxes":[16],"legend":[1],"offlineMode":[16],"series":[16],"showMarks":[4,"show-marks"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"sorting":[16],"stacked":[4],"types":[16],"vAxes":[16],"vAxis":[16],"trendlines":[16],"version":[1],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["identifyRows"]}],[1,"kup-chip",{"customStyle":[1,"custom-style"],"data":[1040],"displayId":[4,"display-id"],"enableInput":[4,"enable-input"],"type":[1],"sizing":[1],"styling":[1],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[1,"kup-combobox",{"alert":[1],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"error":[1],"icon":[1],"initialValue":[1,"initial-value"],"initialValueDecode":[1,"initial-value-decode"],"isClearable":[4,"is-clearable"],"isSelect":[516,"is-select"],"label":[1],"leadingLabel":[4,"leading-label"],"readOnly":[4,"read-only"],"selectMode":[1,"select-mode"],"showDropDownIcon":[4,"show-drop-down-icon"],"sizing":[1],"trailingIcon":[4,"trailing-icon"],"showMarker":[4,"show-marker"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"reset":[64]},[[0,"keydown","listenKeydown"]],{"initialValue":["initialValueChange"],"initialValueDecode":["initialValueDecodeChange"]}],[1,"kup-date-picker",{"appendSelection":[4,"append-selection"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"firstDayIndex":[2,"first-day-index"],"initialValue":[1,"initial-value"],"outlined":[4],"sizing":[1],"showIcon":[4,"show-icon"],"showPreviousNextMonthDays":[4,"show-previous-next-month-days"],"error":[1],"showMarker":[4,"show-marker"],"legacyLook":[4,"legacy-look"],"stateSwitcher":[32],"ISOvalue":[32],"notISOvalue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]],{"firstDayIndex":["watchFirstDayIndex"]}],[1,"kup-gauge",{"arcThickness":[2,"arc-thickness"],"colors":[16],"customStyle":[1,"custom-style"],"firstThreshold":[2,"first-threshold"],"labelDistance":[1026,"label-distance"],"maxValue":[1026,"max-value"],"measurementUnit":[1,"measurement-unit"],"minValue":[1026,"min-value"],"needleCircle":[4,"needle-circle"],"onlyValue":[4,"only-value"],"reverseColors":[4,"reverse-colors"],"secondThreshold":[2,"second-threshold"],"showLabels":[4,"show-labels"],"showMaxmin":[4,"show-maxmin"],"showValue":[4,"show-value"],"size":[2],"value":[1026],"valueSize":[2,"value-size"],"widthComponent":[1,"width-component"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-image",{"badgeData":[16],"color":[1],"customStyle":[1,"custom-style"],"data":[16],"feedback":[4],"isCanvas":[4,"is-canvas"],"placeholderResource":[1,"placeholder-resource"],"resource":[1],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"zoomEnable":[4,"zoom-enable"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-progress-bar",{"centeredLabel":[4,"centered-label"],"customStyle":[1,"custom-style"],"hideLabel":[4,"hide-label"],"icon":[1],"label":[1],"isRadial":[516,"is-radial"],"value":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-rating",{"customStyle":[1,"custom-style"],"disabled":[4],"maxValue":[2,"max-value"],"value":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-spinner",{"active":[516],"barVariant":[4,"bar-variant"],"customStyle":[1,"custom-style"],"dimensions":[1],"fader":[4],"faderTimeout":[2,"fader-timeout"],"fullScreen":[516,"full-screen"],"layout":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-switch",{"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"label":[1],"leadingLabel":[4,"leading-label"],"sizing":[1],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"variant":[1],"dense":[4],"ripple":[4],"toolbar":[4],"toolbarData":[16],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]},null,{"ripple":["applyRipple"]}],[1,"kup-text-field",{"alert":[1],"allowNegative":[4,"allow-negative"],"customStyle":[1,"custom-style"],"decimals":[2],"disabled":[4],"emitSubmitEventOnEnter":[4,"emit-submit-event-on-enter"],"error":[1],"fullWidth":[516,"full-width"],"group":[4],"helper":[1],"helperIcon":[4,"helper-icon"],"helperEnabled":[4,"helper-enabled"],"helperWhenFocused":[4,"helper-when-focused"],"showCounter":[4,"show-counter"],"icon":[1],"initialValue":[1,"initial-value"],"inputMode":[1,"input-mode"],"inputType":[1,"input-type"],"integers":[2],"isClearable":[4,"is-clearable"],"label":[1],"lightMode":[4,"light-mode"],"leadingLabel":[4,"leading-label"],"max":[2],"maxLength":[2,"max-length"],"min":[2],"name":[1],"outlined":[4],"placeholder":[1],"quantityButtons":[4,"quantity-buttons"],"readOnly":[4,"read-only"],"size":[2],"sizing":[1],"step":[2],"textArea":[4,"text-area"],"trailingIcon":[4,"trailing-icon"],"trailingLabel":[4,"trailing-label"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"waitForReady":[64]}],[1,"kup-time-picker",{"appendSelection":[4,"append-selection"],"clockVariant":[4,"clock-variant"],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"initialValue":[1,"initial-value"],"manageSeconds":[4,"manage-seconds"],"timeMinutesStep":[2,"time-minutes-step"],"error":[1],"showMarker":[4,"show-marker"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[4,"keyup","listenKeyup"]],{"timeMinutesStep":["watchTimeMinutesStep"]}],[1,"kup-dialog",{"autoCenter":[16],"customStyle":[1,"custom-style"],"header":[16],"modal":[16],"resizable":[4],"anchor":[1],"minSizeX":[1,"min-size-x"],"minSizeY":[1,"min-size-y"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"maxSizeX":[1,"max-size-x"],"maxSizeY":[1,"max-size-y"],"close":[64],"getProps":[64],"recalcPosition":[64],"refresh":[64],"setProps":[64]}]]],["p-6c4ac98a",[[1,"kup-planner",{"stateId":[1,"state-id"],"store":[16],"customStyle":[1,"custom-style"],"data":[16],"detailData":[16],"detailColorCol":[1,"detail-color-col"],"detailColumns":[16],"detailDates":[16],"detailFilter":[1,"detail-filter"],"detailHeight":[2,"detail-height"],"detailHours":[16],"detailIconCol":[1,"detail-icon-col"],"detailIdCol":[1,"detail-id-col"],"detailNameCol":[1,"detail-name-col"],"detailPrevHours":[16],"detailPrevDates":[16],"detailInitialScrollX":[2,"detail-initial-scroll-x"],"detailInitialScrollY":[2,"detail-initial-scroll-y"],"listCellWidth":[1,"list-cell-width"],"maxWidth":[1,"max-width"],"phaseColorCol":[1,"phase-color-col"],"phaseColumns":[16],"phaseColParDep":[1,"phase-col-par-dep"],"phaseDates":[16],"phaseHours":[16],"phaseIconCol":[1,"phase-icon-col"],"phaseIdCol":[1,"phase-id-col"],"phaseNameCol":[1,"phase-name-col"],"phasePrevHours":[16],"phasePrevDates":[16],"readOnly":[4,"read-only"],"showSecondaryDates":[4,"show-secondary-dates"],"taskColumns":[16],"taskDates":[16],"taskFilter":[1,"task-filter"],"taskHeight":[2,"task-height"],"taskHours":[16],"taskIconCol":[1,"task-icon-col"],"taskIdCol":[1,"task-id-col"],"taskInitialScrollX":[2,"task-initial-scroll-x"],"taskInitialScrollY":[2,"task-initial-scroll-y"],"taskNameCol":[1,"task-name-col"],"taskPrevHours":[16],"taskPrevDates":[16],"titleMess":[1,"title-mess"],"viewMode":[1,"view-mode"],"mainFilter":[16],"secondaryFilter":[16],"scrollableTaskList":[4,"scrollable-task-list"],"plannerProps":[32],"getProps":[64],"refresh":[64],"setProps":[64],"addPhases":[64]},null,{"data":["dataChanged"]}]]],["p-3d06a3b8",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-bea39c28",[[1,"kup-card-list",{"columnsNumber":[2,"columns-number"],"customStyle":[1,"custom-style"],"data":[16],"fullWidth":[4,"full-width"],"horizontal":[4],"descrCol":[1,"descr-col"],"iconCol":[1,"icon-col"],"valueCol":[1,"value-col"],"measureCol":[1,"measure-col"],"intvalueCol":[1,"intvalue-col"],"decvalueCol":[1,"decvalue-col"],"textcolorCol":[1,"textcolor-col"],"valuecolorCol":[1,"valuecolor-col"],"iconcolorCol":[1,"iconcolor-col"],"layoutCol":[1,"layout-col"],"isClickable":[4,"is-clickable"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-53c92bd7",[[1,"kup-family-tree",{"autofitOnExpand":[4,"autofit-on-expand"],"autofitOnLoad":[4,"autofit-on-load"],"cardData":[16],"collapsible":[4],"customStyle":[1,"custom-style"],"data":[16],"layout":[2],"stackedLeaves":[4,"stacked-leaves"],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"runAutofit":[64],"setProps":[64]}]]],["p-dbbddacb",[[1,"kup-input-panel",{"buttonPosition":[1,"button-position"],"customStyle":[1,"custom-style"],"dashboardMode":[4,"dashboard-mode"],"data":[16],"hiddenSubmitButton":[4,"hidden-submit-button"],"inputPanelPosition":[1,"input-panel-position"],"submitCb":[16],"optionsHandler":[16],"customButtonClickHandler":[16],"checkValidObjCallback":[16],"checkValidValueCallback":[16],"autoFocus":[4,"auto-focus"],"autoSkip":[4,"auto-skip"],"updateOnClick":[4,"update-on-click"],"inputPanelCells":[32],"inputPanelCommands":[32],"tabSelected":[32],"waitForReady":[64],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["onDataChanged"]}]]],["p-8e34490e",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"sizing":[1],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]},null,{"ripple":["applyRipple"]}]]],["p-ade319f2",[[1,"kup-activity-timeline",{"data":[16],"dateColumn":[1,"date-column"],"sort":[16],"timeColumn":[1,"time-column"],"timeline":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-609c40d0",[[1,"kup-calendar",{"currentDate":[1,"current-date"],"customStyle":[1,"custom-style"],"data":[16],"calendarColumns":[16],"hideNavigation":[4,"hide-navigation"],"editableEvents":[4,"editable-events"],"enableChangeView":[4,"enable-change-view"],"viewType":[1025,"view-type"],"stateId":[1,"state-id"],"store":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["setCalendarData"],"currentDate":["setCalendarData"]}]]],["p-cd1ee400",[[1,"kup-cell",{"customStyle":[1,"custom-style"],"data":[16],"density":[1],"dragEnabled":[4,"drag-enabled"],"showSubmit":[4,"show-submit"],"submitPosition":[1,"submit-position"],"addCssClasses":[64],"getProps":[64],"refresh":[64],"removeCssClasses":[64],"setProps":[64]}]]],["p-90a9351b",[[1,"kup-dashboard",{"customStyle":[1,"custom-style"],"data":[16],"enableDesign":[4,"enable-design"],"resetInternalData":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["dataChanged"]}]]],["p-54d8f8fd",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-3d117a70",[[1,"kup-htm",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-96088cb3",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-3a88d1d8",[[1,"kup-image-list",{"columns":[16],"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"rows":[2],"selectedNode":[16],"stateId":[1,"state-id"],"store":[16],"showFullDescription":[4,"show-full-description"],"currentNode":[32],"navigationBarToggled":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"selectedNode":["selectNode"]}]]],["p-05993362",[[1,"kup-lazy",{"componentName":[1,"component-name"],"customStyle":[1,"custom-style"],"data":[16],"renderMode":[1,"render-mode"],"showPlaceholder":[4,"show-placeholder"],"isInViewport":[32],"getProps":[64],"getComponent":[64],"refresh":[64],"setProps":[64]}]]],["p-a20592e4",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-4d7bde1e",[[1,"kup-numeric-picker",{"customStyle":[1,"custom-style"],"data":[1040],"decimals":[4],"disabled":[4],"initialValue":[1,"initial-value"],"maxDecimals":[1026,"max-decimals"],"maxIntegers":[1026,"max-integers"],"maxLength":[2,"max-length"],"negative":[4],"stateSwitcher":[32],"value":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]]]]],["p-efd926e9",[[1,"kup-object-field",{"customStyle":[1,"custom-style"],"data":[16],"inputValue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setValue":[64]}]]],["p-f9e08d18",[[1,"kup-pdf",{"pdfPath":[1,"pdf-path"],"sendCredentials":[4,"send-credentials"],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"pdfPath":["onPdfPathChange"]}]]],["p-f19b41a8",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-e644ce53",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-afda3af6",[[1,"kup-snackbar",{"actionButton":[16],"closeButton":[4,"close-button"],"customStyle":[1,"custom-style"],"text":[1],"header":[1],"timeout":[2],"visible":[32],"getProps":[64],"hide":[64],"refresh":[64],"setProps":[64],"show":[64]}]]],["p-1c7e1e3a",[[1,"kup-txt",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-1d7ee5d7",[[1,"kup-typography",{"customStyle":[1,"custom-style"],"toolbar":[4],"toolbarData":[16],"type":[1],"value":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-fd69c0ce",[[1,"kup-typography-list",{"customStyle":[1,"custom-style"],"data":[1040],"type":[1],"toolbar":[4],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}]]],["p-0f44bb37",[[1,"kup-echart",{"axis":[1025],"colors":[16],"consistencyCheck":[4,"consistency-check"],"chartTitle":[16],"customStyle":[1,"custom-style"],"data":[16],"legend":[1],"map":[1],"series":[16],"showMarks":[4,"show-marks"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"stacked":[4],"types":[16],"xAxis":[16],"yAxis":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-6c13719e",[[0,"kup-editor",{"autosaveTimer":[2,"autosave-timer"],"editorHeight":[1,"editor-height"],"initialEditType":[1,"initial-edit-type"],"initialValue":[1,"initial-value"],"isReadOnly":[4,"is-read-only"],"previewStyle":[1,"preview-style"],"selectedTab":[1,"selected-tab"],"showSaveButton":[4,"show-save-button"],"showToolbar":[4,"show-toolbar"],"editor":[32],"editorRef":[32],"viewer":[32],"getProps":[64],"getValueAsHTML":[64],"getValueAsMarkdown":[64],"refresh":[64],"setProps":[64]},null,{"editorRef":["onEditorRefUpdated"],"editor":["onEditorUpdate"],"initialEditType":["onInitialEditTypeChanged"],"isReadOnly":["onIsReadOnlyChanged"],"previewStyle":["onPreviewStyleChanged"],"selectedTab":["onMarkdownPreviewTabChanged"],"showSaveButton":["onShowSaveButtonChanged"],"showToolbar":["onShowToolBarChanged"],"autosaveTimer":["onAutosaveTimerChanged"]}]]],["p-1925587b",[[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-24b51f9f",[[0,"kup-custom-task-list-header",{"label":[1],"doubleView":[4,"double-view"],"setDoubleView":[16],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"]}],[0,"kup-custom-task-list-table",{"ganttId":[1,"gantt-id"],"tasks":[16],"rowHeight":[2,"row-height"],"rowWidth":[1,"row-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"scrollableTaskList":[4,"scrollable-task-list"],"taskListScrollX":[2,"task-list-scroll-x"],"setSelectedTask":[16],"onclickTaskList":[16],"ondblclickTaskList":[16],"oncontextmenuTaskList":[16],"ontaskListScrollWidth":[16]},null,{"taskListScrollX":["updateTaskListScroll"]}],[0,"kup-gantt-calendar",{"dateSetup":[16],"locale":[1],"rtl":[4],"headerHeight":[2,"header-height"],"columnWidth":[2,"column-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"dateTimeFormatters":[16],"singleLineHeader":[4,"single-line-header"],"currentDateIndicator":[16],"svgWidth":[2,"svg-width"],"simplifiedHeader":[32]}],[0,"kup-grid-renderer",{"tasks":[16],"dates":[16],"ganttEvent":[16],"selectedTask":[16],"rowHeight":[2,"row-height"],"columnWidth":[2,"column-width"],"timeStep":[2,"time-step"],"taskHeight":[2,"task-height"],"arrowColor":[1,"arrow-color"],"arrowIndent":[2,"arrow-indent"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rtl":[4],"hideLabel":[4,"hide-label"],"showSecondaryDates":[4,"show-secondary-dates"],"currentDateIndicator":[16],"projection":[16],"readOnly":[4,"read-only"],"gridProps":[16],"dateChange":[16],"progressChange":[16],"doubleClick":[16],"barClick":[16],"barDblClick":[16],"barContextMenu":[16],"delete":[16],"setFailedTask":[16],"setSelectedTask":[16],"eventStart":[16],"eMouseDown":[16],"phaseDrop":[16],"setGanttEvent":[1040],"phaseDragScroll":[16],"xStep":[32],"initEventX1Delta":[32],"initEventXClick":[32],"isMoving":[32],"point":[32],"svg":[32],"currentTarget":[32],"dragScrollInterval":[32],"dropZoneTask":[32]},null,{"columnWidth":["updateXStep"],"dates":["updateXStep"],"timeStep":["updateXStep","updateSvgMove"],"ganttEvent":["updateSvgMove"],"xStep":["updateSvgMove"],"svg":["updateSvgMove"],"initEventX1Delta":["updateSvgMove"],"point":["updateSvgMove"],"rtl":["updateSvgMove"],"onProgressChange":["updateSvgMove"],"onDateChange":["updateSvgMove"]}]]],["p-53ee65db",[[0,"kup-gantt",{"ganttId":[1,"gantt-id"],"tasks":[16],"headerHeight":[2,"header-height"],"columnWidth":[2,"column-width"],"listCellWidth":[1,"list-cell-width"],"rowHeight":[2,"row-height"],"filter":[16],"ganttHeight":[2,"gantt-height"],"viewMode":[1,"view-mode"],"preStepsCount":[2,"pre-steps-count"],"locale":[1],"barFill":[2,"bar-fill"],"projectFill":[2,"project-fill"],"timelineFill":[2,"timeline-fill"],"barCornerRadius":[2,"bar-corner-radius"],"barProgressColor":[1,"bar-progress-color"],"barProgressSelectedColor":[1,"bar-progress-selected-color"],"barBackgroundColor":[1,"bar-background-color"],"barBackgroundSelectedColor":[1,"bar-background-selected-color"],"projectProgressColor":[1,"project-progress-color"],"projectProgressSelectedColor":[1,"project-progress-selected-color"],"projectBackgroundColor":[1,"project-background-color"],"projectBackgroundSelectedColor":[1,"project-background-selected-color"],"rtl":[4],"handleWidth":[2,"handle-width"],"timeStep":[2,"time-step"],"arrowColor":[1,"arrow-color"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"arrowIndent":[2,"arrow-indent"],"todayColor":[1,"today-color"],"viewDate":[16],"TooltipContent":[16],"TaskListHeader":[16],"TaskListTable":[16],"dateTimeFormatters":[16],"singleLineHeader":[4,"single-line-header"],"hideLabel":[4,"hide-label"],"showSecondaryDates":[4,"show-secondary-dates"],"hideDependencies":[4,"hide-dependencies"],"projection":[16],"displayedStartDate":[16],"displayedEndDate":[16],"initialScrollX":[2,"initial-scroll-x"],"initialScrollY":[2,"initial-scroll-y"],"readOnly":[4,"read-only"],"currentTasks":[16],"label":[1],"doubleView":[4,"double-view"],"scrollableTaskList":[4,"scrollable-task-list"],"setDoubleView":[16],"barContextMenu":[16],"scrollXChange":[16],"scrollYChange":[16],"barClick":[16],"barDblClick":[16],"dateChange":[16],"select":[16],"handleClick":[16],"handleDblClick":[16],"handleContextMenu":[16],"ganttOnClick":[16],"ganttOnDblClick":[16],"ganttonOnContextMenu":[16],"progressChange":[16],"doubleClick":[16],"delete":[16],"expanderClick":[16],"phaseDrop":[16],"wrapperRef":[32],"taskGanttRef":[32],"taskListRef":[32],"dateSetup":[32],"taskListWidth":[32],"svgContainerWidth":[32],"svgContainerHeight":[32],"barTasks":[32],"ganttEvent":[32],"taskHeight":[32],"projectHeight":[32],"timelineHeight":[32],"selectedTask":[32],"failedTask":[32],"svgWidth":[32],"ganttFullHeight":[32],"scrollX":[32],"scrollY":[32],"ignoreScrollEvent":[32],"currentDateIndicatorContent":[32],"projectionContent":[32],"taskListScrollWidth":[32],"taskListScrollX":[32],"refresh":[64]},[[0,"wheel","handleWheel"]],{"initialScrollY":["updateInitialScrollY"],"scrollYChange":["updateInitialScrollY"],"initialScrollX":["updateInitialScrollX","updateIgnoreScrollEvent"],"scrollXChange":["updateInitialScrollX"],"tasks":["updateGanttData","updateSvgContainerHeight"],"viewMode":["updateGanttData","updateIgnoreScrollEvent"],"preStepsCount":["updateGanttData"],"rowHeight":["updateGanttData","updateSvgContainerHeight","updateGanttFullHeight"],"barCornerRadius":["updateGanttData"],"columnWidth":["updateGanttData","updateIgnoreScrollEvent","updateCurrentDateIndicatorContent","updateProjectionContent","updateSvgWidth"],"taskHeight":["updateGanttData"],"handleWidth":["updateGanttData"],"barProgressColor":["updateGanttData"],"barProgressSelectedColor":["updateGanttData"],"barBackgroundColor":["updateGanttData"],"barBackgroundSelectedColor":["updateGanttData"],"projectProgressColor":["updateGanttData"],"projectProgressSelectedColor":["updateGanttData"],"projectBackgroundColor":["updateGanttData"],"projectBackgroundSelectedColor":["updateGanttData"],"milestoneBackgroundColor":["updateGanttData"],"milestoneBackgroundSelectedColor":["updateGanttData"],"rtl":["updateGanttData","handleWheel"],"scrollX":["updateGanttData","handleWheel"],"onExpanderClick":["updateGanttData"],"showSecondaryDates":["updateGanttData"],"projectHeight":["updateGanttData"],"timelineHeight":["updateGanttData"],"displayedStartDate":["updateGanttData"],"displayedEndDate":["updateGanttData"],"dateSetup":["updateGanttData","updateIgnoreScrollEvent","updateCurrentDateIndicatorContent","updateProjectionContent","updateSvgWidth"],"viewDate":["updateIgnoreScrollEvent"],"ganttEvent":["updateGanttEventAndBarTasks"],"failedTask":["updateFailedTasksAndBarChart"],"barTasks":["updateFailedTasksAndBarChart","updateGanttFullHeight"],"taskListRef":["updateTaskListWidth"],"listCellWidth":["updateTaskListWidth"],"wrapperRef":["updateSvgContainerWidth","handleWheel"],"ganttHeight":["updateSvgContainerHeight","handleWheel"],"headerHeight":["updateSvgContainerHeight"],"scrollY":["handleWheel"],"svgWidth":["handleWheel"],"ganttFullHeight":["handleWheel"],"todayColor":["updateCurrentDateIndicatorContent"],"projection":["updateProjectionContent"]}],[0,"kup-switcher",{"timeUnitChange":[16],"activeButton":[32]}],[0,"kup-task-gantt",{"gridProps":[16],"calendarProps":[16],"barProps":[16],"taskGanttRef":[16],"ganttHeight":[2,"gantt-height"],"scrollY":[1026,"scroll-y"],"scrollX":[1026,"scroll-x"],"phaseDragScroll":[16]},null,{"scrollX":["updateScrollX"],"verticalGanttContainerRef":["updateScrollX"],"scrollY":["updateScrollY"],"horizontalContainerRef":["updateScrollY"]}],[0,"kup-task-list",{"headerHeight":[2,"header-height"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rowWidth":[1,"row-width"],"rowHeight":[2,"row-height"],"scrollY":[2,"scroll-y"],"locale":[1],"tasks":[16],"selectedTask":[16],"horizontalContainerClass":[1,"horizontal-container-class"],"ganttHeight":[2,"gantt-height"],"filter":[16],"TaskListHeader":[16],"TaskListTable":[16],"currentTasks":[16],"label":[1],"doubleView":[4,"double-view"],"scrollableTaskList":[4,"scrollable-task-list"],"updateTaskListScrollX":[4,"update-task-list-scroll-x"],"taskListScrollX":[2,"task-list-scroll-x"],"setDoubleView":[16],"handleClick":[16],"handleDblClick":[16],"handleContextMenu":[16],"ganttOnClick":[16],"ganttOnDblClick":[16],"ganttonOnContextMenu":[16],"setSelectedTask":[16],"expanderClick":[16],"ontaskListScrollWidth":[16],"selectedTaskId":[32]},null,{"scrollY":["updateScrollY"]}],[1,"kup-horizontal-scroll",{"scrollNumber":[2,"scroll-number"],"svgWidth":[2,"svg-width"],"taskListTrueRef":[16],"rtl":[4],"taskListWidth":[2,"task-list-width"],"scrollableTaskList":[4,"scrollable-task-list"],"listCellWidth":[1,"list-cell-width"],"taskListScrollWidth":[2,"task-list-scroll-width"],"taskListScrollNumber":[2,"task-list-scroll-number"],"horizontalScroll":[16],"horizontalTaskListScroll":[16],"timeoutId":[32]},null,{"scrollNumber":["scrollLeft"],"taskListScrollNumber":["listScrollLeft"]}],[1,"kup-standard-tooltip",{"task":[16],"fontSize":[1,"font-size"],"fontFamily":[1,"font-family"]}],[0,"kup-task-list-header",{"headerHeight":[2,"header-height"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rowWidth":[1,"row-width"]}],[0,"kup-task-list-table",{"rowHeight":[2,"row-height"],"rowWidth":[1,"row-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"locale":[1],"tasks":[16],"selectedTaskId":[1,"selected-task-id"],"setSelectedTask":[16],"expanderClick":[16],"expandedTasks":[32]}],[1,"kup-tooltip",{"task":[16],"rowHeight":[2,"row-height"],"rtl":[4],"svgContainerHeight":[2,"svg-container-height"],"svgContainerWidth":[2,"svg-container-width"],"scrollX":[2,"scroll-x"],"scrollY":[2,"scroll-y"],"arrowIndent":[2,"arrow-indent"],"fontSize":[1,"font-size"],"fontFamily":[1,"font-family"],"headerHeight":[2,"header-height"],"taskListWidth":[2,"task-list-width"],"TooltipContent":[8,"tooltip-content"],"svgWidth":[2,"svg-width"],"relatedY":[32],"relatedX":[32]},null,{"task":["calculateTooltipPosition"],"arrowIndent":["calculateTooltipPosition"],"scrollX":["calculateTooltipPosition"],"scrollY":["calculateTooltipPosition"],"headerHeight":["calculateTooltipPosition"],"taskListWidth":["calculateTooltipPosition"],"rowHeight":["calculateTooltipPosition"],"svgContainerHeight":["calculateTooltipPosition"],"svgContainerWidth":["calculateTooltipPosition"],"rtl":["calculateTooltipPosition"]}],[0,"kup-vertical-scroll",{"scrollNumber":[2,"scroll-number"],"ganttHeight":[2,"gantt-height"],"ganttFullHeight":[2,"gantt-full-height"],"headerHeight":[2,"header-height"],"rtl":[4],"verticalScroll":[16]},null,{"scrollNumber":["updateScroll"]}]]],["p-43159582",[[0,"kup-planner-renderer",{"props":[1040],"timeUnit":[32],"currentTasks":[32],"currentDetails":[32],"scrollX":[32],"mainGanttDoubleView":[32],"displayedDates":[32],"viewDate":[32],"projection":[32],"tasks":[32],"details":[32],"refresh":[64]},null,{"props":["mainGanttChangeHandler"],"timeUnit":["updateDisplayedDates"],"mainGanttDoubleView":["updateDisplayedDates"],"props.preStepsCount":["updateDisplayedDates"],"viewDate":["updateDisplayedDates"],"currentTasks":["updateTasks"],"currentDetails":["updateTasks"]}]]],["p-59b10b7e",[[1,"kup-box",{"cardData":[16],"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"dragEnabled":[4,"drag-enabled"],"dropEnabled":[4,"drop-enabled"],"dropOnSection":[4,"drop-on-section"],"editableData":[4,"editable-data"],"enableRowActions":[4,"enable-row-actions"],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"kanban":[16],"layout":[16],"lazyLoadRows":[4,"lazy-load-rows"],"loadMoreLimit":[2,"load-more-limit"],"loadMoreMode":[1,"load-more-mode"],"loadMoreStep":[2,"load-more-step"],"multiSelection":[4,"multi-selection"],"pageSelected":[2,"page-selected"],"pagination":[4],"rowsPerPage":[2,"rows-per-page"],"scrollOnHover":[4,"scroll-on-hover"],"selectBox":[2,"select-box"],"selectedRowsState":[1025,"selected-rows-state"],"showLoadMore":[4,"show-load-more"],"showSelection":[4,"show-selection"],"sortBy":[1025,"sort-by"],"sortEnabled":[4,"sort-enabled"],"stateId":[1,"state-id"],"store":[16],"swipeDisabled":[4,"swipe-disabled"],"collapsedSection":[32],"selectedRows":[32],"rowActionMenuOpened":[32],"currentPage":[32],"currentRowsPerPage":[32],"getProps":[64],"loadRowActions":[64],"refresh":[64],"setProps":[64]},null,{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"globalFilterValue":["recalculateRows"],"sortBy":["recalculateRows"],"pagination":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["onDataChanged"],"layout":["onLayoutChanged"],"selectBox":["onSelectBoxChanged"]}]]]]'),e))));
1
+ import{p as e,b as t}from"./p-b0368f88.js";export{s as setNonce}from"./p-b0368f88.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-84a3c528",[[1,"kup-data-table",{"stateId":[1,"state-id"],"store":[16],"autoFillMissingCells":[4,"auto-fill-missing-cells"],"customStyle":[1,"custom-style"],"data":[1040],"density":[1],"dragEnabled":[1540,"drag-enabled"],"dropEnabled":[516,"drop-enabled"],"editableData":[1028,"editable-data"],"emptyDataLabel":[1025,"empty-data-label"],"enableColumnsFormula":[4,"enable-columns-formula"],"enableExtraColumns":[4,"enable-extra-columns"],"enableMergeColumns":[4,"enable-merge-columns"],"enableSortableColumns":[4,"enable-sortable-columns"],"expandGroups":[4,"expand-groups"],"filters":[1040],"fixedColumns":[2,"fixed-columns"],"fixedColumnsR":[2,"fixed-columns-r"],"fixedRows":[2,"fixed-rows"],"forceOneLine":[516,"force-one-line"],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"groupLabelDisplay":[1,"group-label-display"],"groups":[1040],"headerIsPersistent":[4,"header-is-persistent"],"insertMode":[1,"insert-mode"],"isFocusable":[4,"is-focusable"],"lazyLoadRows":[4,"lazy-load-rows"],"lineBreakCharacter":[1,"line-break-character"],"loadMoreLimit":[2,"load-more-limit"],"loadMoreMode":[1,"load-more-mode"],"loadMoreStep":[2,"load-more-step"],"pageSelected":[2,"page-selected"],"paginatorPos":[1,"paginator-pos"],"legacyLook":[516,"legacy-look"],"removableColumns":[4,"removable-columns"],"resizableColumns":[4,"resizable-columns"],"rowActions":[16],"commands":[16],"rowsPerPage":[1026,"rows-per-page"],"scrollOnHover":[4,"scroll-on-hover"],"selection":[1],"showCustomization":[4,"show-customization"],"showDeleteButton":[4,"show-delete-button"],"showHistoryButton":[4,"show-history-button"],"showFilters":[4,"show-filters"],"showFooter":[4,"show-footer"],"showGrid":[1,"show-grid"],"showGroups":[4,"show-groups"],"showHeader":[4,"show-header"],"showLoadMore":[4,"show-load-more"],"showPaginator":[4,"show-paginator"],"hiddenSubmitButton":[4,"hidden-submit-button"],"sort":[1040],"sortableColumnsMutateData":[4,"sortable-columns-mutate-data"],"sortEnabled":[4,"sort-enabled"],"tableHeight":[1,"table-height"],"tableWidth":[1,"table-width"],"totals":[1040],"transpose":[1028],"visibleColumns":[1040],"updatableData":[1540,"updatable-data"],"updateOnClick":[4,"update-on-click"],"lazyLoadCells":[32],"currentPage":[32],"currentRowsPerPage":[32],"selectedRows":[32],"selectedColumn":[32],"columnMenuAnchor":[32],"groupState":[32],"openedTotalMenu":[32],"openedCustomSettings":[32],"fontsize":[32],"closeColumnMenu":[64],"collapseAll":[64],"deleteRows":[64],"closeInsertCard":[64],"closeConfirmDeleteCard":[64],"getCards":[64],"insertNewRow":[64],"expandAll":[64],"getProps":[64],"getSelectedRows":[64],"hideColumn":[64],"setGroupExpansionByDepth":[64],"newColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setCellValue":[64],"setFocus":[64],"setProps":[64],"setSelectedRows":[64],"scrollToRow":[64],"waitForReady":[64],"getLastFocusedRow":[64],"getInternalState":[64],"defaultSortingFunction":[64]},null,{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"expandGroups":["expandGroupsHandler"],"filters":["filtersChanged"],"globalFilterValue":["filtersChanged"],"sort":["recalculateRows"],"totals":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["identifyAndInitRows","decorateAndInitForUpdTable","computeMaxRowsPerPage"],"groups":["recalculateRowsAndUndoSelections"],"fixedColumns":["controlFixedRowsColumns"],"fixedColumnsR":["controlFixedRowsColumns"],"fixedRows":["controlFixedRowsColumns"],"transpose":["recalculateData"]}],[1,"kup-form",{"customStyle":[1,"custom-style"],"data":[16],"hiddenSubmitButton":[4,"hidden-submit-button"],"labelPlacement":[1,"label-placement"],"layout":[16],"submitCb":[16],"getProps":[64],"refresh":[64],"setFocus":[64],"setProps":[64]},null,{"data":["onDataChanged"],"layout":["onLayoutChanged"]}],[1,"kup-autocomplete",{"alert":[1],"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"error":[1],"icon":[1],"initialValue":[1,"initial-value"],"initialValueDecode":[1,"initial-value-decode"],"isClearable":[4,"is-clearable"],"inputDelay":[2,"input-delay"],"label":[1],"leadingLabel":[4,"leading-label"],"minimumChars":[2,"minimum-chars"],"readOnly":[4,"read-only"],"selectMode":[1,"select-mode"],"serverHandledFilter":[516,"server-handled-filter"],"showDropDownIcon":[4,"show-drop-down-icon"],"showMarker":[4,"show-marker"],"sizing":[1],"trailingIcon":[4,"trailing-icon"],"placeholder":[1],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"reset":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-button",{"buttonType":[1,"button-type"],"checked":[1028],"contentAlign":[1,"content-align"],"customStyle":[1,"custom-style"],"disabled":[4],"icon":[1],"iconOff":[1,"icon-off"],"label":[1],"blackMode":[4,"black-mode"],"placeholderIcon":[1,"placeholder-icon"],"styling":[1],"showSpinner":[4,"show-spinner"],"toggable":[4],"trailingIcon":[4,"trailing-icon"],"sizing":[1],"keyShortcut":[1,"key-shortcut"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-button-list",{"blackMode":[4,"black-mode"],"contentAlign":[1,"content-align"],"columns":[2],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"showSelection":[4,"show-selection"],"sizing":[1],"styling":[513],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[1,"kup-radio",{"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"horizontal":[4],"label":[1],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-checkbox",{"alert":[1],"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"error":[1],"indeterminate":[1028],"label":[1],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tree",{"asAccordion":[516,"as-accordion"],"columns":[1040],"customStyle":[1,"custom-style"],"data":[1040],"density":[1],"dynamicExpansionCallback":[16],"editableData":[4,"editable-data"],"enableExtraColumns":[4,"enable-extra-columns"],"expanded":[4],"expansionMode":[1,"expansion-mode"],"filters":[1040],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"globalFilterMode":[1,"global-filter-mode"],"treeHeight":[1,"tree-height"],"preventXScroll":[516,"prevent-x-scroll"],"removableColumns":[4,"removable-columns"],"ripple":[4],"scrollOnHover":[4,"scroll-on-hover"],"showColumns":[1028,"show-columns"],"showFilters":[4,"show-filters"],"showFooter":[4,"show-footer"],"showHeader":[1028,"show-header"],"showIcons":[4,"show-icons"],"stateId":[1,"state-id"],"store":[16],"useDynamicExpansion":[4,"use-dynamic-expansion"],"totals":[1040],"treeColumnVisible":[32],"openedTotalMenu":[32],"columnMenuAnchor":[32],"stateSwitcher":[32],"selectedNode":[32],"getSelectedNode":[64],"setSelectedNode":[64],"isEmpty":[64],"closeColumnMenu":[64],"collapseAll":[64],"expandAll":[64],"setExpansionByDepth":[64],"getProps":[64],"hideColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["enrichDataWhenChanged"],"expanded":["enrichStructureStateWhenChanged"]}],[1,"kup-color-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"initialValue":[1,"initial-value"],"readOnly":[4,"read-only"],"swatchOnly":[4,"swatch-only"],"value":[32],"getProps":[64],"getValue":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"refresh":[64]}],[1,"kup-dropdown-button",{"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"dropdownOnly":[4,"dropdown-only"],"icon":[1],"initialValue":[1,"initial-value"],"label":[1],"placeholderIcon":[1,"placeholder-icon"],"selectMode":[1,"select-mode"],"sizing":[1],"styling":[1],"trailingIcon":[4,"trailing-icon"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-file-upload",{"customStyle":[1,"custom-style"],"data":[8],"inputRef":[32],"files":[32],"uploadSuccess":[32],"showSpinner":[32],"getProps":[64],"refresh":[64],"setProps":[64],"setSuccess":[64],"setLoading":[64]},null,{"data":["onDataChanged"]}],[1,"kup-list",{"customStyle":[1,"custom-style"],"data":[1040],"displayMode":[1,"display-mode"],"showFilter":[4,"show-filter"],"filter":[1025],"hideText":[4,"hide-text"],"isMenu":[4,"is-menu"],"keyboardNavigation":[4,"keyboard-navigation"],"menuVisible":[4,"menu-visible"],"roleType":[1025,"role-type"],"selectable":[4],"showIcons":[4,"show-icons"],"twoLine":[4,"two-line"],"focused":[32],"selected":[32],"focusNext":[64],"focusPrevious":[64],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"select":[64],"setProps":[64],"setFocus":[64],"setBlur":[64]}],[1,"kup-badge",{"customStyle":[1,"custom-style"],"imageData":[16],"type":[1],"text":[1],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-card",{"customStyle":[1,"custom-style"],"data":[16],"isMenu":[516,"is-menu"],"layoutFamily":[1,"layout-family"],"layoutNumber":[2,"layout-number"],"menuVisible":[1540,"menu-visible"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}],[1,"kup-toolbar",{"customStyle":[1,"custom-style"],"data":[1040],"showIcons":[4,"show-icons"],"focused":[32],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-chart",{"asp":[1],"axis":[1],"chartTitle":[16],"colors":[16],"customStyle":[1,"custom-style"],"data":[16],"hAxis":[16],"hAxes":[16],"legend":[1],"offlineMode":[16],"series":[16],"showMarks":[4,"show-marks"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"sorting":[16],"stacked":[4],"types":[16],"vAxes":[16],"vAxis":[16],"trendlines":[16],"version":[1],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["identifyRows"]}],[1,"kup-chip",{"customStyle":[1,"custom-style"],"data":[1040],"displayId":[4,"display-id"],"enableInput":[4,"enable-input"],"type":[1],"sizing":[1],"styling":[1],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[1,"kup-combobox",{"alert":[1],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"error":[1],"icon":[1],"initialValue":[1,"initial-value"],"initialValueDecode":[1,"initial-value-decode"],"isClearable":[4,"is-clearable"],"isSelect":[516,"is-select"],"label":[1],"leadingLabel":[4,"leading-label"],"readOnly":[4,"read-only"],"selectMode":[1,"select-mode"],"showDropDownIcon":[4,"show-drop-down-icon"],"sizing":[1],"trailingIcon":[4,"trailing-icon"],"showMarker":[4,"show-marker"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"reset":[64]},[[0,"keydown","listenKeydown"]],{"initialValue":["initialValueChange"],"initialValueDecode":["initialValueDecodeChange"]}],[1,"kup-date-picker",{"appendSelection":[4,"append-selection"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"firstDayIndex":[2,"first-day-index"],"initialValue":[1,"initial-value"],"outlined":[4],"sizing":[1],"showIcon":[4,"show-icon"],"showPreviousNextMonthDays":[4,"show-previous-next-month-days"],"error":[1],"showMarker":[4,"show-marker"],"legacyLook":[4,"legacy-look"],"stateSwitcher":[32],"ISOvalue":[32],"notISOvalue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]],{"firstDayIndex":["watchFirstDayIndex"]}],[1,"kup-gauge",{"arcThickness":[2,"arc-thickness"],"colors":[16],"customStyle":[1,"custom-style"],"firstThreshold":[2,"first-threshold"],"labelDistance":[1026,"label-distance"],"maxValue":[1026,"max-value"],"measurementUnit":[1,"measurement-unit"],"minValue":[1026,"min-value"],"needleCircle":[4,"needle-circle"],"onlyValue":[4,"only-value"],"reverseColors":[4,"reverse-colors"],"secondThreshold":[2,"second-threshold"],"showLabels":[4,"show-labels"],"showMaxmin":[4,"show-maxmin"],"showValue":[4,"show-value"],"size":[2],"value":[1026],"valueSize":[2,"value-size"],"widthComponent":[1,"width-component"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-image",{"badgeData":[16],"color":[1],"customStyle":[1,"custom-style"],"data":[16],"feedback":[4],"isCanvas":[4,"is-canvas"],"placeholderResource":[1,"placeholder-resource"],"resource":[1],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"zoomEnable":[4,"zoom-enable"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-progress-bar",{"centeredLabel":[4,"centered-label"],"customStyle":[1,"custom-style"],"hideLabel":[4,"hide-label"],"icon":[1],"label":[1],"isRadial":[516,"is-radial"],"value":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-rating",{"customStyle":[1,"custom-style"],"disabled":[4],"maxValue":[2,"max-value"],"value":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-spinner",{"active":[516],"barVariant":[4,"bar-variant"],"customStyle":[1,"custom-style"],"dimensions":[1],"fader":[4],"faderTimeout":[2,"fader-timeout"],"fullScreen":[516,"full-screen"],"layout":[2],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-switch",{"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"label":[1],"leadingLabel":[4,"leading-label"],"sizing":[1],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"variant":[1],"dense":[4],"ripple":[4],"toolbar":[4],"toolbarData":[16],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]},null,{"ripple":["applyRipple"]}],[1,"kup-text-field",{"alert":[1],"allowNegative":[4,"allow-negative"],"customStyle":[1,"custom-style"],"decimals":[2],"disabled":[4],"emitSubmitEventOnEnter":[4,"emit-submit-event-on-enter"],"error":[1],"fullWidth":[516,"full-width"],"group":[4],"helper":[1],"helperIcon":[4,"helper-icon"],"helperEnabled":[4,"helper-enabled"],"helperWhenFocused":[4,"helper-when-focused"],"showCounter":[4,"show-counter"],"icon":[1],"initialValue":[1,"initial-value"],"inputMode":[1,"input-mode"],"inputType":[1,"input-type"],"integers":[2],"isClearable":[4,"is-clearable"],"label":[1],"lightMode":[4,"light-mode"],"leadingLabel":[4,"leading-label"],"max":[2],"maxLength":[2,"max-length"],"min":[2],"name":[1],"outlined":[4],"placeholder":[1],"quantityButtons":[4,"quantity-buttons"],"readOnly":[4,"read-only"],"size":[2],"sizing":[1],"step":[2],"textArea":[4,"text-area"],"trailingIcon":[4,"trailing-icon"],"trailingLabel":[4,"trailing-label"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"waitForReady":[64]}],[1,"kup-time-picker",{"appendSelection":[4,"append-selection"],"clockVariant":[4,"clock-variant"],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"initialValue":[1,"initial-value"],"manageSeconds":[4,"manage-seconds"],"timeMinutesStep":[2,"time-minutes-step"],"error":[1],"showMarker":[4,"show-marker"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[4,"keyup","listenKeyup"]],{"timeMinutesStep":["watchTimeMinutesStep"]}],[1,"kup-dialog",{"autoCenter":[16],"customStyle":[1,"custom-style"],"header":[16],"modal":[16],"resizable":[4],"anchor":[1],"minSizeX":[1,"min-size-x"],"minSizeY":[1,"min-size-y"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"maxSizeX":[1,"max-size-x"],"maxSizeY":[1,"max-size-y"],"close":[64],"getProps":[64],"recalcPosition":[64],"refresh":[64],"setProps":[64]}]]],["p-c5c78514",[[1,"kup-planner",{"stateId":[1,"state-id"],"store":[16],"customStyle":[1,"custom-style"],"data":[16],"detailData":[16],"detailColorCol":[1,"detail-color-col"],"detailColumns":[16],"detailDates":[16],"detailFilter":[1,"detail-filter"],"detailHeight":[2,"detail-height"],"detailHours":[16],"detailIconCol":[1,"detail-icon-col"],"detailIdCol":[1,"detail-id-col"],"detailNameCol":[1,"detail-name-col"],"detailPrevHours":[16],"detailPrevDates":[16],"detailInitialScrollX":[2,"detail-initial-scroll-x"],"detailInitialScrollY":[2,"detail-initial-scroll-y"],"listCellWidth":[1,"list-cell-width"],"maxWidth":[1,"max-width"],"phaseColorCol":[1,"phase-color-col"],"phaseColumns":[16],"phaseColParDep":[1,"phase-col-par-dep"],"phaseDates":[16],"phaseHours":[16],"phaseIconCol":[1,"phase-icon-col"],"phaseIdCol":[1,"phase-id-col"],"phaseNameCol":[1,"phase-name-col"],"phasePrevHours":[16],"phasePrevDates":[16],"readOnly":[4,"read-only"],"showSecondaryDates":[4,"show-secondary-dates"],"taskColumns":[16],"taskDates":[16],"taskFilter":[1,"task-filter"],"taskHeight":[2,"task-height"],"taskHours":[16],"taskIconCol":[1,"task-icon-col"],"taskIdCol":[1,"task-id-col"],"taskInitialScrollX":[2,"task-initial-scroll-x"],"taskInitialScrollY":[2,"task-initial-scroll-y"],"taskNameCol":[1,"task-name-col"],"taskPrevHours":[16],"taskPrevDates":[16],"titleMess":[1,"title-mess"],"viewMode":[1,"view-mode"],"mainFilter":[16],"secondaryFilter":[16],"scrollableTaskList":[4,"scrollable-task-list"],"plannerProps":[32],"getProps":[64],"refresh":[64],"setProps":[64],"addPhases":[64]},null,{"data":["dataChanged"]}]]],["p-c71db43b",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-bded6c9e",[[1,"kup-card-list",{"columnsNumber":[2,"columns-number"],"customStyle":[1,"custom-style"],"data":[16],"fullWidth":[4,"full-width"],"horizontal":[4],"descrCol":[1,"descr-col"],"iconCol":[1,"icon-col"],"valueCol":[1,"value-col"],"measureCol":[1,"measure-col"],"intvalueCol":[1,"intvalue-col"],"decvalueCol":[1,"decvalue-col"],"textcolorCol":[1,"textcolor-col"],"valuecolorCol":[1,"valuecolor-col"],"iconcolorCol":[1,"iconcolor-col"],"layoutCol":[1,"layout-col"],"isClickable":[4,"is-clickable"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-c95063e6",[[1,"kup-family-tree",{"autofitOnExpand":[4,"autofit-on-expand"],"autofitOnLoad":[4,"autofit-on-load"],"cardData":[16],"collapsible":[4],"customStyle":[1,"custom-style"],"data":[16],"layout":[2],"stackedLeaves":[4,"stacked-leaves"],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"runAutofit":[64],"setProps":[64]}]]],["p-c87c9e36",[[1,"kup-input-panel",{"buttonPosition":[1,"button-position"],"customStyle":[1,"custom-style"],"dashboardMode":[4,"dashboard-mode"],"data":[16],"hiddenSubmitButton":[4,"hidden-submit-button"],"inputPanelPosition":[1,"input-panel-position"],"submitCb":[16],"optionsHandler":[16],"customButtonClickHandler":[16],"checkValidObjCallback":[16],"checkValidValueCallback":[16],"autoFocus":[4,"auto-focus"],"autoSkip":[4,"auto-skip"],"updateOnClick":[4,"update-on-click"],"inputPanelCells":[32],"inputPanelCommands":[32],"tabSelected":[32],"waitForReady":[64],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["onDataChanged"]}]]],["p-58fa5d13",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"sizing":[1],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]},null,{"ripple":["applyRipple"]}]]],["p-a7901100",[[1,"kup-activity-timeline",{"data":[16],"dateColumn":[1,"date-column"],"sort":[16],"timeColumn":[1,"time-column"],"timeline":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-5a7bbdeb",[[1,"kup-calendar",{"currentDate":[1,"current-date"],"customStyle":[1,"custom-style"],"data":[16],"calendarColumns":[16],"hideNavigation":[4,"hide-navigation"],"editableEvents":[4,"editable-events"],"enableChangeView":[4,"enable-change-view"],"viewType":[1025,"view-type"],"stateId":[1,"state-id"],"store":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]},null,{"data":["setCalendarData"],"currentDate":["setCalendarData"]}]]],["p-cbef1cff",[[1,"kup-cell",{"customStyle":[1,"custom-style"],"data":[16],"density":[1],"dragEnabled":[4,"drag-enabled"],"showSubmit":[4,"show-submit"],"submitPosition":[1,"submit-position"],"addCssClasses":[64],"getProps":[64],"refresh":[64],"removeCssClasses":[64],"setProps":[64]}]]],["p-6995599c",[[1,"kup-dashboard",{"customStyle":[1,"custom-style"],"data":[16],"enableDesign":[4,"enable-design"],"resetInternalData":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["dataChanged"]}]]],["p-b85265b2",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-14e637ac",[[1,"kup-htm",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-9a9cfbad",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-66cb6dd5",[[1,"kup-image-list",{"columns":[16],"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"rows":[2],"selectedNode":[16],"stateId":[1,"state-id"],"store":[16],"showFullDescription":[4,"show-full-description"],"currentNode":[32],"navigationBarToggled":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"selectedNode":["selectNode"]}]]],["p-08620353",[[1,"kup-lazy",{"componentName":[1,"component-name"],"customStyle":[1,"custom-style"],"data":[16],"renderMode":[1,"render-mode"],"showPlaceholder":[4,"show-placeholder"],"isInViewport":[32],"getProps":[64],"getComponent":[64],"refresh":[64],"setProps":[64]}]]],["p-de63c2b2",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-9439fe19",[[1,"kup-numeric-picker",{"customStyle":[1,"custom-style"],"data":[1040],"decimals":[4],"disabled":[4],"initialValue":[1,"initial-value"],"maxDecimals":[1026,"max-decimals"],"maxIntegers":[1026,"max-integers"],"maxLength":[2,"max-length"],"negative":[4],"stateSwitcher":[32],"value":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]]]]],["p-5b2e623f",[[1,"kup-object-field",{"customStyle":[1,"custom-style"],"data":[16],"inputValue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setValue":[64]}]]],["p-04699874",[[1,"kup-pdf",{"pdfPath":[1,"pdf-path"],"sendCredentials":[4,"send-credentials"],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"pdfPath":["onPdfPathChange"]}]]],["p-661dda10",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-c10e762f",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-95c811c9",[[1,"kup-snackbar",{"actionButton":[16],"closeButton":[4,"close-button"],"customStyle":[1,"custom-style"],"text":[1],"header":[1],"timeout":[2],"visible":[32],"getProps":[64],"hide":[64],"refresh":[64],"setProps":[64],"show":[64]}]]],["p-76122405",[[1,"kup-txt",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-9193a0ac",[[1,"kup-typography",{"customStyle":[1,"custom-style"],"toolbar":[4],"toolbarData":[16],"type":[1],"value":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-fd561dfc",[[1,"kup-typography-list",{"customStyle":[1,"custom-style"],"data":[1040],"type":[1],"toolbar":[4],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}]]],["p-988b9359",[[1,"kup-echart",{"axis":[1025],"colors":[16],"consistencyCheck":[4,"consistency-check"],"chartTitle":[16],"customStyle":[1,"custom-style"],"data":[16],"legend":[1],"map":[1],"series":[16],"showMarks":[4,"show-marks"],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"stacked":[4],"types":[16],"xAxis":[16],"yAxis":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-6791a007",[[0,"kup-editor",{"autosaveTimer":[2,"autosave-timer"],"editorHeight":[1,"editor-height"],"initialEditType":[1,"initial-edit-type"],"initialValue":[1,"initial-value"],"isReadOnly":[4,"is-read-only"],"previewStyle":[1,"preview-style"],"selectedTab":[1,"selected-tab"],"showSaveButton":[4,"show-save-button"],"showToolbar":[4,"show-toolbar"],"editor":[32],"editorRef":[32],"viewer":[32],"getProps":[64],"getValueAsHTML":[64],"getValueAsMarkdown":[64],"refresh":[64],"setProps":[64]},null,{"editorRef":["onEditorRefUpdated"],"editor":["onEditorUpdate"],"initialEditType":["onInitialEditTypeChanged"],"isReadOnly":["onIsReadOnlyChanged"],"previewStyle":["onPreviewStyleChanged"],"selectedTab":["onMarkdownPreviewTabChanged"],"showSaveButton":["onShowSaveButtonChanged"],"showToolbar":["onShowToolBarChanged"],"autosaveTimer":["onAutosaveTimerChanged"]}]]],["p-29e6edd5",[[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-24b51f9f",[[0,"kup-custom-task-list-header",{"label":[1],"doubleView":[4,"double-view"],"setDoubleView":[16],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"]}],[0,"kup-custom-task-list-table",{"ganttId":[1,"gantt-id"],"tasks":[16],"rowHeight":[2,"row-height"],"rowWidth":[1,"row-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"scrollableTaskList":[4,"scrollable-task-list"],"taskListScrollX":[2,"task-list-scroll-x"],"setSelectedTask":[16],"onclickTaskList":[16],"ondblclickTaskList":[16],"oncontextmenuTaskList":[16],"ontaskListScrollWidth":[16]},null,{"taskListScrollX":["updateTaskListScroll"]}],[0,"kup-gantt-calendar",{"dateSetup":[16],"locale":[1],"rtl":[4],"headerHeight":[2,"header-height"],"columnWidth":[2,"column-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"dateTimeFormatters":[16],"singleLineHeader":[4,"single-line-header"],"currentDateIndicator":[16],"svgWidth":[2,"svg-width"],"simplifiedHeader":[32]}],[0,"kup-grid-renderer",{"tasks":[16],"dates":[16],"ganttEvent":[16],"selectedTask":[16],"rowHeight":[2,"row-height"],"columnWidth":[2,"column-width"],"timeStep":[2,"time-step"],"taskHeight":[2,"task-height"],"arrowColor":[1,"arrow-color"],"arrowIndent":[2,"arrow-indent"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rtl":[4],"hideLabel":[4,"hide-label"],"showSecondaryDates":[4,"show-secondary-dates"],"currentDateIndicator":[16],"projection":[16],"readOnly":[4,"read-only"],"gridProps":[16],"dateChange":[16],"progressChange":[16],"doubleClick":[16],"barClick":[16],"barDblClick":[16],"barContextMenu":[16],"delete":[16],"setFailedTask":[16],"setSelectedTask":[16],"eventStart":[16],"eMouseDown":[16],"phaseDrop":[16],"setGanttEvent":[1040],"phaseDragScroll":[16],"xStep":[32],"initEventX1Delta":[32],"initEventXClick":[32],"isMoving":[32],"point":[32],"svg":[32],"currentTarget":[32],"dragScrollInterval":[32],"dropZoneTask":[32]},null,{"columnWidth":["updateXStep"],"dates":["updateXStep"],"timeStep":["updateXStep","updateSvgMove"],"ganttEvent":["updateSvgMove"],"xStep":["updateSvgMove"],"svg":["updateSvgMove"],"initEventX1Delta":["updateSvgMove"],"point":["updateSvgMove"],"rtl":["updateSvgMove"],"onProgressChange":["updateSvgMove"],"onDateChange":["updateSvgMove"]}]]],["p-53ee65db",[[0,"kup-gantt",{"ganttId":[1,"gantt-id"],"tasks":[16],"headerHeight":[2,"header-height"],"columnWidth":[2,"column-width"],"listCellWidth":[1,"list-cell-width"],"rowHeight":[2,"row-height"],"filter":[16],"ganttHeight":[2,"gantt-height"],"viewMode":[1,"view-mode"],"preStepsCount":[2,"pre-steps-count"],"locale":[1],"barFill":[2,"bar-fill"],"projectFill":[2,"project-fill"],"timelineFill":[2,"timeline-fill"],"barCornerRadius":[2,"bar-corner-radius"],"barProgressColor":[1,"bar-progress-color"],"barProgressSelectedColor":[1,"bar-progress-selected-color"],"barBackgroundColor":[1,"bar-background-color"],"barBackgroundSelectedColor":[1,"bar-background-selected-color"],"projectProgressColor":[1,"project-progress-color"],"projectProgressSelectedColor":[1,"project-progress-selected-color"],"projectBackgroundColor":[1,"project-background-color"],"projectBackgroundSelectedColor":[1,"project-background-selected-color"],"rtl":[4],"handleWidth":[2,"handle-width"],"timeStep":[2,"time-step"],"arrowColor":[1,"arrow-color"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"arrowIndent":[2,"arrow-indent"],"todayColor":[1,"today-color"],"viewDate":[16],"TooltipContent":[16],"TaskListHeader":[16],"TaskListTable":[16],"dateTimeFormatters":[16],"singleLineHeader":[4,"single-line-header"],"hideLabel":[4,"hide-label"],"showSecondaryDates":[4,"show-secondary-dates"],"hideDependencies":[4,"hide-dependencies"],"projection":[16],"displayedStartDate":[16],"displayedEndDate":[16],"initialScrollX":[2,"initial-scroll-x"],"initialScrollY":[2,"initial-scroll-y"],"readOnly":[4,"read-only"],"currentTasks":[16],"label":[1],"doubleView":[4,"double-view"],"scrollableTaskList":[4,"scrollable-task-list"],"setDoubleView":[16],"barContextMenu":[16],"scrollXChange":[16],"scrollYChange":[16],"barClick":[16],"barDblClick":[16],"dateChange":[16],"select":[16],"handleClick":[16],"handleDblClick":[16],"handleContextMenu":[16],"ganttOnClick":[16],"ganttOnDblClick":[16],"ganttonOnContextMenu":[16],"progressChange":[16],"doubleClick":[16],"delete":[16],"expanderClick":[16],"phaseDrop":[16],"wrapperRef":[32],"taskGanttRef":[32],"taskListRef":[32],"dateSetup":[32],"taskListWidth":[32],"svgContainerWidth":[32],"svgContainerHeight":[32],"barTasks":[32],"ganttEvent":[32],"taskHeight":[32],"projectHeight":[32],"timelineHeight":[32],"selectedTask":[32],"failedTask":[32],"svgWidth":[32],"ganttFullHeight":[32],"scrollX":[32],"scrollY":[32],"ignoreScrollEvent":[32],"currentDateIndicatorContent":[32],"projectionContent":[32],"taskListScrollWidth":[32],"taskListScrollX":[32],"refresh":[64]},[[0,"wheel","handleWheel"]],{"initialScrollY":["updateInitialScrollY"],"scrollYChange":["updateInitialScrollY"],"initialScrollX":["updateInitialScrollX","updateIgnoreScrollEvent"],"scrollXChange":["updateInitialScrollX"],"tasks":["updateGanttData","updateSvgContainerHeight"],"viewMode":["updateGanttData","updateIgnoreScrollEvent"],"preStepsCount":["updateGanttData"],"rowHeight":["updateGanttData","updateSvgContainerHeight","updateGanttFullHeight"],"barCornerRadius":["updateGanttData"],"columnWidth":["updateGanttData","updateIgnoreScrollEvent","updateCurrentDateIndicatorContent","updateProjectionContent","updateSvgWidth"],"taskHeight":["updateGanttData"],"handleWidth":["updateGanttData"],"barProgressColor":["updateGanttData"],"barProgressSelectedColor":["updateGanttData"],"barBackgroundColor":["updateGanttData"],"barBackgroundSelectedColor":["updateGanttData"],"projectProgressColor":["updateGanttData"],"projectProgressSelectedColor":["updateGanttData"],"projectBackgroundColor":["updateGanttData"],"projectBackgroundSelectedColor":["updateGanttData"],"milestoneBackgroundColor":["updateGanttData"],"milestoneBackgroundSelectedColor":["updateGanttData"],"rtl":["updateGanttData","handleWheel"],"scrollX":["updateGanttData","handleWheel"],"onExpanderClick":["updateGanttData"],"showSecondaryDates":["updateGanttData"],"projectHeight":["updateGanttData"],"timelineHeight":["updateGanttData"],"displayedStartDate":["updateGanttData"],"displayedEndDate":["updateGanttData"],"dateSetup":["updateGanttData","updateIgnoreScrollEvent","updateCurrentDateIndicatorContent","updateProjectionContent","updateSvgWidth"],"viewDate":["updateIgnoreScrollEvent"],"ganttEvent":["updateGanttEventAndBarTasks"],"failedTask":["updateFailedTasksAndBarChart"],"barTasks":["updateFailedTasksAndBarChart","updateGanttFullHeight"],"taskListRef":["updateTaskListWidth"],"listCellWidth":["updateTaskListWidth"],"wrapperRef":["updateSvgContainerWidth","handleWheel"],"ganttHeight":["updateSvgContainerHeight","handleWheel"],"headerHeight":["updateSvgContainerHeight"],"scrollY":["handleWheel"],"svgWidth":["handleWheel"],"ganttFullHeight":["handleWheel"],"todayColor":["updateCurrentDateIndicatorContent"],"projection":["updateProjectionContent"]}],[0,"kup-switcher",{"timeUnitChange":[16],"activeButton":[32]}],[0,"kup-task-gantt",{"gridProps":[16],"calendarProps":[16],"barProps":[16],"taskGanttRef":[16],"ganttHeight":[2,"gantt-height"],"scrollY":[1026,"scroll-y"],"scrollX":[1026,"scroll-x"],"phaseDragScroll":[16]},null,{"scrollX":["updateScrollX"],"verticalGanttContainerRef":["updateScrollX"],"scrollY":["updateScrollY"],"horizontalContainerRef":["updateScrollY"]}],[0,"kup-task-list",{"headerHeight":[2,"header-height"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rowWidth":[1,"row-width"],"rowHeight":[2,"row-height"],"scrollY":[2,"scroll-y"],"locale":[1],"tasks":[16],"selectedTask":[16],"horizontalContainerClass":[1,"horizontal-container-class"],"ganttHeight":[2,"gantt-height"],"filter":[16],"TaskListHeader":[16],"TaskListTable":[16],"currentTasks":[16],"label":[1],"doubleView":[4,"double-view"],"scrollableTaskList":[4,"scrollable-task-list"],"updateTaskListScrollX":[4,"update-task-list-scroll-x"],"taskListScrollX":[2,"task-list-scroll-x"],"setDoubleView":[16],"handleClick":[16],"handleDblClick":[16],"handleContextMenu":[16],"ganttOnClick":[16],"ganttOnDblClick":[16],"ganttonOnContextMenu":[16],"setSelectedTask":[16],"expanderClick":[16],"ontaskListScrollWidth":[16],"selectedTaskId":[32]},null,{"scrollY":["updateScrollY"]}],[1,"kup-horizontal-scroll",{"scrollNumber":[2,"scroll-number"],"svgWidth":[2,"svg-width"],"taskListTrueRef":[16],"rtl":[4],"taskListWidth":[2,"task-list-width"],"scrollableTaskList":[4,"scrollable-task-list"],"listCellWidth":[1,"list-cell-width"],"taskListScrollWidth":[2,"task-list-scroll-width"],"taskListScrollNumber":[2,"task-list-scroll-number"],"horizontalScroll":[16],"horizontalTaskListScroll":[16],"timeoutId":[32]},null,{"scrollNumber":["scrollLeft"],"taskListScrollNumber":["listScrollLeft"]}],[1,"kup-standard-tooltip",{"task":[16],"fontSize":[1,"font-size"],"fontFamily":[1,"font-family"]}],[0,"kup-task-list-header",{"headerHeight":[2,"header-height"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"rowWidth":[1,"row-width"]}],[0,"kup-task-list-table",{"rowHeight":[2,"row-height"],"rowWidth":[1,"row-width"],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"locale":[1],"tasks":[16],"selectedTaskId":[1,"selected-task-id"],"setSelectedTask":[16],"expanderClick":[16],"expandedTasks":[32]}],[1,"kup-tooltip",{"task":[16],"rowHeight":[2,"row-height"],"rtl":[4],"svgContainerHeight":[2,"svg-container-height"],"svgContainerWidth":[2,"svg-container-width"],"scrollX":[2,"scroll-x"],"scrollY":[2,"scroll-y"],"arrowIndent":[2,"arrow-indent"],"fontSize":[1,"font-size"],"fontFamily":[1,"font-family"],"headerHeight":[2,"header-height"],"taskListWidth":[2,"task-list-width"],"TooltipContent":[8,"tooltip-content"],"svgWidth":[2,"svg-width"],"relatedY":[32],"relatedX":[32]},null,{"task":["calculateTooltipPosition"],"arrowIndent":["calculateTooltipPosition"],"scrollX":["calculateTooltipPosition"],"scrollY":["calculateTooltipPosition"],"headerHeight":["calculateTooltipPosition"],"taskListWidth":["calculateTooltipPosition"],"rowHeight":["calculateTooltipPosition"],"svgContainerHeight":["calculateTooltipPosition"],"svgContainerWidth":["calculateTooltipPosition"],"rtl":["calculateTooltipPosition"]}],[0,"kup-vertical-scroll",{"scrollNumber":[2,"scroll-number"],"ganttHeight":[2,"gantt-height"],"ganttFullHeight":[2,"gantt-full-height"],"headerHeight":[2,"header-height"],"rtl":[4],"verticalScroll":[16]},null,{"scrollNumber":["updateScroll"]}]]],["p-43159582",[[0,"kup-planner-renderer",{"props":[1040],"timeUnit":[32],"currentTasks":[32],"currentDetails":[32],"scrollX":[32],"mainGanttDoubleView":[32],"displayedDates":[32],"viewDate":[32],"projection":[32],"tasks":[32],"details":[32],"refresh":[64]},null,{"props":["mainGanttChangeHandler"],"timeUnit":["updateDisplayedDates"],"mainGanttDoubleView":["updateDisplayedDates"],"props.preStepsCount":["updateDisplayedDates"],"viewDate":["updateDisplayedDates"],"currentTasks":["updateTasks"],"currentDetails":["updateTasks"]}]]],["p-76a102e5",[[1,"kup-box",{"cardData":[16],"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"dragEnabled":[4,"drag-enabled"],"dropEnabled":[4,"drop-enabled"],"dropOnSection":[4,"drop-on-section"],"editableData":[4,"editable-data"],"enableRowActions":[4,"enable-row-actions"],"globalFilter":[4,"global-filter"],"globalFilterValue":[1537,"global-filter-value"],"kanban":[16],"layout":[16],"lazyLoadRows":[4,"lazy-load-rows"],"loadMoreLimit":[2,"load-more-limit"],"loadMoreMode":[1,"load-more-mode"],"loadMoreStep":[2,"load-more-step"],"multiSelection":[4,"multi-selection"],"pageSelected":[2,"page-selected"],"pagination":[4],"rowsPerPage":[2,"rows-per-page"],"scrollOnHover":[4,"scroll-on-hover"],"selectBox":[2,"select-box"],"selectedRowsState":[1025,"selected-rows-state"],"showLoadMore":[4,"show-load-more"],"showSelection":[4,"show-selection"],"sortBy":[1025,"sort-by"],"sortEnabled":[4,"sort-enabled"],"stateId":[1,"state-id"],"store":[16],"swipeDisabled":[4,"swipe-disabled"],"collapsedSection":[32],"selectedRows":[32],"rowActionMenuOpened":[32],"currentPage":[32],"currentRowsPerPage":[32],"getProps":[64],"loadRowActions":[64],"refresh":[64],"setProps":[64]},null,{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"globalFilterValue":["recalculateRows"],"sortBy":["recalculateRows"],"pagination":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["onDataChanged"],"layout":["onLayoutChanged"],"selectBox":["onSelectBoxChanged"]}]]]]'),e))));
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,c as createEvent,f as forceUpdate,h,H as Host,d as getElement}from"./p-b0368f88.js";import{k as kupManagerInstance,g as getProps,s as setProps}from"./p-48e99d19.js";import{c as componentWrapperId}from"./p-635bb4b3.js";import{e as getAugmentedNamespace,f as commonjsRequire,g as getDefaultExportFromCjs}from"./p-1ee561ba.js";var KupPdfProps;!function(t){t.pdfPath="This is the path to the PDF file."}(KupPdfProps||(KupPdfProps={}));var pdf={exports:{}};const _nodeResolve_empty={},_nodeResolve_empty$1=Object.freeze({__proto__:null,default:_nodeResolve_empty}),require$$0=getAugmentedNamespace(_nodeResolve_empty$1);
1
+ import{r as registerInstance,c as createEvent,f as forceUpdate,h,H as Host,d as getElement}from"./p-b0368f88.js";import{k as kupManagerInstance,g as getProps,s as setProps}from"./p-a1316c85.js";import{c as componentWrapperId}from"./p-635bb4b3.js";import{e as getAugmentedNamespace,f as commonjsRequire,g as getDefaultExportFromCjs}from"./p-1ee561ba.js";var KupPdfProps;!function(t){t.pdfPath="This is the path to the PDF file."}(KupPdfProps||(KupPdfProps={}));var pdf={exports:{}};const _nodeResolve_empty={},_nodeResolve_empty$1=Object.freeze({__proto__:null,default:_nodeResolve_empty}),require$$0=getAugmentedNamespace(_nodeResolve_empty$1);
2
2
  /**
3
3
  * @licstart The following is the entire license notice for the
4
4
  * JavaScript code in this page
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as a,H as h,d as n}from"./p-b0368f88.js";import{k as o,g as p,s}from"./p-48e99d19.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var f,c;!function(t){t.componentName="Sets the tag name of the component to be lazy loaded.",t.customStyle="Custom style of the component.",t.data="Sets the data of the component to be lazy loaded.",t.showPlaceholder="Displays an animated SVG placeholder until the component is loaded."}(f||(f={})),function(t){t.VIEWPORT="viewport",t.PROPS="props",t.BOTH="both"}(c||(c={}));const d=class{constructor(i){t(this,i),this.kupLazyLoaded=e(this,"kup-lazy-loaded",6),this.intObserver=null,this.kupManager=o(),this.lazyComponent=null,this.lazyComponentLoaded=!1,this.isInViewport=!1,this.componentName=null,this.customStyle="",this.data=null,this.renderMode=c.BOTH,this.showPlaceholder=!0}async getProps(t){return p(this,f,t)}async getComponent(){return this.lazyComponent}async refresh(){i(this)}async setProps(t){s(this,f,t)}setObserver(){this.intObserver=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.kupManager.debug.logMessage(this,"kup-lazy entering the viewport, rendering "+this.componentName+"."),this.isInViewport=!0,this.intObserver.unobserve(this.rootElement))}))}),{threshold:.25})}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this),this.setObserver()}componentDidLoad(){this.intObserver.observe(this.rootElement),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.lazyComponent&&!this.lazyComponentLoaded&&(this.lazyComponentLoaded=!0,this.kupLazyLoaded.emit({comp:this,id:this.rootElement.id})),this.kupManager.debug.logRender(this,!0)}render(){let t,e,i=this.componentName;switch(this.componentName){case"kup-button":e=a("svg",{key:"8802574ba1d79ac1e274790bdf8686015476b2ad",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"c3d51c252fdf77cecf888da91a901c48d08fd69c",d:"M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z"}));break;case"kup-card":e=a("svg",{key:"4a1d1532c15748b95b0584f5d004bf5804417bc2",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"20e5ab4bd0690a0599a28e05b355a405e07f7cad",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}));break;case"kup-checkbox":e=a("svg",{key:"99d255a35e9890c805abb2994b6174223184cfd0",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"513cf3606dfd9bde023162e079dee3cf54304084",d:"M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z"}));break;case"kup-chart":e=a("svg",{key:"842f850f0b3532fd388a8e1ebf48c11161d95561",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},a("path",{key:"b2e747170adf5dbe81a80a7a4ccc4df71abe776d",d:"M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z"}));break;case"kup-data-table":e=a("svg",{key:"252aee5d61964d1580283ae5edb5fb8064f3d668",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},a("path",{key:"876b7590622878f40fe3ee89aa880d187a69cb91",d:"M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z"}));break;case"kup-image":e=a("svg",{key:"a43007f243ee6855d8ae9b7ff517d471e37164d8",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"7f6654a6ddabef4701471ddd4c49c4eef87cc20f",d:"M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z"}));break;case"kup-progress-bar":e=a("svg",{key:"23dfbe528bbea80630394aaa91f09dd687cecb9d",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"0615b03884b85a2e1215d3a25bfe225f43f0c84e",d:"M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z"}));break;case"kup-radio":e=a("svg",{key:"9614fc7450e6a432fb6645911a0ee3739c3bdba1",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"d3d77ee72693ca34d75bb90a020c0904d8345897",d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}));break;default:e=a("svg",{key:"7e9e25c82c6a968df1e34d6404a5b6a26208a1d2",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"3355655ef7a1bd635fd287bd72124fc409acdb90",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}))}return this.renderMode===c.VIEWPORT&&this.isInViewport||this.renderMode===c.PROPS&&this.data||this.renderMode===c.BOTH&&this.data&&this.isInViewport?(t=a(this.componentName,Object.assign({key:"598ae9bb03885be0e6f25ca73b9ee2cf52a6ab8e"},this.data,{ref:t=>this.lazyComponent=t})),i+=" kup-loaded"):this.showPlaceholder&&(t=e,i+=" kup-to-be-loaded"),a(h,{key:"fdc3a6a971b8c6b74129d1d8c561fce5e52c3b44",class:i},a("style",{key:"b8d687d0af73cc123bc465d481c4c37b0ba6c552"},this.kupManager.theme.setKupStyle(this.rootElement)),a("div",{key:"9c9f61bc50d5badca2f000fe40817eba70e6a4c5",id:l},t))}disconnectedCallback(){var t;this.kupManager.theme.unregister(this),null===(t=this.intObserver)||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};d.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";export{d as kup_lazy}
1
+ import{r as t,c as e,f as a,h as i,H as h,d as n}from"./p-b0368f88.js";import{k as o,g as p,s}from"./p-a1316c85.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var f,c;!function(t){t.componentName="Sets the tag name of the component to be lazy loaded.",t.customStyle="Custom style of the component.",t.data="Sets the data of the component to be lazy loaded.",t.showPlaceholder="Displays an animated SVG placeholder until the component is loaded."}(f||(f={})),function(t){t.VIEWPORT="viewport",t.PROPS="props",t.BOTH="both"}(c||(c={}));const d=class{constructor(a){t(this,a),this.kupLazyLoaded=e(this,"kup-lazy-loaded",6),this.intObserver=null,this.kupManager=o(),this.lazyComponent=null,this.lazyComponentLoaded=!1,this.isInViewport=!1,this.componentName=null,this.customStyle="",this.data=null,this.renderMode=c.BOTH,this.showPlaceholder=!0}async getProps(t){return p(this,f,t)}async getComponent(){return this.lazyComponent}async refresh(){a(this)}async setProps(t){s(this,f,t)}setObserver(){this.intObserver=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.kupManager.debug.logMessage(this,"kup-lazy entering the viewport, rendering "+this.componentName+"."),this.isInViewport=!0,this.intObserver.unobserve(this.rootElement))}))}),{threshold:.25})}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this),this.setObserver()}componentDidLoad(){this.intObserver.observe(this.rootElement),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.lazyComponent&&!this.lazyComponentLoaded&&(this.lazyComponentLoaded=!0,this.kupLazyLoaded.emit({comp:this,id:this.rootElement.id})),this.kupManager.debug.logRender(this,!0)}render(){let t,e,a=this.componentName;switch(this.componentName){case"kup-button":e=i("svg",{key:"8802574ba1d79ac1e274790bdf8686015476b2ad",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"c3d51c252fdf77cecf888da91a901c48d08fd69c",d:"M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z"}));break;case"kup-card":e=i("svg",{key:"4a1d1532c15748b95b0584f5d004bf5804417bc2",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"20e5ab4bd0690a0599a28e05b355a405e07f7cad",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}));break;case"kup-checkbox":e=i("svg",{key:"99d255a35e9890c805abb2994b6174223184cfd0",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"513cf3606dfd9bde023162e079dee3cf54304084",d:"M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z"}));break;case"kup-chart":e=i("svg",{key:"842f850f0b3532fd388a8e1ebf48c11161d95561",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},i("path",{key:"b2e747170adf5dbe81a80a7a4ccc4df71abe776d",d:"M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z"}));break;case"kup-data-table":e=i("svg",{key:"252aee5d61964d1580283ae5edb5fb8064f3d668",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},i("path",{key:"876b7590622878f40fe3ee89aa880d187a69cb91",d:"M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z"}));break;case"kup-image":e=i("svg",{key:"a43007f243ee6855d8ae9b7ff517d471e37164d8",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"7f6654a6ddabef4701471ddd4c49c4eef87cc20f",d:"M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z"}));break;case"kup-progress-bar":e=i("svg",{key:"23dfbe528bbea80630394aaa91f09dd687cecb9d",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"0615b03884b85a2e1215d3a25bfe225f43f0c84e",d:"M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z"}));break;case"kup-radio":e=i("svg",{key:"9614fc7450e6a432fb6645911a0ee3739c3bdba1",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"d3d77ee72693ca34d75bb90a020c0904d8345897",d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}));break;default:e=i("svg",{key:"7e9e25c82c6a968df1e34d6404a5b6a26208a1d2",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"3355655ef7a1bd635fd287bd72124fc409acdb90",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}))}return this.renderMode===c.VIEWPORT&&this.isInViewport||this.renderMode===c.PROPS&&this.data||this.renderMode===c.BOTH&&this.data&&this.isInViewport?(t=i(this.componentName,Object.assign({key:"598ae9bb03885be0e6f25ca73b9ee2cf52a6ab8e"},this.data,{ref:t=>this.lazyComponent=t})),a+=" kup-loaded"):this.showPlaceholder&&(t=e,a+=" kup-to-be-loaded"),i(h,{key:"fdc3a6a971b8c6b74129d1d8c561fce5e52c3b44",class:a},i("style",{key:"b8d687d0af73cc123bc465d481c4c37b0ba6c552"},this.kupManager.theme.setKupStyle(this.rootElement)),i("div",{key:"9c9f61bc50d5badca2f000fe40817eba70e6a4c5",id:l},t))}disconnectedCallback(){var t;this.kupManager.theme.unregister(this),null===(t=this.intObserver)||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};d.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";export{d as kup_lazy}
@@ -1 +1 @@
1
- import{D as e,E as t,C as n,af as l,w as o,y as r,ag as i,ah as s,M as a,N as u,F as c,ai as f,aj as h,ak as d,al as b,am as m,a5 as p}from"./p-48e99d19.js";import{K as v}from"./p-1ee561ba.js";class w extends e{getTextFilterValue(e={},t){return this._getTextFilterValue(e,t,!1)}getTextFilterValueTmp(e={},t){return this._getTextFilterValue(e,t,!0)}_getTextFilterValue(e={},t,n){let l="";if(null==e)return l;let o=e[t];return null==o||(l=n?o.textFieldTmp:o.textField),l}hasFiltersForColumn(e={},t){return this._hasFiltersForColumn(e,t,!1)}hasFiltersForColumnTmp(e={},t){return this._hasFiltersForColumn(e,t,!0)}_hasFiltersForColumn(e={},t,n){if(!t)return!1;let l=this._getTextFilterValue(e,t.name,n);if(null!=l&&""!=l.trim())return!0;let o=this.getCheckBoxFilterValues(e,t.name);return!(null==o||o.length<1)}getCheckBoxFilterValues(e={},t){let n=[];if(null==e)return n;let l=e[t];return null==l||null==l.checkBoxes||(n=l.checkBoxes),n}addCheckboxFilter(t={},n,l){if(null==t)return;let o=t[n];null==o&&(o={textField:"",textFieldTmp:"",checkBoxes:[]},t[n]=o),null==o.checkBoxes&&(o.checkBoxes=[]),null==l||null==l.value?o.checkBoxes=[]:e.valuesArrayContainsValue(o.checkBoxes,l.value)||(o.checkBoxes[o.checkBoxes.length]=l)}removeCheckboxFilter(e={},t,n){var l;if(!e||!n||!e[t])return;const o=e[t];o.checkBoxes=null!==(l=o.checkBoxes)&&void 0!==l?l:[],o.checkBoxes=o.checkBoxes.filter((e=>e.value!==n)),0===o.checkBoxes.length&&delete e[t]}isColumnNumeric(e){return this.isObjNumeric(e.obj)}setTextFieldFilterValue(e={},t,n){this._setTextFieldFilterValue(e,t,n,!0)}_setTextFieldFilterValue(e={},t,n,l){if(null==e)return;let o=e[t];null==o&&(o={textField:"",textFieldTmp:"",checkBoxes:[]},e[t]=o),l?o.textFieldTmp=null!=n?n.trim():n:o.textField=null!=n?n.trim():n}saveTextualFilters(e={},t){this._setTextFieldFilterValue(e,t,this.getTextFilterValueTmp(e,t),!1)}resetTextualFilters(e={},t){this._setTextFieldFilterValue(e,t,this.getTextFilterValue(e,t),!0)}getFilterValueForTooltip(e={},l){let o=this.getTextFilterValue(e,l.name),r=this.getCheckBoxFilterValues(e,l.name),i="",s=t(o,l.obj,l.decimals);""!=o&&(i=" AND "),i="";let a="";return r.forEach((e=>{a+=i+n(e,l),i=" OR "})),""!=a&&(a="("+a+")",""!=s&&(a=" AND "+a)),a=s+a,a}removeFilter(e={},t){delete e[t]}}var F;!function(e){e.asAccordion="When enabled, the first level of depth will give an accordion look to nodes.",e.columns="The columns of the tree when tree visualization is active.",e.customStyle="Custom style of the component.",e.data="The json data used to populate the tree view: the basic, always visible tree nodes.",e.density="The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.",e.dynamicExpansionCallback="Function that gets invoked when a new set of nodes must be loaded as children of a node. When useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop. If this prop is set to null, no callback to download data is available: the component will emit an event requiring the parent to load the children of the given node. If this prop is set to have a callback, then the component will automatically make requests to load children of a given node. After the load has been completed, a different event will be fired to alert the parent of the change.",e.enableExtraColumns="Enables adding extra columns.",e.expanded="Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded.",e.expansionMode="Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node.",e.filters="List of filters set by the user.",e.globalFilter="When set to true it activates the global filter.",e.globalFilterValue="The value of the global filter.",e.globalFilterMode="The mode of the global filter.",e.preventXScroll="Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells. It works only on cells of the main column.",e.removableColumns="Sets the possibility to remove the selected column.",e.ripple="When enabled displays Material's ripple effect on nodes (only when no columns are displayed).",e.scrollOnHover="Activates the scroll on hover function.",e.showColumns="Shows the tree data as a table.",e.showFilters="When set to true enables the column filters.",e.showFooter="When set to true shows the footer.",e.showHeader="Flag: shows the header of the tree when the tree is displayed as a table.",e.showIcons="Shows the icons of the nodes.",e.stateId="",e.store="",e.totals="Defines the current totals options.",e.useDynamicExpansion="When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the tree have been passed inside the data property. Therefore, when expanding a node, the tree must emit an event (or run a given callback) and wait for the child nodes to be downloaded from the server."}(F||(F={}));const g="TREE_COLUMN";var x;!function(e){e.DROPDOWN="dropdown",e.NODE="node"}(x||(x={}));const j=document.documentElement,k=j.ketchup?j.ketchup.objects:new r,O=j.ketchup?j.ketchup.data:new i;class y extends e{isFilterCompliantForCell(e,t){return!!e&&this.isFilterCompliantForSimpleValue(e.value,e.obj,t)}isFilterCompliantForCellObj(e,t){return!!e&&!!e.obj&&this.isFilterCompliantForSimpleValue(e.obj.k,e.obj,t)}isRowCompliant(e,t={},n="",l=!1,o=[],r){return this.areCellsCompliant(e.cells,t,n,l,o,r)}areCellsCompliant(e,t={},n="",r=!1,i=[],s){if(r){let t=!0;if(i&&null!=i&&i.length>0){t=!1;let o=this.filterIsNegative(n);for(let r=0;r<i.length;r++){if(0==i[r].visible)continue;const s=e[i[r].name];if(null==s)continue;t=this.isFilterCompliantForValue(s.value,n);let a=l(i[r],s);if(a!=s.value&&(t=t||this.isFilterCompliantForValue(a,n)),1==t&&!o)break;if(0==t&&o)break}}if(!t)return!1}return null==s&&(s=new w),!this.hasFilters(t,i,s)||Object.keys(t).every((n=>{const l=e[n],r=o(i,n);if(!l)return!1;let a=s.getTextFilterValue(t,n),u=s.getCheckBoxFilterValues(t,n);const c=this.filterIsNegative(a);let f=""!==a&&this.isFilterCompliantForCell(l,a)||u.some((e=>this.isFilterCompliantForCell(l,e.value)))||u.some((e=>this.isFilterCompliantForCell(l,e.displayedValue)))||!s.hasFiltersForColumn(t,r),h=c;return k.isNumber(l.obj)||k.isDate(l.obj)||k.isTime(l.obj)||k.isTimestamp(l.obj)||(h=""!==a&&this.isFilterCompliantForCellObj(l,a)||u.some((e=>this.isFilterCompliantForCellObj(l,e.value)))||!s.hasFiltersForColumn(t,r)),c?f&&h:f||h}))}hasFilters(e={},t,n){if(null==e)return!1;let l=Object.keys(e);if(null==l||l.length<1)return!1;null==n&&(n=new w);for(let r=0;r<l.length;r++){let i=l[r],s=null;if(s=i===g?{name:g,title:""}:o(t,i),n.hasFiltersForColumn(e,s))return!0}return!1}filterRows(e=[],t={},n="",l=[],o){if(!e||null==e)return[];let r=[];const i=!(!n||!l);if(this.hasFilters(t,l,o)||i)for(let s=0;s<e.length;s++){let a=e[s];(a.id&&a.id.indexOf("insert_")>-1||this.isRowCompliant(a,t,n,i,l,o))&&(r[r.length]=a)}else r=[...e];return r}getColumnValues(n,l,o,r){let i=new Array;null==r&&(r=new w);let s=r.getTextFilterValueTmp(n.filters,l.name),a=r.getCheckBoxFilterValues(n.filters,l.name);if(null!=l.valuesForFilter&&l.valuesForFilter.length>0)return l.valuesForFilter.forEach((n=>{let o=n;(e.valuesArrayContainsValue(a,o)||""==s||r.isFilterCompliantForSimpleValue(o,l.obj,s))&&i.push({value:o,displayedValue:t(o,l.obj,l.decimals)})})),i;let u=Object.assign({},n.filters);u[l.name]={textField:s,textFieldTmp:s,checkBoxes:[]};let c=this.filterRows(n.getRows(),u,o,n.getVisibleColumns(),r);for(let e=0;e<a.length;e++)i.push(a[e]);return O.cell.getUnivocalValue({rows:c},l,!0)}}const C=document.documentElement;function T(e=[],t=[]){if(!e||0===e.length)return[];if(e[0].group)return function(e=[],t=[]){if(!e||0===e.length)return[];const n=e[0].group.column;let l=function(e="",t=[]){if(!e||!t||0===t.length)return null;for(let n of t)if(n.column===e)return n;return null}(n,t);return l||(l={column:n,sortMode:p.A}),e.sort(((e,t)=>s({obj:e.group.obj,value:e.group.id},{obj:t.group.obj,value:t.group.id},l.sortMode))),e.forEach((e=>{e.group.children=T(e.group.children,t)})),e}(e,t);if(!t||0===t.length)return e;const n=t.length>1;return e.slice(0).sort(((e,l)=>{if(n){for(let n=0;n<t.length;n++){const o=V(e,l,t[n]);if(0!==o)return o}return 0}return V(e,l,t[0])}))}function V(e,t,n){const l=e.cells[n.column],o=t.cells[n.column];return l||o?l?o?s(l,o,n.sortMode):-1:1:0}function M(e=[],t={},n="",l=[],o,r){return null==r&&(r=new y),r.filterRows(e,t,n,l,o)}function N(e=[],t=[],n=[],r={}){if(!t)return[];if(!n||0===n.length||!e||0===e.length)return t;const i={},s=n.filter((({column:t})=>{for(let{name:n,title:l}of e)if(n===t)return i[n]=l,!0;return!1}));if(0===s.length)return t;const u=[];let c={};return t.forEach((t=>{const n=s[0].column,f=t.cells[n];if(f){const h=o(e,n),d=l(h,f),b=f.value;let m=null;for(let e of u)if(e.group.label===d){m=e;break}null===m&&(m={group:{id:b,parent:null,column:n,columnLabel:i[n],expanded:!1,label:d,children:[],obj:f.obj,totals:{}},cells:{}},u.push(m));for(let n=1;n<s.length;n++){const r=s[n],a=t.cells[r.column];if(a){const t=o(e,r.column),n=l(t,a),s=a.value;let u=null;for(let e=0;e<m.group.children.length;e++){const t=m.group.children[e];if(t.group.label===n){u=t;break}}u||(u={cells:{},group:{id:s,parent:m,column:r.column,columnLabel:i[r.column],children:[],expanded:!1,label:n,totals:{},obj:a.obj}},L(u),m.group.children.push(u)),m=u}}m.group.children.push(t),function(e,t,n,l){if(!e||!t)return;const o=Object.keys(t);0!==o.length&&o.forEach((o=>{const r=n.cells[o];if(r){const n=C.ketchup.objects.isNumber(r.obj),i=t[o];switch(i){case a.COUNT:let t=e.group.totals[o]||0;e.group.totals[o]=++t;let s=e.group.parent;for(;null!=s;){let e=s.group.totals[o]||0;s.group.totals[o]=++e,s=s.group.parent}break;case a.DISTINCT:let u;if(u=n?C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value)):r.value,l[e.group.id]){let t=l[e.group.id][o];t?t.push(u):(l[e.group.id][o]=[],l[e.group.id][o].push(u))}else l[e.group.id]={},l[e.group.id][o]=[],l[e.group.id][o].push(u);let c=e.group.parent;for(;null!=c;){if(l[c.group.id]){let e=l[c.group.id][o];e?e.push(u):(l[c.group.id][o]=[],l[c.group.id][o].push(u))}else l[c.group.id]={},l[c.group.id][o]=[],l[c.group.id][o].push(u);c=c.group.parent}break;case a.SUM:case a.AVERAGE:if(n&&r.value){const t=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t+(e.group.totals[o]||0);let n=e.group.parent;for(;null!=n;){const e=C.ketchup.math.numberify(n.group.totals[o]||0);n.group.totals[o]=t+e,n=n.group.parent}}break;case a.MIN:if(n&&r.value){const t=e.group.totals[o],n=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t?Math.min(t,n):n;let l=e.group.parent;for(;null!=l;){const e=l.group.totals[o];l.group.totals[o]=e?Math.min(e,n):n,l=l.group.parent}}else if(r.value&&C.ketchup.objects.isDate(r.obj)&&C.ketchup.dates.isValidFormattedStringDate(r.value)){const t=e.group.totals[o];if(t){let n=[];n.push(u),n.push(C.ketchup.dates.toDayjs(t)),e.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.min(n),v.ISO_DATE)}else e.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);let n=e.group.parent;for(;null!=n;){const e=n.group.totals[o];if(e){let t=[];t.push(u),t.push(C.ketchup.dates.toDayjs(e)),n.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.min(t),v.ISO_DATE)}else n.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);n=n.group.parent}}break;case a.MAX:if(n&&r.value){const t=e.group.totals[o],n=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t?Math.max(t,n):n;let l=e.group.parent;for(;null!=l;){const e=l.group.totals[o];l.group.totals[o]=e?Math.max(e,n):n,l=l.group.parent}}else if(r.value&&C.ketchup.objects.isDate(r.obj)&&C.ketchup.dates.isValidFormattedStringDate(r.value)){const t=e.group.totals[o];if(t){let n=[];n.push(u),n.push(C.ketchup.dates.toDayjs(t)),e.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.max(n),v.ISO_DATE)}else e.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);let n=e.group.parent;for(;null!=n;){const e=n.group.totals[o];if(e){let t=[];t.push(u),t.push(C.ketchup.dates.toDayjs(e)),n.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.max(t),v.ISO_DATE)}else n.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);n=n.group.parent}}break;default:0!=i.indexOf(a.MATH)&&console.warn(`invalid total mode: ${i}`)}}}))}(m,r,t,c)}})),function(e,t,n){if(!e||!t)return;const l=Object.keys(t);if(0===e.length||!e[0].group||0===l.length)return;let o=l.filter((e=>a.DISTINCT===t[e]));o.length>0&&e.filter((e=>e.group.children.length>0)).forEach((e=>D(e,o,n)))}(u,r,c),W(u,a.AVERAGE,r),W(u,a.MATH,r),u}function W(e,t,n){if(!e||!n)return;const l=Object.keys(n);if(0===e.length||!e[0].group||0===l.length)return;let o;t==a.AVERAGE&&(o=l.filter((e=>a.AVERAGE===n[e]))),t==a.MATH&&(o=l.filter((e=>0==n[e].indexOf(a.MATH)))),o.length>0&&e.filter((e=>e.group.children.length>0)).forEach((e=>E(e,t,o,n)))}function D(e,t,n){const l=e.group.children;0!==l.length&&(l[0].group&&l.forEach((e=>{D(e,t,n)})),t.forEach((t=>{e.group.totals[t]=new Set(n[e.group.id][t]).size})))}function E(e,t,n,l){const o=e.group.children;if(0===o.length)return 0;let r=0;return o[0].group?o.forEach((e=>{r+=E(e,t,n,l)})):r=o.length,n.forEach((n=>{if(t==a.AVERAGE&&(e.group.totals[n]=e.group.totals[n]/r),t==a.MATH){let t=l[n].substring(a.MATH.length);e.group.totals[n]=C.ketchup.math.formulas.custom(t,e.group.totals)}})),r}function A(e,t){if(t){const n=Object.assign(t);return t.forEach((t=>{e.forEach((e=>{if(t.cells){const n=t.cells[e.name];n&&e.obj&&!n.obj&&(n.obj={t:e.obj.t,p:e.obj.p,k:n.value})}}))})),n}}function B(e,t,n){if(C.ketchup.objects.isEmptyJsObject(n)||C.ketchup.objects.isEmptyJsObject(e))return{};const l={},o=[],r=t.reduce(((t,r)=>{if(!e[r.name])return t;const i=e[r.name];return i===a.COUNT?(l[r.name]=n.length.toString(),t):0===i.indexOf(a.MATH)?(o.push([r.name,i]),t):(t.push({totalOperation:i,totalColumn:r,columnValues:n.map((e=>e.cells[r.name].value))}),t)}),[]);return r||o?(null==r||r.forEach((({totalOperation:e,totalColumn:t,columnValues:o})=>{if(C.ketchup.objects.isNumber(t.obj)){if(e===a.SUM)return void(l[t.name]=o.reduce(((e,t)=>e+C.ketchup.math.numberifySafe(t)),0).toString());if(e===a.AVERAGE)return void(l[t.name]=(o.reduce(((e,t)=>e+C.ketchup.math.numberifySafe(t)),0)/n.length).toString());if(e===a.MIN)return void(l[t.name]=Math.min(...o.map((e=>C.ketchup.math.numberifySafe(e)))).toString());if(e===a.MAX)return void(l[t.name]=Math.max(...o.map((e=>C.ketchup.math.numberifySafe(e)))).toString())}if(C.ketchup.objects.isDate(t.obj)){const n=o.filter((e=>C.ketchup.dates.isIsoDate(e))).map((e=>C.ketchup.dates.toDate(e,v.ISO_DATE)));if(!n)return;if(e===a.MIN)return void(l[t.name]=C.ketchup.dates.format(C.ketchup.dates.min(n),v.ISO_DATE));if(e===a.MAX)return void(l[t.name]=C.ketchup.dates.format(C.ketchup.dates.max(n),v.ISO_DATE))}e===a.DISTINCT&&(l[t.name]=new Set(o).size.toString())})),null==o||o.forEach((([e,t])=>{const n=null==t?void 0:t.replace(u(a.MATH,"g"),"");l[e]=C.ketchup.math.formulas.custom(n,function(e){var t;return Object.fromEntries(null===(t=Object.entries(e))||void 0===t?void 0:t.reduce(((e,[t,n])=>(C.ketchup.math.isNumber(n)&&e.push([t,Number(n)]),e)),[]))}(l)).toString()})),l):l}function L(e){if(!e.group)return;let t=e.group.id,n=e.group.parent;for(;null!==n;)t=`${n.group.id};${t}`,n=n.group.parent;e.group.id=t}function S(e,t,n,l){const o=t*n-n,r=o+Number(n);if(0==l)return e.slice(o,r);let i=[];return _(e,i,o,Number(n),0),i}function _(e,t,n,l,o){let r=!1;for(let i=0;i<e.length;i++){let s=e[i],a=R(e[i]);if(null!=s.group&&null!=s.group.children&&s.group.children.length>0){a.group.children=[];let e=_(s.group.children,a.group.children,n,l,o);o=e.ci,r=e.added,1==r&&(t[t.length]=a)}else o>=n&&(t[t.length]=a,r=!0),o++;if(o>=n+l)break}return{ci:o,added:r}}function R(e){return null==e?null:{id:e.id,cells:Object.assign({},e.cells),actions:e.actions?[...e.actions]:null,group:$(e.group),clonedFrom:e,readOnly:e.readOnly,cssClass:e.cssClass}}function I(e){if(null==e)return null;let t=[];for(let n=0;n<e.length;n++)t[t.length]=R(e[n]);return t}function $(e){return null==e?null:{id:e.id,parent:Object.assign({},e.parent),column:e.column,columnLabel:e.columnLabel,expanded:e.expanded,label:e.label,children:I(e.children),obj:Object.assign({},e.obj),totals:Object.assign({},e.totals)}}function q(e,t,n=!1){const l={columns:t.columns.filter((e=>e.visible)),rows:[]};for(const o of t.rows){const t={cells:{},id:o.id};for(const n of l.columns){const l=n.name,r=o.cells[l],i=e.rows.find((e=>e.id===o.id)),s=i?i.cells[l]:null;(!s&&r.value||s&&r.value!==s.value)&&(t.cells[l]=r)}(Object.keys(t.cells).length>0||n)&&l.rows.push(t)}return l}function z(e){var t;null===(t=e.rows)||void 0===t||t.forEach((e=>{Object.keys(e.cells).forEach((t=>{var n;let l=e.cells[t];const o=l.value,r=l.decode,i=l.options;l.isEditable=null!==(n=l.isEditable)&&void 0!==n?n:l.editable;const s={[c.AUTOCOMPLETE]:()=>f(o,"",i),[c.COMBOBOX]:()=>f(o,"",i),[c.RADIO]:()=>h(o,i),[c.CHECKBOX]:()=>d(o,""),[c.CHIP]:()=>b(o,r),[c.SWITCH]:()=>m(o,"")}[l.shape];s&&(l.data=Object.assign(Object.assign({},s()),l.data))}))}))}export{w as F,x as K,y as a,N as b,B as c,z as d,F as e,M as f,q as g,A as n,S as p,T as s,g as t}
1
+ import{D as e,E as t,C as n,af as l,w as o,y as r,ag as i,ah as s,M as a,N as u,F as c,ai as f,aj as h,ak as d,al as b,am as m,a5 as p}from"./p-a1316c85.js";import{K as v}from"./p-1ee561ba.js";class w extends e{getTextFilterValue(e={},t){return this._getTextFilterValue(e,t,!1)}getTextFilterValueTmp(e={},t){return this._getTextFilterValue(e,t,!0)}_getTextFilterValue(e={},t,n){let l="";if(null==e)return l;let o=e[t];return null==o||(l=n?o.textFieldTmp:o.textField),l}hasFiltersForColumn(e={},t){return this._hasFiltersForColumn(e,t,!1)}hasFiltersForColumnTmp(e={},t){return this._hasFiltersForColumn(e,t,!0)}_hasFiltersForColumn(e={},t,n){if(!t)return!1;let l=this._getTextFilterValue(e,t.name,n);if(null!=l&&""!=l.trim())return!0;let o=this.getCheckBoxFilterValues(e,t.name);return!(null==o||o.length<1)}getCheckBoxFilterValues(e={},t){let n=[];if(null==e)return n;let l=e[t];return null==l||null==l.checkBoxes||(n=l.checkBoxes),n}addCheckboxFilter(t={},n,l){if(null==t)return;let o=t[n];null==o&&(o={textField:"",textFieldTmp:"",checkBoxes:[]},t[n]=o),null==o.checkBoxes&&(o.checkBoxes=[]),null==l||null==l.value?o.checkBoxes=[]:e.valuesArrayContainsValue(o.checkBoxes,l.value)||(o.checkBoxes[o.checkBoxes.length]=l)}removeCheckboxFilter(e={},t,n){var l;if(!e||!n||!e[t])return;const o=e[t];o.checkBoxes=null!==(l=o.checkBoxes)&&void 0!==l?l:[],o.checkBoxes=o.checkBoxes.filter((e=>e.value!==n)),0===o.checkBoxes.length&&delete e[t]}isColumnNumeric(e){return this.isObjNumeric(e.obj)}setTextFieldFilterValue(e={},t,n){this._setTextFieldFilterValue(e,t,n,!0)}_setTextFieldFilterValue(e={},t,n,l){if(null==e)return;let o=e[t];null==o&&(o={textField:"",textFieldTmp:"",checkBoxes:[]},e[t]=o),l?o.textFieldTmp=null!=n?n.trim():n:o.textField=null!=n?n.trim():n}saveTextualFilters(e={},t){this._setTextFieldFilterValue(e,t,this.getTextFilterValueTmp(e,t),!1)}resetTextualFilters(e={},t){this._setTextFieldFilterValue(e,t,this.getTextFilterValue(e,t),!0)}getFilterValueForTooltip(e={},l){let o=this.getTextFilterValue(e,l.name),r=this.getCheckBoxFilterValues(e,l.name),i="",s=t(o,l.obj,l.decimals);""!=o&&(i=" AND "),i="";let a="";return r.forEach((e=>{a+=i+n(e,l),i=" OR "})),""!=a&&(a="("+a+")",""!=s&&(a=" AND "+a)),a=s+a,a}removeFilter(e={},t){delete e[t]}}var F;!function(e){e.asAccordion="When enabled, the first level of depth will give an accordion look to nodes.",e.columns="The columns of the tree when tree visualization is active.",e.customStyle="Custom style of the component.",e.data="The json data used to populate the tree view: the basic, always visible tree nodes.",e.density="The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.",e.dynamicExpansionCallback="Function that gets invoked when a new set of nodes must be loaded as children of a node. When useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop. If this prop is set to null, no callback to download data is available: the component will emit an event requiring the parent to load the children of the given node. If this prop is set to have a callback, then the component will automatically make requests to load children of a given node. After the load has been completed, a different event will be fired to alert the parent of the change.",e.enableExtraColumns="Enables adding extra columns.",e.expanded="Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded.",e.expansionMode="Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node.",e.filters="List of filters set by the user.",e.globalFilter="When set to true it activates the global filter.",e.globalFilterValue="The value of the global filter.",e.globalFilterMode="The mode of the global filter.",e.preventXScroll="Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells. It works only on cells of the main column.",e.removableColumns="Sets the possibility to remove the selected column.",e.ripple="When enabled displays Material's ripple effect on nodes (only when no columns are displayed).",e.scrollOnHover="Activates the scroll on hover function.",e.showColumns="Shows the tree data as a table.",e.showFilters="When set to true enables the column filters.",e.showFooter="When set to true shows the footer.",e.showHeader="Flag: shows the header of the tree when the tree is displayed as a table.",e.showIcons="Shows the icons of the nodes.",e.stateId="",e.store="",e.totals="Defines the current totals options.",e.useDynamicExpansion="When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the tree have been passed inside the data property. Therefore, when expanding a node, the tree must emit an event (or run a given callback) and wait for the child nodes to be downloaded from the server."}(F||(F={}));const g="TREE_COLUMN";var x;!function(e){e.DROPDOWN="dropdown",e.NODE="node"}(x||(x={}));const j=document.documentElement,k=j.ketchup?j.ketchup.objects:new r,O=j.ketchup?j.ketchup.data:new i;class y extends e{isFilterCompliantForCell(e,t){return!!e&&this.isFilterCompliantForSimpleValue(e.value,e.obj,t)}isFilterCompliantForCellObj(e,t){return!!e&&!!e.obj&&this.isFilterCompliantForSimpleValue(e.obj.k,e.obj,t)}isRowCompliant(e,t={},n="",l=!1,o=[],r){return this.areCellsCompliant(e.cells,t,n,l,o,r)}areCellsCompliant(e,t={},n="",r=!1,i=[],s){if(r){let t=!0;if(i&&null!=i&&i.length>0){t=!1;let o=this.filterIsNegative(n);for(let r=0;r<i.length;r++){if(0==i[r].visible)continue;const s=e[i[r].name];if(null==s)continue;t=this.isFilterCompliantForValue(s.value,n);let a=l(i[r],s);if(a!=s.value&&(t=t||this.isFilterCompliantForValue(a,n)),1==t&&!o)break;if(0==t&&o)break}}if(!t)return!1}return null==s&&(s=new w),!this.hasFilters(t,i,s)||Object.keys(t).every((n=>{const l=e[n],r=o(i,n);if(!l)return!1;let a=s.getTextFilterValue(t,n),u=s.getCheckBoxFilterValues(t,n);const c=this.filterIsNegative(a);let f=""!==a&&this.isFilterCompliantForCell(l,a)||u.some((e=>this.isFilterCompliantForCell(l,e.value)))||u.some((e=>this.isFilterCompliantForCell(l,e.displayedValue)))||!s.hasFiltersForColumn(t,r),h=c;return k.isNumber(l.obj)||k.isDate(l.obj)||k.isTime(l.obj)||k.isTimestamp(l.obj)||(h=""!==a&&this.isFilterCompliantForCellObj(l,a)||u.some((e=>this.isFilterCompliantForCellObj(l,e.value)))||!s.hasFiltersForColumn(t,r)),c?f&&h:f||h}))}hasFilters(e={},t,n){if(null==e)return!1;let l=Object.keys(e);if(null==l||l.length<1)return!1;null==n&&(n=new w);for(let r=0;r<l.length;r++){let i=l[r],s=null;if(s=i===g?{name:g,title:""}:o(t,i),n.hasFiltersForColumn(e,s))return!0}return!1}filterRows(e=[],t={},n="",l=[],o){if(!e||null==e)return[];let r=[];const i=!(!n||!l);if(this.hasFilters(t,l,o)||i)for(let s=0;s<e.length;s++){let a=e[s];(a.id&&a.id.indexOf("insert_")>-1||this.isRowCompliant(a,t,n,i,l,o))&&(r[r.length]=a)}else r=[...e];return r}getColumnValues(n,l,o,r){let i=new Array;null==r&&(r=new w);let s=r.getTextFilterValueTmp(n.filters,l.name),a=r.getCheckBoxFilterValues(n.filters,l.name);if(null!=l.valuesForFilter&&l.valuesForFilter.length>0)return l.valuesForFilter.forEach((n=>{let o=n;(e.valuesArrayContainsValue(a,o)||""==s||r.isFilterCompliantForSimpleValue(o,l.obj,s))&&i.push({value:o,displayedValue:t(o,l.obj,l.decimals)})})),i;let u=Object.assign({},n.filters);u[l.name]={textField:s,textFieldTmp:s,checkBoxes:[]};let c=this.filterRows(n.getRows(),u,o,n.getVisibleColumns(),r);for(let e=0;e<a.length;e++)i.push(a[e]);return O.cell.getUnivocalValue({rows:c},l,!0)}}const C=document.documentElement;function T(e=[],t=[]){if(!e||0===e.length)return[];if(e[0].group)return function(e=[],t=[]){if(!e||0===e.length)return[];const n=e[0].group.column;let l=function(e="",t=[]){if(!e||!t||0===t.length)return null;for(let n of t)if(n.column===e)return n;return null}(n,t);return l||(l={column:n,sortMode:p.A}),e.sort(((e,t)=>s({obj:e.group.obj,value:e.group.id},{obj:t.group.obj,value:t.group.id},l.sortMode))),e.forEach((e=>{e.group.children=T(e.group.children,t)})),e}(e,t);if(!t||0===t.length)return e;const n=t.length>1;return e.slice(0).sort(((e,l)=>{if(n){for(let n=0;n<t.length;n++){const o=V(e,l,t[n]);if(0!==o)return o}return 0}return V(e,l,t[0])}))}function V(e,t,n){const l=e.cells[n.column],o=t.cells[n.column];return l||o?l?o?s(l,o,n.sortMode):-1:1:0}function M(e=[],t={},n="",l=[],o,r){return null==r&&(r=new y),r.filterRows(e,t,n,l,o)}function N(e=[],t=[],n=[],r={}){if(!t)return[];if(!n||0===n.length||!e||0===e.length)return t;const i={},s=n.filter((({column:t})=>{for(let{name:n,title:l}of e)if(n===t)return i[n]=l,!0;return!1}));if(0===s.length)return t;const u=[];let c={};return t.forEach((t=>{const n=s[0].column,f=t.cells[n];if(f){const h=o(e,n),d=l(h,f),b=f.value;let m=null;for(let e of u)if(e.group.label===d){m=e;break}null===m&&(m={group:{id:b,parent:null,column:n,columnLabel:i[n],expanded:!1,label:d,children:[],obj:f.obj,totals:{}},cells:{}},u.push(m));for(let n=1;n<s.length;n++){const r=s[n],a=t.cells[r.column];if(a){const t=o(e,r.column),n=l(t,a),s=a.value;let u=null;for(let e=0;e<m.group.children.length;e++){const t=m.group.children[e];if(t.group.label===n){u=t;break}}u||(u={cells:{},group:{id:s,parent:m,column:r.column,columnLabel:i[r.column],children:[],expanded:!1,label:n,totals:{},obj:a.obj}},L(u),m.group.children.push(u)),m=u}}m.group.children.push(t),function(e,t,n,l){if(!e||!t)return;const o=Object.keys(t);0!==o.length&&o.forEach((o=>{const r=n.cells[o];if(r){const n=C.ketchup.objects.isNumber(r.obj),i=t[o];switch(i){case a.COUNT:let t=e.group.totals[o]||0;e.group.totals[o]=++t;let s=e.group.parent;for(;null!=s;){let e=s.group.totals[o]||0;s.group.totals[o]=++e,s=s.group.parent}break;case a.DISTINCT:let u;if(u=n?C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value)):r.value,l[e.group.id]){let t=l[e.group.id][o];t?t.push(u):(l[e.group.id][o]=[],l[e.group.id][o].push(u))}else l[e.group.id]={},l[e.group.id][o]=[],l[e.group.id][o].push(u);let c=e.group.parent;for(;null!=c;){if(l[c.group.id]){let e=l[c.group.id][o];e?e.push(u):(l[c.group.id][o]=[],l[c.group.id][o].push(u))}else l[c.group.id]={},l[c.group.id][o]=[],l[c.group.id][o].push(u);c=c.group.parent}break;case a.SUM:case a.AVERAGE:if(n&&r.value){const t=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t+(e.group.totals[o]||0);let n=e.group.parent;for(;null!=n;){const e=C.ketchup.math.numberify(n.group.totals[o]||0);n.group.totals[o]=t+e,n=n.group.parent}}break;case a.MIN:if(n&&r.value){const t=e.group.totals[o],n=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t?Math.min(t,n):n;let l=e.group.parent;for(;null!=l;){const e=l.group.totals[o];l.group.totals[o]=e?Math.min(e,n):n,l=l.group.parent}}else if(r.value&&C.ketchup.objects.isDate(r.obj)&&C.ketchup.dates.isValidFormattedStringDate(r.value)){const t=e.group.totals[o];if(t){let n=[];n.push(u),n.push(C.ketchup.dates.toDayjs(t)),e.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.min(n),v.ISO_DATE)}else e.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);let n=e.group.parent;for(;null!=n;){const e=n.group.totals[o];if(e){let t=[];t.push(u),t.push(C.ketchup.dates.toDayjs(e)),n.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.min(t),v.ISO_DATE)}else n.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);n=n.group.parent}}break;case a.MAX:if(n&&r.value){const t=e.group.totals[o],n=C.ketchup.math.numberify(C.ketchup.math.numberifySafe(r.value));e.group.totals[o]=t?Math.max(t,n):n;let l=e.group.parent;for(;null!=l;){const e=l.group.totals[o];l.group.totals[o]=e?Math.max(e,n):n,l=l.group.parent}}else if(r.value&&C.ketchup.objects.isDate(r.obj)&&C.ketchup.dates.isValidFormattedStringDate(r.value)){const t=e.group.totals[o];if(t){let n=[];n.push(u),n.push(C.ketchup.dates.toDayjs(t)),e.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.max(n),v.ISO_DATE)}else e.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);let n=e.group.parent;for(;null!=n;){const e=n.group.totals[o];if(e){let t=[];t.push(u),t.push(C.ketchup.dates.toDayjs(e)),n.group.totals[o]=C.ketchup.dates.format(C.ketchup.dates.max(t),v.ISO_DATE)}else n.group.totals[o]=C.ketchup.dates.format(u,v.ISO_DATE);n=n.group.parent}}break;default:0!=i.indexOf(a.MATH)&&console.warn(`invalid total mode: ${i}`)}}}))}(m,r,t,c)}})),function(e,t,n){if(!e||!t)return;const l=Object.keys(t);if(0===e.length||!e[0].group||0===l.length)return;let o=l.filter((e=>a.DISTINCT===t[e]));o.length>0&&e.filter((e=>e.group.children.length>0)).forEach((e=>D(e,o,n)))}(u,r,c),W(u,a.AVERAGE,r),W(u,a.MATH,r),u}function W(e,t,n){if(!e||!n)return;const l=Object.keys(n);if(0===e.length||!e[0].group||0===l.length)return;let o;t==a.AVERAGE&&(o=l.filter((e=>a.AVERAGE===n[e]))),t==a.MATH&&(o=l.filter((e=>0==n[e].indexOf(a.MATH)))),o.length>0&&e.filter((e=>e.group.children.length>0)).forEach((e=>E(e,t,o,n)))}function D(e,t,n){const l=e.group.children;0!==l.length&&(l[0].group&&l.forEach((e=>{D(e,t,n)})),t.forEach((t=>{e.group.totals[t]=new Set(n[e.group.id][t]).size})))}function E(e,t,n,l){const o=e.group.children;if(0===o.length)return 0;let r=0;return o[0].group?o.forEach((e=>{r+=E(e,t,n,l)})):r=o.length,n.forEach((n=>{if(t==a.AVERAGE&&(e.group.totals[n]=e.group.totals[n]/r),t==a.MATH){let t=l[n].substring(a.MATH.length);e.group.totals[n]=C.ketchup.math.formulas.custom(t,e.group.totals)}})),r}function A(e,t){if(t){const n=Object.assign(t);return t.forEach((t=>{e.forEach((e=>{if(t.cells){const n=t.cells[e.name];n&&e.obj&&!n.obj&&(n.obj={t:e.obj.t,p:e.obj.p,k:n.value})}}))})),n}}function B(e,t,n){if(C.ketchup.objects.isEmptyJsObject(n)||C.ketchup.objects.isEmptyJsObject(e))return{};const l={},o=[],r=t.reduce(((t,r)=>{if(!e[r.name])return t;const i=e[r.name];return i===a.COUNT?(l[r.name]=n.length.toString(),t):0===i.indexOf(a.MATH)?(o.push([r.name,i]),t):(t.push({totalOperation:i,totalColumn:r,columnValues:n.map((e=>e.cells[r.name].value))}),t)}),[]);return r||o?(null==r||r.forEach((({totalOperation:e,totalColumn:t,columnValues:o})=>{if(C.ketchup.objects.isNumber(t.obj)){if(e===a.SUM)return void(l[t.name]=o.reduce(((e,t)=>e+C.ketchup.math.numberifySafe(t)),0).toString());if(e===a.AVERAGE)return void(l[t.name]=(o.reduce(((e,t)=>e+C.ketchup.math.numberifySafe(t)),0)/n.length).toString());if(e===a.MIN)return void(l[t.name]=Math.min(...o.map((e=>C.ketchup.math.numberifySafe(e)))).toString());if(e===a.MAX)return void(l[t.name]=Math.max(...o.map((e=>C.ketchup.math.numberifySafe(e)))).toString())}if(C.ketchup.objects.isDate(t.obj)){const n=o.filter((e=>C.ketchup.dates.isIsoDate(e))).map((e=>C.ketchup.dates.toDate(e,v.ISO_DATE)));if(!n)return;if(e===a.MIN)return void(l[t.name]=C.ketchup.dates.format(C.ketchup.dates.min(n),v.ISO_DATE));if(e===a.MAX)return void(l[t.name]=C.ketchup.dates.format(C.ketchup.dates.max(n),v.ISO_DATE))}e===a.DISTINCT&&(l[t.name]=new Set(o).size.toString())})),null==o||o.forEach((([e,t])=>{const n=null==t?void 0:t.replace(u(a.MATH,"g"),"");l[e]=C.ketchup.math.formulas.custom(n,function(e){var t;return Object.fromEntries(null===(t=Object.entries(e))||void 0===t?void 0:t.reduce(((e,[t,n])=>(C.ketchup.math.isNumber(n)&&e.push([t,Number(n)]),e)),[]))}(l)).toString()})),l):l}function L(e){if(!e.group)return;let t=e.group.id,n=e.group.parent;for(;null!==n;)t=`${n.group.id};${t}`,n=n.group.parent;e.group.id=t}function S(e,t,n,l){const o=t*n-n,r=o+Number(n);if(0==l)return e.slice(o,r);let i=[];return _(e,i,o,Number(n),0),i}function _(e,t,n,l,o){let r=!1;for(let i=0;i<e.length;i++){let s=e[i],a=R(e[i]);if(null!=s.group&&null!=s.group.children&&s.group.children.length>0){a.group.children=[];let e=_(s.group.children,a.group.children,n,l,o);o=e.ci,r=e.added,1==r&&(t[t.length]=a)}else o>=n&&(t[t.length]=a,r=!0),o++;if(o>=n+l)break}return{ci:o,added:r}}function R(e){return null==e?null:{id:e.id,cells:Object.assign({},e.cells),actions:e.actions?[...e.actions]:null,group:$(e.group),clonedFrom:e,readOnly:e.readOnly,cssClass:e.cssClass}}function I(e){if(null==e)return null;let t=[];for(let n=0;n<e.length;n++)t[t.length]=R(e[n]);return t}function $(e){return null==e?null:{id:e.id,parent:Object.assign({},e.parent),column:e.column,columnLabel:e.columnLabel,expanded:e.expanded,label:e.label,children:I(e.children),obj:Object.assign({},e.obj),totals:Object.assign({},e.totals)}}function q(e,t,n=!1){const l={columns:t.columns.filter((e=>e.visible)),rows:[]};for(const o of t.rows){const t={cells:{},id:o.id};for(const n of l.columns){const l=n.name,r=o.cells[l],i=e.rows.find((e=>e.id===o.id)),s=i?i.cells[l]:null;(!s&&r.value||s&&r.value!==s.value)&&(t.cells[l]=r)}(Object.keys(t.cells).length>0||n)&&l.rows.push(t)}return l}function z(e){var t;null===(t=e.rows)||void 0===t||t.forEach((e=>{Object.keys(e.cells).forEach((t=>{var n;let l=e.cells[t];const o=l.value,r=l.decode,i=l.options;l.isEditable=null!==(n=l.isEditable)&&void 0!==n?n:l.editable;const s={[c.AUTOCOMPLETE]:()=>f(o,"",i),[c.COMBOBOX]:()=>f(o,"",i),[c.RADIO]:()=>h(o,i),[c.CHECKBOX]:()=>d(o,""),[c.CHIP]:()=>b(o,r),[c.SWITCH]:()=>m(o,"")}[l.shape];s&&(l.data=Object.assign(Object.assign({},s()),l.data))}))}))}export{w as F,x as K,y as a,N as b,B as c,z as d,F as e,M as f,q as g,A as n,S as p,T as s,g as t}
@@ -1 +1 @@
1
- import{r as t,c as i,f as e,h as n,F as a,H as o,d as f}from"./p-b0368f88.js";import{k as p,g as h,s,h as r}from"./p-48e99d19.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var m;!function(t){t.data="Data of the component containing url or html"}(m||(m={}));var c,g,d,u=function(t,i,e,n){if("a"===e&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!n:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?n:"a"===e?n.call(t):n?n.value:i.get(t)};const k=class{constructor(e){t(this,e),this.kupReady=i(this,"kup-htm-ready",6),c.add(this),g.set(this,p()),this.data=void 0}async getProps(t){return h(this,m,t)}async refresh(){e(this)}async setProps(t){s(this,m,t)}componentWillLoad(){u(this,g,"f").debug.logLoad(this,!1),u(this,g,"f").theme.register(this),u(this,g,"f").language.register(this)}componentDidLoad(){this.kupReady.emit({comp:this,id:this.rootElement.id}),u(this,g,"f").debug.logLoad(this,!0)}componentWillRender(){u(this,g,"f").debug.logRender(this,!1)}componentDidRender(){u(this,g,"f").debug.logRender(this,!0)}render(){var t;const i=u(this,c,"m",d).call(this,null===(t=null==this?void 0:this.data)||void 0===t?void 0:t.obj);return n(o,{key:"128d8986f162aa072d5b81db7f3f070115b19fa0"},n("style",{key:"aa84ccbba625c205995fddf63dd0af6da98c1fc5"},u(this,g,"f").theme.setKupStyle(this.rootElement)),n("div",{key:"800b7ab6281db49fefe696b606eef763c7314d4d",id:l},n("div",{key:"56e9a84d1ad20f5717d5192f1181e131208757e3",class:"kup-htm "+(i?"is-link":"")},i?n(a,null,n("a",{href:this.data.value,target:"_blank",rel:"noopener noreferrer"},u(this,g,"f").language.translate(r.OPEN_IN_NEW_TAB)),n("iframe",{src:this.data.value,frameBorder:"0"})):n("div",{innerHTML:this.data.value}))))}disconnectedCallback(){u(this,g,"f").theme.unregister(this),u(this,g,"f").language.unregister(this)}get rootElement(){return f(this)}};g=new WeakMap,c=new WeakSet,d=function(t){return u(this,g,"f").objects.isLink(t)||u(this,g,"f").objects.isJ1Pathfile(t)},k.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{height:100%;width:100%;display:block}#kup-component{height:100%}#kup-component .kup-htm.is-link{height:100%}#kup-component .kup-htm.is-link a{float:left}#kup-component .kup-htm.is-link iframe{min-height:600px;width:100%}";export{k as kup_htm}
1
+ import{r as t,c as i,f as e,h as n,F as a,H as o,d as f}from"./p-b0368f88.js";import{k as p,g as h,s,h as r}from"./p-a1316c85.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var m;!function(t){t.data="Data of the component containing url or html"}(m||(m={}));var c,g,u,d=function(t,i,e,n){if("a"===e&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!n:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?n:"a"===e?n.call(t):n?n.value:i.get(t)};const k=class{constructor(e){t(this,e),this.kupReady=i(this,"kup-htm-ready",6),c.add(this),g.set(this,p()),this.data=void 0}async getProps(t){return h(this,m,t)}async refresh(){e(this)}async setProps(t){s(this,m,t)}componentWillLoad(){d(this,g,"f").debug.logLoad(this,!1),d(this,g,"f").theme.register(this),d(this,g,"f").language.register(this)}componentDidLoad(){this.kupReady.emit({comp:this,id:this.rootElement.id}),d(this,g,"f").debug.logLoad(this,!0)}componentWillRender(){d(this,g,"f").debug.logRender(this,!1)}componentDidRender(){d(this,g,"f").debug.logRender(this,!0)}render(){var t;const i=d(this,c,"m",u).call(this,null===(t=null==this?void 0:this.data)||void 0===t?void 0:t.obj);return n(o,{key:"128d8986f162aa072d5b81db7f3f070115b19fa0"},n("style",{key:"aa84ccbba625c205995fddf63dd0af6da98c1fc5"},d(this,g,"f").theme.setKupStyle(this.rootElement)),n("div",{key:"800b7ab6281db49fefe696b606eef763c7314d4d",id:l},n("div",{key:"56e9a84d1ad20f5717d5192f1181e131208757e3",class:"kup-htm "+(i?"is-link":"")},i?n(a,null,n("a",{href:this.data.value,target:"_blank",rel:"noopener noreferrer"},d(this,g,"f").language.translate(r.OPEN_IN_NEW_TAB)),n("iframe",{src:this.data.value,frameBorder:"0"})):n("div",{innerHTML:this.data.value}))))}disconnectedCallback(){d(this,g,"f").theme.unregister(this),d(this,g,"f").language.unregister(this)}get rootElement(){return f(this)}};g=new WeakMap,c=new WeakSet,u=function(t){return d(this,g,"f").objects.isLink(t)||d(this,g,"f").objects.isJ1Pathfile(t)},k.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{height:100%;width:100%;display:block}#kup-component{height:100%}#kup-component .kup-htm.is-link{height:100%}#kup-component .kup-htm.is-link a{float:left}#kup-component .kup-htm.is-link iframe{min-height:600px;width:100%}";export{k as kup_htm}
@@ -0,0 +1 @@
1
+ import{h as e}from"./p-b0368f88.js";import{I as l,aw as t,r as a,a as n,h as o}from"./p-a1316c85.js";import{F as i}from"./p-d39c3267.js";import{a as r}from"./p-e3062c19.js";var s;!function(e){e.SIMPLE="simple",e.FULL="full"}(s||(s={}));const u=document.documentElement,p=p=>{p.perPage||(p.perPage=1e3),p.perPage>p.max&&(p.perPage=p.max);const m=Math.ceil(p.max/p.perPage),f=function(e,l){const t=[];for(let a=1;a<=l;a++){const l=a==e.currentPage;t.push({id:a.toString(),selected:l,value:a.toString()})}return t}(p,m),b=function(e){const l=[],t=Math.min(e.max,e.maxRowsPerPage);let a=e.perPage;if(0===a)return l;for(;a<t;){const t=a==e.perPage;l.push({id:a.toString(),selected:t,value:a.toString()}),a*=2}const n=t==e.perPage;return l.push({id:t.toString(),selected:n,value:t.toString()}),l}(p),h={"kup-list":{data:f,displayMode:l.CODE},"kup-text-field":{label:u.ketchup.language.translate(t.PAGE),helper:u.ketchup.language.translate(t.TOTAL)+`: ${m}`,helperWhenFocused:!0,inputType:"number",max:m,min:1,size:5}},g={"kup-list":{data:b,displayMode:l.CODE},"kup-text-field":{label:u.ketchup.language.translate(a.ROWS)+" / "+u.ketchup.language.translate(t.PAGE),helper:u.ketchup.language.translate(a.TOTAL)+`: ${p.max}`,helperWhenFocused:!0,inputType:"number",max:p.max,min:1,size:5}};return e("div",Object.assign({class:`f-paginator ${p.mode?p.mode:""} ${p.wrapperClass?p.wrapperClass:""}`},p.dataSet,{id:p.id,title:p.title}),p.onLoadMore?e(i,{icon:"plus",onClick:p.onLoadMore,label:u.ketchup.language.translate(o.LOAD_MORE),sizing:n.SMALL,styling:r.FLAT,wrapperClass:"load-more-button kup-neutral"}):null,e("kup-combobox",{class:"rows-selector",data:g,displayMode:l.CODE,initialValue:p.perPage.toString(),initialValueDecode:p.perPage.toString(),"onkup-combobox-change":p.onRowsChange}),e("kup-combobox",{class:"page-selector",data:h,displayMode:l.CODE,initialValue:p.currentPage.toString(),initialValueDecode:p.currentPage.toString(),"onkup-combobox-change":p.onPageChange}),p.showMaxPages?e("div",{class:"max-page-wrapper"},e("label",{htmlFor:"page-selector"},"/ "+m)):null,e("div",{class:"arrow-wrapper"},p.mode!==s.SIMPLE?e(i,{icon:"chevron_left",disabled:d(p),onClick:p.onPrevPage,sizing:n.SMALL,styling:r.FLAT,wrapperClass:"kup-neutral prev-page"}):null,p.mode!==s.SIMPLE?e(i,{icon:"chevron_right",disabled:c(p),onClick:p.onNextPage,sizing:n.SMALL,styling:r.FLAT,wrapperClass:"kup-neutral next-page"}):null))};function c(e){return e.currentPage*e.perPage>=e.max}function d(e){return 1==e.currentPage}const m=document.documentElement;function f(e,l,t){if(m.ketchup.math.isNumber(e)){const a=Math.ceil(l/t);let n=e;return n>a&&(n=a),n<1&&(n=1),n}return null}function b(e,l){if(m.ketchup.math.isNumber(e)){let t=e;return t>l&&(t=l),t<1&&(t=1),t}return null}export{p as F,f as p,b as r}
@@ -1 +1 @@
1
- import{r as i,f as n,h as t,H as e,d as a}from"./p-b0368f88.js";import{k as l,g as o,s as p,e as r}from"./p-48e99d19.js";import{c as s}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var d;!function(i){i.columns="The number of columns displayed by the grid, the default behavior is 12.",i.customStyle="Custom style of the component. For more information: https://smeup.github.io/ketchup/#/customization",i.singleLine="When set to true, forces the content on a single line."}(d||(d={}));const g=class{constructor(n){i(this,n),this.kupManager=l(),this.columns=12,this.customStyle="",this.singleLine=!1}async getProps(i){return o(this,d,i)}async refresh(){n(this)}async setProps(i){p(this,d,i)}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.kupManager.debug.logRender(this,!0)}render(){const i=this.rootElement.children;if(!i||0===i.length)return void this.kupManager.debug.logMessage(this,"Missing slots, not rendering!",r.WARNING);const n=[];for(let e=0;e<i.length;e++){let a=null;if(this.singleLine)a=t("slot",{name:`${e}`});else{const n=i[e].span||i[e].getAttribute("span")||1;a=t("div",{class:`layout-grid__cell layout-grid__cell--span-${n}`},t("slot",{name:`${e}`}))}n.push(a)}const a={};return this.columns&&12!==this.columns&&(a["--kup_grid_columns"]=this.columns),t(e,{style:a},t("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),t("div",{id:s},t("div",{class:this.singleLine?"flex-layout":"layout-grid"},t("div",{class:this.singleLine?"flex-layout__inner":"layout-grid__inner"},n))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return a(this)}};g.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_grid_font_size:var(--kup-grid-font-size, var(--kup-font-size));--kup_grid_gap:var(--kup-grid-gap, 24px);--kup_grid_gap_mobile:var(--kup-grid-gap-mobile, 16px);--kup_grid_padding:var(--kup-grid-padding, 24px);display:block;font-size:var(--kup_grid_font_size);height:100%;width:100%}#kup-component{height:100%;width:100%}.layout-grid{box-sizing:border-box;margin:0px auto;padding:var(--kup_grid_padding)}.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap);grid-template-columns:repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr))}.layout-grid .layout-grid__inner .layout-grid__cell{box-sizing:border-box;display:flex;justify-content:center;margin:0px;width:auto}.layout-grid__cell--span-1{grid-column-end:span 1}.layout-grid__cell--span-2{grid-column-end:span 2}.layout-grid__cell--span-3{grid-column-end:span 3}.layout-grid__cell--span-4{grid-column-end:span 4}.layout-grid__cell--span-5{grid-column-end:span 5}.layout-grid__cell--span-6{grid-column-end:span 6}.layout-grid__cell--span-7{grid-column-end:span 7}.layout-grid__cell--span-8{grid-column-end:span 8}.layout-grid__cell--span-9{grid-column-end:span 9}.layout-grid__cell--span-10{grid-column-end:span 10}.layout-grid__cell--span-11{grid-column-end:span 11}.layout-grid__cell--span-12{grid-column-end:span 12}.layout-grid__cell--span-13{grid-column-end:span 13}.layout-grid__cell--span-14{grid-column-end:span 14}.layout-grid__cell--span-15{grid-column-end:span 15}.layout-grid__cell--span-16{grid-column-end:span 16}.layout-grid__cell--span-17{grid-column-end:span 17}.layout-grid__cell--span-18{grid-column-end:span 18}.layout-grid__cell--span-19{grid-column-end:span 19}.layout-grid__cell--span-20{grid-column-end:span 20}.layout-grid__cell--span-21{grid-column-end:span 21}.layout-grid__cell--span-22{grid-column-end:span 22}.layout-grid__cell--span-23{grid-column-end:span 23}.layout-grid__cell--span-24{grid-column-end:span 24}.flex-layout,.flex-layout__inner{height:100%;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.flex-layout__inner{width:auto}.flex-layout__inner *{display:block;margin:0 1.5em}.flex-layout__inner .flex-layout__cell{display:flex}.flex-layout__inner .flex-layout__cell *{justify-content:center;margin:auto}@media (min-width: 600px) and (max-width: 839px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 8), minmax(0px, 1fr))}}@media (max-width: 599px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 4), minmax(0px, 1fr))}}:host(.kup-full-width) .flex-layout__inner{width:100%}:host(.kup-full-width) .flex-layout__inner *{margin:auto}:host(.kup-full-width.scalable-cards) .flex-layout__inner{width:100%}:host(.kup-full-width.scalable-cards) .flex-layout__inner *{margin:0;height:100%;width:100%}";export{g as kup_grid}
1
+ import{r as i,f as n,h as t,H as e,d as a}from"./p-b0368f88.js";import{k as l,g as o,s as p,e as r}from"./p-a1316c85.js";import{c as s}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var d;!function(i){i.columns="The number of columns displayed by the grid, the default behavior is 12.",i.customStyle="Custom style of the component. For more information: https://smeup.github.io/ketchup/#/customization",i.singleLine="When set to true, forces the content on a single line."}(d||(d={}));const g=class{constructor(n){i(this,n),this.kupManager=l(),this.columns=12,this.customStyle="",this.singleLine=!1}async getProps(i){return o(this,d,i)}async refresh(){n(this)}async setProps(i){p(this,d,i)}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.kupManager.debug.logRender(this,!0)}render(){const i=this.rootElement.children;if(!i||0===i.length)return void this.kupManager.debug.logMessage(this,"Missing slots, not rendering!",r.WARNING);const n=[];for(let e=0;e<i.length;e++){let a=null;if(this.singleLine)a=t("slot",{name:`${e}`});else{const n=i[e].span||i[e].getAttribute("span")||1;a=t("div",{class:`layout-grid__cell layout-grid__cell--span-${n}`},t("slot",{name:`${e}`}))}n.push(a)}const a={};return this.columns&&12!==this.columns&&(a["--kup_grid_columns"]=this.columns),t(e,{style:a},t("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),t("div",{id:s},t("div",{class:this.singleLine?"flex-layout":"layout-grid"},t("div",{class:this.singleLine?"flex-layout__inner":"layout-grid__inner"},n))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return a(this)}};g.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_grid_font_size:var(--kup-grid-font-size, var(--kup-font-size));--kup_grid_gap:var(--kup-grid-gap, 24px);--kup_grid_gap_mobile:var(--kup-grid-gap-mobile, 16px);--kup_grid_padding:var(--kup-grid-padding, 24px);display:block;font-size:var(--kup_grid_font_size);height:100%;width:100%}#kup-component{height:100%;width:100%}.layout-grid{box-sizing:border-box;margin:0px auto;padding:var(--kup_grid_padding)}.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap);grid-template-columns:repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr))}.layout-grid .layout-grid__inner .layout-grid__cell{box-sizing:border-box;display:flex;justify-content:center;margin:0px;width:auto}.layout-grid__cell--span-1{grid-column-end:span 1}.layout-grid__cell--span-2{grid-column-end:span 2}.layout-grid__cell--span-3{grid-column-end:span 3}.layout-grid__cell--span-4{grid-column-end:span 4}.layout-grid__cell--span-5{grid-column-end:span 5}.layout-grid__cell--span-6{grid-column-end:span 6}.layout-grid__cell--span-7{grid-column-end:span 7}.layout-grid__cell--span-8{grid-column-end:span 8}.layout-grid__cell--span-9{grid-column-end:span 9}.layout-grid__cell--span-10{grid-column-end:span 10}.layout-grid__cell--span-11{grid-column-end:span 11}.layout-grid__cell--span-12{grid-column-end:span 12}.layout-grid__cell--span-13{grid-column-end:span 13}.layout-grid__cell--span-14{grid-column-end:span 14}.layout-grid__cell--span-15{grid-column-end:span 15}.layout-grid__cell--span-16{grid-column-end:span 16}.layout-grid__cell--span-17{grid-column-end:span 17}.layout-grid__cell--span-18{grid-column-end:span 18}.layout-grid__cell--span-19{grid-column-end:span 19}.layout-grid__cell--span-20{grid-column-end:span 20}.layout-grid__cell--span-21{grid-column-end:span 21}.layout-grid__cell--span-22{grid-column-end:span 22}.layout-grid__cell--span-23{grid-column-end:span 23}.layout-grid__cell--span-24{grid-column-end:span 24}.flex-layout,.flex-layout__inner{height:100%;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.flex-layout__inner{width:auto}.flex-layout__inner *{display:block;margin:0 1.5em}.flex-layout__inner .flex-layout__cell{display:flex}.flex-layout__inner .flex-layout__cell *{justify-content:center;margin:auto}@media (min-width: 600px) and (max-width: 839px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 8), minmax(0px, 1fr))}}@media (max-width: 599px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 4), minmax(0px, 1fr))}}:host(.kup-full-width) .flex-layout__inner{width:100%}:host(.kup-full-width) .flex-layout__inner *{margin:auto}:host(.kup-full-width.scalable-cards) .flex-layout__inner{width:100%}:host(.kup-full-width.scalable-cards) .flex-layout__inner *{margin:0;height:100%;width:100%}";export{g as kup_grid}
@@ -1 +1 @@
1
- import{r as o,c as i,f as r,h as e,H as t,d as a}from"./p-b0368f88.js";import{k as n,a as c,g as p,s as d,d as s,b as l}from"./p-48e99d19.js";import{F as h}from"./p-b120abd7.js";import{c as u}from"./p-635bb4b3.js";import{M as m}from"./p-c56195a0.js";import"./p-1ee561ba.js";var f;!function(o){o.customStyle="Custom style of the component. For more information: https://smeup.github.io/ketchup/#/customization",o.data="Data of the accordion.",o.ripple="When enabled displays Material's ripple effect on item headers."}(f||(f={}));const _=class{constructor(r){o(this,r),this.kupAccordionItemSelected=i(this,"kup-accordion-itemselected",6),this.kupManager=n(),this.slotsNames=[],this.selectedItems=[],this.customStyle="",this.data=null,this.ripple=!1,this.sizing=c.SMALL}applyRipple(){const o=this.rootElement.shadowRoot;if(o&&this.ripple){const i=o.querySelectorAll(".mdc-ripple-surface:not(.mdc-ripple-upgraded)");if(i)for(let o=0;o<i.length;o++)m.attachTo(i[o])}}async collapseAll(){const o=[];for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i].name;!this.isItemExpandible(r)&&this.isItemSelected(r)&&o.push(r)}this.selectedItems=o}async expandAll(){const o=[];for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i].name;this.isItemExpandible(r)&&o.push(r)}this.selectedItems=o}async getProps(o){return p(this,f,o)}async refresh(){r(this)}async setProps(o){d(this,f,o)}async toggleItem(o){const i=this.isItemExpandible(o),r=[...this.selectedItems];r.includes(o)?r.splice(r.indexOf(o),1):r.push(o),this.selectedItems=r,i||this.kupAccordionItemSelected.emit({comp:this,id:this.rootElement.id,itemName:o})}isItemExpandible(o){return this.slotsNames.includes(o)}isItemSelected(o){return this.selectedItems.includes(o)}renderItems(){const o=[],i=Array.prototype.slice.call(this.rootElement.children,0);this.slotsNames=[];for(let o=0;o<i.length;o++)this.slotsNames.push(i[o].slot);for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i],t=r.name,a=this.isItemSelected(t),n=this.isItemExpandible(t),c={"accordion-item__content":!0,"accordion-item__content--selected":!!a};o.push(e("div",{class:"accordion-item"},e("div",{tabindex:"1",title:r.title,class:{"accordion-item__header":!0,"accordion-item__header--selected":!(n||!a),"accordion-item__header--expanded":!(!n||!a),"mdc-ripple-surface":!!this.ripple,[`accordion-item--${this.sizing}`]:!!this.sizing},onClick:()=>this.toggleItem(t)},r.icon?e(h,{color:`var(${s.ICON})`,resource:r.icon,sizeX:"1.5em",sizeY:"1.5em",wrapperClass:"accordion-item__icon"}):null,e("span",{class:"accordion-item__text"},r.title),n?e("span",{class:`accordion-item__dropdown kup-icon ${l.DROPDOWN.replace("--","")}`}):null),e("div",{class:c},e("slot",{name:r.name}))))}return o}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.applyRipple(),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){const o=this.rootElement.shadowRoot;if(o){const i=o.querySelectorAll(".mdc-ripple-surface");if(i)for(let o=0;o<i.length;o++)m.attachTo(i[o])}this.kupManager.debug.logRender(this,!0)}render(){const o=this.data&&this.data.columns?this.renderItems():null;return e(t,{key:"e833d2f12eaadc0a52bbfa292e29c92e3a7d737c"},e("style",{key:"93b4315cd2a0f9834ec9f4cf70c0c2cf6baf91cb"},this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{key:"a9cbd70c8e08f1b00cdee843c8b34540e49a7541",id:u},e("div",{key:"9ddf2bd8d16f97c3004948e31dcd2bb17ee155b6",class:"accordion"},o)))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return a(this)}static get watchers(){return{ripple:["applyRipple"]}}};_.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_accordion_border_top_color:var(\n --kup-accordion-border-top-color,\n var(--kup-border-subtle)\n );--kup_accordion_item_small_height:var(\n --kup-accordion-item-small-height,\n 32px\n );--kup_accordion_item_medium_height:var(\n --kup-accordion-item-medium-height,\n 40px\n );--kup_accordion_item_outline_color_active:var(\n --kup-accordion-item-outline-color-focus,\n var(--kup-border-interactive)\n );--kup_accordion_item_large_height:var(\n --kup-accordion-item-medium-height,\n 48px\n );--kup_accordion_header_background_color:var(\n --kup-accordion-header-background-color,\n var(--kup-layer-0)\n );--kup_accordion_header_background_color_hover:var(\n --kup-accordion-header-background-color-hover,\n var(--kup-layer-0-hover)\n );--kup_accordion_header_padding:var(\n --kup-accordion-header-padding,\n var(--kup-space-05)\n );--kup_accordion_dropdown_icon_color:var(\n --kup-accordio-dropdown-icon-color,\n var(--kup-text-primary)\n );--kup_accordion_transition:var(--kup-accordion-transition, 80ms);display:block;font-family:var(--kup_accordion_font_family);font-size:var(--kup_accordion_font_size)}.accordion{border-radius:var(--kup_accordion_border_radius);display:flex;flex-wrap:wrap;flex-direction:column;width:100%}.accordion-item{border-top:1px solid var(--kup_accordion_border_top_color);box-sizing:border-box;width:100%}.accordion-item--visible{display:block}.accordion-item:is(:last-of-type){border-bottom:1px solid var(--kup_accordion_border_top_color)}.accordion-item__header{height:var(--kup_accordion_item_medium_height);align-items:center;border:none;box-sizing:border-box;color:var(--kup_accordion_text_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;padding:var(--kup_accordion_padding);text-align:left;transition:background-color var(--kup_accordion_transition), color var(--kup_accordion_transition);width:100%;outline:2px solid transparent;outline-offset:-2px;padding-left:16px;padding-right:16px}.accordion-item__header:focus{outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header.accordion-item--small{height:var(--kup_accordion_item_small_height)}.accordion-item__header.accordion-item--large{height:var(--kup_accordion_item_large_height)}.accordion-item__header:hover:not(.accordion-item__header--selected){background-color:var(--kup_accordion_header_background_color_hover)}.accordion-item__header:focus(.accordion-item__header--selected){outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header--expanded{background-color:var(--kup_accordion_background_color)}.accordion-item__header--expanded .accordion-item__dropdown{transform:rotate(-180deg)}.accordion-item__text{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}.accordion-item__text--highlighted{color:var(--kup_accordion_text_on_primary_color);background-color:var(--kup_accordion_primary_color)}.accordion-item__icon{margin-left:0;margin-right:0.5em}.accordion-item__dropdown{background-color:var(--kup_accordion_dropdown_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform var(--kup_accordion_transition)}.accordion-item__content{padding-left:16px;padding-top:8px;padding-bottom:24px;padding-right:80px;animation:fade-in 0.25s ease-out;display:none;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}.accordion-item__content--selected{display:block}.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_accordion_primary_color)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}:host(.kup-borderless){--kup-accordion-border:none}:host(.kup-full-height){height:100%}:host(.kup-full-width){width:100%}:host(.kup-danger){--kup-accordion-primary-color:var(--kup-danger-color-60);--kup-accordion-primary-color-rgb:var(--kup-danger-color-60-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-info){--kup-accordion-primary-color:var(--kup-info-50-color);--kup-accordion-primary-color-rgb:var(--kup-info-color-50-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-secondary){--kup-accordion-primary-color:var(--kup-secondary-color);--kup-accordion-primary-color-rgb:var(--kup-secondary-color-rgb);--kup-accordion-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-accordion-primary-color:var(--kup-success-color-40);--kup-accordion-primary-color-rgb:var(--kup-success-color-40-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-warning){--kup-accordion-primary-color:var(--kup-warning-color-50);--kup-accordion-primary-color-rgb:var(--kup-warning-color-50-rgb);--kup-accordion-text-on-primary-color:white}";export{_ as kup_accordion}
1
+ import{r as o,c as i,f as r,h as t,H as e,d as a}from"./p-b0368f88.js";import{k as n,a as c,g as p,s as d,d as s,b as l}from"./p-a1316c85.js";import{F as h}from"./p-b120abd7.js";import{c as u}from"./p-635bb4b3.js";import{M as m}from"./p-c56195a0.js";import"./p-1ee561ba.js";var f;!function(o){o.customStyle="Custom style of the component. For more information: https://smeup.github.io/ketchup/#/customization",o.data="Data of the accordion.",o.ripple="When enabled displays Material's ripple effect on item headers."}(f||(f={}));const _=class{constructor(r){o(this,r),this.kupAccordionItemSelected=i(this,"kup-accordion-itemselected",6),this.kupManager=n(),this.slotsNames=[],this.selectedItems=[],this.customStyle="",this.data=null,this.ripple=!1,this.sizing=c.SMALL}applyRipple(){const o=this.rootElement.shadowRoot;if(o&&this.ripple){const i=o.querySelectorAll(".mdc-ripple-surface:not(.mdc-ripple-upgraded)");if(i)for(let o=0;o<i.length;o++)m.attachTo(i[o])}}async collapseAll(){const o=[];for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i].name;!this.isItemExpandible(r)&&this.isItemSelected(r)&&o.push(r)}this.selectedItems=o}async expandAll(){const o=[];for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i].name;this.isItemExpandible(r)&&o.push(r)}this.selectedItems=o}async getProps(o){return p(this,f,o)}async refresh(){r(this)}async setProps(o){d(this,f,o)}async toggleItem(o){const i=this.isItemExpandible(o),r=[...this.selectedItems];r.includes(o)?r.splice(r.indexOf(o),1):r.push(o),this.selectedItems=r,i||this.kupAccordionItemSelected.emit({comp:this,id:this.rootElement.id,itemName:o})}isItemExpandible(o){return this.slotsNames.includes(o)}isItemSelected(o){return this.selectedItems.includes(o)}renderItems(){const o=[],i=Array.prototype.slice.call(this.rootElement.children,0);this.slotsNames=[];for(let o=0;o<i.length;o++)this.slotsNames.push(i[o].slot);for(let i=0;i<this.data.columns.length;i++){const r=this.data.columns[i],e=r.name,a=this.isItemSelected(e),n=this.isItemExpandible(e),c={"accordion-item__content":!0,"accordion-item__content--selected":!!a};o.push(t("div",{class:"accordion-item"},t("div",{tabindex:"1",title:r.title,class:{"accordion-item__header":!0,"accordion-item__header--selected":!(n||!a),"accordion-item__header--expanded":!(!n||!a),"mdc-ripple-surface":!!this.ripple,[`accordion-item--${this.sizing}`]:!!this.sizing},onClick:()=>this.toggleItem(e)},r.icon?t(h,{color:`var(${s.ICON})`,resource:r.icon,sizeX:"1.5em",sizeY:"1.5em",wrapperClass:"accordion-item__icon"}):null,t("span",{class:"accordion-item__text"},r.title),n?t("span",{class:`accordion-item__dropdown kup-icon ${l.DROPDOWN.replace("--","")}`}):null),t("div",{class:c},t("slot",{name:r.name}))))}return o}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.applyRipple(),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){const o=this.rootElement.shadowRoot;if(o){const i=o.querySelectorAll(".mdc-ripple-surface");if(i)for(let o=0;o<i.length;o++)m.attachTo(i[o])}this.kupManager.debug.logRender(this,!0)}render(){const o=this.data&&this.data.columns?this.renderItems():null;return t(e,{key:"e833d2f12eaadc0a52bbfa292e29c92e3a7d737c"},t("style",{key:"93b4315cd2a0f9834ec9f4cf70c0c2cf6baf91cb"},this.kupManager.theme.setKupStyle(this.rootElement)),t("div",{key:"a9cbd70c8e08f1b00cdee843c8b34540e49a7541",id:u},t("div",{key:"9ddf2bd8d16f97c3004948e31dcd2bb17ee155b6",class:"accordion"},o)))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return a(this)}static get watchers(){return{ripple:["applyRipple"]}}};_.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_accordion_border_top_color:var(\n --kup-accordion-border-top-color,\n var(--kup-border-subtle)\n );--kup_accordion_item_small_height:var(\n --kup-accordion-item-small-height,\n 32px\n );--kup_accordion_item_medium_height:var(\n --kup-accordion-item-medium-height,\n 40px\n );--kup_accordion_item_outline_color_active:var(\n --kup-accordion-item-outline-color-focus,\n var(--kup-border-interactive)\n );--kup_accordion_item_large_height:var(\n --kup-accordion-item-medium-height,\n 48px\n );--kup_accordion_header_background_color:var(\n --kup-accordion-header-background-color,\n var(--kup-layer-0)\n );--kup_accordion_header_background_color_hover:var(\n --kup-accordion-header-background-color-hover,\n var(--kup-layer-0-hover)\n );--kup_accordion_header_padding:var(\n --kup-accordion-header-padding,\n var(--kup-space-05)\n );--kup_accordion_dropdown_icon_color:var(\n --kup-accordio-dropdown-icon-color,\n var(--kup-text-primary)\n );--kup_accordion_transition:var(--kup-accordion-transition, 80ms);display:block;font-family:var(--kup_accordion_font_family);font-size:var(--kup_accordion_font_size)}.accordion{border-radius:var(--kup_accordion_border_radius);display:flex;flex-wrap:wrap;flex-direction:column;width:100%}.accordion-item{border-top:1px solid var(--kup_accordion_border_top_color);box-sizing:border-box;width:100%}.accordion-item--visible{display:block}.accordion-item:is(:last-of-type){border-bottom:1px solid var(--kup_accordion_border_top_color)}.accordion-item__header{height:var(--kup_accordion_item_medium_height);align-items:center;border:none;box-sizing:border-box;color:var(--kup_accordion_text_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;padding:var(--kup_accordion_padding);text-align:left;transition:background-color var(--kup_accordion_transition), color var(--kup_accordion_transition);width:100%;outline:2px solid transparent;outline-offset:-2px;padding-left:16px;padding-right:16px}.accordion-item__header:focus{outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header.accordion-item--small{height:var(--kup_accordion_item_small_height)}.accordion-item__header.accordion-item--large{height:var(--kup_accordion_item_large_height)}.accordion-item__header:hover:not(.accordion-item__header--selected){background-color:var(--kup_accordion_header_background_color_hover)}.accordion-item__header:focus(.accordion-item__header--selected){outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header--expanded{background-color:var(--kup_accordion_background_color)}.accordion-item__header--expanded .accordion-item__dropdown{transform:rotate(-180deg)}.accordion-item__text{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}.accordion-item__text--highlighted{color:var(--kup_accordion_text_on_primary_color);background-color:var(--kup_accordion_primary_color)}.accordion-item__icon{margin-left:0;margin-right:0.5em}.accordion-item__dropdown{background-color:var(--kup_accordion_dropdown_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform var(--kup_accordion_transition)}.accordion-item__content{padding-left:16px;padding-top:8px;padding-bottom:24px;padding-right:80px;animation:fade-in 0.25s ease-out;display:none;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}.accordion-item__content--selected{display:block}.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_accordion_primary_color)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}:host(.kup-borderless){--kup-accordion-border:none}:host(.kup-full-height){height:100%}:host(.kup-full-width){width:100%}:host(.kup-danger){--kup-accordion-primary-color:var(--kup-danger-color-60);--kup-accordion-primary-color-rgb:var(--kup-danger-color-60-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-info){--kup-accordion-primary-color:var(--kup-info-50-color);--kup-accordion-primary-color-rgb:var(--kup-info-color-50-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-secondary){--kup-accordion-primary-color:var(--kup-secondary-color);--kup-accordion-primary-color-rgb:var(--kup-secondary-color-rgb);--kup-accordion-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-accordion-primary-color:var(--kup-success-color-40);--kup-accordion-primary-color-rgb:var(--kup-success-color-40-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-warning){--kup-accordion-primary-color:var(--kup-warning-color-50);--kup-accordion-primary-color-rgb:var(--kup-warning-color-50-rgb);--kup-accordion-text-on-primary-color:white}";export{_ as kup_accordion}