@sme.up/ketchup 11.0.0-SNAPSHOT-20250623143442 → 11.0.0-SNAPSHOT-20250625150034

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.
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-710d0a7d.js";export{s as setNonce}from"./p-710d0a7d.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-2c977b5e",[[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"],"isDashboardMode":[516,"is-dashboard-mode"],"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],"getLastFocusedCell":[64],"getLastFocusedColumn":[64],"tooltipRequest":[64],"update":[64],"getInternalState":[64],"defaultSortingFunction":[64]},[[0,"keydown","listenEnterKeydown"],[0,"keydown","listenCopyCellValueInColumnListener"]],{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"expandGroups":["expandGroupsHandler"],"filters":["filtersChanged"],"globalFilterValue":["filtersChanged"],"sort":["recalculateRows"],"totals":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["identifyAndInitRows","decorateAndInitForUpdTable","computeMaxRowsPerPage"],"visibleColumns":["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-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"],"leadingLabel":[1,"leading-label"],"activeNode":[16],"currentNode":[32],"navigationBarToggled":[32],"activeSelectedNode":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"selectedNode":["selectNode"]}],[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-autocomplete",{"alert":[1],"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"listDisplayMode":[1,"list-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],"legacyLook":[4,"legacy-look"],"size":[2],"preselect":[2],"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-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],"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],"showText":[4,"show-text"],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[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-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-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-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],"displayMode":[1,"display-mode"],"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-file-upload",{"customStyle":[1,"custom-style"],"pathString":[1,"path-string"],"FupMul":[1,"fup-mul"],"FupAut":[1,"fup-aut"],"error":[1],"inputRef":[32],"tempFiles":[32],"pathFiles":[32],"uploadSuccess":[32],"showSpinner":[32],"multiUpload":[32],"autoUpload":[32],"getProps":[64],"refresh":[64],"setProps":[64],"setSuccess":[64],"setLoading":[64]},null,{"pathString":["onDataChanged"],"FupMul":["onFupMulChanged"],"FupAut":["onFupAutChanged"]}],[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-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],"enableInput":[4,"enable-input"],"disabled":[4],"type":[1],"sizing":[1],"styling":[1],"displayMode":[1,"display-mode"],"label":[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"],"listDisplayMode":[1,"list-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"],"legacyLook":[4,"legacy-look"],"size":[2],"preselect":[2],"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"],"initialValue":["watchInitialValue"]}],[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-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"infoIcon":[4,"info-icon"],"variant":[1],"dense":[4],"ripple":[4],"toolbar":[4],"toolbarCallback":[16],"infoCallback":[16],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]},null,{"ripple":["applyRipple"]}],[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"],"initialValue":["watchInitialValue"]}],[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],"setFocusOnFirstEl":[64],"focusNext":[64],"focusPrevious":[64],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"select":[64],"setProps":[64],"setFocus":[64],"setBlur":[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-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-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-7cdbb8d0",[[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-64f563c4",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-90a8574b",[[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-a9cd3cab",[[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-42074c8f",[[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"],"fieldReset":[4,"field-reset"],"inputPanelCells":[32],"inputPanelCommands":[32],"tabSelected":[32],"waitForReady":[64],"getProps":[64],"refresh":[64],"setProps":[64],"update":[64]},[[0,"keydown","listenKeydown"]],{"data":["onDataChanged"]}]]],["p-94aebcdc",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"infoIcon":[4,"info-icon"],"ripple":[4],"toolbar":[4],"sizing":[1],"toolbarCallback":[16],"infoCallback":[16],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]},null,{"ripple":["applyRipple"],"data":["updateSelectedItems"]}]]],["p-11114668",[[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-1b87487a",[[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-3a97700e",[[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-e90d5b73",[[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-c192deb4",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-a1367796",[[1,"kup-htm",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-641aadcb",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-8a5c9935",[[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-c3286a10",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-e4a51171",[[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-5d21057a",[[1,"kup-object-field",{"customStyle":[1,"custom-style"],"data":[16],"inputValue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setValue":[64]}]]],["p-3decca93",[[1,"kup-pdf",{"pdfPath":[1,"pdf-path"],"sendCredentials":[4,"send-credentials"],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"pdfPath":["onPdfPathChange"]}]]],["p-c1424375",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-2aca4771",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-83ed7130",[[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-9d3a7a49",[[1,"kup-txt",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-e5a7ed1b",[[1,"kup-typography",{"customStyle":[1,"custom-style"],"infoIcon":[4,"info-icon"],"toolbar":[4],"type":[1],"value":[1],"toolbarCallback":[16],"infoCallBack":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-b54d9c57",[[1,"kup-typography-list",{"customStyle":[1,"custom-style"],"data":[1040],"type":[1],"toolbar":[4],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}]]],["p-9d02f4b3",[[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],"axisYMin":[1,"axis-y-min"],"axisYMax":[1,"axis-y-max"],"multipleYAxes":[1,"multiple-y-axes"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-68627e54",[[0,"kup-editor",{"autosaveTimer":[2,"autosave-timer"],"editorHeight":[1,"editor-height"],"initialEditType":[513,"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-b99f51b9",[[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-0573516b",[[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-5a484ee1",[[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"],"visibleColumns":[16],"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"]}]]],["p-dd7019c7",[[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-bb73a267",[[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"]}]]]]'),e))));
1
+ import{p as e,b as t}from"./p-710d0a7d.js";export{s as setNonce}from"./p-710d0a7d.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-2c977b5e",[[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"],"isDashboardMode":[516,"is-dashboard-mode"],"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],"getLastFocusedCell":[64],"getLastFocusedColumn":[64],"tooltipRequest":[64],"update":[64],"getInternalState":[64],"defaultSortingFunction":[64]},[[0,"keydown","listenEnterKeydown"],[0,"keydown","listenCopyCellValueInColumnListener"]],{"rowsPerPage":["rowsPerPageHandler","recalculateRows"],"expandGroups":["expandGroupsHandler"],"filters":["filtersChanged"],"globalFilterValue":["filtersChanged"],"sort":["recalculateRows"],"totals":["recalculateRows"],"currentPage":["recalculateRows"],"currentRowsPerPage":["recalculateRows"],"data":["identifyAndInitRows","decorateAndInitForUpdTable","computeMaxRowsPerPage"],"visibleColumns":["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-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"],"leadingLabel":[1,"leading-label"],"activeNode":[16],"currentNode":[32],"navigationBarToggled":[32],"activeSelectedNode":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"selectedNode":["selectNode"]}],[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-autocomplete",{"alert":[1],"allowInconsistentValues":[4,"allow-inconsistent-values"],"customStyle":[1,"custom-style"],"data":[1040],"disabled":[4],"displayMode":[1,"display-mode"],"listDisplayMode":[1,"list-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],"legacyLook":[4,"legacy-look"],"size":[2],"preselect":[2],"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-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],"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],"showText":[4,"show-text"],"selected":[32],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}],[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-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-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-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],"displayMode":[1,"display-mode"],"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-file-upload",{"customStyle":[1,"custom-style"],"pathString":[1,"path-string"],"FupMul":[1,"fup-mul"],"FupAut":[1,"fup-aut"],"error":[1],"inputRef":[32],"tempFiles":[32],"pathFiles":[32],"uploadSuccess":[32],"showSpinner":[32],"multiUpload":[32],"autoUpload":[32],"getProps":[64],"refresh":[64],"setProps":[64],"setSuccess":[64],"setLoading":[64]},null,{"pathString":["onDataChanged"],"FupMul":["onFupMulChanged"],"FupAut":["onFupAutChanged"]}],[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-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],"enableInput":[4,"enable-input"],"disabled":[4],"type":[1],"sizing":[1],"styling":[1],"displayMode":[1,"display-mode"],"label":[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"],"listDisplayMode":[1,"list-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"],"legacyLook":[4,"legacy-look"],"size":[2],"preselect":[2],"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"],"initialValue":["watchInitialValue"]}],[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-tab-bar",{"customStyle":[1,"custom-style"],"data":[16],"infoIcon":[4,"info-icon"],"variant":[1],"dense":[4],"ripple":[4],"toolbar":[4],"toolbarCallback":[16],"infoCallback":[16],"value":[32],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"setProps":[64]},null,{"ripple":["applyRipple"]}],[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"],"initialValue":["watchInitialValue"]}],[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],"setFocusOnFirstEl":[64],"focusNext":[64],"focusPrevious":[64],"getProps":[64],"getSelectedNode":[64],"refresh":[64],"select":[64],"setProps":[64],"setFocus":[64],"setBlur":[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-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-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-7cdbb8d0",[[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-64f563c4",[[1,"kup-magic-box",{"customStyle":[1,"custom-style"],"data":[1040],"display":[32],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-90a8574b",[[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-a9cd3cab",[[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-a47935a9",[[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"],"fieldReset":[4,"field-reset"],"inputPanelCells":[32],"inputPanelCommands":[32],"tabSelected":[32],"waitForReady":[64],"getProps":[64],"refresh":[64],"setProps":[64],"update":[64]},[[0,"keydown","listenKeydown"]],{"data":["onDataChanged"]}]]],["p-94aebcdc",[[1,"kup-accordion",{"customStyle":[1,"custom-style"],"data":[16],"infoIcon":[4,"info-icon"],"ripple":[4],"toolbar":[4],"sizing":[1],"toolbarCallback":[16],"infoCallback":[16],"selectedItems":[32],"collapseAll":[64],"expandAll":[64],"getProps":[64],"refresh":[64],"setProps":[64],"toggleItem":[64]},null,{"ripple":["applyRipple"],"data":["updateSelectedItems"]}]]],["p-11114668",[[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-1b87487a",[[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-3a97700e",[[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-e90d5b73",[[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-c192deb4",[[1,"kup-drawer",{"customStyle":[1,"custom-style"],"opened":[32],"close":[64],"getProps":[64],"isOpened":[64],"open":[64],"refresh":[64],"setProps":[64],"toggle":[64]}]]],["p-a1367796",[[1,"kup-htm",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-641aadcb",[[1,"kup-iframe",{"buttonData":[16],"isButton":[4,"is-button"],"src":[1],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-8a5c9935",[[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-c3286a10",[[1,"kup-nav-bar",{"customStyle":[1,"custom-style"],"styling":[513],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-e4a51171",[[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-5d21057a",[[1,"kup-object-field",{"customStyle":[1,"custom-style"],"data":[16],"inputValue":[32],"getValue":[64],"getProps":[64],"refresh":[64],"setValue":[64]}]]],["p-3decca93",[[1,"kup-pdf",{"pdfPath":[1,"pdf-path"],"sendCredentials":[4,"send-credentials"],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"pdfPath":["onPdfPathChange"]}]]],["p-c1424375",[[1,"kup-probe",{"customStyle":[1,"custom-style"],"features":[16],"content":[32],"printLifecycleTime":[64],"refresh":[64]}]]],["p-2aca4771",[[0,"kup-qlik",{"config":[16],"qlik":[8],"appid":[513],"app":[520],"grid":[16],"debug":[4],"fluid":[4],"bordered":[4],"defobjsize":[1],"divlist":[32]}]]],["p-83ed7130",[[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-9d3a7a49",[[1,"kup-txt",{"data":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-e5a7ed1b",[[1,"kup-typography",{"customStyle":[1,"custom-style"],"infoIcon":[4,"info-icon"],"toolbar":[4],"type":[1],"value":[1],"toolbarCallback":[16],"infoCallBack":[16],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-b54d9c57",[[1,"kup-typography-list",{"customStyle":[1,"custom-style"],"data":[1040],"type":[1],"toolbar":[4],"getProps":[64],"refresh":[64],"setProps":[64]},null,{"data":["checkDataset"]}]]],["p-9d02f4b3",[[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],"axisYMin":[1,"axis-y-min"],"axisYMax":[1,"axis-y-max"],"multipleYAxes":[1,"multiple-y-axes"],"getProps":[64],"refresh":[64],"resizeCallback":[64],"setProps":[64]}]]],["p-68627e54",[[0,"kup-editor",{"autosaveTimer":[2,"autosave-timer"],"editorHeight":[1,"editor-height"],"initialEditType":[513,"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-b99f51b9",[[1,"kup-grid",{"columns":[2],"customStyle":[1,"custom-style"],"singleLine":[4,"single-line"],"getProps":[64],"refresh":[64],"setProps":[64]}]]],["p-0573516b",[[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-5a484ee1",[[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"],"visibleColumns":[16],"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"]}]]],["p-dd7019c7",[[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-bb73a267",[[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"]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,f as n,h as e,H as l,d as s}from"./p-710d0a7d.js";import{F as o}from"./p-c4224227.js";import{F as a,e as u}from"./p-34277196.js";import{F as h,k as r,ad as c,g as p,s as f,b as d,ai as m,a7 as v,ao as b,al as _,an as k,am as g,ap as x,h as y,V as w}from"./p-732119cb.js";import{F as j}from"./p-7db300e0.js";import{F as O,a as $}from"./p-cec0955d.js";import{c as z}from"./p-635bb4b3.js";import"./p-e3062c19.js";import"./p-3cab6420.js";import"./p-9f9428d1.js";import"./p-5dfc69ee.js";import"./p-bfde2976.js";import"./p-1312de59.js";import"./p-cabebabc.js";import"./p-c56195a0.js";var T,M,S,E,C;!function(t){t.TAB="tab"}(T||(T={})),function(t){t.customStyle="Custom style of the component.",t.data="Actual data of the input panel.",t.hiddenSubmitButton="Creates a hidden submit button in order to submit the form with enter.",t.submitCb="Sets the callback function on submit form",t.optionsHandler="Sets the callback function to recieve options",t.buttonPosition="Manage the position of the buttons related to the input panel content. It is an enumeration",t.inputPanelPosition="Manage the global layout of the input panel fields. The default is COLUMNS.",t.autoSkip="Sets the auto skip between input text fields when the value reaches the max length.",t.autoFocus="Sets whether the first input should receive focus.",t.fieldReset="Create e Reset button for the form"}(M||(M={})),function(t){t.COLUMNS="COLUMNS",t.INLINE="INLINE",t.STRETCHED="STRETCHED",t.UPINLINE="UPINLINE",t.UPCOLUMNS="UPCOLUMNS",t.PLACEHOLDER="PLACEHOLDER"}(S||(S={})),function(t){t.CENTER="CENTER",t.LEFT="LEFT",t.BOTTOM="BOTTOM",t.RIGHT="RIGHT",t.TOP="TOP"}(E||(E={})),function(t){t.BLUR="blur",t.ITEMCLICK="itemclick"}(C||(C={}));const K={blur:t=>t===h.CHECKBOX||t===h.SWITCH||t===h.COMBOBOX||t===h.AUTOCOMPLETE,itemclick:t=>t!==h.COMBOBOX&&t!==h.AUTOCOMPLETE},L=(t,i)=>0==t?3.75:t?1===t?11.25:7.5*t+(i?18:0)+4:null,W=t=>t?20*t:null,D=(t,i)=>t?t>(null==i?void 0:i.absoluteRow)?20*((null==i?void 0:i.absoluteRow)-1)+2*((null==i?void 0:i.absoluteRow)-1)+W(i.absoluteHeight)+20*(t-((null==i?void 0:i.absoluteRow)+(null==i?void 0:i.absoluteHeight)-1)-1):20*(t-1)+2*(t-1):null,I=t=>t?10*(t-1)*1.15:null;var N,R,F,P,H,A,V,J,U,B,G,q,X,Y,Q,Z,tt,it,nt,et,lt,st,ot,at,ut,ht,rt,ct,pt,ft,dt,mt,vt,bt,_t,kt,gt,xt,yt,wt,jt,Ot,$t,zt,Tt,Mt,St,Et,Ct,Kt,Lt,Wt,Dt,It,Nt,Rt,Ft,Pt,Ht,At,Vt,Jt,Ut,Bt,Gt,qt,Xt,Yt,Qt,Zt,ti,ii,ni,ei,li,si,oi=function(t,i,n,e){if("a"===n&&!e)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!e:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?e:"a"===n?e.call(t):e?e.value:i.get(t)},ai=function(t,i,n,e,l){if("m"===e)throw new TypeError("Private method is not writable");if("a"===e&&!l)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!l:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===e?l.call(t,n):l?l.value=n:i.set(t,n),n};const ui=document.documentElement,hi=class{constructor(n){t(this,n),this.kupReady=i(this,"kup-input-panel-ready",6),this.kupDataTableContextMenu=i(this,"kup-inputpanel-contextmenu",6),this.kupInputPanelObjectFieldSearchPayload=i(this,"kup-inputpanel-objectfield-searchpayload",6),this.kupInputPanelObjectFieldOpenSearchMenu=i(this,"kup-inputpanel-objectfield-opensearchmenu",6),this.kupInputPanelObjectFieldSelectedMenuItem=i(this,"kup-inputpanel-objectfield-selectedmenuitem",6),this.kupCellUpload=i(this,"kup-inputpanel-upload",6),N.add(this),R.set(this,r()),F.set(this,void 0),P.set(this,new Map([["SmeupDataTree",oi(this,N,"m",Ht).bind(this)],["SmeupDataTable",oi(this,N,"m",At).bind(this)],["SmeupTreeNode",oi(this,N,"m",Pt).bind(this)],["SmeupTable",oi(this,N,"m",At).bind(this)]])),H.set(this,null),A.set(this,[]),V.set(this,new Map([[c.DATE,"kup-date-picker"],[c.TIME,"kup-time-picker"]])),J.set(this,new Map([[c.COMBOBOX,"kup-combobox"],[c.AUTOCOMPLETE,"kup-autocomplete"]])),U.set(this,new Map([[h.BUTTON_LIST,oi(this,N,"m",Z).bind(this)],[h.LABEL,oi(this,N,"m",nt).bind(this)],[h.TABLE,oi(this,N,"m",it).bind(this)]])),B.set(this,new Map([[T.TAB,oi(this,N,"m",ht).bind(this)]])),G.set(this,void 0),q.set(this,void 0),this.buttonPosition=E.BOTTOM,this.customStyle="",this.dashboardMode=!1,this.data=null,this.hiddenSubmitButton=!1,this.inputPanelPosition=S.COLUMNS,this.submitCb=null,this.optionsHandler=null,this.customButtonClickHandler=null,this.checkValidObjCallback=null,this.checkValidValueCallback=null,this.autoFocus=!1,this.autoSkip=!1,this.updateOnClick=!1,this.fieldReset=!1,this.inputPanelCells=[],this.inputPanelCommands=[],this.tabSelected=null}onDataChanged(){ai(this,H,structuredClone(this.data),"f"),oi(this,A,"f").length&&(oi(this,A,"f").map((({event:t,handler:i})=>{this.rootElement.removeEventListener(t,i)})),ai(this,A,[],"f")),this.data&&oi(this,N,"m",dt).call(this,this.data)}listenKeydown(t){if("Enter"===t.key){t.preventDefault(),t.stopPropagation();const i=this.rootElement.shadowRoot.activeElement;"enter"===t.key.toLowerCase()&&i&&(null==i||i.blur(),this.submitCb({value:{before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)}}))}}async waitForReady(){return oi(this,G,"f")}async getProps(t){return p(this,M,t)}async refresh(){n(this)}async setProps(t){f(this,M,t)}async update(t){oi(this,N,"m",Qt).call(this,oi(this,N,"m",X).call(this,t),t)}onFormReset(){var t;for(const i of this.data.columns){const n=oi(this,N,"m",X).call(this,i.name);n.shape!==h.MULTI_AUTOCOMPLETE&&n.shape!==h.MULTI_COMBOBOX||!(null===(t=n.data)||void 0===t?void 0:t.data)||(n.data.data=[]),n.value="",n.obj.k="",n.decode="",n.data.initialValue&&(n.data.initialValue="")}this.refresh()}connectedCallback(){ai(this,G,new Promise((t=>{ai(this,q,t,"f")})),"f")}componentWillLoad(){oi(this,R,"f").debug.logLoad(this,!1),oi(this,R,"f").language.register(this),oi(this,R,"f").theme.register(this),this.onDataChanged()}componentDidLoad(){oi(this,N,"m",ii).call(this),this.kupReady.emit({comp:this,id:this.rootElement.id}),oi(this,N,"m",ni).call(this),oi(this,R,"f").debug.logLoad(this,!0)}componentWillRender(){oi(this,R,"f").debug.logRender(this,!1)}componentDidRender(){if(oi(this,F,"f")){const t=oi(this,F,"f").querySelectorAll(".f-text-field");for(let i=0;i<t.length;i++)j(t[i])}requestAnimationFrame((async()=>{oi(this,F,"f")&&oi(this,q,"f")&&(oi(this,q,"f").call(this),ai(this,q,null,"f"))})),oi(this,R,"f").debug.logRender(this,!0)}render(){const t=Boolean(!this.inputPanelCells.length)?[e("p",null,oi(this,R,"f").language.translate(d.EMPTY_DATA))]:this.inputPanelCells.map((t=>oi(this,N,"m",Y).call(this,t)));return e(l,{key:"4f83260012e56d294d98bfb0c311306f618f2090","onKup-cell-blur":t=>oi(this,N,"m",Gt).call(this,t,C.BLUR),"onKup-cell-update":oi(this,N,"m",qt).bind(this),"onKup-tabbar-click":t=>{this.tabSelected=t.detail.node.id},"onKup-autocomplete-input":oi(this,N,"m",jt).bind(this),"onKup-autocomplete-iconclick":oi(this,N,"m",jt).bind(this),"onKup-combobox-iconclick":t=>oi(this,N,"m",jt).call(this,t,!0),"onKup-cell-itemclick":t=>{oi(this,N,"m",Gt).call(this,t,C.ITEMCLICK)},"onKup-objectfield-searchpayload":t=>{this.kupInputPanelObjectFieldSearchPayload.emit(t.detail)},"onKup-objectfield-opensearchmenu":t=>{this.kupInputPanelObjectFieldOpenSearchMenu.emit(t.detail)},"onKup-objectfield-selectedmenuitem":t=>{this.kupInputPanelObjectFieldSelectedMenuItem.emit(t.detail)},"onKup-file-upload-upload":oi(this,N,"m",si).bind(this)},e("style",{key:"90c43ddf4ab75a9811ad94064dee5760a8ad7cf6"},oi(this,R,"f").theme.setKupStyle(this.rootElement)),e("div",{key:"eb842ea71f9a4a1900333d180bca051e79d59d1f",id:z},t))}disconnectedCallback(){oi(this,R,"f").language.unregister(this),oi(this,R,"f").theme.unregister(this)}get rootElement(){return s(this)}static get watchers(){return{data:["onDataChanged"]}}};R=new WeakMap,F=new WeakMap,P=new WeakMap,H=new WeakMap,A=new WeakMap,V=new WeakMap,J=new WeakMap,U=new WeakMap,B=new WeakMap,G=new WeakMap,q=new WeakMap,N=new WeakSet,X=function(t){return t?this.inputPanelCells.reduce(((i,{cells:n})=>{if(!i){const i=n.find((({column:i})=>i.name===t));return i?i.cell:null}return i}),null):null},Y=function(t){var i,n,l;const s=t.row.layout,a=(null==s?void 0:s.horizontal)||!1,u={};let r;if(null===(i=null==s?void 0:s.sections)||void 0===i?void 0:i.length)if(s.absolute)r=oi(this,N,"m",st).call(this,t,s),u.height=`${(t=>{var i,n;if(!t)return 0;const e=null!==(n=null===(i=t.sections.flatMap((t=>t.content)).find((t=>t.shape===h.TABLE)))||void 0===i?void 0:i.absoluteHeight)&&void 0!==n?n:null,l=Math.max(0,...t.sections.flatMap((t=>t.content.map((t=>t.absoluteRow+(t.absoluteHeight-1))))));return e?22*(l-e)+20*e:22*l})(s)}px`;else{if(!s.sectionsType){const i=s.sections.some((t=>t.dim));u.display="grid",this.inputPanelPosition!==S.INLINE&&this.inputPanelPosition!==S.UPINLINE||(u.display=""),s.horizontal?u.gridTemplateColumns=i?s.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${t.cells.length}, 1fr)`:this.dashboardMode&&(u.gridTemplateRows=i?s.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${s.sections.length}, 1fr)`)}r=oi(this,N,"m",lt).call(this,t,s)}else r=t.cells.filter((({column:t})=>!1!==t.visible)).map((i=>oi(this,N,"m",Q).call(this,i.cell,t.row,i.column)));const c={"input-panel-form":!0,"input-panel-form--inline":this.buttonPosition==E.RIGHT},p={"input-panel":!0,"input-panel--column":!a,"input-panel--absolute":null==s?void 0:s.absolute,"input-panel--inline":this.inputPanelPosition===S.INLINE||this.inputPanelPosition===S.UPINLINE},f={"input-panel__commands":!0,[`input-panel__commands--${this.buttonPosition}`]:!0};return e("div",null,e("form",{name:this.rootElement.id,id:this.rootElement.id,class:c,ref:t=>ai(this,F,t,"f"),onSubmit:t=>{t.preventDefault(),this.submitCb({value:{before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)}})},onReset:t=>{t.preventDefault(),this.onFormReset()},onContextMenu:t=>{null!=oi(this,N,"m",Zt).call(this,t)&&t.preventDefault()}},1==(null===(n=null==s?void 0:s.sections)||void 0===n?void 0:n.length)&&(null===(l=null==s?void 0:s.sections[0])||void 0===l?void 0:l.title)&&e("div",{class:"input-panel__typography"},e(O,{value:s.sections[0].title,type:$.HEADING1})),e("div",{class:p,style:u},r),e("div",{class:f},e(o,{buttonType:"submit",label:oi(this,R,"f").language.translate(d.CONFIRM),wrapperClass:"form__submit",invisible:this.hiddenSubmitButton}),this.fieldReset&&e(o,{buttonType:"reset",label:"Reset",wrapperClass:"form__submit",icon:"broom"}),this.inputPanelCommands)))},Q=function(t,i,n){var l;if(!t)return;const s=oi(this,U,"f").get(t.shape);if(void 0!==s)return s(t,n,null===(l=i.layout)||void 0===l?void 0:l.absolute);t.data=Object.assign(Object.assign({},t.data),{sizing:"extra-small"});const o={cell:t,column:n,row:i,editable:!0,component:this,renderKup:!0,setSizes:!0},u=oi(this,N,"m",et).call(this,t,n.title);return u?e("div",{class:{"input-panel__label_container":!0}},u,e(a,Object.assign({},o))):e(a,Object.assign({},o))},Z=function(t,{name:i}){return e(o,Object.assign({icon:t.icon,placeholderIcon:t.placeholderIcon,id:i},t.data,{wrapperClass:"form__submit"}))},tt=function(t,i){return e("kup-dropdown-button",Object.assign({},t.data,{label:t.value,data:i,"onkup-dropdownbutton-itemclick":t=>{oi(this,N,"m",Qt).call(this,t.detail.node,t.detail.node.id)}}))},it=function(t,{name:i}){return e("kup-data-table",Object.assign({id:i,editableData:!0,showGroups:!0,showFilters:!0},t.data,{"onKup-autocomplete-iconclick":t=>{t.preventDefault(),t.stopPropagation()},"onKup-autocomplete-input":t=>{t.preventDefault(),t.stopPropagation()},"onKup-datatable-cell-iconclick":t=>{oi(this,N,"m",jt).call(this,t),t.preventDefault(),t.stopPropagation()},"onKup-datatable-cell-input":t=>{"autocomplete"===t.detail.type&&oi(this,N,"m",jt).call(this,t),t.preventDefault(),t.stopPropagation()},"onKup-cell-itemclick":t=>{oi(this,N,"m",Bt).call(this,t),t.preventDefault(),t.stopPropagation()}}))},nt=function(t,i,n){const l=ui.ketchup.objects.isNumber(t.obj),s=l||ui.ketchup.objects.isDate(t.obj)||ui.ketchup.objects.isTime(t.obj)||ui.ketchup.objects.isTimestamp(t.obj),o=["input-panel-label"];n&&o.push("input-panel-label--legacy-look"),l&&o.push("input-panel-label-number");const a=s?m(i,t):t.value;return e("span",{class:o.join(" "),id:i.name},e(u,{text:a}))},et=function(t,i){return i&&ui.ketchup.data.cell.getType(t,t.shape)===c.RADIO?e("span",null,i):null},lt=function(t,i){const n=oi(this,B,"f").get(i.sectionsType);return n?n(t,i.sections):i.sections.map((i=>oi(this,N,"m",ot).call(this,t,i,!1)))},st=function(t,i){return i.sections.map((i=>oi(this,N,"m",at).call(this,t,i)))},ot=function t(i,n,l=!1,s={}){var o,a;const u={"input-panel__section":!n.horizontal,"input-panel__horizontal-section":n.horizontal,"input-panel__section-inline":this.inputPanelPosition===S.INLINE||this.inputPanelPosition===S.UPINLINE};s.gap=+n.gap>0?`${n.gap}rem`:"1rem";let h=[];if(null===(o=n.sections)||void 0===o?void 0:o.length){h=n.sections.map((n=>oi(this,N,"m",t).call(this,i,n))).filter(Boolean);const e=n.sections.some((t=>t.dim));!n.gridCols&&n.horizontal&&(s.gridTemplateColumns=e?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`),n.gridRows||n.horizontal||!this.dashboardMode||(s.gridTemplateRows=e?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`)}else(null===(a=n.content)||void 0===a?void 0:a.length)&&(h=n.content.map((t=>oi(this,N,"m",ct).call(this,i,t))).filter(Boolean),s.gridTemplateColumns=+n.gridCols>0?`repeat(${n.gridCols}, 1fr)`:"",this.dashboardMode&&(s.gridTemplateRows=+n.gridRows>0?`repeat(${n.gridRows}, 1fr)`:""));const r=h.length?e("div",{class:u,style:s},h):void 0;return n.title&&!l?e("div",{class:{"input-panel__section_label_container":!0}},e(O,{type:$.HEADING1,value:n.title}),r):r},at=function t(i,n){var l,s;let o=[];if(null===(l=n.sections)||void 0===l?void 0:l.length)o=n.sections.map((n=>oi(this,N,"m",t).call(this,i,n)));else if(null===(s=n.content)||void 0===s?void 0:s.length){const t=n.content.find((t=>t.shape===h.TABLE)),e=t?{absoluteRow:t.absoluteRow,absoluteHeight:t.absoluteHeight}:{};o=n.content.map((t=>oi(this,N,"m",pt).call(this,i,t,e)))}if(null==L(n.absoluteWidth))return o;const a=null!=L(n.absoluteWidth)?`${L(n.absoluteWidth)}px`:"100%",u=null!=W(n.absoluteHeight)?`${W(n.absoluteHeight)}px`:"100%",r=`${D(n.absoluteRow)}px`,c=`${I(n.absoluteColumn)}px`;return e("div",{style:{position:"relative",width:a,"min-width":a,"max-width":a,height:u,"min-height":u,"max-height":u,top:r,left:c,overflow:"auto"}},o)},ut=function t(i){var n,e;let l=[];return(null===(n=i.content)||void 0===n?void 0:n.length)&&i.content.forEach((t=>{t.id&&l.push(t.id)})),(null===(e=i.sections)||void 0===e?void 0:e.length)&&i.sections.forEach((i=>{l=l.concat(oi(this,N,"m",t).call(this,i))})),l},ht=function(t,i){this.tabSelected||(this.tabSelected=i[0].id||"0");const n=i.map(((i,n)=>{const e=oi(this,N,"m",ut).call(this,i),l=t.cells.some((t=>{var i;const n=t.cell;return e.includes(t.column.name)&&!!(null===(i=n.data)||void 0===i?void 0:i.error)}));return{active:(i.id||`${n}`)===this.tabSelected,value:i.title,icon:l?"error":i.icon,id:i.id||`${n}`,danger:l}})),l=i.map(((i,n)=>{const e=i.id||`${n}`;return oi(this,N,"m",ot).call(this,t,i,!0,{display:this.tabSelected!==e?"none":"grid"})}));return e("div",{class:{"input-panel__tabs_container":!0}},e("kup-tab-bar",{data:n,customStyle:".tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }"}),l)},rt=function(t){return!t||!t.cell||!1===t.column.visible},ct=function(t,i){const n=t.cells.find((t=>t.column.name===i.id));if(oi(this,N,"m",rt).call(this,n))return;const l=+i.colSpan>0?i.colSpan:+i.colSpan>0||+i.colStart>0?null:1,s=+i.rowSpan>0?i.rowSpan:+i.rowSpan>0||+i.rowStart>0?null:1;return e("div",{style:{"min-width":"0","grid-column-start":l?`span ${l}`:`${i.colStart}`,"grid-column-end":+i.colEnd>0?`${i.colEnd}`:"","grid-row-start":s?`span ${s}`:`${i.rowStart}`,"grid-row-end":+i.rowEnd>0?`${i.rowEnd}`:""}},oi(this,N,"m",Q).call(this,n.cell,t.row,n.column))},pt=function(t,i,n){const l=t.cells.find((t=>t.column.name===i.id));if(oi(this,N,"m",rt).call(this,l))return;let s;s=l.cell.shape==h.DATE?i.absoluteLength>8?i.absoluteLength:8:i.absoluteLength,i.absoluteHeight||(i.absoluteHeight=1);const o=l.cell.shape===h.LABEL?(t=>0==t?3.75:t?1===t?11.25:7.5*t:null)(s):L(s,(a=l.cell.shape)===h.AUTOCOMPLETE||a===h.COMBOBOX||a===h.DATE);var a;const u=W(i.absoluteHeight),r=D(i.absoluteRow,n),c=I(i.absoluteColumn),p={position:"absolute",width:null!=o?`${o}px`:null,"min-width":null!=o?`${o}px`:null,"max-width":null!=o?`${o}px`:null,height:null!=u?`${u}px`:null,"min-height":null!=u?`${u}px`:null,"max-height":null!=u?`${u}px`:null,top:null!=r?`${r}px`:null,left:null!=c?`${c}px`:null,overflow:"hidden"};return l.cell.data=Object.assign(Object.assign(Object.assign({},l.cell.data),{customStyle:(l.cell.data.customStyle||"")+".mdc-text-field {height: unset !important;}",legacyLook:!0,helperEnabled:!1}),l.cell.shape===h.TABLE&&{rowsPerPage:l.cell.data.data.rows.length,showPaginator:!1,showFooter:!1,tableHeight:`${u}px`}),e("div",{style:p},oi(this,N,"m",Q).call(this,l.cell,t.row,l.column))},ft=function(){this.inputPanelCommands=this.data.setup.commands.map((t=>{if((null==t?void 0:t.children)&&(null==t?void 0:t.children.length)>0){const i={"kup-list":{showIcons:!0,data:t.children.map((t=>oi(this,N,"m",Vt).call(this,t)))}};return oi(this,N,"m",tt).call(this,t,i)}{const i=oi(this,N,"m",Vt).call(this,t);return oi(this,N,"m",Z).call(this,i,{name:t.value,title:t.value})}})).flat()},dt=function(t){var i,n,e,l;const s=null===(i=null==t?void 0:t.rows[0])||void 0===i?void 0:i.layout,o=(null===(n=null==t?void 0:t.rows)||void 0===n?void 0:n.length)?t.rows.reduce(((i,n)=>[...i,{cells:t.columns.map((t=>{const i=structuredClone(n.cells[t.name]);return{column:t,cell:i?Object.assign(Object.assign({},i),{data:oi(this,N,"m",mt).call(this,i,t,s),slotData:oi(this,N,"m",kt).call(this,i,t),isEditable:!0}):null}})),row:n}]),[]):[];o.map((({cells:t})=>t.map((({cell:t,column:i})=>{var n;const e=ui.ketchup.data.cell.getType(t,t.shape),l=oi(this,V,"f").get(e),s=oi(this,J,"f").get(e);if(!l&&!s)return;const o=(null!=l?l:s)+`[id='${i.name.replace(/\//g,"\\$1")}']`,a=this.rootElement.shadowRoot.querySelector(o);s?null==a||a.reset():null===(n=null==a?void 0:a.setValue)||void 0===n||n.call(a,t.value)})))),this.inputPanelCells=o,(null===(l=null===(e=t.setup)||void 0===e?void 0:e.commands)||void 0===l?void 0:l.length)&&oi(this,N,"m",ft).call(this)},mt=function(t,i,n){const e=Object.assign(Object.assign({},oi(this,N,"m",_t).call(this,t,i,n)),{disabled:!t.isEditable||i.useAs===v.KEY,id:i.name}),l=ui.ketchup.data.cell.getType(t,t.shape),s=function(t,i){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(e=Object.getOwnPropertySymbols(t);l<e.length;l++)i.indexOf(e[l])<0&&Object.prototype.propertyIsEnumerable.call(t,e[l])&&(n[e[l]]=t[e[l]])}return n}(t.data||{},["data"]);return l!==c.MULTI_AUTOCOMPLETE&&l!==c.MULTI_COMBOBOX?oi(this,N,"m",vt).call(this,e,Object.assign({},t.data)):Object.assign(Object.assign({},e),s)},vt=function t(i,n){for(const e in n)i[e]=n[e]instanceof Object&&!Array.isArray(n[e])&&e in i?oi(this,N,"m",t).call(this,i[e],n[e]):n[e];return i},bt=function(){return this.inputPanelCells.reduce(((t,i)=>{const n=Object.keys(i.row.cells).reduce(((t,n)=>{var e;const l=null===(e=i.cells.find((t=>t.column.name===n)))||void 0===e?void 0:e.cell;let s=null==l?void 0:l.value;return(null==l?void 0:l.shape)===h.TABLE&&(s=JSON.stringify(oi(this,N,"m",Rt).call(this,l.data.data,n))),Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},i.row.cells[n]),{value:s,obj:null==l?void 0:l.obj})})}),{});return{columns:[...t.columns,...i.cells.map((t=>t.column))],rows:[...t.rows,{cells:n,layout:i.row.layout}]}}),{columns:[],rows:[]})},_t=function(t,i,n){if(!t)return null;const e=t.options;let l;l=(null==n?void 0:n.absolute)?null:i.title;const s=t.value,o=ui.ketchup.data.cell.getType(t,t.shape),a=new Map([[c.AUTOCOMPLETE,oi(this,N,"m",wt).bind(this)],[c.BUTTON_LIST,oi(this,N,"m",yt).bind(this)],[c.CHART,oi(this,N,"m",xt).bind(this)],[c.CHIP,oi(this,N,"m",gt).bind(this)],[c.CHECKBOX,oi(this,N,"m",$t).bind(this)],[c.COLOR_PICKER,oi(this,N,"m",zt).bind(this)],[c.COMBOBOX,oi(this,N,"m",wt).bind(this)],[c.EDITOR,oi(this,N,"m",Tt).bind(this)],[c.MULTI_AUTOCOMPLETE,oi(this,N,"m",gt).bind(this)],[c.MULTI_COMBOBOX,oi(this,N,"m",gt).bind(this)],[c.NUMBER,oi(this,N,"m",It).bind(this)],[c.DATE,oi(this,N,"m",Ct).bind(this)],[c.OBJECT,oi(this,N,"m",Kt).bind(this)],[c.RADIO,oi(this,N,"m",St).bind(this)],[c.STRING,oi(this,N,"m",Mt).bind(this)],[c.SWITCH,oi(this,N,"m",Et).bind(this)],[c.TABLE,oi(this,N,"m",Nt).bind(this)],[c.TIME,oi(this,N,"m",Dt).bind(this)],[c.IMAGE_LIST,oi(this,N,"m",Lt).bind(this)],[c.FILE_UPLOAD,oi(this,N,"m",Wt).bind(this)]]).get(o);return a?a(e,l,s,t,i.name,n):null},kt=function(t,i){const n=ui.ketchup.data.cell.getType(t,t.shape);return n===c.CHIP?{trailingIcon:!0,label:i.title,disabled:!t.isEditable,id:i.name,fullWidth:!1}:n===c.MULTI_AUTOCOMPLETE||n===c.MULTI_COMBOBOX?Object.assign(Object.assign({},oi(this,N,"m",wt).call(this,t.options,i.title,null,t)),{showDropDownIcon:!0,class:"",style:{width:"100%"},disabled:!t.isEditable,id:i.name}):null},gt=function(t,i,n,e){return b(n,e.decode)},xt=function(){return{data:{sizeX:"50px",offlineMode:{value:"8;4;5"},id:"i1012_GREF_0",cellId:"i1012_GREF_0",sizeY:"50px"}}},yt=function(t,i,n,e,l){var s,o;if(e.data=e.data||{},e.data.onClick=()=>{oi(this,N,"m",Qt).call(this,e,l)},e.data.BtnMap){const t=null===(o=null===(s=this.data.setup)||void 0===s?void 0:s.commands)||void 0===o?void 0:o.find((t=>t.obj.k===e.data.BtnMap));t&&(e.isEditable=!0,e.data.onClick=()=>{oi(this,N,"m",Qt).call(this,e,t.obj.k)},this.data.setup.commands=this.data.setup.commands.filter((i=>i.obj.k!==t.obj.k)))}return Object.assign({label:e.value,fun:e.fun},e.data)},wt=function(t,i,n){const e=_(n,i,[]);return t&&(e.data["kup-list"].data=oi(this,N,"m",Ft).call(this,t,n)),e},jt=function({detail:t},i=!1){if(oi(this,N,"m",Ot).call(this,t))oi(this,N,"m",Ut).call(this,t);else{const n=oi(this,N,"m",X).call(this,t.id);let e=!0;i&&(e=!t.comp.data["kup-list"].data.length),n.fun&&e&&oi(this,N,"m",Jt).call(this,t,n)}},Ot=function(t){return!!t.cell},$t=function(t,i,n){return k(n,i)},zt=function(t,i){return{data:{"kup-text-field":{label:i}}}},Tt=function(t,i,n){return{initialValue:n}},Mt=function(t,i,n,e,l){var s;const o=Object.assign({label:i},e.data);return this.autoSkip&&e.isEditable&&(null===(s=e.data)||void 0===s?void 0:s.maxLength)&&(o.onInput=t=>{oi(this,N,"m",li).call(this,l,t)}),o},St=function(t,i,n){return g(n,t)},Et=function(t,i,n){return x(n,i)},Ct=function(t,i,n){return{data:{"kup-text-field":{label:i}},initialValue:null!=n?n:""}},Kt=function(t,i,n){return{initialValue:n||"",label:i||" ",value:n||""}},Lt=function(t,i,n){return{initialValue:n||"",leadingLabel:i||"",value:n||""}},Wt=function(t,i,n,e){return Object.assign({pathString:n},e.data)},Dt=function(t,i,n){return{data:{"kup-text-field":{label:i}},initialValue:n}},It=function(t,i){return{label:i}},Nt=function(t,i,n,e,l,s){try{let t=JSON.parse(e.value);return t?"SmeupDataTable"!==t.type?(oi(this,R,"f").debug.logMessage(this,`Wrong data table type for ${l} cell. Type \`SmeupDataTable\` in value expected`,y.ERROR),null):{data:{columns:t.columns.map((i=>{var n;if(t.rows.length>0){const e=null===(n=t.rows[0].cells[i.name])||void 0===n?void 0:n.obj;return!i.obj&&e?Object.assign(Object.assign({},i),{obj:{t:e.t,p:e.p}}):i}return i})),rows:t.rows.map((i=>Object.assign(Object.assign({},i),{cells:Object.keys(i.cells).reduce(((n,e)=>{const l=t.columns.find((t=>t.name===e));return Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},i.cells[e]),{data:Object.assign(Object.assign({},oi(this,N,"m",_t).call(this,i.cells[e],l,s)),{disabled:!1===i.cells[e].editable,id:l.id})})})}),{})})))}}:(oi(this,R,"f").debug.logMessage(this,`Empty value for ${l} cell.`,y.WARNING),null)}catch(t){return oi(this,R,"f").debug.logMessage(this,`Invalid value for ${l} cell. Type \`SmeupDataTable\` expected`,y.ERROR),null}},Rt=function(t,i){const n=Object.assign(Object.assign({},t),{rows:t.rows.map((t=>Object.assign(Object.assign({},t),{cells:{}})))}),e=t.columns.filter((t=>t.isEditable)).map((t=>t.name));if(!e.length)return n;try{const l=JSON.parse(oi(this,H,"f").rows[0].cells[i].value);return n.rows=t.rows.map(((t,i)=>e.reduce(((n,e)=>{const s=l.rows[i].cells[e]&&t.cells[e].value!==l.rows[i].cells[e].value;return Object.assign(Object.assign({},l.rows[i]),s?{cells:Object.assign(Object.assign({},n.cells),{[e]:Object.assign(Object.assign({},l.rows[i].cells[e]),{value:t.cells[e].value})})}:{cells:n.cells})}),Object.assign(Object.assign({},l.rows[i]),{cells:{}})))),n}catch(t){return n}},Ft=function(t,i){const n=oi(this,P,"f").get(t.type);return n?n(t,i):t.map((t=>({value:t.label,id:t.id,selected:i===t.id})))},Pt=function t(i,n){return i.children.map((i=>{var e;return{id:i.content.codice,value:i.content.testo,selected:n===i.content.codice,children:(null===(e=i.children)||void 0===e?void 0:e.length)?oi(this,N,"m",t).call(this,i,n):[]}}))},Ht=function t(i,n){return i.children.map((i=>{var e;return{id:i.obj.k,value:i.value,selected:n===i.obj.k,children:(null===(e=i.children)||void 0===e?void 0:e.length)?oi(this,N,"m",t).call(this,i,n):[]}}))},At=function(t,i){return t.rows.map((t=>{const n=t.fields||t.cells,[e,l]=Object.keys(n);return{id:n[e].value,value:l?n[l].value:n[e].value,selected:i===n[e].value}}))},Vt=function(t){return Object.assign(Object.assign({},t),{data:oi(this,N,"m",yt).call(this,null,null,t.value,t,t.obj.k),id:t.obj.k})},Jt=function(t,i){this.optionsHandler(i.fun,t.inputValue,oi(this,N,"m",bt).call(this),t.id).then((n=>{var e,l,s,o,a,u;const r=(null===(e=null==n?void 0:n.columns)||void 0===e?void 0:e.filter((t=>!1!==(null==t?void 0:t.visible))).map((t=>t.name)))||[],c=null===(l=null==n?void 0:n.rows)||void 0===l?void 0:l.map((t=>{const{cells:i}=t,n=r.reduce(((n,e)=>(t.cells.hasOwnProperty(e)&&(n[e]=i[e]),n)),{});return Object.assign(Object.assign({},t),{cells:n})})),p=Object.assign(Object.assign({},n),{rows:c}),f=i.shape===h.MULTI_AUTOCOMPLETE?i.slotData.data["kup-list"]:null===(o=null===(s=i.data)||void 0===s?void 0:s.data)||void 0===o?void 0:o["kup-list"];f?(f.data=(null==c?void 0:c.length)&&null!==(a=oi(this,N,"m",Ft).call(this,p,i.value))&&void 0!==a?a:[],f.options=null!==(u=n.columns)&&void 0!==u?u:[]):oi(this,R,"f").debug.logMessage(this,'getAutocompleteEventCallback() - "kup-list" not found in cell.data.data',y.WARNING),t.comp.refresh()}))},Ut=function(t){const{cell:i,row:n,column:e,comp:l,id:s,event:o}=t,a=null==i?void 0:i.value,u=t.event.detail;try{this.optionsHandler(i.fun,u.inputValue,{columns:l.data.columns,rows:[n]},e.name).then((t=>{var i,u,h,r,c,p,f;const d=(null!==(i=null==t?void 0:t.columns)&&void 0!==i?i:[]).filter((t=>!1!==(null==t?void 0:t.visible))).map((t=>t.name)),m=null!==(h=null===(u=null==t?void 0:t.rows)||void 0===u?void 0:u.map((t=>{const i=d.reduce(((i,n)=>(t.cells[n]&&(i[n]=t.cells[n]),i)),{});return Object.assign(Object.assign({},t),{cells:i})})))&&void 0!==h?h:[],v=Object.assign(Object.assign({},t),{rows:m}),b=l.data,_=b.rows[n.id].cells[e.name];(null===(c=null===(r=_.data)||void 0===r?void 0:r.data)||void 0===c?void 0:c["kup-list"])||(_.data={data:{"kup-list":{},"kup-text-field":Object.assign({},_.data)}});const k=_.data.data["kup-list"];k.data=m.length&&null!==(p=oi(this,N,"m",Ft).call(this,v,a))&&void 0!==p?p:[],k.options=null!==(f=t.columns)&&void 0!==f?f:[],l.data=b,this.data.rows[0].cells[s].value=JSON.stringify(b),o.detail.comp.refresh(),l.refresh()}))}catch(t){console.error("Error in autocomplete callback:",t)}},Bt=function(t){const{cell:i,row:n,column:e,id:l,comp:s}=t.detail,o=s.data;o.rows[n.id].cells[e.name]=i,s.data=o,this.data.rows[0].cells[l].value=JSON.stringify(o),t.detail.event.detail.comp.refresh(),s.refresh()},Gt=async function(t,i){var n,e,l,s,o;const{detail:{column:a,cell:u}}=t;if(K[i](null==u?void 0:u.shape))return;const h=oi(this,N,"m",X).call(this,a.name),r=oi(this,H,"f").rows[0].cells[a.name];if(h){if(u.mandatory){if(oi(this,N,"m",Xt).call(this,a.name,h.value?(null===(n=r.data)||void 0===n?void 0:n.error)||null:oi(this,R,"f").language.translate(d.REQUIRED_VALUE)),!u.value)return}else oi(this,N,"m",Xt).call(this,a.name,(null===(e=r.data)||void 0===e?void 0:e.error)||null);if(null===(l=u.inputSettings)||void 0===l?void 0:l.checkObject){const{valid:t}=await this.checkValidObjCallback({obj:u.obj,currentState:oi(this,N,"m",bt).call(this),fun:u.fun});if(!t)return void oi(this,N,"m",Xt).call(this,a.name,oi(this,R,"f").language.translate(d.INVALID_VALUE));oi(this,N,"m",Xt).call(this,a.name,(null===(s=r.data)||void 0===s?void 0:s.error)||null)}(null===(o=u.inputSettings)||void 0===o?void 0:o.checkValueOnExit)&&oi(this,N,"m",Yt).call(this)&&this.checkValidValueCallback({before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)},a.name)}},qt=function({detail:{cell:t,column:i}}){var n;t.shape!==h.CHECKBOX&&t.shape!==h.SWITCH||(this.updateOnClick?this.submitCb({value:{before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)},cell:i.name}):(null===(n=t.inputSettings)||void 0===n?void 0:n.checkValueOnExit)&&this.checkValidValueCallback({before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)},i.name))},Xt=function(t,i){this.inputPanelCells=this.inputPanelCells.map((n=>Object.assign(Object.assign({},n),{cells:n.cells.map((({cell:n,column:e})=>{const l=e.name===t?Object.assign(Object.assign({},n.data),{error:i}):n.data;return{column:e,cell:Object.assign(Object.assign({},n),{data:l})}}))})))},Yt=function(){return this.inputPanelCells.some((({cells:t,row:i})=>t.some((({cell:t,column:{name:n}})=>t.value!==i.cells[n].value))))},Qt=function(t,i){(null==t?void 0:t.fun)?this.customButtonClickHandler({fun:t.fun,cellId:i,currentState:oi(this,N,"m",bt).call(this)}):this.submitCb({value:{before:Object.assign({},oi(this,H,"f")),after:oi(this,N,"m",bt).call(this)},cell:i})},Zt=function(t){return oi(this,R,"f").getEventPath(t.target,this.rootElement).find((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains("f-cell")}))},ti=function(t){const i=oi(this,N,"m",Zt).call(this,t);if(null==i)return;const n=oi(this,N,"m",bt).call(this),e=i["kup-get-cell-props"]().column.name;return{anchor:i,cell:n.rows[0].cells[e],column:n.columns.find((t=>t.name==e)),row:n.rows[0],originalEvent:t}},ii=function(){oi(this,R,"f").interact.managedElements.add(oi(this,F,"f")),oi(this,R,"f").interact.on(oi(this,F,"f"),w.TAP,(t=>{if(2==t.button){const i=oi(this,N,"m",ti).call(this,t);i&&this.kupDataTableContextMenu.emit({comp:this,id:this.rootElement.id,details:i})}}))},ni=function(){if(!oi(this,F,"f"))return;const t=Array.from(oi(this,F,"f").querySelectorAll(".f-cell__content"));for(const i of t){const t=oi(this,N,"m",ei).call(this,i,!0);if(t)return void setTimeout((()=>t.focus()),300)}if(!this.autoFocus||0===t.length)return;const i=oi(this,N,"m",ei).call(this,t[0]);i&&setTimeout((()=>i.focus()),300)},ei=function(t,i=!1){if(!(t&&t instanceof HTMLElement))return;const n=".mdc-text-field__input",e=i?`.mdc-text-field--error ${n}`:n,l=t.querySelector(e);if(l)return l;const s=Array.from(t.querySelectorAll("*")).filter((t=>t.shadowRoot));for(const t of s){const i=t.shadowRoot.querySelector(e);if(i)return i}},li=function(t,i){var n,e;const l=null==i?void 0:i.target;if(!(l&&l instanceof HTMLInputElement))return;const{maxLength:s,value:o}=l;if(!s||s<0||(null==o?void 0:o.length)<s)return;const a=Array.from(null===(n=oi(this,F,"f"))||void 0===n?void 0:n.querySelectorAll(".f-text-field")).reduce(((t,i)=>{const n=i.querySelector("input");return n?(t.push({id:(null==i?void 0:i.id)||"",HTMLInputElement:n}),t):t}),[]);if(!a.length)return;const u=a.findIndex((i=>i.id===t));u<0||u===a.length-1||null===(e=a[u+1].HTMLInputElement)||void 0===e||e.focus()},si=function(t){t.stopPropagation(),this.kupCellUpload.emit(t.detail)},hi.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:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_textfield_textarea_height_input_panel:var(\n --kup-textfield-textarea-height-input_panel,\n 200px\n );--kup_textfield_textarea_width_input_panel:var(\n --kup-textfield-textarea-width-input_panel,\n 300px\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0);--kup_input_panel_padding--inline:var(\n --kup-input-panel-padding--inline,\n 1em 0\n );--kup_input_panel_absolute_max_height:var(\n --kup-input-panel-absolute-max-height,\n \n 716px\n )}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:8px}:host .input-panel__commands{display:flex;gap:1rem}:host .input-panel__commands.input-panel__commands--right{flex-shrink:0;overflow:hidden}:host .input-panel--inline{flex:1;overflow-x:auto;white-space:nowrap;padding:var(--kup_input_panel_padding--inline);display:inline-flex;align-items:flex-end}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel .f-text-field .mdc-text-field.mdc-text-field--textarea{min-height:var(--kup_textfield_textarea_height_input_panel) !important;min-width:var(--kup_textfield_textarea_width_input_panel) !important}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel__section-inline{display:inline-block;width:max-content}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel .input-panel-label--legacy-look{font-size:12px;font-family:var(--kup-font-family-monospace);white-space:pre;overflow:hidden}:host .input-panel--absolute{justify-content:flex-end;padding:var(--kup-space-02);max-height:var(--kup_input_panel_absolute_max_height);--kup-textfield-extrasmall-height:20px;--kup-textfield-extrasmall-padding:0 var(--kup-space-01)}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .input-panel-label.input-panel-label-number{justify-content:end}:host .input-panel--absolute .mdc-text-field{height:unset !important}:host .input-panel-form--inline{display:flex;align-items:end;gap:1rem}";export{hi as kup_input_panel}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup",
3
- "version": "11.0.0-SNAPSHOT-20250623143442",
3
+ "version": "11.0.0-SNAPSHOT-20250625150034",
4
4
  "keywords": [
5
5
  "smeup",
6
6
  "KetchUP",
@@ -1 +0,0 @@
1
- import{r as t,c as i,f as n,h as e,H as l,d as s}from"./p-710d0a7d.js";import{F as o}from"./p-c4224227.js";import{F as a,e as u}from"./p-34277196.js";import{F as r,k as h,ad as p,g as c,s as f,b as d,ai as m,a7 as v,ao as b,al as _,an as g,am as k,ap as x,h as y,V as w}from"./p-732119cb.js";import{F as j}from"./p-7db300e0.js";import{F as O,a as $}from"./p-cec0955d.js";import{c as z}from"./p-635bb4b3.js";import"./p-e3062c19.js";import"./p-3cab6420.js";import"./p-9f9428d1.js";import"./p-5dfc69ee.js";import"./p-bfde2976.js";import"./p-1312de59.js";import"./p-cabebabc.js";import"./p-c56195a0.js";var T,M,E,S,C;!function(t){t.TAB="tab"}(T||(T={})),function(t){t.customStyle="Custom style of the component.",t.data="Actual data of the input panel.",t.hiddenSubmitButton="Creates a hidden submit button in order to submit the form with enter.",t.submitCb="Sets the callback function on submit form",t.optionsHandler="Sets the callback function to recieve options",t.buttonPosition="Manage the position of the buttons related to the input panel content. It is an enumeration",t.inputPanelPosition="Manage the global layout of the input panel fields. The default is COLUMNS.",t.autoSkip="Sets the auto skip between input text fields when the value reaches the max length.",t.autoFocus="Sets whether the first input should receive focus.",t.fieldReset="Create e Reset button for the form"}(M||(M={})),function(t){t.COLUMNS="COLUMNS",t.INLINE="INLINE",t.STRETCHED="STRETCHED",t.UPINLINE="UPINLINE",t.UPCOLUMNS="UPCOLUMNS",t.PLACEHOLDER="PLACEHOLDER"}(E||(E={})),function(t){t.CENTER="CENTER",t.LEFT="LEFT",t.BOTTOM="BOTTOM",t.RIGHT="RIGHT",t.TOP="TOP"}(S||(S={})),function(t){t.BLUR="blur",t.ITEMCLICK="itemclick"}(C||(C={}));const L={blur:t=>t===r.CHECKBOX||t===r.SWITCH||t===r.COMBOBOX||t===r.AUTOCOMPLETE,itemclick:t=>t!==r.COMBOBOX&&t!==r.AUTOCOMPLETE},W=(t,i)=>0==t?3.75:t?1===t?11.25:7.5*t+(i?18:0)+4:null,D=t=>t?20*t:null,I=(t,i)=>t?t>(null==i?void 0:i.absoluteRow)?20*((null==i?void 0:i.absoluteRow)-1)+2*((null==i?void 0:i.absoluteRow)-1)+D(i.absoluteHeight)+20*(t-((null==i?void 0:i.absoluteRow)+(null==i?void 0:i.absoluteHeight)-1)-1):20*(t-1)+2*(t-1):null,R=t=>t?10*(t-1)*1.15:null;var F,K,P,N,H,A,V,U,B,G,J,q,X,Y,Q,Z,tt,it,nt,et,lt,st,ot,at,ut,rt,ht,pt,ct,ft,dt,mt,vt,bt,_t,gt,kt,xt,yt,wt,jt,Ot,$t,zt,Tt,Mt,Et,St,Ct,Lt,Wt,Dt,It,Rt,Ft,Kt,Pt,Nt,Ht,At,Vt,Ut,Bt,Gt,Jt,qt,Xt,Yt,Qt,Zt,ti,ii,ni,ei=function(t,i,n,e){if("a"===n&&!e)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!e:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?e:"a"===n?e.call(t):e?e.value:i.get(t)},li=function(t,i,n,e,l){if("m"===e)throw new TypeError("Private method is not writable");if("a"===e&&!l)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!l:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===e?l.call(t,n):l?l.value=n:i.set(t,n),n};const si=document.documentElement,oi=class{constructor(n){t(this,n),this.kupReady=i(this,"kup-input-panel-ready",6),this.kupDataTableContextMenu=i(this,"kup-inputpanel-contextmenu",6),this.kupInputPanelObjectFieldSearchPayload=i(this,"kup-inputpanel-objectfield-searchpayload",6),this.kupInputPanelObjectFieldOpenSearchMenu=i(this,"kup-inputpanel-objectfield-opensearchmenu",6),this.kupInputPanelObjectFieldSelectedMenuItem=i(this,"kup-inputpanel-objectfield-selectedmenuitem",6),this.kupCellUpload=i(this,"kup-inputpanel-upload",6),F.add(this),K.set(this,h()),P.set(this,void 0),N.set(this,new Map([["SmeupDataTree",ei(this,F,"m",Nt).bind(this)],["SmeupDataTable",ei(this,F,"m",Ht).bind(this)],["SmeupTreeNode",ei(this,F,"m",Pt).bind(this)],["SmeupTable",ei(this,F,"m",Ht).bind(this)]])),H.set(this,null),A.set(this,[]),V.set(this,new Map([[p.DATE,"kup-date-picker"],[p.TIME,"kup-time-picker"]])),U.set(this,new Map([[p.COMBOBOX,"kup-combobox"],[p.AUTOCOMPLETE,"kup-autocomplete"]])),B.set(this,new Map([[r.BUTTON_LIST,ei(this,F,"m",Z).bind(this)],[r.LABEL,ei(this,F,"m",nt).bind(this)],[r.TABLE,ei(this,F,"m",it).bind(this)]])),G.set(this,new Map([[T.TAB,ei(this,F,"m",rt).bind(this)]])),J.set(this,void 0),q.set(this,void 0),this.buttonPosition=S.BOTTOM,this.customStyle="",this.dashboardMode=!1,this.data=null,this.hiddenSubmitButton=!1,this.inputPanelPosition=E.COLUMNS,this.submitCb=null,this.optionsHandler=null,this.customButtonClickHandler=null,this.checkValidObjCallback=null,this.checkValidValueCallback=null,this.autoFocus=!1,this.autoSkip=!1,this.updateOnClick=!1,this.fieldReset=!1,this.inputPanelCells=[],this.inputPanelCommands=[],this.tabSelected=null}onDataChanged(){li(this,H,structuredClone(this.data),"f"),ei(this,A,"f").length&&(ei(this,A,"f").map((({event:t,handler:i})=>{this.rootElement.removeEventListener(t,i)})),li(this,A,[],"f")),this.data&&ei(this,F,"m",dt).call(this,this.data)}listenKeydown(t){if("Enter"===t.key){t.preventDefault(),t.stopPropagation();const i=this.rootElement.shadowRoot.activeElement;"enter"===t.key.toLowerCase()&&i&&(null==i||i.blur(),this.submitCb({value:{before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)}}))}}async waitForReady(){return ei(this,J,"f")}async getProps(t){return c(this,M,t)}async refresh(){n(this)}async setProps(t){f(this,M,t)}async update(t){ei(this,F,"m",qt).call(this,ei(this,F,"m",X).call(this,t),t)}onFormReset(){var t;for(const i of this.data.columns){const n=ei(this,F,"m",X).call(this,i.name);n.shape!==r.MULTI_AUTOCOMPLETE&&n.shape!==r.MULTI_COMBOBOX||!(null===(t=n.data)||void 0===t?void 0:t.data)||(n.data.data=[]),n.value="",n.obj.k="",n.decode="",n.data.initialValue&&(n.data.initialValue="")}this.refresh()}connectedCallback(){li(this,J,new Promise((t=>{li(this,q,t,"f")})),"f")}componentWillLoad(){ei(this,K,"f").debug.logLoad(this,!1),ei(this,K,"f").language.register(this),ei(this,K,"f").theme.register(this),this.onDataChanged()}componentDidLoad(){ei(this,F,"m",Qt).call(this),this.kupReady.emit({comp:this,id:this.rootElement.id}),ei(this,F,"m",Zt).call(this),ei(this,K,"f").debug.logLoad(this,!0)}componentWillRender(){ei(this,K,"f").debug.logRender(this,!1)}componentDidRender(){if(ei(this,P,"f")){const t=ei(this,P,"f").querySelectorAll(".f-text-field");for(let i=0;i<t.length;i++)j(t[i])}requestAnimationFrame((async()=>{ei(this,P,"f")&&ei(this,q,"f")&&(ei(this,q,"f").call(this),li(this,q,null,"f"))})),ei(this,K,"f").debug.logRender(this,!0)}render(){const t=Boolean(!this.inputPanelCells.length)?[e("p",null,ei(this,K,"f").language.translate(d.EMPTY_DATA))]:this.inputPanelCells.map((t=>ei(this,F,"m",Y).call(this,t)));return e(l,{key:"77e4a2e83dbeb1707029ff6d2329ef4752a76d95","onKup-cell-blur":t=>ei(this,F,"m",Ut).call(this,t,C.BLUR),"onKup-cell-update":ei(this,F,"m",Bt).bind(this),"onKup-tabbar-click":t=>{this.tabSelected=t.detail.node.id},"onKup-autocomplete-input":ei(this,F,"m",jt).bind(this),"onKup-autocomplete-iconclick":ei(this,F,"m",jt).bind(this),"onKup-combobox-iconclick":t=>ei(this,F,"m",jt).call(this,t,!0),"onKup-cell-itemclick":t=>ei(this,F,"m",Ut).call(this,t,C.ITEMCLICK),"onKup-objectfield-searchpayload":t=>{this.kupInputPanelObjectFieldSearchPayload.emit(t.detail)},"onKup-objectfield-opensearchmenu":t=>{this.kupInputPanelObjectFieldOpenSearchMenu.emit(t.detail)},"onKup-objectfield-selectedmenuitem":t=>{this.kupInputPanelObjectFieldSelectedMenuItem.emit(t.detail)},"onKup-file-upload-upload":ei(this,F,"m",ni).bind(this)},e("style",{key:"6b0561902786ea40bbb7e8236379fd45624eb131"},ei(this,K,"f").theme.setKupStyle(this.rootElement)),e("div",{key:"48bb61680e266022eeb357516d260ceed4ecb0e6",id:z},t))}disconnectedCallback(){ei(this,K,"f").language.unregister(this),ei(this,K,"f").theme.unregister(this)}get rootElement(){return s(this)}static get watchers(){return{data:["onDataChanged"]}}};K=new WeakMap,P=new WeakMap,N=new WeakMap,H=new WeakMap,A=new WeakMap,V=new WeakMap,U=new WeakMap,B=new WeakMap,G=new WeakMap,J=new WeakMap,q=new WeakMap,F=new WeakSet,X=function(t){return t?this.inputPanelCells.reduce(((i,{cells:n})=>{if(!i){const i=n.find((({column:i})=>i.name===t));return i?i.cell:null}return i}),null):null},Y=function(t){var i,n,l;const s=t.row.layout,a=(null==s?void 0:s.horizontal)||!1,u={};let h;if(null===(i=null==s?void 0:s.sections)||void 0===i?void 0:i.length)if(s.absolute)h=ei(this,F,"m",st).call(this,t,s),u.height=`${(t=>{var i,n;if(!t)return 0;const e=null!==(n=null===(i=t.sections.flatMap((t=>t.content)).find((t=>t.shape===r.TABLE)))||void 0===i?void 0:i.absoluteHeight)&&void 0!==n?n:null,l=Math.max(0,...t.sections.flatMap((t=>t.content.map((t=>t.absoluteRow+(t.absoluteHeight-1))))));return e?22*(l-e)+20*e:22*l})(s)}px`;else{if(!s.sectionsType){const i=s.sections.some((t=>t.dim));u.display="grid",this.inputPanelPosition!==E.INLINE&&this.inputPanelPosition!==E.UPINLINE||(u.display=""),s.horizontal?u.gridTemplateColumns=i?s.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${t.cells.length}, 1fr)`:this.dashboardMode&&(u.gridTemplateRows=i?s.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${s.sections.length}, 1fr)`)}h=ei(this,F,"m",lt).call(this,t,s)}else h=t.cells.filter((({column:t})=>!1!==t.visible)).map((i=>ei(this,F,"m",Q).call(this,i.cell,t.row,i.column)));const p={"input-panel-form":!0,"input-panel-form--inline":this.buttonPosition==S.RIGHT},c={"input-panel":!0,"input-panel--column":!a,"input-panel--absolute":null==s?void 0:s.absolute,"input-panel--inline":this.inputPanelPosition===E.INLINE||this.inputPanelPosition===E.UPINLINE},f={"input-panel__commands":!0,[`input-panel__commands--${this.buttonPosition}`]:!0};return e("div",null,e("form",{name:this.rootElement.id,id:this.rootElement.id,class:p,ref:t=>li(this,P,t,"f"),onSubmit:t=>{t.preventDefault(),this.submitCb({value:{before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)}})},onReset:t=>{t.preventDefault(),this.onFormReset()},onContextMenu:t=>{null!=ei(this,F,"m",Xt).call(this,t)&&t.preventDefault()}},1==(null===(n=null==s?void 0:s.sections)||void 0===n?void 0:n.length)&&(null===(l=null==s?void 0:s.sections[0])||void 0===l?void 0:l.title)&&e("div",{class:"input-panel__typography"},e(O,{value:s.sections[0].title,type:$.HEADING1})),e("div",{class:c,style:u},h),e("div",{class:f},e(o,{buttonType:"submit",label:ei(this,K,"f").language.translate(d.CONFIRM),wrapperClass:"form__submit",invisible:this.hiddenSubmitButton}),this.fieldReset&&e(o,{buttonType:"reset",label:"Reset",wrapperClass:"form__submit",icon:"broom"}),this.inputPanelCommands)))},Q=function(t,i,n){var l;if(!t)return;const s=ei(this,B,"f").get(t.shape);if(void 0!==s)return s(t,n,null===(l=i.layout)||void 0===l?void 0:l.absolute);t.data=Object.assign(Object.assign({},t.data),{sizing:"extra-small"});const o={cell:t,column:n,row:i,editable:!0,component:this,renderKup:!0,setSizes:!0},u=ei(this,F,"m",et).call(this,t,n.title);return u?e("div",{class:{"input-panel__label_container":!0}},u,e(a,Object.assign({},o))):e(a,Object.assign({},o))},Z=function(t,{name:i}){return e(o,Object.assign({icon:t.icon,placeholderIcon:t.placeholderIcon,id:i},t.data,{wrapperClass:"form__submit"}))},tt=function(t,i){return e("kup-dropdown-button",Object.assign({},t.data,{label:t.value,data:i,"onkup-dropdownbutton-itemclick":t=>{ei(this,F,"m",qt).call(this,t.detail.node,t.detail.node.id)}}))},it=function(t,{name:i}){return e("kup-data-table",Object.assign({id:i,editableData:!0,showGroups:!0,showFilters:!0},t.data))},nt=function(t,i,n){const l=si.ketchup.objects.isNumber(t.obj),s=l||si.ketchup.objects.isDate(t.obj)||si.ketchup.objects.isTime(t.obj)||si.ketchup.objects.isTimestamp(t.obj),o=["input-panel-label"];n&&o.push("input-panel-label--legacy-look"),l&&o.push("input-panel-label-number");const a=s?m(i,t):t.value;return e("span",{class:o.join(" "),id:i.name},e(u,{text:a}))},et=function(t,i){return i&&si.ketchup.data.cell.getType(t,t.shape)===p.RADIO?e("span",null,i):null},lt=function(t,i){const n=ei(this,G,"f").get(i.sectionsType);return n?n(t,i.sections):i.sections.map((i=>ei(this,F,"m",ot).call(this,t,i,!1)))},st=function(t,i){return i.sections.map((i=>ei(this,F,"m",at).call(this,t,i)))},ot=function t(i,n,l=!1,s={}){var o,a;const u={"input-panel__section":!n.horizontal,"input-panel__horizontal-section":n.horizontal,"input-panel__section-inline":this.inputPanelPosition===E.INLINE||this.inputPanelPosition===E.UPINLINE};s.gap=+n.gap>0?`${n.gap}rem`:"1rem";let r=[];if(null===(o=n.sections)||void 0===o?void 0:o.length){r=n.sections.map((n=>ei(this,F,"m",t).call(this,i,n))).filter(Boolean);const e=n.sections.some((t=>t.dim));!n.gridCols&&n.horizontal&&(s.gridTemplateColumns=e?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`),n.gridRows||n.horizontal||!this.dashboardMode||(s.gridTemplateRows=e?n.sections.map((t=>t.dim||"auto")).join(" "):`repeat(${n.sections.length}, 1fr)`)}else(null===(a=n.content)||void 0===a?void 0:a.length)&&(r=n.content.map((t=>ei(this,F,"m",pt).call(this,i,t))).filter(Boolean),s.gridTemplateColumns=+n.gridCols>0?`repeat(${n.gridCols}, 1fr)`:"",this.dashboardMode&&(s.gridTemplateRows=+n.gridRows>0?`repeat(${n.gridRows}, 1fr)`:""));const h=r.length?e("div",{class:u,style:s},r):void 0;return n.title&&!l?e("div",{class:{"input-panel__section_label_container":!0}},e(O,{type:$.HEADING1,value:n.title}),h):h},at=function t(i,n){var l,s;let o=[];if(null===(l=n.sections)||void 0===l?void 0:l.length)o=n.sections.map((n=>ei(this,F,"m",t).call(this,i,n)));else if(null===(s=n.content)||void 0===s?void 0:s.length){const t=n.content.find((t=>t.shape===r.TABLE)),e=t?{absoluteRow:t.absoluteRow,absoluteHeight:t.absoluteHeight}:{};o=n.content.map((t=>ei(this,F,"m",ct).call(this,i,t,e)))}if(null==W(n.absoluteWidth))return o;const a=null!=W(n.absoluteWidth)?`${W(n.absoluteWidth)}px`:"100%",u=null!=D(n.absoluteHeight)?`${D(n.absoluteHeight)}px`:"100%",h=`${I(n.absoluteRow)}px`,p=`${R(n.absoluteColumn)}px`;return e("div",{style:{position:"relative",width:a,"min-width":a,"max-width":a,height:u,"min-height":u,"max-height":u,top:h,left:p,overflow:"auto"}},o)},ut=function t(i){var n,e;let l=[];return(null===(n=i.content)||void 0===n?void 0:n.length)&&i.content.forEach((t=>{t.id&&l.push(t.id)})),(null===(e=i.sections)||void 0===e?void 0:e.length)&&i.sections.forEach((i=>{l=l.concat(ei(this,F,"m",t).call(this,i))})),l},rt=function(t,i){this.tabSelected||(this.tabSelected=i[0].id||"0");const n=i.map(((i,n)=>{const e=ei(this,F,"m",ut).call(this,i),l=t.cells.some((t=>{var i;const n=t.cell;return e.includes(t.column.name)&&!!(null===(i=n.data)||void 0===i?void 0:i.error)}));return{active:(i.id||`${n}`)===this.tabSelected,value:i.title,icon:l?"error":i.icon,id:i.id||`${n}`,danger:l}})),l=i.map(((i,n)=>{const e=i.id||`${n}`;return ei(this,F,"m",ot).call(this,t,i,!0,{display:this.tabSelected!==e?"none":"grid"})}));return e("div",{class:{"input-panel__tabs_container":!0}},e("kup-tab-bar",{data:n,customStyle:".tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }"}),l)},ht=function(t){return!t||!t.cell||!1===t.column.visible},pt=function(t,i){const n=t.cells.find((t=>t.column.name===i.id));if(ei(this,F,"m",ht).call(this,n))return;const l=+i.colSpan>0?i.colSpan:+i.colSpan>0||+i.colStart>0?null:1,s=+i.rowSpan>0?i.rowSpan:+i.rowSpan>0||+i.rowStart>0?null:1;return e("div",{style:{"min-width":"0","grid-column-start":l?`span ${l}`:`${i.colStart}`,"grid-column-end":+i.colEnd>0?`${i.colEnd}`:"","grid-row-start":s?`span ${s}`:`${i.rowStart}`,"grid-row-end":+i.rowEnd>0?`${i.rowEnd}`:""}},ei(this,F,"m",Q).call(this,n.cell,t.row,n.column))},ct=function(t,i,n){const l=t.cells.find((t=>t.column.name===i.id));if(ei(this,F,"m",ht).call(this,l))return;let s;s=l.cell.shape==r.DATE?i.absoluteLength>8?i.absoluteLength:8:i.absoluteLength,i.absoluteHeight||(i.absoluteHeight=1);const o=l.cell.shape===r.LABEL?(t=>0==t?3.75:t?1===t?11.25:7.5*t:null)(s):W(s,(a=l.cell.shape)===r.AUTOCOMPLETE||a===r.COMBOBOX||a===r.DATE);var a;const u=D(i.absoluteHeight),h=I(i.absoluteRow,n),p=R(i.absoluteColumn),c={position:"absolute",width:null!=o?`${o}px`:null,"min-width":null!=o?`${o}px`:null,"max-width":null!=o?`${o}px`:null,height:null!=u?`${u}px`:null,"min-height":null!=u?`${u}px`:null,"max-height":null!=u?`${u}px`:null,top:null!=h?`${h}px`:null,left:null!=p?`${p}px`:null,overflow:"hidden"};return l.cell.data=Object.assign(Object.assign(Object.assign({},l.cell.data),{customStyle:(l.cell.data.customStyle||"")+".mdc-text-field {height: unset !important;}",legacyLook:!0,helperEnabled:!1}),l.cell.shape===r.TABLE&&{rowsPerPage:l.cell.data.data.rows.length,showPaginator:!1,showFooter:!1,tableHeight:`${u}px`}),e("div",{style:c},ei(this,F,"m",Q).call(this,l.cell,t.row,l.column))},ft=function(){this.inputPanelCommands=this.data.setup.commands.map((t=>{if((null==t?void 0:t.children)&&(null==t?void 0:t.children.length)>0){const i={"kup-list":{showIcons:!0,data:t.children.map((t=>ei(this,F,"m",At).call(this,t)))}};return ei(this,F,"m",tt).call(this,t,i)}{const i=ei(this,F,"m",At).call(this,t);return ei(this,F,"m",Z).call(this,i,{name:t.value,title:t.value})}})).flat()},dt=function(t){var i,n,e,l;(null===(n=null===(i=t.setup)||void 0===i?void 0:i.commands)||void 0===n?void 0:n.length)&&ei(this,F,"m",ft).call(this);const s=null===(e=null==t?void 0:t.rows[0])||void 0===e?void 0:e.layout,o=(null===(l=null==t?void 0:t.rows)||void 0===l?void 0:l.length)?t.rows.reduce(((i,n)=>[...i,{cells:t.columns.map((t=>{const i=structuredClone(n.cells[t.name]);return{column:t,cell:i?Object.assign(Object.assign({},i),{data:ei(this,F,"m",mt).call(this,i,t,s),slotData:ei(this,F,"m",gt).call(this,i,t),isEditable:!0}):null}})),row:n}]),[]):[];o.map((({cells:t})=>t.map((({cell:t,column:i})=>{var n;const e=si.ketchup.data.cell.getType(t,t.shape),l=ei(this,V,"f").get(e),s=ei(this,U,"f").get(e);if(!l&&!s)return;const o=(null!=l?l:s)+`[id='${i.name.replace(/\//g,"\\$1")}']`,a=this.rootElement.shadowRoot.querySelector(o);s?null==a||a.reset():null===(n=null==a?void 0:a.setValue)||void 0===n||n.call(a,t.value)})))),this.inputPanelCells=o},mt=function(t,i,n){const e=Object.assign(Object.assign({},ei(this,F,"m",_t).call(this,t,i,n)),{disabled:!t.isEditable||i.useAs===v.KEY,id:i.name}),l=si.ketchup.data.cell.getType(t,t.shape),s=function(t,i){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(e=Object.getOwnPropertySymbols(t);l<e.length;l++)i.indexOf(e[l])<0&&Object.prototype.propertyIsEnumerable.call(t,e[l])&&(n[e[l]]=t[e[l]])}return n}(t.data||{},["data"]);return l!==p.MULTI_AUTOCOMPLETE&&l!==p.MULTI_COMBOBOX?ei(this,F,"m",vt).call(this,e,Object.assign({},t.data)):Object.assign(Object.assign({},e),s)},vt=function t(i,n){for(const e in n)i[e]=n[e]instanceof Object&&!Array.isArray(n[e])&&e in i?ei(this,F,"m",t).call(this,i[e],n[e]):n[e];return i},bt=function(){return this.inputPanelCells.reduce(((t,i)=>{const n=Object.keys(i.row.cells).reduce(((t,n)=>{var e;const l=null===(e=i.cells.find((t=>t.column.name===n)))||void 0===e?void 0:e.cell;let s=null==l?void 0:l.value;return(null==l?void 0:l.shape)===r.TABLE&&(s=JSON.stringify(ei(this,F,"m",Ft).call(this,l.data.data,n))),Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},i.row.cells[n]),{value:s,obj:null==l?void 0:l.obj})})}),{});return{columns:[...t.columns,...i.cells.map((t=>t.column))],rows:[...t.rows,{cells:n,layout:i.row.layout}]}}),{columns:[],rows:[]})},_t=function(t,i,n){if(!t)return null;const e=t.options;let l;l=(null==n?void 0:n.absolute)?null:i.title;const s=t.value,o=si.ketchup.data.cell.getType(t,t.shape),a=new Map([[p.AUTOCOMPLETE,ei(this,F,"m",wt).bind(this)],[p.BUTTON_LIST,ei(this,F,"m",yt).bind(this)],[p.CHART,ei(this,F,"m",xt).bind(this)],[p.CHIP,ei(this,F,"m",kt).bind(this)],[p.CHECKBOX,ei(this,F,"m",Ot).bind(this)],[p.COLOR_PICKER,ei(this,F,"m",$t).bind(this)],[p.COMBOBOX,ei(this,F,"m",wt).bind(this)],[p.EDITOR,ei(this,F,"m",zt).bind(this)],[p.MULTI_AUTOCOMPLETE,ei(this,F,"m",kt).bind(this)],[p.MULTI_COMBOBOX,ei(this,F,"m",kt).bind(this)],[p.NUMBER,ei(this,F,"m",It).bind(this)],[p.DATE,ei(this,F,"m",St).bind(this)],[p.OBJECT,ei(this,F,"m",Ct).bind(this)],[p.RADIO,ei(this,F,"m",Mt).bind(this)],[p.STRING,ei(this,F,"m",Tt).bind(this)],[p.SWITCH,ei(this,F,"m",Et).bind(this)],[p.TABLE,ei(this,F,"m",Rt).bind(this)],[p.TIME,ei(this,F,"m",Dt).bind(this)],[p.IMAGE_LIST,ei(this,F,"m",Lt).bind(this)],[p.FILE_UPLOAD,ei(this,F,"m",Wt).bind(this)]]).get(o);return a?a(e,l,s,t,i.name,n):null},gt=function(t,i){const n=si.ketchup.data.cell.getType(t,t.shape);return n===p.CHIP?{trailingIcon:!0,label:i.title,disabled:!t.isEditable,id:i.name,fullWidth:!1}:n===p.MULTI_AUTOCOMPLETE||n===p.MULTI_COMBOBOX?Object.assign(Object.assign({},ei(this,F,"m",wt).call(this,t.options,i.title,null,t)),{showDropDownIcon:!0,class:"",style:{width:"100%"},disabled:!t.isEditable,id:i.name}):null},kt=function(t,i,n,e){return b(n,e.decode)},xt=function(){return{data:{sizeX:"50px",offlineMode:{value:"8;4;5"},id:"i1012_GREF_0",cellId:"i1012_GREF_0",sizeY:"50px"}}},yt=function(t,i,n,e,l){return e.data=e.data||{},e.data.onClick=()=>{ei(this,F,"m",qt).call(this,e,l)},Object.assign({label:e.value,fun:e.fun},e.data)},wt=function(t,i,n){const e=_(n,i,[]);return t&&(e.data["kup-list"].data=ei(this,F,"m",Kt).call(this,t,n)),e},jt=function({detail:t},i=!1){const n=ei(this,F,"m",X).call(this,t.id);let e=!0;i&&(e=!t.comp.data["kup-list"].data.length),n.fun&&e&&ei(this,F,"m",Vt).call(this,t,n)},Ot=function(t,i,n){return g(n,i)},$t=function(t,i){return{data:{"kup-text-field":{label:i}}}},zt=function(t,i,n){return{initialValue:n}},Tt=function(t,i,n,e,l){var s;const o=Object.assign({label:i},e.data);return this.autoSkip&&e.isEditable&&(null===(s=e.data)||void 0===s?void 0:s.maxLength)&&(o.onInput=t=>{ei(this,F,"m",ii).call(this,l,t)}),o},Mt=function(t,i,n){return k(n,t)},Et=function(t,i,n){return x(n,i)},St=function(t,i,n){return{data:{"kup-text-field":{label:i}},initialValue:null!=n?n:""}},Ct=function(t,i,n){return{initialValue:n||"",label:i||" ",value:n||""}},Lt=function(t,i,n){return{initialValue:n||"",leadingLabel:i||"",value:n||""}},Wt=function(t,i,n,e){return Object.assign({pathString:n},e.data)},Dt=function(t,i,n){return{data:{"kup-text-field":{label:i}},initialValue:n}},It=function(t,i){return{label:i}},Rt=function(t,i,n,e,l,s){try{let t=JSON.parse(e.value);return t?"SmeupDataTable"!==t.type?(ei(this,K,"f").debug.logMessage(this,`Wrong data table type for ${l} cell. Type \`SmeupDataTable\` in value expected`,y.ERROR),null):{data:{columns:t.columns.map((i=>{var n;if(t.rows.length>0){const e=null===(n=t.rows[0].cells[i.name])||void 0===n?void 0:n.obj;return!i.obj&&e?Object.assign(Object.assign({},i),{obj:{t:e.t,p:e.p}}):i}return i})),rows:t.rows.map((i=>Object.assign(Object.assign({},i),{cells:Object.keys(i.cells).reduce(((n,e)=>{const l=t.columns.find((t=>t.name===e));return Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},i.cells[e]),{data:Object.assign(Object.assign({},ei(this,F,"m",_t).call(this,i.cells[e],l,s)),{disabled:!1===i.cells[e].editable,id:l.id})})})}),{})})))}}:(ei(this,K,"f").debug.logMessage(this,`Empty value for ${l} cell.`,y.WARNING),null)}catch(t){return ei(this,K,"f").debug.logMessage(this,`Invalid value for ${l} cell. Type \`SmeupDataTable\` expected`,y.ERROR),null}},Ft=function(t,i){const n=Object.assign(Object.assign({},t),{rows:t.rows.map((t=>Object.assign(Object.assign({},t),{cells:{}})))}),e=t.columns.filter((t=>t.isEditable)).map((t=>t.name));if(!e.length)return n;try{const l=JSON.parse(ei(this,H,"f").rows[0].cells[i].value);return n.rows=t.rows.map(((t,i)=>e.reduce(((n,e)=>{const s=l.rows[i].cells[e]&&t.cells[e].value!==l.rows[i].cells[e].value;return Object.assign(Object.assign({},l.rows[i]),s?{cells:Object.assign(Object.assign({},n.cells),{[e]:Object.assign(Object.assign({},l.rows[i].cells[e]),{value:t.cells[e].value})})}:{cells:n.cells})}),Object.assign(Object.assign({},l.rows[i]),{cells:{}})))),n}catch(t){return n}},Kt=function(t,i){const n=ei(this,N,"f").get(t.type);return n?n(t,i):t.map((t=>({value:t.label,id:t.id,selected:i===t.id})))},Pt=function t(i,n){return i.children.map((i=>{var e;return{id:i.content.codice,value:i.content.testo,selected:n===i.content.codice,children:(null===(e=i.children)||void 0===e?void 0:e.length)?ei(this,F,"m",t).call(this,i,n):[]}}))},Nt=function t(i,n){return i.children.map((i=>{var e;return{id:i.obj.k,value:i.value,selected:n===i.obj.k,children:(null===(e=i.children)||void 0===e?void 0:e.length)?ei(this,F,"m",t).call(this,i,n):[]}}))},Ht=function(t,i){return t.rows.map((t=>{const n=t.fields||t.cells,[e,l]=Object.keys(n);return{id:n[e].value,value:l?n[l].value:n[e].value,selected:i===n[e].value}}))},At=function(t){return Object.assign(Object.assign({},t),{data:ei(this,F,"m",yt).call(this,null,null,t.value,t,t.obj.k),id:t.obj.k})},Vt=function(t,i){this.optionsHandler(i.fun,t.inputValue,ei(this,F,"m",bt).call(this),t.id).then((n=>{var e,l,s,o,a,u;const h=(null===(e=null==n?void 0:n.columns)||void 0===e?void 0:e.filter((t=>!1!==(null==t?void 0:t.visible))).map((t=>t.name)))||[],p=null===(l=null==n?void 0:n.rows)||void 0===l?void 0:l.map((t=>{const{cells:i}=t,n=h.reduce(((n,e)=>(t.cells.hasOwnProperty(e)&&(n[e]=i[e]),n)),{});return Object.assign(Object.assign({},t),{cells:n})})),c=Object.assign(Object.assign({},n),{rows:p}),f=i.shape===r.MULTI_AUTOCOMPLETE?i.slotData.data["kup-list"]:null===(o=null===(s=i.data)||void 0===s?void 0:s.data)||void 0===o?void 0:o["kup-list"];f?(f.data=(null==p?void 0:p.length)&&null!==(a=ei(this,F,"m",Kt).call(this,c,i.value))&&void 0!==a?a:[],f.options=null!==(u=n.columns)&&void 0!==u?u:[]):ei(this,K,"f").debug.logMessage(this,'getAutocompleteEventCallback() - "kup-list" not found in cell.data.data',y.WARNING),t.comp.refresh()}))},Ut=async function(t,i){var n,e,l,s,o;const{detail:{column:a,cell:u}}=t;if(L[i](null==u?void 0:u.shape))return;const r=ei(this,F,"m",X).call(this,a.name),h=ei(this,H,"f").rows[0].cells[a.name];if(r){if(u.mandatory){if(ei(this,F,"m",Gt).call(this,a.name,r.value?(null===(n=h.data)||void 0===n?void 0:n.error)||null:ei(this,K,"f").language.translate(d.REQUIRED_VALUE)),!u.value)return}else ei(this,F,"m",Gt).call(this,a.name,(null===(e=h.data)||void 0===e?void 0:e.error)||null);if(null===(l=u.inputSettings)||void 0===l?void 0:l.checkObject){const{valid:t}=await this.checkValidObjCallback({obj:u.obj,currentState:ei(this,F,"m",bt).call(this),fun:u.fun});if(!t)return void ei(this,F,"m",Gt).call(this,a.name,ei(this,K,"f").language.translate(d.INVALID_VALUE));ei(this,F,"m",Gt).call(this,a.name,(null===(s=h.data)||void 0===s?void 0:s.error)||null)}(null===(o=u.inputSettings)||void 0===o?void 0:o.checkValueOnExit)&&ei(this,F,"m",Jt).call(this)&&this.checkValidValueCallback({before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)},a.name)}},Bt=function({detail:{cell:t,column:i}}){var n;t.shape!==r.CHECKBOX&&t.shape!==r.SWITCH||(this.updateOnClick?this.submitCb({value:{before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)},cell:i.name}):(null===(n=t.inputSettings)||void 0===n?void 0:n.checkValueOnExit)&&this.checkValidValueCallback({before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)},i.name))},Gt=function(t,i){this.inputPanelCells=this.inputPanelCells.map((n=>Object.assign(Object.assign({},n),{cells:n.cells.map((({cell:n,column:e})=>{const l=e.name===t?Object.assign(Object.assign({},n.data),{error:i}):n.data;return{column:e,cell:Object.assign(Object.assign({},n),{data:l})}}))})))},Jt=function(){return this.inputPanelCells.some((({cells:t,row:i})=>t.some((({cell:t,column:{name:n}})=>t.value!==i.cells[n].value))))},qt=function(t,i){(null==t?void 0:t.fun)?this.customButtonClickHandler({fun:t.fun,cellId:i,currentState:ei(this,F,"m",bt).call(this)}):this.submitCb({value:{before:Object.assign({},ei(this,H,"f")),after:ei(this,F,"m",bt).call(this)},cell:i})},Xt=function(t){return ei(this,K,"f").getEventPath(t.target,this.rootElement).find((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains("f-cell")}))},Yt=function(t){const i=ei(this,F,"m",Xt).call(this,t);if(null==i)return;const n=ei(this,F,"m",bt).call(this),e=i["kup-get-cell-props"]().column.name;return{anchor:i,cell:n.rows[0].cells[e],column:n.columns.find((t=>t.name==e)),row:n.rows[0],originalEvent:t}},Qt=function(){ei(this,K,"f").interact.managedElements.add(ei(this,P,"f")),ei(this,K,"f").interact.on(ei(this,P,"f"),w.TAP,(t=>{if(2==t.button){const i=ei(this,F,"m",Yt).call(this,t);i&&this.kupDataTableContextMenu.emit({comp:this,id:this.rootElement.id,details:i})}}))},Zt=function(){if(!ei(this,P,"f"))return;const t=Array.from(ei(this,P,"f").querySelectorAll(".f-cell__content"));for(const i of t){const t=ei(this,F,"m",ti).call(this,i,!0);if(t)return void setTimeout((()=>t.focus()),300)}if(!this.autoFocus||0===t.length)return;const i=ei(this,F,"m",ti).call(this,t[0]);i&&setTimeout((()=>i.focus()),300)},ti=function(t,i=!1){if(!(t&&t instanceof HTMLElement))return;const n=".mdc-text-field__input",e=i?`.mdc-text-field--error ${n}`:n,l=t.querySelector(e);if(l)return l;const s=Array.from(t.querySelectorAll("*")).filter((t=>t.shadowRoot));for(const t of s){const i=t.shadowRoot.querySelector(e);if(i)return i}},ii=function(t,i){var n,e;const l=null==i?void 0:i.target;if(!(l&&l instanceof HTMLInputElement))return;const{maxLength:s,value:o}=l;if(!s||s<0||(null==o?void 0:o.length)<s)return;const a=Array.from(null===(n=ei(this,P,"f"))||void 0===n?void 0:n.querySelectorAll(".f-text-field")).reduce(((t,i)=>{const n=i.querySelector("input");return n?(t.push({id:(null==i?void 0:i.id)||"",HTMLInputElement:n}),t):t}),[]);if(!a.length)return;const u=a.findIndex((i=>i.id===t));u<0||u===a.length-1||null===(e=a[u+1].HTMLInputElement)||void 0===e||e.focus()},ni=function(t){t.stopPropagation(),this.kupCellUpload.emit(t.detail)},oi.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:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_textfield_textarea_height_input_panel:var(\n --kup-textfield-textarea-height-input_panel,\n 200px\n );--kup_textfield_textarea_width_input_panel:var(\n --kup-textfield-textarea-width-input_panel,\n 300px\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0);--kup_input_panel_padding--inline:var(\n --kup-input-panel-padding--inline,\n 1em 0\n );--kup_input_panel_absolute_max_height:var(\n --kup-input-panel-absolute-max-height,\n \n 716px\n )}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:8px}:host .input-panel__commands{display:flex;gap:1rem}:host .input-panel__commands.input-panel__commands--right{flex-shrink:0;overflow:hidden}:host .input-panel--inline{flex:1;overflow-x:auto;white-space:nowrap;padding:var(--kup_input_panel_padding--inline);display:inline-flex;align-items:flex-end}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel .f-text-field .mdc-text-field.mdc-text-field--textarea{min-height:var(--kup_textfield_textarea_height_input_panel) !important;min-width:var(--kup_textfield_textarea_width_input_panel) !important}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel__section-inline{display:inline-block;width:max-content}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel .input-panel-label--legacy-look{font-size:12px;font-family:var(--kup-font-family-monospace);white-space:pre;overflow:hidden}:host .input-panel--absolute{justify-content:flex-end;padding:var(--kup-space-02);max-height:var(--kup_input_panel_absolute_max_height);--kup-textfield-extrasmall-height:20px;--kup-textfield-extrasmall-padding:0 var(--kup-space-01)}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .input-panel-label.input-panel-label-number{justify-content:end}:host .input-panel--absolute .mdc-text-field{height:unset !important}:host .input-panel-form--inline{display:flex;align-items:end;gap:1rem}";export{oi as kup_input_panel}