@sankhyalabs/ezui 7.1.0-dev.6 → 7.1.0-dev.8
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.
- package/dist/cjs/ez-popup.cjs.entry.js +6 -6
- package/dist/cjs/ez-tree.cjs.entry.js +123 -13
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-popup/ez-popup.css +0 -1
- package/dist/collection/components/ez-popup/ez-popup.js +6 -6
- package/dist/collection/components/ez-tree/ez-tree.js +139 -14
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +4 -1
- package/dist/collection/components/ez-tree/types/Node.js +7 -0
- package/dist/collection/components/ez-tree/types/Tree.js +17 -0
- package/dist/collection/components/ez-tree/types/UpdateItemConfig.js +1 -0
- package/dist/custom-elements/index.js +129 -19
- package/dist/esm/ez-popup.entry.js +6 -6
- package/dist/esm/ez-tree.entry.js +123 -13
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-294f54fe.entry.js +1 -0
- package/dist/ezui/p-ed642f02.entry.js +1 -0
- package/dist/types/components/ez-tree/ez-tree.d.ts +15 -1
- package/dist/types/components/ez-tree/types/Node.d.ts +1 -0
- package/dist/types/components/ez-tree/types/Tree.d.ts +1 -0
- package/dist/types/components/ez-tree/types/UpdateItemConfig.d.ts +4 -0
- package/dist/types/components.d.ts +10 -1
- package/package.json +1 -1
- package/dist/ezui/p-6d8f5cb0.entry.js +0 -1
- package/dist/ezui/p-ce5d69da.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -18,7 +18,7 @@ const defineCustomElements = (win, options) => {
|
|
|
18
18
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
19
19
|
return patchEsm().then(() => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"ez-guide-navigator.cjs\",[[1,\"ez-guide-navigator\",{\"open\":[1540],\"selectedId\":[1537,\"selected-id\"],\"items\":[16],\"tooltipResolver\":[16],\"filterText\":[32],\"disableItem\":[64],\"openGuideNavidator\":[64],\"enableItem\":[64],\"updateItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"selectGuide\":[64],\"getParent\":[64]}]]],[\"ez-alert-list.cjs\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-actions-button.cjs\",[[1,\"ez-actions-button\",{\"enabled\":[516],\"actions\":[1040],\"size\":[513],\"showLabel\":[516,\"show-label\"],\"displayIcon\":[513,\"display-icon\"],\"checkOption\":[516,\"check-option\"],\"value\":[513],\"isTransparent\":[516,\"is-transparent\"],\"arrowActive\":[516,\"arrow-active\"],\"_selectedAction\":[32],\"hideActions\":[64],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-dialog.cjs\",[[1,\"ez-dialog\",{\"confirm\":[1028],\"dialogType\":[1025,\"dialog-type\"],\"message\":[1025],\"opened\":[1540],\"personalizedIconPath\":[1025,\"personalized-icon-path\"],\"ezTitle\":[1025,\"ez-title\"],\"beforeClose\":[1040],\"show\":[64]}]]],[\"ez-tile.cjs\",[[1,\"ez-tile\",{\"text\":[513],\"size\":[513],\"height\":[514],\"width\":[514],\"color\":[513],\"iconName\":[513,\"icon-name\"],\"maximumLines\":[514,\"maximum-lines\"],\"isInteractive\":[516,\"is-interactive\"],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-application.cjs\",[[0,\"ez-application\"]]],[\"ez-empty-card.cjs\",[[1,\"ez-empty-card\",{\"color\":[513],\"height\":[514],\"width\":[514]}]]],[\"ez-modal.cjs\",[[1,\"ez-modal\",{\"modalSize\":[1,\"modal-size\"],\"align\":[1],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-tag.cjs\",[[1,\"ez-tag\",{\"label\":[513],\"color\":[513],\"customBackgroundColor\":[1,\"custom-background-color\"],\"customLabelColor\":[1,\"custom-label-color\"]}]]],[\"ez-icon.cjs\",[[1,\"ez-icon\",{\"size\":[513],\"fontSize\":[520,\"font-size\"],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-tile-medium.cjs\",[[1,\"ez-tile-medium\",{\"color\":[1],\"iconName\":[1,\"icon-name\"],\"iconColor\":[1,\"icon-color\"],\"smallTitleText\":[1,\"small-title-text\"],\"smallTitleMaximumLines\":[2,\"small-title-maximum-lines\"],\"titleText\":[1,\"title-text\"],\"titleMaximumLines\":[2,\"title-maximum-lines\"],\"descriptionText\":[1,\"description-text\"],\"descriptionMaximumLines\":[2,\"description-maximum-lines\"],\"height\":[1],\"width\":[1],\"avatarProps\":[16],\"buttonProps\":[16],\"tags\":[16],\"setButtonFocus\":[64],\"setButtonBlur\":[64]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-toast.cjs\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-text-input.cjs\",[[1,\"ez-text-input\",{\"label\":[513],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"hasInvalid\":[1540,\"has-invalid\"],\"mask\":[1],\"cleanValueMask\":[4,\"clean-value-mask\"],\"canShowError\":[516,\"can-show-error\"],\"restrict\":[1],\"mode\":[513],\"noBorder\":[516,\"no-border\"],\"password\":[4],\"autoFocus\":[4,\"auto-focus\"],\"hasRightSlotContent\":[32],\"forceLabelFloat\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-grid.cjs\",[[6,\"ez-grid\",{\"enableLockManagerLoadingComp\":[1028,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"multipleSelection\":[4,\"multiple-selection\"],\"config\":[1040],\"selectionToastConfig\":[16],\"serverUrl\":[1,\"server-url\"],\"dataUnit\":[16],\"statusResolver\":[16],\"columnfilterDataSource\":[16],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[1028,\"can-edit\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"enableContinuousInsert\":[4,\"enable-continuous-insert\"],\"suppressCheckboxColumn\":[1028,\"suppress-checkbox-column\"],\"suppressFilterColumn\":[1028,\"suppress-filter-column\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"compact\":[1028],\"useSearchColumn\":[4,\"use-search-column\"],\"suppressHorizontalScroll\":[4,\"suppress-horizontal-scroll\"],\"mode\":[513],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[64],\"getAppliedColumnFilters\":[64],\"refreshColumnFilterDataSource\":[64],\"addColumnMenuItem\":[64],\"setColumnsState\":[64],\"setData\":[64],\"getSelection\":[64],\"getColumnsState\":[64],\"getColumns\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"refreshSelectedRows\":[64],\"getCustomValueFormatter\":[64],\"setFocus\":[64],\"stopEdit\":[64],\"checkStopEditOutsideClick\":[64]},[[0,\"applyFilterColumnOptions\",\"handleApplyFilterColumn\"],[0,\"ezSelectionChange\",\"onSelectionChange\"],[2,\"click\",\"handleClick\"]]]]],[\"ez-grid-view.cjs\",[[6,\"ez-grid-view\",{\"metadata\":[16],\"records\":[16],\"columnsConfig\":[1040],\"pageSize\":[2,\"page-size\"],\"recordDateFormat\":[1,\"record-date-format\"],\"multipleSelection\":[4,\"multiple-selection\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"suppressCheckboxColumn\":[1028,\"suppress-checkbox-column\"],\"suppressFilterColumn\":[4,\"suppress-filter-column\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"compact\":[1028],\"useSearchColumn\":[4,\"use-search-column\"],\"suppressHorizontalScroll\":[4,\"suppress-horizontal-scroll\"],\"inMemoryLoader\":[32],\"getDataUnit\":[64],\"refresh\":[64],\"getSelection\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addColumnMenuItem\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"addGridCustomRender\":[64],\"setFocus\":[64]}]]],[\"ez-double-list.cjs\",[[2,\"ez-double-list\",{\"leftList\":[1040],\"leftTitle\":[1,\"left-title\"],\"rightList\":[1040],\"entityLabel\":[1,\"entity-label\"],\"entityLabelPlural\":[1,\"entity-label-plural\"],\"leftListLabel\":[1,\"left-list-label\"],\"rightListLabel\":[1,\"right-list-label\"],\"useOnlyRightList\":[4,\"use-only-right-list\"],\"rightTitle\":[1,\"right-title\"],\"emptyMessage\":[16],\"slotsListBuilder\":[1040],\"leftFilteredList\":[32],\"rightFilteredList\":[32],\"selectedLeftList\":[32],\"selectedRightList\":[32],\"isFilteringLeft\":[32],\"isFilteringRight\":[32],\"resetSelectedLists\":[64]}]]],[\"ez-sidebar-navigator.cjs\",[[1,\"ez-sidebar-navigator\",{\"type\":[1],\"mode\":[1025],\"size\":[1],\"isResponsive\":[4,\"is-responsive\"],\"titleMenu\":[1,\"title-menu\"],\"showCollapseMenu\":[4,\"show-collapse-menu\"],\"showFixedButton\":[4,\"show-fixed-button\"],\"open\":[32],\"changeModeMenu\":[64],\"closeSidebar\":[64],\"openSidebar\":[64]}]]],[\"ez-breadcrumb.cjs\",[[1,\"ez-breadcrumb\",{\"items\":[1040],\"fillMode\":[1025,\"fill-mode\"],\"maxItems\":[1026,\"max-items\"],\"positionEllipsis\":[1026,\"position-ellipsis\"],\"visibleItems\":[32],\"hiddenItems\":[32],\"showDropdown\":[32],\"collapseConfigPosition\":[32]}]]],[\"ez-classic-combo-box.cjs\",[[1,\"ez-classic-combo-box\",{\"value\":[1040],\"label\":[1],\"placeholder\":[1025],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"state\":[1],\"helpText\":[1,\"help-text\"],\"iconName\":[1,\"icon-name\"],\"titleIcon\":[1,\"title-icon\"],\"iconClickable\":[4,\"icon-clickable\"],\"suppressSearch\":[4,\"suppress-search\"],\"options\":[16],\"textEmptyOption\":[1,\"text-empty-option\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"popoverVisible\":[32],\"hasSlotContent\":[32],\"highlightedIndex\":[32],\"filteredOptions\":[32],\"inputValue\":[32],\"setFocus\":[64],\"setBlur\":[64],\"showPopover\":[64],\"hidePopover\":[64],\"setValue\":[64]}]]],[\"ez-split-button.cjs\",[[1,\"ez-split-button\",{\"show\":[1540],\"enabled\":[516],\"isDisabled\":[520,\"is-disabled\"],\"iconName\":[513,\"icon-name\"],\"leftIconName\":[513,\"left-icon-name\"],\"rightIconName\":[513,\"right-icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"variant\":[1537],\"suppressAnimation\":[1540,\"suppress-animation\"],\"itemBuilder\":[16],\"leftRipples\":[32],\"rightRipples\":[32],\"isLeftPressed\":[32],\"isRightPressed\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64],\"toggleDropdown\":[64],\"isOpenedDropdown\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[1,\"touchstart\",\"onTouchStart\"],[2,\"click\",\"clickListener\"]]]]],[\"ez-tag-input.cjs\",[[1,\"ez-tag-input\",{\"label\":[1],\"placeholder\":[1],\"helpText\":[1025,\"help-text\"],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"tags\":[1040],\"maxTagLength\":[2,\"max-tag-length\"],\"maxTags\":[2,\"max-tags\"],\"allowDuplicates\":[4,\"allow-duplicates\"],\"state\":[1537],\"validator\":[16],\"suppressTagsKeyboardNavigation\":[4,\"suppress-tags-keyboard-navigation\"],\"suppressBackspaceToRemove\":[4,\"suppress-backspace-to-remove\"],\"setFocus\":[64],\"setBlur\":[64],\"addTag\":[64],\"removeTag\":[64],\"clearTags\":[64]}]]],[\"ez-pagination.cjs\",[[2,\"ez-pagination\",{\"type\":[1],\"currentPage\":[1026,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"pageSize\":[2,\"page-size\"],\"hideInfoLabel\":[4,\"hide-info-label\"],\"pageLimit\":[2,\"page-limit\"]}]]],[\"ez-split-item.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"structural\":[4],\"_expanded\":[32]}]]],[\"ez-classic-text-area.cjs\",[[1,\"ez-classic-text-area\",{\"name\":[1],\"label\":[1],\"placeholder\":[1],\"value\":[1],\"helpText\":[1,\"help-text\"],\"state\":[1],\"enabled\":[4],\"readonly\":[4],\"maxlength\":[2],\"resize\":[1],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"rightIconTooltip\":[1,\"right-icon-tooltip\"],\"leftIconTooltip\":[1,\"left-icon-tooltip\"],\"leftIconClickable\":[4,\"left-icon-clickable\"],\"rightIconClickable\":[4,\"right-icon-clickable\"],\"rows\":[2],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item.cjs\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-list-item.cjs\",[[2,\"ez-list-item\",{\"titleText\":[513,\"title-text\"],\"text\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-chart.cjs\",[[1,\"ez-chart\",{\"type\":[1],\"xAxis\":[16],\"yAxis\":[16],\"chartTitle\":[1,\"chart-title\"],\"chartSubTitle\":[1,\"chart-sub-title\"],\"legendEnabled\":[4,\"legend-enabled\"],\"series\":[16],\"width\":[2],\"height\":[2]}]]],[\"ez-loading-bar.cjs\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-progress-bar.cjs\",[[2,\"ez-progress-bar\",{\"percent\":[514],\"label\":[513],\"helpText\":[513,\"help-text\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-spinner.cjs\",[[1,\"ez-spinner\",{\"size\":[1]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"structural\":[4],\"rebuildLayout\":[64]}]]],[\"ez-underface.cjs\",[[1,\"ez-underface\",{\"color\":[513],\"customColor\":[513,\"custom-color\"],\"height\":[514],\"width\":[514]}]]],[\"ez-view-stack.cjs\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tooltip.cjs\",[[1,\"ez-tooltip\",{\"message\":[1],\"anchoringElement\":[1040],\"placement\":[1],\"gapOptions\":[16],\"type\":[1],\"debouncingTime\":[2,\"debouncing-time\"],\"active\":[4],\"maxWidth\":[2,\"max-width\"],\"useAnchorSize\":[4,\"use-anchor-size\"],\"strategy\":[1]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"singleColumn\":[4,\"single-column\"],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-filter-input.cjs\",[[1,\"ez-filter-input\",{\"label\":[1],\"value\":[1537],\"enabled\":[4],\"errorMessage\":[1537,\"error-message\"],\"restrict\":[1],\"mode\":[513],\"asyncSearch\":[516,\"async-search\"],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"setValue\":[64],\"endSearch\":[64]}]]],[\"ez-sortable-list.cjs\",[[1,\"ez-sortable-list\",{\"title\":[1],\"hideHeader\":[4,\"hide-header\"],\"hideTotalizer\":[4,\"hide-totalizer\"],\"group\":[1],\"dataSource\":[16],\"idSortableList\":[1,\"id-sortable-list\"],\"entityLabel\":[1,\"entity-label\"],\"entityLabelPlural\":[1,\"entity-label-plural\"],\"emptyMessage\":[1,\"empty-message\"],\"hoverFeedback\":[4,\"hover-feedback\"],\"enableMultipleSelection\":[4,\"enable-multiple-selection\"],\"removeItensMoved\":[4,\"remove-itens-moved\"],\"itemRightSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"filterTerm\":[32],\"selectedItems\":[32],\"clearSelection\":[64]}]]],[\"ez-chip.cjs\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"disableAutoUpdateValue\":[4,\"disable-auto-update-value\"],\"maxWidth\":[1,\"max-width\"],\"size\":[1],\"iconNameLeft\":[1,\"icon-name-left\"],\"iconNameRight\":[1,\"icon-name-right\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"removeWithKeyboard\":[4,\"remove-with-keyboard\"],\"_isOverflowing\":[32],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-avatar.cjs\",[[1,\"ez-avatar\",{\"name\":[513],\"imageSrc\":[513,\"image-src\"],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"shape\":[513],\"isInteractive\":[516,\"is-interactive\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"alignItems\":[1537,\"align-items\"],\"hasSlot\":[32]}]]],[\"ez-classic-input.cjs\",[[1,\"ez-classic-input\",{\"type\":[1],\"value\":[1025],\"label\":[1],\"helpText\":[1,\"help-text\"],\"placeholder\":[1025],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"minlength\":[2],\"maxlength\":[2],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"rightIconTooltip\":[1,\"right-icon-tooltip\"],\"leftIconTooltip\":[1,\"left-icon-tooltip\"],\"state\":[1],\"leftIconClickable\":[4,\"left-icon-clickable\"],\"rightIconClickable\":[4,\"right-icon-clickable\"],\"mask\":[1],\"emitMaskedValue\":[4,\"emit-masked-value\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-tabselector.cjs\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree.cjs\",[[1,\"ez-tree\",{\"items\":[1040],\"value\":[1040],\"selectedId\":[1537,\"selected-id\"],\"iconResolver\":[16],\"tooltipResolver\":[16],\"enableHierarchicalFilter\":[4,\"enable-hierarchical-filter\"],\"selectable\":[4],\"_tree\":[32],\"_waintingForLoad\":[32],\"selectItem\":[64],\"openItem\":[64],\"disableItem\":[64],\"enableItem\":[64],\"addChild\":[64],\"applyFilter\":[64],\"expandAll\":[64],\"collapseAll\":[64],\"updateItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"getParent\":[64]},[[2,\"keydown\",\"onKeyDownListener\"]]]]],[\"ez-multi-selection-list.cjs\",[[2,\"ez-multi-selection-list\",{\"columnName\":[1,\"column-name\"],\"dataSource\":[16],\"useOptions\":[1028,\"use-options\"],\"options\":[1040],\"isTextSearch\":[4,\"is-text-search\"],\"filteredOptions\":[32],\"displayOptions\":[32],\"viewScenario\":[32],\"displayOptionToCheckAllItems\":[32],\"clearFilteredOptions\":[64]}]]],[\"filter-column.cjs\",[[0,\"filter-column\",{\"opened\":[4],\"columnName\":[1,\"column-name\"],\"columnLabel\":[1,\"column-label\"],\"gridHeaderHidden\":[4,\"grid-header-hidden\"],\"noHeaderTaskBar\":[1028,\"no-header-task-bar\"],\"dataSource\":[16],\"dataUnit\":[16],\"options\":[1040],\"selectedItems\":[32],\"fieldDescriptor\":[32],\"useOptions\":[32],\"isTextSearch\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-search-result-list.cjs\",[[1,\"ez-search-result-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"value\":[1],\"showOptionValue\":[4,\"show-option-value\"],\"_preSelection\":[32],\"nextOption\":[64],\"previousOption\":[64],\"selectCurrentItem\":[64],\"cancelSelection\":[64]}]]],[\"ez-search-plus.cjs\",[[1,\"ez-search-plus\",{\"value\":[1537],\"enabled\":[1540],\"disableCodeInput\":[1540,\"disable-code-input\"],\"disableDescriptionInput\":[1540,\"disable-description-input\"],\"label\":[1537],\"codLabel\":[1537,\"cod-label\"],\"hideDescriptionInput\":[1540,\"hide-description-input\"],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"contextProperties\":[8,\"context-properties\"],\"optionLoader\":[16],\"showOptionValue\":[4,\"show-option-value\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"autoFocus\":[4,\"auto-focus\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"suppressSearch\":[4,\"suppress-search\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"descriptionValue\":[32],\"codeValue\":[32],\"isLoadingDescription\":[32],\"searchDescriptionIsOpen\":[32],\"visibleOptions\":[32],\"showLoading\":[32],\"setFocus\":[64],\"getValueAsync\":[64],\"clearValue\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-combo-box.cjs\",[[1,\"ez-combo-box\",{\"limitCharsToSearch\":[2,\"limit-chars-to-search\"],\"value\":[1537],\"label\":[513],\"enabled\":[516],\"options\":[1040],\"errorMessage\":[1537,\"error-message\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressSearch\":[4,\"suppress-search\"],\"optionLoader\":[16],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"autoFocus\":[4,\"auto-focus\"],\"preventAutoFocus\":[4,\"prevent-auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"textEmptyOption\":[1,\"text-empty-option\"],\"isOpen\":[32],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]}]]],[\"ez-date-input.cjs\",[[1,\"ez-date-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-collapsible-box.cjs\",[[1,\"ez-collapsible-box\",{\"value\":[1540],\"boxBordered\":[4,\"box-bordered\"],\"label\":[513],\"subtitle\":[513],\"headerSize\":[513,\"header-size\"],\"iconPlacement\":[513,\"icon-placement\"],\"headerAlign\":[513,\"header-align\"],\"removable\":[516],\"editable\":[516],\"conditionalSave\":[16],\"_activeEditText\":[32],\"showHide\":[64],\"applyFocusTextEdit\":[64],\"cancelEdition\":[64]}]]],[\"ez-number-input.cjs\",[[1,\"ez-number-input\",{\"label\":[1],\"value\":[1538],\"enabled\":[4],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"allowNegative\":[4,\"allow-negative\"],\"precision\":[2],\"prettyPrecision\":[2,\"pretty-precision\"],\"mode\":[513],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[1,\"alternative-placeholder\"],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-time-input.cjs\",[[1,\"ez-time-input\",{\"label\":[513],\"value\":[1026],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[1,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-text-area.cjs\",[[1,\"ez-text-area\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"rows\":[1538],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"enableResize\":[516,\"enable-resize\"],\"autoRows\":[516,\"auto-rows\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"forceLabelFloat\":[32],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-calendar.cjs\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-date-time-input.cjs\",[[1,\"ez-date-time-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-dropdown.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-upload.cjs\",[[1,\"ez-upload\",{\"label\":[1],\"subtitle\":[1],\"enabled\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"maxFiles\":[2,\"max-files\"],\"requestHeaders\":[8,\"request-headers\"],\"urlUpload\":[1,\"url-upload\"],\"urlDelete\":[1,\"url-delete\"],\"value\":[1040],\"addFiles\":[64],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-popover.cjs\",[[1,\"ez-popover\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"innerElement\":[1537,\"inner-element\"],\"overlayType\":[513,\"overlay-type\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64]}]]],[\"ez-scroller_2.cjs\",[[1,\"ez-sidebar-button\"],[1,\"ez-scroller\",{\"direction\":[1],\"locked\":[4],\"activeShadow\":[4,\"active-shadow\"],\"isActive\":[32]},[[2,\"click\",\"clickListener\"],[1,\"mousedown\",\"mouseDownHandler\"],[1,\"mouseup\",\"mouseUpHandler\"],[1,\"mousemove\",\"mouseMoveHandler\"]]]]],[\"ez-search.cjs\",[[1,\"ez-search\",{\"value\":[1537],\"label\":[1537],\"enabled\":[1540],\"errorMessage\":[1537,\"error-message\"],\"optionLoader\":[16],\"contextProperties\":[8,\"context-properties\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"options\":[1040],\"suppressSearch\":[4,\"suppress-search\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"showMore\":[4,\"show-more\"],\"suppressInputPersist\":[1028,\"suppress-input-persist\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_showLoadingDescription\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]}]]],[\"ez-check.cjs\",[[1,\"ez-check\",{\"label\":[513],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-list.cjs\",[[2,\"ez-list\",{\"dataSource\":[1040],\"listMode\":[1,\"list-mode\"],\"useGroups\":[1540,\"use-groups\"],\"ezDraggable\":[1028,\"ez-draggable\"],\"ezSelectable\":[1028,\"ez-selectable\"],\"itemSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"hoverFeedback\":[1028,\"hover-feedback\"],\"enableMultipleSelection\":[4,\"enable-multiple-selection\"],\"enabled\":[4],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-button.cjs\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"isDisabled\":[520,\"is-disabled\"],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"variant\":[1],\"type\":[1],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"suppressAnimation\":[4,\"suppress-animation\"],\"ripples\":[32],\"isPressed\":[32],\"setFocus\":[64],\"setBlur\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[1,\"touchstart\",\"onTouchStart\"],[2,\"click\",\"clickListener\"]]]]],[\"ez-modal-container.cjs\",[[6,\"ez-modal-container\",{\"modalTitle\":[1,\"modal-title\"],\"modalSubTitle\":[1,\"modal-sub-title\"],\"showTitleBar\":[4,\"show-title-bar\"],\"cancelButtonLabel\":[1,\"cancel-button-label\"],\"okButtonLabel\":[1,\"ok-button-label\"],\"cancelButtonStatus\":[1,\"cancel-button-status\"],\"okButtonStatus\":[1,\"ok-button-status\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-popup.cjs\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"],\"enabledScroll\":[4,\"enabled-scroll\"],\"autoClose\":[4,\"auto-close\"],\"footerButtons\":[16]}]]],[\"ez-rich-toolbar-item.cjs\",[[2,\"ez-rich-toolbar-item\",{\"icon\":[1],\"command\":[1],\"title\":[1],\"value\":[1]}]]],[\"ez-skeleton.cjs\",[[0,\"ez-skeleton\",{\"template\":[1],\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginTop\":[1,\"margin-top\"],\"marginRight\":[1,\"margin-right\"],\"marginBottom\":[1,\"margin-bottom\"],\"marginLeft\":[1,\"margin-left\"],\"animation\":[1]}]]],[\"ez-popover-core.cjs\",[[1,\"ez-popover-core\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"overlayType\":[513,\"overlay-type\"],\"anchorElement\":[1537,\"anchor-element\"],\"options\":[1040],\"useAnchorSize\":[516,\"use-anchor-size\"],\"minWidth\":[514,\"min-width\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64],\"setOptions\":[64],\"setAnchorElement\":[64]}]]],[\"ez-link-builder_6.cjs\",[[2,\"ez-link-builder\",{\"textToShow\":[32],\"link\":[32],\"openInNewGuide\":[32],\"show\":[64],\"hide\":[64]}],[2,\"ez-simple-image-uploader\",{\"maxSize\":[2,\"max-size\"],\"link\":[32],\"base64\":[32],\"messageError\":[32],\"selectedFile\":[32],\"show\":[64],\"hide\":[64]}],[2,\"ez-rich-toolbar\",{\"showPreview\":[4,\"show-preview\"],\"isPreviewMode\":[4,\"is-preview-mode\"],\"showConfigs\":[4,\"show-configs\"],\"showTextFormat\":[4,\"show-text-format\"],\"showUndoRedo\":[4,\"show-undo-redo\"]},[[0,\"actionTriggered\",\"handleActionTriggered\"]]],[2,\"ez-rich-toolbar-arrows\"],[2,\"ez-rich-toolbar-configs\"],[2,\"ez-rich-toolbar-letters\"]]],[\"ez-combo-box-list_4.cjs\",[[2,\"ez-rich-text\",{\"showPreview\":[4,\"show-preview\"],\"value\":[1537],\"label\":[513],\"mode\":[513],\"enabled\":[516],\"rows\":[514],\"errorMessage\":[1537,\"error-message\"],\"canShowError\":[516,\"can-show-error\"],\"showConfigs\":[4,\"show-configs\"],\"showTextFormat\":[4,\"show-text-format\"],\"showUndoRedo\":[4,\"show-undo-redo\"],\"previewMode\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]},[[0,\"executeToolbarCommand\",\"handleExecuteToolbarCommand\"]]],[2,\"ez-custom-form-input\",{\"customEditor\":[16],\"formViewField\":[16],\"value\":[1032],\"detailContext\":[1,\"detail-context\"],\"builderFallback\":[16],\"selectedRecord\":[16],\"gui\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}],[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}],[1,\"ez-combo-box-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"textEmptyList\":[1,\"text-empty-list\"],\"showOptionValue\":[4,\"show-option-value\"],\"preSelection\":[2,\"pre-selection\"],\"maxWidth\":[2,\"max-width\"],\"width\":[2],\"onOptionSelect\":[16],\"onOptionHover\":[16],\"nextOption\":[64],\"previousOption\":[64],\"selectCurrentOption\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-card-item.cjs\",[[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"],\"compacted\":[4]}]]],[\"ez-popover-plus_3.cjs\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"search-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"textEmptyList\":[1,\"text-empty-list\"],\"canShowListOptions\":[4,\"can-show-list-options\"],\"value\":[1],\"showOptionValue\":[4,\"show-option-value\"],\"preSelection\":[2,\"pre-selection\"],\"nextOption\":[64],\"previousOption\":[64]}],[1,\"ez-popover-plus\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"overlayType\":[513,\"overlay-type\"],\"anchorElement\":[1537,\"anchor-element\"],\"options\":[1040],\"useAnchorSize\":[516,\"use-anchor-size\"],\"minWidth\":[514,\"min-width\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64],\"setOptions\":[64],\"setAnchorElement\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"useSearchField\":[4,\"use-search-field\"],\"elementFocusSearchField\":[16],\"_fieldsProps\":[32],\"_singleColumn\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]]]"), options);
|
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"ez-guide-navigator.cjs\",[[1,\"ez-guide-navigator\",{\"open\":[1540],\"selectedId\":[1537,\"selected-id\"],\"items\":[16],\"tooltipResolver\":[16],\"filterText\":[32],\"disableItem\":[64],\"openGuideNavidator\":[64],\"enableItem\":[64],\"updateItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"selectGuide\":[64],\"getParent\":[64]}]]],[\"ez-alert-list.cjs\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-actions-button.cjs\",[[1,\"ez-actions-button\",{\"enabled\":[516],\"actions\":[1040],\"size\":[513],\"showLabel\":[516,\"show-label\"],\"displayIcon\":[513,\"display-icon\"],\"checkOption\":[516,\"check-option\"],\"value\":[513],\"isTransparent\":[516,\"is-transparent\"],\"arrowActive\":[516,\"arrow-active\"],\"_selectedAction\":[32],\"hideActions\":[64],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-dialog.cjs\",[[1,\"ez-dialog\",{\"confirm\":[1028],\"dialogType\":[1025,\"dialog-type\"],\"message\":[1025],\"opened\":[1540],\"personalizedIconPath\":[1025,\"personalized-icon-path\"],\"ezTitle\":[1025,\"ez-title\"],\"beforeClose\":[1040],\"show\":[64]}]]],[\"ez-tile.cjs\",[[1,\"ez-tile\",{\"text\":[513],\"size\":[513],\"height\":[514],\"width\":[514],\"color\":[513],\"iconName\":[513,\"icon-name\"],\"maximumLines\":[514,\"maximum-lines\"],\"isInteractive\":[516,\"is-interactive\"],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-application.cjs\",[[0,\"ez-application\"]]],[\"ez-empty-card.cjs\",[[1,\"ez-empty-card\",{\"color\":[513],\"height\":[514],\"width\":[514]}]]],[\"ez-modal.cjs\",[[1,\"ez-modal\",{\"modalSize\":[1,\"modal-size\"],\"align\":[1],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-tag.cjs\",[[1,\"ez-tag\",{\"label\":[513],\"color\":[513],\"customBackgroundColor\":[1,\"custom-background-color\"],\"customLabelColor\":[1,\"custom-label-color\"]}]]],[\"ez-icon.cjs\",[[1,\"ez-icon\",{\"size\":[513],\"fontSize\":[520,\"font-size\"],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-tile-medium.cjs\",[[1,\"ez-tile-medium\",{\"color\":[1],\"iconName\":[1,\"icon-name\"],\"iconColor\":[1,\"icon-color\"],\"smallTitleText\":[1,\"small-title-text\"],\"smallTitleMaximumLines\":[2,\"small-title-maximum-lines\"],\"titleText\":[1,\"title-text\"],\"titleMaximumLines\":[2,\"title-maximum-lines\"],\"descriptionText\":[1,\"description-text\"],\"descriptionMaximumLines\":[2,\"description-maximum-lines\"],\"height\":[1],\"width\":[1],\"avatarProps\":[16],\"buttonProps\":[16],\"tags\":[16],\"setButtonFocus\":[64],\"setButtonBlur\":[64]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-toast.cjs\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-text-input.cjs\",[[1,\"ez-text-input\",{\"label\":[513],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"hasInvalid\":[1540,\"has-invalid\"],\"mask\":[1],\"cleanValueMask\":[4,\"clean-value-mask\"],\"canShowError\":[516,\"can-show-error\"],\"restrict\":[1],\"mode\":[513],\"noBorder\":[516,\"no-border\"],\"password\":[4],\"autoFocus\":[4,\"auto-focus\"],\"hasRightSlotContent\":[32],\"forceLabelFloat\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-grid.cjs\",[[6,\"ez-grid\",{\"enableLockManagerLoadingComp\":[1028,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"multipleSelection\":[4,\"multiple-selection\"],\"config\":[1040],\"selectionToastConfig\":[16],\"serverUrl\":[1,\"server-url\"],\"dataUnit\":[16],\"statusResolver\":[16],\"columnfilterDataSource\":[16],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[1028,\"can-edit\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"enableContinuousInsert\":[4,\"enable-continuous-insert\"],\"suppressCheckboxColumn\":[1028,\"suppress-checkbox-column\"],\"suppressFilterColumn\":[1028,\"suppress-filter-column\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"compact\":[1028],\"useSearchColumn\":[4,\"use-search-column\"],\"suppressHorizontalScroll\":[4,\"suppress-horizontal-scroll\"],\"mode\":[513],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[64],\"getAppliedColumnFilters\":[64],\"refreshColumnFilterDataSource\":[64],\"addColumnMenuItem\":[64],\"setColumnsState\":[64],\"setData\":[64],\"getSelection\":[64],\"getColumnsState\":[64],\"getColumns\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"refreshSelectedRows\":[64],\"getCustomValueFormatter\":[64],\"setFocus\":[64],\"stopEdit\":[64],\"checkStopEditOutsideClick\":[64]},[[0,\"applyFilterColumnOptions\",\"handleApplyFilterColumn\"],[0,\"ezSelectionChange\",\"onSelectionChange\"],[2,\"click\",\"handleClick\"]]]]],[\"ez-grid-view.cjs\",[[6,\"ez-grid-view\",{\"metadata\":[16],\"records\":[16],\"columnsConfig\":[1040],\"pageSize\":[2,\"page-size\"],\"recordDateFormat\":[1,\"record-date-format\"],\"multipleSelection\":[4,\"multiple-selection\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"suppressCheckboxColumn\":[1028,\"suppress-checkbox-column\"],\"suppressFilterColumn\":[4,\"suppress-filter-column\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"compact\":[1028],\"useSearchColumn\":[4,\"use-search-column\"],\"suppressHorizontalScroll\":[4,\"suppress-horizontal-scroll\"],\"inMemoryLoader\":[32],\"getDataUnit\":[64],\"refresh\":[64],\"getSelection\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addColumnMenuItem\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"addGridCustomRender\":[64],\"setFocus\":[64]}]]],[\"ez-double-list.cjs\",[[2,\"ez-double-list\",{\"leftList\":[1040],\"leftTitle\":[1,\"left-title\"],\"rightList\":[1040],\"entityLabel\":[1,\"entity-label\"],\"entityLabelPlural\":[1,\"entity-label-plural\"],\"leftListLabel\":[1,\"left-list-label\"],\"rightListLabel\":[1,\"right-list-label\"],\"useOnlyRightList\":[4,\"use-only-right-list\"],\"rightTitle\":[1,\"right-title\"],\"emptyMessage\":[16],\"slotsListBuilder\":[1040],\"leftFilteredList\":[32],\"rightFilteredList\":[32],\"selectedLeftList\":[32],\"selectedRightList\":[32],\"isFilteringLeft\":[32],\"isFilteringRight\":[32],\"resetSelectedLists\":[64]}]]],[\"ez-sidebar-navigator.cjs\",[[1,\"ez-sidebar-navigator\",{\"type\":[1],\"mode\":[1025],\"size\":[1],\"isResponsive\":[4,\"is-responsive\"],\"titleMenu\":[1,\"title-menu\"],\"showCollapseMenu\":[4,\"show-collapse-menu\"],\"showFixedButton\":[4,\"show-fixed-button\"],\"open\":[32],\"changeModeMenu\":[64],\"closeSidebar\":[64],\"openSidebar\":[64]}]]],[\"ez-breadcrumb.cjs\",[[1,\"ez-breadcrumb\",{\"items\":[1040],\"fillMode\":[1025,\"fill-mode\"],\"maxItems\":[1026,\"max-items\"],\"positionEllipsis\":[1026,\"position-ellipsis\"],\"visibleItems\":[32],\"hiddenItems\":[32],\"showDropdown\":[32],\"collapseConfigPosition\":[32]}]]],[\"ez-classic-combo-box.cjs\",[[1,\"ez-classic-combo-box\",{\"value\":[1040],\"label\":[1],\"placeholder\":[1025],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"state\":[1],\"helpText\":[1,\"help-text\"],\"iconName\":[1,\"icon-name\"],\"titleIcon\":[1,\"title-icon\"],\"iconClickable\":[4,\"icon-clickable\"],\"suppressSearch\":[4,\"suppress-search\"],\"options\":[16],\"textEmptyOption\":[1,\"text-empty-option\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"popoverVisible\":[32],\"hasSlotContent\":[32],\"highlightedIndex\":[32],\"filteredOptions\":[32],\"inputValue\":[32],\"setFocus\":[64],\"setBlur\":[64],\"showPopover\":[64],\"hidePopover\":[64],\"setValue\":[64]}]]],[\"ez-split-button.cjs\",[[1,\"ez-split-button\",{\"show\":[1540],\"enabled\":[516],\"isDisabled\":[520,\"is-disabled\"],\"iconName\":[513,\"icon-name\"],\"leftIconName\":[513,\"left-icon-name\"],\"rightIconName\":[513,\"right-icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"variant\":[1537],\"suppressAnimation\":[1540,\"suppress-animation\"],\"itemBuilder\":[16],\"leftRipples\":[32],\"rightRipples\":[32],\"isLeftPressed\":[32],\"isRightPressed\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64],\"toggleDropdown\":[64],\"isOpenedDropdown\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[1,\"touchstart\",\"onTouchStart\"],[2,\"click\",\"clickListener\"]]]]],[\"ez-tag-input.cjs\",[[1,\"ez-tag-input\",{\"label\":[1],\"placeholder\":[1],\"helpText\":[1025,\"help-text\"],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"tags\":[1040],\"maxTagLength\":[2,\"max-tag-length\"],\"maxTags\":[2,\"max-tags\"],\"allowDuplicates\":[4,\"allow-duplicates\"],\"state\":[1537],\"validator\":[16],\"suppressTagsKeyboardNavigation\":[4,\"suppress-tags-keyboard-navigation\"],\"suppressBackspaceToRemove\":[4,\"suppress-backspace-to-remove\"],\"setFocus\":[64],\"setBlur\":[64],\"addTag\":[64],\"removeTag\":[64],\"clearTags\":[64]}]]],[\"ez-pagination.cjs\",[[2,\"ez-pagination\",{\"type\":[1],\"currentPage\":[1026,\"current-page\"],\"totalItems\":[2,\"total-items\"],\"pageSize\":[2,\"page-size\"],\"hideInfoLabel\":[4,\"hide-info-label\"],\"pageLimit\":[2,\"page-limit\"]}]]],[\"ez-split-item.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"structural\":[4],\"_expanded\":[32]}]]],[\"ez-classic-text-area.cjs\",[[1,\"ez-classic-text-area\",{\"name\":[1],\"label\":[1],\"placeholder\":[1],\"value\":[1],\"helpText\":[1,\"help-text\"],\"state\":[1],\"enabled\":[4],\"readonly\":[4],\"maxlength\":[2],\"resize\":[1],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"rightIconTooltip\":[1,\"right-icon-tooltip\"],\"leftIconTooltip\":[1,\"left-icon-tooltip\"],\"leftIconClickable\":[4,\"left-icon-clickable\"],\"rightIconClickable\":[4,\"right-icon-clickable\"],\"rows\":[2],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item.cjs\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-list-item.cjs\",[[2,\"ez-list-item\",{\"titleText\":[513,\"title-text\"],\"text\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-chart.cjs\",[[1,\"ez-chart\",{\"type\":[1],\"xAxis\":[16],\"yAxis\":[16],\"chartTitle\":[1,\"chart-title\"],\"chartSubTitle\":[1,\"chart-sub-title\"],\"legendEnabled\":[4,\"legend-enabled\"],\"series\":[16],\"width\":[2],\"height\":[2]}]]],[\"ez-loading-bar.cjs\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-progress-bar.cjs\",[[2,\"ez-progress-bar\",{\"percent\":[514],\"label\":[513],\"helpText\":[513,\"help-text\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-spinner.cjs\",[[1,\"ez-spinner\",{\"size\":[1]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"structural\":[4],\"rebuildLayout\":[64]}]]],[\"ez-underface.cjs\",[[1,\"ez-underface\",{\"color\":[513],\"customColor\":[513,\"custom-color\"],\"height\":[514],\"width\":[514]}]]],[\"ez-view-stack.cjs\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tooltip.cjs\",[[1,\"ez-tooltip\",{\"message\":[1],\"anchoringElement\":[1040],\"placement\":[1],\"gapOptions\":[16],\"type\":[1],\"debouncingTime\":[2,\"debouncing-time\"],\"active\":[4],\"maxWidth\":[2,\"max-width\"],\"useAnchorSize\":[4,\"use-anchor-size\"],\"strategy\":[1]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"singleColumn\":[4,\"single-column\"],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-filter-input.cjs\",[[1,\"ez-filter-input\",{\"label\":[1],\"value\":[1537],\"enabled\":[4],\"errorMessage\":[1537,\"error-message\"],\"restrict\":[1],\"mode\":[513],\"asyncSearch\":[516,\"async-search\"],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"setValue\":[64],\"endSearch\":[64]}]]],[\"ez-sortable-list.cjs\",[[1,\"ez-sortable-list\",{\"title\":[1],\"hideHeader\":[4,\"hide-header\"],\"hideTotalizer\":[4,\"hide-totalizer\"],\"group\":[1],\"dataSource\":[16],\"idSortableList\":[1,\"id-sortable-list\"],\"entityLabel\":[1,\"entity-label\"],\"entityLabelPlural\":[1,\"entity-label-plural\"],\"emptyMessage\":[1,\"empty-message\"],\"hoverFeedback\":[4,\"hover-feedback\"],\"enableMultipleSelection\":[4,\"enable-multiple-selection\"],\"removeItensMoved\":[4,\"remove-itens-moved\"],\"itemRightSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"filterTerm\":[32],\"selectedItems\":[32],\"clearSelection\":[64]}]]],[\"ez-chip.cjs\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"disableAutoUpdateValue\":[4,\"disable-auto-update-value\"],\"maxWidth\":[1,\"max-width\"],\"size\":[1],\"iconNameLeft\":[1,\"icon-name-left\"],\"iconNameRight\":[1,\"icon-name-right\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"removeWithKeyboard\":[4,\"remove-with-keyboard\"],\"_isOverflowing\":[32],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-avatar.cjs\",[[1,\"ez-avatar\",{\"name\":[513],\"imageSrc\":[513,\"image-src\"],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"shape\":[513],\"isInteractive\":[516,\"is-interactive\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"alignItems\":[1537,\"align-items\"],\"hasSlot\":[32]}]]],[\"ez-classic-input.cjs\",[[1,\"ez-classic-input\",{\"type\":[1],\"value\":[1025],\"label\":[1],\"helpText\":[1,\"help-text\"],\"placeholder\":[1025],\"enabled\":[4],\"readonly\":[4],\"name\":[1],\"minlength\":[2],\"maxlength\":[2],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"rightIconTooltip\":[1,\"right-icon-tooltip\"],\"leftIconTooltip\":[1,\"left-icon-tooltip\"],\"state\":[1],\"leftIconClickable\":[4,\"left-icon-clickable\"],\"rightIconClickable\":[4,\"right-icon-clickable\"],\"mask\":[1],\"emitMaskedValue\":[4,\"emit-masked-value\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-tabselector.cjs\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree.cjs\",[[1,\"ez-tree\",{\"items\":[1040],\"value\":[1040],\"selectedId\":[1537,\"selected-id\"],\"iconResolver\":[16],\"tooltipResolver\":[16],\"enableHierarchicalFilter\":[4,\"enable-hierarchical-filter\"],\"selectable\":[4],\"_tree\":[32],\"_waintingForLoad\":[32],\"selectItem\":[64],\"openItem\":[64],\"disableItem\":[64],\"enableItem\":[64],\"addChild\":[64],\"applyFilter\":[64],\"expandAll\":[64],\"collapseAll\":[64],\"updateItem\":[64],\"removeItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"getParent\":[64]},[[2,\"keydown\",\"onKeyDownListener\"]]]]],[\"ez-multi-selection-list.cjs\",[[2,\"ez-multi-selection-list\",{\"columnName\":[1,\"column-name\"],\"dataSource\":[16],\"useOptions\":[1028,\"use-options\"],\"options\":[1040],\"isTextSearch\":[4,\"is-text-search\"],\"filteredOptions\":[32],\"displayOptions\":[32],\"viewScenario\":[32],\"displayOptionToCheckAllItems\":[32],\"clearFilteredOptions\":[64]}]]],[\"filter-column.cjs\",[[0,\"filter-column\",{\"opened\":[4],\"columnName\":[1,\"column-name\"],\"columnLabel\":[1,\"column-label\"],\"gridHeaderHidden\":[4,\"grid-header-hidden\"],\"noHeaderTaskBar\":[1028,\"no-header-task-bar\"],\"dataSource\":[16],\"dataUnit\":[16],\"options\":[1040],\"selectedItems\":[32],\"fieldDescriptor\":[32],\"useOptions\":[32],\"isTextSearch\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-search-result-list.cjs\",[[1,\"ez-search-result-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"value\":[1],\"showOptionValue\":[4,\"show-option-value\"],\"_preSelection\":[32],\"nextOption\":[64],\"previousOption\":[64],\"selectCurrentItem\":[64],\"cancelSelection\":[64]}]]],[\"ez-search-plus.cjs\",[[1,\"ez-search-plus\",{\"value\":[1537],\"enabled\":[1540],\"disableCodeInput\":[1540,\"disable-code-input\"],\"disableDescriptionInput\":[1540,\"disable-description-input\"],\"label\":[1537],\"codLabel\":[1537,\"cod-label\"],\"hideDescriptionInput\":[1540,\"hide-description-input\"],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"contextProperties\":[8,\"context-properties\"],\"optionLoader\":[16],\"showOptionValue\":[4,\"show-option-value\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"autoFocus\":[4,\"auto-focus\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"suppressSearch\":[4,\"suppress-search\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"descriptionValue\":[32],\"codeValue\":[32],\"isLoadingDescription\":[32],\"searchDescriptionIsOpen\":[32],\"visibleOptions\":[32],\"showLoading\":[32],\"setFocus\":[64],\"getValueAsync\":[64],\"clearValue\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-combo-box.cjs\",[[1,\"ez-combo-box\",{\"limitCharsToSearch\":[2,\"limit-chars-to-search\"],\"value\":[1537],\"label\":[513],\"enabled\":[516],\"options\":[1040],\"errorMessage\":[1537,\"error-message\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressSearch\":[4,\"suppress-search\"],\"optionLoader\":[16],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"autoFocus\":[4,\"auto-focus\"],\"preventAutoFocus\":[4,\"prevent-auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"textEmptyOption\":[1,\"text-empty-option\"],\"isOpen\":[32],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]}]]],[\"ez-date-input.cjs\",[[1,\"ez-date-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-collapsible-box.cjs\",[[1,\"ez-collapsible-box\",{\"value\":[1540],\"boxBordered\":[4,\"box-bordered\"],\"label\":[513],\"subtitle\":[513],\"headerSize\":[513,\"header-size\"],\"iconPlacement\":[513,\"icon-placement\"],\"headerAlign\":[513,\"header-align\"],\"removable\":[516],\"editable\":[516],\"conditionalSave\":[16],\"_activeEditText\":[32],\"showHide\":[64],\"applyFocusTextEdit\":[64],\"cancelEdition\":[64]}]]],[\"ez-number-input.cjs\",[[1,\"ez-number-input\",{\"label\":[1],\"value\":[1538],\"enabled\":[4],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"allowNegative\":[4,\"allow-negative\"],\"precision\":[2],\"prettyPrecision\":[2,\"pretty-precision\"],\"mode\":[513],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[1,\"alternative-placeholder\"],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-time-input.cjs\",[[1,\"ez-time-input\",{\"label\":[513],\"value\":[1026],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[1,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-text-area.cjs\",[[1,\"ez-text-area\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"rows\":[1538],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"enableResize\":[516,\"enable-resize\"],\"autoRows\":[516,\"auto-rows\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"forceLabelFloat\":[32],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-calendar.cjs\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-date-time-input.cjs\",[[1,\"ez-date-time-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-dropdown.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-upload.cjs\",[[1,\"ez-upload\",{\"label\":[1],\"subtitle\":[1],\"enabled\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"maxFiles\":[2,\"max-files\"],\"requestHeaders\":[8,\"request-headers\"],\"urlUpload\":[1,\"url-upload\"],\"urlDelete\":[1,\"url-delete\"],\"value\":[1040],\"addFiles\":[64],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-popover.cjs\",[[1,\"ez-popover\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"innerElement\":[1537,\"inner-element\"],\"overlayType\":[513,\"overlay-type\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64]}]]],[\"ez-scroller_2.cjs\",[[1,\"ez-sidebar-button\"],[1,\"ez-scroller\",{\"direction\":[1],\"locked\":[4],\"activeShadow\":[4,\"active-shadow\"],\"isActive\":[32]},[[2,\"click\",\"clickListener\"],[1,\"mousedown\",\"mouseDownHandler\"],[1,\"mouseup\",\"mouseUpHandler\"],[1,\"mousemove\",\"mouseMoveHandler\"]]]]],[\"ez-search.cjs\",[[1,\"ez-search\",{\"value\":[1537],\"label\":[1537],\"enabled\":[1540],\"errorMessage\":[1537,\"error-message\"],\"optionLoader\":[16],\"contextProperties\":[8,\"context-properties\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"options\":[1040],\"suppressSearch\":[4,\"suppress-search\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"autoFocus\":[4,\"auto-focus\"],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"showMore\":[4,\"show-more\"],\"suppressInputPersist\":[1028,\"suppress-input-persist\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_showLoadingDescription\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]}]]],[\"ez-check.cjs\",[[1,\"ez-check\",{\"label\":[513],\"alternativePlaceholder\":[513,\"alternative-placeholder\"],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-list.cjs\",[[2,\"ez-list\",{\"dataSource\":[1040],\"listMode\":[1,\"list-mode\"],\"useGroups\":[1540,\"use-groups\"],\"ezDraggable\":[1028,\"ez-draggable\"],\"ezSelectable\":[1028,\"ez-selectable\"],\"itemSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"hoverFeedback\":[1028,\"hover-feedback\"],\"enableMultipleSelection\":[4,\"enable-multiple-selection\"],\"enabled\":[4],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-button.cjs\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"isDisabled\":[520,\"is-disabled\"],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"variant\":[1],\"type\":[1],\"leftIconName\":[1,\"left-icon-name\"],\"rightIconName\":[1,\"right-icon-name\"],\"suppressAnimation\":[4,\"suppress-animation\"],\"ripples\":[32],\"isPressed\":[32],\"setFocus\":[64],\"setBlur\":[64]},[[1,\"mousedown\",\"onMouseDown\"],[1,\"touchstart\",\"onTouchStart\"],[2,\"click\",\"clickListener\"]]]]],[\"ez-modal-container.cjs\",[[6,\"ez-modal-container\",{\"modalTitle\":[1,\"modal-title\"],\"modalSubTitle\":[1,\"modal-sub-title\"],\"showTitleBar\":[4,\"show-title-bar\"],\"cancelButtonLabel\":[1,\"cancel-button-label\"],\"okButtonLabel\":[1,\"ok-button-label\"],\"cancelButtonStatus\":[1,\"cancel-button-status\"],\"okButtonStatus\":[1,\"ok-button-status\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-popup.cjs\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"],\"enabledScroll\":[4,\"enabled-scroll\"],\"autoClose\":[4,\"auto-close\"],\"footerButtons\":[16]}]]],[\"ez-rich-toolbar-item.cjs\",[[2,\"ez-rich-toolbar-item\",{\"icon\":[1],\"command\":[1],\"title\":[1],\"value\":[1]}]]],[\"ez-skeleton.cjs\",[[0,\"ez-skeleton\",{\"template\":[1],\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginTop\":[1,\"margin-top\"],\"marginRight\":[1,\"margin-right\"],\"marginBottom\":[1,\"margin-bottom\"],\"marginLeft\":[1,\"margin-left\"],\"animation\":[1]}]]],[\"ez-popover-core.cjs\",[[1,\"ez-popover-core\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"overlayType\":[513,\"overlay-type\"],\"anchorElement\":[1537,\"anchor-element\"],\"options\":[1040],\"useAnchorSize\":[516,\"use-anchor-size\"],\"minWidth\":[514,\"min-width\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64],\"setOptions\":[64],\"setAnchorElement\":[64]}]]],[\"ez-link-builder_6.cjs\",[[2,\"ez-link-builder\",{\"textToShow\":[32],\"link\":[32],\"openInNewGuide\":[32],\"show\":[64],\"hide\":[64]}],[2,\"ez-simple-image-uploader\",{\"maxSize\":[2,\"max-size\"],\"link\":[32],\"base64\":[32],\"messageError\":[32],\"selectedFile\":[32],\"show\":[64],\"hide\":[64]}],[2,\"ez-rich-toolbar\",{\"showPreview\":[4,\"show-preview\"],\"isPreviewMode\":[4,\"is-preview-mode\"],\"showConfigs\":[4,\"show-configs\"],\"showTextFormat\":[4,\"show-text-format\"],\"showUndoRedo\":[4,\"show-undo-redo\"]},[[0,\"actionTriggered\",\"handleActionTriggered\"]]],[2,\"ez-rich-toolbar-arrows\"],[2,\"ez-rich-toolbar-configs\"],[2,\"ez-rich-toolbar-letters\"]]],[\"ez-combo-box-list_4.cjs\",[[2,\"ez-rich-text\",{\"showPreview\":[4,\"show-preview\"],\"value\":[1537],\"label\":[513],\"mode\":[513],\"enabled\":[516],\"rows\":[514],\"errorMessage\":[1537,\"error-message\"],\"canShowError\":[516,\"can-show-error\"],\"showConfigs\":[4,\"show-configs\"],\"showTextFormat\":[4,\"show-text-format\"],\"showUndoRedo\":[4,\"show-undo-redo\"],\"previewMode\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]},[[0,\"executeToolbarCommand\",\"handleExecuteToolbarCommand\"]]],[2,\"ez-custom-form-input\",{\"customEditor\":[16],\"formViewField\":[16],\"value\":[1032],\"detailContext\":[1,\"detail-context\"],\"builderFallback\":[16],\"selectedRecord\":[16],\"gui\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}],[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}],[1,\"ez-combo-box-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"textEmptyList\":[1,\"text-empty-list\"],\"showOptionValue\":[4,\"show-option-value\"],\"preSelection\":[2,\"pre-selection\"],\"maxWidth\":[2,\"max-width\"],\"width\":[2],\"onOptionSelect\":[16],\"onOptionHover\":[16],\"nextOption\":[64],\"previousOption\":[64],\"selectCurrentOption\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-card-item.cjs\",[[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"],\"compacted\":[4]}]]],[\"ez-popover-plus_3.cjs\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"search-list\",{\"showLoading\":[4,\"show-loading\"],\"visibleOptions\":[16],\"textEmptyList\":[1,\"text-empty-list\"],\"canShowListOptions\":[4,\"can-show-list-options\"],\"value\":[1],\"showOptionValue\":[4,\"show-option-value\"],\"preSelection\":[2,\"pre-selection\"],\"nextOption\":[64],\"previousOption\":[64]}],[1,\"ez-popover-plus\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"overlayType\":[513,\"overlay-type\"],\"anchorElement\":[1537,\"anchor-element\"],\"options\":[1040],\"useAnchorSize\":[516,\"use-anchor-size\"],\"minWidth\":[514,\"min-width\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64],\"setOptions\":[64],\"setAnchorElement\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"useSearchField\":[4,\"use-search-field\"],\"elementFocusSearchField\":[16],\"_fieldsProps\":[32],\"_singleColumn\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]]]"), options);
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -8,7 +8,7 @@ export class EzPopup {
|
|
|
8
8
|
this.useHeader = true;
|
|
9
9
|
this.heightMode = "full";
|
|
10
10
|
this.ezTitle = undefined;
|
|
11
|
-
this.enabledScroll =
|
|
11
|
+
this.enabledScroll = true;
|
|
12
12
|
this.autoClose = true;
|
|
13
13
|
this.footerButtons = [];
|
|
14
14
|
}
|
|
@@ -78,9 +78,6 @@ export class EzPopup {
|
|
|
78
78
|
if (this.heightMode === 'auto') {
|
|
79
79
|
className += ' popup__container--auto';
|
|
80
80
|
}
|
|
81
|
-
if (this.enabledScroll) {
|
|
82
|
-
className += ' popup__overflow-y--auto';
|
|
83
|
-
}
|
|
84
81
|
className += ` ${this.getGridSize()}`;
|
|
85
82
|
return className;
|
|
86
83
|
}
|
|
@@ -146,7 +143,10 @@ export class EzPopup {
|
|
|
146
143
|
}
|
|
147
144
|
render() {
|
|
148
145
|
return (h(Host, null, this.opened && (h("div", { class: "overlay", tabIndex: -1, onClick: this.handleAutoClose.bind(this) }, h("dialog", { ref: ref => this._popupRef = ref, class: this.getDialogClass() }, this.useHeader &&
|
|
149
|
-
h("header", { class: "popup__header" }, !!this.ezTitle && h("h1", { class: "popup__title" }, this.ezTitle), h("ez-button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", variant: "tertiary", mode: "icon", iconName: "close", size: "small", onClick: this.closePopup.bind(this) })), h("main", { class:
|
|
146
|
+
h("header", { class: "popup__header" }, !!this.ezTitle && h("h1", { class: "popup__title" }, this.ezTitle), h("ez-button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", variant: "tertiary", mode: "icon", iconName: "close", size: "small", onClick: this.closePopup.bind(this) })), h("main", { class: {
|
|
147
|
+
"popup__expandable-content": true,
|
|
148
|
+
"popup__overflow-y--auto": this.enabledScroll
|
|
149
|
+
} }, h("slot", null)), h("footer", { class: "popup__footer" }, this.footerButtons.length > 0 && (this.renderFooterButtons()), h("slot", { name: 'footer' })))))));
|
|
150
150
|
}
|
|
151
151
|
static get is() { return "ez-popup"; }
|
|
152
152
|
static get encapsulation() { return "shadow"; }
|
|
@@ -267,7 +267,7 @@ export class EzPopup {
|
|
|
267
267
|
},
|
|
268
268
|
"attribute": "enabled-scroll",
|
|
269
269
|
"reflect": false,
|
|
270
|
-
"defaultValue": "
|
|
270
|
+
"defaultValue": "true"
|
|
271
271
|
},
|
|
272
272
|
"autoClose": {
|
|
273
273
|
"type": "boolean",
|
|
@@ -109,12 +109,48 @@ export class EzTree {
|
|
|
109
109
|
/**
|
|
110
110
|
* Atualiza um item
|
|
111
111
|
*/
|
|
112
|
-
async updateItem(item) {
|
|
113
|
-
var _a;
|
|
114
|
-
|
|
112
|
+
async updateItem(item, config) {
|
|
113
|
+
var _a, _b, _c;
|
|
114
|
+
if (Array.isArray(item)) {
|
|
115
|
+
item.forEach(i => this.updateItem(i, config));
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if (config === null || config === void 0 ? void 0 : config.updatedBySelectedId) {
|
|
119
|
+
Object.assign(item, { id: this.selectedId });
|
|
120
|
+
}
|
|
121
|
+
this._tree.updateItem((config === null || config === void 0 ? void 0 : config.forceDefaultValues) ? this.applyDefaultValues(item) : item);
|
|
122
|
+
this.updateItemInIndexedList(item, config === null || config === void 0 ? void 0 : config.forceDefaultValues);
|
|
115
123
|
const node = (_a = this._tree) === null || _a === void 0 ? void 0 : _a.getNode(this.selectedId);
|
|
116
124
|
if (node == undefined) {
|
|
117
125
|
this.value = this._visibleItems ? this._visibleItems[0] : undefined;
|
|
126
|
+
this._tree.collapseAll();
|
|
127
|
+
}
|
|
128
|
+
if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.id) === item.id) {
|
|
129
|
+
this.value = item;
|
|
130
|
+
this.ezChange.emit(this.value);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const childSelected = this.getItemById((_c = this.value) === null || _c === void 0 ? void 0 : _c.id, [item]);
|
|
134
|
+
if (childSelected) {
|
|
135
|
+
this.value = childSelected;
|
|
136
|
+
this.ezChange.emit(this.value);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Remove um item da árvore pelo seu ID.
|
|
141
|
+
* Se o item removido estiver selecionado, a seleção será limpa.
|
|
142
|
+
*/
|
|
143
|
+
async removeItem(id) {
|
|
144
|
+
var _a;
|
|
145
|
+
id = id !== null && id !== void 0 ? id : this.selectedId;
|
|
146
|
+
if (!id) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
this._tree.removeItem(id);
|
|
150
|
+
this.removeItemFromIndexedList(id);
|
|
151
|
+
this.ezRemoveItem.emit(id);
|
|
152
|
+
if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.id) === id) {
|
|
153
|
+
this.value = undefined;
|
|
118
154
|
}
|
|
119
155
|
}
|
|
120
156
|
/**
|
|
@@ -202,28 +238,73 @@ export class EzTree {
|
|
|
202
238
|
event.preventDefault();
|
|
203
239
|
}
|
|
204
240
|
}
|
|
241
|
+
getItemById(id, items) {
|
|
242
|
+
for (const treeItem of items) {
|
|
243
|
+
if (treeItem.id === id) {
|
|
244
|
+
return treeItem;
|
|
245
|
+
}
|
|
246
|
+
else if (treeItem.children && Array.isArray(treeItem.children)) {
|
|
247
|
+
const itemFound = this.getItemById(id, treeItem.children);
|
|
248
|
+
if (itemFound) {
|
|
249
|
+
return itemFound;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return undefined;
|
|
254
|
+
}
|
|
205
255
|
addItemInIndexedList(parentId, item, items) {
|
|
206
256
|
var _a, _b;
|
|
207
257
|
items = (_a = items !== null && items !== void 0 ? items : this.items) !== null && _a !== void 0 ? _a : [];
|
|
208
258
|
if (!parentId) {
|
|
209
259
|
items.push(item);
|
|
260
|
+
}
|
|
261
|
+
const itemFound = this.getItemById(parentId, items);
|
|
262
|
+
itemFound.children = ((_b = itemFound.children) !== null && _b !== void 0 ? _b : []);
|
|
263
|
+
itemFound.children.push(item);
|
|
264
|
+
itemFound.childrenCount = itemFound.children.length;
|
|
265
|
+
}
|
|
266
|
+
applyDefaultValues(item) {
|
|
267
|
+
if (item.disabled === undefined) {
|
|
268
|
+
item.disabled = false;
|
|
269
|
+
}
|
|
270
|
+
if (item.expanded === undefined) {
|
|
271
|
+
item.expanded = false;
|
|
272
|
+
}
|
|
273
|
+
return item;
|
|
274
|
+
}
|
|
275
|
+
updateItemInIndexedList(item, forceDefaultValues = false) {
|
|
276
|
+
if (!item || !this.items) {
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
const itemFound = this.getItemById(item.id, this.items);
|
|
280
|
+
if (itemFound) {
|
|
281
|
+
Object.assign(itemFound, forceDefaultValues ? this.applyDefaultValues(item) : item);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
removeItemFromIndexedList(id, items) {
|
|
285
|
+
var _a;
|
|
286
|
+
items = (_a = items !== null && items !== void 0 ? items : this.items) !== null && _a !== void 0 ? _a : [];
|
|
287
|
+
if (!id) {
|
|
288
|
+
return false;
|
|
289
|
+
}
|
|
290
|
+
const rootIndex = items.findIndex(item => item.id === id);
|
|
291
|
+
if (rootIndex !== -1) {
|
|
292
|
+
items.splice(rootIndex, 1);
|
|
210
293
|
return true;
|
|
211
294
|
}
|
|
212
295
|
for (const treeItem of items) {
|
|
213
|
-
if (treeItem.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
if (result) {
|
|
296
|
+
if (treeItem.children && Array.isArray(treeItem.children)) {
|
|
297
|
+
const childIndex = treeItem.children.findIndex(child => child.id === id);
|
|
298
|
+
if (childIndex !== -1) {
|
|
299
|
+
treeItem.children.splice(childIndex, 1);
|
|
300
|
+
treeItem.childrenCount = treeItem.children.length;
|
|
301
|
+
return true;
|
|
302
|
+
}
|
|
303
|
+
if (this.removeItemFromIndexedList(id, treeItem.children)) {
|
|
222
304
|
return true;
|
|
223
305
|
}
|
|
224
306
|
}
|
|
225
307
|
}
|
|
226
|
-
;
|
|
227
308
|
return false;
|
|
228
309
|
}
|
|
229
310
|
getItemPathAttrs({ id, label }) {
|
|
@@ -551,6 +632,21 @@ export class EzTree {
|
|
|
551
632
|
}
|
|
552
633
|
}
|
|
553
634
|
}
|
|
635
|
+
}, {
|
|
636
|
+
"method": "ezRemoveItem",
|
|
637
|
+
"name": "ezRemoveItem",
|
|
638
|
+
"bubbles": true,
|
|
639
|
+
"cancelable": true,
|
|
640
|
+
"composed": true,
|
|
641
|
+
"docs": {
|
|
642
|
+
"tags": [],
|
|
643
|
+
"text": "Emitido ao remover um item da \u00E1rvore."
|
|
644
|
+
},
|
|
645
|
+
"complexType": {
|
|
646
|
+
"original": "string",
|
|
647
|
+
"resolved": "string",
|
|
648
|
+
"references": {}
|
|
649
|
+
}
|
|
554
650
|
}];
|
|
555
651
|
}
|
|
556
652
|
static get methods() {
|
|
@@ -716,10 +812,13 @@ export class EzTree {
|
|
|
716
812
|
},
|
|
717
813
|
"updateItem": {
|
|
718
814
|
"complexType": {
|
|
719
|
-
"signature": "(item: ITreeItem) => Promise<void>",
|
|
815
|
+
"signature": "(item: ITreeItem | ITreeItem[], config?: Partial<UpdateItemConfig>) => Promise<void>",
|
|
720
816
|
"parameters": [{
|
|
721
817
|
"tags": [],
|
|
722
818
|
"text": ""
|
|
819
|
+
}, {
|
|
820
|
+
"tags": [],
|
|
821
|
+
"text": ""
|
|
723
822
|
}],
|
|
724
823
|
"references": {
|
|
725
824
|
"Promise": {
|
|
@@ -728,6 +827,13 @@ export class EzTree {
|
|
|
728
827
|
"ITreeItem": {
|
|
729
828
|
"location": "import",
|
|
730
829
|
"path": "./interfaces/ITreeItem"
|
|
830
|
+
},
|
|
831
|
+
"Partial": {
|
|
832
|
+
"location": "global"
|
|
833
|
+
},
|
|
834
|
+
"UpdateItemConfig": {
|
|
835
|
+
"location": "import",
|
|
836
|
+
"path": "./types/UpdateItemConfig"
|
|
731
837
|
}
|
|
732
838
|
},
|
|
733
839
|
"return": "Promise<void>"
|
|
@@ -737,6 +843,25 @@ export class EzTree {
|
|
|
737
843
|
"tags": []
|
|
738
844
|
}
|
|
739
845
|
},
|
|
846
|
+
"removeItem": {
|
|
847
|
+
"complexType": {
|
|
848
|
+
"signature": "(id?: string) => Promise<void>",
|
|
849
|
+
"parameters": [{
|
|
850
|
+
"tags": [],
|
|
851
|
+
"text": ""
|
|
852
|
+
}],
|
|
853
|
+
"references": {
|
|
854
|
+
"Promise": {
|
|
855
|
+
"location": "global"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"return": "Promise<void>"
|
|
859
|
+
},
|
|
860
|
+
"docs": {
|
|
861
|
+
"text": "Remove um item da \u00E1rvore pelo seu ID.\nSe o item removido estiver selecionado, a sele\u00E7\u00E3o ser\u00E1 limpa.",
|
|
862
|
+
"tags": []
|
|
863
|
+
}
|
|
864
|
+
},
|
|
740
865
|
"getItem": {
|
|
741
866
|
"complexType": {
|
|
742
867
|
"signature": "(id: string) => Promise<ITreeItem>",
|
|
@@ -20,12 +20,15 @@ export const TreeItem = (props) => {
|
|
|
20
20
|
iconClick(treeItem);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
function handleIconDoubleClick(event) {
|
|
24
|
+
event.stopPropagation();
|
|
25
|
+
}
|
|
23
26
|
return (h("ul", { class: level === 1 ? "first-level" : undefined }, h("li", Object.assign({ title: tooltipResolver(treeItem, !disabled, level), class: `tree-item ${treeItem.id !== selectedId ? "tree-item-error" : ""}`, onClick: () => available && itemClick(treeItem), onDblClick: () => available && itemDoubleClick(treeItem) }, {
|
|
24
27
|
disabled,
|
|
25
28
|
selected: treeItem.id === selectedId,
|
|
26
29
|
[ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: ElementIDUtils.getInternalIDInfo(`ezTreeItem_${treeItem.id}`)
|
|
27
30
|
}), h("div", { class: "item-label-container" }, h("div", { class: "item-icon-box" }, expandable &&
|
|
28
|
-
h("ez-icon", { id: treeItem.id, class: "item-icon", size: "small", iconName: iconResolver(treeItem, expanded, level), onClick: (event) => handleIconClick(event) })), h("label", { class: `item-label ${treeItem.bold ? "item-label--bold" : ""}` }, treeItem.label)), getBadgeElement(treeItem.id, treeItem.badge, treeItem.id === selectedId)), expanded
|
|
31
|
+
h("ez-icon", { id: treeItem.id, class: "item-icon", size: "small", iconName: iconResolver(treeItem, expanded, level), onClick: (event) => handleIconClick(event), onDblClick: (event) => handleIconDoubleClick(event) })), h("label", { class: `item-label ${treeItem.bold ? "item-label--bold" : ""}` }, treeItem.label)), getBadgeElement(treeItem.id, treeItem.badge, treeItem.id === selectedId)), expanded
|
|
29
32
|
&& node.getChildren().map(child => h(TreeItem, { selectedId: selectedId, node: child, itemClick: itemClick, iconClick: iconClick, level: level + 1, iconResolver: iconResolver, tooltipResolver: tooltipResolver, itemsList: itemsList, itemDoubleClick: itemDoubleClick }))));
|
|
30
33
|
};
|
|
31
34
|
function getBadgeElement(itemId, badge, isSelectedItem) {
|
|
@@ -69,6 +69,13 @@ export class Node {
|
|
|
69
69
|
this.children.set(item.id, new Node(tree, item, this));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
+
removeChild(id) {
|
|
73
|
+
if (this.children.has(id)) {
|
|
74
|
+
this.children.delete(id);
|
|
75
|
+
return true;
|
|
76
|
+
}
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
72
79
|
addPlaceHolder() {
|
|
73
80
|
this.children.clear();
|
|
74
81
|
const id = this.item.id;
|
|
@@ -74,6 +74,23 @@ export class Tree extends Node {
|
|
|
74
74
|
}
|
|
75
75
|
this._changeCallback();
|
|
76
76
|
}
|
|
77
|
+
removeItem(id) {
|
|
78
|
+
if (!id) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const node = this.getNode(id);
|
|
82
|
+
if (!node) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (node.parent) {
|
|
86
|
+
node.parent.removeChild(id);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this.children.delete(id);
|
|
90
|
+
}
|
|
91
|
+
this._disabledValues.delete(id);
|
|
92
|
+
this._changeCallback();
|
|
93
|
+
}
|
|
77
94
|
async open(path) {
|
|
78
95
|
return new Promise(async (resolve) => {
|
|
79
96
|
await this.walkPath(this, path, node => node.item.expanded = true);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|