@sankhyalabs/ezui 5.22.0-dev.1 → 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-chart.cjs.entry.js +2 -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 +28 -21
- package/dist/cjs/ez-form.cjs.entry.js +6 -321
- package/dist/cjs/ez-grid.cjs.entry.js +15069 -69838
- 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 +3 -2
- package/dist/cjs/ez-modal.cjs.entry.js +19 -4
- 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 +121 -187
- 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-tabselector.cjs.entry.js +8 -2
- 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-chart/ez-chart.js +2 -0
- 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 +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 +297 -67
- 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 -0
- 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 +377 -11
- 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 +38 -5
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
- 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 +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 +221 -199
- 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-tabselector/ez-tabselector.js +34 -2
- 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 +28 -9
- 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 +18717 -70960
- 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-chart.entry.js +2 -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 +28 -21
- package/dist/esm/ez-form.entry.js +5 -320
- package/dist/esm/ez-grid.entry.js +14990 -69759
- 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 +3 -2
- package/dist/esm/ez-modal.entry.js +19 -4
- 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 +122 -188
- 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-tabselector.entry.js +8 -2
- 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-ffef392d.entry.js → p-5b205c80.entry.js} +1 -1
- 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-c0d9c4f8.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/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 +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 +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 +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 +34 -16
- 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-tabselector/ez-tabselector.d.ts +2 -1
- 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 +810 -21
- 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 +5 -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-12ae1104.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-2dcb50d4.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-5056284a.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-816cece6.entry.js +0 -304
- 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-9ab22a07.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-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-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-f3c526cc.entry.js +0 -1
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/* list */
|
|
3
|
+
/*@doc Define a cor do texto da lista de opções.*/
|
|
4
|
+
--ez-search__list-title--primary: var(--title--primary, #2B3A54);
|
|
5
|
+
/*@doc Define a cor do texto do value da lista de opções.*/
|
|
6
|
+
--ez-search__list-text--primary: var(--text--primary, #626e82);
|
|
7
|
+
/*@doc Define a altura do box da lista de opções.*/
|
|
8
|
+
--ez-search__list-height: calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);
|
|
9
|
+
/*@doc Define a largura mínima da lista de opções.*/
|
|
10
|
+
--ez-search__list-min-width: 64px;
|
|
11
|
+
|
|
12
|
+
/* scrollbar */
|
|
13
|
+
/*@doc Define a cor da barra de rolagem do componente.*/
|
|
14
|
+
--ez-search__scrollbar--color-default: var(--scrollbar--default, #626e82);
|
|
15
|
+
/*@doc Define a cor de fundo da barra de rolagem do componente.*/
|
|
16
|
+
--ez-search__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
|
|
17
|
+
/*@doc Define a cor do hover na barra de rolagem do componente.*/
|
|
18
|
+
--ez-search__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
|
|
19
|
+
/*@doc Define a cor do active na barra de rolagem do componente.*/
|
|
20
|
+
--ez-search__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
|
|
21
|
+
/*@doc Define o raio da borda da barra de rolagem do componente.*/
|
|
22
|
+
--ez-search__scrollbar--border-radius: var(--border--radius-small, 6px);
|
|
23
|
+
/*@doc Define a largura da barra de rolagem do componente.*/
|
|
24
|
+
--ez-search__scrollbar--width: var(--space--small, 6px);
|
|
25
|
+
|
|
26
|
+
/* general */
|
|
27
|
+
/*@doc Define o raio da borda do input quando pequeno.*/
|
|
28
|
+
--ez-search--border-radius-small: var(--border--radius-small, 6px);
|
|
29
|
+
/*@doc Define o tamanho da fonte dentro do input.*/
|
|
30
|
+
--ez-search--font-size: var(--text--medium, 14px);
|
|
31
|
+
/*@doc Define a família da fonte dentro do input.*/
|
|
32
|
+
--ez-search--font-family: var(--font-pattern, Arial);
|
|
33
|
+
/*@doc Define o peso da fonte dentro do input quando pesada.*/
|
|
34
|
+
--ez-search--font-weight--large: var(--text-weight--large, 500);
|
|
35
|
+
/*@doc Define o peso da fonte dentro do input quando média.*/
|
|
36
|
+
--ez-search--font-weight--medium: var(--text-weight--medium, 400);
|
|
37
|
+
/*@doc Define a cor de fundo dos itens da lista de opções.*/
|
|
38
|
+
--ez-search--background-medium: var(--background--medium, #f0f3f7);
|
|
39
|
+
/*@doc Define a altura da linha do texto dentro do input.*/
|
|
40
|
+
--ez-search--line-height: calc(var(--text--medium, 14px) + 4px);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.list-options {
|
|
44
|
+
position: relative;
|
|
45
|
+
z-index: var(--more-visible, 2);
|
|
46
|
+
margin: var(--space--small) 0px;
|
|
47
|
+
padding: 0px;
|
|
48
|
+
padding-inline-start: 0px;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
max-height: 350px;
|
|
53
|
+
min-width: 150px;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
scroll-behavior: smooth;
|
|
57
|
+
overflow-y: auto;
|
|
58
|
+
overflow-x: hidden;
|
|
59
|
+
scrollbar-width: thin;
|
|
60
|
+
|
|
61
|
+
/*public*/
|
|
62
|
+
scrollbar-color: var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background);
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.list-options::-webkit-scrollbar {
|
|
67
|
+
/*public*/
|
|
68
|
+
background-color: var(--scrollbar--background);
|
|
69
|
+
width: var(--space--small);
|
|
70
|
+
max-width: var(--space--small);
|
|
71
|
+
min-width: var(--space--small);
|
|
72
|
+
height: var(--space--small);
|
|
73
|
+
max-height: var(--space--small);
|
|
74
|
+
min-height: var(--space--small);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.list-options::-webkit-scrollbar-track {
|
|
78
|
+
/*public*/
|
|
79
|
+
background-color: var(--ez-search__scrollbar--color-background);
|
|
80
|
+
border-radius: var(--ez-search__scrollbar--border-radius);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.list-options::-webkit-scrollbar-thumb {
|
|
84
|
+
/*public*/
|
|
85
|
+
background-color: var(--ez-search__scrollbar--color-default);
|
|
86
|
+
border-radius: var(--ez-search__scrollbar--border-radius);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.list-options::-webkit-scrollbar-thumb:vertical:hover,
|
|
90
|
+
.list-options::-webkit-scrollbar-thumb:horizontal:hover {
|
|
91
|
+
/*public*/
|
|
92
|
+
background-color: var(--ez-search__scrollbar--color-hover);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.list-options::-webkit-scrollbar-thumb:vertical:active,
|
|
96
|
+
.list-options::-webkit-scrollbar-thumb:horizontal:active {
|
|
97
|
+
/*public*/
|
|
98
|
+
background-color: var(--ez-search__scrollbar--color-clicked);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.message {
|
|
102
|
+
text-align: center;
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
align-items: center;
|
|
106
|
+
list-style-type: none;
|
|
107
|
+
margin: var(--space--medium) 0px;
|
|
108
|
+
|
|
109
|
+
/*public*/
|
|
110
|
+
min-height: var(--ez-search__list-height);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.message__no-result {
|
|
114
|
+
/*public*/
|
|
115
|
+
color: var(--ez-search__list-title--primary);
|
|
116
|
+
font-family: var(--ez-search--font-family);
|
|
117
|
+
font-size: var(--ez-search--font-size);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.message__loading {
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
width: 14px;
|
|
123
|
+
height: 14px;
|
|
124
|
+
-webkit-animation: spin 1s linear infinite;
|
|
125
|
+
animation: spin 1s linear infinite;
|
|
126
|
+
|
|
127
|
+
/*public*/
|
|
128
|
+
border: 3px solid var(--ez-search__list-title--primary);
|
|
129
|
+
border-top: 3px solid transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.item__value,
|
|
133
|
+
.item__label {
|
|
134
|
+
flex-basis: auto;
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
|
|
139
|
+
/*public*/
|
|
140
|
+
color: var(--ez-search__list-title--primary);
|
|
141
|
+
font-family: var(--ez-search--font-family);
|
|
142
|
+
font-size: var(--ez-search--font-size);
|
|
143
|
+
line-height: var(--ez-search--line-height);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.item__label {
|
|
147
|
+
/*public*/
|
|
148
|
+
font-weight: var(--ez-search--font-weight--medium);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.item__label--bold {
|
|
152
|
+
/*public*/
|
|
153
|
+
font-weight: var(--ez-search--font-weight--large);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.item__value {
|
|
157
|
+
text-align: center;
|
|
158
|
+
|
|
159
|
+
/*public*/
|
|
160
|
+
color: var(--ez-search__list-text--primary);
|
|
161
|
+
font-weight: var(--ez-search--font-weight--large);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.item__value--hidden {
|
|
165
|
+
visibility: hidden;
|
|
166
|
+
position: absolute;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
z-index: -1;
|
|
169
|
+
top: 0;
|
|
170
|
+
left: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.item__label {
|
|
174
|
+
text-align: left;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.item__list>li:hover {
|
|
178
|
+
/*public*/
|
|
179
|
+
background-color: var(--ez-search--background-medium);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.item {
|
|
183
|
+
display: flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
width: 100%;
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
list-style-type: none;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
|
|
190
|
+
/*public*/
|
|
191
|
+
border-radius: var(--ez-search--border-radius-small);
|
|
192
|
+
gap: var(--space--small, 6px);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.preselected {
|
|
196
|
+
/*public*/
|
|
197
|
+
background-color: var(--background--medium);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@-webkit-keyframes spin {
|
|
201
|
+
0% {
|
|
202
|
+
-webkit-transform: rotate(0deg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
100% {
|
|
206
|
+
-webkit-transform: rotate(360deg);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@keyframes spin {
|
|
211
|
+
0% {
|
|
212
|
+
transform: rotate(0deg);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
100% {
|
|
216
|
+
transform: rotate(360deg);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@supports not (scrollbar-width: thin) {
|
|
221
|
+
|
|
222
|
+
/* Estilos para navegadores que NÃO suportam scrollbar-width */
|
|
223
|
+
.item {
|
|
224
|
+
/* Estilos alternativos, por exemplo, para navegadores que não suportam scrollbar-width */
|
|
225
|
+
padding-right: 8px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
import { StringUtils } from '@sankhyalabs/core';
|
|
3
|
+
import { replaceHighlight, replaceQuotes } from '../../utils/searchFormatters';
|
|
4
|
+
export class SearchList {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._startHighlightTag = "<span class='card-item__highlight'>";
|
|
7
|
+
this._endHighlightTag = "</span>";
|
|
8
|
+
this.showLoading = undefined;
|
|
9
|
+
this.visibleOptions = [];
|
|
10
|
+
this.textEmptyList = undefined;
|
|
11
|
+
this.canShowListOptions = undefined;
|
|
12
|
+
this.value = undefined;
|
|
13
|
+
this.showOptionValue = true;
|
|
14
|
+
this.preSelection = undefined;
|
|
15
|
+
}
|
|
16
|
+
async nextOption() {
|
|
17
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
|
|
18
|
+
this.changePreSelection.emit(newPreSelection);
|
|
19
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
20
|
+
}
|
|
21
|
+
async previousOption() {
|
|
22
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
|
|
23
|
+
this.changePreSelection.emit(newPreSelection);
|
|
24
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
25
|
+
}
|
|
26
|
+
selectOption(newOption) {
|
|
27
|
+
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
|
|
28
|
+
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
|
|
29
|
+
this.changeValue.emit(newOptionsFormatted);
|
|
30
|
+
}
|
|
31
|
+
createOption(detail) {
|
|
32
|
+
let { key, title } = detail;
|
|
33
|
+
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
34
|
+
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
35
|
+
title = StringUtils.decodeHtmlEntities(title);
|
|
36
|
+
const option = {
|
|
37
|
+
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
38
|
+
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
39
|
+
};
|
|
40
|
+
this.selectOption(option);
|
|
41
|
+
}
|
|
42
|
+
scrollToOption(opt) {
|
|
43
|
+
window.requestAnimationFrame(() => {
|
|
44
|
+
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
|
|
45
|
+
? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
46
|
+
: undefined;
|
|
47
|
+
if (liElem) {
|
|
48
|
+
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
buildItem(opt, index) {
|
|
53
|
+
opt.label = opt.label || opt.value;
|
|
54
|
+
const card = {
|
|
55
|
+
key: opt.value,
|
|
56
|
+
title: opt.label,
|
|
57
|
+
details: opt.details
|
|
58
|
+
};
|
|
59
|
+
return h("div", { style: { "height": "100%" }, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this.changePreSelection.emit(index) }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
|
|
63
|
+
&& this.visibleOptions.length === 0
|
|
64
|
+
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
|
|
65
|
+
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
|
|
66
|
+
}
|
|
67
|
+
static get is() { return "search-list"; }
|
|
68
|
+
static get encapsulation() { return "shadow"; }
|
|
69
|
+
static get originalStyleUrls() {
|
|
70
|
+
return {
|
|
71
|
+
"$": ["search-list.css"]
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
static get styleUrls() {
|
|
75
|
+
return {
|
|
76
|
+
"$": ["search-list.css"]
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static get properties() {
|
|
80
|
+
return {
|
|
81
|
+
"showLoading": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "boolean",
|
|
86
|
+
"resolved": "boolean",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": ""
|
|
94
|
+
},
|
|
95
|
+
"attribute": "show-loading",
|
|
96
|
+
"reflect": false
|
|
97
|
+
},
|
|
98
|
+
"visibleOptions": {
|
|
99
|
+
"type": "unknown",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "Array<IOption>",
|
|
103
|
+
"resolved": "IOption[]",
|
|
104
|
+
"references": {
|
|
105
|
+
"Array": {
|
|
106
|
+
"location": "global"
|
|
107
|
+
},
|
|
108
|
+
"IOption": {
|
|
109
|
+
"location": "import",
|
|
110
|
+
"path": "../../ez-search"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": ""
|
|
119
|
+
},
|
|
120
|
+
"defaultValue": "[]"
|
|
121
|
+
},
|
|
122
|
+
"textEmptyList": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "string",
|
|
127
|
+
"resolved": "string",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": ""
|
|
135
|
+
},
|
|
136
|
+
"attribute": "text-empty-list",
|
|
137
|
+
"reflect": false
|
|
138
|
+
},
|
|
139
|
+
"canShowListOptions": {
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "boolean",
|
|
144
|
+
"resolved": "boolean",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": ""
|
|
152
|
+
},
|
|
153
|
+
"attribute": "can-show-list-options",
|
|
154
|
+
"reflect": false
|
|
155
|
+
},
|
|
156
|
+
"value": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"mutable": false,
|
|
159
|
+
"complexType": {
|
|
160
|
+
"original": "IOption | string",
|
|
161
|
+
"resolved": "IOption | string",
|
|
162
|
+
"references": {
|
|
163
|
+
"IOption": {
|
|
164
|
+
"location": "import",
|
|
165
|
+
"path": "../../ez-search"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": false,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": ""
|
|
174
|
+
},
|
|
175
|
+
"attribute": "value",
|
|
176
|
+
"reflect": false
|
|
177
|
+
},
|
|
178
|
+
"showOptionValue": {
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "boolean",
|
|
183
|
+
"resolved": "boolean",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"optional": false,
|
|
188
|
+
"docs": {
|
|
189
|
+
"tags": [],
|
|
190
|
+
"text": ""
|
|
191
|
+
},
|
|
192
|
+
"attribute": "show-option-value",
|
|
193
|
+
"reflect": false,
|
|
194
|
+
"defaultValue": "true"
|
|
195
|
+
},
|
|
196
|
+
"preSelection": {
|
|
197
|
+
"type": "number",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "number",
|
|
201
|
+
"resolved": "number",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [],
|
|
208
|
+
"text": ""
|
|
209
|
+
},
|
|
210
|
+
"attribute": "pre-selection",
|
|
211
|
+
"reflect": false
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
static get events() {
|
|
216
|
+
return [{
|
|
217
|
+
"method": "changeValue",
|
|
218
|
+
"name": "changeValue",
|
|
219
|
+
"bubbles": true,
|
|
220
|
+
"cancelable": true,
|
|
221
|
+
"composed": true,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": ""
|
|
225
|
+
},
|
|
226
|
+
"complexType": {
|
|
227
|
+
"original": "IOption",
|
|
228
|
+
"resolved": "IOption",
|
|
229
|
+
"references": {
|
|
230
|
+
"IOption": {
|
|
231
|
+
"location": "import",
|
|
232
|
+
"path": "../../ez-search"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}, {
|
|
237
|
+
"method": "changePreSelection",
|
|
238
|
+
"name": "changePreSelection",
|
|
239
|
+
"bubbles": true,
|
|
240
|
+
"cancelable": true,
|
|
241
|
+
"composed": true,
|
|
242
|
+
"docs": {
|
|
243
|
+
"tags": [],
|
|
244
|
+
"text": ""
|
|
245
|
+
},
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "number",
|
|
248
|
+
"resolved": "number",
|
|
249
|
+
"references": {}
|
|
250
|
+
}
|
|
251
|
+
}];
|
|
252
|
+
}
|
|
253
|
+
static get methods() {
|
|
254
|
+
return {
|
|
255
|
+
"nextOption": {
|
|
256
|
+
"complexType": {
|
|
257
|
+
"signature": "() => Promise<void>",
|
|
258
|
+
"parameters": [],
|
|
259
|
+
"references": {
|
|
260
|
+
"Promise": {
|
|
261
|
+
"location": "global"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"return": "Promise<void>"
|
|
265
|
+
},
|
|
266
|
+
"docs": {
|
|
267
|
+
"text": "",
|
|
268
|
+
"tags": []
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"previousOption": {
|
|
272
|
+
"complexType": {
|
|
273
|
+
"signature": "() => Promise<void>",
|
|
274
|
+
"parameters": [],
|
|
275
|
+
"references": {
|
|
276
|
+
"Promise": {
|
|
277
|
+
"location": "global"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"return": "Promise<void>"
|
|
281
|
+
},
|
|
282
|
+
"docs": {
|
|
283
|
+
"text": "",
|
|
284
|
+
"tags": []
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const START_HIGH_LIGHT_TAG = "<span class='card-item__highlight'>";
|
|
2
|
+
const END_HIGH_LIGHT_TAG = "</span>";
|
|
3
|
+
export function replaceHighlight(value) {
|
|
4
|
+
const startHighlight = new RegExp(START_HIGH_LIGHT_TAG, 'g');
|
|
5
|
+
const endHighlight = new RegExp(END_HIGH_LIGHT_TAG, 'g');
|
|
6
|
+
const newValue = String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
|
|
7
|
+
return replaceQuotes(newValue);
|
|
8
|
+
}
|
|
9
|
+
export function replaceQuotes(text) {
|
|
10
|
+
if (text == undefined) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return String(text)
|
|
14
|
+
.replace(/&/g, '&')
|
|
15
|
+
.replace(/</g, '<')
|
|
16
|
+
.replace(/>/g, '>')
|
|
17
|
+
.replace(/"/g, '"');
|
|
18
|
+
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
--ez-sidebar-button--hover--width: 12px;
|
|
9
9
|
/*@doc Define a altura do span do botão.*/
|
|
10
10
|
--ez-sidebar-button--height: 96px;
|
|
11
|
+
/*@doc Define a camada em que o componente será exibido.*/
|
|
12
|
+
--ez-sidebar-navigator-button--z-index: var(--elevation--20, 20);
|
|
11
13
|
|
|
12
14
|
/* cor */
|
|
13
15
|
/*@doc Define a cor de fundo do botão.*/
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
button {
|
|
40
|
+
z-index: var(--ez-sidebar-navigator-button--z-index);
|
|
38
41
|
position: absolute;
|
|
39
42
|
display: flex;
|
|
40
43
|
background: var(--ez-sidebar-button--background-color--xlight);
|
|
@@ -11,7 +11,7 @@ export class EzSidebarButton {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null), h("ez-icon", { iconName: "chevron-right" })));
|
|
14
|
+
return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null), h("ez-icon", { iconName: "chevron-right", size: "small" })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "ez-sidebar-button"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
--ez-sidebar-navigator--border-radius: 0px var(--border--radius-medium) var(--border--radius-medium) 0px;
|
|
15
15
|
/*@doc Força uma altura especifica para o sidebar, o padrão é 100% da tela*/
|
|
16
16
|
--ez-sidebar-navigator--height: calc(100vh - var(--space--lg, 24px));
|
|
17
|
+
/*@doc Define a camada em que o componente será exibido.*/
|
|
18
|
+
--ez-sidebar-navigator--z-index: var(--elevation--20, 20);
|
|
17
19
|
|
|
18
20
|
/*Labels Header */
|
|
19
21
|
/*@doc Define o espaçamento entre os componente do cabeçalho*/
|
|
@@ -53,6 +55,7 @@
|
|
|
53
55
|
height: var(--ez-sidebar-navigator--height);
|
|
54
56
|
padding-top: var(--space--xs, 12px);
|
|
55
57
|
padding-bottom: var(--space--xs, 12px);
|
|
58
|
+
outline: none;
|
|
56
59
|
|
|
57
60
|
/* public */
|
|
58
61
|
gap: var(--ez-sidebar-navigator--gap);
|
|
@@ -124,7 +127,7 @@
|
|
|
124
127
|
|
|
125
128
|
.dynamic {
|
|
126
129
|
position: absolute;
|
|
127
|
-
z-index: var(--
|
|
130
|
+
z-index: var(--ez-sidebar-navigator--z-index);
|
|
128
131
|
}
|
|
129
132
|
|
|
130
133
|
.fixed {
|