@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-75210.1 → 0.0.0-bugfix-dev-KB-76031.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/{DataBinder-b4ef826a.js → DataBinder-e92314c2.js} +2 -2
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-combo-box.cjs.entry.js +2 -3
  5. package/dist/cjs/ez-date-input.cjs.entry.js +2 -3
  6. package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -3
  7. package/dist/cjs/ez-dialog.cjs.entry.js +4 -5
  8. package/dist/cjs/ez-dropdown_2.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-filter-input.cjs.entry.js +2 -3
  10. package/dist/cjs/ez-form-view.cjs.entry.js +10 -10
  11. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  12. package/dist/cjs/ez-grid.cjs.entry.js +89 -43
  13. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-number-input.cjs.entry.js +2 -3
  16. package/dist/cjs/ez-search.cjs.entry.js +5 -5
  17. package/dist/cjs/ez-split-item.cjs.entry.js +4 -2
  18. package/dist/cjs/ez-text-area.cjs.entry.js +2 -2
  19. package/dist/cjs/ez-text-input.cjs.entry.js +1 -2
  20. package/dist/cjs/ez-time-input.cjs.entry.js +2 -3
  21. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  22. package/dist/cjs/ezui.cjs.js +1 -1
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/collection/components/ez-combo-box/ez-combo-box.js +1 -20
  25. package/dist/collection/components/ez-date-input/ez-date-input.js +1 -20
  26. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +1 -20
  27. package/dist/collection/components/ez-dialog/ez-dialog.js +5 -15
  28. package/dist/collection/components/ez-filter-input/ez-filter-input.js +1 -20
  29. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  30. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  31. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +4 -4
  32. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  33. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  34. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -1
  35. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +34 -13
  36. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +44 -26
  37. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  38. package/dist/collection/components/ez-grid/ez-grid.js +70 -9
  39. package/dist/collection/components/ez-icon/ez-icon.css +70 -68
  40. package/dist/collection/components/ez-list/ez-list.css +3 -3
  41. package/dist/collection/components/ez-number-input/ez-number-input.js +1 -20
  42. package/dist/collection/components/ez-search/ez-search.js +23 -24
  43. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  44. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +3 -1
  45. package/dist/collection/components/ez-text-area/ez-text-area.css +5 -1
  46. package/dist/collection/components/ez-text-area/ez-text-area.js +2 -2
  47. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -20
  48. package/dist/collection/components/ez-time-input/ez-time-input.js +1 -20
  49. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  50. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  51. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  52. package/dist/collection/utils/form/DataBinder.js +2 -2
  53. package/dist/collection/utils/form/FormMetadata.js +1 -1
  54. package/dist/custom-elements/index.js +141 -99
  55. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  56. package/dist/esm/{DataBinder-d2ecbb0f.js → DataBinder-9c877244.js} +2 -2
  57. package/dist/esm/ez-actions-button.entry.js +1 -1
  58. package/dist/esm/ez-combo-box.entry.js +2 -3
  59. package/dist/esm/ez-date-input.entry.js +2 -3
  60. package/dist/esm/ez-date-time-input.entry.js +2 -3
  61. package/dist/esm/ez-dialog.entry.js +5 -6
  62. package/dist/esm/ez-dropdown_2.entry.js +1 -1
  63. package/dist/esm/ez-filter-input.entry.js +2 -3
  64. package/dist/esm/ez-form-view.entry.js +10 -10
  65. package/dist/esm/ez-form.entry.js +2 -2
  66. package/dist/esm/ez-grid.entry.js +90 -44
  67. package/dist/esm/ez-icon.entry.js +1 -1
  68. package/dist/esm/ez-list.entry.js +1 -1
  69. package/dist/esm/ez-number-input.entry.js +2 -3
  70. package/dist/esm/ez-search.entry.js +5 -5
  71. package/dist/esm/ez-split-item.entry.js +4 -2
  72. package/dist/esm/ez-text-area.entry.js +2 -2
  73. package/dist/esm/ez-text-input.entry.js +1 -2
  74. package/dist/esm/ez-time-input.entry.js +2 -3
  75. package/dist/esm/ez-tree.entry.js +5 -4
  76. package/dist/esm/ezui.js +1 -1
  77. package/dist/esm/loader.js +1 -1
  78. package/dist/ezui/ezui.esm.js +1 -1
  79. package/dist/ezui/p-0faf71c5.entry.js +1 -0
  80. package/dist/ezui/p-17de16e5.entry.js +1 -0
  81. package/dist/ezui/p-20c024f7.entry.js +1 -0
  82. package/dist/ezui/p-2f45506d.entry.js +1 -0
  83. package/dist/ezui/p-3429080c.entry.js +1 -0
  84. package/dist/ezui/{p-d0ca26fe.entry.js → p-354abfe8.entry.js} +1 -1
  85. package/dist/ezui/{p-7ed30844.entry.js → p-420f97ff.entry.js} +1 -1
  86. package/dist/ezui/{p-ca6340a9.entry.js → p-556468d9.entry.js} +1 -1
  87. package/dist/ezui/p-7a171eae.entry.js +1 -0
  88. package/dist/ezui/{p-ceadecd9.js → p-acddfb2e.js} +1 -1
  89. package/dist/ezui/p-ae098837.entry.js +1 -0
  90. package/dist/ezui/p-b26f6c5b.entry.js +1 -0
  91. package/dist/ezui/{p-b46e9f59.entry.js → p-b6597f49.entry.js} +46 -46
  92. package/dist/ezui/p-c1527804.entry.js +1 -0
  93. package/dist/ezui/{p-d520839d.entry.js → p-cf87aacb.entry.js} +1 -1
  94. package/dist/ezui/p-d9548bdf.entry.js +1 -0
  95. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  96. package/dist/ezui/p-e92b8a2c.entry.js +1 -0
  97. package/dist/ezui/p-ea54d056.entry.js +1 -0
  98. package/dist/ezui/p-ec7db713.js +1 -0
  99. package/dist/ezui/p-fd0a19d6.entry.js +1 -0
  100. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +0 -4
  101. package/dist/types/components/ez-date-input/ez-date-input.d.ts +0 -4
  102. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +0 -4
  103. package/dist/types/components/ez-dialog/ez-dialog.d.ts +0 -1
  104. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +0 -4
  105. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +12 -1
  106. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
  107. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -1
  108. package/dist/types/components/ez-grid/ez-grid.d.ts +18 -6
  109. package/dist/types/components/ez-number-input/ez-number-input.d.ts +0 -4
  110. package/dist/types/components/ez-search/ez-search.d.ts +5 -5
  111. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +1 -0
  112. package/dist/types/components/ez-text-input/ez-text-input.d.ts +0 -4
  113. package/dist/types/components/ez-time-input/ez-time-input.d.ts +0 -4
  114. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  115. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  116. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  117. package/dist/types/components.d.ts +44 -72
  118. package/package.json +1 -1
  119. package/dist/ezui/p-14b769d7.entry.js +0 -1
  120. package/dist/ezui/p-16e612fc.entry.js +0 -1
  121. package/dist/ezui/p-181b5ae8.entry.js +0 -1
  122. package/dist/ezui/p-2475fd6e.entry.js +0 -1
  123. package/dist/ezui/p-3175fe8c.entry.js +0 -1
  124. package/dist/ezui/p-3f2dd525.entry.js +0 -1
  125. package/dist/ezui/p-50d83a46.entry.js +0 -1
  126. package/dist/ezui/p-654b3f99.entry.js +0 -1
  127. package/dist/ezui/p-66924de6.entry.js +0 -1
  128. package/dist/ezui/p-6f22a385.entry.js +0 -1
  129. package/dist/ezui/p-8888d9ed.entry.js +0 -1
  130. package/dist/ezui/p-9e11fc7b.js +0 -1
  131. package/dist/ezui/p-b6a4e6de.entry.js +0 -1
  132. package/dist/ezui/p-c4320a39.entry.js +0 -1
  133. package/dist/ezui/p-e3e3fd7a.entry.js +0 -1
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy(JSON.parse("[[\"ez-grid.cjs\",[[6,\"ez-grid\",{\"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\":[4,\"can-edit\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"enableContinuousInsert\":[4,\"enable-continuous-insert\"],\"enableLockManger\":[4,\"enable-lock-manger\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[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,\"ezSelectionChange\",\"onSelectionChange\"],[2,\"click\",\"handleClick\"]]]]],[\"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\"],\"rightTitle\":[1,\"right-title\"],\"leftFilteredList\":[32],\"rightFilteredList\":[32],\"selectedLeftList\":[32],\"selectedRightList\":[32],\"isFilteringLeft\":[32],\"isFilteringRight\":[32],\"resetSelectedLists\":[64]}]]],[\"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-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-split-button.cjs\",[[1,\"ez-split-button\",{\"enabled\":[516],\"iconName\":[513,\"icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"show\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"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]},[[8,\"keydown\",\"handleKeyDown\"]]]]],[\"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-split-item.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"structural\":[4],\"_expanded\":[32]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip.cjs\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"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-application.cjs\",[[0,\"ez-application\"]]],[\"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-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-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\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"structural\":[4],\"rebuildLayout\":[64]}]]],[\"ez-toast.cjs\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack.cjs\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[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\"],\"noMargin\":[4,\"no-margin\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"setValue\":[64],\"endSearch\":[64]}]]],[\"ez-card-item_2.cjs\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"],\"compacted\":[4]}]]],[\"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-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],\"_tree\":[32],\"_waintingForLoad\":[32],\"selectItem\":[64],\"openItem\":[64],\"disableItem\":[64],\"enableItem\":[64],\"addChild\":[64],\"applyFilter\":[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]}]]],[\"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-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\"],\"noMargin\":[4,\"no-margin\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"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\"],\"noMargin\":[4,\"no-margin\"],\"_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\"],\"noMargin\":[4,\"no-margin\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[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-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-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\"],\"noMargin\":[4,\"no-margin\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"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\"],\"noMargin\":[4,\"no-margin\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[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\"],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"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-custom-form-input_2.cjs\",[[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]}]]],[\"ez-search.cjs\",[[1,\"ez-search\",{\"value\":[1537],\"label\":[1537],\"enabled\":[1540],\"errorMessage\":[1537,\"error-message\"],\"optionLoader\":[16],\"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\"],\"noMargin\":[4,\"no-margin\"],\"options\":[1040],\"suppressSearch\":[4,\"suppress-search\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"autoFocus\":[4,\"auto-focus\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_showLoadingDescription\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-check.cjs\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-dropdown_2.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]],[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"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\"],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-icon.cjs\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"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-button.cjs\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-tooltip.cjs\",[[1,\"ez-tooltip\",{\"errorMessage\":[1,\"error-message\"],\"anchoringElement\":[16],\"positionTooltip\":[64]}]]],[\"ez-text-input.cjs\",[[1,\"ez-text-input\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"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\"],\"noMargin\":[4,\"no-margin\"],\"hasRightSlotContent\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"_fieldsProps\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]]]"), options);
17
+ return index.bootstrapLazy(JSON.parse("[[\"ez-grid.cjs\",[[6,\"ez-grid\",{\"enableLockManagerLoadingComp\":[4,\"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\":[4,\"can-edit\"],\"autoFocus\":[4,\"auto-focus\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"enableContinuousInsert\":[4,\"enable-continuous-insert\"],\"suppressCheckboxColumn\":[4,\"suppress-checkbox-column\"],\"outlineMode\":[4,\"outline-mode\"],\"enableRowTableStriped\":[4,\"enable-row-table-striped\"],\"compact\":[4],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[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,\"ezSelectionChange\",\"onSelectionChange\"],[2,\"click\",\"handleClick\"]]]]],[\"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\"],\"rightTitle\":[1,\"right-title\"],\"leftFilteredList\":[32],\"rightFilteredList\":[32],\"selectedLeftList\":[32],\"selectedRightList\":[32],\"isFilteringLeft\":[32],\"isFilteringRight\":[32],\"resetSelectedLists\":[64]}]]],[\"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-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-split-button.cjs\",[[1,\"ez-split-button\",{\"enabled\":[516],\"iconName\":[513,\"icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"show\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"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-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-split-item.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"structural\":[4],\"_expanded\":[32]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip.cjs\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"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-application.cjs\",[[0,\"ez-application\"]]],[\"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-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-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\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"structural\":[4],\"rebuildLayout\":[64]}]]],[\"ez-toast.cjs\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack.cjs\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[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-card-item_2.cjs\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"],\"compacted\":[4]}]]],[\"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-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],\"_tree\":[32],\"_waintingForLoad\":[32],\"selectItem\":[64],\"openItem\":[64],\"disableItem\":[64],\"enableItem\":[64],\"addChild\":[64],\"applyFilter\":[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]}]]],[\"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-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\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"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\"],\"_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\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[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-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-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\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"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\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[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\"],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"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-custom-form-input_2.cjs\",[[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]}]]],[\"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\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_showLoadingDescription\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-check.cjs\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-dropdown_2.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]],[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"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\"],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-icon.cjs\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"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-button.cjs\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-tooltip.cjs\",[[1,\"ez-tooltip\",{\"errorMessage\":[1,\"error-message\"],\"anchoringElement\":[16],\"positionTooltip\":[64]}]]],[\"ez-text-input.cjs\",[[1,\"ez-text-input\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"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],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"_fieldsProps\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]]]"), options);
18
18
  });
19
19
  };
20
20
 
@@ -32,7 +32,6 @@ export class EzComboBox {
32
32
  this.listOptionsPosition = undefined;
33
33
  this.isTextSearch = false;
34
34
  this.autoFocus = false;
35
- this.noMargin = false;
36
35
  }
37
36
  observeErrorMessage() {
38
37
  var _a;
@@ -565,7 +564,7 @@ export class EzComboBox {
565
564
  }
566
565
  render() {
567
566
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
568
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, noMargin: this.noMargin }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this._showLoading
567
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this._showLoading
569
568
  && this._visibleOptions.length === 0
570
569
  && h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
571
570
  && h("div", { class: "message" }, h("div", { class: "message__loading" })), this.showOptionValue
@@ -925,24 +924,6 @@ export class EzComboBox {
925
924
  "attribute": "auto-focus",
926
925
  "reflect": false,
927
926
  "defaultValue": "false"
928
- },
929
- "noMargin": {
930
- "type": "boolean",
931
- "mutable": false,
932
- "complexType": {
933
- "original": "boolean",
934
- "resolved": "boolean",
935
- "references": {}
936
- },
937
- "required": false,
938
- "optional": false,
939
- "docs": {
940
- "tags": [],
941
- "text": "Quando verdadeiro, o campo n\u00E3o ter\u00E1 espa\u00E7amento externo."
942
- },
943
- "attribute": "no-margin",
944
- "reflect": false,
945
- "defaultValue": "false"
946
927
  }
947
928
  };
948
929
  }
@@ -13,7 +13,6 @@ export class EzDateInput {
13
13
  this.mode = "regular";
14
14
  this.canShowError = true;
15
15
  this.autoFocus = false;
16
- this.noMargin = false;
17
16
  }
18
17
  observeLabel() {
19
18
  if (this._textInput) {
@@ -177,7 +176,7 @@ export class EzDateInput {
177
176
  }
178
177
  render() {
179
178
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
180
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, noMargin: this.noMargin }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, "data-is-fixed": this._elem.dataset.isFixed })));
179
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, "data-is-fixed": this._elem.dataset.isFixed })));
181
180
  }
182
181
  static get is() { return "ez-date-input"; }
183
182
  static get encapsulation() { return "shadow"; }
@@ -317,24 +316,6 @@ export class EzDateInput {
317
316
  "attribute": "auto-focus",
318
317
  "reflect": false,
319
318
  "defaultValue": "false"
320
- },
321
- "noMargin": {
322
- "type": "boolean",
323
- "mutable": false,
324
- "complexType": {
325
- "original": "boolean",
326
- "resolved": "boolean",
327
- "references": {}
328
- },
329
- "required": false,
330
- "optional": false,
331
- "docs": {
332
- "tags": [],
333
- "text": "Quando verdadeiro, o campo n\u00E3o ter\u00E1 espa\u00E7amento."
334
- },
335
- "attribute": "no-margin",
336
- "reflect": false,
337
- "defaultValue": "false"
338
319
  }
339
320
  };
340
321
  }
@@ -14,7 +14,6 @@ export class EzDateTimeInput {
14
14
  this.mode = "regular";
15
15
  this.canShowError = true;
16
16
  this.autoFocus = false;
17
- this.noMargin = false;
18
17
  }
19
18
  observeLabel() {
20
19
  if (this._textInput) {
@@ -227,7 +226,7 @@ export class EzDateTimeInput {
227
226
  }
228
227
  render() {
229
228
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
230
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError, noMargin: this.noMargin }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, time: true, showSeconds: this.showSeconds, "data-is-fixed": this._elem.dataset.isFixed })));
229
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, time: true, showSeconds: this.showSeconds, "data-is-fixed": this._elem.dataset.isFixed })));
231
230
  }
232
231
  static get is() { return "ez-date-time-input"; }
233
232
  static get encapsulation() { return "shadow"; }
@@ -385,24 +384,6 @@ export class EzDateTimeInput {
385
384
  "attribute": "auto-focus",
386
385
  "reflect": false,
387
386
  "defaultValue": "false"
388
- },
389
- "noMargin": {
390
- "type": "boolean",
391
- "mutable": false,
392
- "complexType": {
393
- "original": "boolean",
394
- "resolved": "boolean",
395
- "references": {}
396
- },
397
- "required": false,
398
- "optional": false,
399
- "docs": {
400
- "tags": [],
401
- "text": "Quando verdadeiro, o campo n\u00E3o ter\u00E1 espa\u00E7amento."
402
- },
403
- "attribute": "no-margin",
404
- "reflect": false,
405
- "defaultValue": "false"
406
387
  }
407
388
  };
408
389
  }
@@ -1,6 +1,6 @@
1
1
  import { h, forceUpdate, } from '@stencil/core';
2
2
  import { DialogType } from "./DialogType";
3
- import { ElementIDUtils, FloatingManager } from "@sankhyalabs/core";
3
+ import { ElementIDUtils, FloatingManager, KeyboardManager } from "@sankhyalabs/core";
4
4
  import FocusResolver from '../../utils/FocusResolver';
5
5
  class Message {
6
6
  constructor(title, message, dialogType, confirm, icon, labelCancel, labelConfirm, btnConfirmDanger, callBack, beforeClose) {
@@ -39,11 +39,6 @@ export class EzDialog {
39
39
  this._canFocusOnPrimaryBtn = true;
40
40
  }
41
41
  }
42
- handleKeyDown(event) {
43
- if (event.key === 'Escape' || event.key === 'Esc') {
44
- this.handleButtonClick(false);
45
- }
46
- }
47
42
  manageOverflow() {
48
43
  if (this.opened) {
49
44
  window.document.body.style.overflow = "hidden";
@@ -155,6 +150,10 @@ export class EzDialog {
155
150
  }
156
151
  componentDidLoad() {
157
152
  ElementIDUtils.addIDInfo(this._element);
153
+ new KeyboardManager({ propagate: false, element: this._element })
154
+ .bind("Enter", () => this.handleButtonClick(true), { description: "Botão de confirmação ou OK", element: this._element })
155
+ .bind("Escape", () => this.handleButtonClick(false), { description: "Botão de fechar ou x", element: this._element })
156
+ .bind("Esc", () => this.handleButtonClick(false), { description: "Botão de fechar ou x", element: this._element });
158
157
  }
159
158
  componentDidRender() {
160
159
  this.manageOverlay();
@@ -432,13 +431,4 @@ export class EzDialog {
432
431
  "methodName": "observeConfig"
433
432
  }];
434
433
  }
435
- static get listeners() {
436
- return [{
437
- "name": "keydown",
438
- "method": "handleKeyDown",
439
- "target": "window",
440
- "capture": false,
441
- "passive": false
442
- }];
443
- }
444
434
  }
@@ -22,7 +22,6 @@ export class EzFilterInput {
22
22
  this.asyncSearch = false;
23
23
  this.canShowError = true;
24
24
  this.autoFocus = false;
25
- this.noMargin = false;
26
25
  }
27
26
  observeLabel() {
28
27
  if (this._textInput) {
@@ -105,7 +104,7 @@ export class EzFilterInput {
105
104
  }
106
105
  render() {
107
106
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
108
- return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.handleChange(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode, onFocusin: this.handleFocus, canShowError: this.canShowError, noMargin: this.noMargin }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
107
+ return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.handleChange(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode, onFocusin: this.handleFocus, canShowError: this.canShowError }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
109
108
  }
110
109
  static get is() { return "ez-filter-input"; }
111
110
  static get encapsulation() { return "shadow"; }
@@ -278,24 +277,6 @@ export class EzFilterInput {
278
277
  "attribute": "auto-focus",
279
278
  "reflect": false,
280
279
  "defaultValue": "false"
281
- },
282
- "noMargin": {
283
- "type": "boolean",
284
- "mutable": false,
285
- "complexType": {
286
- "original": "boolean",
287
- "resolved": "boolean",
288
- "references": {}
289
- },
290
- "required": false,
291
- "optional": false,
292
- "docs": {
293
- "tags": [],
294
- "text": "Quando verdadeiro, o campo n\u00E3o ter\u00E1 espa\u00E7amento."
295
- },
296
- "attribute": "no-margin",
297
- "reflect": false,
298
- "defaultValue": "false"
299
280
  }
300
281
  };
301
282
  }
@@ -7,5 +7,5 @@ export const buildCheckBox = (field) => {
7
7
  return buildField(field.name, field.label, field.readOnly, field.contextName, false);
8
8
  };
9
9
  function buildField(fieldName, fieldLabel, readOnly, contextName, switchMode) {
10
- return (h("div", { class: "ez-col ez-col--sd-12 ez-align--middle ez-padding-bottom--large" }, h("ez-check", { enabled: !readOnly, label: fieldLabel, mode: switchMode ? CheckMode.SWITCH : CheckMode.REGULAR, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName, noMargin: true })));
10
+ return (h("div", { class: "ez-col ez-col--sd-12 ez-align--middle ez-padding-bottom--large" }, h("ez-check", { enabled: !readOnly, label: fieldLabel, mode: switchMode ? CheckMode.SWITCH : CheckMode.REGULAR, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName })));
11
11
  }
@@ -9,5 +9,5 @@ export const buildComboBox = ({ name, label, readOnly, required, props, contextN
9
9
  else {
10
10
  options = prop;
11
11
  }
12
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-combo-box", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, options: options, canShowError: canShowError, noMargin: true })));
12
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-combo-box", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, options: options, canShowError: canShowError })));
13
13
  };
@@ -1,14 +1,14 @@
1
1
  import { h } from "@stencil/core";
2
2
  export const buildDate = ({ name, label, readOnly, canShowError }) => {
3
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-date-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError, noMargin: true })));
3
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-date-input", { class: "ez-input__no-margin", enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError })));
4
4
  };
5
5
  export const buildTime = ({ name, label, readOnly, canShowError, props }) => {
6
6
  var _a;
7
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-time-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError, noMargin: true, "show-seconds": (_a = props === null || props === void 0 ? void 0 : props.showSeconds) !== null && _a !== void 0 ? _a : false })));
7
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-time-input", { class: "ez-input__no-margin", enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError, "show-seconds": (_a = props === null || props === void 0 ? void 0 : props.showSeconds) !== null && _a !== void 0 ? _a : false })));
8
8
  };
9
9
  export const buildTimeSeconds = ({ name, label, readOnly, canShowError }) => {
10
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-time-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError, noMargin: true, showSeconds: true })));
10
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-time-input", { class: "ez-input__no-margin", enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError, showSeconds: true })));
11
11
  };
12
12
  export const buildDateTime = ({ name, label, readOnly, contextName, canShowError }) => {
13
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-date-time-input", { enabled: !readOnly, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, noMargin: true })));
13
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-date-time-input", { class: "ez-input__no-margin", enabled: !readOnly, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError })));
14
14
  };
@@ -9,5 +9,5 @@ export const buildInteger = ({ name, label, readOnly, contextName, canShowError
9
9
  return buildNumeric(name, label, readOnly, 0, 0, contextName, canShowError);
10
10
  };
11
11
  function buildNumeric(fieldName, fieldLabel, readOnly, precision, prettyPrecision, contextName, canShowError) {
12
- return (h("div", { class: "ez-col ez-col--sd-12 " }, h("ez-number-input", { enabled: !readOnly, label: fieldLabel, precision: precision, prettyPrecision: prettyPrecision, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName, canShowError: canShowError, noMargin: true })));
12
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-number-input", { class: "ez-input__no-margin", enabled: !readOnly, label: fieldLabel, precision: precision, prettyPrecision: prettyPrecision, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName, canShowError: canShowError })));
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
2
  export const buildSearch = ({ name, label, readOnly, required, contextName, canShowError, optionLoader, props }) => {
3
3
  var _a;
4
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-search", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false, noMargin: true })));
4
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-search", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false })));
5
5
  };
@@ -1,4 +1,4 @@
1
1
  import { h } from "@stencil/core";
2
2
  export const buildTextInput = ({ name, label, readOnly, contextName, canShowError, props }) => {
3
- return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-text-input", { label: label, "data-field-name": name, "data-context-name": contextName, key: name, enabled: !readOnly, canShowError: canShowError, mask: props === null || props === void 0 ? void 0 : props.mask, "clean-value-mask": props === null || props === void 0 ? void 0 : props.cleanValueMask, noMargin: true })));
3
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-text-input", { class: "ez-input__no-margin", label: label, "data-field-name": name, "data-context-name": contextName, key: name, enabled: !readOnly, canShowError: canShowError, mask: props === null || props === void 0 ? void 0 : props.mask, "clean-value-mask": props === null || props === void 0 ? void 0 : props.cleanValueMask })));
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ApplicationContext, DataType, LockManager, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
1
+ import { ApplicationContext, DataType, LockManager, LockManagerOperation, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
2
2
  import { Grid } from "@ag-grid-community/core";
3
3
  import { LicenseManager } from '@ag-grid-enterprise/core';
4
4
  import DataSource from './DataSource';
@@ -40,7 +40,10 @@ export default class AgGridController {
40
40
  this.STATUS_COL_ID = 'statusColumn';
41
41
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
42
42
  this.BLOCK_LOAD_DEBOUNCE = 100;
43
- this.DOC_WIDTH = 1150;
43
+ this.DEFAULT_FONT_SIZE = 14;
44
+ this.DEFAULT_ICON_SIZE = 12;
45
+ this.DEFAULT_MAX_SIZE = 200;
46
+ this.DOC_WIDTH = 800;
44
47
  this._menuItems = [];
45
48
  this._idAttribName = '__record__id__';
46
49
  this._gridConfig = [];
@@ -133,7 +136,12 @@ export default class AgGridController {
133
136
  var _a;
134
137
  this._options = options;
135
138
  this._container = container;
136
- const lockerId = options.enableLockManger ? LockManager.addLockManagerCtxId(this._container) : null;
139
+ const lockerIdTaskbarClick = (options === null || options === void 0 ? void 0 : options.enableLockManagerTaskbarClick) ? LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container) : null;
140
+ let resolveLoading = undefined;
141
+ if (options === null || options === void 0 ? void 0 : options.enableLockManagerLoadingComp) {
142
+ const lockerIdAppLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container);
143
+ resolveLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.lock(lockerIdAppLoading, LockManagerOperation.APP_LOADING);
144
+ }
137
145
  if (this._grid === undefined) {
138
146
  LicenseManager.setLicenseKey(ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
139
147
  this._columnStateChangeCallback = options.onColumnStateChange;
@@ -141,7 +149,7 @@ export default class AgGridController {
141
149
  this._doubleClickCallBack = options.onDoubleClick;
142
150
  this._multipleSelection = options.allowMultipleSelection;
143
151
  this._dataUnit = options.dataUnit;
144
- this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerId);
152
+ this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerIdTaskbarClick);
145
153
  this._statusResolver = options.statusResolver;
146
154
  if (this._dataUnit) {
147
155
  this._dataUnit.sortingProvider = this;
@@ -187,7 +195,7 @@ export default class AgGridController {
187
195
  processCellCallback: this.processFormatterCellCallback
188
196
  }
189
197
  };
190
- this.defineRowModelType(this._gridOptions, options);
198
+ this.defineRowModelType(this._gridOptions, options, resolveLoading);
191
199
  this.setOptionsEvents(this._gridOptions);
192
200
  this.setOptionsSupress(this._gridOptions);
193
201
  this._gridOptions = this._editionManager.configureGrid(this._gridOptions);
@@ -348,10 +356,10 @@ export default class AgGridController {
348
356
  }
349
357
  return null;
350
358
  }
351
- defineRowModelType(opt, sourceOptions) {
359
+ defineRowModelType(opt, sourceOptions, resolveLoading) {
352
360
  if (this._dataUnit != undefined) {
353
361
  opt.rowModelType = 'serverSide';
354
- opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions);
362
+ opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions, resolveLoading);
355
363
  opt.serverSideSortOnServer = true;
356
364
  opt.columnDefs = this._colDefs;
357
365
  }
@@ -656,9 +664,8 @@ export default class AgGridController {
656
664
  this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
657
665
  }
658
666
  setColumnsDef(cols) {
659
- const newColDefs = [
660
- Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: '', checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection && { headerComponent: 'ezGridHeaderComponent', headerClass: 'ag-column-select-header' })),
661
- ];
667
+ const checkBoxColumn = Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: '', checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection && { headerComponent: 'ezGridHeaderComponent', headerClass: 'ag-column-select-header' }));
668
+ const newColDefs = this._options.suppressCheckBoxCol ? [] : [checkBoxColumn];
662
669
  if (this._statusResolver != undefined) {
663
670
  newColDefs.push({
664
671
  colId: this.STATUS_COL_ID,
@@ -728,9 +735,8 @@ export default class AgGridController {
728
735
  const columnsOffset = colDef.length - columns.length;
729
736
  this._gridConfig = state;
730
737
  let sort = [];
731
- state === null || state === void 0 ? void 0 : state.forEach((cfgColumn, index) => {
732
- var _a;
733
- const colWidth = (_a = this._gridOptions.columnApi.getColumn(cfgColumn.name)) === null || _a === void 0 ? void 0 : _a.getActualWidth();
738
+ state.forEach((cfgColumn, index) => {
739
+ const colWidth = this.getColumnWidth(cfgColumn);
734
740
  this._gridOptions.columnApi.moveColumn(cfgColumn.name, index + columnsOffset);
735
741
  this._gridOptions.columnApi.setColumnWidth(cfgColumn.name, colWidth);
736
742
  visibleColumns.push(cfgColumn.name);
@@ -1092,4 +1098,19 @@ export default class AgGridController {
1092
1098
  stopEdit() {
1093
1099
  this._gridOptions.api.stopEditing();
1094
1100
  }
1101
+ getColumnWidth(cfgColumn) {
1102
+ var _a, _b;
1103
+ if (cfgColumn == undefined) {
1104
+ return;
1105
+ }
1106
+ if (cfgColumn.customWidth != undefined) {
1107
+ return cfgColumn.customWidth;
1108
+ }
1109
+ const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
1110
+ if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
1111
+ return this.DEFAULT_MAX_SIZE;
1112
+ }
1113
+ const labelSize = (((_b = field === null || field === void 0 ? void 0 : field.label) === null || _b === void 0 ? void 0 : _b.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
1114
+ return labelSize > this.DEFAULT_MAX_SIZE ? this.DEFAULT_MAX_SIZE : labelSize;
1115
+ }
1095
1116
  }
@@ -3,6 +3,9 @@ import { EZ_GRID_LOADING_SOURCE } from "../../../../utils/constants";
3
3
  import { DataSourceInterceptor } from "./DataSourceInterceptor";
4
4
  export default class DataSource {
5
5
  handleDataSaved(action) {
6
+ if (this._options) {
7
+ this._options.onPaginationUpdate(this._dataUnit.getPaginationInfo());
8
+ }
6
9
  this._controller.clearInvalidCells();
7
10
  this.handleRefreshOrReload(action);
8
11
  this._controller.processContinuousInsert();
@@ -112,12 +115,15 @@ export default class DataSource {
112
115
  return ((_b = action === null || action === void 0 ? void 0 : action.payload) === null || _b === void 0 ? void 0 : _b.silent) === true;
113
116
  }
114
117
  }
115
- constructor(dataUnit, controller, options) {
118
+ constructor(dataUnit, controller, options, resolveLoading) {
119
+ var _a;
116
120
  this.RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
117
121
  this.duObserver = (action) => {
122
+ var _a;
118
123
  switch (action.type) {
119
124
  case Action.METADATA_LOADED:
120
125
  this._controller.setColumnsDef(this.buildColumnDefs());
126
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
121
127
  break;
122
128
  case Action.LOADING_DATA:
123
129
  this._waitingForLoad = true;
@@ -167,12 +173,19 @@ export default class DataSource {
167
173
  break;
168
174
  }
169
175
  };
170
- this._dataUnit = dataUnit;
171
- this._controller = controller;
172
- this._controller.setColumnsDef(this.buildColumnDefs());
173
- this._options = options;
174
- this._dataUnit.subscribe(this.duObserver);
175
- this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
176
+ try {
177
+ this._resolveLoading = resolveLoading;
178
+ this._dataUnit = dataUnit;
179
+ this._controller = controller;
180
+ this._controller.setColumnsDef(this.buildColumnDefs());
181
+ this._options = options;
182
+ this._dataUnit.subscribe(this.duObserver);
183
+ this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
184
+ }
185
+ finally {
186
+ if (this._dataUnit.metadata)
187
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
188
+ }
176
189
  }
177
190
  updateSelection() {
178
191
  const selectionInfo = this._dataUnit.getSelectionInfo();
@@ -222,26 +235,31 @@ export default class DataSource {
222
235
  (_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.subscribe(this.duObserver);
223
236
  }
224
237
  buildColumnDefs() {
225
- const gridConfig = this._controller.getGridConfig() || [];
226
- const columnDefs = [];
227
- if (this._dataUnit.metadata) {
228
- this._dataUnit.metadata.fields.sort((a, b) => {
229
- const indexA = gridConfig.findIndex(value => value.name === a.name);
230
- const indexB = gridConfig.findIndex(value => value.name === b.name);
231
- return indexA - indexB;
232
- });
233
- this._dataUnit.metadata.fields.forEach(f => {
234
- var _a;
235
- if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
236
- const props = new Map();
237
- const properties = this._dataUnit.getField(f.name).properties;
238
- for (const value in properties) {
239
- props.set(value, properties[value]);
238
+ try {
239
+ const gridConfig = this._controller.getGridConfig() || [];
240
+ const columnDefs = [];
241
+ if (this._dataUnit.metadata) {
242
+ this._dataUnit.metadata.fields.sort((a, b) => {
243
+ const indexA = gridConfig.findIndex(value => value.name === a.name);
244
+ const indexB = gridConfig.findIndex(value => value.name === b.name);
245
+ return indexA - indexB;
246
+ });
247
+ this._dataUnit.metadata.fields.forEach(f => {
248
+ var _a;
249
+ if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
250
+ const props = new Map();
251
+ const properties = this._dataUnit.getField(f.name).properties;
252
+ for (const value in properties) {
253
+ props.set(value, properties[value]);
254
+ }
255
+ columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
240
256
  }
241
- columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
242
- }
243
- });
257
+ });
258
+ }
259
+ return columnDefs;
260
+ }
261
+ catch (error) {
262
+ console.warn(error);
244
263
  }
245
- return columnDefs;
246
264
  }
247
265
  }