@sankhyalabs/ezui 5.22.0-dev.6 → 5.22.0-dev.61
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/DataBinder-b4ef826a.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-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-badge.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-button.cjs.entry.js +12 -6
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item_3.cjs.entry.js +24 -8
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +2 -2
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
- package/dist/cjs/ez-combo-box.cjs.entry.js +68 -14
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +37 -7
- package/dist/cjs/ez-date-input.cjs.entry.js +15 -5
- package/dist/cjs/ez-date-time-input.cjs.entry.js +12 -5
- package/dist/cjs/ez-dialog.cjs.entry.js +11 -3
- package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +76 -9
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +23 -22
- package/dist/cjs/ez-form.cjs.entry.js +7 -326
- package/dist/cjs/ez-grid.cjs.entry.js +14819 -69705
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +2 -2
- package/dist/cjs/ez-list.cjs.entry.js +7 -8
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +3 -2
- package/dist/cjs/ez-modal.cjs.entry.js +20 -5
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +3 -3
- package/dist/cjs/ez-number-input.cjs.entry.js +16 -3
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +22 -3
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +4 -4
- package/dist/cjs/ez-search.cjs.entry.js +106 -46
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-button.cjs.entry.js +3 -3
- package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-panel.cjs.entry.js +15 -5
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +68 -6
- package/dist/cjs/ez-text-input.cjs.entry.js +154 -17
- package/dist/cjs/ez-time-input.cjs.entry.js +9 -2
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +1 -1
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/filter-column.cjs.entry.js +3 -3
- package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +9 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
- package/dist/collection/components/ez-button/ez-button.css +23 -13
- package/dist/collection/components/ez-button/ez-button.js +12 -6
- package/dist/collection/components/ez-card-item/ez-card-item.css +60 -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-collapsible-box/ez-collapsible-box.css +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +13 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +130 -15
- package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
- package/dist/collection/components/ez-date-input/ez-date-input.js +58 -5
- 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 +55 -5
- package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
- package/dist/collection/components/ez-dialog/ez-dialog.js +9 -1
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +55 -5
- 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/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 +3 -3
- 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 +3 -2
- 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 +258 -53
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +107 -5
- 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/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 +4 -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 +28 -7
- package/dist/collection/components/ez-grid/ez-grid.js +200 -7
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +1 -1
- package/dist/collection/components/ez-icon/ez-icon.css +153 -149
- package/dist/collection/components/ez-list/ez-list.css +2 -1
- package/dist/collection/components/ez-list/ez-list.js +6 -7
- package/dist/collection/components/ez-modal/ez-modal.css +5 -1
- package/dist/collection/components/ez-modal/ez-modal.js +38 -5
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +20 -1
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +2 -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 +68 -1
- package/dist/collection/components/ez-popup/ez-popup.css +7 -3
- package/dist/collection/components/ez-popup/ez-popup.js +38 -1
- package/dist/collection/components/ez-scroller/ez-scroller.css +1 -0
- package/dist/collection/components/ez-search/ez-search.css +21 -10
- package/dist/collection/components/ez-search/ez-search.js +189 -49
- 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 +3 -1
- package/dist/collection/components/ez-split-button/ez-split-button.css +50 -14
- package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +35 -4
- 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 +1 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css +73 -28
- package/dist/collection/components/ez-text-area/ez-text-area.js +103 -3
- package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
- package/dist/collection/components/ez-text-input/ez-text-input.js +185 -15
- package/dist/collection/components/ez-time-input/ez-time-input.js +44 -1
- 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/sw.js +46 -0
- package/dist/collection/utils/FocusResolver.js +31 -0
- package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
- package/dist/collection/utils/form/DataBinder.js +20 -5
- 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 +6 -0
- package/dist/custom-elements/index.js +15977 -70298
- package/dist/esm/DataBinder-d2ecbb0f.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-alert-list.entry.js +1 -1
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-badge.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-button.entry.js +12 -6
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-card-item_3.entry.js +24 -8
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +2 -2
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-collapsible-box.entry.js +2 -2
- package/dist/esm/ez-combo-box.entry.js +69 -15
- package/dist/esm/ez-custom-form-input_2.entry.js +38 -8
- package/dist/esm/ez-date-input.entry.js +15 -5
- package/dist/esm/ez-date-time-input.entry.js +12 -5
- package/dist/esm/ez-dialog.entry.js +11 -3
- package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +76 -10
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +23 -22
- package/dist/esm/ez-form.entry.js +6 -325
- package/dist/esm/ez-grid.entry.js +14819 -69705
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +2 -2
- package/dist/esm/ez-list.entry.js +7 -8
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +3 -2
- package/dist/esm/ez-modal.entry.js +20 -5
- package/dist/esm/ez-multi-selection-list.entry.js +3 -3
- package/dist/esm/ez-number-input.entry.js +16 -3
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +22 -3
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +4 -4
- package/dist/esm/ez-search.entry.js +106 -46
- package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
- package/dist/esm/ez-split-button.entry.js +3 -3
- package/dist/esm/ez-split-item.entry.js +2 -2
- package/dist/esm/ez-split-panel.entry.js +15 -5
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +68 -6
- package/dist/esm/ez-text-input.entry.js +154 -17
- package/dist/esm/ez-time-input.entry.js +9 -2
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +51 -0
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +1 -1
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +3 -3
- package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +9 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
- package/dist/ezui/{p-5b205c80.entry.js → p-044d46d5.entry.js} +1 -1
- package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
- package/dist/ezui/p-16e21a40.entry.js +1 -0
- package/dist/ezui/p-18a2a28a.entry.js +1 -0
- package/dist/ezui/{p-8888d9ed.entry.js → p-1b08bf3c.entry.js} +1 -1
- package/dist/ezui/p-2f53435e.entry.js +1 -0
- package/dist/ezui/p-319d36b7.entry.js +1 -0
- package/dist/ezui/p-397e3026.entry.js +1 -0
- package/dist/ezui/p-3af64edd.entry.js +1 -0
- package/dist/ezui/p-3c10cd94.entry.js +1 -0
- package/dist/ezui/p-46a46507.entry.js +1 -0
- package/dist/ezui/p-554522db.entry.js +1 -0
- package/dist/ezui/p-5d01d189.entry.js +1 -0
- package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
- package/dist/ezui/p-6bda82d1.entry.js +1 -0
- package/dist/ezui/p-6d31c43c.entry.js +1 -0
- package/dist/ezui/p-6d8b3298.entry.js +1 -0
- package/dist/ezui/p-6ec40dec.entry.js +1 -0
- package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
- package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
- package/dist/ezui/p-7f5afb1f.entry.js +1 -0
- package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
- package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
- package/dist/ezui/p-854f8504.entry.js +1 -0
- package/dist/ezui/p-8c32bd97.entry.js +309 -0
- package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
- package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
- package/dist/ezui/p-a1c0eadf.entry.js +1 -0
- package/dist/ezui/{p-072e6347.entry.js → p-a563df31.entry.js} +1 -1
- package/dist/ezui/p-a921e3e7.entry.js +1 -0
- package/dist/ezui/p-aa543378.entry.js +1 -0
- package/dist/ezui/p-aee8d615.entry.js +1 -0
- package/dist/ezui/{p-17be134a.entry.js → p-b2f6bc0a.entry.js} +1 -1
- package/dist/ezui/p-b6241ea3.entry.js +1 -0
- package/dist/ezui/p-b858fc6e.entry.js +1 -0
- package/dist/ezui/{p-84e439b9.entry.js → p-bef7daac.entry.js} +1 -1
- package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
- package/dist/ezui/p-c7d1333c.entry.js +1 -0
- package/dist/ezui/p-cce6c015.entry.js +1 -0
- package/dist/ezui/p-ceadecd9.js +1 -0
- package/dist/ezui/p-dc628ed3.js +1 -0
- package/dist/ezui/p-def75121.entry.js +1 -0
- package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
- package/dist/ezui/p-e18d9e6a.entry.js +1 -0
- package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
- package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
- package/dist/ezui/{p-922ac38b.entry.js → p-e7395eae.entry.js} +1 -1
- package/dist/ezui/p-ec5f987d.entry.js +1 -0
- package/dist/ezui/p-efbe0b73.entry.js +1 -0
- package/dist/ezui/{p-650e4b6d.entry.js → p-f1c2c19e.entry.js} +1 -1
- package/dist/ezui/{p-baf80b13.entry.js → p-fad4f1dd.entry.js} +1 -1
- package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
- package/dist/types/components/ez-button/ez-button.d.ts +2 -1
- package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +16 -1
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +10 -1
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +10 -1
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -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 +10 -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/SearchInput.tpl.d.ts +1 -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 +56 -4
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +32 -4
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +23 -1
- 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 +33 -1
- package/dist/types/components/ez-modal/ez-modal.d.ts +7 -1
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +4 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +12 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +7 -0
- package/dist/types/components/ez-search/ez-search.d.ts +31 -4
- 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 +4 -0
- package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -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 +28 -2
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +8 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
- package/dist/types/components.d.ts +323 -14
- 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 +12 -4
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
- package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
- package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
- package/dist/esm/ez-skeleton.entry.js +0 -63
- package/dist/ezui/p-04f24913.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-30775e7f.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-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-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-8f0144f6.entry.js +0 -1
- package/dist/ezui/p-9050d2cd.entry.js +0 -1
- package/dist/ezui/p-9ab22a07.entry.js +0 -1
- package/dist/ezui/p-a31b9c90.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-bc2f844e.entry.js +0 -1
- package/dist/ezui/p-bcb53f27.entry.js +0 -1
- package/dist/ezui/p-bf79aaa1.entry.js +0 -1
- package/dist/ezui/p-d9401ea0.entry.js +0 -1
- package/dist/ezui/p-da8ae82b.entry.js +0 -304
- package/dist/ezui/p-e85c48d7.entry.js +0 -1
- package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
- package/dist/ezui/p-f3c526cc.entry.js +0 -1
- package/dist/ezui/p-fcf0acce.entry.js +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { TFocusOptions } from "../ez-text-input/ez-text-input";
|
|
2
3
|
export declare class EzFilterInput {
|
|
3
4
|
private _elem;
|
|
4
5
|
private _textInput;
|
|
@@ -47,13 +48,21 @@ export declare class EzFilterInput {
|
|
|
47
48
|
* Se false deixa de exibir a mensagem de erro dentro do campo.
|
|
48
49
|
*/
|
|
49
50
|
canShowError: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Se true o campo de texto receberá o foco ao ser renderizado.
|
|
53
|
+
*/
|
|
54
|
+
autoFocus: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Quando verdadeiro, o campo não terá espaçamento.
|
|
57
|
+
*/
|
|
58
|
+
noMargin: boolean;
|
|
50
59
|
observeLabel(): void;
|
|
51
60
|
observeErrorMessage(): void;
|
|
52
61
|
observeValue(newValue: string, oldValue: string): void;
|
|
53
62
|
/**
|
|
54
63
|
* Aplica o foco no campo.
|
|
55
64
|
*/
|
|
56
|
-
setFocus(): Promise<void>;
|
|
65
|
+
setFocus(options?: TFocusOptions): Promise<void>;
|
|
57
66
|
/**
|
|
58
67
|
* Remove o foco do campo.
|
|
59
68
|
*/
|
|
@@ -39,10 +39,16 @@ export declare class EzCustomFormInput {
|
|
|
39
39
|
* Retorna se o conteúdo é inválido.
|
|
40
40
|
*/
|
|
41
41
|
isInvalid(): Promise<boolean>;
|
|
42
|
+
watchValue(): void;
|
|
43
|
+
watchCustomEditor(): void;
|
|
44
|
+
watchFormViewField(newValue: IFormViewField | string, oldValue: IFormViewField): void;
|
|
45
|
+
watchDetailContext(): void;
|
|
46
|
+
watchBuilderFallback(): void;
|
|
47
|
+
watchSelectedRecord(newValue: Record | string, oldValue: Record): void;
|
|
42
48
|
private getContent;
|
|
43
49
|
private setValue;
|
|
44
50
|
private getValue;
|
|
45
51
|
private handleValue;
|
|
46
|
-
|
|
52
|
+
componentWillLoad(): void;
|
|
47
53
|
render(): any;
|
|
48
54
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
export declare const buildSearch: ({ name, label, readOnly, required, contextName, canShowError, optionLoader }: IFormViewField) => HTMLElement;
|
|
2
|
+
export declare const buildSearch: ({ name, label, readOnly, required, contextName, canShowError, optionLoader, props }: IFormViewField) => HTMLElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
export declare const buildTextInput: ({ name, label, readOnly, contextName, canShowError }: IFormViewField) => HTMLElement;
|
|
2
|
+
export declare const buildTextInput: ({ name, label, readOnly, contextName, canShowError, props }: IFormViewField) => HTMLElement;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DataUnit, Filter } from '@sankhyalabs/core';
|
|
2
2
|
import { Components } from '../../../components';
|
|
3
|
-
import
|
|
4
|
-
import { IRecordValidator } from '../../../utils/form/interfaces';
|
|
3
|
+
import { IInvalidField, IRecordValidator } from '../../../utils/form/interfaces';
|
|
5
4
|
import { ICustomEditorInfo } from '../../../utils/customEditor/interfaces/ICustomEditorInfo';
|
|
6
5
|
import { ICustomRenderInfo } from '../../../utils/customRender/interfaces/ICustomRenderInfo';
|
|
7
6
|
import { ICustomFormatter } from '../interfaces';
|
|
7
|
+
import FilterCollumn = Components.FilterColumn;
|
|
8
8
|
/**
|
|
9
9
|
* O intuito desta abstração, é isolar o componente EzGrid de uma implementação
|
|
10
10
|
* específica, permitindo que usemos componentes de terceiros sem um acoplamento
|
|
@@ -89,7 +89,19 @@ export default interface EzGridController {
|
|
|
89
89
|
/**
|
|
90
90
|
* Método responsável por atualizar as linhas da grade
|
|
91
91
|
*/
|
|
92
|
-
refresh(): void;
|
|
92
|
+
refresh(scrollToSelectedRow?: boolean): void;
|
|
93
|
+
/**
|
|
94
|
+
* Método responsável limpar celulas invalidas
|
|
95
|
+
*/
|
|
96
|
+
clearInvalidCells(stopEdition?: boolean): void;
|
|
97
|
+
/**
|
|
98
|
+
* Metodo responsável por lidar com o cancelamento da edição na grade
|
|
99
|
+
*/
|
|
100
|
+
processEditionCanceled(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Método responsável por lidar com edição contínua
|
|
103
|
+
*/
|
|
104
|
+
processContinuousInsert(): void;
|
|
93
105
|
/**
|
|
94
106
|
* Método responsável por atualizar as linhas selecionadas da grade
|
|
95
107
|
*/
|
|
@@ -107,9 +119,26 @@ export default interface EzGridController {
|
|
|
107
119
|
*/
|
|
108
120
|
setFocusFirstRow(): void;
|
|
109
121
|
/**
|
|
110
|
-
*
|
|
122
|
+
* Foca em uma linha específica, garante que ela está visível e inicia edição.
|
|
123
|
+
*/
|
|
124
|
+
startEditionOnRowByIndex(index: number): void;
|
|
125
|
+
/**
|
|
126
|
+
* Foca na última linha, garante que ela está visível e inicia edição.
|
|
127
|
+
*/
|
|
128
|
+
startEditionOnLastRow(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Define se a grade será focada automaticamente.
|
|
111
131
|
*/
|
|
112
132
|
setAutoFocus(autoFocus: boolean): void;
|
|
133
|
+
/**
|
|
134
|
+
* Ativa inserção de registros no modo grade.
|
|
135
|
+
*/
|
|
136
|
+
setEnableGridInsert(enable: boolean): void;
|
|
137
|
+
/**
|
|
138
|
+
* Ativa/desativa a inserção continua na grade
|
|
139
|
+
* Só funciona quando a prop enableGridInsert está ativa
|
|
140
|
+
*/
|
|
141
|
+
setEnableContinuousInsert(enable: boolean): void;
|
|
113
142
|
/**
|
|
114
143
|
* Método responsável por retornar a configuração da grade.
|
|
115
144
|
*/
|
|
@@ -132,6 +161,19 @@ export default interface EzGridController {
|
|
|
132
161
|
clearFilter(): void;
|
|
133
162
|
setCustomFormatters(customFormatters: Map<string, ICustomFormatter>): void;
|
|
134
163
|
setFocus(): void;
|
|
164
|
+
savingCanceled(fields: Array<IInvalidField>, recordId: string): void;
|
|
165
|
+
destroy(): void;
|
|
166
|
+
registryListeners(): void;
|
|
167
|
+
resetPaginationState(): void;
|
|
168
|
+
stopEdit(): void;
|
|
169
|
+
/**
|
|
170
|
+
Remove coluna de seleção por checkbox
|
|
171
|
+
*/
|
|
172
|
+
hideSelectionColumn(): void;
|
|
173
|
+
/**
|
|
174
|
+
Mostra coluna de seleção por checkbox
|
|
175
|
+
*/
|
|
176
|
+
showSelectionColumn(): void;
|
|
135
177
|
}
|
|
136
178
|
/**
|
|
137
179
|
* Carrega as informações necessárias para contextualizar corretamente a instância.
|
|
@@ -206,6 +248,16 @@ export interface EzGridOptions {
|
|
|
206
248
|
* Define se a grid será focada ao ser carregada.
|
|
207
249
|
*/
|
|
208
250
|
autoFocus: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Ativa inserção de registros no modo grade.
|
|
253
|
+
*/
|
|
254
|
+
enableGridInsert?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Ativa/desativa a inserção continua na grade
|
|
257
|
+
* Só funciona quando a prop enableGridInsert está ativa
|
|
258
|
+
*/
|
|
259
|
+
enableContinuousInsert?: boolean;
|
|
260
|
+
enableLockManger?: boolean;
|
|
209
261
|
}
|
|
210
262
|
/**
|
|
211
263
|
* Representa cada coluna da grade.
|
|
@@ -4,6 +4,7 @@ import EzGridController, { EzGridColumn, EzGridColumnConfig, EzGridColumnMenuIte
|
|
|
4
4
|
import { ICustomEditorInfo } from '../../../../utils/customEditor/interfaces/ICustomEditorInfo';
|
|
5
5
|
import { ICustomRenderInfo } from '../../../../utils/customRender/interfaces/ICustomRenderInfo';
|
|
6
6
|
import { ICustomFormatter } from '../../interfaces';
|
|
7
|
+
import { IInvalidField } from '../../../../utils/form/interfaces';
|
|
7
8
|
export default class AgGridController implements EzGridController, SortingProvider, FilterProvider {
|
|
8
9
|
private readonly DEFAULT_ROW_HEIGHT;
|
|
9
10
|
private readonly DEFAULT_HEADER_ROW_HEIGHT;
|
|
@@ -17,7 +18,6 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
17
18
|
private _columnStateChangeCallback;
|
|
18
19
|
private _selectionChangeCallback;
|
|
19
20
|
private _doubleClickCallBack;
|
|
20
|
-
private _enterprise;
|
|
21
21
|
private _menuItems;
|
|
22
22
|
private _multipleSelection;
|
|
23
23
|
private _dataUnit;
|
|
@@ -36,11 +36,14 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
36
36
|
private _customFormatters;
|
|
37
37
|
private _container;
|
|
38
38
|
private _options;
|
|
39
|
+
private observer;
|
|
40
|
+
private _gridShowDom;
|
|
41
|
+
private peddingExecutionsOnGridShow;
|
|
39
42
|
configFilterColumn(filterColumn: HTMLFilterColumnElement): void;
|
|
40
43
|
private handleFilteredColumnsChanged;
|
|
41
44
|
clearFilter(): void;
|
|
42
45
|
private showFilterColumn;
|
|
43
|
-
constructor(
|
|
46
|
+
constructor(_enterprise: boolean);
|
|
44
47
|
getGridConfig(): Array<EzGridColumnConfig>;
|
|
45
48
|
locateColumn(columnName: string): void;
|
|
46
49
|
getSort(_dataUnitName: string, defaultSorting: Array<Sort>): Array<Sort>;
|
|
@@ -64,19 +67,33 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
64
67
|
private updateSelectionForAll;
|
|
65
68
|
setData(data: Array<any>): void;
|
|
66
69
|
addRows(): void;
|
|
67
|
-
updateRows(): void;
|
|
70
|
+
updateRows(rows?: Array<any>): void;
|
|
71
|
+
private updateRowData;
|
|
68
72
|
selectAll(quietly?: boolean): void;
|
|
69
73
|
selectRows(rowIds: Array<string>, quietly?: boolean): void;
|
|
70
74
|
removeRows(): void;
|
|
71
75
|
changeValues(changes: any, rowIds?: Array<string>): void;
|
|
72
|
-
|
|
76
|
+
savingCanceled(fields: Array<IInvalidField>, recordId: string): void;
|
|
77
|
+
refresh(scrollToSelectedRow?: boolean): void;
|
|
78
|
+
private scrollToSelectedRow;
|
|
73
79
|
private focusOnGridContainer;
|
|
74
80
|
setFocus(): void;
|
|
75
81
|
setAutoFocus(autoFocus: boolean): void;
|
|
82
|
+
setEnableGridInsert(enable: boolean): void;
|
|
83
|
+
setEnableContinuousInsert(enable: boolean): void;
|
|
76
84
|
setFocusFirstRow(): void;
|
|
77
85
|
setFocusLastRow(): void;
|
|
86
|
+
startEditionOnRowByIndex(rowIndex: number): void;
|
|
87
|
+
startEditionOnLastRow(): void;
|
|
88
|
+
private syncSelectWithDataUnit;
|
|
89
|
+
private startEdition;
|
|
90
|
+
private getFirstEditableColl;
|
|
91
|
+
private isColumnEditable;
|
|
78
92
|
private setFocusOnRow;
|
|
93
|
+
private focusByCollAndRow;
|
|
79
94
|
setColumnsDef(cols: Array<EzGridColumn>): void;
|
|
95
|
+
hideSelectionColumn(): void;
|
|
96
|
+
showSelectionColumn(): void;
|
|
80
97
|
getColumnsDef(): Array<EzGridColumn>;
|
|
81
98
|
setColumnsState(state: Array<EzGridColumnConfig>): void;
|
|
82
99
|
private getAdaptiveWidth;
|
|
@@ -97,8 +114,19 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
97
114
|
private isElementResize;
|
|
98
115
|
private isUIEvent;
|
|
99
116
|
private onSelectionChange;
|
|
117
|
+
private handleExecuteProceedAutosave;
|
|
118
|
+
private processBuildSelectionChangeCallback;
|
|
119
|
+
private handleBuildSelectionChangeWithDU;
|
|
120
|
+
private buildSelectionChangeCallback;
|
|
100
121
|
private onRowDoubleClick;
|
|
101
122
|
private conditionalSet;
|
|
123
|
+
processEditionCanceled(): void;
|
|
102
124
|
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
103
125
|
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
126
|
+
clearInvalidCells(stopEdition?: boolean): void;
|
|
127
|
+
processContinuousInsert(): void;
|
|
128
|
+
destroy(): void;
|
|
129
|
+
registryListeners(): void;
|
|
130
|
+
resetPaginationState(): void;
|
|
131
|
+
stopEdit(): void;
|
|
104
132
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IServerSideDatasource, IServerSideGetRowsParams } from "ag-grid-community";
|
|
1
|
+
import { IServerSideDatasource, IServerSideGetRowsParams } from "@ag-grid-community/core";
|
|
2
2
|
import { DataUnit, QuickFilter } from '@sankhyalabs/core';
|
|
3
3
|
import EzGridController, { EzGridColumn, EzGridOptions } from "../EzGridController";
|
|
4
4
|
export default class DataSource implements IServerSideDatasource {
|
|
@@ -10,15 +10,37 @@ export default class DataSource implements IServerSideDatasource {
|
|
|
10
10
|
quickFilter: QuickFilter;
|
|
11
11
|
readonly RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
|
|
12
12
|
private duObserver;
|
|
13
|
+
private handleDataSaved;
|
|
14
|
+
private handleEditionCanceled;
|
|
15
|
+
private handleSavingCanceled;
|
|
16
|
+
private handleDataChanged;
|
|
17
|
+
private createRecordIdList;
|
|
18
|
+
/**
|
|
19
|
+
* Nesse ponto, o registro já se encontra atualizado no DU,
|
|
20
|
+
* basta então passar seu valor para que a garde possa atualizar sua linha.
|
|
21
|
+
*/
|
|
22
|
+
private updateGridRowNodes;
|
|
23
|
+
private getRecordById;
|
|
24
|
+
/**
|
|
25
|
+
* Em caso de necessidade de reload (isWaitingToReload), eh preciso chamar o dataUnit.gotoPage, pois ele aplica tambem a ordenacao dos registros,
|
|
26
|
+
* enquanto que o _controller.refresh apenas recarrega os dados na ordem que atua.
|
|
27
|
+
*/
|
|
28
|
+
private handleRefreshOrReload;
|
|
29
|
+
private handleReload;
|
|
30
|
+
private handleRefresh;
|
|
31
|
+
private handleRecordsAdded;
|
|
32
|
+
private focusOnNewRecord;
|
|
13
33
|
private updateLoadedRecords;
|
|
14
34
|
private handleFocusFirstRow;
|
|
15
35
|
private isSilentChange;
|
|
16
36
|
constructor(dataUnit: DataUnit, controller: EzGridController, options: EzGridOptions);
|
|
17
37
|
private updateSelection;
|
|
18
38
|
setAutoFocus(autoFocus: boolean): void;
|
|
39
|
+
setEnableGridInsert(enable: boolean): void;
|
|
19
40
|
getRows(params: IServerSideGetRowsParams): void;
|
|
20
41
|
needReload(currentLoading: IServerSideGetRowsParams): boolean;
|
|
21
42
|
private callbackGetRows;
|
|
22
43
|
destroy(): void;
|
|
44
|
+
registryListeners(): void;
|
|
23
45
|
buildColumnDefs(): Array<EzGridColumn>;
|
|
24
46
|
}
|
|
@@ -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;
|
|
@@ -13,7 +13,6 @@ export declare class EzGrid {
|
|
|
13
13
|
private _gridSelectionCounter;
|
|
14
14
|
private _resizeObserver;
|
|
15
15
|
private _messageFilterAppliedSuccess;
|
|
16
|
-
private _gridApi;
|
|
17
16
|
private _filterColumn;
|
|
18
17
|
private _refPaginationLabel;
|
|
19
18
|
private _refPaginationLabelTooltip;
|
|
@@ -94,6 +93,29 @@ export declare class EzGrid {
|
|
|
94
93
|
* Define se a grid será focada ao ser carregada.
|
|
95
94
|
*/
|
|
96
95
|
autoFocus?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Define se a grid será focada ao ser carregada.
|
|
98
|
+
*/
|
|
99
|
+
paginationCounterMode?: 'show' | 'hidden' | 'auto';
|
|
100
|
+
/**
|
|
101
|
+
* Ativa inserção de registros no modo grade.
|
|
102
|
+
*/
|
|
103
|
+
enableGridInsert?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Ativa/desativa a inserção continua na grade
|
|
106
|
+
* Só funciona quando a prop enableGridInsert está ativa
|
|
107
|
+
*/
|
|
108
|
+
enableContinuousInsert?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Ativa inserção de registros no modo grade.
|
|
111
|
+
*/
|
|
112
|
+
enableLockManger?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Altera visualmente as sombras e bordas do componente
|
|
115
|
+
* Quando true, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout)
|
|
116
|
+
* Quando false, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
|
117
|
+
*/
|
|
118
|
+
boxShadow?: boolean;
|
|
97
119
|
/**
|
|
98
120
|
* Aplica a definição de colunas.
|
|
99
121
|
*/
|
|
@@ -162,9 +184,16 @@ export declare class EzGrid {
|
|
|
162
184
|
* Atribui o foco para a grade.
|
|
163
185
|
*/
|
|
164
186
|
setFocus(): Promise<void>;
|
|
187
|
+
/**
|
|
188
|
+
* Para a edição da grade.
|
|
189
|
+
*/
|
|
190
|
+
stopEdit(): Promise<void>;
|
|
191
|
+
checkStopEditOutsideClick(event: MouseEvent): Promise<void>;
|
|
165
192
|
observeConfig(config: IGridConfig): void;
|
|
166
193
|
updatePaginationTooltip(): void;
|
|
194
|
+
observePaginationCounterMode(newValue: any): void;
|
|
167
195
|
onSelectionChange(evt: CustomEvent): void;
|
|
196
|
+
handleClick(event: MouseEvent): Promise<void>;
|
|
168
197
|
private setSelection;
|
|
169
198
|
private onSelectAllRecords;
|
|
170
199
|
private onSelectPageRecords;
|
|
@@ -180,6 +209,7 @@ export declare class EzGrid {
|
|
|
180
209
|
private previousPage;
|
|
181
210
|
private nextPage;
|
|
182
211
|
private resetPaginationState;
|
|
212
|
+
private resolvePaginationClassMode;
|
|
183
213
|
private getPaginationControl;
|
|
184
214
|
componentDidLoad(): void;
|
|
185
215
|
private handlePaginationChange;
|
|
@@ -192,11 +222,13 @@ export declare class EzGrid {
|
|
|
192
222
|
private _hidePaginationDescription;
|
|
193
223
|
private _showPaginationDescription;
|
|
194
224
|
disconnectedCallback(): void;
|
|
225
|
+
connectedCallback(): void;
|
|
195
226
|
componentWillRender(): void;
|
|
196
227
|
componentDidRender(): void;
|
|
197
228
|
componentWillLoad(): void;
|
|
198
229
|
componentDidUpdate(): void;
|
|
199
230
|
private getDataSource;
|
|
200
231
|
private hideHeader;
|
|
232
|
+
private resolveLeftHeaderClass;
|
|
201
233
|
render(): any;
|
|
202
234
|
}
|
|
@@ -31,10 +31,14 @@ export declare class EzModal {
|
|
|
31
31
|
* Define se o modal será fechado ao clicar fora do conteúdo.
|
|
32
32
|
*/
|
|
33
33
|
closeOutsideClick: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Define se o modal será fechado se o mouse sair para fora do conteúdo.
|
|
36
|
+
*/
|
|
37
|
+
closeOutsideLeave?: boolean;
|
|
34
38
|
/**
|
|
35
39
|
* Define o tipo de scrim a ser aplicado no overlay do modal
|
|
36
40
|
*/
|
|
37
|
-
scrim: "medium" | "light";
|
|
41
|
+
scrim: "medium" | "light" | "none";
|
|
38
42
|
private _element;
|
|
39
43
|
/**
|
|
40
44
|
* Emitido quando o modal é fechado.
|
|
@@ -56,6 +60,8 @@ export declare class EzModal {
|
|
|
56
60
|
closeModal(): void;
|
|
57
61
|
componentDidLoad(): void;
|
|
58
62
|
componentDidRender(): void;
|
|
63
|
+
private modalFocus;
|
|
59
64
|
onMouseDownHandler(event: any): void;
|
|
65
|
+
onMouseLeaveHandler(): void;
|
|
60
66
|
render(): any;
|
|
61
67
|
}
|
|
@@ -32,6 +32,10 @@ export declare class EzModalContainer {
|
|
|
32
32
|
* Define o estado do botão de confirmação.
|
|
33
33
|
*/
|
|
34
34
|
okButtonStatus: "HIDDEN" | "ENABLED" | "DISABLED";
|
|
35
|
+
/**
|
|
36
|
+
* Define a visibilidade do botão de fechar.
|
|
37
|
+
*/
|
|
38
|
+
showCloseButton?: boolean;
|
|
35
39
|
/**
|
|
36
40
|
* Representa a interação com o usuário.
|
|
37
41
|
* OK - Quando o botão é acionado
|
|
@@ -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,14 @@ 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;
|
|
64
|
+
/**
|
|
65
|
+
* Quando verdadeiro, o campo não terá espaçamento externo.
|
|
66
|
+
*/
|
|
67
|
+
noMargin: boolean;
|
|
56
68
|
/**
|
|
57
69
|
* Aplica o foco no campo.
|
|
58
70
|
*/
|
|
@@ -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
|
}
|