@sankhyalabs/ezui 5.22.0-rc.9 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ApplicationUtils-c9d1205c.js.gz +0 -0
- package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
- package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
- package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
- package/dist/cjs/DataBinder-e92314c2.js +445 -0
- package/dist/cjs/DataBinder-e92314c2.js.gz +0 -0
- package/dist/cjs/DialogType-2114c337.js.gz +0 -0
- package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
- package/dist/cjs/FocusResolver-885f2173.js +35 -0
- package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
- package/dist/cjs/ICustomRender-6fafffce.js.gz +0 -0
- package/dist/cjs/constants-2714478b.js.gz +0 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +6 -5
- package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-badge.cjs.entry.js +15 -3
- package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1481 -0
- package/dist/cjs/ez-card-item_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chart.cjs.entry.js +5 -5
- package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chip.cjs.entry.js +2 -2
- package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
- package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +387 -0
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +83 -156
- package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-input.cjs.entry.js +15 -22
- package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-time-input.cjs.entry.js +15 -21
- package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dialog.cjs.entry.js +15 -8
- package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
- package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +76 -9
- package/dist/cjs/ez-dropdown_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +27 -21
- package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form.cjs.entry.js +7 -326
- package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid.cjs.entry.js +14895 -70562
- package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-icon.cjs.entry.js +2 -2
- package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list.cjs.entry.js +259 -212
- package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal.cjs.entry.js +13 -4
- package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +16 -4
- package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +238 -0
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popup.cjs.entry.js +17 -2
- package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js +2 -2
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js +129 -188
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js +7 -4
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js +69 -7
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js +69 -7
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js +153 -17
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +8 -2
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js +6 -5
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js +11 -48
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +22 -13
- package/dist/cjs/index-a7b0c73d.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/collection/collection-manifest.json +8 -2
- package/dist/collection/components/ez-actions-button/ez-actions-button.css +2 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
- package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
- package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.css +12 -1
- package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.js +31 -1
- package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
- package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.css +13 -14
- package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.css +1 -3
- package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.js +2 -2
- package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +3 -3
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
- package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -1
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
- package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +129 -166
- package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
- package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js +39 -21
- package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +39 -20
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
- package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
- package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js +14 -16
- package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
- package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
- package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
- package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.js +1 -0
- package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
- package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +6 -3
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css +5 -2
- package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +202 -71
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +76 -34
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +193 -63
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +10 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +8 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +6 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.css +87 -4
- package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.js +329 -24
- package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +9 -46
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.css +156 -149
- package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css +4 -3
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js +301 -212
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js +85 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css +6 -1
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js +13 -4
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +2 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +49 -1
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +434 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +524 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css +3 -2
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js +17 -2
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +3 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css +2 -221
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js +192 -199
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- 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.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +318 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +1 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/messages/constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css +51 -13
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +13 -2
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js +104 -4
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js +166 -15
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +24 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css +20 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +116 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js +21 -1
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js +46 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js +1 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js +31 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
- package/dist/collection/utils/ResponsiveInputUtils.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js +21 -6
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js +2 -1
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.d.ts +36 -0
- package/dist/custom-elements/index.js +20452 -73628
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-eaf91331.js.gz +0 -0
- package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
- package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
- package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
- package/dist/esm/DataBinder-9c877244.js +441 -0
- package/dist/esm/DataBinder-9c877244.js.gz +0 -0
- package/dist/esm/DialogType-54a62731.js.gz +0 -0
- package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
- package/dist/esm/FocusResolver-1ccbf850.js +33 -0
- package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
- package/dist/esm/ICustomRender-875b5a40.js.gz +0 -0
- package/dist/esm/constants-4e0d35b7.js.gz +0 -0
- package/dist/esm/ez-actions-button.entry.js +6 -5
- package/dist/esm/ez-actions-button.entry.js.gz +0 -0
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-alert-list.entry.js.gz +0 -0
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-alert.entry.js.gz +0 -0
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-application.entry.js.gz +0 -0
- package/dist/esm/ez-badge.entry.js +15 -3
- package/dist/esm/ez-badge.entry.js.gz +0 -0
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
- package/dist/esm/ez-button.entry.js +2 -2
- package/dist/esm/ez-button.entry.js.gz +0 -0
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js.gz +0 -0
- package/dist/esm/ez-card-item_2.entry.js +1476 -0
- package/dist/esm/ez-card-item_2.entry.js.gz +0 -0
- package/dist/esm/ez-chart.entry.js +5 -5
- package/dist/esm/ez-chart.entry.js.gz +0 -0
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-check.entry.js.gz +0 -0
- package/dist/esm/ez-chip.entry.js +2 -2
- package/dist/esm/ez-chip.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.entry.js +2 -2
- package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box-list_3.entry.js +381 -0
- package/dist/esm/ez-combo-box-list_3.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box.entry.js +84 -157
- package/dist/esm/ez-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-date-input.entry.js +15 -22
- package/dist/esm/ez-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-date-time-input.entry.js +15 -21
- package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-dialog.entry.js +16 -9
- package/dist/esm/ez-dialog.entry.js.gz +0 -0
- package/dist/esm/ez-double-list.entry.js +283 -0
- package/dist/esm/ez-double-list.entry.js.gz +0 -0
- package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +76 -10
- package/dist/esm/ez-dropdown_2.entry.js.gz +0 -0
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js.gz +0 -0
- package/dist/esm/ez-filter-input.entry.js +125 -0
- package/dist/esm/ez-filter-input.entry.js.gz +0 -0
- package/dist/esm/ez-form-view.entry.js +27 -21
- package/dist/esm/ez-form-view.entry.js.gz +0 -0
- package/dist/esm/ez-form.entry.js +6 -325
- package/dist/esm/ez-form.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js +14895 -70562
- package/dist/esm/ez-grid.entry.js.gz +0 -0
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-icon.entry.js +2 -2
- package/dist/esm/ez-icon.entry.js.gz +0 -0
- package/dist/esm/ez-list.entry.js +259 -212
- package/dist/esm/ez-list.entry.js.gz +0 -0
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
- package/dist/esm/ez-modal-container.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js.gz +0 -0
- package/dist/esm/ez-modal.entry.js +13 -4
- package/dist/esm/ez-modal.entry.js.gz +0 -0
- package/dist/esm/ez-multi-selection-list.entry.js +2 -2
- package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
- package/dist/esm/ez-number-input.entry.js +16 -4
- package/dist/esm/ez-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-popover-plus_3.entry.js +232 -0
- package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js.gz +0 -0
- package/dist/esm/ez-popup.entry.js +17 -2
- package/dist/esm/ez-popup.entry.js.gz +0 -0
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-radio-button.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js +2 -2
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js +130 -189
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js +2 -2
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js +7 -4
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js +69 -7
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js +69 -7
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js +153 -17
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js +8 -2
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js +51 -0
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js +6 -5
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js +11 -48
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +23 -13
- package/dist/esm/index-baa5e267.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js +20 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
- package/dist/ezui/p-0306dff7.entry.js.gz +0 -0
- package/dist/ezui/p-05e1f4e7.js.gz +0 -0
- package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
- package/dist/ezui/p-09de35a2.entry.js.gz +0 -0
- package/dist/ezui/p-0fa52b0f.entry.js +1 -0
- package/dist/ezui/p-0fa52b0f.entry.js.gz +0 -0
- package/dist/ezui/p-17de16e5.entry.js +1 -0
- package/dist/ezui/p-17de16e5.entry.js.gz +0 -0
- package/dist/ezui/p-17eabf46.entry.js +1 -0
- package/dist/ezui/p-17eabf46.entry.js.gz +0 -0
- package/dist/ezui/p-1bcfd88c.entry.js +1 -0
- package/dist/ezui/p-1bcfd88c.entry.js.gz +0 -0
- package/dist/ezui/p-1e6e99fc.entry.js +1 -0
- package/dist/ezui/p-1e6e99fc.entry.js.gz +0 -0
- package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
- package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
- package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
- package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js +1 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-20cb13fa.entry.js +1 -0
- package/dist/ezui/p-20cb13fa.entry.js.gz +0 -0
- package/dist/ezui/p-2187f86c.js.gz +0 -0
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/p-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/p-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-2f45506d.entry.js +1 -0
- package/dist/ezui/p-2f45506d.entry.js.gz +0 -0
- package/dist/ezui/p-31b71e50.entry.js +1 -0
- package/dist/ezui/p-31b71e50.entry.js.gz +0 -0
- package/dist/ezui/p-40a60148.js +1 -0
- package/dist/ezui/p-40a60148.js.gz +0 -0
- package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
- package/dist/ezui/p-44caad9a.entry.js.gz +0 -0
- package/dist/ezui/p-4607fb89.js.gz +0 -0
- package/dist/ezui/p-4b67138e.entry.js +1 -0
- package/dist/ezui/p-4b67138e.entry.js.gz +0 -0
- package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
- package/dist/ezui/p-555c9018.entry.js.gz +0 -0
- package/dist/ezui/p-56fe5341.entry.js +1 -0
- package/dist/ezui/p-56fe5341.entry.js.gz +0 -0
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-6cdd3e0a.entry.js +1 -0
- package/dist/ezui/p-6cdd3e0a.entry.js.gz +0 -0
- package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
- package/dist/ezui/p-6e429cff.entry.js.gz +0 -0
- package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
- package/dist/ezui/p-77a4bd35.entry.js.gz +0 -0
- package/dist/ezui/p-7828dab5.entry.js +1 -0
- package/dist/ezui/p-7828dab5.entry.js.gz +0 -0
- package/dist/ezui/p-788467fe.entry.js +1 -0
- package/dist/ezui/p-788467fe.entry.js.gz +0 -0
- package/dist/ezui/p-7e677b7b.entry.js +1 -0
- package/dist/ezui/p-7e677b7b.entry.js.gz +0 -0
- package/dist/ezui/{p-e18d9e6a.entry.js → p-7fdd479f.entry.js} +1 -1
- package/dist/ezui/p-7fdd479f.entry.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js +1 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-8d0419a9.entry.js +309 -0
- package/dist/ezui/p-8d0419a9.entry.js.gz +0 -0
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
- package/dist/ezui/p-a4cee65d.entry.js +1 -0
- package/dist/ezui/p-a4cee65d.entry.js.gz +0 -0
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-acddfb2e.js +1 -0
- package/dist/ezui/p-acddfb2e.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
- package/dist/ezui/p-c0d9c4f8.entry.js.gz +0 -0
- package/dist/ezui/p-c1527804.entry.js +1 -0
- package/dist/ezui/p-c1527804.entry.js.gz +0 -0
- package/dist/ezui/p-c297aa52.entry.js +1 -0
- package/dist/ezui/p-c297aa52.entry.js.gz +0 -0
- package/dist/ezui/p-cb1535f7.entry.js +1 -0
- package/dist/ezui/p-cb1535f7.entry.js.gz +0 -0
- package/dist/ezui/p-cd07f8be.entry.js +1 -0
- package/dist/ezui/p-cd07f8be.entry.js.gz +0 -0
- package/dist/ezui/p-cf87aacb.entry.js +1 -0
- package/dist/ezui/p-cf87aacb.entry.js.gz +0 -0
- package/dist/ezui/p-d9dccec0.entry.js +1 -0
- package/dist/ezui/p-d9dccec0.entry.js.gz +0 -0
- package/dist/ezui/p-da1b4a38.entry.js +1 -0
- package/dist/ezui/p-da1b4a38.entry.js.gz +0 -0
- package/dist/ezui/p-dc628ed3.js +1 -0
- package/dist/ezui/p-dc628ed3.js.gz +0 -0
- package/dist/ezui/{p-70f1c812.entry.js → p-dc73e1fe.entry.js} +1 -1
- package/dist/ezui/p-dc73e1fe.entry.js.gz +0 -0
- package/dist/ezui/p-e0261d23.entry.js +1 -0
- package/dist/ezui/p-e0261d23.entry.js.gz +0 -0
- package/dist/ezui/{p-b2f6bc0a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/ezui/p-e06a9886.entry.js.gz +0 -0
- package/dist/ezui/p-e3544d23.entry.js +1 -0
- package/dist/ezui/p-e3544d23.entry.js.gz +0 -0
- package/dist/ezui/{p-b858fc6e.entry.js → p-e6a9041d.entry.js} +1 -1
- package/dist/ezui/p-e6a9041d.entry.js.gz +0 -0
- package/dist/ezui/p-e75c7a23.entry.js +1 -0
- package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
- package/dist/ezui/p-ea54d056.entry.js +1 -0
- package/dist/ezui/p-ea54d056.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js +1 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/{p-554522db.entry.js → p-ef5ec8d2.entry.js} +1 -1
- package/dist/ezui/p-ef5ec8d2.entry.js.gz +0 -0
- package/dist/ezui/{p-bef7daac.entry.js → p-f2ab6b58.entry.js} +1 -1
- package/dist/ezui/p-f2ab6b58.entry.js.gz +0 -0
- package/dist/ezui/p-f5931caa.entry.js +1 -0
- package/dist/ezui/p-f5931caa.entry.js.gz +0 -0
- package/dist/ezui/p-fa6732f2.entry.js +1 -0
- package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
- package/dist/ezui/p-fbbdc57f.entry.js +1 -0
- package/dist/ezui/p-fbbdc57f.entry.js.gz +0 -0
- package/dist/ezui/p-fd0a19d6.entry.js +1 -0
- package/dist/ezui/p-fd0a19d6.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
- package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +2 -0
- package/dist/types/components/ez-chart/interfaces/ChartTypeValue.d.ts +1 -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/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +46 -3
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +22 -6
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +7 -2
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +27 -12
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +3 -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 +47 -1
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
- package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
- package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
- package/dist/types/components/ez-list/ez-list.d.ts +23 -2
- package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +2 -1
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +8 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +74 -0
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +89 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +2 -1
- package/dist/types/components/ez-search/ez-search.d.ts +27 -16
- package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +29 -0
- package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
- package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +17 -0
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +24 -2
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
- package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
- package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
- package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
- package/dist/types/components.d.ts +733 -17
- package/dist/types/utils/FocusResolver.d.ts +5 -0
- package/dist/types/utils/ResponsiveInputUtils.d.ts +6 -0
- package/dist/types/utils/form/DataBinder.d.ts +3 -0
- package/package.json +15 -7
- package/react/components.d.ts +6 -0
- package/react/components.js +6 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/RecordValidationProcessor-10846595.js +0 -108
- package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -192
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -233
- package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
- package/dist/collection/components/ez-date-input/test/ez-date-input.test.js +0 -15
- package/dist/esm/RecordValidationProcessor-9c6cc267.js +0 -105
- package/dist/esm/ez-card-item_3.entry.js +0 -186
- package/dist/esm/ez-custom-form-input_2.entry.js +0 -228
- package/dist/esm/ez-skeleton.entry.js +0 -63
- package/dist/ezui/p-044d46d5.entry.js +0 -1
- package/dist/ezui/p-11b09aa1.entry.js +0 -1
- package/dist/ezui/p-1b08bf3c.entry.js +0 -1
- package/dist/ezui/p-2480e948.entry.js +0 -1
- package/dist/ezui/p-24ca32a3.entry.js +0 -1
- package/dist/ezui/p-2af4e2de.entry.js +0 -1
- package/dist/ezui/p-2d9b10ce.entry.js +0 -304
- package/dist/ezui/p-30951bd7.entry.js +0 -1
- package/dist/ezui/p-36180f4d.entry.js +0 -1
- package/dist/ezui/p-3f8c33e0.entry.js +0 -1
- package/dist/ezui/p-4b5f83a4.entry.js +0 -1
- package/dist/ezui/p-52100a6e.entry.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-7946f2d4.entry.js +0 -1
- package/dist/ezui/p-82ac8b06.entry.js +0 -1
- package/dist/ezui/p-868b56f7.entry.js +0 -1
- package/dist/ezui/p-8eef0f70.entry.js +0 -1
- package/dist/ezui/p-9174ab3c.entry.js +0 -1
- package/dist/ezui/p-9e11fc7b.js +0 -1
- package/dist/ezui/p-a7490128.entry.js +0 -1
- package/dist/ezui/p-a921e3e7.entry.js +0 -1
- package/dist/ezui/p-b0e71d23.entry.js +0 -1
- package/dist/ezui/p-b9fa2526.entry.js +0 -1
- package/dist/ezui/p-c17540c0.entry.js +0 -1
- package/dist/ezui/p-c3b7a23e.entry.js +0 -1
- package/dist/ezui/p-d6b29f38.entry.js +0 -1
- package/dist/ezui/p-de870657.entry.js +0 -1
- package/dist/ezui/p-e03c2774.entry.js +0 -1
- package/dist/ezui/p-e7395eae.entry.js +0 -1
- package/dist/ezui/p-f1c2c19e.entry.js +0 -1
- package/dist/ezui/p-f291db18.entry.js +0 -1
- package/dist/ezui/p-f42855b9.js +0 -1
- package/dist/ezui/p-ff233029.entry.js +0 -1
- /package/dist/{types/components/ez-date-input/test/ez-date-input.test.d.ts → collection/components/ez-chart/interfaces/ChartTypeValue.js} +0 -0
|
Binary file
|
|
@@ -30,6 +30,7 @@ class CSSVarsUtils {
|
|
|
30
30
|
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--focus--border-color');
|
|
31
31
|
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__icon--width');
|
|
32
32
|
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--focus--icon-color');
|
|
33
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__margin-bottom');
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
static applyVarsButton(host, child) {
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const core = require('@sankhyalabs/core');
|
|
4
|
+
const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
|
|
5
|
+
|
|
6
|
+
const buildFieldMetadata = (descriptor, config) => {
|
|
7
|
+
let { name, label, group } = Object.assign({}, config);
|
|
8
|
+
let { readOnly, required } = Object.assign({}, config);
|
|
9
|
+
let props;
|
|
10
|
+
let userInterface;
|
|
11
|
+
if (descriptor) {
|
|
12
|
+
label = label || descriptor.label;
|
|
13
|
+
name = name || descriptor.name;
|
|
14
|
+
required = descriptor.required || (config === null || config === void 0 ? void 0 : config.required);
|
|
15
|
+
readOnly = descriptor.readOnly || (config === null || config === void 0 ? void 0 : config.readOnly);
|
|
16
|
+
props = descriptor.properties;
|
|
17
|
+
userInterface = descriptor.userInterface;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
name, label, group,
|
|
21
|
+
readOnly, required,
|
|
22
|
+
props,
|
|
23
|
+
userInterface: userInterface || core.UserInterface.SHORTTEXT,
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
class RecordValidationProcessor {
|
|
28
|
+
constructor(dataUnit, validationSource, validator) {
|
|
29
|
+
this._dataUnit = dataUnit;
|
|
30
|
+
this._validationSource = validationSource;
|
|
31
|
+
this._validator = validator;
|
|
32
|
+
}
|
|
33
|
+
validate(isSaving = true) {
|
|
34
|
+
return new Promise((accept, reject) => {
|
|
35
|
+
const records = this._dataUnit.getModifiedRecords();
|
|
36
|
+
for (let i = 0; i < records.length; i++) {
|
|
37
|
+
const record = records[i];
|
|
38
|
+
const invalidResults = [];
|
|
39
|
+
let validationResult = this.validateRequired(record);
|
|
40
|
+
if (validationResult && !validationResult.isValid) {
|
|
41
|
+
invalidResults.push(validationResult);
|
|
42
|
+
}
|
|
43
|
+
if (this._validator) {
|
|
44
|
+
validationResult = this._validator.validateRecord(record);
|
|
45
|
+
if (validationResult && !validationResult.isValid) {
|
|
46
|
+
invalidResults.push(validationResult);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (invalidResults.length > 0) {
|
|
50
|
+
if (!isSaving && invalidResults[0].invalidFields.length > 0) {
|
|
51
|
+
this._validationSource.markAsInvalid(invalidResults[0].invalidFields[0], record.__record__id__);
|
|
52
|
+
reject();
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
this.processValidationResult(invalidResults, record.__record__id__);
|
|
56
|
+
reject();
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return accept();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
validateRequired(record) {
|
|
64
|
+
const requiredFields = this._validationSource.getRequiredFields();
|
|
65
|
+
const invalidFields = [];
|
|
66
|
+
new Set(requiredFields).forEach(field => {
|
|
67
|
+
const value = record[field];
|
|
68
|
+
if (value == undefined || value === "") {
|
|
69
|
+
const errorMessage = this._validationSource.getMessageForField(field, record.__record__id__);
|
|
70
|
+
if (errorMessage) {
|
|
71
|
+
invalidFields.push({ name: field, message: errorMessage });
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
invalidFields.push({ name: field, message: "Essa informação é obrigatória" });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
if (invalidFields.length > 0) {
|
|
79
|
+
return { isValid: false, invalidFields, infoMessage: "Há pelo menos um campo obrigatório não preenchido." };
|
|
80
|
+
}
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
processValidationResult(validationResult, recordId) {
|
|
84
|
+
validationResult.forEach(invalidResult => {
|
|
85
|
+
const invalidFields = invalidResult.invalidFields;
|
|
86
|
+
this._dataUnit.savingCanceled(invalidFields, recordId);
|
|
87
|
+
if (invalidFields) {
|
|
88
|
+
invalidFields.forEach(field => {
|
|
89
|
+
this.markAsInvalid(field, recordId);
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
if (invalidResult.infoMessage) {
|
|
93
|
+
ApplicationUtils.ApplicationUtils.info(invalidResult.infoMessage);
|
|
94
|
+
}
|
|
95
|
+
if (invalidResult.errorMessage) {
|
|
96
|
+
const { errorTitle, errorMessage } = invalidResult;
|
|
97
|
+
ApplicationUtils.ApplicationUtils.error(errorTitle, errorMessage);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
markAsInvalid(field, recordId) {
|
|
102
|
+
this._dataUnit.setInvalidField(field.name, field.message, recordId);
|
|
103
|
+
this._validationSource.markAsInvalid(field, recordId);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
class DataBinder {
|
|
108
|
+
constructor(dataUnit) {
|
|
109
|
+
this.onDataUnitEvent = (action) => {
|
|
110
|
+
var _a, _b;
|
|
111
|
+
switch (action.type) {
|
|
112
|
+
case core.Action.DATA_LOADED:
|
|
113
|
+
case core.Action.DATA_SAVED:
|
|
114
|
+
case core.Action.RECORDS_REMOVED:
|
|
115
|
+
case core.Action.RECORDS_ADDED:
|
|
116
|
+
case core.Action.RECORDS_COPIED:
|
|
117
|
+
case core.Action.EDITION_CANCELED:
|
|
118
|
+
case core.Action.SELECTION_CHANGED:
|
|
119
|
+
case core.Action.NEXT_SELECTED:
|
|
120
|
+
case core.Action.PREVIOUS_SELECTED:
|
|
121
|
+
this.clearInvalid();
|
|
122
|
+
case core.Action.DATA_CHANGED:
|
|
123
|
+
case core.Action.CHANGE_UNDONE:
|
|
124
|
+
case core.Action.CHANGE_REDONE:
|
|
125
|
+
case core.Action.RECORD_LOADED:
|
|
126
|
+
(_a = this._fields) === null || _a === void 0 ? void 0 : _a.forEach(field => {
|
|
127
|
+
this.updateValue(field.fieldName, field.field);
|
|
128
|
+
});
|
|
129
|
+
this.clearFieldError(Object.keys(action.payload)[0]);
|
|
130
|
+
break;
|
|
131
|
+
case core.Action.FIELD_INVALIDATED:
|
|
132
|
+
(_b = this._fields) === null || _b === void 0 ? void 0 : _b.forEach(field => {
|
|
133
|
+
this.updateErrorMessage(field.fieldName, field.field);
|
|
134
|
+
});
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
this._uuid = core.StringUtils.generateUUID();
|
|
139
|
+
this._fields = new Map();
|
|
140
|
+
this._dataUnit = dataUnit;
|
|
141
|
+
this.applyDefaultValues();
|
|
142
|
+
this._dataUnit.subscribe(this.onDataUnitEvent);
|
|
143
|
+
this._dataUnit.addInterceptor(this);
|
|
144
|
+
this.setContextDataBinder(dataUnit);
|
|
145
|
+
}
|
|
146
|
+
get dataBinderId() {
|
|
147
|
+
return this._uuid;
|
|
148
|
+
}
|
|
149
|
+
setContextDataBinder(dataUnit) {
|
|
150
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__") || new Map();
|
|
151
|
+
const dataBinders = [...(dataBindersByDataUnit.get(dataUnit.dataUnitId) || []), this];
|
|
152
|
+
dataBindersByDataUnit.set(dataUnit.dataUnitId, dataBinders);
|
|
153
|
+
core.ApplicationContext.setContextValue("__DATABINDER_BY_DATAUNIT__", dataBindersByDataUnit);
|
|
154
|
+
}
|
|
155
|
+
applyDefaultValues() {
|
|
156
|
+
const recordIds = (this._dataUnit.getAddedRecords() || []).map(r => r.__record__id__);
|
|
157
|
+
if (recordIds.length > 0) {
|
|
158
|
+
const defaultValues = this.getDefaultValues();
|
|
159
|
+
if (defaultValues) {
|
|
160
|
+
Object.keys(defaultValues).forEach(field => {
|
|
161
|
+
this._dataUnit.setFieldValue(field, defaultValues[field], recordIds);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
bind(fields, currentContextName, formMetadata, recordsValidator) {
|
|
167
|
+
fields.forEach(fieldElement => {
|
|
168
|
+
const { fieldName, contextName } = fieldElement.dataset;
|
|
169
|
+
if (contextName == undefined || contextName === currentContextName) {
|
|
170
|
+
this.updateBind(fieldName, fieldElement);
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
this._formMetadata = formMetadata;
|
|
174
|
+
this._recordValidatorProcessor = new RecordValidationProcessor(this._dataUnit, {
|
|
175
|
+
getRequiredFields: () => this.getFormRequiredFields(),
|
|
176
|
+
markAsInvalid: field => this.markInvalid(field),
|
|
177
|
+
getMessageForField: field => this.getErrorMessage(field),
|
|
178
|
+
}, recordsValidator);
|
|
179
|
+
}
|
|
180
|
+
getFormRequiredFields() {
|
|
181
|
+
return this._formMetadata.getRequiredFields();
|
|
182
|
+
}
|
|
183
|
+
disconnectDataUnit() {
|
|
184
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__") || new Map();
|
|
185
|
+
const dataBinders = dataBindersByDataUnit.get(this._dataUnit.dataUnitId);
|
|
186
|
+
const dataBindersFiltered = dataBinders.filter((dataBinder) => dataBinder.dataBinderId !== this.dataBinderId);
|
|
187
|
+
dataBindersByDataUnit.set(this._dataUnit.dataUnitId, dataBindersFiltered);
|
|
188
|
+
core.ApplicationContext.setContextValue("__DATABINDER_BY_DATAUNIT__", dataBindersByDataUnit);
|
|
189
|
+
}
|
|
190
|
+
onDisconnectedCallback() {
|
|
191
|
+
this._dataUnit.unsubscribe(this.onDataUnitEvent);
|
|
192
|
+
this._dataUnit.removeInterceptor(this);
|
|
193
|
+
this.disconnectDataUnit();
|
|
194
|
+
}
|
|
195
|
+
getCurrentRecordId() {
|
|
196
|
+
const record = this._dataUnit.getSelectedRecord();
|
|
197
|
+
return record === null || record === void 0 ? void 0 : record.__record__id__;
|
|
198
|
+
}
|
|
199
|
+
markInvalid(field) {
|
|
200
|
+
if (this._fields.has(field.name)) {
|
|
201
|
+
const fieldElement = this._fields.get(field.name).field;
|
|
202
|
+
this.updateErrorMessage(field.name, fieldElement, field.message);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
setFocus(fieldName) {
|
|
206
|
+
if (!this._fields.has(fieldName)) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const fieldElement = this._fields.get(fieldName).field;
|
|
210
|
+
if (typeof fieldElement["setFocus"] != "function") {
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
fieldElement["setFocus"]();
|
|
214
|
+
}
|
|
215
|
+
clearInvalid(recordId) {
|
|
216
|
+
this._dataUnit.clearInvalid(recordId);
|
|
217
|
+
this._fields.forEach(fieldBinder => {
|
|
218
|
+
const fieldElement = fieldBinder.field;
|
|
219
|
+
fieldElement["errorMessage"] = "";
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
clearFieldError(fieldName) {
|
|
223
|
+
var _a;
|
|
224
|
+
const field = (_a = this._fields.get(fieldName)) === null || _a === void 0 ? void 0 : _a.field;
|
|
225
|
+
if (field["errorMessage"]) {
|
|
226
|
+
field["errorMessage"] = "";
|
|
227
|
+
this._dataUnit.clearInvalid(this.getCurrentRecordId(), fieldName);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
updateValue(fieldName, field) {
|
|
231
|
+
const bind = this._fields.get(fieldName);
|
|
232
|
+
try {
|
|
233
|
+
if (bind) {
|
|
234
|
+
bind.listen = false;
|
|
235
|
+
}
|
|
236
|
+
field["value"] = this._dataUnit.getFieldValue(fieldName);
|
|
237
|
+
this.updateErrorMessage(fieldName, field);
|
|
238
|
+
}
|
|
239
|
+
finally {
|
|
240
|
+
if (bind) {
|
|
241
|
+
bind.listen = true;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
validate() {
|
|
246
|
+
return this._recordValidatorProcessor.validate();
|
|
247
|
+
}
|
|
248
|
+
static async validateByDataunit(dataUnit) {
|
|
249
|
+
try {
|
|
250
|
+
const dataBinders = this.getDataBindersByDataUnit(dataUnit);
|
|
251
|
+
await Promise.all(dataBinders.map((dataBinder) => dataBinder.validate()));
|
|
252
|
+
return true;
|
|
253
|
+
}
|
|
254
|
+
catch (_a) {
|
|
255
|
+
return false;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
static getDataBindersByDataUnit(dataUnit) {
|
|
259
|
+
const dataBindersByDataUnit = core.ApplicationContext.getContextValue("__DATABINDER_BY_DATAUNIT__");
|
|
260
|
+
return (dataBindersByDataUnit === null || dataBindersByDataUnit === void 0 ? void 0 : dataBindersByDataUnit.get(dataUnit.dataUnitId)) || [];
|
|
261
|
+
}
|
|
262
|
+
updateErrorMessage(fieldName, field, message) {
|
|
263
|
+
if (message == undefined) {
|
|
264
|
+
message = this._dataUnit.getInvalidMessage(this.getCurrentRecordId(), fieldName);
|
|
265
|
+
}
|
|
266
|
+
if (!field["errorMessage"]) {
|
|
267
|
+
field["errorMessage"] = message;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
getErrorMessage(fieldName) {
|
|
271
|
+
if (this._fields.has(fieldName)) {
|
|
272
|
+
const fieldElement = this._fields.get(fieldName).field;
|
|
273
|
+
return fieldElement["errorMessage"];
|
|
274
|
+
}
|
|
275
|
+
return undefined;
|
|
276
|
+
}
|
|
277
|
+
updateBind(fieldName, field) {
|
|
278
|
+
const oldBind = this._fields.get(fieldName);
|
|
279
|
+
if (oldBind) {
|
|
280
|
+
oldBind.destroy();
|
|
281
|
+
}
|
|
282
|
+
this.bindSearchOptionsLoader(fieldName, field);
|
|
283
|
+
field["value"] = this._dataUnit.getFieldValue(fieldName);
|
|
284
|
+
this.updateErrorMessage(fieldName, field);
|
|
285
|
+
this._fields.set(fieldName, Bind.create(fieldName, field, (fieldName, waitingChange) => this.changeStarted(fieldName, waitingChange), (fieldName) => this.cancelWaitingChange(fieldName), (fieldName, newValue) => this.setFieldValue(fieldName, newValue)));
|
|
286
|
+
this.applyEzUploadContext(fieldName, field);
|
|
287
|
+
}
|
|
288
|
+
changeStarted(fieldName, waitingChange) {
|
|
289
|
+
/**
|
|
290
|
+
* se o waitingChange não é blocante, add um event listener pra
|
|
291
|
+
* fazer o accept da promise
|
|
292
|
+
*
|
|
293
|
+
* se não tiver promise no waitingChange, eu crio uma e resolvo no bind
|
|
294
|
+
*
|
|
295
|
+
*
|
|
296
|
+
*/
|
|
297
|
+
if (this._dataUnit.records.length === 0) {
|
|
298
|
+
this._dataUnit.addRecord();
|
|
299
|
+
}
|
|
300
|
+
if (!waitingChange.blocking && waitingChange.promise == undefined) {
|
|
301
|
+
const bind = this._fields.get(fieldName);
|
|
302
|
+
if (bind) {
|
|
303
|
+
waitingChange.promise = new Promise((resolve, reject) => {
|
|
304
|
+
bind.waitingChangePromiseResolve = resolve;
|
|
305
|
+
bind.waitingChangePromiseReject = reject;
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
this._dataUnit.startChange(fieldName, waitingChange);
|
|
310
|
+
}
|
|
311
|
+
cancelWaitingChange(fieldName) {
|
|
312
|
+
if (this._dataUnit.waitingForChange(fieldName)) {
|
|
313
|
+
this._dataUnit.cancelWaitingChange(fieldName);
|
|
314
|
+
const bind = this._fields.get(fieldName);
|
|
315
|
+
if (bind) {
|
|
316
|
+
bind.rejectWaitingChange(new core.WaitingChangeException("Change canceled", fieldName));
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
setFieldValue(fieldName, newValue) {
|
|
321
|
+
if (this._dataUnit.records.length === 0) {
|
|
322
|
+
this._dataUnit.addRecord();
|
|
323
|
+
}
|
|
324
|
+
this._dataUnit.clearInvalid(this.getCurrentRecordId(), fieldName);
|
|
325
|
+
const record = this._dataUnit.getSelectedRecord();
|
|
326
|
+
this._dataUnit.setFieldValue(fieldName, newValue, record ? [record.__record__id__] : undefined);
|
|
327
|
+
if (this._dataUnit.waitingForChange(fieldName)) {
|
|
328
|
+
const bind = this._fields.get(fieldName);
|
|
329
|
+
if (bind) {
|
|
330
|
+
bind.acceptWaitingChange();
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
bindSearchOptionsLoader(fieldName, field) {
|
|
335
|
+
if (field.nodeName === "EZ-SEARCH" && field["optionLoader"] == undefined) {
|
|
336
|
+
const loader = core.ApplicationContext.getContextValue("__EZUI__SEARCH__OPTION__LOADER__");
|
|
337
|
+
if (loader) {
|
|
338
|
+
field["optionLoader"] = (arg, ctxOptions) => {
|
|
339
|
+
return loader(arg, fieldName, this._dataUnit, ctxOptions);
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
applyEzUploadContext(fieldName, field) {
|
|
345
|
+
var _a, _b;
|
|
346
|
+
if (field.nodeName === "EZ-UPLOAD") {
|
|
347
|
+
field["urlUpload"] = core.ApplicationContext.getContextValue("__EZUI__UPLOAD__ADD__URL__");
|
|
348
|
+
field["urlDelete"] = core.ApplicationContext.getContextValue("__EZUI__UPLOAD__DEL__URL__");
|
|
349
|
+
const descriptor = this._dataUnit.getField(fieldName);
|
|
350
|
+
const destination = (_a = descriptor.properties) === null || _a === void 0 ? void 0 : _a.DESTINATION;
|
|
351
|
+
if (destination) {
|
|
352
|
+
field["requestHeaders"] = { XTRAINF: `{"destination": "${destination}"}` };
|
|
353
|
+
}
|
|
354
|
+
field["maxFiles"] = ((_b = descriptor.properties) === null || _b === void 0 ? void 0 : _b.MAX_FILES) || 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
interceptAction(action) {
|
|
358
|
+
if (action.type === core.Action.RECORDS_COPIED) {
|
|
359
|
+
const cleanFields = this._formMetadata.getCleanOnCopyFields();
|
|
360
|
+
if (cleanFields) {
|
|
361
|
+
const records = action.payload;
|
|
362
|
+
return new core.DataUnitAction(core.Action.RECORDS_COPIED, records.map(record => {
|
|
363
|
+
const newRecord = Object.assign({}, record);
|
|
364
|
+
cleanFields.forEach(fieldName => delete newRecord[fieldName]);
|
|
365
|
+
return newRecord;
|
|
366
|
+
}));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
if (action.type === core.Action.SAVING_DATA) {
|
|
370
|
+
return new Promise((resolve) => {
|
|
371
|
+
this.validate()
|
|
372
|
+
.then(() => resolve(action))
|
|
373
|
+
.catch(() => { });
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
if (action.type === core.Action.RECORDS_ADDED) {
|
|
377
|
+
const defaultValues = this.getDefaultValues();
|
|
378
|
+
if (defaultValues) {
|
|
379
|
+
const records = action.payload;
|
|
380
|
+
return new core.DataUnitAction(core.Action.RECORDS_ADDED, records.map(record => {
|
|
381
|
+
return Object.assign(Object.assign({}, record), defaultValues);
|
|
382
|
+
}));
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return action;
|
|
386
|
+
}
|
|
387
|
+
getDefaultValues() {
|
|
388
|
+
var _a;
|
|
389
|
+
const rawDefaultValues = (_a = this._formMetadata) === null || _a === void 0 ? void 0 : _a.getDefaultValues();
|
|
390
|
+
if (rawDefaultValues) {
|
|
391
|
+
const defaultValues = {};
|
|
392
|
+
for (const field in rawDefaultValues) {
|
|
393
|
+
defaultValues[field] = this._dataUnit.valueFromString(field, rawDefaultValues[field]);
|
|
394
|
+
}
|
|
395
|
+
return defaultValues;
|
|
396
|
+
}
|
|
397
|
+
return undefined;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
class Bind {
|
|
401
|
+
constructor() {
|
|
402
|
+
this.listen = true;
|
|
403
|
+
this.startChangeEventName = "ezStartChange";
|
|
404
|
+
this.cancelWaitingChangeEventName = "ezCancelWaitingChange";
|
|
405
|
+
this.changeEventName = "ezChange";
|
|
406
|
+
}
|
|
407
|
+
destroy() {
|
|
408
|
+
this.field.removeEventListener(this.startChangeEventName, this.startChangeListener);
|
|
409
|
+
this.field.removeEventListener(this.cancelWaitingChangeEventName, this.cancelWaitingChangeListener);
|
|
410
|
+
this.field.removeEventListener(this.changeEventName, this.changeListener);
|
|
411
|
+
}
|
|
412
|
+
acceptWaitingChange() {
|
|
413
|
+
if (this.waitingChangePromiseResolve) {
|
|
414
|
+
this.waitingChangePromiseResolve();
|
|
415
|
+
this.waitingChangePromiseReject = undefined;
|
|
416
|
+
this.waitingChangePromiseResolve = undefined;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
rejectWaitingChange(reason) {
|
|
420
|
+
if (this.waitingChangePromiseReject) {
|
|
421
|
+
this.waitingChangePromiseReject(reason);
|
|
422
|
+
this.waitingChangePromiseReject = undefined;
|
|
423
|
+
this.waitingChangePromiseResolve = undefined;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
static create(fieldName, field, startChangeCallback, cancelWaitingChangeCallback, changeCallback) {
|
|
427
|
+
const b = new Bind();
|
|
428
|
+
b.field = field;
|
|
429
|
+
b.fieldName = fieldName;
|
|
430
|
+
b.startChangeListener = (evt) => { if (b.listen)
|
|
431
|
+
startChangeCallback(fieldName, evt.detail); };
|
|
432
|
+
b.field.addEventListener(b.startChangeEventName, b.startChangeListener);
|
|
433
|
+
b.cancelWaitingChangeListener = () => { if (b.listen)
|
|
434
|
+
cancelWaitingChangeCallback(fieldName); };
|
|
435
|
+
b.field.addEventListener(b.cancelWaitingChangeEventName, b.cancelWaitingChangeListener);
|
|
436
|
+
b.changeListener = (evt) => { if (b.listen)
|
|
437
|
+
changeCallback(fieldName, evt.detail); };
|
|
438
|
+
b.field.addEventListener(b.changeEventName, b.changeListener);
|
|
439
|
+
return b;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
exports.DataBinder = DataBinder;
|
|
444
|
+
exports.RecordValidationProcessor = RecordValidationProcessor;
|
|
445
|
+
exports.buildFieldMetadata = buildFieldMetadata;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
class FocusResolver {
|
|
4
|
+
static resolveFocus(element, selectText = true) {
|
|
5
|
+
var _a;
|
|
6
|
+
if (!element)
|
|
7
|
+
return;
|
|
8
|
+
(_a = element.focus) === null || _a === void 0 ? void 0 : _a.call(element);
|
|
9
|
+
if (element.setFocus) {
|
|
10
|
+
element.setFocus({ selectText });
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
this.resolveFocusOnChild(element, selectText);
|
|
14
|
+
}
|
|
15
|
+
static resolveFocusOnChild(element, selectText = true) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
if (this.isGridCell(element) && element.firstElementChild) {
|
|
18
|
+
this.resolveFocusOnChild(element.firstElementChild);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (!element || !element.classList.contains('hydrated'))
|
|
22
|
+
return;
|
|
23
|
+
const firstChild = element.firstElementChild;
|
|
24
|
+
if (!(firstChild === null || firstChild === void 0 ? void 0 : firstChild.focus) && !(firstChild === null || firstChild === void 0 ? void 0 : firstChild.setFocus))
|
|
25
|
+
return;
|
|
26
|
+
(_a = firstChild === null || firstChild === void 0 ? void 0 : firstChild.focus) === null || _a === void 0 ? void 0 : _a.call(firstChild);
|
|
27
|
+
(_b = firstChild === null || firstChild === void 0 ? void 0 : firstChild.setFocus) === null || _b === void 0 ? void 0 : _b.call(firstChild, { selectText });
|
|
28
|
+
}
|
|
29
|
+
static isGridCell(element) {
|
|
30
|
+
var _a;
|
|
31
|
+
return ((_a = element === null || element === void 0 ? void 0 : element.getAttribute) === null || _a === void 0 ? void 0 : _a.call(element, "role")) === 'gridcell';
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.FocusResolver = FocusResolver;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
require('./ApplicationUtils-c9d1205c.js');
|
|
8
|
-
const CSSVarsUtils = require('./CSSVarsUtils-
|
|
8
|
+
const CSSVarsUtils = require('./CSSVarsUtils-f20973d1.js');
|
|
9
9
|
require('./DialogType-2114c337.js');
|
|
10
10
|
require('./CheckMode-ecb90b87.js');
|
|
11
11
|
require('./ICustomRender-6fafffce.js');
|
|
12
12
|
|
|
13
|
-
const ezActionsButtonCss = ":host{--ez-actions-button__actions-list--border-radius:var(--border--radius-medium, 12px);--ez-actions-button__actions-list--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-actions-button__actions-list--background-color:var(--background--xlight, #fff);--ez-actions-button__actions-list--padding:var(--space--small, 6px);--ez-actions-button__actions-list--top-margin:var(--space-small, 6px);--ez-actions-button__actions-list--z-index:var(--ez-elevation--8, 8);--ez-actions-button__actions-max-height:415px;--ez-actions-button__btn-action--min-width:'auto';--ez-actions-button__btn-action--background-color:var(--background--xlight, #fff);display:flex;flex-direction:column;height:fit-content;user-select:none}.ez-actions-button__actions-list{display:flex;flex-direction:column;position:fixed;width:fit-content;height:fit-content;overflow-y:auto;scrollbar-width:thin;z-index:var(--ez-actions-button__actions-list--z-index);padding:var(--ez-actions-button__actions-list--padding);margin-top:var(--ez-actions-button__actions-list--top-margin);background-color:var(--ez-actions-button__actions-list--background-color);border-radius:var(--ez-actions-button__actions-list--border-radius);box-shadow:var(--ez-actions-button__actions-list--box-shadow)}.ez-actions-button__actions-list--max-height{max-height:var(--ez-actions-button__actions-max-height)}.ez-actions-button__actions-list--lowered{margin-top:calc(var(--ez-actions-button__actions-list--top-margin) + 6px)}.ez-actions-button__btn-action{--ez-button--justify-content:flex-start;--ez-button--width:100%;--ez-button--min-width:var(--ez-actions-button__btn-action--min-width);--ez-button--background-color:var(--ez-actions-button__btn-action--background-color);--ez-button--font-weight:var(--text-weight--medium, 400);--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px)}.ez-actions-button__btn-action--spaced{--ez-button--padding-left:calc(var(--space--medium, 12px) + 24px)}.ez-actions-button__icon-right{margin-left:var(--space--small, 6px)}.ez-actions-button__icon-check,.ez-actions-button__icon-item{position:absolute;left:var(--space--medium, 12px)}.ez-actions-button__icon-check{color:var(--ez-button--hover-color)}.ez-actions-button__arrow{position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;width:0;height:0;z-index:calc(var(--ez-actions-button__actions-list--z-index) + 1);border-bottom:15px solid var(--ez-actions-button__btn-action--background-color)}.ez-actions-button__arrow--upped{margin-top:calc((var(--ez-actions-button__actions-list--top-margin) + 2px) * -1)}.ez-actions-button__arrow--small{margin-left:6px}.ez-actions-button__arrow--medium{margin-left:11px}.ez-actions-button__arrow--large{margin-left:13px}.ez-actions-button__arrow:only-child{display:none}.ez-actions-button__btn-transparent{--ez-button--background-color:transparent;--ez-button--hover--background-color:transparent;--ez-button--active--background-color:transparent;--ez-button--focus--border:none}.ez-actions-button__btn-label{--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px)}.ez-actions-button__list-container{position:relative}.ez-actions-button--bottom-padding{padding-bottom:var(--space--small, 6px)}";
|
|
13
|
+
const ezActionsButtonCss = ":host{--ez-actions-button__actions-list--border-radius:var(--border--radius-medium, 12px);--ez-actions-button__actions-list--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-actions-button__actions-list--background-color:var(--background--xlight, #fff);--ez-actions-button__actions-list--padding:var(--space--small, 6px);--ez-actions-button__actions-list--top-margin:var(--space-small, 6px);--ez-actions-button__actions-list--z-index:var(--ez-elevation--8, 8);--ez-actions-button__actions-max-height:415px;--ez-actions-button__btn-action--min-width:'auto';--ez-actions-button__btn-action--background-color:var(--background--xlight, #fff);display:flex;flex-direction:column;height:fit-content;user-select:none}.ez-actions-button__actions-list{display:flex;flex-direction:column;position:fixed;width:fit-content;height:fit-content;overflow-y:auto;scrollbar-width:thin;z-index:var(--ez-actions-button__actions-list--z-index);padding:var(--ez-actions-button__actions-list--padding);margin-top:var(--ez-actions-button__actions-list--top-margin);background-color:var(--ez-actions-button__actions-list--background-color);border-radius:var(--ez-actions-button__actions-list--border-radius);box-shadow:var(--ez-actions-button__actions-list--box-shadow)}.ez-actions-button__actions-list--max-height{max-height:var(--ez-actions-button__actions-max-height)}.ez-actions-button__actions-list--lowered{margin-top:calc(var(--ez-actions-button__actions-list--top-margin) + 6px)}.ez-actions-button__btn-action{--ez-button--justify-content:flex-start;--ez-button--width:100%;--ez-button--min-width:var(--ez-actions-button__btn-action--min-width);--ez-button--background-color:var(--ez-actions-button__btn-action--background-color);--ez-button--font-weight:var(--text-weight--medium, 400);--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px);--ez-button--border:none}.ez-actions-button__btn-action--spaced{--ez-button--padding-left:calc(var(--space--medium, 12px) + 24px)}.ez-actions-button__icon-right{margin-left:var(--space--small, 6px)}.ez-actions-button__icon-check,.ez-actions-button__icon-item{position:absolute;left:var(--space--medium, 12px)}.ez-actions-button__icon-check{color:var(--ez-button--hover-color)}.ez-actions-button__arrow{position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;width:0;height:0;z-index:calc(var(--ez-actions-button__actions-list--z-index) + 1);border-bottom:15px solid var(--ez-actions-button__btn-action--background-color)}.ez-actions-button__arrow--upped{margin-top:calc((var(--ez-actions-button__actions-list--top-margin) + 2px) * -1)}.ez-actions-button__arrow--small{margin-left:6px}.ez-actions-button__arrow--medium{margin-left:11px}.ez-actions-button__arrow--large{margin-left:13px}.ez-actions-button__arrow:only-child{display:none}.ez-actions-button__btn-transparent{--ez-button--background-color:transparent;--ez-button--hover--background-color:transparent;--ez-button--active--background-color:transparent;--ez-button--focus--border:none;--ez-button--border:none}.ez-actions-button__btn-label{--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px)}.ez-actions-button__list-container{position:relative}.ez-actions-button--bottom-padding{padding-bottom:var(--space--small, 6px)}";
|
|
14
14
|
|
|
15
15
|
const EzActionsButton = class {
|
|
16
16
|
constructor(hostRef) {
|
|
@@ -99,8 +99,9 @@ const EzActionsButton = class {
|
|
|
99
99
|
var _a;
|
|
100
100
|
const docWidth = document.body.clientWidth;
|
|
101
101
|
const boundingList = (_a = this._actionsList) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
const rightOffset = docWidth - this._button.getBoundingClientRect().right;
|
|
103
|
+
if ((boundingList === null || boundingList === void 0 ? void 0 : boundingList.right) >= docWidth || (boundingList === null || boundingList === void 0 ? void 0 : boundingList.right) === (docWidth - rightOffset)) {
|
|
104
|
+
return (docWidth - boundingList.width - rightOffset) + "px";
|
|
104
105
|
}
|
|
105
106
|
return;
|
|
106
107
|
}
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezAlertListCss = ":host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, \"Roboto\");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n";
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezAlertCss = ":host{--ez-alert-alert-container--padding-up-down:var(--space--small, 6px);--ez-alert-alert-container--padding-right-left:var(--space--medium, 12px);--ez-alert-alert-container--gap:var(--space--medium, 12px);--ez-alert-alert-container--border-radius:var(--border--radius-medium, 12px);--ez-alert-alert-container--font-color-warn:var(--color--alert-warning-900, #8C6B00);--ez-alert-alert-container--icon-warn:var(--color--alert-warning-900, #8C6B00);--ez-alert-alert-container--background-color-warn:var(--color--alert-warning-200, #FFF7D5);--ez-alert-alert-container--font-color-critical:var(--color--alert-error, #BD0025);--ez-alert-alert-container--icon-critical:var(--color--alert-error, #BD0025);--ez-alert-alert-container--background-color-critical:var(--color--alert-error-200, #F7E0E5);--ez-alert-alert-container--font-color-success:var(--color--alert-success, #157A00);--ez-alert-alert-container--icon-success:var(--color--alert-success, #157A00);--ez-alert-alert-container--background-color-success:var(--color--alert-success-200, #E7F6E0);font-size:var(--text--small, 12px);font-family:var(--font-pattern, \"Roboto\");width:100%;hyphens:auto;display:block}.alert-container{display:flex;align-items:center;gap:var(--ez-alert-alert-container--gap);padding:var(--ez-alert-alert-container--padding-up-down) var(--ez-alert-alert-container--padding-right-left);border-radius:var(--ez-alert-alert-container--border-radius)}.warn{background-color:var(--ez-alert-alert-container--background-color-warn);color:var(--ez-alert-alert-container--font-color-warn)}.critical{background-color:var(--ez-alert-alert-container--background-color-critical);color:var(--ez-alert-alert-container--font-color-critical)}.success{background-color:var(--ez-alert-alert-container--background-color-success);color:var(--ez-alert-alert-container--font-color-success)}ez-icon{--ez-icon--color:inherit}.alert-container__icon-warn{--ez-icon--color:var(--ez-alert-alert-container--icon-warn)}.alert-container__icon-critical{--ez-icon--color:var(--ez-alert-alert-container--icon-critical)}.alert-container__icon-success{--ez-icon--color:var(--ez-alert-alert-container--icon-success)}";
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
var Sizes;
|
|
@@ -15,7 +15,7 @@ var Sizes;
|
|
|
15
15
|
Sizes["EXTRA_SMALL"] = "extra-small";
|
|
16
16
|
})(Sizes || (Sizes = {}));
|
|
17
17
|
|
|
18
|
-
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center
|
|
18
|
+
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center}.badge__content--fill-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px)}.badge__content--fill-2xs{height:var(--ez-badge--size-2xs, 8px);min-width:var(--ez-badge--size-2xs, 8px)}.badge__content--text-md{height:calc(var(--ez-badge--size-md, 20px) - 2px);min-width:var(--ez-badge--size-sm, 20px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-md)}.badge__content--text-sm{height:calc(var(--ez-badge--size-sm, 16px) - 2px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-sm)}.badge__content--text-xs{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-2xs);padding-bottom:var(--ez-badge--padding-2xs);padding-right:var(--ez-badge--padding-lg);padding-left:var(--ez-badge--padding-lg);font-size:var(--ez-badge--font-size-xs)}.badge__content--icon-lg{height:var(--ez-badge--size-lg, 24px);min-width:var(--ez-badge--size-lg, 24px);padding:var(--ez-badge--padding-md)}.badge__content--icon-md{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-md)}.badge__content--icon-sm{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-align-center{align-items:center}.badge__content--icon-align-start{align-items:flex-start}.badge__content--icon-align-end{align-items:flex-end}.badge__content--fill{position:absolute;top:0;inset-inline-end:0;z-index:var(--most-visible, 2)}.badge__content--fill-top-right{transform:translate(50%, -50%);position:absolute;top:0;right:0}.badge__content--fill-top-left{transform:translate(-50%, -50%);position:absolute;top:0;left:0}.badge__content--fill-bottom-left{transform:translate(-50%, 50%);position:absolute;bottom:0;left:0}.badge__content--fill-bottom-right{transform:translate(50%, 50%);position:absolute;bottom:0;right:0}";
|
|
19
19
|
|
|
20
20
|
const EzBadge = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -46,6 +46,7 @@ const EzBadge = class {
|
|
|
46
46
|
this.iconLeft = undefined;
|
|
47
47
|
this.iconRight = undefined;
|
|
48
48
|
this.position = { horizontal: "right", vertical: "top" };
|
|
49
|
+
this.alignItems = "center";
|
|
49
50
|
}
|
|
50
51
|
getIconSize() {
|
|
51
52
|
switch (this.size) {
|
|
@@ -60,6 +61,16 @@ const EzBadge = class {
|
|
|
60
61
|
return null;
|
|
61
62
|
}
|
|
62
63
|
}
|
|
64
|
+
getAlignItemsClass() {
|
|
65
|
+
switch (this.alignItems) {
|
|
66
|
+
case "flex-end":
|
|
67
|
+
return "end";
|
|
68
|
+
case "flex-start":
|
|
69
|
+
return "start";
|
|
70
|
+
default:
|
|
71
|
+
return "center";
|
|
72
|
+
}
|
|
73
|
+
}
|
|
63
74
|
componentDidLoad() {
|
|
64
75
|
if (this._element) {
|
|
65
76
|
core.ElementIDUtils.addIDInfo(this._element);
|
|
@@ -83,7 +94,8 @@ const EzBadge = class {
|
|
|
83
94
|
}
|
|
84
95
|
createContainerClassName() {
|
|
85
96
|
let sizeSufix = this._sizes[this.size].sufix;
|
|
86
|
-
let
|
|
97
|
+
let alignItemsClass = "badge__content--icon-align-" + this.getAlignItemsClass();
|
|
98
|
+
let containerClassNames = ["badge__content", alignItemsClass];
|
|
87
99
|
if (this.hasSlot) {
|
|
88
100
|
containerClassNames.push("badge__content--fill-" + sizeSufix);
|
|
89
101
|
if (this.position.vertical == "bottom" && this.position.horizontal == "right") {
|