@sme.up/ketchup 8.2.2 → 8.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/cjs/{f-button-76a75669.js → f-button-d073c79d.js} +1 -1
  2. package/dist/cjs/{f-cell-6f902849.js → f-cell-b7ddd6b3.js} +6 -4
  3. package/dist/cjs/{f-chip-fe9cffed.js → f-chip-e51596be.js} +2 -2
  4. package/dist/cjs/{f-image-47976ad7.js → f-image-fb2721a7.js} +1 -1
  5. package/dist/cjs/{f-paginator-utils-f13f036f.js → f-paginator-utils-5bce6819.js} +2 -2
  6. package/dist/cjs/{f-text-field-865a6386.js → f-text-field-acb225f3.js} +1 -1
  7. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +10 -8
  9. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  10. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  11. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  12. package/dist/cjs/kup-dash-list.cjs.entry.js +1 -1
  13. package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  16. package/dist/cjs/kup-echart.cjs.entry.js +128 -2
  17. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  18. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
  20. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  22. package/dist/cjs/{kup-manager-695bbbe3.js → kup-manager-39f99670.js} +2 -0
  23. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  27. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
  30. package/dist/collection/assets/echart.js +248 -0
  31. package/dist/collection/components/kup-data-table/kup-data-table.js +2 -0
  32. package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
  33. package/dist/collection/components/kup-echart/kup-echart.js +125 -1
  34. package/dist/collection/components/kup-form/kup-form.css +3 -1
  35. package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
  36. package/dist/collection/f-components/f-cell/f-cell.js +2 -0
  37. package/dist/components/kup-autocomplete2.js +7 -1
  38. package/dist/components/kup-echart2.js +127 -1
  39. package/dist/esm/{f-button-c5b36ae1.js → f-button-38ee97e6.js} +1 -1
  40. package/dist/esm/{f-cell-fbfe9fe0.js → f-cell-763793f8.js} +6 -4
  41. package/dist/esm/{f-chip-038e9404.js → f-chip-010179a2.js} +2 -2
  42. package/dist/esm/{f-image-c356f4c5.js → f-image-77ac3ca0.js} +1 -1
  43. package/dist/esm/{f-paginator-utils-58466d55.js → f-paginator-utils-32b2c046.js} +2 -2
  44. package/dist/esm/{f-text-field-98905f74.js → f-text-field-8a683258.js} +1 -1
  45. package/dist/esm/kup-accordion.entry.js +2 -2
  46. package/dist/esm/kup-autocomplete_27.entry.js +10 -8
  47. package/dist/esm/kup-box.entry.js +7 -7
  48. package/dist/esm/kup-calendar.entry.js +4 -4
  49. package/dist/esm/kup-cell.entry.js +5 -5
  50. package/dist/esm/kup-dash-list.entry.js +1 -1
  51. package/dist/esm/kup-dash_2.entry.js +1 -1
  52. package/dist/esm/kup-dashboard.entry.js +4 -4
  53. package/dist/esm/kup-drawer.entry.js +1 -1
  54. package/dist/esm/kup-echart.entry.js +128 -2
  55. package/dist/esm/kup-family-tree.entry.js +3 -3
  56. package/dist/esm/kup-iframe.entry.js +1 -1
  57. package/dist/esm/kup-image-list.entry.js +6 -6
  58. package/dist/esm/kup-lazy.entry.js +1 -1
  59. package/dist/esm/kup-magic-box.entry.js +2 -2
  60. package/dist/esm/{kup-manager-74e46edc.js → kup-manager-e2f7edf1.js} +2 -0
  61. package/dist/esm/kup-nav-bar.entry.js +1 -1
  62. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  63. package/dist/esm/kup-photo-frame.entry.js +1 -1
  64. package/dist/esm/kup-planner.entry.js +2 -2
  65. package/dist/esm/kup-probe.entry.js +1 -1
  66. package/dist/esm/kup-qlik.entry.js +1 -1
  67. package/dist/esm/kup-snackbar.entry.js +3 -3
  68. package/dist/ketchup/ketchup.esm.js +1 -1
  69. package/dist/ketchup/{p-b813af24.entry.js → p-07e56ef4.entry.js} +1 -1
  70. package/dist/ketchup/{p-9c7b9ff2.js → p-0e961148.js} +1 -1
  71. package/dist/ketchup/{p-f1da8b9c.entry.js → p-166356dc.entry.js} +1 -1
  72. package/dist/ketchup/{p-46daf529.js → p-2751c4ba.js} +1 -1
  73. package/dist/ketchup/p-2866e08c.entry.js +1 -0
  74. package/dist/ketchup/{p-0d533d24.entry.js → p-3a64fbe0.entry.js} +1 -1
  75. package/dist/ketchup/{p-487f4a33.entry.js → p-3fe1eada.entry.js} +2 -2
  76. package/dist/ketchup/{p-1f5eb8e6.entry.js → p-40312367.entry.js} +1 -1
  77. package/dist/ketchup/{p-2cc57793.entry.js → p-46ad61d1.entry.js} +1 -1
  78. package/dist/ketchup/{p-008cde2a.entry.js → p-4cb43c62.entry.js} +1 -1
  79. package/dist/ketchup/{p-e16c04d8.js → p-5443df89.js} +1 -1
  80. package/dist/ketchup/{p-78eaa526.js → p-5b1ae769.js} +1 -1
  81. package/dist/ketchup/{p-73ab15cd.entry.js → p-5d7b542c.entry.js} +1 -1
  82. package/dist/ketchup/{p-6efda31f.entry.js → p-6814b44c.entry.js} +1 -1
  83. package/dist/ketchup/{p-c20c4f66.js → p-79f78bdc.js} +1 -1
  84. package/dist/ketchup/{p-a9151ee8.entry.js → p-7c9ca424.entry.js} +1 -1
  85. package/dist/ketchup/{p-cd1f9e76.entry.js → p-86a3a9ef.entry.js} +1 -1
  86. package/dist/ketchup/{p-efd07a7f.entry.js → p-9fe8bcf4.entry.js} +1 -1
  87. package/dist/ketchup/{p-c3e84081.entry.js → p-bab43d3f.entry.js} +1 -1
  88. package/dist/ketchup/{p-8d992de0.entry.js → p-be933dfa.entry.js} +1 -1
  89. package/dist/ketchup/{p-d5491e4f.js → p-d938d1cd.js} +1 -1
  90. package/dist/ketchup/{p-2ac7d95a.entry.js → p-d942bfd3.entry.js} +1 -1
  91. package/dist/ketchup/{p-26765429.entry.js → p-dd183d2f.entry.js} +1 -1
  92. package/dist/ketchup/{p-a015c95b.entry.js → p-e0e4e3e2.entry.js} +1 -1
  93. package/dist/ketchup/{p-bb93aa7e.entry.js → p-e96d0d28.entry.js} +1 -1
  94. package/dist/ketchup/{p-f023195c.entry.js → p-eb42d212.entry.js} +1 -1
  95. package/dist/ketchup/{p-e9d2a964.entry.js → p-f3c25aae.entry.js} +4 -4
  96. package/dist/ketchup/{p-dfab37a3.entry.js → p-f520b898.entry.js} +1 -1
  97. package/dist/ketchup/{p-ffbd77d5.js → p-fe8c8e11.js} +1 -1
  98. package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +3 -1
  99. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +2 -0
  100. package/package.json +1 -1
  101. package/dist/ketchup/p-59919641.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-3da7e4c6.js";export{s as setNonce}from"./p-3da7e4c6.js";(()=>{const t=import.meta.url,s={};return""!==t&&(s.resourcesUrl=new URL(".",t).href),e(s)})().then((e=>t(JSON.parse('[["p-487f4a33",[[1,"kup-autocomplete",{"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"initialValue":[1,"initial-value"],"inputDelay":[2,"input-delay"],"minimumChars":[2,"minimum-chars"],"selectMode":[1,"select-mode"],"serverHandledFilter":[516,"server-handled-filter"],"showDropDownIcon":[4,"show-drop-down-icon"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-button",{"buttonType":[1,"button-type"],"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"icon":[1],"iconOff":[1,"icon-off"],"label":[1],"styling":[1],"showSpinner":[4,"show-spinner"],"toggable":[4],"trailingIcon":[4,"trailing-icon"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-button-list",{"columns":[2],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"showSelection":[4,"show-selection"],"styling":[513],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-chip",{"customStyle":[1,"custom-style"],"data":[1040],"displayId":[4,"display-id"],"enableInput":[4,"enable-input"],"type":[1],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-badge",{"customStyle":[1,"custom-style"],"imageData":[16],"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-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"],"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"],"removableColumns":[4,"removable-columns"],"resizableColumns":[4,"resizable-columns"],"rowActions":[16],"rowsPerPage":[2,"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"],"sort":[1040],"sortableColumnsMutateData":[4,"sortable-columns-mutate-data"],"sortEnabled":[4,"sort-enabled"],"tableHeight":[1,"table-height"],"tableWidth":[1,"table-width"],"totals":[1040],"transpose":[1028],"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],"newColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setCellValue":[64],"setFocus":[64],"setProps":[64],"setSelectedRows":[64],"getInternalState":[64],"defaultSortingFunction":[64]}],[1,"kup-dialog",{"autoCenter":[16],"customStyle":[1,"custom-style"],"header":[16],"modal":[16],"resizable":[4],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"close":[64],"getProps":[64],"recalcPosition":[64],"refresh":[64],"setProps":[64]}],[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]}],[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]}],[1,"kup-checkbox",{"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"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"],"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],"getProps":[64],"hideColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}],[1,"kup-color-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"initialValue":[1,"initial-value"],"swatchOnly":[4,"swatch-only"],"value":[32],"getProps":[64],"getValue":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"refresh":[64]}],[1,"kup-combobox",{"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"initialValue":[1,"initial-value"],"isSelect":[516,"is-select"],"selectMode":[1,"select-mode"],"showDropDownIcon":[4,"show-drop-down-icon"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-date-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"firstDayIndex":[2,"first-day-index"],"initialValue":[1,"initial-value"],"stateSwitcher":[32],"value":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]]],[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],"selectMode":[1,"select-mode"],"styling":[1],"trailingIcon":[4,"trailing-icon"],"id":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[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"],"resource":[1],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-list",{"customStyle":[1,"custom-style"],"data":[1040],"displayMode":[1,"display-mode"],"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]},[[0,"keydown","listenKeydown"]]],[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-radio",{"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-rating",{"customStyle":[1,"custom-style"],"disabled":[4],"maxValue":[2,"max-value"],"value":[2],"stars":[32],"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"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]}],[1,"kup-text-field",{"allowNegative":[4,"allow-negative"],"customStyle":[1,"custom-style"],"decimals":[2],"disabled":[4],"emitSubmitEventOnEnter":[4,"emit-submit-event-on-enter"],"fullWidth":[516,"full-width"],"group":[4],"helper":[1],"helperEnabled":[4,"helper-enabled"],"helperWhenFocused":[4,"helper-when-focused"],"hiddenCounter":[4,"hidden-counter"],"icon":[1],"initialValue":[1,"initial-value"],"inputMode":[1,"input-mode"],"inputType":[1,"input-type"],"integers":[2],"isClearable":[4,"is-clearable"],"label":[1],"leadingLabel":[4,"leading-label"],"max":[2],"maxLength":[2,"max-length"],"min":[2],"name":[1],"outlined":[4],"readOnly":[4,"read-only"],"size":[2],"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]}],[1,"kup-time-picker",{"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"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[4,"keyup","listenKeyup"]]]]],["p-1f5eb8e6",[[1,"kup-dash-list",{"layout":[1],"fontsize":[1],"active":[4],"columnsNumber":[2,"columns-number"],"fullWidth":[4,"full-width"],"horizontal":[4],"iconColor":[16],"valueColor":[16],"textColor":[16],"data":[16]}]]],["p-2ac7d95a",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-8d992de0",[[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-bb93aa7e",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]}]]],["p-0d533d24",[[1,"kup-calendar",{"currentDate":[1,"current-date"],"customStyle":[1,"custom-style"],"data":[16],"hideNavigation":[4,"hide-navigation"],"viewType":[1025,"view-type"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-efd07a7f",[[1,"kup-cell",{"customStyle":[1,"custom-style"],"data":[16],"density":[1],"dragEnabled":[4,"drag-enabled"],"addCssClasses":[64],"getProps":[64],"refresh":[64],"removeCssClasses":[64],"setProps":[64]}]]],["p-f1da8b9c",[[1,"kup-dashboard",{"customStyle":[1,"custom-style"],"data":[16],"enableDesign":[4,"enable-design"],"resetInternalData":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-008cde2a",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-59919641",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-c3e84081",[[1,"kup-image-list",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"selectedNode":[16],"stateId":[1,"state-id"],"store":[16],"currentNode":[32],"navigationBarToggled":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-f023195c",[[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-dfab37a3",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-a9151ee8",[[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-73ab15cd",[[1,"kup-photo-frame",{"customStyle":[1,"custom-style"],"placeholderAttrs":[16],"resourceAttrs":[16],"threshold":[2],"isInViewport":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-6efda31f",[[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"],"detailIconCol":[1,"detail-icon-col"],"detailIdCol":[1,"detail-id-col"],"detailNameCol":[1,"detail-name-col"],"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],"phaseIconCol":[1,"phase-icon-col"],"phaseIdCol":[1,"phase-id-col"],"phaseNameCol":[1,"phase-name-col"],"phasePrevDates":[16],"readOnly":[4,"read-only"],"showSecondaryDates":[4,"show-secondary-dates"],"taskColumns":[16],"taskDates":[16],"taskFilter":[1,"task-filter"],"taskHeight":[2,"task-height"],"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"],"taskPrevDates":[16],"titleMess":[1,"title-mess"],"viewMode":[1,"view-mode"],"plannerProps":[32],"getProps":[64],"refresh":[64],"setProps":[64],"addPhases":[64]}]]],["p-b813af24",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-cd1f9e76",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-26765429",[[1,"kup-snackbar",{"actionButton":[16],"closeButton":[4,"close-button"],"customStyle":[1,"custom-style"],"text":[1],"timeout":[2],"visible":[32],"getProps":[64],"hide":[64],"refresh":[64],"setProps":[64],"show":[64]}]]],["p-e9d2a964",[[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],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"types":[16],"xAxis":[16],"yAxis":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-a015c95b",[[1,"kup-dash",{"active":[4],"fontsize":[1],"layout":[1],"index":[2]}],[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-2cc57793",[[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"],"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"],"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]}]]]]'),e)));
1
+ import{p as e,b as t}from"./p-3da7e4c6.js";export{s as setNonce}from"./p-3da7e4c6.js";(()=>{const t=import.meta.url,s={};return""!==t&&(s.resourcesUrl=new URL(".",t).href),e(s)})().then((e=>t(JSON.parse('[["p-3fe1eada",[[1,"kup-autocomplete",{"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"initialValue":[1,"initial-value"],"inputDelay":[2,"input-delay"],"minimumChars":[2,"minimum-chars"],"selectMode":[1,"select-mode"],"serverHandledFilter":[516,"server-handled-filter"],"showDropDownIcon":[4,"show-drop-down-icon"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-button",{"buttonType":[1,"button-type"],"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"icon":[1],"iconOff":[1,"icon-off"],"label":[1],"styling":[1],"showSpinner":[4,"show-spinner"],"toggable":[4],"trailingIcon":[4,"trailing-icon"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-button-list",{"columns":[2],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"showSelection":[4,"show-selection"],"styling":[513],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-chip",{"customStyle":[1,"custom-style"],"data":[1040],"displayId":[4,"display-id"],"enableInput":[4,"enable-input"],"type":[1],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-badge",{"customStyle":[1,"custom-style"],"imageData":[16],"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-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"],"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"],"removableColumns":[4,"removable-columns"],"resizableColumns":[4,"resizable-columns"],"rowActions":[16],"rowsPerPage":[2,"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"],"sort":[1040],"sortableColumnsMutateData":[4,"sortable-columns-mutate-data"],"sortEnabled":[4,"sort-enabled"],"tableHeight":[1,"table-height"],"tableWidth":[1,"table-width"],"totals":[1040],"transpose":[1028],"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],"newColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setCellValue":[64],"setFocus":[64],"setProps":[64],"setSelectedRows":[64],"getInternalState":[64],"defaultSortingFunction":[64]}],[1,"kup-dialog",{"autoCenter":[16],"customStyle":[1,"custom-style"],"header":[16],"modal":[16],"resizable":[4],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"close":[64],"getProps":[64],"recalcPosition":[64],"refresh":[64],"setProps":[64]}],[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]}],[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]}],[1,"kup-checkbox",{"checked":[1028],"customStyle":[1,"custom-style"],"disabled":[4],"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"],"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],"getProps":[64],"hideColumn":[64],"openColumnMenu":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}],[1,"kup-color-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"initialValue":[1,"initial-value"],"swatchOnly":[4,"swatch-only"],"value":[32],"getProps":[64],"getValue":[64],"setFocus":[64],"setProps":[64],"setValue":[64],"refresh":[64]}],[1,"kup-combobox",{"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"displayMode":[1,"display-mode"],"initialValue":[1,"initial-value"],"isSelect":[516,"is-select"],"selectMode":[1,"select-mode"],"showDropDownIcon":[4,"show-drop-down-icon"],"displayedValue":[32],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[1,"kup-date-picker",{"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"firstDayIndex":[2,"first-day-index"],"initialValue":[1,"initial-value"],"stateSwitcher":[32],"value":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setFocus":[64],"setValue":[64]},[[0,"keyup","listenKeyup"]]],[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],"selectMode":[1,"select-mode"],"styling":[1],"trailingIcon":[4,"trailing-icon"],"id":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setProps":[64],"setValue":[64]},[[0,"keydown","listenKeydown"]]],[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"],"resource":[1],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-list",{"customStyle":[1,"custom-style"],"data":[1040],"displayMode":[1,"display-mode"],"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]},[[0,"keydown","listenKeydown"]]],[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-radio",{"columns":[2],"customStyle":[1,"custom-style"],"data":[16],"disabled":[4],"leadingLabel":[4,"leading-label"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-rating",{"customStyle":[1,"custom-style"],"disabled":[4],"maxValue":[2,"max-value"],"value":[2],"stars":[32],"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"],"value":[32],"getProps":[64],"refresh":[64],"setProps":[64]}],[1,"kup-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]}],[1,"kup-text-field",{"allowNegative":[4,"allow-negative"],"customStyle":[1,"custom-style"],"decimals":[2],"disabled":[4],"emitSubmitEventOnEnter":[4,"emit-submit-event-on-enter"],"fullWidth":[516,"full-width"],"group":[4],"helper":[1],"helperEnabled":[4,"helper-enabled"],"helperWhenFocused":[4,"helper-when-focused"],"hiddenCounter":[4,"hidden-counter"],"icon":[1],"initialValue":[1,"initial-value"],"inputMode":[1,"input-mode"],"inputType":[1,"input-type"],"integers":[2],"isClearable":[4,"is-clearable"],"label":[1],"leadingLabel":[4,"leading-label"],"max":[2],"maxLength":[2,"max-length"],"min":[2],"name":[1],"outlined":[4],"readOnly":[4,"read-only"],"size":[2],"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]}],[1,"kup-time-picker",{"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"],"value":[32],"getProps":[64],"getValue":[64],"refresh":[64],"setFocus":[64],"setProps":[64],"setValue":[64]},[[4,"keyup","listenKeyup"]]]]],["p-40312367",[[1,"kup-dash-list",{"layout":[1],"fontsize":[1],"active":[4],"columnsNumber":[2,"columns-number"],"fullWidth":[4,"full-width"],"horizontal":[4],"iconColor":[16],"valueColor":[16],"textColor":[16],"data":[16]}]]],["p-d942bfd3",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-be933dfa",[[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-e96d0d28",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]}]]],["p-3a64fbe0",[[1,"kup-calendar",{"currentDate":[1,"current-date"],"customStyle":[1,"custom-style"],"data":[16],"hideNavigation":[4,"hide-navigation"],"viewType":[1025,"view-type"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-9fe8bcf4",[[1,"kup-cell",{"customStyle":[1,"custom-style"],"data":[16],"density":[1],"dragEnabled":[4,"drag-enabled"],"addCssClasses":[64],"getProps":[64],"refresh":[64],"removeCssClasses":[64],"setProps":[64]}]]],["p-166356dc",[[1,"kup-dashboard",{"customStyle":[1,"custom-style"],"data":[16],"enableDesign":[4,"enable-design"],"resetInternalData":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-4cb43c62",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-2866e08c",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-bab43d3f",[[1,"kup-image-list",{"customStyle":[1,"custom-style"],"data":[16],"ripple":[4],"selectedNode":[16],"stateId":[1,"state-id"],"store":[16],"currentNode":[32],"navigationBarToggled":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-eb42d212",[[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-f520b898",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-7c9ca424",[[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-5d7b542c",[[1,"kup-photo-frame",{"customStyle":[1,"custom-style"],"placeholderAttrs":[16],"resourceAttrs":[16],"threshold":[2],"isInViewport":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-6814b44c",[[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"],"detailIconCol":[1,"detail-icon-col"],"detailIdCol":[1,"detail-id-col"],"detailNameCol":[1,"detail-name-col"],"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],"phaseIconCol":[1,"phase-icon-col"],"phaseIdCol":[1,"phase-id-col"],"phaseNameCol":[1,"phase-name-col"],"phasePrevDates":[16],"readOnly":[4,"read-only"],"showSecondaryDates":[4,"show-secondary-dates"],"taskColumns":[16],"taskDates":[16],"taskFilter":[1,"task-filter"],"taskHeight":[2,"task-height"],"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"],"taskPrevDates":[16],"titleMess":[1,"title-mess"],"viewMode":[1,"view-mode"],"plannerProps":[32],"getProps":[64],"refresh":[64],"setProps":[64],"addPhases":[64]}]]],["p-07e56ef4",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-86a3a9ef",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-dd183d2f",[[1,"kup-snackbar",{"actionButton":[16],"closeButton":[4,"close-button"],"customStyle":[1,"custom-style"],"text":[1],"timeout":[2],"visible":[32],"getProps":[64],"hide":[64],"refresh":[64],"setProps":[64],"show":[64]}]]],["p-f3c25aae",[[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],"sizeX":[1,"size-x"],"sizeY":[1,"size-y"],"types":[16],"xAxis":[16],"yAxis":[16],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-e0e4e3e2",[[1,"kup-dash",{"active":[4],"fontsize":[1],"layout":[1],"index":[2]}],[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-46ad61d1",[[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"],"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"],"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]}]]]]'),e)));
@@ -1 +1 @@
1
- import{r as t,f as s,h as i,H as e,g as h}from"./p-3da7e4c6.js";import{k as o}from"./p-46daf529.js";import{c as l}from"./p-ad2e21d2.js";const n=class{constructor(s){t(this,s),this.kupManager=o(),this.startTime=performance.now(),this.featuresStartTime=null,this.endTime=null,this.content=null,this.customStyle="",this.features={debug:!1,language:!1,longCycleProp:!1,longCycleVar:!1,objects:!1,objectsFunction:!1,theme:!1}}async printLifecycleTime(){const t=this.endTime-this.featuresStartTime,s=this.endTime-this.startTime;return this.content="Full lifecycle of this probe ("+this.rootElement.tagName+"#"+this.rootElement.id+") took "+s+"ms, while features took "+t+"ms.",{id:this.rootElement.id,fullTime:s,featuresTime:t}}async refresh(){s(this)}longCycleProp(){}longCycleVar(){}longCycleObjects(){for(let t=0;t<1e6;t++)this.kupManager.objects.isNumber({t:"NR",p:"",k:""})}longCycleObjectsFunction(){}componentWillLoad(){this.featuresStartTime=performance.now(),this.features.debug&&this.kupManager.debug.logLoad(this,!1),this.features.language&&this.kupManager.language.register(this),this.features.longCycleProp&&this.longCycleProp(),this.features.longCycleVar&&this.longCycleVar(),this.features.objects&&this.longCycleObjects(),this.features.objectsFunction&&this.longCycleObjectsFunction(),this.features.theme&&this.kupManager.theme.register(this)}componentDidLoad(){this.features.debug&&this.kupManager.debug.logLoad(this,!0),this.endTime=performance.now()}componentWillRender(){this.features.debug&&this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.features.debug&&this.kupManager.debug.logRender(this,!0)}render(){let t=null;return this.features.theme&&(t=this.kupManager.theme.setKupStyle(this.rootElement)),i(e,null,t?i("style",null,t):null,i("div",{id:l},this.content))}disconnectedCallback(){this.features.language&&this.kupManager.language.unregister(this),this.features.theme&&this.kupManager.theme.unregister(this)}get rootElement(){return h(this)}};export{n as kup_probe}
1
+ import{r as t,f as s,h as i,H as e,g as h}from"./p-3da7e4c6.js";import{k as o}from"./p-2751c4ba.js";import{c as l}from"./p-ad2e21d2.js";const n=class{constructor(s){t(this,s),this.kupManager=o(),this.startTime=performance.now(),this.featuresStartTime=null,this.endTime=null,this.content=null,this.customStyle="",this.features={debug:!1,language:!1,longCycleProp:!1,longCycleVar:!1,objects:!1,objectsFunction:!1,theme:!1}}async printLifecycleTime(){const t=this.endTime-this.featuresStartTime,s=this.endTime-this.startTime;return this.content="Full lifecycle of this probe ("+this.rootElement.tagName+"#"+this.rootElement.id+") took "+s+"ms, while features took "+t+"ms.",{id:this.rootElement.id,fullTime:s,featuresTime:t}}async refresh(){s(this)}longCycleProp(){}longCycleVar(){}longCycleObjects(){for(let t=0;t<1e6;t++)this.kupManager.objects.isNumber({t:"NR",p:"",k:""})}longCycleObjectsFunction(){}componentWillLoad(){this.featuresStartTime=performance.now(),this.features.debug&&this.kupManager.debug.logLoad(this,!1),this.features.language&&this.kupManager.language.register(this),this.features.longCycleProp&&this.longCycleProp(),this.features.longCycleVar&&this.longCycleVar(),this.features.objects&&this.longCycleObjects(),this.features.objectsFunction&&this.longCycleObjectsFunction(),this.features.theme&&this.kupManager.theme.register(this)}componentDidLoad(){this.features.debug&&this.kupManager.debug.logLoad(this,!0),this.endTime=performance.now()}componentWillRender(){this.features.debug&&this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.features.debug&&this.kupManager.debug.logRender(this,!0)}render(){let t=null;return this.features.theme&&(t=this.kupManager.theme.setKupStyle(this.rootElement)),i(e,null,t?i("style",null,t):null,i("div",{id:l},this.content))}disconnectedCallback(){this.features.language&&this.kupManager.language.unregister(this),this.features.theme&&this.kupManager.theme.unregister(this)}get rootElement(){return h(this)}};export{n as kup_probe}
@@ -1 +1 @@
1
- import{h as t,a as e}from"./p-3da7e4c6.js";import{b as s}from"./p-46daf529.js";var a;!function(t){t.BAR="bar"}(a||(a={}));const i=i=>{let n,o;i.resource?i.resource.indexOf(".")>-1||i.resource.indexOf("/")>-1||i.resource.indexOf("\\")>-1?(o={"--kup_image_height":i.sizeY?i.sizeY:"auto","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(e){return t("img",{onLoad:e.onLoad,src:e.resource})}(i)):(o={"--kup_image_height":i.sizeY?i.sizeY:"100%","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(a){const i={"f-image__icon":!0},n={background:a.color?a.color:`var(${s.ICON})`};if(a.resource.indexOf("--kup")>-1){let t=a.resource.replace("--","");i["kup-icon"]=!0,i[t]=!0}else{const t=e(`./assets/svg/${a.resource}.svg`);n.mask=`url('${t}') no-repeat center`,n.webkitMask=`url('${t}') no-repeat center`}return t("div",{class:i,style:n})}(i)):i.data&&(o={"--kup_image_height":i.sizeY?i.sizeY:"100%","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(e){const s=[];let i=0;for(let n=0;n<e.length;n++){let o;e[n].shape||(e[n].shape=a.BAR),e[n].color||(e[n].color="transparent"),e[n].height||(e[n].height="100%"),e[n].width||(e[n].width="100%");const r="step-"+n,c="css-step bottom-aligned",l={backgroundColor:e[n].color,left:i+"%",height:e[n].height,width:e[n].width};i+=parseFloat(e[n].width),o=t("span",{id:r,class:c,style:l}),s.push(o)}return t("div",{class:"f-image__css"},s)}(i.data));const r=[];if(i.badgeData)for(let e=0;e<i.badgeData.length;e++)r.push(t("kup-badge",Object.assign({},i.badgeData[e])));return t("div",Object.assign({class:`f-image ${i.wrapperClass?i.wrapperClass:""} ${i.fit?"kup-fit":""}`},i.dataSet,{id:i.id,style:o,title:i.title,onClick:i.onClick}),n,...r)};export{i as F}
1
+ import{h as t,a as e}from"./p-3da7e4c6.js";import{b as s}from"./p-2751c4ba.js";var a;!function(t){t.BAR="bar"}(a||(a={}));const i=i=>{let n,o;i.resource?i.resource.indexOf(".")>-1||i.resource.indexOf("/")>-1||i.resource.indexOf("\\")>-1?(o={"--kup_image_height":i.sizeY?i.sizeY:"auto","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(e){return t("img",{onLoad:e.onLoad,src:e.resource})}(i)):(o={"--kup_image_height":i.sizeY?i.sizeY:"100%","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(a){const i={"f-image__icon":!0},n={background:a.color?a.color:`var(${s.ICON})`};if(a.resource.indexOf("--kup")>-1){let t=a.resource.replace("--","");i["kup-icon"]=!0,i[t]=!0}else{const t=e(`./assets/svg/${a.resource}.svg`);n.mask=`url('${t}') no-repeat center`,n.webkitMask=`url('${t}') no-repeat center`}return t("div",{class:i,style:n})}(i)):i.data&&(o={"--kup_image_height":i.sizeY?i.sizeY:"100%","--kup_image_width":i.sizeX?i.sizeX:"100%"},n=function(e){const s=[];let i=0;for(let n=0;n<e.length;n++){let o;e[n].shape||(e[n].shape=a.BAR),e[n].color||(e[n].color="transparent"),e[n].height||(e[n].height="100%"),e[n].width||(e[n].width="100%");const r="step-"+n,c="css-step bottom-aligned",l={backgroundColor:e[n].color,left:i+"%",height:e[n].height,width:e[n].width};i+=parseFloat(e[n].width),o=t("span",{id:r,class:c,style:l}),s.push(o)}return t("div",{class:"f-image__css"},s)}(i.data));const r=[];if(i.badgeData)for(let e=0;e<i.badgeData.length;e++)r.push(t("kup-badge",Object.assign({},i.badgeData[e])));return t("div",Object.assign({class:`f-image ${i.wrapperClass?i.wrapperClass:""} ${i.fit?"kup-fit":""}`},i.dataSet,{id:i.id,style:o,title:i.title,onClick:i.onClick}),n,...r)};export{i as F}
@@ -1 +1 @@
1
- import{r as t,c as i,f as s,h as e,H as o,g as n}from"./p-3da7e4c6.js";import{F as r}from"./p-ffbd77d5.js";import{F as a}from"./p-90576709.js";import{F as h}from"./p-c20c4f66.js";import{F as c}from"./p-fb03f2f5.js";import{k as l,g as d,s as u,al as m,m as p,V as f,c as g}from"./p-46daf529.js";import{c as x}from"./p-ad2e21d2.js";import"./p-0fd98ab4.js";import"./p-9c7b9ff2.js";import"./p-6507e9eb.js";var b;!function(t){t.customStyle="Custom style of the component.",t.data="The data of the component.",t.enableDesign="When set to true, the component is in design mode and it is draggable."}(b||(b={}));const y=class{constructor(s){t(this,s),this.kupSave=i(this,"kup-dashboard-save",6),this.kupManager=l(),this.internalData=null,this.internalDataBackup=null,this.resetInternalData=!1,this.customStyle="",this.data=null,this.enableDesign=!1}onKupSave(){this.kupSave.emit({comp:this,id:this.rootElement.id,data:this.internalData})}dataChanged(){this.resetData()}async getProps(t){return d(this,b,t)}async refresh(){s(this)}async setProps(t){u(this,b,t)}buildGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var i=16*Math.random()|0;return("x"===t?i:3&i|8).toString(16)}))}buildHeader(){const t={icon:"cancel",label:this.kupManager.language.translate(m.RESET),secondary:!0,onClick:()=>{this.resetData()}},i={icon:"save",label:this.kupManager.language.translate(m.SAVE),onClick:()=>this.onKupSave()};return e("div",{class:"header"},this.enableDesign?e(r,Object.assign({},t)):void 0,this.enableDesign?e(r,Object.assign({},i)):void 0)}buildForm(t,i){return t?e("div",{class:{form:!0,"layout-column":t&&"column"==t.layout,"layout-row":t&&"row"==t.layout,"form-dropzone":this.enableDesign&&t&&null!=t.sections&&t.sections.length>0},style:this.getGridStyle(t),ref:s=>{s&&(s.kupData={parent:i,form:t})}},t.sections.map((i=>this.buildSection(i,t)))):e("div",null,this.kupManager.language.translate(p.EMPTY_DATA))}buildSectionHeader(t,i){const s={value:t.dim,label:this.kupManager.language.translate(m.DIMENSION),onChange:i=>{const{target:s}=i;t.dim=s.value,this.refresh()}},o={icon:"add",slim:!0,onClick:()=>{t.sections||(t.sections=[]),t.sections.push({id:t.id+(t.sections.length+1),loaded:t.loaded,layout:t.layout}),this.resetData(this.internalData)}},n={icon:"remove",slim:!0,secondary:!0,onClick:()=>{const s=i.sections.indexOf(t);i.sections.splice(s,1),this.resetData(this.internalData)}},c={checked:t.loaded,label:this.kupManager.language.translate(m.LOADED),onChange:()=>{t.loaded=!t.loaded,this.refresh()}},l={checked:"column"==t.layout,label:this.kupManager.language.translate(m.VERTICAL),onChange:()=>{t.layout="column"==t.layout?"row":"column",this.refresh()}};return e("div",{class:"section-header"},e("div",null,t.id," - ",t.layout),e("div",null,e("div",{class:"section-header-actions"},e(h,Object.assign({},s)),e(a,Object.assign({},c)),e(a,Object.assign({},l)),e(r,Object.assign({},o)),e(r,Object.assign({},n)))))}buildSection(t,i){const s={"section-body":!0,"layout-column":t&&"column"==t.layout,"layout-row":t&&"row"==t.layout};return e("div",{class:{section:!0,"section-draggable":this.enableDesign,"section-dropzone":this.enableDesign},ref:s=>{s&&(s.kupData={parent:i,section:t})}},this.enableDesign?this.buildSectionHeader(t,i):void 0,e("div",{class:s,style:this.getGridStyle(t)},this.enableDesign||!t.loaded||t.sections&&0!=t.sections.length?void 0:e("slot",{name:t.id}),t.sections&&(t.loaded||this.enableDesign)?t.sections.map((i=>this.buildSection(i,t))):void 0))}calcSectionPosition(t,i,s,e,o){let n=e;for(let e=0;e<o.length;e++){const r=o[e].getBoundingClientRect();if(s&&t<r.y){n=e;break}if(!s&&i<r.x){n=e;break}}return n}didRenderInteractables(){try{const t=[];this.rootElement.shadowRoot.querySelectorAll(".section-draggable").forEach((i=>t.push(i))),t.forEach((t=>{this.kupManager.interact.draggable(t,null,null,f.CLONE)}))}catch(t){this.kupManager.debug.logMessage(this,t,g.ERROR)}try{const t=[];this.rootElement.shadowRoot.querySelectorAll(".section-dropzone").forEach((i=>t.push(i))),this.rootElement.shadowRoot.querySelectorAll(".form-dropzone").forEach((i=>t.push(i))),t.forEach((t=>{this.kupManager.interact.dropzone(t,{ondropdeactivate:()=>{this.removeSectionPlaceHolder()},ondropmove:t=>{this.removeSectionPlaceHolder(),this.dragEnter(t.dragEvent.clientY,t.dragEvent.clientX,t.currentTarget)}},null,{drop:t=>{this.dropped(t,t.currentTarget,t.relatedTarget)}})}))}catch(t){this.kupManager.debug.logMessage(this,t,g.ERROR)}}dragEnter(t,i,s){if(s.kupData.form){const e=this.calcSectionPosition(t,i,"column"==s.kupData.form.layout,s.kupData.form.sections.length,s.children);this.setSectionPlaceHolder(s,e)}else if(s.kupData.section){const e=this.calcSectionPosition(t,i,"column"==s.kupData.section.layout,s.kupData.section.sections.length,s.lastElementChild.children);this.setSectionPlaceHolder(s.lastElementChild,e)}}dropped(t,i,s){const e=s.kupData.parent.sections.indexOf(s.kupData.section);if(s.kupData.parent.sections.splice(e,1),i.kupData.form){i.kupData.form.sections||(i.kupData.form.sections=[]);const e=this.calcSectionPosition(t.dragEvent.clientY,t.dragEvent.clientX,"column"==i.kupData.form.layout,i.kupData.form.sections.length,i.children);i.kupData.form.sections.splice(e,0,s.kupData.section),s.kupData.parent=i.kupData.form}else if(i.kupData.section){if(!i.kupData.section.sections||0==i.kupData.section.sections.length){const t=JSON.parse(JSON.stringify(i.kupData.section));t.dim=null,s.kupData.section.dim=null,i.kupData.section.id=this.buildGuid(),i.kupData.section.sections=[],i.kupData.section.sections.push(t)}const e=this.calcSectionPosition(t.dragEvent.clientY,t.dragEvent.clientX,"column"==i.kupData.section.layout,i.kupData.section.sections.length,i.lastElementChild.children);i.kupData.section.sections.splice(e,0,s.kupData.section),s.kupData.parent=i.kupData.section}this.resetData(this.internalData)}getGridStyle(t){let i={};if(t.sections){let s="";t.sections.forEach((t=>{s+=this.enableDesign||!t.dim?" 1fr":t.dim.indexOf("%")<0?" "+t.dim+"px":" "+t.dim})),"column"==t.layout&&(i.gridTemplateRows=s),"row"==t.layout&&(i.gridTemplateColumns=s)}return i}setSectionPlaceHolder(t,i){const s=document.createElement("div");s.className="section-placeholder",t.insertBefore(s,t.childNodes[i])}removeSectionPlaceHolder(){const t=this.rootElement.shadowRoot.querySelector(".section-placeholder");t&&t.parentElement.removeChild(t)}resetData(t=null){t&&(this.internalDataBackup=t),this.resetInternalData=!0,setTimeout((()=>{this.internalDataBackup&&(this.internalData=this.internalDataBackup,this.internalDataBackup=null),this.resetInternalData=!1}),250)}unregisterInteractables(){this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".section-dropzone"))),this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".section-draggable"))),this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".form-dropzone")))}componentWillLoad(){this.kupManager.dates.register(this),this.kupManager.debug.logLoad(this,!1),this.kupManager.language.register(this),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1),this.resetInternalData?(this.internalData=null,this.unregisterInteractables()):this.internalData||(this.internalData=JSON.parse(JSON.stringify(this.data)))}componentDidRender(){this.kupManager.debug.logRender(this,!0);const t=this.rootElement.shadowRoot;if(t){const i=t.querySelectorAll(".f-text-field");i&&i.forEach((t=>{c(t)}))}this.didRenderInteractables()}render(){return e(o,null,e("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{id:x},this.buildHeader(),this.buildForm(this.internalData,null)))}disconnectedCallback(){this.unregisterInteractables(),this.kupManager.dates.unregister(this),this.kupManager.language.unregister(this),this.kupManager.theme.unregister(this)}get rootElement(){return n(this)}static get watchers(){return{data:["dataChanged"]}}};y.style=":host{width:100%;height:100%}#kup-component{height:100%}.header{display:flex;flex-direction:row;justify-content:center}.header>*{margin-left:0.5em}.form{display:grid;height:100%}.form-dropzone{padding:1em;grid-gap:0.5em;border:1px solid var(--kup-primary-color);height:auto}.section{display:flex;flex-direction:column;overflow:auto}.section-header{display:flex;flex-direction:column}.section-header>*{width:100%;display:flex;flex-direction:row}.section-header>*>.section-header-actions{display:flex;justify-content:end}.section-header>*>.section-header-actions>*{margin-top:auto;margin-bottom:auto}.section-body{display:grid}.section-dropzone{border:1px solid var(--kup-primary-color)}.section-draggable{border:1px solid var(--kup-secondary-color);padding:1em}.section-placeholder{background-color:rgba(var(--kup-secondary-color-rgb), 0.5);min-height:1em;min-width:1em}.component{height:fit-content;padding:1em;margin:0.5em}.layout-row{grid-auto-flow:column;grid-template-columns:min-content}.layout-column{grid-auto-flow:row;grid-template-rows:min-content}";export{y as kup_dashboard}
1
+ import{r as t,c as i,f as s,h as e,H as o,g as n}from"./p-3da7e4c6.js";import{F as r}from"./p-fe8c8e11.js";import{F as a}from"./p-90576709.js";import{F as h}from"./p-79f78bdc.js";import{F as c}from"./p-fb03f2f5.js";import{k as l,g as d,s as u,al as m,m as p,V as f,c as g}from"./p-2751c4ba.js";import{c as x}from"./p-ad2e21d2.js";import"./p-0fd98ab4.js";import"./p-0e961148.js";import"./p-6507e9eb.js";var b;!function(t){t.customStyle="Custom style of the component.",t.data="The data of the component.",t.enableDesign="When set to true, the component is in design mode and it is draggable."}(b||(b={}));const y=class{constructor(s){t(this,s),this.kupSave=i(this,"kup-dashboard-save",6),this.kupManager=l(),this.internalData=null,this.internalDataBackup=null,this.resetInternalData=!1,this.customStyle="",this.data=null,this.enableDesign=!1}onKupSave(){this.kupSave.emit({comp:this,id:this.rootElement.id,data:this.internalData})}dataChanged(){this.resetData()}async getProps(t){return d(this,b,t)}async refresh(){s(this)}async setProps(t){u(this,b,t)}buildGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var i=16*Math.random()|0;return("x"===t?i:3&i|8).toString(16)}))}buildHeader(){const t={icon:"cancel",label:this.kupManager.language.translate(m.RESET),secondary:!0,onClick:()=>{this.resetData()}},i={icon:"save",label:this.kupManager.language.translate(m.SAVE),onClick:()=>this.onKupSave()};return e("div",{class:"header"},this.enableDesign?e(r,Object.assign({},t)):void 0,this.enableDesign?e(r,Object.assign({},i)):void 0)}buildForm(t,i){return t?e("div",{class:{form:!0,"layout-column":t&&"column"==t.layout,"layout-row":t&&"row"==t.layout,"form-dropzone":this.enableDesign&&t&&null!=t.sections&&t.sections.length>0},style:this.getGridStyle(t),ref:s=>{s&&(s.kupData={parent:i,form:t})}},t.sections.map((i=>this.buildSection(i,t)))):e("div",null,this.kupManager.language.translate(p.EMPTY_DATA))}buildSectionHeader(t,i){const s={value:t.dim,label:this.kupManager.language.translate(m.DIMENSION),onChange:i=>{const{target:s}=i;t.dim=s.value,this.refresh()}},o={icon:"add",slim:!0,onClick:()=>{t.sections||(t.sections=[]),t.sections.push({id:t.id+(t.sections.length+1),loaded:t.loaded,layout:t.layout}),this.resetData(this.internalData)}},n={icon:"remove",slim:!0,secondary:!0,onClick:()=>{const s=i.sections.indexOf(t);i.sections.splice(s,1),this.resetData(this.internalData)}},c={checked:t.loaded,label:this.kupManager.language.translate(m.LOADED),onChange:()=>{t.loaded=!t.loaded,this.refresh()}},l={checked:"column"==t.layout,label:this.kupManager.language.translate(m.VERTICAL),onChange:()=>{t.layout="column"==t.layout?"row":"column",this.refresh()}};return e("div",{class:"section-header"},e("div",null,t.id," - ",t.layout),e("div",null,e("div",{class:"section-header-actions"},e(h,Object.assign({},s)),e(a,Object.assign({},c)),e(a,Object.assign({},l)),e(r,Object.assign({},o)),e(r,Object.assign({},n)))))}buildSection(t,i){const s={"section-body":!0,"layout-column":t&&"column"==t.layout,"layout-row":t&&"row"==t.layout};return e("div",{class:{section:!0,"section-draggable":this.enableDesign,"section-dropzone":this.enableDesign},ref:s=>{s&&(s.kupData={parent:i,section:t})}},this.enableDesign?this.buildSectionHeader(t,i):void 0,e("div",{class:s,style:this.getGridStyle(t)},this.enableDesign||!t.loaded||t.sections&&0!=t.sections.length?void 0:e("slot",{name:t.id}),t.sections&&(t.loaded||this.enableDesign)?t.sections.map((i=>this.buildSection(i,t))):void 0))}calcSectionPosition(t,i,s,e,o){let n=e;for(let e=0;e<o.length;e++){const r=o[e].getBoundingClientRect();if(s&&t<r.y){n=e;break}if(!s&&i<r.x){n=e;break}}return n}didRenderInteractables(){try{const t=[];this.rootElement.shadowRoot.querySelectorAll(".section-draggable").forEach((i=>t.push(i))),t.forEach((t=>{this.kupManager.interact.draggable(t,null,null,f.CLONE)}))}catch(t){this.kupManager.debug.logMessage(this,t,g.ERROR)}try{const t=[];this.rootElement.shadowRoot.querySelectorAll(".section-dropzone").forEach((i=>t.push(i))),this.rootElement.shadowRoot.querySelectorAll(".form-dropzone").forEach((i=>t.push(i))),t.forEach((t=>{this.kupManager.interact.dropzone(t,{ondropdeactivate:()=>{this.removeSectionPlaceHolder()},ondropmove:t=>{this.removeSectionPlaceHolder(),this.dragEnter(t.dragEvent.clientY,t.dragEvent.clientX,t.currentTarget)}},null,{drop:t=>{this.dropped(t,t.currentTarget,t.relatedTarget)}})}))}catch(t){this.kupManager.debug.logMessage(this,t,g.ERROR)}}dragEnter(t,i,s){if(s.kupData.form){const e=this.calcSectionPosition(t,i,"column"==s.kupData.form.layout,s.kupData.form.sections.length,s.children);this.setSectionPlaceHolder(s,e)}else if(s.kupData.section){const e=this.calcSectionPosition(t,i,"column"==s.kupData.section.layout,s.kupData.section.sections.length,s.lastElementChild.children);this.setSectionPlaceHolder(s.lastElementChild,e)}}dropped(t,i,s){const e=s.kupData.parent.sections.indexOf(s.kupData.section);if(s.kupData.parent.sections.splice(e,1),i.kupData.form){i.kupData.form.sections||(i.kupData.form.sections=[]);const e=this.calcSectionPosition(t.dragEvent.clientY,t.dragEvent.clientX,"column"==i.kupData.form.layout,i.kupData.form.sections.length,i.children);i.kupData.form.sections.splice(e,0,s.kupData.section),s.kupData.parent=i.kupData.form}else if(i.kupData.section){if(!i.kupData.section.sections||0==i.kupData.section.sections.length){const t=JSON.parse(JSON.stringify(i.kupData.section));t.dim=null,s.kupData.section.dim=null,i.kupData.section.id=this.buildGuid(),i.kupData.section.sections=[],i.kupData.section.sections.push(t)}const e=this.calcSectionPosition(t.dragEvent.clientY,t.dragEvent.clientX,"column"==i.kupData.section.layout,i.kupData.section.sections.length,i.lastElementChild.children);i.kupData.section.sections.splice(e,0,s.kupData.section),s.kupData.parent=i.kupData.section}this.resetData(this.internalData)}getGridStyle(t){let i={};if(t.sections){let s="";t.sections.forEach((t=>{s+=this.enableDesign||!t.dim?" 1fr":t.dim.indexOf("%")<0?" "+t.dim+"px":" "+t.dim})),"column"==t.layout&&(i.gridTemplateRows=s),"row"==t.layout&&(i.gridTemplateColumns=s)}return i}setSectionPlaceHolder(t,i){const s=document.createElement("div");s.className="section-placeholder",t.insertBefore(s,t.childNodes[i])}removeSectionPlaceHolder(){const t=this.rootElement.shadowRoot.querySelector(".section-placeholder");t&&t.parentElement.removeChild(t)}resetData(t=null){t&&(this.internalDataBackup=t),this.resetInternalData=!0,setTimeout((()=>{this.internalDataBackup&&(this.internalData=this.internalDataBackup,this.internalDataBackup=null),this.resetInternalData=!1}),250)}unregisterInteractables(){this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".section-dropzone"))),this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".section-draggable"))),this.kupManager.interact.unregister(Array.from(this.rootElement.shadowRoot.querySelectorAll(".form-dropzone")))}componentWillLoad(){this.kupManager.dates.register(this),this.kupManager.debug.logLoad(this,!1),this.kupManager.language.register(this),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1),this.resetInternalData?(this.internalData=null,this.unregisterInteractables()):this.internalData||(this.internalData=JSON.parse(JSON.stringify(this.data)))}componentDidRender(){this.kupManager.debug.logRender(this,!0);const t=this.rootElement.shadowRoot;if(t){const i=t.querySelectorAll(".f-text-field");i&&i.forEach((t=>{c(t)}))}this.didRenderInteractables()}render(){return e(o,null,e("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{id:x},this.buildHeader(),this.buildForm(this.internalData,null)))}disconnectedCallback(){this.unregisterInteractables(),this.kupManager.dates.unregister(this),this.kupManager.language.unregister(this),this.kupManager.theme.unregister(this)}get rootElement(){return n(this)}static get watchers(){return{data:["dataChanged"]}}};y.style=":host{width:100%;height:100%}#kup-component{height:100%}.header{display:flex;flex-direction:row;justify-content:center}.header>*{margin-left:0.5em}.form{display:grid;height:100%}.form-dropzone{padding:1em;grid-gap:0.5em;border:1px solid var(--kup-primary-color);height:auto}.section{display:flex;flex-direction:column;overflow:auto}.section-header{display:flex;flex-direction:column}.section-header>*{width:100%;display:flex;flex-direction:row}.section-header>*>.section-header-actions{display:flex;justify-content:end}.section-header>*>.section-header-actions>*{margin-top:auto;margin-bottom:auto}.section-body{display:grid}.section-dropzone{border:1px solid var(--kup-primary-color)}.section-draggable{border:1px solid var(--kup-secondary-color);padding:1em}.section-placeholder{background-color:rgba(var(--kup-secondary-color-rgb), 0.5);min-height:1em;min-width:1em}.component{height:fit-content;padding:1em;margin:0.5em}.layout-row{grid-auto-flow:column;grid-template-columns:min-content}.layout-column{grid-auto-flow:row;grid-template-rows:min-content}";export{y as kup_dashboard}