@sankhyalabs/ezui 6.0.1 → 6.1.0-dev.2
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/FormLayout-18853e70.js +27 -0
- package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +50 -0
- package/dist/cjs/ez-card-item_2.cjs.entry.js +3 -1217
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +18 -10
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +3 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +10 -14
- package/dist/cjs/ez-date-input.cjs.entry.js +2 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +6 -3
- package/dist/cjs/ez-double-list.cjs.entry.js +114 -53
- package/dist/cjs/{ez-dropdown_2.cjs.entry.js → ez-dropdown.cjs.entry.js} +1 -62
- package/dist/cjs/ez-filter-input_2.cjs.entry.js +257 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +18 -10
- package/dist/cjs/ez-form.cjs.entry.js +86 -5
- package/dist/cjs/ez-grid.cjs.entry.js +1041 -144
- package/dist/cjs/ez-icon.cjs.entry.js +11 -5
- package/dist/cjs/ez-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js +7 -3
- package/dist/cjs/ez-modal.cjs.entry.js +5 -1
- package/dist/cjs/ez-number-input.cjs.entry.js +2 -1
- package/dist/cjs/ez-popup.cjs.entry.js +5 -1
- package/dist/cjs/ez-search-plus.cjs.entry.js +397 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
- package/dist/cjs/ez-search.cjs.entry.js +4 -3
- package/dist/cjs/ez-skeleton.cjs.entry.js +149 -0
- package/dist/cjs/ez-sortable-list.cjs.entry.js +3510 -0
- package/dist/cjs/ez-split-button.cjs.entry.js +15 -6
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +24 -3
- package/dist/cjs/ez-text-input.cjs.entry.js +83 -100
- package/dist/cjs/ez-time-input.cjs.entry.js +2 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/filter-column.cjs.entry.js +14 -5
- package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
- package/dist/cjs/index-9e5554cb.js +24 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{DataBinder-e92314c2.js → search-column-1d3c9fa5.js} +73 -13
- package/dist/collection/collection-manifest.json +14 -0
- package/dist/collection/components/ez-avatar/ez-avatar.css +139 -0
- package/dist/collection/components/ez-avatar/ez-avatar.js +143 -0
- package/dist/collection/components/ez-check/ez-check.css +9 -0
- package/dist/collection/components/ez-check/ez-check.js +34 -9
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +1 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +45 -15
- package/dist/collection/components/ez-date-input/ez-date-input.js +19 -1
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +19 -1
- package/dist/collection/components/ez-dialog/ez-dialog.css +24 -21
- package/dist/collection/components/ez-dialog/ez-dialog.js +5 -2
- package/dist/collection/components/ez-double-list/doubleListHelper.js +9 -10
- package/dist/collection/components/ez-double-list/ez-double-list.css +6 -38
- package/dist/collection/components/ez-double-list/ez-double-list.js +168 -50
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +1 -1
- package/dist/collection/components/ez-form/ez-form.js +124 -4
- package/dist/collection/components/ez-form-view/ez-form-view.css +8 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +3 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +148 -14
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +23 -4
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +30 -6
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +2 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
- package/dist/collection/components/ez-grid/ez-grid.css +4 -0
- package/dist/collection/components/ez-grid/ez-grid.js +122 -15
- package/dist/collection/components/ez-grid/interfaces/IGridMode.js +1 -0
- package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +14 -5
- package/dist/collection/components/ez-icon/ez-icon.js +28 -5
- package/dist/collection/components/ez-list/ez-list.js +2 -2
- package/dist/collection/components/ez-modal/ez-modal.js +5 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +19 -1
- package/dist/collection/components/ez-popup/ez-popup.js +5 -1
- package/dist/collection/components/ez-search/ez-search.js +19 -1
- package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +960 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +25 -1
- package/dist/collection/components/ez-skeleton/ez-skeleton.css +122 -80
- package/dist/collection/components/ez-skeleton/ez-skeleton.js +210 -46
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +226 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +582 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.js +87 -10
- package/dist/collection/components/ez-text-area/ez-text-area.js +47 -2
- package/dist/collection/components/ez-text-input/ez-text-input.css +27 -2
- package/dist/collection/components/ez-text-input/ez-text-input.js +124 -73
- package/dist/collection/components/ez-time-input/ez-time-input.js +19 -1
- package/dist/collection/components/ez-tooltip/ez-tooltip.css +54 -12
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +240 -46
- package/dist/collection/utils/constants.js +2 -0
- package/dist/collection/utils/form/DataBinder.js +43 -14
- package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
- package/dist/collection/utils/form/interfaces/index.js +1 -1
- package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/search/types.js +7 -0
- package/dist/collection/utils/searchColumn/search-column.js +35 -0
- package/dist/custom-elements/index.d.ts +24 -0
- package/dist/custom-elements/index.js +6012 -469
- package/dist/esm/FormLayout-071d324c.js +27 -0
- package/dist/esm/constants-b036528f.js +7 -0
- package/dist/esm/ez-actions-button.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +46 -0
- package/dist/esm/ez-card-item_2.entry.js +1 -1215
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +18 -10
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box-list_3.entry.js +2 -2
- package/dist/esm/ez-combo-box.entry.js +10 -14
- package/dist/esm/ez-date-input.entry.js +2 -1
- package/dist/esm/ez-date-time-input.entry.js +2 -1
- package/dist/esm/ez-dialog.entry.js +6 -3
- package/dist/esm/ez-double-list.entry.js +115 -54
- package/dist/esm/{ez-dropdown_2.entry.js → ez-dropdown.entry.js} +2 -62
- package/dist/esm/ez-filter-input_2.entry.js +252 -0
- package/dist/esm/ez-form-view.entry.js +19 -11
- package/dist/esm/ez-form.entry.js +85 -4
- package/dist/esm/ez-grid.entry.js +1037 -140
- package/dist/esm/ez-icon.entry.js +11 -5
- package/dist/esm/ez-list.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js +7 -3
- package/dist/esm/ez-modal.entry.js +5 -1
- package/dist/esm/ez-number-input.entry.js +2 -1
- package/dist/esm/ez-popup.entry.js +5 -1
- package/dist/esm/ez-search-plus.entry.js +393 -0
- package/dist/esm/ez-search-result-list.entry.js +93 -0
- package/dist/esm/ez-search.entry.js +4 -3
- package/dist/esm/ez-skeleton.entry.js +145 -0
- package/dist/esm/ez-sortable-list.entry.js +3506 -0
- package/dist/esm/ez-split-button.entry.js +15 -6
- package/dist/esm/ez-split-item.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +24 -3
- package/dist/esm/ez-text-input.entry.js +83 -100
- package/dist/esm/ez-time-input.entry.js +2 -1
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/filter-column.entry.js +14 -5
- package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
- package/dist/esm/index-5a720e56.js +24 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{DataBinder-9c877244.js → search-column-35f4ad93.js} +69 -15
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-01b72d7e.entry.js +1 -0
- package/dist/ezui/p-07594da0.entry.js +1 -0
- package/dist/ezui/p-175154a0.js +1 -0
- package/dist/ezui/p-18e71523.entry.js +1 -0
- package/dist/ezui/p-1fefb37a.entry.js +1 -0
- package/dist/ezui/{p-cedeedf1.entry.js → p-220b9944.entry.js} +1 -1
- package/dist/ezui/p-28987410.entry.js +1 -0
- package/dist/ezui/p-2d10bb18.entry.js +1 -0
- package/dist/ezui/p-30ffb9ed.js +1 -0
- package/dist/ezui/p-4a876b8b.entry.js +1 -0
- package/dist/ezui/p-4e66eaeb.entry.js +1 -0
- package/dist/ezui/p-545bd5d5.entry.js +7 -0
- package/dist/ezui/p-5b85d3de.entry.js +1 -0
- package/dist/ezui/p-5eea9886.js +1 -0
- package/dist/ezui/p-61f5c258.entry.js +1 -0
- package/dist/ezui/p-6b2cc9b8.entry.js +1 -0
- package/dist/ezui/p-6b3fddee.entry.js +1 -0
- package/dist/ezui/p-700c1320.entry.js +1 -0
- package/dist/ezui/p-791f4e43.entry.js +1 -0
- package/dist/ezui/p-7db20f8e.entry.js +1 -0
- package/dist/ezui/p-7ec3f335.entry.js +1 -0
- package/dist/ezui/p-80764ff6.entry.js +309 -0
- package/dist/ezui/p-85d7b78a.entry.js +1 -0
- package/dist/ezui/p-90c90351.entry.js +1 -0
- package/dist/ezui/p-90e91173.entry.js +1 -0
- package/dist/ezui/p-926a0bde.entry.js +1 -0
- package/dist/ezui/p-97d94ef3.entry.js +1 -0
- package/dist/ezui/p-a11827ca.entry.js +1 -0
- package/dist/ezui/p-b3b3c99a.entry.js +1 -0
- package/dist/ezui/p-c8e6204f.entry.js +1 -0
- package/dist/ezui/p-d2290004.entry.js +1 -0
- package/dist/ezui/p-d4d6d5fe.entry.js +1 -0
- package/dist/ezui/p-ddb22a70.entry.js +1 -0
- package/dist/ezui/{p-866abc8e.entry.js → p-ddd0bd61.entry.js} +1 -1
- package/dist/ezui/p-e07e4671.js +1 -0
- package/dist/ezui/p-e4ae4ddb.entry.js +1 -0
- package/dist/ezui/{p-30571aaf.entry.js → p-e4ead194.entry.js} +1 -1
- package/dist/ezui/p-ed48a632.entry.js +1 -0
- package/dist/types/components/ez-avatar/ez-avatar.d.ts +24 -0
- package/dist/types/components/ez-check/ez-check.d.ts +7 -2
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +8 -2
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +4 -0
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +4 -0
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +1 -0
- package/dist/types/components/ez-double-list/doubleListHelper.d.ts +4 -2
- package/dist/types/components/ez-double-list/ez-double-list.d.ts +60 -24
- package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +4 -4
- package/dist/types/components/ez-form/ez-form.d.ts +23 -1
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +9 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +9 -1
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +17 -1
- package/dist/types/components/ez-grid/interfaces/IGridMode.d.ts +1 -0
- package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -0
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
- package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
- package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +4 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +2 -0
- package/dist/types/components/ez-search/ez-search.d.ts +4 -0
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
- package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
- package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +55 -1
- package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +50 -22
- package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +91 -0
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +14 -2
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +8 -0
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +21 -9
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +41 -5
- package/dist/types/components.d.ts +786 -24
- package/dist/types/utils/constants.d.ts +2 -0
- package/dist/types/utils/form/DataBinder.d.ts +4 -2
- package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
- package/dist/types/utils/form/interfaces/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/search/types.d.ts +12 -0
- package/dist/types/utils/searchColumn/search-column.d.ts +9 -0
- package/package.json +7 -2
- package/react/components.d.ts +64 -60
- package/react/components.js +4 -0
- package/react/components.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/react/react-component-lib/interfaces.js +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +1 -1
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/dev.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +2 -2
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/dist/cjs/ApplicationUtils-c9d1205c.js.gz +0 -0
- package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
- package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
- package/dist/cjs/DataBinder-e92314c2.js.gz +0 -0
- package/dist/cjs/DialogType-2114c337.js.gz +0 -0
- package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
- package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
- package/dist/cjs/ICustomRender-6fafffce.js +0 -13
- package/dist/cjs/ICustomRender-6fafffce.js.gz +0 -0
- package/dist/cjs/constants-2714478b.js.gz +0 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-card-item_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dropdown_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js +0 -129
- package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js +0 -55
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/index-9e5554cb.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
- package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
- package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
- package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
- package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
- package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/messages/constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ResponsiveInputUtils.js +0 -26
- package/dist/collection/utils/ResponsiveInputUtils.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-eaf91331.js.gz +0 -0
- package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
- package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
- package/dist/esm/DataBinder-9c877244.js.gz +0 -0
- package/dist/esm/DialogType-54a62731.js.gz +0 -0
- package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
- package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
- package/dist/esm/ICustomRender-875b5a40.js +0 -13
- package/dist/esm/ICustomRender-875b5a40.js.gz +0 -0
- package/dist/esm/constants-4e0d35b7.js +0 -5
- package/dist/esm/constants-4e0d35b7.js.gz +0 -0
- package/dist/esm/ez-actions-button.entry.js.gz +0 -0
- package/dist/esm/ez-alert-list.entry.js.gz +0 -0
- package/dist/esm/ez-alert.entry.js.gz +0 -0
- package/dist/esm/ez-application.entry.js.gz +0 -0
- package/dist/esm/ez-badge.entry.js.gz +0 -0
- package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
- package/dist/esm/ez-button.entry.js.gz +0 -0
- package/dist/esm/ez-calendar.entry.js.gz +0 -0
- package/dist/esm/ez-card-item_2.entry.js.gz +0 -0
- package/dist/esm/ez-chart.entry.js.gz +0 -0
- package/dist/esm/ez-check.entry.js.gz +0 -0
- package/dist/esm/ez-chip.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box-list_3.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-dialog.entry.js.gz +0 -0
- package/dist/esm/ez-double-list.entry.js.gz +0 -0
- package/dist/esm/ez-dropdown_2.entry.js.gz +0 -0
- package/dist/esm/ez-file-item.entry.js.gz +0 -0
- package/dist/esm/ez-filter-input.entry.js +0 -125
- package/dist/esm/ez-filter-input.entry.js.gz +0 -0
- package/dist/esm/ez-form-view.entry.js.gz +0 -0
- package/dist/esm/ez-form.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js.gz +0 -0
- package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-icon.entry.js.gz +0 -0
- package/dist/esm/ez-list.entry.js.gz +0 -0
- package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
- package/dist/esm/ez-modal-container.entry.js.gz +0 -0
- package/dist/esm/ez-modal.entry.js.gz +0 -0
- package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
- package/dist/esm/ez-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
- package/dist/esm/ez-popover.entry.js.gz +0 -0
- package/dist/esm/ez-popup.entry.js.gz +0 -0
- package/dist/esm/ez-radio-button.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js +0 -51
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/index-5a720e56.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/p-000159dc.entry.js.gz +0 -0
- package/dist/ezui/p-0378416a.entry.js.gz +0 -0
- package/dist/ezui/p-05e1f4e7.js +0 -1
- package/dist/ezui/p-05e1f4e7.js.gz +0 -0
- package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
- package/dist/ezui/p-0cfbbe82.entry.js +0 -1
- package/dist/ezui/p-0cfbbe82.entry.js.gz +0 -0
- package/dist/ezui/p-11bfeca3.entry.js.gz +0 -0
- package/dist/ezui/p-1bb62d6b.entry.js +0 -1
- package/dist/ezui/p-1bb62d6b.entry.js.gz +0 -0
- package/dist/ezui/p-2069c78a.entry.js +0 -1
- package/dist/ezui/p-2069c78a.entry.js.gz +0 -0
- package/dist/ezui/p-2187f86c.js.gz +0 -0
- package/dist/ezui/p-23dab72f.entry.js +0 -1
- package/dist/ezui/p-23dab72f.entry.js.gz +0 -0
- package/dist/ezui/p-24b42f3d.entry.js +0 -1
- package/dist/ezui/p-24b42f3d.entry.js.gz +0 -0
- package/dist/ezui/p-2f351332.entry.js.gz +0 -0
- package/dist/ezui/p-30571aaf.entry.js.gz +0 -0
- package/dist/ezui/p-40a60148.js.gz +0 -0
- package/dist/ezui/p-41652617.entry.js +0 -1
- package/dist/ezui/p-41652617.entry.js.gz +0 -0
- package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
- package/dist/ezui/p-4607fb89.js +0 -1
- package/dist/ezui/p-4607fb89.js.gz +0 -0
- package/dist/ezui/p-4818b8ce.entry.js +0 -1
- package/dist/ezui/p-4818b8ce.entry.js.gz +0 -0
- package/dist/ezui/p-61b4834d.entry.js +0 -309
- package/dist/ezui/p-61b4834d.entry.js.gz +0 -0
- package/dist/ezui/p-68b2e579.entry.js +0 -1
- package/dist/ezui/p-68b2e579.entry.js.gz +0 -0
- package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
- package/dist/ezui/p-6d8b3298.entry.js +0 -1
- package/dist/ezui/p-6d8b3298.entry.js.gz +0 -0
- package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
- package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
- package/dist/ezui/p-708b196e.entry.js.gz +0 -0
- package/dist/ezui/p-7567ccdd.entry.js.gz +0 -0
- package/dist/ezui/p-769632d5.entry.js.gz +0 -0
- package/dist/ezui/p-7c1b3cef.entry.js +0 -1
- package/dist/ezui/p-7c1b3cef.entry.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
- package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
- package/dist/ezui/p-866abc8e.entry.js.gz +0 -0
- package/dist/ezui/p-87f5a060.entry.js.gz +0 -0
- package/dist/ezui/p-88c615f0.entry.js +0 -1
- package/dist/ezui/p-88c615f0.entry.js.gz +0 -0
- package/dist/ezui/p-8ea07b8c.entry.js +0 -1
- package/dist/ezui/p-8ea07b8c.entry.js.gz +0 -0
- package/dist/ezui/p-9066b0b0.entry.js +0 -1
- package/dist/ezui/p-9066b0b0.entry.js.gz +0 -0
- package/dist/ezui/p-91ccae0c.entry.js.gz +0 -0
- package/dist/ezui/p-92748142.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9c5a6ec4.entry.js +0 -1
- package/dist/ezui/p-9c5a6ec4.entry.js.gz +0 -0
- package/dist/ezui/p-9e95bfeb.entry.js.gz +0 -0
- package/dist/ezui/p-a0b034cf.entry.js +0 -1
- package/dist/ezui/p-a0b034cf.entry.js.gz +0 -0
- package/dist/ezui/p-a79f3789.entry.js +0 -1
- package/dist/ezui/p-a79f3789.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-acddfb2e.js +0 -1
- package/dist/ezui/p-acddfb2e.js.gz +0 -0
- package/dist/ezui/p-b3b5647e.entry.js +0 -1
- package/dist/ezui/p-b3b5647e.entry.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-b9282c79.entry.js +0 -1
- package/dist/ezui/p-b9282c79.entry.js.gz +0 -0
- package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
- package/dist/ezui/p-c7035d65.entry.js.gz +0 -0
- package/dist/ezui/p-c96fbbef.entry.js +0 -1
- package/dist/ezui/p-c96fbbef.entry.js.gz +0 -0
- package/dist/ezui/p-ca8936df.entry.js +0 -1
- package/dist/ezui/p-ca8936df.entry.js.gz +0 -0
- package/dist/ezui/p-cc4ffa6b.entry.js +0 -1
- package/dist/ezui/p-cc4ffa6b.entry.js.gz +0 -0
- package/dist/ezui/p-ce7ce731.entry.js +0 -1
- package/dist/ezui/p-ce7ce731.entry.js.gz +0 -0
- package/dist/ezui/p-cedeedf1.entry.js.gz +0 -0
- package/dist/ezui/p-cf33bc48.entry.js +0 -1
- package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
- package/dist/ezui/p-dc628ed3.js.gz +0 -0
- package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
- package/dist/ezui/p-e18d9e6a.entry.js +0 -1
- package/dist/ezui/p-e18d9e6a.entry.js.gz +0 -0
- package/dist/ezui/p-e3f8660b.entry.js +0 -1
- package/dist/ezui/p-e3f8660b.entry.js.gz +0 -0
- package/dist/ezui/p-e4c7eb39.js.gz +0 -0
- package/dist/ezui/p-e6b38ade.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-f4da7e1e.entry.js +0 -1
- package/dist/ezui/p-f4da7e1e.entry.js.gz +0 -0
- package/dist/ezui/p-fc194825.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/types/utils/ResponsiveInputUtils.d.ts +0 -6
|
@@ -7,6 +7,7 @@ const EzIcon = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.size = "medium";
|
|
10
|
+
this.fontSize = undefined;
|
|
10
11
|
this.href = undefined;
|
|
11
12
|
this.iconName = undefined;
|
|
12
13
|
}
|
|
@@ -20,12 +21,17 @@ const EzIcon = class {
|
|
|
20
21
|
if (this.isSprite()) {
|
|
21
22
|
return h("svg", { class: this.size, role: "img" }, h("use", { xlinkHref: this.href }));
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
return h("span", { class: `icon-content ${this.getIconClassName()} ${this.size}--font` });
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return h("img", { class: this.size, src: this.href });
|
|
24
|
+
if (!StringUtils.isEmpty(this.iconName)) {
|
|
25
|
+
return h("span", { style: this.getStyle(), class: `icon-content ${this.getIconClassName()} ${this.size}--font` });
|
|
28
26
|
}
|
|
27
|
+
return h("img", { class: this.size, src: this.href });
|
|
28
|
+
}
|
|
29
|
+
getStyle() {
|
|
30
|
+
if (!this.fontSize)
|
|
31
|
+
return undefined;
|
|
32
|
+
return {
|
|
33
|
+
fontSize: `${this.fontSize}px`,
|
|
34
|
+
};
|
|
29
35
|
}
|
|
30
36
|
componentDidLoad() {
|
|
31
37
|
ElementIDUtils.addIDInfo(this._hostElement, "icon");
|
|
@@ -585,7 +585,7 @@ const EzList = class {
|
|
|
585
585
|
return { id: item.id, label: item.label, check: evt.detail };
|
|
586
586
|
}
|
|
587
587
|
renderListWithGroups() {
|
|
588
|
-
return h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: 0, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
|
|
588
|
+
return h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
|
|
589
589
|
return (h("div", { id: this.getDivGroupId(group.group), class: 'group', key: group.group + group.items.length, onDrop: () => this.onDropGroup(group) }, h("label", { draggable: false, class: 'group-name', title: group.group }, group.group), h("section", { class: 'section-container', onDragOver: ev => ev.preventDefault() }, h("div", { class: 'group-items-container' }, h("div", { class: 'draggable-list' }, group.items.map((item, index) => (h("li", Object.assign({ id: 'item_' + item.id, class: {
|
|
590
590
|
'selectable-container': this.ezSelectable,
|
|
591
591
|
'hover-feedback': this.hoverFeedback,
|
|
@@ -595,7 +595,7 @@ const EzList = class {
|
|
|
595
595
|
}));
|
|
596
596
|
}
|
|
597
597
|
renderList() {
|
|
598
|
-
return h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: 0, onKeyDown: event => {
|
|
598
|
+
return h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => {
|
|
599
599
|
this.keyDownHandler(event);
|
|
600
600
|
} }, h("div", { class: 'draggable-list' }, this._listItems.map((item, index) => (h("li", Object.assign({ id: 'item_' + item.id, class: {
|
|
601
601
|
'selectable-container': this.ezSelectable,
|
|
@@ -18,7 +18,7 @@ var ModalButtonStatus;
|
|
|
18
18
|
})(ModalButtonStatus || (ModalButtonStatus = {}));
|
|
19
19
|
const ModalButtonStatus$1 = ModalButtonStatus;
|
|
20
20
|
|
|
21
|
-
const ezModalContainerCss = ".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:hidden;display:grid;grid-template-rows:0 auto 1fr auto 0;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x)}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--medium);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none;outline:none}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}.ez-modal-container__focus-ctrl.sc-ez-modal-container{height:0px;background-color:transparent;border:none}";
|
|
21
|
+
const ezModalContainerCss = ".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:hidden;display:grid;grid-template-rows:0 auto 1fr auto 0;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x);outline:none}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--medium);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none;outline:none}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}.ez-modal-container__focus-ctrl.sc-ez-modal-container{height:0px;background-color:transparent;border:none}";
|
|
22
22
|
|
|
23
23
|
const EzModalContainer = class {
|
|
24
24
|
constructor(hostRef) {
|
|
@@ -50,11 +50,15 @@ const EzModalContainer = class {
|
|
|
50
50
|
this.ezModalAction.emit(ModalAction$1.LOAD);
|
|
51
51
|
this._modalRef.focus();
|
|
52
52
|
});
|
|
53
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
53
|
+
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element })
|
|
54
54
|
.bind("Enter", this.ezModalAction.emit.bind(ModalAction$1.OK))
|
|
55
55
|
.bind("Escape", () => this.closeModal())
|
|
56
56
|
.bind("Esc", () => this.closeModal());
|
|
57
57
|
}
|
|
58
|
+
disconnectedCallback() {
|
|
59
|
+
var _a;
|
|
60
|
+
(_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
|
|
61
|
+
}
|
|
58
62
|
closeModal() {
|
|
59
63
|
this.ezModalAction.emit("CLOSE");
|
|
60
64
|
}
|
|
@@ -68,7 +72,7 @@ const EzModalContainer = class {
|
|
|
68
72
|
this._closeButton.focus();
|
|
69
73
|
}
|
|
70
74
|
render() {
|
|
71
|
-
return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { class: "ez-modal-container__content" }, h("slot", null)), h("div", { class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
|
|
75
|
+
return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { tabIndex: -1, class: "ez-modal-container__content" }, h("slot", null)), h("div", { tabIndex: -1, class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
|
|
72
76
|
}
|
|
73
77
|
get _element() { return getElement(this); }
|
|
74
78
|
};
|
|
@@ -32,7 +32,7 @@ const EzModal = class {
|
|
|
32
32
|
}
|
|
33
33
|
componentDidLoad() {
|
|
34
34
|
this.observeOpened();
|
|
35
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
35
|
+
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
|
|
36
36
|
.bind("Enter", this.ezModalAction.emit.bind("OK"))
|
|
37
37
|
.bind("Escape", () => this.closeModal())
|
|
38
38
|
.bind("Esc", () => this.closeModal());
|
|
@@ -40,6 +40,10 @@ const EzModal = class {
|
|
|
40
40
|
componentDidRender() {
|
|
41
41
|
this.modalFocus();
|
|
42
42
|
}
|
|
43
|
+
disconnectedCallback() {
|
|
44
|
+
var _a;
|
|
45
|
+
(_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
|
|
46
|
+
}
|
|
43
47
|
modalFocus() {
|
|
44
48
|
if (!this.opened) {
|
|
45
49
|
return;
|
|
@@ -24,6 +24,7 @@ const EzNumberInput = class {
|
|
|
24
24
|
this.prettyPrecision = undefined;
|
|
25
25
|
this.mode = "regular";
|
|
26
26
|
this.autoFocus = false;
|
|
27
|
+
this.alternativePlaceholder = undefined;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
30
|
* Aplica o foco no campo.
|
|
@@ -182,7 +183,7 @@ const EzNumberInput = class {
|
|
|
182
183
|
if (this.allowNegative) {
|
|
183
184
|
restrict += '-';
|
|
184
185
|
}
|
|
185
|
-
return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: restrict, enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value }));
|
|
186
|
+
return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: restrict, enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value, alternativePlaceholder: this.alternativePlaceholder }));
|
|
186
187
|
}
|
|
187
188
|
get _elem() { return getElement(this); }
|
|
188
189
|
static get watchers() { return {
|
|
@@ -31,11 +31,15 @@ const EzPopup = class {
|
|
|
31
31
|
if (this.opened && this._popupRef) {
|
|
32
32
|
this._popupRef.focus();
|
|
33
33
|
}
|
|
34
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
34
|
+
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
|
|
35
35
|
.bind("Enter", this.ezPopupAction.emit.bind("OK"))
|
|
36
36
|
.bind("Escape", () => this.closePopup())
|
|
37
37
|
.bind("Esc", () => this.closePopup());
|
|
38
38
|
}
|
|
39
|
+
disconnectedCallback() {
|
|
40
|
+
var _a;
|
|
41
|
+
(_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
|
|
42
|
+
}
|
|
39
43
|
closePopup() {
|
|
40
44
|
this.opened = false;
|
|
41
45
|
this.manageOverflow();
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
|
+
import { StringUtils, KeyboardManager, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
|
+
import './ApplicationUtils-eaf91331.js';
|
|
4
|
+
import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
|
|
5
|
+
import './DialogType-54a62731.js';
|
|
6
|
+
import './CheckMode-bdb2ec19.js';
|
|
7
|
+
import { S as SearchMode } from './FormLayout-071d324c.js';
|
|
8
|
+
|
|
9
|
+
const ezSearchPlusCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.list-options{margin-top:0px;box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}.ez-search-plus__container{display:flex;flex-grow:1;gap:3px}.ez-search-plus__text-input{--ez-text-input--border-top-left-radius:0px;--ez-text-input--border-bottom-left-radius:0px}.ez-search-plus__code-input-no-border{--ez-text-input--border-top-right-radius:0px;--ez-text-input--border-bottom-right-radius:0px}.ez-search-plus__code-input{max-width:85px}.ez-search-plus__code-input-full{width:100%}.description-input-container{width:100%}";
|
|
10
|
+
|
|
11
|
+
const EzSearchPlus = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
registerInstance(this, hostRef);
|
|
14
|
+
this.ezChange = createEvent(this, "ezChange", 7);
|
|
15
|
+
this.SEARCH_DESCRIPTION_TIMEOUT = 300;
|
|
16
|
+
this.INTERVAL_TO_RETRY_ASYNC_VALUE = 100;
|
|
17
|
+
this.value = undefined;
|
|
18
|
+
this.enabled = true;
|
|
19
|
+
this.disableCodeInput = false;
|
|
20
|
+
this.disableDescriptionInput = false;
|
|
21
|
+
this.label = undefined;
|
|
22
|
+
this.codLabel = undefined;
|
|
23
|
+
this.hideDescriptionInput = false;
|
|
24
|
+
this.canShowError = true;
|
|
25
|
+
this.errorMessage = undefined;
|
|
26
|
+
this.mode = "regular";
|
|
27
|
+
this.contextProperties = undefined;
|
|
28
|
+
this.optionLoader = undefined;
|
|
29
|
+
this.showOptionValue = true;
|
|
30
|
+
this.stopPropagateEnterKeyEvent = false;
|
|
31
|
+
this.autoFocus = false;
|
|
32
|
+
this.showSelectedValue = true;
|
|
33
|
+
this.suppressEmptyOption = false;
|
|
34
|
+
this.hideErrorOnFocusOut = true;
|
|
35
|
+
this.listOptionsPosition = undefined;
|
|
36
|
+
this.isTextSearch = false;
|
|
37
|
+
this.ignoreLimitCharsToSearch = false;
|
|
38
|
+
this.suppressSearch = false;
|
|
39
|
+
this.suppressPreLoad = true;
|
|
40
|
+
this.ensureClearButtonVisible = false;
|
|
41
|
+
this.descriptionValue = "";
|
|
42
|
+
this.codeValue = "";
|
|
43
|
+
this.isLoadingDescription = false;
|
|
44
|
+
this.searchDescriptionIsOpen = false;
|
|
45
|
+
this.visibleOptions = undefined;
|
|
46
|
+
this.showLoading = true;
|
|
47
|
+
}
|
|
48
|
+
async observeValue(newValue, oldValue) {
|
|
49
|
+
const newNormalizedValue = this.normalizeValueToCodeValue(newValue);
|
|
50
|
+
const oldNormalizedValue = this.normalizeValueToCodeValue(oldValue);
|
|
51
|
+
if (newNormalizedValue === oldNormalizedValue) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (newNormalizedValue === undefined) {
|
|
55
|
+
this.codeValue = undefined;
|
|
56
|
+
this.descriptionValue = undefined;
|
|
57
|
+
this.ezChange.emit(undefined);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
this.codeValue = newNormalizedValue;
|
|
61
|
+
try {
|
|
62
|
+
this.descriptionValue = await this.normalizeCodeToDescriptionValue(newValue);
|
|
63
|
+
if (this.descriptionValue === null || this.descriptionValue === undefined) {
|
|
64
|
+
throw new Error("Valor não encontrado!");
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
this.value = undefined;
|
|
69
|
+
console.warn("[EzSearchPlus] Erro ao obter descrição do registro.", err);
|
|
70
|
+
throw err;
|
|
71
|
+
}
|
|
72
|
+
this.value = this.buildCurrentValue();
|
|
73
|
+
this.ezChange.emit(this.value);
|
|
74
|
+
}
|
|
75
|
+
canShowLoadSpinDescription() {
|
|
76
|
+
return this.isLoadingDescription;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Aplica o foco no campo.
|
|
80
|
+
*/
|
|
81
|
+
async setFocus(options) {
|
|
82
|
+
var _a;
|
|
83
|
+
if (this.disableCodeInput) {
|
|
84
|
+
(_a = this._textInputDescriptionValue) === null || _a === void 0 ? void 0 : _a.setFocus(options);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (this._latestFocusedInputElement) {
|
|
88
|
+
this._latestFocusedInputElement.setFocus(options);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
this._textInputCodeValue.setFocus(options);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Obtém o valor do componente só após a compo de apresentação
|
|
95
|
+
* ter sido resolvido pelo option loader quando necessário
|
|
96
|
+
*/
|
|
97
|
+
async getValueAsync() {
|
|
98
|
+
if (!this.isLoadingDescription) {
|
|
99
|
+
const currentOpt = this.buildCurrentValue();
|
|
100
|
+
return new Promise(resolve => resolve(currentOpt));
|
|
101
|
+
}
|
|
102
|
+
return new Promise(resolve => {
|
|
103
|
+
let id = setInterval(() => {
|
|
104
|
+
if (!this.isLoadingDescription) {
|
|
105
|
+
clearInterval(id);
|
|
106
|
+
const currentOpt = this.buildCurrentValue();
|
|
107
|
+
resolve(currentOpt);
|
|
108
|
+
}
|
|
109
|
+
}, this.INTERVAL_TO_RETRY_ASYNC_VALUE);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Limpa o valor do campo de pesquisa
|
|
114
|
+
*/
|
|
115
|
+
async clearValue() {
|
|
116
|
+
this.clearSearch();
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Remove o foco do campo.
|
|
120
|
+
*/
|
|
121
|
+
async setBlur() {
|
|
122
|
+
var _a, _b;
|
|
123
|
+
(_a = this._textInputCodeValue) === null || _a === void 0 ? void 0 : _a.setBlur();
|
|
124
|
+
(_b = this._textInputDescriptionValue) === null || _b === void 0 ? void 0 : _b.setBlur();
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Retorna se o conteúdo é inválido.
|
|
128
|
+
*/
|
|
129
|
+
async isInvalid() {
|
|
130
|
+
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
131
|
+
}
|
|
132
|
+
componentWillLoad() {
|
|
133
|
+
if (this.value && StringUtils.isEmpty(this.codeValue)) {
|
|
134
|
+
this.observeValue(this.value, undefined);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
componentDidLoad() {
|
|
138
|
+
CSSVarsUtils.applyVarsTextInput(this.el, this._textInputCodeValue);
|
|
139
|
+
CSSVarsUtils.applyVarsTextInput(this.el, this._textInputDescriptionValue);
|
|
140
|
+
this.initKeyboardManager();
|
|
141
|
+
if (this.autoFocus) {
|
|
142
|
+
requestAnimationFrame(() => {
|
|
143
|
+
this.setFocus({ selectText: true });
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
clearSearch() {
|
|
148
|
+
this.value = null;
|
|
149
|
+
}
|
|
150
|
+
getCodLabel() {
|
|
151
|
+
var _a;
|
|
152
|
+
if (this.hideDescriptionInput) {
|
|
153
|
+
return this.label;
|
|
154
|
+
}
|
|
155
|
+
return (_a = this.codLabel) !== null && _a !== void 0 ? _a : "Cód.";
|
|
156
|
+
}
|
|
157
|
+
async normalizeCodeToDescriptionValue(valueToNormalize) {
|
|
158
|
+
if (!valueToNormalize) {
|
|
159
|
+
return "";
|
|
160
|
+
}
|
|
161
|
+
if (typeof valueToNormalize == 'string') {
|
|
162
|
+
try {
|
|
163
|
+
valueToNormalize = JSON.parse(valueToNormalize);
|
|
164
|
+
if ((valueToNormalize === null || valueToNormalize === void 0 ? void 0 : valueToNormalize.value) && !(valueToNormalize === null || valueToNormalize === void 0 ? void 0 : valueToNormalize.label)) {
|
|
165
|
+
return await this.loadDescriptionValueByCode(valueToNormalize === null || valueToNormalize === void 0 ? void 0 : valueToNormalize.value);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
catch (e) {
|
|
169
|
+
return await this.loadDescriptionValueByCode(valueToNormalize);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
//Se é diferente de objeto, temos que resolver a descrição
|
|
173
|
+
if (typeof valueToNormalize != 'object') {
|
|
174
|
+
return await this.loadDescriptionValueByCode(valueToNormalize);
|
|
175
|
+
}
|
|
176
|
+
return valueToNormalize === null || valueToNormalize === void 0 ? void 0 : valueToNormalize.label;
|
|
177
|
+
}
|
|
178
|
+
normalizeValueToCodeValue(valueToNormalize) {
|
|
179
|
+
if (!valueToNormalize) {
|
|
180
|
+
return undefined;
|
|
181
|
+
}
|
|
182
|
+
if (typeof valueToNormalize == 'string') {
|
|
183
|
+
try {
|
|
184
|
+
valueToNormalize = JSON.parse(valueToNormalize);
|
|
185
|
+
}
|
|
186
|
+
catch (e) {
|
|
187
|
+
return valueToNormalize;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
if (typeof valueToNormalize != 'object') {
|
|
191
|
+
return valueToNormalize;
|
|
192
|
+
}
|
|
193
|
+
return valueToNormalize === null || valueToNormalize === void 0 ? void 0 : valueToNormalize.value;
|
|
194
|
+
}
|
|
195
|
+
async loadDescriptionValueByCode(codeValue) {
|
|
196
|
+
if (!this.optionLoader) {
|
|
197
|
+
console.warn("optionLoader não definido");
|
|
198
|
+
return "";
|
|
199
|
+
}
|
|
200
|
+
try {
|
|
201
|
+
this.isLoadingDescription = true;
|
|
202
|
+
const searchArgument = { mode: SearchMode.LOAD_DESCRIPTION, argument: codeValue };
|
|
203
|
+
const loadedOption = await this.optionLoader(searchArgument);
|
|
204
|
+
if (!loadedOption) {
|
|
205
|
+
return "";
|
|
206
|
+
}
|
|
207
|
+
if (Array.isArray(loadedOption)) {
|
|
208
|
+
return loadedOption[0].label;
|
|
209
|
+
}
|
|
210
|
+
return loadedOption.label;
|
|
211
|
+
}
|
|
212
|
+
finally {
|
|
213
|
+
this.isLoadingDescription = false;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
handleCodeInputFocusOut() {
|
|
217
|
+
this.cancelSelection();
|
|
218
|
+
if (this.codeValue == this._textInputCodeValue.value)
|
|
219
|
+
return;
|
|
220
|
+
this.value = this._textInputCodeValue.value;
|
|
221
|
+
}
|
|
222
|
+
handleSearchClick() {
|
|
223
|
+
this.loadAdvancedSearch();
|
|
224
|
+
}
|
|
225
|
+
async loadAdvancedSearch() {
|
|
226
|
+
if (!this.optionLoader) {
|
|
227
|
+
console.warn("optionLoader não definido");
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
const searchArgument = { mode: SearchMode.ADVANCED, argument: "" };
|
|
231
|
+
let selectedItem = undefined;
|
|
232
|
+
try {
|
|
233
|
+
selectedItem = await this.optionLoader(searchArgument, this.contextProperties);
|
|
234
|
+
}
|
|
235
|
+
catch (ignore) { }
|
|
236
|
+
if (!selectedItem)
|
|
237
|
+
return;
|
|
238
|
+
this.value = selectedItem;
|
|
239
|
+
}
|
|
240
|
+
buildCurrentValue() {
|
|
241
|
+
if (StringUtils.isEmpty(this.codeValue)) {
|
|
242
|
+
return undefined;
|
|
243
|
+
}
|
|
244
|
+
return {
|
|
245
|
+
value: this.codeValue,
|
|
246
|
+
label: this.descriptionValue
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
async handleTextInputChangeHandler(event) {
|
|
250
|
+
if (!this.searchDescriptionIsOpen) {
|
|
251
|
+
this._popover.showUnder(this.el);
|
|
252
|
+
}
|
|
253
|
+
const argument = event.target.value;
|
|
254
|
+
await this.debounceLoaderOptions(argument);
|
|
255
|
+
}
|
|
256
|
+
async debounceLoaderOptions(argument) {
|
|
257
|
+
if (this._debounceSearch)
|
|
258
|
+
clearTimeout(this._debounceSearch);
|
|
259
|
+
return new Promise((resolve) => {
|
|
260
|
+
this._debounceSearch = setTimeout(async () => {
|
|
261
|
+
await this.processOptionsLoader(argument);
|
|
262
|
+
resolve();
|
|
263
|
+
}, this.SEARCH_DESCRIPTION_TIMEOUT);
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
updateKeyOption(option) {
|
|
267
|
+
return (Object.assign(Object.assign({}, option), { presentationValue: option.value, presentationLabel: option.label }));
|
|
268
|
+
}
|
|
269
|
+
parseSearchOptions(options = []) {
|
|
270
|
+
if (Array.isArray(options)) {
|
|
271
|
+
const firstOption = options[0];
|
|
272
|
+
if (!firstOption) {
|
|
273
|
+
return [];
|
|
274
|
+
}
|
|
275
|
+
if ("label" in firstOption || "value" in firstOption) {
|
|
276
|
+
return options.map((option) => this.updateKeyOption(option));
|
|
277
|
+
}
|
|
278
|
+
return options;
|
|
279
|
+
}
|
|
280
|
+
if ("label" in options || "value" in options) {
|
|
281
|
+
[this.updateKeyOption(options)];
|
|
282
|
+
}
|
|
283
|
+
return [options];
|
|
284
|
+
}
|
|
285
|
+
async processOptionsLoader(argument) {
|
|
286
|
+
try {
|
|
287
|
+
this.showLoading = true;
|
|
288
|
+
const searchArgument = { mode: SearchMode.PREDICTIVE, argument };
|
|
289
|
+
const options = await this.optionLoader(searchArgument);
|
|
290
|
+
this.visibleOptions = this.parseSearchOptions(options);
|
|
291
|
+
}
|
|
292
|
+
finally {
|
|
293
|
+
this.showLoading = false;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
handleSelectItem(evt) {
|
|
297
|
+
const currentOpt = evt.detail;
|
|
298
|
+
this.value = currentOpt;
|
|
299
|
+
this._popover.hide();
|
|
300
|
+
window.requestAnimationFrame(() => {
|
|
301
|
+
var _a;
|
|
302
|
+
(_a = this._textInputDescriptionValue) === null || _a === void 0 ? void 0 : _a.setFocus({ selectText: true });
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
async handleArrowUp() {
|
|
306
|
+
if (!this.isOptionsVisible()) {
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
await this._searchList.previousOption();
|
|
310
|
+
}
|
|
311
|
+
async handleArrowDown() {
|
|
312
|
+
if (!this.isOptionsVisible()) {
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
await this._searchList.nextOption();
|
|
316
|
+
}
|
|
317
|
+
async selectCurrentItem() {
|
|
318
|
+
var _a;
|
|
319
|
+
await ((_a = this._searchList) === null || _a === void 0 ? void 0 : _a.selectCurrentItem());
|
|
320
|
+
}
|
|
321
|
+
async cancelSelection() {
|
|
322
|
+
var _a, _b, _c;
|
|
323
|
+
const description = typeof this.value === 'object' ? (_a = this.value) === null || _a === void 0 ? void 0 : _a.label : "";
|
|
324
|
+
if (this._textInputDescriptionValue && description && this._textInputDescriptionValue.value != description) {
|
|
325
|
+
this._textInputDescriptionValue.value = description;
|
|
326
|
+
}
|
|
327
|
+
await ((_b = this._searchList) === null || _b === void 0 ? void 0 : _b.cancelSelection());
|
|
328
|
+
(_c = this._popover) === null || _c === void 0 ? void 0 : _c.hide();
|
|
329
|
+
}
|
|
330
|
+
async handleInputTab() {
|
|
331
|
+
await this.cancelSelection();
|
|
332
|
+
}
|
|
333
|
+
async handleInputEsc() {
|
|
334
|
+
var _a;
|
|
335
|
+
await this.cancelSelection();
|
|
336
|
+
await ((_a = this._latestFocusedInputElement) === null || _a === void 0 ? void 0 : _a.setFocus({ selectText: true }));
|
|
337
|
+
}
|
|
338
|
+
async initKeyboardManager() {
|
|
339
|
+
this._keyboardManager = new KeyboardManager();
|
|
340
|
+
const defaultOpts = { element: this.el, propagate: true };
|
|
341
|
+
this._keyboardManager
|
|
342
|
+
.bind("ArrowUp", () => this.handleArrowUp(), Object.assign(Object.assign({}, defaultOpts), { propagate: false }))
|
|
343
|
+
.bind("ArrowDown", () => this.handleArrowDown(), Object.assign(Object.assign({}, defaultOpts), { propagate: false }))
|
|
344
|
+
.bind("Enter", () => this.selectCurrentItem(), defaultOpts)
|
|
345
|
+
.bind("Tab", () => this.handleInputTab(), defaultOpts)
|
|
346
|
+
.bind("Escape", () => this.handleInputEsc(), defaultOpts);
|
|
347
|
+
}
|
|
348
|
+
disconnectedCallback() {
|
|
349
|
+
this._keyboardManager
|
|
350
|
+
.unbind("ArrowUp")
|
|
351
|
+
.unbind("ArrowDown")
|
|
352
|
+
.unbind("Enter")
|
|
353
|
+
.unbind("Tab")
|
|
354
|
+
.unbind("Escape");
|
|
355
|
+
}
|
|
356
|
+
isOptionsVisible() {
|
|
357
|
+
return this._popover.opened;
|
|
358
|
+
}
|
|
359
|
+
setLatestFocusedInputElement(el) {
|
|
360
|
+
this._latestFocusedInputElement = el;
|
|
361
|
+
}
|
|
362
|
+
handleCodeInputFocus() {
|
|
363
|
+
this.setLatestFocusedInputElement(this._textInputCodeValue);
|
|
364
|
+
}
|
|
365
|
+
handleDescriptionInputFocus() {
|
|
366
|
+
this.setLatestFocusedInputElement(this._textInputDescriptionValue);
|
|
367
|
+
}
|
|
368
|
+
getRightIconElement() {
|
|
369
|
+
var _a, _b;
|
|
370
|
+
if (!this.ensureClearButtonVisible && (!this.value && !((_a = this._textInputCodeValue) === null || _a === void 0 ? void 0 : _a.value) && !((_b = this._textInputDescriptionValue) === null || _b === void 0 ? void 0 : _b.value))) {
|
|
371
|
+
return null;
|
|
372
|
+
}
|
|
373
|
+
return h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }));
|
|
374
|
+
}
|
|
375
|
+
getLeftIconElement() {
|
|
376
|
+
return h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handleSearchClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" }));
|
|
377
|
+
}
|
|
378
|
+
render() {
|
|
379
|
+
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
380
|
+
return (h(Host, null, h("div", { class: "ez-search-plus__container" }, h("ez-text-input", { ref: elem => this._textInputCodeValue = elem, class: {
|
|
381
|
+
"ez-search-plus__code-input": !this.hideDescriptionInput,
|
|
382
|
+
"ez-search-plus__code-input-no-border": !this.hideDescriptionInput,
|
|
383
|
+
"ez-search-plus__code-input-full": this.hideDescriptionInput
|
|
384
|
+
}, "data-element-id": ElementIDUtils.getInternalIDInfo("codeInput"), "data-slave-mode": "true", enabled: !this.disableCodeInput && this.enabled, mode: this.mode, label: this.getCodLabel(), canShowError: this.canShowError, hasInvalid: !StringUtils.isEmpty(this.errorMessage), errorMessage: this.hideDescriptionInput ? this.errorMessage : "", value: this.codeValue, onFocusout: () => this.handleCodeInputFocusOut(), onFocus: () => this.handleCodeInputFocus() }, this.getLeftIconElement()), !this.hideDescriptionInput && (h("div", { class: "description-input-container" }, h("ez-text-input", { ref: elem => this._textInputDescriptionValue = elem, tabIndex: -1, class: "ez-search-plus__text-input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), "data-slave-mode": "true", enabled: !this.disableDescriptionInput && this.enabled, label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, value: this.descriptionValue, onInput: event => this.handleTextInputChangeHandler(event), onFocus: () => this.handleDescriptionInputFocus() }, this.getRightIconElement()), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this.el, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', useAnchorSize: true, onEzVisibilityChange: (event) => this.searchDescriptionIsOpen = event.detail }, h("ez-search-result-list", { ref: (ref) => this._searchList = ref, showLoading: this.showLoading, visibleOptions: this.visibleOptions, value: this.value, showOptionValue: this.showOptionValue, onChangeValue: (evt) => this.handleSelectItem(evt) })))))));
|
|
385
|
+
}
|
|
386
|
+
get el() { return getElement(this); }
|
|
387
|
+
static get watchers() { return {
|
|
388
|
+
"value": ["observeValue"]
|
|
389
|
+
}; }
|
|
390
|
+
};
|
|
391
|
+
EzSearchPlus.style = ezSearchPlusCss;
|
|
392
|
+
|
|
393
|
+
export { EzSearchPlus as ez_search_plus };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5a720e56.js';
|
|
2
|
+
import { StringUtils } from '@sankhyalabs/core';
|
|
3
|
+
|
|
4
|
+
const ezSearchResultListCss = ":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
|
|
5
|
+
|
|
6
|
+
const EzSearchResultList = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.changeValue = createEvent(this, "changeValue", 7);
|
|
10
|
+
this._textEmptyList = "Nenhum resultado encontrado";
|
|
11
|
+
this._startHighlightTag = "<span class='card-item__highlight'>";
|
|
12
|
+
this._endHighlightTag = "</span>";
|
|
13
|
+
this.showLoading = undefined;
|
|
14
|
+
this.visibleOptions = [];
|
|
15
|
+
this.value = undefined;
|
|
16
|
+
this.showOptionValue = true;
|
|
17
|
+
this._preSelection = undefined;
|
|
18
|
+
}
|
|
19
|
+
async nextOption() {
|
|
20
|
+
const newPreSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this.visibleOptions.length - 1);
|
|
21
|
+
this.preSelectItemByIndex(newPreSelection);
|
|
22
|
+
}
|
|
23
|
+
async previousOption() {
|
|
24
|
+
const newPreSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
|
|
25
|
+
this.preSelectItemByIndex(newPreSelection);
|
|
26
|
+
}
|
|
27
|
+
preSelectItemByIndex(newIndex) {
|
|
28
|
+
this._preSelection = newIndex;
|
|
29
|
+
const option = this.visibleOptions[newIndex];
|
|
30
|
+
this.scrollToOption(option);
|
|
31
|
+
}
|
|
32
|
+
selectOption(newOption) {
|
|
33
|
+
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: newOption === null || newOption === void 0 ? void 0 : newOption.value, label: newOption === null || newOption === void 0 ? void 0 : newOption.label });
|
|
34
|
+
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value, label: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label });
|
|
35
|
+
this.changeValue.emit(newOptionsFormatted);
|
|
36
|
+
}
|
|
37
|
+
createAndSelectOption(detail) {
|
|
38
|
+
let { key, title } = detail;
|
|
39
|
+
key = String(key !== null && key !== void 0 ? key : "");
|
|
40
|
+
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
41
|
+
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
42
|
+
title = StringUtils.decodeHtmlEntities(title);
|
|
43
|
+
const option = {
|
|
44
|
+
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
45
|
+
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
46
|
+
};
|
|
47
|
+
this.selectOption(option);
|
|
48
|
+
}
|
|
49
|
+
scrollToOption(opt) {
|
|
50
|
+
if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
|
|
51
|
+
return;
|
|
52
|
+
window.requestAnimationFrame(() => {
|
|
53
|
+
var _a;
|
|
54
|
+
const currentValue = String((_a = opt === null || opt === void 0 ? void 0 : opt.value) !== null && _a !== void 0 ? _a : "");
|
|
55
|
+
const liElem = currentValue
|
|
56
|
+
? this._optionsList.querySelector(`div#item_${currentValue.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
57
|
+
: undefined;
|
|
58
|
+
if (liElem) {
|
|
59
|
+
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
buildItem(opt, index) {
|
|
64
|
+
var _a;
|
|
65
|
+
opt.label = opt.label || opt.value;
|
|
66
|
+
const card = {
|
|
67
|
+
key: String((_a = opt.presentationValue) !== null && _a !== void 0 ? _a : ""),
|
|
68
|
+
title: opt.presentationLabel,
|
|
69
|
+
details: opt.details
|
|
70
|
+
};
|
|
71
|
+
return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createAndSelectOption(card), onMouseOver: () => { this._preSelection = index; } }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
|
|
72
|
+
}
|
|
73
|
+
async selectCurrentItem() {
|
|
74
|
+
this.selectOption(this.visibleOptions[this._preSelection]);
|
|
75
|
+
}
|
|
76
|
+
async cancelSelection() {
|
|
77
|
+
this.cancelPreselection();
|
|
78
|
+
}
|
|
79
|
+
cancelPreselection() {
|
|
80
|
+
this._preSelection = undefined;
|
|
81
|
+
}
|
|
82
|
+
canShowListOptions() {
|
|
83
|
+
return !this.showLoading && this.visibleOptions.length > 0;
|
|
84
|
+
}
|
|
85
|
+
render() {
|
|
86
|
+
return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
|
|
87
|
+
&& this.visibleOptions.length === 0
|
|
88
|
+
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this.showLoading && (h("div", { class: "loading__container" }, h("ez-skeleton", { count: 4, height: '20px' }))), this.canShowListOptions() && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
EzSearchResultList.style = ezSearchResultListCss;
|
|
92
|
+
|
|
93
|
+
export { EzSearchResultList as ez_search_result_list };
|