@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-132280.3 → 0.0.0-bugfix-dev-KB-157120.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-006ca96f.js → ApplicationUtils-88dfe345.js} +1 -1
- package/dist/cjs/{app-globals-5cb12916.js → app-globals-c1d07d68.js} +1 -1
- package/dist/cjs/{classic-search-list_7.cjs.entry.js → classic-search-list_8.cjs.entry.js} +204 -6
- package/dist/cjs/ez-actions-button.cjs.entry.js +3 -3
- package/dist/cjs/ez-alert-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ez-badge.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +2 -2
- package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js +5 -3
- package/dist/cjs/ez-classic-date-input.cjs.entry.js +3 -3
- package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-classic-input.cjs.entry.js +50 -4
- package/dist/cjs/ez-classic-number-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js +27 -14
- package/dist/cjs/ez-classic-search.cjs.entry.js +3 -3
- package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
- package/dist/cjs/ez-classic-time-input.cjs.entry.js +5 -4
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +8 -3
- package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ez-double-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ez-empty-card.cjs.entry.js +2 -2
- package/dist/cjs/ez-file-item.cjs.entry.js +2 -2
- package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +23 -4
- package/dist/cjs/ez-form.cjs.entry.js +66 -44
- package/dist/cjs/ez-grid-pagination.cjs.entry.js +227 -0
- package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +236 -173
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +2 -2
- package/dist/cjs/ez-icon.cjs.entry.js +2 -2
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +2 -2
- package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal.cjs.entry.js +2 -2
- package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js +675 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-pagination.cjs.entry.js +2 -2
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +5 -6
- package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +82 -15
- package/dist/cjs/ez-search-plus.cjs.entry.js +26 -12
- package/dist/cjs/ez-search-result-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-search.cjs.entry.js +12 -5
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
- package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ez-sortable-list.cjs.entry.js +100 -115
- package/dist/cjs/ez-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-button.cjs.entry.js +5 -5
- package/dist/cjs/ez-split-item.cjs.entry.js +3 -3
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +210 -62
- package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-tag.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +22 -16
- package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
- package/dist/cjs/ez-tile.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +47 -9
- package/dist/cjs/ez-tree.cjs.entry.js +2 -2
- package/dist/cjs/ez-underface.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +3 -3
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +4 -4
- package/dist/cjs/filter-column.cjs.entry.js +10 -4
- package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-9c8bfebb.js} +258 -119
- package/dist/cjs/{index-350d0fa0.js → index-9739c242.js} +91 -30
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +16 -19
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{search-column-46d02656.js → search-column-6e90fb19.js} +19 -10
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +21 -2
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +1 -1
- package/dist/collection/components/ez-classic-input/ez-classic-input.js +47 -2
- package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +22 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +26 -11
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +3 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
- package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
- package/dist/collection/components/ez-form-view/ez-form-view.css +19 -5
- package/dist/collection/components/ez-form-view/ez-form-view.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js +17 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +163 -27
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +8 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
- package/dist/collection/components/ez-grid/ez-grid.css +5 -60
- package/dist/collection/components/ez-grid/ez-grid.js +52 -150
- package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css +10 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -1
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +1 -1
- package/dist/collection/components/ez-grid/utils/index.js +1 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +111 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +410 -0
- package/dist/collection/components/ez-icon/ez-icon.css +1153 -1146
- package/dist/collection/components/ez-image-input/ez-image-input.css +24 -8
- package/dist/collection/components/ez-image-input/ez-image-input.js +6 -1
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css +221 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js +555 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +27 -6
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +66 -10
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +20 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +36 -2
- package/dist/collection/components/ez-popup/ez-popup.js +3 -4
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
- package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
- package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
- package/dist/collection/components/ez-search/ez-search.css +4 -0
- package/dist/collection/components/ez-search/ez-search.js +22 -1
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +38 -10
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.js +2 -2
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +29 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
- package/dist/collection/components/ez-text-input/ez-text-input.js +21 -15
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +45 -7
- package/dist/collection/utils/form/FormMetadata.js +62 -40
- package/dist/collection/utils/i18n/locales/en-us.js +27 -4
- package/dist/collection/utils/i18n/locales/es-es.js +27 -4
- package/dist/collection/utils/i18n/locales/pt-br.js +27 -4
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
- package/dist/collection/utils/searchColumn/search-column.js +2 -5
- package/dist/custom-elements/index.d.ts +18 -0
- package/dist/custom-elements/index.js +1872 -634
- package/dist/esm/{ApplicationUtils-0c5cb207.js → ApplicationUtils-f7721533.js} +1 -1
- package/dist/esm/{app-globals-1db10325.js → app-globals-6e258867.js} +1 -1
- package/dist/esm/{classic-search-list_7.entry.js → classic-search-list_8.entry.js} +204 -7
- package/dist/esm/ez-actions-button.entry.js +3 -3
- package/dist/esm/ez-alert-list.entry.js +2 -2
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +2 -2
- package/dist/esm/ez-badge.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +2 -2
- package/dist/esm/ez-card-item.entry.js +1 -1
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-classic-combo-box.entry.js +5 -3
- package/dist/esm/ez-classic-date-input.entry.js +3 -3
- package/dist/esm/ez-classic-date-time-input.entry.js +2 -2
- package/dist/esm/ez-classic-input.entry.js +50 -4
- package/dist/esm/ez-classic-number-input.entry.js +2 -2
- package/dist/esm/ez-classic-search-plus.entry.js +27 -14
- package/dist/esm/ez-classic-search.entry.js +3 -3
- package/dist/esm/ez-classic-text-area.entry.js +13 -2
- package/dist/esm/ez-classic-time-input.entry.js +5 -4
- package/dist/esm/ez-collapsible-box.entry.js +3 -3
- package/dist/esm/ez-combo-box.entry.js +8 -3
- package/dist/esm/ez-date-input.entry.js +2 -2
- package/dist/esm/ez-date-time-input.entry.js +2 -2
- package/dist/esm/ez-dialog.entry.js +2 -2
- package/dist/esm/ez-double-list.entry.js +2 -2
- package/dist/esm/ez-dropdown.entry.js +2 -2
- package/dist/esm/ez-empty-card.entry.js +2 -2
- package/dist/esm/ez-file-item.entry.js +2 -2
- package/dist/esm/ez-filter-input.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +23 -4
- package/dist/esm/ez-form.entry.js +66 -44
- package/dist/esm/ez-grid-pagination.entry.js +223 -0
- package/dist/esm/ez-grid-view.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +237 -174
- package/dist/esm/ez-guide-navigator.entry.js +2 -2
- package/dist/esm/ez-icon.entry.js +2 -2
- package/dist/esm/ez-link-builder_6.entry.js +2 -2
- package/dist/esm/ez-list-item.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +2 -2
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +2 -2
- package/dist/esm/ez-modal.entry.js +2 -2
- package/dist/esm/ez-multi-selection-list_5.entry.js +667 -0
- package/dist/esm/ez-number-input.entry.js +2 -2
- package/dist/esm/ez-pagination.entry.js +2 -2
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +5 -6
- package/dist/esm/ez-progress-bar.entry.js +1 -1
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-record-navigation.entry.js +117 -0
- package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +82 -15
- package/dist/esm/ez-search-plus.entry.js +26 -12
- package/dist/esm/ez-search-result-list.entry.js +2 -2
- package/dist/esm/ez-search.entry.js +12 -5
- package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
- package/dist/esm/ez-skeleton.entry.js +2 -2
- package/dist/esm/ez-sortable-list.entry.js +100 -115
- package/dist/esm/ez-spinner.entry.js +2 -2
- package/dist/esm/ez-split-button.entry.js +5 -5
- package/dist/esm/ez-split-item.entry.js +3 -3
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +210 -62
- package/dist/esm/ez-tag-input.entry.js +1 -1
- package/dist/esm/ez-tag.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +1 -1
- package/dist/esm/ez-text-input.entry.js +22 -16
- package/dist/esm/ez-tile-medium.entry.js +1 -1
- package/dist/esm/ez-tile.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +2 -2
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +47 -9
- package/dist/esm/ez-tree.entry.js +2 -2
- package/dist/esm/ez-underface.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +3 -3
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezui.js +5 -5
- package/dist/esm/filter-column.entry.js +10 -4
- package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-0c464cef.js} +258 -120
- package/dist/esm/{index-225aa0c3.js → index-9e6dab5b.js} +91 -30
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +17 -19
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{search-column-2da15ef5.js → search-column-7d7f0331.js} +19 -10
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-01e652c6.entry.js +1 -0
- package/dist/ezui/p-0592535f.entry.js +1 -0
- package/dist/ezui/{p-3453dad5.entry.js → p-063bb342.entry.js} +1 -1
- package/dist/ezui/{p-75e650ff.entry.js → p-0ac8bd66.entry.js} +1 -1
- package/dist/ezui/p-0d80e3ec.entry.js +1 -0
- package/dist/ezui/{p-e039e049.entry.js → p-108503ed.entry.js} +1 -1
- package/dist/ezui/{p-29f0de90.entry.js → p-1166b2d5.entry.js} +1 -1
- package/dist/ezui/p-1222e1b6.entry.js +1 -0
- package/dist/ezui/p-15873627.js +1 -0
- package/dist/ezui/p-178cb9df.entry.js +1 -0
- package/dist/ezui/p-1b1b0af3.entry.js +1 -0
- package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
- package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
- package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/p-2856c545.entry.js +1 -0
- package/dist/ezui/{p-9d515e5b.entry.js → p-2ae127bc.entry.js} +1 -1
- package/dist/ezui/{p-05bcbe61.entry.js → p-2ebd7383.entry.js} +1 -1
- package/dist/ezui/p-3e84df1c.entry.js +1 -0
- package/dist/ezui/p-3fae7072.entry.js +1 -0
- package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
- package/dist/ezui/p-42e1e733.js +1 -0
- package/dist/ezui/{p-2fa490f1.entry.js → p-45245c32.entry.js} +1 -1
- package/dist/ezui/{p-534209bf.entry.js → p-46b1b2ac.entry.js} +1 -1
- package/dist/ezui/{p-12cc95dc.entry.js → p-54af1af0.entry.js} +1 -1
- package/dist/ezui/p-55434123.entry.js +1 -0
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/{p-51e34317.entry.js → p-6369a0cd.entry.js} +1 -1
- package/dist/ezui/p-6791d05f.entry.js +1 -0
- package/dist/ezui/{p-7fe5a9eb.entry.js → p-6d46f862.entry.js} +46 -46
- package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
- package/dist/ezui/p-6da0dc70.entry.js +1 -0
- package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
- package/dist/ezui/p-72e77b45.entry.js +1 -0
- package/dist/ezui/{p-636ea910.entry.js → p-73461028.entry.js} +1 -1
- package/dist/ezui/{p-a6ea8da3.entry.js → p-7424d520.entry.js} +1 -1
- package/dist/ezui/{p-9fb7131e.entry.js → p-7a07c50f.entry.js} +1 -1
- package/dist/ezui/p-7b078125.entry.js +1 -0
- package/dist/ezui/p-7df45688.entry.js +1 -0
- package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
- package/dist/ezui/{p-e963cb3f.entry.js → p-881abc22.entry.js} +1 -1
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
- package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
- package/dist/ezui/{p-82e1d7fc.entry.js → p-99556756.entry.js} +1 -1
- package/dist/ezui/{p-0ba284cd.entry.js → p-9bd78d39.entry.js} +1 -1
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
- package/dist/ezui/p-a11e4e8e.entry.js +1 -0
- package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
- package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/p-a9ab6cb9.entry.js +1 -0
- package/dist/ezui/{p-9825c1d2.js → p-ad5e263d.js} +1 -1
- package/dist/ezui/{p-d57ea090.entry.js → p-b06294c9.entry.js} +1 -1
- package/dist/ezui/{p-4a876b8b.entry.js → p-b50289bb.entry.js} +1 -1
- package/dist/ezui/p-b66ae5c5.entry.js +1 -0
- package/dist/ezui/{p-e0380234.entry.js → p-b8cd501a.entry.js} +1 -1
- package/dist/ezui/p-b986da95.entry.js +7 -0
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/{p-0820f8c3.entry.js → p-c25a4d30.entry.js} +1 -1
- package/dist/ezui/{p-55a9e4ba.entry.js → p-c37fb359.entry.js} +1 -1
- package/dist/ezui/{p-e0fd2ce5.entry.js → p-cb00863d.entry.js} +1 -1
- package/dist/ezui/{p-181cb82f.entry.js → p-d5684cdc.entry.js} +1 -1
- package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
- package/dist/ezui/{p-770cf2b8.entry.js → p-d6f50207.entry.js} +1 -1
- package/dist/ezui/{p-458027b5.entry.js → p-d70805e4.entry.js} +1 -1
- package/dist/ezui/p-d81a15fc.entry.js +1 -0
- package/dist/ezui/p-d8b69419.entry.js +1 -0
- package/dist/ezui/p-d8cc640d.entry.js +1 -0
- package/dist/ezui/p-de14fe07.js +1 -0
- package/dist/ezui/p-df6173c8.entry.js +1 -0
- package/dist/ezui/{p-be2e39c5.entry.js → p-dfced8c7.entry.js} +1 -1
- package/dist/ezui/{p-e275353b.entry.js → p-e3d6b544.entry.js} +1 -1
- package/dist/ezui/p-e63a0479.js +1 -0
- package/dist/ezui/{p-fe0bca65.entry.js → p-e692c2a7.entry.js} +1 -1
- package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
- package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
- package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
- package/dist/ezui/{p-75443a91.entry.js → p-e8cd003b.entry.js} +1 -1
- package/dist/ezui/p-ed790867.entry.js +1 -0
- package/dist/ezui/p-f2e0acf5.entry.js +1 -0
- package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
- package/dist/ezui/{p-f32d5a82.entry.js → p-f498f6b5.entry.js} +1 -1
- package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
- package/dist/ezui/{p-2c123fdf.entry.js → p-fb27b98d.entry.js} +1 -1
- package/dist/ezui/{p-d3aca6aa.entry.js → p-fc11f5b9.entry.js} +1 -1
- package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +2 -0
- package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +6 -0
- package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +3 -0
- package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
- package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +16 -0
- package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
- package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
- package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
- package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
- package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +75 -0
- package/dist/types/components/ez-image-input/ez-image-input.d.ts +1 -0
- package/dist/types/components/ez-multi-select-input/ez-multi-select-input.d.ts +119 -0
- package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +8 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +7 -0
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +9 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
- package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
- package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
- package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
- package/dist/types/components/ez-search/ez-search.d.ts +4 -0
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +6 -1
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +41 -20
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +2 -0
- package/dist/types/components.d.ts +407 -9
- package/dist/types/utils/i18n/locales/en-us.d.ts +26 -3
- package/dist/types/utils/i18n/locales/es-es.d.ts +26 -3
- package/dist/types/utils/i18n/locales/pt-br.d.ts +26 -3
- package/dist/types/utils/i18n/translations.d.ts +78 -9
- package/package.json +5 -6
- package/react/components.d.ts +3 -0
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -194
- package/dist/cjs/ez-popover-core.cjs.entry.js +0 -211
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +0 -243
- package/dist/esm/ez-multi-selection-list.entry.js +0 -190
- package/dist/esm/ez-popover-core.entry.js +0 -207
- package/dist/esm/ez-popover-plus_3.entry.js +0 -237
- package/dist/ezui/p-06f1b8e4.entry.js +0 -1
- package/dist/ezui/p-0d393a5d.entry.js +0 -1
- package/dist/ezui/p-14d6aeb8.entry.js +0 -1
- package/dist/ezui/p-169d460d.entry.js +0 -1
- package/dist/ezui/p-24993171.entry.js +0 -7
- package/dist/ezui/p-27421015.entry.js +0 -1
- package/dist/ezui/p-27c8a9b7.entry.js +0 -1
- package/dist/ezui/p-2a806303.js +0 -1
- package/dist/ezui/p-34d596a3.entry.js +0 -1
- package/dist/ezui/p-35e3715c.entry.js +0 -1
- package/dist/ezui/p-4d909730.entry.js +0 -1
- package/dist/ezui/p-4df2edb5.entry.js +0 -1
- package/dist/ezui/p-61c10e02.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-71b341cc.entry.js +0 -1
- package/dist/ezui/p-75e8862c.entry.js +0 -1
- package/dist/ezui/p-81a98a7c.entry.js +0 -1
- package/dist/ezui/p-87739608.entry.js +0 -1
- package/dist/ezui/p-892e7326.entry.js +0 -1
- package/dist/ezui/p-8f7373ab.entry.js +0 -1
- package/dist/ezui/p-986044d1.entry.js +0 -1
- package/dist/ezui/p-c178730b.js +0 -1
- package/dist/ezui/p-c754774e.entry.js +0 -1
- package/dist/ezui/p-c96e536d.entry.js +0 -1
- package/dist/ezui/p-ce2614fc.entry.js +0 -1
- package/dist/ezui/p-dc9781b3.entry.js +0 -1
- package/dist/ezui/p-e94d3af5.entry.js +0 -1
- package/dist/ezui/p-f0425f87.entry.js +0 -1
- package/dist/ezui/p-f1b54699.entry.js +0 -1
- package/dist/ezui/p-ff4312d5.js +0 -1
|
@@ -122,54 +122,75 @@ function parseTabToFormSheet(key, fields) {
|
|
|
122
122
|
function handleFields(config, sheets, hiddenTabs, dataUnit, requiredFields, cleanOnCopyFields, defaultValues) {
|
|
123
123
|
var _a;
|
|
124
124
|
(_a = config === null || config === void 0 ? void 0 : config.fields) === null || _a === void 0 ? void 0 : _a.forEach((field) => {
|
|
125
|
-
var _a, _b, _c;
|
|
126
|
-
if (field.visible
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
125
|
+
var _a, _b, _c, _d, _e, _f;
|
|
126
|
+
if (field.visible === false) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
if (!field.tab && ((_b = (_a = dataUnit.getField(field.name)) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.isPrimaryKey)) {
|
|
130
|
+
field.tab = "__main";
|
|
131
|
+
}
|
|
132
|
+
const tabConfig = getTabConfig(field.tab || "Geral", sheets, config);
|
|
133
|
+
if (hiddenTabs.has(tabConfig.label)) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const descriptor = dataUnit.getField(field.name);
|
|
137
|
+
const fieldVisible = (descriptor === null || descriptor === void 0 ? void 0 : descriptor.visible) == undefined || (descriptor === null || descriptor === void 0 ? void 0 : descriptor.visible) === true;
|
|
138
|
+
if (descriptor && fieldVisible && tabConfig.visible) {
|
|
139
|
+
if (!sheets.has(tabConfig)) {
|
|
140
|
+
sheets.set(tabConfig, []);
|
|
130
141
|
}
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
if (
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
try {
|
|
155
|
-
const parsed = JSON.parse(value);
|
|
156
|
-
if (parsed && "value" in parsed) {
|
|
157
|
-
defaultValue = parsed;
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
defaultValue = value;
|
|
161
|
-
}
|
|
142
|
+
const formField = buildFieldMetadata(descriptor, field);
|
|
143
|
+
(_c = sheets.get(tabConfig)) === null || _c === void 0 ? void 0 : _c.push(formField);
|
|
144
|
+
if (formField.required) {
|
|
145
|
+
requiredFields.push(field.name);
|
|
146
|
+
}
|
|
147
|
+
const cleanOnCopy = field.cleanOnCopy == undefined ? (_d = descriptor.properties) === null || _d === void 0 ? void 0 : _d.cleanOnCopy : field.cleanOnCopy;
|
|
148
|
+
if (cleanOnCopy || ((_e = descriptor.properties) === null || _e === void 0 ? void 0 : _e.cleanOnCopy)) {
|
|
149
|
+
cleanOnCopyFields.push(field.name);
|
|
150
|
+
}
|
|
151
|
+
let defaultValue = field.defaultValue == undefined ? (_f = descriptor.properties) === null || _f === void 0 ? void 0 : _f.defaultValue : field.defaultValue;
|
|
152
|
+
if (defaultValue && defaultValue.value != undefined) {
|
|
153
|
+
const { type, value } = defaultValue;
|
|
154
|
+
if (type) {
|
|
155
|
+
if (type === "V") {
|
|
156
|
+
defaultValue = value;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
try {
|
|
160
|
+
const parsed = JSON.parse(value);
|
|
161
|
+
if (parsed && "value" in parsed) {
|
|
162
|
+
defaultValue = parsed;
|
|
162
163
|
}
|
|
163
|
-
|
|
164
|
+
else {
|
|
165
|
+
defaultValue = value;
|
|
164
166
|
}
|
|
165
167
|
}
|
|
168
|
+
catch (_g) {
|
|
169
|
+
}
|
|
166
170
|
}
|
|
167
|
-
defaultValues[field.name] = defaultValue;
|
|
168
171
|
}
|
|
172
|
+
defaultValues[field.name] = defaultValue;
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
});
|
|
172
176
|
}
|
|
177
|
+
function getDistinctTabs(config) {
|
|
178
|
+
var _a, _b;
|
|
179
|
+
const fieldTabs = (_b = (_a = config.fields) === null || _a === void 0 ? void 0 : _a.map((field, index) => ({
|
|
180
|
+
label: field.tab,
|
|
181
|
+
name: field.tab,
|
|
182
|
+
order: index,
|
|
183
|
+
visible: true,
|
|
184
|
+
isDetail: false,
|
|
185
|
+
isCustom: false,
|
|
186
|
+
}))) !== null && _b !== void 0 ? _b : [];
|
|
187
|
+
return fieldTabs.reduce((total, item) => {
|
|
188
|
+
if (!total.some((tab) => tab.name === item.name)) {
|
|
189
|
+
return [...total, item];
|
|
190
|
+
}
|
|
191
|
+
return total;
|
|
192
|
+
}, []);
|
|
193
|
+
}
|
|
173
194
|
export const buildFormMetadata = (config, dataUnit, includeDetails = false, customGuides) => {
|
|
174
195
|
var _a;
|
|
175
196
|
if (config == undefined || (config === null || config === void 0 ? void 0 : config.emptyConfig) === true) {
|
|
@@ -180,7 +201,7 @@ export const buildFormMetadata = (config, dataUnit, includeDetails = false, cust
|
|
|
180
201
|
const requiredFields = [];
|
|
181
202
|
const cleanOnCopyFields = [];
|
|
182
203
|
const defaultValues = {};
|
|
183
|
-
const tabs = (_a = config === null || config === void 0 ? void 0 : config.tabs) !== null && _a !== void 0 ? _a :
|
|
204
|
+
const tabs = (_a = config === null || config === void 0 ? void 0 : config.tabs) !== null && _a !== void 0 ? _a : getDistinctTabs(config);
|
|
184
205
|
tabs.forEach((tab) => {
|
|
185
206
|
if (!hiddenTabs.has(tab.label) && tab.visible === false) {
|
|
186
207
|
hiddenTabs.set(tab.label, tab);
|
|
@@ -212,7 +233,8 @@ const getTabFromConfig = (tab, config) => {
|
|
|
212
233
|
if (!config) {
|
|
213
234
|
return;
|
|
214
235
|
}
|
|
215
|
-
|
|
236
|
+
const tabs = (_a = config === null || config === void 0 ? void 0 : config.tabs) !== null && _a !== void 0 ? _a : getDistinctTabs(config);
|
|
237
|
+
return tabs === null || tabs === void 0 ? void 0 : tabs.find(t => t.label === tab);
|
|
216
238
|
};
|
|
217
239
|
const getTabConfig = (tab, sheets, config) => {
|
|
218
240
|
if (typeof tab !== "string") {
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
defaultLabel: "Upload Image",
|
|
35
35
|
imageAlt: "Uploaded image",
|
|
36
36
|
removeImage: "Remove image",
|
|
37
|
+
editImage: "Edit image",
|
|
37
38
|
invalidFileType: "The selected file is not a valid image.",
|
|
38
39
|
fileTooLarge: "The image must be less than {{maxSize}}.",
|
|
39
40
|
imagePreview: "Image Preview",
|
|
@@ -81,6 +82,9 @@ export default {
|
|
|
81
82
|
"ez-date-input": {
|
|
82
83
|
invalidDate: "The entered value is not a valid date"
|
|
83
84
|
},
|
|
85
|
+
"ez-classic-date-input": {
|
|
86
|
+
invalidDate: "The entered value is not a valid date"
|
|
87
|
+
},
|
|
84
88
|
"ez-dialog": {
|
|
85
89
|
confirmButton: "Confirm or OK button",
|
|
86
90
|
closeButton: "Close or X button"
|
|
@@ -98,16 +102,27 @@ export default {
|
|
|
98
102
|
"ez-file-item": {
|
|
99
103
|
invalidProgress: "The upload progress must be a number between 0 and 100."
|
|
100
104
|
},
|
|
105
|
+
"ez-record-navigation": {
|
|
106
|
+
previousRecord: "Previous record",
|
|
107
|
+
nextRecord: "Next record",
|
|
108
|
+
},
|
|
109
|
+
"ez-grid-pagination": {
|
|
110
|
+
cancelPagination: "Cancel pagination",
|
|
111
|
+
firstPage: 'First page',
|
|
112
|
+
lastPage: 'Last page',
|
|
113
|
+
previousPage: "Previous page",
|
|
114
|
+
nextPage: "Next page",
|
|
115
|
+
remainingPageLabel: " from {{count}} or more",
|
|
116
|
+
remainingTotalLabel: " from {{total}}",
|
|
117
|
+
pageCounter: "Page {{currentPage}} from {{totalPages}}",
|
|
118
|
+
},
|
|
101
119
|
"ez-grid": {
|
|
102
120
|
filterAppliedSuccess: "Column filter applied successfully!",
|
|
103
|
-
cancelPagination: "Cancel pagination",
|
|
104
121
|
pageLabel: "Page {{currentPage}}",
|
|
105
122
|
previousPage: "Previous page",
|
|
106
123
|
nextPage: "Next page",
|
|
107
124
|
returnToPreviousPage: "Return to the previous page.",
|
|
108
125
|
goToNextPage: "Move to the next page.",
|
|
109
|
-
remainingPageLabel: " from {{count}} or more",
|
|
110
|
-
remainingTotalLabel: " from {{total}}",
|
|
111
126
|
nextRecord: "Move to the next record.",
|
|
112
127
|
previousRecord: "Return to the previous record.",
|
|
113
128
|
searchColumn: "Search by column.",
|
|
@@ -127,7 +142,7 @@ export default {
|
|
|
127
142
|
last: "Last",
|
|
128
143
|
first: "First",
|
|
129
144
|
previous: "Previous",
|
|
130
|
-
loadingOoo: "
|
|
145
|
+
loadingOoo: "",
|
|
131
146
|
selectAll: "Select all",
|
|
132
147
|
searchOoo: "Search",
|
|
133
148
|
blanks: "Blanks",
|
|
@@ -269,6 +284,7 @@ export default {
|
|
|
269
284
|
emptyList: "No results found",
|
|
270
285
|
optionLoaderNotDefined: "optionLoader not defined",
|
|
271
286
|
defaultCodeLabel: "Code",
|
|
287
|
+
clearValue: "Clear value",
|
|
272
288
|
},
|
|
273
289
|
"ez-sortable-list": {
|
|
274
290
|
emptyMessage: "No items in the list",
|
|
@@ -286,6 +302,9 @@ export default {
|
|
|
286
302
|
"ez-time-input": {
|
|
287
303
|
invalidTime: "Please enter a valid time.",
|
|
288
304
|
},
|
|
305
|
+
"ez-classic-time-input": {
|
|
306
|
+
invalidTime: "Please enter a valid time.",
|
|
307
|
+
},
|
|
289
308
|
"ez-sidebar": {
|
|
290
309
|
unPinMenu: "Unpin menu",
|
|
291
310
|
pushPinMenu: "Pin menu",
|
|
@@ -307,6 +326,10 @@ export default {
|
|
|
307
326
|
},
|
|
308
327
|
spinner: {
|
|
309
328
|
loading: "Loading..."
|
|
329
|
+
},
|
|
330
|
+
"ez-scroller": {
|
|
331
|
+
previousButton: "Previous",
|
|
332
|
+
nextButton: "Next"
|
|
310
333
|
}
|
|
311
334
|
}
|
|
312
335
|
};
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
defaultLabel: "Subir Imagen",
|
|
35
35
|
imageAlt: "Imagen cargada",
|
|
36
36
|
removeImage: "Eliminar imagen",
|
|
37
|
+
editImage: "Editar imagen",
|
|
37
38
|
invalidFileType: "El archivo seleccionado no es una imagen válida.",
|
|
38
39
|
fileTooLarge: "La imagen debe tener menos de {{maxSize}}.",
|
|
39
40
|
imagePreview: "Vista Previa de Imagen",
|
|
@@ -81,6 +82,9 @@ export default {
|
|
|
81
82
|
"ez-date-input": {
|
|
82
83
|
invalidDate: "El valor ingresado no es una fecha válida"
|
|
83
84
|
},
|
|
85
|
+
"ez-classic-date-input": {
|
|
86
|
+
invalidDate: "El valor ingresado no es una fecha válida"
|
|
87
|
+
},
|
|
84
88
|
"ez-dialog": {
|
|
85
89
|
confirmButton: "Botón de confirmación o OK",
|
|
86
90
|
closeButton: "Botón de cerrar o X"
|
|
@@ -98,16 +102,27 @@ export default {
|
|
|
98
102
|
"ez-file-item": {
|
|
99
103
|
invalidProgress: "El progreso de carga debe ser un número entre 0 y 100."
|
|
100
104
|
},
|
|
105
|
+
"ez-record-navigation": {
|
|
106
|
+
previousRecord: "Registro anterior",
|
|
107
|
+
nextRecord: "Siguiente registro",
|
|
108
|
+
},
|
|
109
|
+
"ez-grid-pagination": {
|
|
110
|
+
cancelPagination: "Cancelar paginación",
|
|
111
|
+
firstPage: 'Primeira página',
|
|
112
|
+
lastPage: 'Última página',
|
|
113
|
+
previousPage: "Página anterior",
|
|
114
|
+
nextPage: "Página siguiente",
|
|
115
|
+
remainingPageLabel: " de {{count}} o más",
|
|
116
|
+
remainingTotalLabel: " de {{total}}",
|
|
117
|
+
pageCounter: "Página {{currentPage}} de {{totalPages}}",
|
|
118
|
+
},
|
|
101
119
|
"ez-grid": {
|
|
102
120
|
filterAppliedSuccess: "¡Filtro de columna aplicado con éxito!",
|
|
103
|
-
cancelPagination: "Cancelar paginación",
|
|
104
121
|
pageLabel: "Página {{currentPage}}",
|
|
105
122
|
previousPage: "Página anterior",
|
|
106
123
|
nextPage: "Página siguiente",
|
|
107
124
|
returnToPreviousPage: "Volver a la página anterior.",
|
|
108
125
|
goToNextPage: "Avanzar a la página siguiente.",
|
|
109
|
-
remainingPageLabel: " de {{count}} o más",
|
|
110
|
-
remainingTotalLabel: " de {{total}}",
|
|
111
126
|
nextRecord: "Avanzar al siguiente registro.",
|
|
112
127
|
previousRecord: "Volver al registro anterior.",
|
|
113
128
|
searchColumn: "Buscar por columna.",
|
|
@@ -127,7 +142,7 @@ export default {
|
|
|
127
142
|
last: "Último",
|
|
128
143
|
first: "Primero",
|
|
129
144
|
previous: "Anterior",
|
|
130
|
-
loadingOoo: "
|
|
145
|
+
loadingOoo: "",
|
|
131
146
|
selectAll: "Seleccionar todo",
|
|
132
147
|
searchOoo: "Buscar",
|
|
133
148
|
blanks: "Vacío",
|
|
@@ -269,6 +284,7 @@ export default {
|
|
|
269
284
|
emptyList: "No se encontraron resultados",
|
|
270
285
|
optionLoaderNotDefined: "optionLoader no definido",
|
|
271
286
|
defaultCodeLabel: "Cód.",
|
|
287
|
+
clearValue: "Limpiar valor",
|
|
272
288
|
},
|
|
273
289
|
"ez-sortable-list": {
|
|
274
290
|
emptyMessage: "No hay elementos en la lista",
|
|
@@ -286,6 +302,9 @@ export default {
|
|
|
286
302
|
"ez-time-input": {
|
|
287
303
|
invalidTime: "Por favor, ingrese una hora válida.",
|
|
288
304
|
},
|
|
305
|
+
"ez-classic-time-input": {
|
|
306
|
+
invalidTime: "Por favor, ingrese una hora válida.",
|
|
307
|
+
},
|
|
289
308
|
"ez-sidebar": {
|
|
290
309
|
unPinMenu: "Desanclar menú",
|
|
291
310
|
pushPinMenu: "Anclar menú",
|
|
@@ -307,6 +326,10 @@ export default {
|
|
|
307
326
|
},
|
|
308
327
|
spinner: {
|
|
309
328
|
loading: "Cargando...",
|
|
329
|
+
},
|
|
330
|
+
"ez-scroller": {
|
|
331
|
+
previousButton: "Anterior",
|
|
332
|
+
nextButton: "Siguiente"
|
|
310
333
|
}
|
|
311
334
|
}
|
|
312
335
|
};
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
defaultLabel: "Enviar Imagem",
|
|
35
35
|
imageAlt: "Imagem carregada",
|
|
36
36
|
removeImage: "Remover imagem",
|
|
37
|
+
editImage: "Editar imagem",
|
|
37
38
|
invalidFileType: "O arquivo selecionado não é uma imagem válida.",
|
|
38
39
|
fileTooLarge: "A imagem deve ter menos de {{maxSize}}.",
|
|
39
40
|
imagePreview: "Visualizar Imagem",
|
|
@@ -81,6 +82,9 @@ export default {
|
|
|
81
82
|
"ez-date-input": {
|
|
82
83
|
invalidDate: "O valor digitado não é uma data válida"
|
|
83
84
|
},
|
|
85
|
+
"ez-classic-date-input": {
|
|
86
|
+
invalidDate: "O valor digitado não é uma data válida"
|
|
87
|
+
},
|
|
84
88
|
"ez-dialog": {
|
|
85
89
|
confirmButton: "Botão de confirmação ou OK",
|
|
86
90
|
closeButton: "Botão de fechar ou X"
|
|
@@ -98,16 +102,27 @@ export default {
|
|
|
98
102
|
"ez-file-item": {
|
|
99
103
|
invalidProgress: "O progresso de upload deve ser um número entre 0 e 100."
|
|
100
104
|
},
|
|
105
|
+
"ez-record-navigation": {
|
|
106
|
+
previousRecord: "Registro anterior",
|
|
107
|
+
nextRecord: "Próximo registro",
|
|
108
|
+
},
|
|
109
|
+
"ez-grid-pagination": {
|
|
110
|
+
cancelPagination: "Cancelar paginação",
|
|
111
|
+
firstPage: 'Primeira página',
|
|
112
|
+
lastPage: 'Última página',
|
|
113
|
+
previousPage: "Página anterior",
|
|
114
|
+
nextPage: "Próxima página",
|
|
115
|
+
remainingPageLabel: " de {{count}} ou mais",
|
|
116
|
+
remainingTotalLabel: " de {{total}}",
|
|
117
|
+
pageCounter: "Página {{currentPage}} de {{totalPages}}",
|
|
118
|
+
},
|
|
101
119
|
"ez-grid": {
|
|
102
120
|
filterAppliedSuccess: "Filtro de coluna aplicado com sucesso!",
|
|
103
|
-
cancelPagination: "Cancelar paginação",
|
|
104
121
|
pageLabel: "Página {{currentPage}}",
|
|
105
122
|
previousPage: "Página anterior",
|
|
106
123
|
nextPage: "Próxima página",
|
|
107
124
|
returnToPreviousPage: "Retorna à página anterior.",
|
|
108
125
|
goToNextPage: "Avança para a próxima página.",
|
|
109
|
-
remainingPageLabel: " de {{count}} ou mais",
|
|
110
|
-
remainingTotalLabel: " de {{total}}",
|
|
111
126
|
nextRecord: "Avança para o próximo registro.",
|
|
112
127
|
previousRecord: "Retorna ao registro anterior.",
|
|
113
128
|
searchColumn: "Busca por coluna.",
|
|
@@ -127,7 +142,7 @@ export default {
|
|
|
127
142
|
last: "Último",
|
|
128
143
|
first: "Primeiro",
|
|
129
144
|
previous: "Anterior",
|
|
130
|
-
loadingOoo: "
|
|
145
|
+
loadingOoo: "",
|
|
131
146
|
selectAll: "Selecionar tudo",
|
|
132
147
|
searchOoo: "Procurar",
|
|
133
148
|
blanks: "Vazio",
|
|
@@ -269,6 +284,7 @@ export default {
|
|
|
269
284
|
emptyList: "Nenhum resultado encontrado",
|
|
270
285
|
optionLoaderNotDefined: "optionLoader não definido",
|
|
271
286
|
defaultCodeLabel: "Cód.",
|
|
287
|
+
clearValue: "Limpar valor",
|
|
272
288
|
},
|
|
273
289
|
"ez-sortable-list": {
|
|
274
290
|
emptyMessage: "Nenhum item na lista",
|
|
@@ -286,6 +302,9 @@ export default {
|
|
|
286
302
|
"ez-time-input": {
|
|
287
303
|
invalidTime: "Favor inserir um horário válido.",
|
|
288
304
|
},
|
|
305
|
+
"ez-classic-time-input": {
|
|
306
|
+
invalidTime: "Favor inserir um horário válido.",
|
|
307
|
+
},
|
|
289
308
|
"ez-sidebar": {
|
|
290
309
|
unPinMenu: "Desafixar menu",
|
|
291
310
|
pushPinMenu: "Fixar menu",
|
|
@@ -307,6 +326,10 @@ export default {
|
|
|
307
326
|
},
|
|
308
327
|
spinner: {
|
|
309
328
|
loading: "Carregando..."
|
|
329
|
+
},
|
|
330
|
+
"ez-scroller": {
|
|
331
|
+
previousButton: "Anterior",
|
|
332
|
+
nextButton: "Próximo"
|
|
310
333
|
}
|
|
311
334
|
}
|
|
312
335
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { UserInterface } from "@sankhyalabs/core";
|
|
2
|
+
const isSystemRequired = (descriptor) => {
|
|
3
|
+
var _a;
|
|
4
|
+
return (descriptor === null || descriptor === void 0 ? void 0 : descriptor.required) === true || ((_a = descriptor === null || descriptor === void 0 ? void 0 : descriptor.properties) === null || _a === void 0 ? void 0 : _a.systemRequired) === 'S';
|
|
5
|
+
};
|
|
6
|
+
const isSystemReadOnly = (descriptor) => {
|
|
7
|
+
var _a;
|
|
8
|
+
return (descriptor === null || descriptor === void 0 ? void 0 : descriptor.readOnly) === true || ((_a = descriptor === null || descriptor === void 0 ? void 0 : descriptor.properties) === null || _a === void 0 ? void 0 : _a.systemReadOnly) === 'S';
|
|
9
|
+
};
|
|
2
10
|
export const buildFieldMetadata = (descriptor, config) => {
|
|
3
11
|
var _a, _b;
|
|
4
12
|
let { name, label, group } = Object.assign({}, config);
|
|
@@ -8,8 +16,12 @@ export const buildFieldMetadata = (descriptor, config) => {
|
|
|
8
16
|
if (descriptor) {
|
|
9
17
|
label = label || descriptor.label;
|
|
10
18
|
name = name || descriptor.name;
|
|
11
|
-
required = (
|
|
12
|
-
|
|
19
|
+
required = isSystemRequired(descriptor)
|
|
20
|
+
? true
|
|
21
|
+
: ((_a = config === null || config === void 0 ? void 0 : config.required) !== null && _a !== void 0 ? _a : descriptor.required);
|
|
22
|
+
readOnly = isSystemReadOnly(descriptor)
|
|
23
|
+
? true
|
|
24
|
+
: ((_b = config === null || config === void 0 ? void 0 : config.readOnly) !== null && _b !== void 0 ? _b : descriptor.readOnly);
|
|
13
25
|
props = descriptor.properties;
|
|
14
26
|
userInterface = descriptor.userInterface;
|
|
15
27
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
export const SHORTCUT_SEARCH_FIELD = "ctrl+f";
|
|
3
3
|
export const SEARCH_FIELD_FULL_WIDTH = 240;
|
|
4
|
-
const SEARCH_FIELD_MARGIN_BOTTOM = "0px";
|
|
5
|
-
const SEARCH_FIELD_WIDTH = String(SEARCH_FIELD_FULL_WIDTH - 30) + "px";
|
|
6
4
|
export const buildFieldSearch = (action, optionLoader, onSelectField) => {
|
|
7
|
-
return h("ez-search", { class: 'ez-padding--
|
|
8
|
-
"--ez-
|
|
9
|
-
"--ez-search--width": SEARCH_FIELD_WIDTH
|
|
5
|
+
return h("ez-search", { class: 'ez-padding--medium', style: {
|
|
6
|
+
"--ez-search--min-width": `${SEARCH_FIELD_FULL_WIDTH}px`
|
|
10
7
|
}, canShowError: false, showSelectedValue: false, showOptionValue: false, suppressEmptyOption: true, label: action.label, value: null, optionLoader: optionLoader, onEzChange: (evt) => {
|
|
11
8
|
window.dispatchEvent(new CustomEvent('ezCloseSplitButtonDropdown', { detail: { action, value: evt.detail } }));
|
|
12
9
|
requestAnimationFrame(() => {
|
|
@@ -236,6 +236,12 @@ export const EzGrid: {
|
|
|
236
236
|
new (): EzGrid;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
+
interface EzGridPagination extends Components.EzGridPagination, HTMLElement {}
|
|
240
|
+
export const EzGridPagination: {
|
|
241
|
+
prototype: EzGridPagination;
|
|
242
|
+
new (): EzGridPagination;
|
|
243
|
+
};
|
|
244
|
+
|
|
239
245
|
interface EzGridView extends Components.EzGridView, HTMLElement {}
|
|
240
246
|
export const EzGridView: {
|
|
241
247
|
prototype: EzGridView;
|
|
@@ -296,6 +302,12 @@ export const EzModalContainer: {
|
|
|
296
302
|
new (): EzModalContainer;
|
|
297
303
|
};
|
|
298
304
|
|
|
305
|
+
interface EzMultiSelectInput extends Components.EzMultiSelectInput, HTMLElement {}
|
|
306
|
+
export const EzMultiSelectInput: {
|
|
307
|
+
prototype: EzMultiSelectInput;
|
|
308
|
+
new (): EzMultiSelectInput;
|
|
309
|
+
};
|
|
310
|
+
|
|
299
311
|
interface EzMultiSelectionList extends Components.EzMultiSelectionList, HTMLElement {}
|
|
300
312
|
export const EzMultiSelectionList: {
|
|
301
313
|
prototype: EzMultiSelectionList;
|
|
@@ -350,6 +362,12 @@ export const EzRadioButton: {
|
|
|
350
362
|
new (): EzRadioButton;
|
|
351
363
|
};
|
|
352
364
|
|
|
365
|
+
interface EzRecordNavigation extends Components.EzRecordNavigation, HTMLElement {}
|
|
366
|
+
export const EzRecordNavigation: {
|
|
367
|
+
prototype: EzRecordNavigation;
|
|
368
|
+
new (): EzRecordNavigation;
|
|
369
|
+
};
|
|
370
|
+
|
|
353
371
|
interface EzRichText extends Components.EzRichText, HTMLElement {}
|
|
354
372
|
export const EzRichText: {
|
|
355
373
|
prototype: EzRichText;
|