@sankhyalabs/ezui 5.22.0-dev.10 → 5.22.0-dev.100
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/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
- package/dist/cjs/DataBinder-e92314c2.js +445 -0
- package/dist/cjs/FocusResolver-885f2173.js +35 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
- package/dist/cjs/ez-badge.cjs.entry.js +14 -2
- package/dist/cjs/ez-button.cjs.entry.js +11 -5
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1485 -0
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +387 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +82 -155
- package/dist/cjs/ez-date-input.cjs.entry.js +15 -19
- package/dist/cjs/ez-date-time-input.cjs.entry.js +14 -20
- package/dist/cjs/ez-dialog.cjs.entry.js +14 -7
- package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
- package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +75 -8
- package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +26 -20
- package/dist/cjs/ez-form.cjs.entry.js +6 -325
- package/dist/cjs/ez-grid.cjs.entry.js +15067 -69836
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +258 -211
- package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal.cjs.entry.js +12 -3
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-number-input.cjs.entry.js +15 -3
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +198 -0
- package/dist/cjs/ez-popup.cjs.entry.js +24 -2
- package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
- package/dist/cjs/ez-search.cjs.entry.js +119 -188
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-item.cjs.entry.js +6 -3
- package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
- package/dist/cjs/ez-text-area.cjs.entry.js +68 -6
- package/dist/cjs/ez-text-input.cjs.entry.js +152 -16
- package/dist/cjs/ez-time-input.cjs.entry.js +7 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
- package/dist/cjs/ez-tree.cjs.entry.js +5 -4
- package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/filter-column.cjs.entry.js +10 -47
- package/dist/cjs/index-a7b0c73d.js +22 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
- package/dist/collection/collection-manifest.json +8 -2
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
- package/dist/collection/components/ez-badge/ez-badge.css +12 -1
- package/dist/collection/components/ez-badge/ez-badge.js +31 -1
- package/dist/collection/components/ez-button/ez-button.css +24 -14
- package/dist/collection/components/ez-button/ez-button.js +12 -6
- package/dist/collection/components/ez-card-item/ez-card-item.css +58 -10
- package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
- package/dist/collection/components/ez-check/ez-check.css +1 -6
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +129 -166
- package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
- package/dist/collection/components/ez-date-input/ez-date-input.js +40 -19
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +39 -20
- package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
- package/dist/collection/components/ez-dialog/ez-dialog.js +14 -16
- package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
- package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
- package/dist/collection/components/ez-form/ez-form.js +1 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
- package/dist/collection/components/ez-form-view/ez-form-view.css +5 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +297 -63
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +151 -31
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +219 -42
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +8 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
- package/dist/collection/components/ez-grid/ez-grid.css +95 -10
- package/dist/collection/components/ez-grid/ez-grid.js +375 -12
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +9 -46
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
- package/dist/collection/components/ez-icon/ez-icon.css +156 -149
- package/dist/collection/components/ez-list/ez-list.css +5 -4
- package/dist/collection/components/ez-list/ez-list.js +301 -212
- package/dist/collection/components/ez-list/ezListHelper.js +85 -0
- package/dist/collection/components/ez-modal/ez-modal.css +7 -2
- package/dist/collection/components/ez-modal/ez-modal.js +13 -4
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
- package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +49 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +432 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +528 -0
- package/dist/collection/components/ez-popup/ez-popup.css +8 -3
- package/dist/collection/components/ez-popup/ez-popup.js +43 -3
- package/dist/collection/components/ez-scroller/ez-scroller.css +4 -0
- package/dist/collection/components/ez-search/ez-search.css +2 -210
- package/dist/collection/components/ez-search/ez-search.js +204 -203
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
- package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
- package/dist/collection/components/ez-split-button/ez-split-button.css +52 -14
- package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
- package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
- package/dist/collection/components/ez-text-area/ez-text-area.js +104 -4
- package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
- package/dist/collection/components/ez-text-input/ez-text-input.js +166 -15
- package/dist/collection/components/ez-time-input/ez-time-input.js +24 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css +20 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +116 -0
- package/dist/collection/components/ez-tree/ez-tree.js +21 -1
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
- package/dist/collection/sw.js +46 -0
- package/dist/collection/utils/CSSVarsUtils.js +1 -0
- package/dist/collection/utils/FocusResolver.js +31 -0
- package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
- package/dist/collection/utils/form/DataBinder.js +22 -7
- package/dist/collection/utils/form/FormMetadata.js +2 -1
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
- package/dist/custom-elements/index.d.ts +36 -0
- package/dist/custom-elements/index.js +18612 -70878
- package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
- package/dist/esm/DataBinder-9c877244.js +441 -0
- package/dist/esm/FocusResolver-1ccbf850.js +33 -0
- package/dist/esm/ez-actions-button.entry.js +4 -3
- package/dist/esm/ez-badge.entry.js +14 -2
- package/dist/esm/ez-button.entry.js +11 -5
- package/dist/esm/ez-card-item_2.entry.js +1480 -0
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box-list_3.entry.js +381 -0
- package/dist/esm/ez-combo-box.entry.js +83 -156
- package/dist/esm/ez-date-input.entry.js +15 -19
- package/dist/esm/ez-date-time-input.entry.js +14 -20
- package/dist/esm/ez-dialog.entry.js +15 -8
- package/dist/esm/ez-double-list.entry.js +283 -0
- package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +75 -9
- package/dist/esm/ez-filter-input.entry.js +125 -0
- package/dist/esm/ez-form-view.entry.js +26 -20
- package/dist/esm/ez-form.entry.js +5 -324
- package/dist/esm/ez-grid.entry.js +14989 -69758
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +258 -211
- package/dist/esm/ez-modal-container.entry.js +2 -2
- package/dist/esm/ez-modal.entry.js +12 -3
- package/dist/esm/ez-multi-selection-list.entry.js +2 -2
- package/dist/esm/ez-number-input.entry.js +15 -3
- package/dist/esm/ez-popover-plus_3.entry.js +192 -0
- package/dist/esm/ez-popup.entry.js +24 -2
- package/dist/esm/ez-scroller_2.entry.js +3 -3
- package/dist/esm/ez-search.entry.js +120 -189
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +2 -2
- package/dist/esm/ez-split-item.entry.js +6 -3
- package/dist/esm/ez-split-panel.entry.js +69 -7
- package/dist/esm/ez-text-area.entry.js +68 -6
- package/dist/esm/ez-text-input.entry.js +152 -16
- package/dist/esm/ez-time-input.entry.js +7 -1
- package/dist/esm/ez-tooltip.entry.js +51 -0
- package/dist/esm/ez-tree.entry.js +5 -4
- package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/filter-column.entry.js +10 -47
- package/dist/esm/index-baa5e267.js +22 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/searchFormatters-8229207e.js +20 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0fa52b0f.entry.js +1 -0
- package/dist/ezui/p-17de16e5.entry.js +1 -0
- package/dist/ezui/p-17eabf46.entry.js +1 -0
- package/dist/ezui/p-1ad6c61b.entry.js +1 -0
- package/dist/ezui/p-20c024f7.entry.js +1 -0
- package/dist/ezui/p-20cb13fa.entry.js +1 -0
- package/dist/ezui/p-23b6128c.entry.js +1 -0
- package/dist/ezui/p-2872fd16.entry.js +1 -0
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/p-2f45506d.entry.js +1 -0
- package/dist/ezui/p-3195a7a7.entry.js +1 -0
- package/dist/ezui/p-31b71e50.entry.js +1 -0
- package/dist/ezui/p-31da1b57.entry.js +1 -0
- package/dist/ezui/p-40a60148.js +1 -0
- package/dist/ezui/p-556468d9.entry.js +1 -0
- package/dist/ezui/p-56fe5341.entry.js +1 -0
- package/dist/ezui/p-5aca7386.entry.js +1 -0
- package/dist/ezui/p-6cdd3e0a.entry.js +1 -0
- package/dist/ezui/p-788467fe.entry.js +1 -0
- package/dist/ezui/p-7e677b7b.entry.js +1 -0
- package/dist/ezui/{p-bf79aaa1.entry.js → p-7fdd479f.entry.js} +1 -1
- package/dist/ezui/p-80dfc50b.js +1 -0
- package/dist/ezui/p-a4cee65d.entry.js +1 -0
- package/dist/ezui/p-acddfb2e.js +1 -0
- package/dist/ezui/p-b7706b43.entry.js +1 -0
- package/dist/ezui/p-c1527804.entry.js +1 -0
- package/dist/ezui/p-c297aa52.entry.js +1 -0
- package/dist/ezui/p-cb1535f7.entry.js +1 -0
- package/dist/ezui/p-cb5cd243.entry.js +309 -0
- package/dist/ezui/p-cf87aacb.entry.js +1 -0
- package/dist/ezui/p-da1b4a38.entry.js +1 -0
- package/dist/ezui/p-dc628ed3.js +1 -0
- package/dist/ezui/p-dc73e1fe.entry.js +1 -0
- package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
- package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/ezui/{p-84e439b9.entry.js → p-e347df9c.entry.js} +1 -1
- package/dist/ezui/p-e6a9041d.entry.js +1 -0
- package/dist/ezui/p-e75c7a23.entry.js +1 -0
- package/dist/ezui/p-ea54d056.entry.js +1 -0
- package/dist/ezui/p-ec7db713.js +1 -0
- package/dist/ezui/p-f5931caa.entry.js +1 -0
- package/dist/ezui/p-fa6732f2.entry.js +1 -0
- package/dist/ezui/p-fd0a19d6.entry.js +1 -0
- package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
- package/dist/types/components/ez-button/ez-button.d.ts +2 -1
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
- package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +17 -15
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +8 -3
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +8 -3
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -1
- package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
- package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
- package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
- package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
- package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
- package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +71 -4
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +37 -4
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +25 -2
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +33 -7
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
- package/dist/types/components/ez-grid/ez-grid.d.ts +59 -1
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
- package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
- package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
- package/dist/types/components/ez-list/ez-list.d.ts +23 -2
- package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +2 -1
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +8 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +76 -0
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +91 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +8 -1
- package/dist/types/components/ez-search/ez-search.d.ts +32 -18
- package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
- package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
- package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +17 -0
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +24 -2
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
- package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
- package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
- package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
- package/dist/types/components.d.ts +793 -29
- package/dist/types/utils/FocusResolver.d.ts +5 -0
- package/dist/types/utils/ResponsiveInputUtils.d.ts +6 -0
- package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
- package/dist/types/utils/form/DataBinder.d.ts +3 -0
- package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
- package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
- package/package.json +11 -3
- package/react/components.d.ts +6 -0
- package/react/components.js +6 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
- package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
- package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
- package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
- package/dist/esm/ez-card-item_3.entry.js +0 -177
- package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
- package/dist/esm/ez-skeleton.entry.js +0 -63
- package/dist/ezui/p-04f24913.js +0 -1
- package/dist/ezui/p-072e6347.entry.js +0 -1
- package/dist/ezui/p-1285c902.entry.js +0 -1
- package/dist/ezui/p-13d2fe2d.entry.js +0 -1
- package/dist/ezui/p-2097d0cf.entry.js +0 -1
- package/dist/ezui/p-32e553e5.entry.js +0 -304
- package/dist/ezui/p-34b6916c.entry.js +0 -1
- package/dist/ezui/p-3b4eeeb6.entry.js +0 -1
- package/dist/ezui/p-3faa2b46.entry.js +0 -1
- package/dist/ezui/p-42533ea4.entry.js +0 -1
- package/dist/ezui/p-49456b34.entry.js +0 -1
- package/dist/ezui/p-4d5235f1.entry.js +0 -1
- package/dist/ezui/p-5bd5e68f.entry.js +0 -1
- package/dist/ezui/p-650e4b6d.entry.js +0 -1
- package/dist/ezui/p-784fe207.entry.js +0 -1
- package/dist/ezui/p-7922142b.entry.js +0 -1
- package/dist/ezui/p-7af81663.entry.js +0 -1
- package/dist/ezui/p-7bc07c31.entry.js +0 -1
- package/dist/ezui/p-85c8baae.entry.js +0 -1
- package/dist/ezui/p-8888d9ed.entry.js +0 -1
- package/dist/ezui/p-9050d2cd.entry.js +0 -1
- package/dist/ezui/p-922ac38b.entry.js +0 -1
- package/dist/ezui/p-9e11fc7b.js +0 -1
- package/dist/ezui/p-a31b9c90.entry.js +0 -1
- package/dist/ezui/p-aba3da00.entry.js +0 -1
- package/dist/ezui/p-af95cd16.entry.js +0 -1
- package/dist/ezui/p-bae4e180.entry.js +0 -1
- package/dist/ezui/p-baf80b13.entry.js +0 -1
- package/dist/ezui/p-bcb53f27.entry.js +0 -1
- package/dist/ezui/p-cdc472cc.entry.js +0 -1
- package/dist/ezui/p-d9401ea0.entry.js +0 -1
- package/dist/ezui/p-e85c48d7.entry.js +0 -1
- package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
- package/dist/ezui/p-fcf0acce.entry.js +0 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { DataUnit } from
|
|
2
|
-
import { CellPosition, ColDef, GridApi, GridOptions } from "ag-grid-community";
|
|
3
|
-
import { IRecordValidator } from
|
|
4
|
-
import { ICustomEditorInfo } from
|
|
5
|
-
import { ICustomRenderInfo } from
|
|
1
|
+
import { DataUnit, Record } from '@sankhyalabs/core';
|
|
2
|
+
import { CellPosition, ColDef, GridApi, GridOptions } from "@ag-grid-community/core";
|
|
3
|
+
import { IRecordValidator } from '../../../../utils/form/interfaces';
|
|
4
|
+
import { ICustomEditorInfo } from '../../../../utils/customEditor/interfaces/ICustomEditorInfo';
|
|
5
|
+
import { ICustomRenderInfo } from '../../../../utils/customRender/interfaces/ICustomRenderInfo';
|
|
6
|
+
import { IInvalidCell } from '../../../../utils/validators/recordvalidator/IInvalidCells';
|
|
6
7
|
export default class GridEditionManager {
|
|
7
8
|
private _dataUnit;
|
|
8
9
|
private _lastCellClicked;
|
|
9
10
|
private _lastCellEdited;
|
|
11
|
+
private _lastCellOpened;
|
|
10
12
|
private _targetEditionCell;
|
|
11
13
|
private _recordValidationProcessor;
|
|
12
14
|
private _gridOptions;
|
|
@@ -15,9 +17,22 @@ export default class GridEditionManager {
|
|
|
15
17
|
private _isGridEdition;
|
|
16
18
|
private _customEditors;
|
|
17
19
|
private _customRenders;
|
|
18
|
-
|
|
20
|
+
private _enableContinuousInsert;
|
|
21
|
+
private _enableGridInsert;
|
|
22
|
+
private _invalidCells;
|
|
23
|
+
private _nextInvalidCell;
|
|
24
|
+
private _currentEditLock;
|
|
25
|
+
private _lockerId;
|
|
26
|
+
constructor(dataUnit: DataUnit, useEnterLikeTab: boolean, recordsValidator: IRecordValidator, editionIsDisabled: () => boolean, customEditors?: Map<string, ICustomEditorInfo>, customRenders?: Map<string, ICustomRenderInfo>, enableContinuousInsert?: boolean, enableGridInsert?: boolean, lockerId?: string);
|
|
19
27
|
configureGrid(options: GridOptions): GridOptions;
|
|
20
|
-
|
|
28
|
+
updateCurrentEditorGuiValue(updatedRowValue: Record): void;
|
|
29
|
+
private lockFocusWhenAddRow;
|
|
30
|
+
private handleCellEditingStartedRowAdd;
|
|
31
|
+
private isSelectableRow;
|
|
32
|
+
private canContinuousInsert;
|
|
33
|
+
proceedAutoSave(): Promise<boolean>;
|
|
34
|
+
private saveDataUnit;
|
|
35
|
+
recordValidate(): Promise<void>;
|
|
21
36
|
navigateByEnterKey(keyboardEvent: KeyboardEvent): void;
|
|
22
37
|
getComponents(): {
|
|
23
38
|
[p: string]: any;
|
|
@@ -25,6 +40,7 @@ export default class GridEditionManager {
|
|
|
25
40
|
verifyClickToEdition(api: GridApi, cellClicked: CellPosition): void;
|
|
26
41
|
configureColumn(col: ColDef): ColDef;
|
|
27
42
|
private getRequiredFields;
|
|
43
|
+
private getFormRequiredFields;
|
|
28
44
|
private saveSuccess;
|
|
29
45
|
private saveFail;
|
|
30
46
|
private focusOnCell;
|
|
@@ -39,6 +55,16 @@ export default class GridEditionManager {
|
|
|
39
55
|
private isColEditable;
|
|
40
56
|
private isSecondClick;
|
|
41
57
|
private onCellEditRequest;
|
|
58
|
+
private handlePromiseValue;
|
|
59
|
+
private updateCellValue;
|
|
42
60
|
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
43
61
|
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
62
|
+
private pushInvalidCell;
|
|
63
|
+
getInvalidCells(): Array<IInvalidCell>;
|
|
64
|
+
getNextInvalidCell(): IInvalidCell;
|
|
65
|
+
processContinuousInsert(): Promise<void>;
|
|
66
|
+
clearInvalidCells(stopEdition?: boolean): void;
|
|
67
|
+
setEnableContinuousInsert(enable: boolean): void;
|
|
68
|
+
hasInvalidField(fieldName: string, recordId: string): boolean;
|
|
69
|
+
hasInvalidCell(): boolean;
|
|
44
70
|
}
|
package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellEditorParams } from "ag-grid-community";
|
|
1
|
+
import { ICellEditorParams } from "@ag-grid-community/core";
|
|
2
2
|
import { ICustomEditorInfo } from "../../../../../utils/customEditor/interfaces/ICustomEditorInfo";
|
|
3
3
|
import EzCellEditor from "../editor/EzCellEditor";
|
|
4
4
|
interface CustomParamsEditor {
|
|
@@ -10,10 +10,13 @@ export default class EzGridCustomCellEditor extends EzCellEditor {
|
|
|
10
10
|
private _params;
|
|
11
11
|
private _defaultGui;
|
|
12
12
|
private _value;
|
|
13
|
+
private _customGui;
|
|
13
14
|
init(params: ICellEditorParams & CustomParamsEditor): void;
|
|
14
15
|
private getDefaultGui;
|
|
15
16
|
getGui(): HTMLElement;
|
|
16
17
|
private setValue;
|
|
17
18
|
getValue(): any;
|
|
19
|
+
afterGuiAttached(): void;
|
|
20
|
+
focusIn(): void;
|
|
18
21
|
}
|
|
19
22
|
export {};
|
package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellRendererParams } from "ag-grid-community";
|
|
1
|
+
import { ICellRendererParams } from "@ag-grid-community/core";
|
|
2
2
|
import EzCellRender from "../editor/EzCellRender";
|
|
3
3
|
import { ICustomRenderInfo } from "../../../../../utils/customRender/interfaces/ICustomRenderInfo";
|
|
4
4
|
interface CustomParamsRender {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellRendererComp, ICellRendererParams } from "ag-grid-community";
|
|
1
|
+
import { ICellRendererComp, ICellRendererParams } from "@ag-grid-community/core";
|
|
2
2
|
export declare class CellRendererStatus implements ICellRendererComp {
|
|
3
3
|
private readonly DEFAULT_COLOR;
|
|
4
4
|
private _eGui;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellEditorComp, ICellEditorParams } from "ag-grid-community";
|
|
1
|
+
import { ICellEditorComp, ICellEditorParams } from "@ag-grid-community/core";
|
|
2
2
|
import { Record } from "@sankhyalabs/core";
|
|
3
3
|
import { IEditorMetadata } from "./IEditorMetadata";
|
|
4
4
|
export default class EzCellEditor implements ICellEditorComp {
|
|
@@ -10,6 +10,7 @@ export default class EzCellEditor implements ICellEditorComp {
|
|
|
10
10
|
afterGuiAttached(): void;
|
|
11
11
|
focusIn(): void;
|
|
12
12
|
getValue(): any;
|
|
13
|
+
setGuiValue(value: any): void;
|
|
13
14
|
isPopup(): boolean;
|
|
14
15
|
getFieldMetadata(): IEditorMetadata;
|
|
15
16
|
getRecord(): Record;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICellRendererComp, ICellRendererParams } from "ag-grid-community";
|
|
1
|
+
import { ICellRendererComp, ICellRendererParams } from "@ag-grid-community/core";
|
|
2
2
|
import { IEditorMetadata } from "./IEditorMetadata";
|
|
3
3
|
export default class EzCellRender implements ICellRendererComp {
|
|
4
4
|
private _gui;
|
|
@@ -8,18 +8,19 @@ import { ICustomEditor } from '../../utils/customEditor/interfaces/ICustomEditor
|
|
|
8
8
|
import { ICustomRender } from '../../utils/customRender/interfaces/ICustomRender';
|
|
9
9
|
export declare class EzGrid {
|
|
10
10
|
private _container;
|
|
11
|
+
private _cancelPaginationPopoverElement;
|
|
11
12
|
private _refPaginationControl;
|
|
12
13
|
private _gridController;
|
|
13
14
|
private _gridSelectionCounter;
|
|
14
15
|
private _resizeObserver;
|
|
15
16
|
private _messageFilterAppliedSuccess;
|
|
16
|
-
private _gridApi;
|
|
17
17
|
private _filterColumn;
|
|
18
18
|
private _refPaginationLabel;
|
|
19
19
|
private _refPaginationLabelTooltip;
|
|
20
20
|
private _headerOverflowWatcher;
|
|
21
21
|
private _customEditor;
|
|
22
22
|
private _customRenders;
|
|
23
|
+
private _keyboardManager;
|
|
23
24
|
_element: HTMLElement;
|
|
24
25
|
private _paginationInfo;
|
|
25
26
|
private _paginationChangedByKeyboard;
|
|
@@ -49,6 +50,14 @@ export declare class EzGrid {
|
|
|
49
50
|
* Emitido quando o componente estiver completamente carregado.
|
|
50
51
|
*/
|
|
51
52
|
componentReady: EventEmitter<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
|
55
|
+
*/
|
|
56
|
+
enableLockManagerLoadingComp?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Ativa inserção de registros no modo grade pela Taskbar.
|
|
59
|
+
*/
|
|
60
|
+
enableLockManagerTaskbarClick?: boolean;
|
|
52
61
|
/**
|
|
53
62
|
* Habilita a seleção de várias linhas.
|
|
54
63
|
*/
|
|
@@ -94,6 +103,37 @@ export declare class EzGrid {
|
|
|
94
103
|
* Define se a grid será focada ao ser carregada.
|
|
95
104
|
*/
|
|
96
105
|
autoFocus?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Define se a grid será focada ao ser carregada.
|
|
108
|
+
*/
|
|
109
|
+
paginationCounterMode?: 'show' | 'hidden' | 'auto';
|
|
110
|
+
/**
|
|
111
|
+
* Ativa inserção de registros no modo grade.
|
|
112
|
+
*/
|
|
113
|
+
enableGridInsert?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Ativa/desativa a inserção continua na grade
|
|
116
|
+
* Só funciona quando a prop enableGridInsert está ativa
|
|
117
|
+
*/
|
|
118
|
+
enableContinuousInsert?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Informa se a coluna de chechbox deve ser suprimida
|
|
121
|
+
*/
|
|
122
|
+
suppressCheckboxColumn?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Altera visualmente as sombras e bordas do componente
|
|
125
|
+
* Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout)
|
|
126
|
+
* Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
|
127
|
+
*/
|
|
128
|
+
outlineMode?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Ativa modo de linhas com cores alternadas.
|
|
131
|
+
*/
|
|
132
|
+
enableRowTableStriped?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Define se a grade deve ser exibida em modo compacto
|
|
135
|
+
*/
|
|
136
|
+
compact?: boolean;
|
|
97
137
|
/**
|
|
98
138
|
* Aplica a definição de colunas.
|
|
99
139
|
*/
|
|
@@ -162,9 +202,16 @@ export declare class EzGrid {
|
|
|
162
202
|
* Atribui o foco para a grade.
|
|
163
203
|
*/
|
|
164
204
|
setFocus(): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Para a edição da grade.
|
|
207
|
+
*/
|
|
208
|
+
stopEdit(): Promise<void>;
|
|
209
|
+
checkStopEditOutsideClick(event: MouseEvent): Promise<void>;
|
|
165
210
|
observeConfig(config: IGridConfig): void;
|
|
166
211
|
updatePaginationTooltip(): void;
|
|
212
|
+
observePaginationCounterMode(newValue: any): void;
|
|
167
213
|
onSelectionChange(evt: CustomEvent): void;
|
|
214
|
+
handleClick(event: MouseEvent): Promise<void>;
|
|
168
215
|
private setSelection;
|
|
169
216
|
private onSelectAllRecords;
|
|
170
217
|
private onSelectPageRecords;
|
|
@@ -179,12 +226,19 @@ export declare class EzGrid {
|
|
|
179
226
|
private buildDataElementId;
|
|
180
227
|
private previousPage;
|
|
181
228
|
private nextPage;
|
|
229
|
+
private nextRecord;
|
|
230
|
+
private previousRecord;
|
|
182
231
|
private resetPaginationState;
|
|
232
|
+
private resolvePaginationClassMode;
|
|
233
|
+
private handleCancelPagination;
|
|
234
|
+
private renderCancelPagination;
|
|
235
|
+
private handleShowCancelPagination;
|
|
183
236
|
private getPaginationControl;
|
|
184
237
|
componentDidLoad(): void;
|
|
185
238
|
private handlePaginationChange;
|
|
186
239
|
private _getActualPageLabel;
|
|
187
240
|
private _getRemainingPageLabel;
|
|
241
|
+
private _hasToShowCancelPagination;
|
|
188
242
|
private _getPaginationTooltip;
|
|
189
243
|
private _initHeaderOverflowWatcher;
|
|
190
244
|
private buildOverFlowWatcherParams;
|
|
@@ -192,11 +246,15 @@ export declare class EzGrid {
|
|
|
192
246
|
private _hidePaginationDescription;
|
|
193
247
|
private _showPaginationDescription;
|
|
194
248
|
disconnectedCallback(): void;
|
|
249
|
+
connectedCallback(): void;
|
|
195
250
|
componentWillRender(): void;
|
|
196
251
|
componentDidRender(): void;
|
|
197
252
|
componentWillLoad(): void;
|
|
198
253
|
componentDidUpdate(): void;
|
|
199
254
|
private getDataSource;
|
|
200
255
|
private hideHeader;
|
|
256
|
+
private resolveLeftHeaderClass;
|
|
257
|
+
private initKeyboardManager;
|
|
258
|
+
private removeShortcuts;
|
|
201
259
|
render(): any;
|
|
202
260
|
}
|
|
@@ -3,13 +3,6 @@ import { EventEmitter } from '../../../stencil-public-runtime';
|
|
|
3
3
|
import { IMultiSelectionListDataSource } from '../../ez-multi-selection-list/interfaces/IMultiSelectionListDataSource';
|
|
4
4
|
import { IMultiSelectionOption } from '../../ez-multi-selection-list/interfaces/IMultiSelectionOption';
|
|
5
5
|
export declare class FilterColumn {
|
|
6
|
-
private readonly TOP_POSITION;
|
|
7
|
-
private readonly TOP_POSITION_HEADER_HIDDEN;
|
|
8
|
-
private readonly TOP_POSITION_NO_TASKBAR;
|
|
9
|
-
private readonly TOP_POSITION_NO_TASKBAR_HEADER_HIDDEN;
|
|
10
|
-
private readonly DEFAULT_HEIGHT;
|
|
11
|
-
private readonly FIX_MARGIN;
|
|
12
|
-
private readonly FILTER_COLUMN_WIDTH;
|
|
13
6
|
private ezPopoverElement;
|
|
14
7
|
private ezMultiSelectionList;
|
|
15
8
|
applyFilterColumnOptions: EventEmitter<IAppliedFilterColumnOptions>;
|
|
@@ -31,11 +24,7 @@ export declare class FilterColumn {
|
|
|
31
24
|
* @Params IFilterColumnConfigs informações para configurar o filtro
|
|
32
25
|
*/
|
|
33
26
|
show(configs: IFilterColumnConfigs): Promise<void>;
|
|
34
|
-
private calculateLeftPosition;
|
|
35
|
-
private calcFilterColumnLeftPosition;
|
|
36
27
|
private buildIsTextSearch;
|
|
37
|
-
private calcTopPosition;
|
|
38
|
-
private buildReferenceTopPosition;
|
|
39
28
|
private clearConfigs;
|
|
40
29
|
private canShow;
|
|
41
30
|
private submit;
|
|
@@ -4,6 +4,6 @@ import { IMultiSelectionOption } from "../../ez-multi-selection-list/interfaces/
|
|
|
4
4
|
export declare class ColumnFilterManager {
|
|
5
5
|
static getColumnFilters(filters: Array<Filter>, fieldName: string): Map<string, IColumnFilter>;
|
|
6
6
|
static getFilterFunction(dataUnit: DataUnit, filters?: Array<IColumnFilter>): (record: Record) => boolean;
|
|
7
|
-
private static recordMatchesFilter;
|
|
8
7
|
static compileDistinct(fieldName: string, dataUnit: DataUnit): Array<IMultiSelectionOption>;
|
|
8
|
+
static compileDistinctFromArray(fieldName: string, dataUnit: DataUnit, records: Array<Record>): Array<IMultiSelectionOption>;
|
|
9
9
|
}
|
|
@@ -4,8 +4,11 @@ import { DataUnit } from '@sankhyalabs/core';
|
|
|
4
4
|
export default class InMemoryFilterColumnDataSource implements IMultiSelectionListDataSource {
|
|
5
5
|
private dataUnit;
|
|
6
6
|
private originalRecords;
|
|
7
|
+
private lastAppliedFilters;
|
|
8
|
+
private readonly FILTER_COLUMN_TERM;
|
|
7
9
|
constructor(dataUnit: DataUnit);
|
|
8
10
|
onDataUnitAction: (action: any) => void;
|
|
11
|
+
private getAppliedFilterNames;
|
|
9
12
|
getStaticOptions(fieldName: string): Promise<Array<IMultiSelectionOption>>;
|
|
10
13
|
fetchData(filterTerm: string, fieldName: string): Promise<Array<IMultiSelectionOption>>;
|
|
11
14
|
sortItems(fieldName: string, items: IMultiSelectionOption[]): IMultiSelectionOption[];
|
|
@@ -29,7 +29,6 @@ export declare class EzList {
|
|
|
29
29
|
private _groupContainer;
|
|
30
30
|
private _element;
|
|
31
31
|
private _itemContainer;
|
|
32
|
-
private _draggingElement;
|
|
33
32
|
private _changeDeboucingTimeout;
|
|
34
33
|
/**
|
|
35
34
|
* Define a lista inicial do componente.
|
|
@@ -65,6 +64,10 @@ export declare class EzList {
|
|
|
65
64
|
* Quando verdadeiro, ativa o feedback visual ao efetuar houver nos itens da lista.
|
|
66
65
|
*/
|
|
67
66
|
hoverFeedback: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Habilita seleção de múltiplos items.
|
|
69
|
+
*/
|
|
70
|
+
enableMultipleSelection: boolean;
|
|
68
71
|
/**
|
|
69
72
|
* Emitido quando acontece a alteração de estado da lista.
|
|
70
73
|
*/
|
|
@@ -73,6 +76,10 @@ export declare class EzList {
|
|
|
73
76
|
* Emitido sempre que um item da lista for selecionado.
|
|
74
77
|
*/
|
|
75
78
|
ezSelectItem: EventEmitter<ListItem>;
|
|
79
|
+
/**
|
|
80
|
+
* Emitido sempre que um ou vários item da lista for selecionado.
|
|
81
|
+
*/
|
|
82
|
+
ezSelectMultipleItems: EventEmitter<ListItem[]>;
|
|
76
83
|
/**
|
|
77
84
|
* Emitido quando acontece a alteração de um item do checkbox.
|
|
78
85
|
*/
|
|
@@ -92,7 +99,12 @@ export declare class EzList {
|
|
|
92
99
|
/**
|
|
93
100
|
* Aplica seleção nas linhas da lista.
|
|
94
101
|
*/
|
|
95
|
-
setSelection(selectedItem: ListItem, scrollToOption?: boolean): Promise<void>;
|
|
102
|
+
setSelection(selectedItem: ListItem, scrollToOption?: boolean, shitkey?: boolean, ctrlKey?: boolean): Promise<void>;
|
|
103
|
+
private emitSelectedItems;
|
|
104
|
+
private setSelectionRange;
|
|
105
|
+
private setSelectionMultiple;
|
|
106
|
+
private setSelectionSingleItem;
|
|
107
|
+
private setSelectionWithGroups;
|
|
96
108
|
/**
|
|
97
109
|
* Obtém o item selecionado.
|
|
98
110
|
*/
|
|
@@ -113,7 +125,10 @@ export declare class EzList {
|
|
|
113
125
|
componentWillRender(): void;
|
|
114
126
|
componentDidLoad(): void;
|
|
115
127
|
onDrop(ev: any, dragEndItem: ListItemGroup): void;
|
|
128
|
+
private buildDragHandlerConfig;
|
|
129
|
+
private onDropWithGroups;
|
|
116
130
|
onDropLastIndex(ev: any, groupDropped?: any): void;
|
|
131
|
+
private onDropLastItemWithGroups;
|
|
117
132
|
onDropGroup(groupSelected: any): void;
|
|
118
133
|
onDragEnd(): void;
|
|
119
134
|
addOverClass(element: any): void;
|
|
@@ -121,9 +136,12 @@ export declare class EzList {
|
|
|
121
136
|
removeOverClass(): void;
|
|
122
137
|
removeOverGroupClass(ev: any, group: any): void;
|
|
123
138
|
onDragStart(item: any, group?: any, index?: any): void;
|
|
139
|
+
private onDragStartWithGroups;
|
|
124
140
|
selectFirstItem(): void;
|
|
125
141
|
nextOption(selectedItem: ListItem): void;
|
|
142
|
+
private nextOptionWithGroups;
|
|
126
143
|
previousOption(selectedItem: ListItem): void;
|
|
144
|
+
private previousOptionWithGroups;
|
|
127
145
|
private keyDownHandler;
|
|
128
146
|
getDivGroupId(groupName: String): string;
|
|
129
147
|
getGroupOverlayId(groupName: string): string;
|
|
@@ -134,5 +152,8 @@ export declare class EzList {
|
|
|
134
152
|
hideOverlays(): void;
|
|
135
153
|
getContainerItemBuilder(slotPosition: 'left' | 'right', item: ListItem, group?: ListGroup, className?: string): HTMLElement;
|
|
136
154
|
doubleClickItem(item: ListItem): void;
|
|
155
|
+
private buildItem;
|
|
156
|
+
private renderListWithGroups;
|
|
157
|
+
private renderList;
|
|
137
158
|
render(): any;
|
|
138
159
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ListItem, ListItemGroup } from './ez-list';
|
|
2
|
+
/**
|
|
3
|
+
* O dragElement é posicionado ANTERIORMENTE ao targetIndex.
|
|
4
|
+
* Ex: no array: ["A", "B", "C", "D", "E"]
|
|
5
|
+
* se o dragItem for "B" e o targetIndex 3 (referente à "D"),
|
|
6
|
+
* "B" será posicionado logo antes de "D".
|
|
7
|
+
* O resultado será: ["A", "C", "B", "D", "E"]
|
|
8
|
+
*
|
|
9
|
+
* @param configs
|
|
10
|
+
*/
|
|
11
|
+
export declare function processListOnDrop(configs: DragHandlerConfig): ListItem[];
|
|
12
|
+
export declare function isContinuousSequence(numbers: number[]): boolean;
|
|
13
|
+
export interface DragHandlerConfig {
|
|
14
|
+
listItems: ListItem[];
|
|
15
|
+
dragItem: ListItemGroup;
|
|
16
|
+
enableMultipleSelection: boolean;
|
|
17
|
+
targetIndex: number;
|
|
18
|
+
moveToFinal: boolean;
|
|
19
|
+
clearSelection: Function;
|
|
20
|
+
}
|
|
@@ -38,7 +38,7 @@ export declare class EzModal {
|
|
|
38
38
|
/**
|
|
39
39
|
* Define o tipo de scrim a ser aplicado no overlay do modal
|
|
40
40
|
*/
|
|
41
|
-
scrim: "medium" | "light";
|
|
41
|
+
scrim: "medium" | "light" | "none";
|
|
42
42
|
private _element;
|
|
43
43
|
/**
|
|
44
44
|
* Emitido quando o modal é fechado.
|
|
@@ -60,6 +60,7 @@ export declare class EzModal {
|
|
|
60
60
|
closeModal(): void;
|
|
61
61
|
componentDidLoad(): void;
|
|
62
62
|
componentDidRender(): void;
|
|
63
|
+
private modalFocus;
|
|
63
64
|
onMouseDownHandler(event: any): void;
|
|
64
65
|
onMouseLeaveHandler(): void;
|
|
65
66
|
render(): any;
|
|
@@ -40,6 +40,10 @@ export declare class EzNumberInput {
|
|
|
40
40
|
* Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
|
|
41
41
|
*/
|
|
42
42
|
errorMessage: string;
|
|
43
|
+
/**
|
|
44
|
+
* Se false, o input não aceitará números negativos.
|
|
45
|
+
*/
|
|
46
|
+
allowNegative: boolean;
|
|
43
47
|
/**
|
|
44
48
|
* Define quantas casas decimais serão exibidas. Caso haja mais casas haverá arredondamento.
|
|
45
49
|
*/
|
|
@@ -53,6 +57,10 @@ export declare class EzNumberInput {
|
|
|
53
57
|
* Define o tamanho do campo.
|
|
54
58
|
*/
|
|
55
59
|
mode: "slim" | "regular";
|
|
60
|
+
/**
|
|
61
|
+
* Se true o campo de texto receberá o foco ao ser renderizado.
|
|
62
|
+
*/
|
|
63
|
+
autoFocus: boolean;
|
|
56
64
|
/**
|
|
57
65
|
* Aplica o foco no campo.
|
|
58
66
|
*/
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class EzPopoverPlus {
|
|
3
|
+
private _popOverCore;
|
|
4
|
+
_host: HTMLElement;
|
|
5
|
+
/**
|
|
6
|
+
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
7
|
+
*/
|
|
8
|
+
autoClose: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Ajusta o comportamento da largura do popover.
|
|
11
|
+
*/
|
|
12
|
+
boxWidth: "full-width" | "fit-content";
|
|
13
|
+
/**
|
|
14
|
+
* Define se o ez-popover está aberto.
|
|
15
|
+
*/
|
|
16
|
+
opened: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Define o tipo de overlay do popover.
|
|
19
|
+
*/
|
|
20
|
+
overlayType: "medium" | "light" | "none";
|
|
21
|
+
/**
|
|
22
|
+
* Define o elemento de ancoragem.
|
|
23
|
+
*/
|
|
24
|
+
anchorElement: Array<HTMLElement | string> | HTMLElement | string;
|
|
25
|
+
/**
|
|
26
|
+
* Define as opções do elemento.
|
|
27
|
+
*/
|
|
28
|
+
options: IEzPopoverAnchorOptions;
|
|
29
|
+
/**
|
|
30
|
+
* Define se o elemento manterá o mesmo tamanho do componente de ancora.
|
|
31
|
+
*/
|
|
32
|
+
useAnchorSize: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Define a largura mínima do elemento (apenas será considerada caso a propriedade useAnchorSize seja verdadeira).
|
|
35
|
+
*/
|
|
36
|
+
minWidth: number;
|
|
37
|
+
/**
|
|
38
|
+
* Emitido quando acontece a alteração de estado do componente.
|
|
39
|
+
*/
|
|
40
|
+
ezVisibilityChange: EventEmitter<boolean>;
|
|
41
|
+
listenerEzVisibilityChange({ detail }: {
|
|
42
|
+
detail: any;
|
|
43
|
+
}): void;
|
|
44
|
+
observeOpened(newValue: boolean): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Atualiza a posição do popover.
|
|
47
|
+
*/
|
|
48
|
+
updatePosition(top?: string, left?: string): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Exibe o ez-popover.
|
|
51
|
+
*/
|
|
52
|
+
show(top?: string | number, left?: string | number): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
55
|
+
*/
|
|
56
|
+
showUnder(element: HTMLElement | string, options?: IEzPopoverAnchorOptions): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Oculta o ez-popover.
|
|
59
|
+
*/
|
|
60
|
+
hide(): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Altera as opções.
|
|
63
|
+
*/
|
|
64
|
+
setOptions(options: IEzPopoverAnchorOptions): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Altera o elemento de ancoragem.
|
|
67
|
+
*/
|
|
68
|
+
setAnchorElement(anchor: HTMLElement | string): Promise<void>;
|
|
69
|
+
private renderPopoverCore;
|
|
70
|
+
render(): any;
|
|
71
|
+
}
|
|
72
|
+
export interface IEzPopoverAnchorOptions {
|
|
73
|
+
horizontalGap?: number;
|
|
74
|
+
verticalGap?: number;
|
|
75
|
+
fromRight?: boolean;
|
|
76
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class EzPopoverCore {
|
|
3
|
+
private _box;
|
|
4
|
+
private _overlay;
|
|
5
|
+
private _overlayIsActive;
|
|
6
|
+
private _timeoutDebounce;
|
|
7
|
+
private _resizeObserver;
|
|
8
|
+
private TIME_DEBOUNCE;
|
|
9
|
+
_host: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
12
|
+
*/
|
|
13
|
+
autoClose: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Ajusta o comportamento da largura do popover.
|
|
16
|
+
*/
|
|
17
|
+
boxWidth: "full-width" | "fit-content";
|
|
18
|
+
/**
|
|
19
|
+
* Define se o ez-popover está aberto.
|
|
20
|
+
*/
|
|
21
|
+
opened: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Define o tipo de overlay do popover.
|
|
24
|
+
*/
|
|
25
|
+
overlayType: "medium" | "light" | "none";
|
|
26
|
+
/**
|
|
27
|
+
* Define o elemento de ancoragem.
|
|
28
|
+
*/
|
|
29
|
+
anchorElement: Array<HTMLElement | string> | HTMLElement | string;
|
|
30
|
+
/**
|
|
31
|
+
* Define as opções do elemento.
|
|
32
|
+
*/
|
|
33
|
+
options: IEzPopoverAnchorOptions;
|
|
34
|
+
/**
|
|
35
|
+
* Define se o elemento manterá o mesmo tamanho do componente de ancora.
|
|
36
|
+
*/
|
|
37
|
+
useAnchorSize: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Define a largura mínima do elemento (apenas será considerada caso a propriedade useAnchorSize seja verdadeira).
|
|
40
|
+
*/
|
|
41
|
+
minWidth: number;
|
|
42
|
+
/**
|
|
43
|
+
* Emitido quando acontece a alteração de estado do componente.
|
|
44
|
+
*/
|
|
45
|
+
ezVisibilityChange: EventEmitter<boolean>;
|
|
46
|
+
observeOpened(newValue: boolean, oldValue: boolean): void;
|
|
47
|
+
/**
|
|
48
|
+
* Atualiza a posição do popover.
|
|
49
|
+
*/
|
|
50
|
+
updatePosition(top?: string, left?: string): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Exibe o ez-popover.
|
|
53
|
+
*/
|
|
54
|
+
show(top?: string | number, left?: string | number): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
57
|
+
*/
|
|
58
|
+
showUnder(element: HTMLElement | string, options?: IEzPopoverAnchorOptions): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Oculta o ez-popover.
|
|
61
|
+
*/
|
|
62
|
+
hide(): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Altera as opções.
|
|
65
|
+
*/
|
|
66
|
+
setOptions(options: IEzPopoverAnchorOptions): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Altera o elemento de ancoragem.
|
|
69
|
+
*/
|
|
70
|
+
setAnchorElement(anchor: HTMLElement | string): Promise<void>;
|
|
71
|
+
private parseSizePixel;
|
|
72
|
+
private updateOptionPosition;
|
|
73
|
+
private getElement;
|
|
74
|
+
private getAnchorElement;
|
|
75
|
+
private updatePositionPopover;
|
|
76
|
+
private hidePopover;
|
|
77
|
+
private openPopover;
|
|
78
|
+
private openOverlay;
|
|
79
|
+
private hideOverlay;
|
|
80
|
+
private checkStatusOverlay;
|
|
81
|
+
private updatePositionDebounce;
|
|
82
|
+
componentWillLoad(): void;
|
|
83
|
+
componentDidLoad(): void;
|
|
84
|
+
disconnectedCallback(): void;
|
|
85
|
+
render(): any;
|
|
86
|
+
}
|
|
87
|
+
export interface IEzPopoverAnchorOptions {
|
|
88
|
+
horizontalGap?: number;
|
|
89
|
+
verticalGap?: number;
|
|
90
|
+
fromRight?: boolean;
|
|
91
|
+
}
|
|
@@ -7,7 +7,7 @@ export declare class EzPopup {
|
|
|
7
7
|
/**
|
|
8
8
|
* Define a largura do ez-popup.
|
|
9
9
|
*/
|
|
10
|
-
size: "x-small" | "small" | "medium" | "large" | "x-large";
|
|
10
|
+
size: "x-small" | "small" | "medium" | "large" | "x-large" | "auto";
|
|
11
11
|
/**
|
|
12
12
|
* Define se o ez-popover está aberto.
|
|
13
13
|
*/
|
|
@@ -24,6 +24,10 @@ export declare class EzPopup {
|
|
|
24
24
|
* Texto a ser apresentado como título do componente.
|
|
25
25
|
*/
|
|
26
26
|
ezTitle: string;
|
|
27
|
+
/**
|
|
28
|
+
* Possibilita scroll vertical no conteúdo interno do componente
|
|
29
|
+
*/
|
|
30
|
+
enabledScroll: boolean;
|
|
27
31
|
/**
|
|
28
32
|
* Evento emitido ao clicar no botão de fechar (onEzClosePopup).
|
|
29
33
|
*/
|
|
@@ -37,7 +41,10 @@ export declare class EzPopup {
|
|
|
37
41
|
private closePopup;
|
|
38
42
|
private manageOverflow;
|
|
39
43
|
private manageOverlay;
|
|
44
|
+
private popUpFocus;
|
|
40
45
|
getGridSize(): string;
|
|
46
|
+
private handlePopupHeight;
|
|
47
|
+
private handlePopupOverflowY;
|
|
41
48
|
componentDidRender(): void;
|
|
42
49
|
render(): any;
|
|
43
50
|
}
|