@sankhyalabs/ezui 6.1.0-dev.2 → 6.1.0-dev.21
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 → ApplicationUtils-39807831.js} +43 -15
- package/dist/cjs/RichToolbarHelper-ea12328f.js +33 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/app-globals-86776e90.js +12 -0
- package/dist/cjs/{constants-569271bc.js → constants-72b7e05e.js} +0 -2
- package/dist/cjs/ez-actions-button.cjs.entry.js +3 -2
- package/dist/cjs/ez-alert-list.cjs.entry.js +6 -4
- 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 +7 -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 +8 -7
- package/dist/cjs/ez-card-item_2.cjs.entry.js +2 -2
- package/dist/cjs/ez-chart.cjs.entry.js +4 -19
- package/dist/cjs/ez-check.cjs.entry.js +2 -2
- package/dist/cjs/ez-chip.cjs.entry.js +3 -2
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +15 -12
- package/dist/cjs/{ez-combo-box-list_3.cjs.entry.js → ez-combo-box-list_4.cjs.entry.js} +292 -6
- package/dist/cjs/ez-combo-box.cjs.entry.js +33 -15
- package/dist/cjs/ez-date-input.cjs.entry.js +6 -2
- package/dist/cjs/ez-date-time-input.cjs.entry.js +6 -2
- package/dist/cjs/ez-dialog.cjs.entry.js +9 -7
- package/dist/cjs/ez-double-list.cjs.entry.js +13 -5
- package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ez-empty-card.cjs.entry.js +34 -0
- package/dist/cjs/ez-file-item.cjs.entry.js +10 -7
- package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +13 -5
- package/dist/cjs/ez-form.cjs.entry.js +5 -4
- package/dist/cjs/ez-grid.cjs.entry.js +172 -133
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +6 -2
- package/dist/cjs/ez-icon.cjs.entry.js +2 -2
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +315 -0
- package/dist/cjs/ez-list.cjs.entry.js +5 -3
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +7 -3
- package/dist/cjs/ez-modal.cjs.entry.js +6 -2
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +10 -6
- package/dist/cjs/ez-number-input.cjs.entry.js +6 -2
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +27 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-search-plus.cjs.entry.js +19 -10
- package/dist/cjs/ez-search-result-list.cjs.entry.js +25 -8
- package/dist/cjs/ez-search.cjs.entry.js +9 -10
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +6 -8
- package/dist/cjs/ez-skeleton.cjs.entry.js +6 -4
- package/dist/cjs/ez-sortable-list.cjs.entry.js +13 -6
- package/dist/cjs/ez-split-button.cjs.entry.js +6 -5
- package/dist/cjs/ez-split-item.cjs.entry.js +7 -3
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +35 -28
- package/dist/cjs/ez-text-input.cjs.entry.js +3 -2
- package/dist/cjs/ez-tile.cjs.entry.js +62 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +13 -11
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/{ez-filter-input_2.cjs.entry.js → ez-tooltip.cjs.entry.js} +2 -124
- package/dist/cjs/ez-tree.cjs.entry.js +6 -2
- package/dist/cjs/ez-upload.cjs.entry.js +18 -12
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +6 -2
- package/dist/cjs/filter-column.cjs.entry.js +9 -5
- package/dist/cjs/index-02854309.js +3672 -0
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +32 -15
- package/dist/cjs/loader.cjs.js +6 -2
- package/dist/cjs/purify-a7dc3a08.js +1354 -0
- package/dist/cjs/{search-column-1d3c9fa5.js → search-column-82c52e20.js} +11 -5
- package/dist/collection/collection-manifest.json +27 -1
- package/dist/collection/components/ez-alert-list/ez-alert-list.js +5 -3
- package/dist/collection/components/ez-avatar/ez-avatar.js +5 -1
- package/dist/collection/components/ez-calendar/ez-calendar.js +7 -6
- package/dist/collection/components/ez-check/ez-check.css +1 -1
- package/dist/collection/components/ez-chip/ez-chip.js +20 -1
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -9
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +7 -4
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +50 -15
- package/dist/collection/components/ez-date-input/ez-date-input.js +5 -1
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +5 -1
- package/dist/collection/components/ez-dialog/ez-dialog.js +8 -6
- package/dist/collection/components/ez-double-list/ez-double-list.js +12 -4
- package/dist/collection/components/ez-empty-card/ez-empty-card.css +55 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.js +91 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js +9 -6
- package/dist/collection/components/ez-form/ez-form.js +1 -1
- package/dist/collection/components/ez-form-view/ez-form-view.js +4 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +4 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +38 -11
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +14 -4
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +4 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +3 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js +67 -0
- package/dist/collection/components/ez-grid/ez-grid.js +15 -13
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -3
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +2 -2
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js +11 -7
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +5 -1
- package/dist/collection/components/ez-icon/ez-icon.css +147 -140
- package/dist/collection/components/ez-list/ez-list.js +4 -2
- package/dist/collection/components/ez-modal/ez-modal.js +5 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +2 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +5 -1
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +9 -5
- package/dist/collection/components/ez-number-input/ez-number-input.js +5 -1
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +3 -2
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css +22 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js +135 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.css +30 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.js +575 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js +27 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css +4 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js +23 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css +4 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js +23 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css +20 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js +122 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css +4 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js +23 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css +42 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js +187 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css +70 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js +220 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js +1 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js +14 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js +10 -0
- package/dist/collection/components/ez-search/ez-search.js +7 -8
- package/dist/collection/components/ez-search-plus/ez-search-plus.css +2 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +16 -7
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +27 -7
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +5 -2
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +0 -1
- package/dist/collection/components/ez-skeleton/ez-skeleton.js +4 -2
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +15 -11
- package/dist/collection/components/ez-split-button/ez-split-button.js +6 -6
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +5 -1
- package/dist/collection/components/ez-text-area/ez-text-area.css +244 -212
- package/dist/collection/components/ez-text-area/ez-text-area.js +35 -28
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +5 -1
- package/dist/collection/components/ez-text-input/ez-text-input.js +2 -1
- package/dist/collection/components/ez-tile/ez-tile.css +151 -0
- package/dist/collection/components/ez-tile/ez-tile.js +269 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +12 -10
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +1 -1
- package/dist/collection/components/ez-tree/ez-tree.js +5 -1
- package/dist/collection/components/ez-upload/ez-upload.js +18 -12
- package/dist/collection/global/app-init.js +6 -0
- package/dist/collection/setupTests.js +1 -1
- package/dist/collection/utils/ApplicationUtils.js +43 -15
- package/dist/collection/utils/constants.js +0 -1
- package/dist/collection/utils/i18n/elanguages.js +6 -0
- package/dist/collection/utils/i18n/i18nUtils.js +20 -0
- package/dist/collection/utils/i18n/index.js +30 -0
- package/dist/collection/utils/i18n/locales/en-us.js +275 -0
- package/dist/collection/utils/i18n/locales/es-es.js +275 -0
- package/dist/collection/utils/i18n/locales/pt-br.js +275 -0
- package/dist/collection/utils/i18n/translations.js +9 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +8 -2
- package/dist/custom-elements/index.d.ts +60 -0
- package/dist/custom-elements/index.js +6252 -308
- package/dist/esm/{ApplicationUtils-eaf91331.js → ApplicationUtils-72f474e8.js} +43 -15
- package/dist/esm/RichToolbarHelper-f3a149c4.js +29 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/app-globals-2ccb253f.js +10 -0
- package/dist/esm/{constants-b036528f.js → constants-3fabe81e.js} +1 -2
- package/dist/esm/ez-actions-button.entry.js +3 -2
- package/dist/esm/ez-alert-list.entry.js +6 -4
- 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 +7 -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 +8 -7
- package/dist/esm/ez-card-item_2.entry.js +2 -2
- package/dist/esm/ez-chart.entry.js +2 -17
- package/dist/esm/ez-check.entry.js +2 -2
- package/dist/esm/ez-chip.entry.js +3 -2
- package/dist/esm/ez-collapsible-box.entry.js +15 -12
- package/dist/esm/{ez-combo-box-list_3.entry.js → ez-combo-box-list_4.entry.js} +293 -8
- package/dist/esm/ez-combo-box.entry.js +33 -15
- package/dist/esm/ez-date-input.entry.js +6 -2
- package/dist/esm/ez-date-time-input.entry.js +6 -2
- package/dist/esm/ez-dialog.entry.js +9 -7
- package/dist/esm/ez-double-list.entry.js +13 -5
- package/dist/esm/ez-dropdown.entry.js +1 -1
- package/dist/esm/ez-empty-card.entry.js +30 -0
- package/dist/esm/ez-file-item.entry.js +10 -7
- package/dist/esm/ez-filter-input.entry.js +125 -0
- package/dist/esm/ez-form-view.entry.js +13 -5
- package/dist/esm/ez-form.entry.js +5 -4
- package/dist/esm/ez-grid.entry.js +155 -116
- package/dist/esm/ez-guide-navigator.entry.js +6 -2
- package/dist/esm/ez-icon.entry.js +2 -2
- package/dist/esm/ez-link-builder_6.entry.js +306 -0
- package/dist/esm/ez-list.entry.js +5 -3
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +7 -3
- package/dist/esm/ez-modal.entry.js +6 -2
- package/dist/esm/ez-multi-selection-list.entry.js +10 -6
- package/dist/esm/ez-number-input.entry.js +6 -2
- package/dist/esm/ez-popover-plus_3.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-rich-toolbar-item.entry.js +23 -0
- package/dist/esm/ez-scroller_2.entry.js +1 -1
- package/dist/esm/ez-search-plus.entry.js +19 -10
- package/dist/esm/ez-search-result-list.entry.js +25 -8
- package/dist/esm/ez-search.entry.js +9 -10
- package/dist/esm/ez-sidebar-navigator.entry.js +6 -8
- package/dist/esm/ez-skeleton.entry.js +6 -4
- package/dist/esm/ez-sortable-list.entry.js +13 -6
- package/dist/esm/ez-split-button.entry.js +6 -5
- package/dist/esm/ez-split-item.entry.js +7 -3
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +35 -28
- package/dist/esm/ez-text-input.entry.js +3 -2
- package/dist/esm/ez-tile.entry.js +58 -0
- package/dist/esm/ez-time-input.entry.js +13 -11
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/{ez-filter-input_2.entry.js → ez-tooltip.entry.js} +3 -124
- package/dist/esm/ez-tree.entry.js +6 -2
- package/dist/esm/ez-upload.entry.js +18 -12
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezui.js +7 -3
- package/dist/esm/filter-column.entry.js +9 -5
- package/dist/esm/index-b623906e.js +3669 -0
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +33 -15
- package/dist/esm/loader.js +7 -3
- package/dist/esm/purify-da6317bb.js +1352 -0
- package/dist/esm/{search-column-35f4ad93.js → search-column-5a55f676.js} +10 -4
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0603bcc7.entry.js +1 -0
- package/dist/ezui/p-0ec7aa3a.entry.js +1 -0
- package/dist/ezui/p-0f0f3efe.entry.js +1 -0
- package/dist/ezui/p-112455b1.js +1 -0
- package/dist/ezui/{p-87f5a060.entry.js → p-1bcfd88c.entry.js} +1 -1
- package/dist/ezui/p-1c3efd36.entry.js +1 -0
- package/dist/ezui/p-1c55dda0.js +3 -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-1ffb75d5.js +1 -0
- package/dist/ezui/p-20c024f7.entry.js +1 -0
- package/dist/ezui/p-22934e19.entry.js +1 -0
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
- package/dist/ezui/p-2f471aca.entry.js +1 -0
- package/dist/ezui/p-303b3b8c.entry.js +1 -0
- package/dist/ezui/p-3b89a9a0.entry.js +1 -0
- package/dist/ezui/p-3e71ca08.entry.js +1 -0
- package/dist/ezui/p-3e767a74.js +1 -0
- package/dist/ezui/p-3e88fbb6.entry.js +1 -0
- package/dist/ezui/p-4044a7d7.entry.js +1 -0
- package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
- package/dist/ezui/p-45c9b292.entry.js +1 -0
- package/dist/ezui/p-45e64547.entry.js +1 -0
- package/dist/ezui/p-46913da7.js +1 -0
- package/dist/ezui/p-4773ff4c.js +1 -0
- package/dist/ezui/{p-769632d5.entry.js → p-4b67138e.entry.js} +1 -1
- package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
- package/dist/ezui/p-4fc5f926.entry.js +1 -0
- package/dist/ezui/p-53bc30a1.entry.js +1 -0
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/p-627ff5a2.entry.js +1 -0
- package/dist/ezui/p-629e32e2.entry.js +1 -0
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/{p-80764ff6.entry.js → p-6562b5c8.entry.js} +46 -46
- package/dist/ezui/p-6d596a5a.entry.js +1 -0
- package/dist/ezui/p-6e6fccfb.entry.js +1 -0
- package/dist/ezui/p-713dc93e.entry.js +1 -0
- package/dist/ezui/p-79044c3e.entry.js +1 -0
- package/dist/ezui/{p-5b85d3de.entry.js → p-7f792043.entry.js} +1 -1
- package/dist/ezui/p-80461324.entry.js +1 -0
- package/dist/ezui/p-84a136bf.entry.js +1 -0
- package/dist/ezui/{p-b3b3c99a.entry.js → p-8afb6e8a.entry.js} +1 -1
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/p-91c9d50e.entry.js +1 -0
- package/dist/ezui/p-973e6a40.entry.js +1 -0
- package/dist/ezui/{p-18e71523.entry.js → p-9c5cd3b2.entry.js} +1 -1
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/p-a12f6074.entry.js +1 -0
- package/dist/ezui/p-a482aae1.entry.js +1 -0
- package/dist/ezui/p-a687f14c.entry.js +7 -0
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/p-adbc3261.entry.js +1 -0
- package/dist/ezui/p-b115058e.entry.js +1 -0
- package/dist/ezui/p-b1e45320.js +1 -0
- package/dist/ezui/p-b4215a04.entry.js +1 -0
- package/dist/ezui/p-b8ed876d.entry.js +1 -0
- package/dist/ezui/p-ba07b3df.js +1 -0
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/p-beb42de1.entry.js +1 -0
- package/dist/ezui/p-c00ad772.entry.js +1 -0
- package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
- package/dist/ezui/p-c2a8139d.entry.js +1 -0
- package/dist/ezui/p-caf2584a.entry.js +1 -0
- package/dist/ezui/p-d1d0868b.entry.js +1 -0
- package/dist/ezui/p-d2645bdf.entry.js +1 -0
- package/dist/ezui/p-e5260556.entry.js +1 -0
- package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
- package/dist/ezui/p-e7a7c594.entry.js +1 -0
- package/dist/ezui/p-ed3bed1e.entry.js +1 -0
- package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
- package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +2 -1
- package/dist/types/components/ez-avatar/ez-avatar.d.ts +2 -0
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +2 -3
- package/dist/types/components/ez-chip/ez-chip.d.ts +4 -0
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +2 -0
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +2 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +9 -2
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -0
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -0
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -2
- package/dist/types/components/ez-double-list/ez-double-list.d.ts +2 -0
- package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +18 -0
- package/dist/types/components/ez-file-item/ez-file-item.d.ts +2 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/utils/buildLocaleText.d.ts +66 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +2 -2
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +2 -0
- package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +2 -0
- package/dist/types/components/ez-grid/subcomponents/utils/selectionCounterUtils.d.ts +2 -2
- package/dist/types/components/ez-guide-navigator/ez-guide-navigator.d.ts +2 -0
- package/dist/types/components/ez-list/ez-list.d.ts +2 -1
- package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
- package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +2 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +2 -0
- package/dist/types/components/ez-rich-text/ez-link-builder/ez-link-builder.d.ts +19 -0
- package/dist/types/components/ez-rich-text/ez-rich-text.d.ts +105 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.d.ts +31 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.d.ts +5 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.d.ts +5 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.d.ts +11 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.d.ts +5 -0
- package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.d.ts +35 -0
- package/dist/types/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.d.ts +39 -0
- package/dist/types/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.d.ts +1 -0
- package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.d.ts +1 -0
- package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.d.ts +1 -0
- package/dist/types/components/ez-search/ez-search.d.ts +2 -3
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +4 -1
- package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +4 -1
- package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +2 -0
- package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +0 -1
- package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +2 -1
- package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +2 -0
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -2
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +2 -0
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +6 -3
- package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +2 -0
- package/dist/types/components/ez-tile/ez-tile.d.ts +58 -0
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +2 -1
- package/dist/types/components/ez-tree/ez-tree.d.ts +2 -0
- package/dist/types/components/ez-upload/ez-upload.d.ts +3 -1
- package/dist/types/components.d.ts +447 -2
- package/dist/types/global/app-init.d.ts +1 -0
- package/dist/types/utils/ApplicationUtils.d.ts +3 -1
- package/dist/types/utils/constants.d.ts +0 -1
- package/dist/types/utils/i18n/elanguages.d.ts +5 -0
- package/dist/types/utils/i18n/i18nUtils.d.ts +2 -0
- package/dist/types/utils/i18n/index.d.ts +5 -0
- package/dist/types/utils/i18n/locales/en-us.d.ts +276 -0
- package/dist/types/utils/i18n/locales/es-es.d.ts +276 -0
- package/dist/types/utils/i18n/locales/pt-br.d.ts +276 -0
- package/dist/types/utils/i18n/translations.d.ts +828 -0
- package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -0
- package/package.json +8 -1
- package/react/components.d.ts +10 -0
- package/react/components.js +10 -0
- package/react/components.js.map +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +0 -75
- package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +0 -5
- package/dist/ezui/p-01b72d7e.entry.js +0 -1
- package/dist/ezui/p-07594da0.entry.js +0 -1
- package/dist/ezui/p-11bfeca3.entry.js +0 -1
- package/dist/ezui/p-175154a0.js +0 -1
- package/dist/ezui/p-1fefb37a.entry.js +0 -1
- package/dist/ezui/p-2187f86c.js +0 -1
- package/dist/ezui/p-220b9944.entry.js +0 -1
- package/dist/ezui/p-28987410.entry.js +0 -1
- package/dist/ezui/p-2d10bb18.entry.js +0 -1
- package/dist/ezui/p-2f351332.entry.js +0 -1
- package/dist/ezui/p-4e66eaeb.entry.js +0 -1
- package/dist/ezui/p-545bd5d5.entry.js +0 -7
- package/dist/ezui/p-5eea9886.js +0 -1
- package/dist/ezui/p-61f5c258.entry.js +0 -1
- package/dist/ezui/p-6b2cc9b8.entry.js +0 -1
- package/dist/ezui/p-6b3fddee.entry.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-700c1320.entry.js +0 -1
- package/dist/ezui/p-708b196e.entry.js +0 -1
- package/dist/ezui/p-7567ccdd.entry.js +0 -1
- package/dist/ezui/p-791f4e43.entry.js +0 -1
- package/dist/ezui/p-7db20f8e.entry.js +0 -1
- package/dist/ezui/p-7ec3f335.entry.js +0 -1
- package/dist/ezui/p-85d7b78a.entry.js +0 -1
- package/dist/ezui/p-90c90351.entry.js +0 -1
- package/dist/ezui/p-90e91173.entry.js +0 -1
- package/dist/ezui/p-91ccae0c.entry.js +0 -1
- package/dist/ezui/p-926a0bde.entry.js +0 -1
- package/dist/ezui/p-97d94ef3.entry.js +0 -1
- package/dist/ezui/p-9e95bfeb.entry.js +0 -1
- package/dist/ezui/p-a11827ca.entry.js +0 -1
- package/dist/ezui/p-c7035d65.entry.js +0 -1
- package/dist/ezui/p-c8e6204f.entry.js +0 -1
- package/dist/ezui/p-d2290004.entry.js +0 -1
- package/dist/ezui/p-d4d6d5fe.entry.js +0 -1
- package/dist/ezui/p-ddb22a70.entry.js +0 -1
- package/dist/ezui/p-ddd0bd61.entry.js +0 -1
- package/dist/ezui/p-e4ae4ddb.entry.js +0 -1
- package/dist/ezui/p-e4ead194.entry.js +0 -1
- package/dist/ezui/p-e6b38ade.entry.js +0 -1
- package/dist/ezui/p-ed48a632.entry.js +0 -1
- package/dist/ezui/p-fc194825.entry.js +0 -1
- package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +0 -2
- package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +0 -5
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
2
|
import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, KeyboardManager } from '@sankhyalabs/core';
|
|
3
3
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
4
|
-
import { A as ApplicationUtils } from './ApplicationUtils-
|
|
4
|
+
import { A as ApplicationUtils } from './ApplicationUtils-72f474e8.js';
|
|
5
5
|
import './DialogType-54a62731.js';
|
|
6
6
|
import './CheckMode-bdb2ec19.js';
|
|
7
|
+
import { g as getI18n, i as initI18n } from './index-b623906e.js';
|
|
7
8
|
import { C as CustomEditorSource, a as CustomRenderSource } from './FormLayout-071d324c.js';
|
|
8
|
-
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH,
|
|
9
|
-
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-
|
|
9
|
+
import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch, d as LABEL_SEARCH_COLUMN } from './search-column-5a55f676.js';
|
|
10
|
+
import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
|
|
10
11
|
import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
|
|
12
|
+
import { p as purify } from './purify-da6317bb.js';
|
|
13
|
+
import './_commonjsHelpers-9943807e.js';
|
|
11
14
|
|
|
12
15
|
/**
|
|
13
16
|
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
|
@@ -50235,6 +50238,10 @@ class DataSource {
|
|
|
50235
50238
|
(_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this.duObserver);
|
|
50236
50239
|
(_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.subscribe(this.duObserver);
|
|
50237
50240
|
}
|
|
50241
|
+
getDescriptionField(descriptionName, entityName) {
|
|
50242
|
+
const descriptionFieldName = `${entityName}.${descriptionName}`;
|
|
50243
|
+
return this._dataUnit.metadata.fields.find((field) => field.name === descriptionFieldName);
|
|
50244
|
+
}
|
|
50238
50245
|
buildColumnDefs() {
|
|
50239
50246
|
try {
|
|
50240
50247
|
const gridConfig = this._controller.getGridConfig() || [];
|
|
@@ -50246,7 +50253,7 @@ class DataSource {
|
|
|
50246
50253
|
return indexA - indexB;
|
|
50247
50254
|
});
|
|
50248
50255
|
this._dataUnit.metadata.fields.forEach(f => {
|
|
50249
|
-
var _a, _b;
|
|
50256
|
+
var _a, _b, _c, _d, _e, _f;
|
|
50250
50257
|
if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
|
|
50251
50258
|
const props = new Map();
|
|
50252
50259
|
const properties = this._dataUnit.getField(f.name).properties;
|
|
@@ -50256,9 +50263,15 @@ class DataSource {
|
|
|
50256
50263
|
const col = { label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props };
|
|
50257
50264
|
columnDefs.push(col);
|
|
50258
50265
|
if (f.userInterface === UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
|
|
50259
|
-
const
|
|
50260
|
-
|
|
50261
|
-
|
|
50266
|
+
const descriptionField = this.getDescriptionField((_c = f.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELD, (_d = f.properties) === null || _d === void 0 ? void 0 : _d.ENTITYNAME);
|
|
50267
|
+
if (descriptionField) {
|
|
50268
|
+
descriptionField.label = `${(_e = f.properties) === null || _e === void 0 ? void 0 : _e.DESCRIPTIONFIELDLABEL} (${(_f = f.properties) === null || _f === void 0 ? void 0 : _f.DESCRIPTIONENTITY})`;
|
|
50269
|
+
}
|
|
50270
|
+
else {
|
|
50271
|
+
const descriptionCol = this.buildDescriptionColumn(f);
|
|
50272
|
+
columnDefs.push(descriptionCol);
|
|
50273
|
+
f.properties[PRESENTATION_COL_ID_PROP_NAME] = descriptionCol.name;
|
|
50274
|
+
}
|
|
50262
50275
|
}
|
|
50263
50276
|
}
|
|
50264
50277
|
});
|
|
@@ -50456,81 +50469,6 @@ class SelectionHeader {
|
|
|
50456
50469
|
}
|
|
50457
50470
|
}
|
|
50458
50471
|
|
|
50459
|
-
const gridTerms = {
|
|
50460
|
-
// for filter panel
|
|
50461
|
-
page: "Página",
|
|
50462
|
-
more: "mais",
|
|
50463
|
-
to: "para",
|
|
50464
|
-
of: "de",
|
|
50465
|
-
next: "Próximo",
|
|
50466
|
-
last: "Último",
|
|
50467
|
-
first: "Primeiro",
|
|
50468
|
-
previous: "Anterior",
|
|
50469
|
-
loadingOoo: "Carregar",
|
|
50470
|
-
// for set filter
|
|
50471
|
-
selectAll: "Selecionar tudo",
|
|
50472
|
-
searchOoo: "Procurar",
|
|
50473
|
-
blanks: "Vazio",
|
|
50474
|
-
// for number filter and text filter
|
|
50475
|
-
filterOoo: "Filtrar",
|
|
50476
|
-
applyFilter: "Aplicar filtro",
|
|
50477
|
-
// for number filter
|
|
50478
|
-
equals: "Igual",
|
|
50479
|
-
lessThan: "Menor que",
|
|
50480
|
-
greaterThan: "Maior que",
|
|
50481
|
-
// for text filter
|
|
50482
|
-
contains: "Contém",
|
|
50483
|
-
startsWith: "Começa com",
|
|
50484
|
-
endsWith: "Termina com",
|
|
50485
|
-
// the header of the default group column
|
|
50486
|
-
group: "Grupo",
|
|
50487
|
-
// tool panel
|
|
50488
|
-
columns: "Colunas",
|
|
50489
|
-
rowGroupColumns: "Colunas do grupo de linhas",
|
|
50490
|
-
rowGroupColumnsEmptyMessage: "Colunas do grupo de linhas vazias",
|
|
50491
|
-
valueColumns: "Valores das colunas",
|
|
50492
|
-
pivotMode: "Modo pivô",
|
|
50493
|
-
groups: "Grupos",
|
|
50494
|
-
values: "Valores",
|
|
50495
|
-
pivots: "Pivôs",
|
|
50496
|
-
valueColumnsEmptyMessage: "Valores de colunas vazias",
|
|
50497
|
-
pivotColumnsEmptyMessage: "Pivôs de colunas vazias",
|
|
50498
|
-
toolPanelButton: "Botão de painel de ferramentas",
|
|
50499
|
-
// other
|
|
50500
|
-
noRowsToShow: "Não há registros para mostrar.",
|
|
50501
|
-
// enterprise menu
|
|
50502
|
-
pinColumn: "Fixar coluna",
|
|
50503
|
-
valueAggregation: "Agregar valor",
|
|
50504
|
-
autosizeThiscolumn: "Redimensionar esta coluna",
|
|
50505
|
-
autosizeAllColumns: "Redimensionar todas colunas",
|
|
50506
|
-
groupBy: "Agrupar por",
|
|
50507
|
-
ungroupBy: "Desagrupar por",
|
|
50508
|
-
resetColumns: "Resetar colunas",
|
|
50509
|
-
expandAll: "Expandir tudo",
|
|
50510
|
-
collapseAll: "Contrair tudo",
|
|
50511
|
-
toolPanel: "Painel de ferramentas",
|
|
50512
|
-
export: "Exportar",
|
|
50513
|
-
csvExport: "Exportar para CSV",
|
|
50514
|
-
excelExport: "Exportar para Excel",
|
|
50515
|
-
// enterprise menu pinning
|
|
50516
|
-
pinLeft: "Fixar coluna",
|
|
50517
|
-
pinRight: "Fixar a direita",
|
|
50518
|
-
noPin: "Desfixar coluna",
|
|
50519
|
-
// enterprise menu aggregation and status panel
|
|
50520
|
-
sum: "Soma",
|
|
50521
|
-
min: "Mínimo",
|
|
50522
|
-
max: "Máximo",
|
|
50523
|
-
none: "Nenhum",
|
|
50524
|
-
count: "Contagem",
|
|
50525
|
-
average: "Média",
|
|
50526
|
-
// standard menu
|
|
50527
|
-
copy: "Copiar",
|
|
50528
|
-
copyWithHeaders: "Copiar com cabeçalho",
|
|
50529
|
-
ctrlC: "Ctrl+C",
|
|
50530
|
-
paste: "Colar",
|
|
50531
|
-
ctrlV: "Ctrl+V"
|
|
50532
|
-
};
|
|
50533
|
-
|
|
50534
50472
|
const buildEditorMetadata = (descriptor, eGridCell, dataUnit, editionManager) => {
|
|
50535
50473
|
return Object.assign(Object.assign({}, buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
|
|
50536
50474
|
};
|
|
@@ -51275,11 +51213,14 @@ class GridEditionManager {
|
|
|
51275
51213
|
}
|
|
51276
51214
|
isColEditable(fieldName) {
|
|
51277
51215
|
const fieldDefinition = this._dataUnit.getField(fieldName);
|
|
51278
|
-
if (fieldDefinition) {
|
|
51216
|
+
if (fieldDefinition && !this.isTypeFile(fieldDefinition)) {
|
|
51279
51217
|
return !fieldDefinition.readOnly;
|
|
51280
51218
|
}
|
|
51281
51219
|
return false;
|
|
51282
51220
|
}
|
|
51221
|
+
isTypeFile(file) {
|
|
51222
|
+
return file.userInterface === UserInterface.FILE;
|
|
51223
|
+
}
|
|
51283
51224
|
isSecondClick(cellClicked) {
|
|
51284
51225
|
if (!this._lastCellClicked) {
|
|
51285
51226
|
return false;
|
|
@@ -64799,6 +64740,74 @@ var MenuModule = {
|
|
|
64799
64740
|
]
|
|
64800
64741
|
};
|
|
64801
64742
|
|
|
64743
|
+
function buildLocaleText(i18n) {
|
|
64744
|
+
return ({
|
|
64745
|
+
page: i18n("ez-grid.pageLabel"),
|
|
64746
|
+
more: i18n("ez-grid.remainingPageLabel"),
|
|
64747
|
+
to: i18n("ez-grid.remainingTotalLabel"),
|
|
64748
|
+
of: i18n("ez-grid.remainingTotalLabel"),
|
|
64749
|
+
next: i18n("ez-grid.nextPage"),
|
|
64750
|
+
previous: i18n("ez-grid.previousPage"),
|
|
64751
|
+
loadingOoo: i18n("app.loading"),
|
|
64752
|
+
noRowsToShow: i18n("ez-grid.noRowsToShow"),
|
|
64753
|
+
pinColumn: i18n("ez-grid.pinColumn"),
|
|
64754
|
+
unpinColumn: i18n("ez-grid.unpinColumn"),
|
|
64755
|
+
filterOoo: i18n("ez-grid.filter"),
|
|
64756
|
+
sortAscending: i18n("ez-grid.sortAscending"),
|
|
64757
|
+
sortDescending: i18n("ez-grid.sortDescending"),
|
|
64758
|
+
last: i18n("ez-grid.last"),
|
|
64759
|
+
first: i18n("ez-grid.first"),
|
|
64760
|
+
selectAll: i18n("ez-grid.selectAll"),
|
|
64761
|
+
searchOoo: i18n("ez-grid.searchOoo"),
|
|
64762
|
+
blanks: i18n("ez-grid.blanks"),
|
|
64763
|
+
applyFilter: i18n("ez-grid.applyFilter"),
|
|
64764
|
+
equals: i18n("ez-grid.equals"),
|
|
64765
|
+
lessThan: i18n("ez-grid.lessThan"),
|
|
64766
|
+
greaterThan: i18n("ez-grid.greaterThan"),
|
|
64767
|
+
contains: i18n("ez-grid.contains"),
|
|
64768
|
+
startsWith: i18n("ez-grid.startsWith"),
|
|
64769
|
+
endsWith: i18n("ez-grid.endsWith"),
|
|
64770
|
+
group: i18n("ez-grid.group"),
|
|
64771
|
+
columns: i18n("ez-grid.columns"),
|
|
64772
|
+
rowGroupColumns: i18n("ez-grid.rowGroupColumns"),
|
|
64773
|
+
rowGroupColumnsEmptyMessage: i18n("ez-grid.rowGroupColumnsEmptyMessage"),
|
|
64774
|
+
valueColumns: i18n("ez-grid.valueColumns"),
|
|
64775
|
+
pivotMode: i18n("ez-grid.pivotMode"),
|
|
64776
|
+
groups: i18n("ez-grid.groups"),
|
|
64777
|
+
values: i18n("ez-grid.values"),
|
|
64778
|
+
pivots: i18n("ez-grid.pivots"),
|
|
64779
|
+
valueColumnsEmptyMessage: i18n("ez-grid.valueColumnsEmptyMessage"),
|
|
64780
|
+
pivotColumnsEmptyMessage: i18n("ez-grid.pivotColumnsEmptyMessage"),
|
|
64781
|
+
toolPanelButton: i18n("ez-grid.toolPanelButton"),
|
|
64782
|
+
valueAggregation: i18n("ez-grid.valueAggregation"),
|
|
64783
|
+
autosizeThiscolumn: i18n("ez-grid.autosizeThiscolumn"),
|
|
64784
|
+
autosizeAllColumns: i18n("ez-grid.autosizeAllColumns"),
|
|
64785
|
+
groupBy: i18n("ez-grid.groupBy"),
|
|
64786
|
+
ungroupBy: i18n("ez-grid.ungroupBy"),
|
|
64787
|
+
resetColumns: i18n("ez-grid.resetColumns"),
|
|
64788
|
+
expandAll: i18n("ez-grid.expandAll"),
|
|
64789
|
+
collapseAll: i18n("ez-grid.collapseAll"),
|
|
64790
|
+
toolPanel: i18n("ez-grid.toolPanel"),
|
|
64791
|
+
export: i18n("ez-grid.export"),
|
|
64792
|
+
csvExport: i18n("ez-grid.csvExport"),
|
|
64793
|
+
excelExport: i18n("ez-grid.excelExport"),
|
|
64794
|
+
pinLeft: i18n("ez-grid.pinLeft"),
|
|
64795
|
+
pinRight: i18n("ez-grid.pinRight"),
|
|
64796
|
+
noPin: i18n("ez-grid.noPin"),
|
|
64797
|
+
sum: i18n("ez-grid.sum"),
|
|
64798
|
+
min: i18n("ez-grid.min"),
|
|
64799
|
+
max: i18n("ez-grid.max"),
|
|
64800
|
+
none: i18n("ez-grid.none"),
|
|
64801
|
+
count: i18n("ez-grid.count"),
|
|
64802
|
+
average: i18n("ez-grid.average"),
|
|
64803
|
+
copy: i18n("ez-grid.copy"),
|
|
64804
|
+
copyWithHeaders: i18n("ez-grid.copyWithHeaders"),
|
|
64805
|
+
ctrlC: i18n("ez-grid.ctrlC"),
|
|
64806
|
+
paste: i18n("ez-grid.paste"),
|
|
64807
|
+
ctrlV: i18n("ez-grid.ctrlV"),
|
|
64808
|
+
});
|
|
64809
|
+
}
|
|
64810
|
+
|
|
64802
64811
|
class AgGridController {
|
|
64803
64812
|
configFilterColumn(filterColumn) {
|
|
64804
64813
|
this._filterColumn = filterColumn;
|
|
@@ -64953,6 +64962,7 @@ class AgGridController {
|
|
|
64953
64962
|
}
|
|
64954
64963
|
if (this._grid === undefined) {
|
|
64955
64964
|
LicenseManager.setLicenseKey(ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
|
|
64965
|
+
this._i18n = options.i18n;
|
|
64956
64966
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
64957
64967
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
64958
64968
|
this._doubleClickCallBack = options.onDoubleClick;
|
|
@@ -64966,7 +64976,7 @@ class AgGridController {
|
|
|
64966
64976
|
}
|
|
64967
64977
|
this._gridOptions = {
|
|
64968
64978
|
suppressHorizontalScroll: options.suppressHorizontalScroll,
|
|
64969
|
-
localeText:
|
|
64979
|
+
localeText: buildLocaleText(this._options.i18n),
|
|
64970
64980
|
enableRangeSelection: this._multipleSelection,
|
|
64971
64981
|
rowSelection: this._multipleSelection ? 'multiple' : 'single',
|
|
64972
64982
|
sortingOrder: ['desc', 'asc', null],
|
|
@@ -65080,7 +65090,7 @@ class AgGridController {
|
|
|
65080
65090
|
buildMenuItemOptionSort(params, sortOrder) {
|
|
65081
65091
|
return {
|
|
65082
65092
|
icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
|
|
65083
|
-
name: sortOrder === 'asc' ?
|
|
65093
|
+
name: sortOrder === 'asc' ? this._i18n("ez-grid.sortAscending") : this._i18n("ez-grid.sortDescending"),
|
|
65084
65094
|
action: () => this.sortDataByColumn(params, sortOrder),
|
|
65085
65095
|
};
|
|
65086
65096
|
}
|
|
@@ -65089,7 +65099,7 @@ class AgGridController {
|
|
|
65089
65099
|
const columnLabel = params.column.getColDef().headerName;
|
|
65090
65100
|
return {
|
|
65091
65101
|
icon: `<i class='ez-icon-filter'></i>`,
|
|
65092
|
-
name:
|
|
65102
|
+
name: this._i18n("ez-grid.filter"),
|
|
65093
65103
|
action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
|
|
65094
65104
|
};
|
|
65095
65105
|
}
|
|
@@ -65115,7 +65125,7 @@ class AgGridController {
|
|
|
65115
65125
|
const isPinned = params.column.isPinned();
|
|
65116
65126
|
return {
|
|
65117
65127
|
icon: `<i class='ez-icon-${isPinned ? 'un-pin' : 'push-pin'}'></i>`,
|
|
65118
|
-
name: isPinned ?
|
|
65128
|
+
name: isPinned ? this._i18n("ez-grid.unpinColumn") : this._i18n("ez-grid.pinColumn"),
|
|
65119
65129
|
action: () => {
|
|
65120
65130
|
columnApi.applyColumnState({
|
|
65121
65131
|
state: [{ colId: column.getColId(), pinned: column.isPinned() ? null : 'left' }],
|
|
@@ -65493,7 +65503,9 @@ class AgGridController {
|
|
|
65493
65503
|
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
65494
65504
|
}
|
|
65495
65505
|
setColumnsDef(cols) {
|
|
65496
|
-
const checkBoxColumn = Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: this.CHECK_BOX_COL_ID, checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection
|
|
65506
|
+
const checkBoxColumn = Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: this.CHECK_BOX_COL_ID, checkboxSelection: true, width: 29, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, (this._multipleSelection ?
|
|
65507
|
+
{ headerComponent: 'ezGridHeaderComponent', headerClass: 'ag-column-select-header' }
|
|
65508
|
+
: { headerComponentParams: { displayName: '' } }));
|
|
65497
65509
|
const newColDefs = this._options.suppressCheckBoxCol ? [] : [checkBoxColumn];
|
|
65498
65510
|
if (this._statusResolver != undefined) {
|
|
65499
65511
|
newColDefs.push({
|
|
@@ -65514,6 +65526,7 @@ class AgGridController {
|
|
|
65514
65526
|
cellStyle: {
|
|
65515
65527
|
'text-align': 'center',
|
|
65516
65528
|
},
|
|
65529
|
+
suppressNavigable: true,
|
|
65517
65530
|
});
|
|
65518
65531
|
}
|
|
65519
65532
|
cols.forEach(c => {
|
|
@@ -65717,7 +65730,7 @@ class AgGridController {
|
|
|
65717
65730
|
tooltip = (_c = source.props) === null || _c === void 0 ? void 0 : _c.get('gridHeaderTooltip');
|
|
65718
65731
|
}
|
|
65719
65732
|
else if (propSortable === false) {
|
|
65720
|
-
tooltip = '
|
|
65733
|
+
tooltip = this._i18n('ez-grid.columnCantBeOrder');
|
|
65721
65734
|
}
|
|
65722
65735
|
const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(PRESENTATION_FROM_COL_PROP_NAME);
|
|
65723
65736
|
return this._editionManager.configureColumn({
|
|
@@ -65742,7 +65755,11 @@ class AgGridController {
|
|
|
65742
65755
|
return "";
|
|
65743
65756
|
}
|
|
65744
65757
|
if (params.value instanceof Promise) {
|
|
65745
|
-
return "
|
|
65758
|
+
return `${this._i18n("app.loading")}...`;
|
|
65759
|
+
}
|
|
65760
|
+
if (source.userInterface === UserInterface.HTML) {
|
|
65761
|
+
this.setHTMLRender(params, source);
|
|
65762
|
+
return "";
|
|
65746
65763
|
}
|
|
65747
65764
|
const customFormatter = this._customFormatters.get(source.name);
|
|
65748
65765
|
if (customFormatter) {
|
|
@@ -65760,6 +65777,24 @@ class AgGridController {
|
|
|
65760
65777
|
editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
|
|
65761
65778
|
});
|
|
65762
65779
|
}
|
|
65780
|
+
setHTMLRender(params, source) {
|
|
65781
|
+
const htmlSanitized = purify.sanitize(params.value);
|
|
65782
|
+
params.colDef.cellRenderer = (cellParams) => {
|
|
65783
|
+
if (cellParams.node.rowIndex === params.node.rowIndex) {
|
|
65784
|
+
const element = document.createElement('span');
|
|
65785
|
+
element.innerHTML = htmlSanitized;
|
|
65786
|
+
return element;
|
|
65787
|
+
}
|
|
65788
|
+
return cellParams.value;
|
|
65789
|
+
};
|
|
65790
|
+
params.colDef.cellStyle = (cellParams) => {
|
|
65791
|
+
const defaultStyle = this.getStyleByColumn(source);
|
|
65792
|
+
if (cellParams.node.rowIndex === params.node.rowIndex) {
|
|
65793
|
+
return Object.assign(defaultStyle, { padding: 0 });
|
|
65794
|
+
}
|
|
65795
|
+
return defaultStyle;
|
|
65796
|
+
};
|
|
65797
|
+
}
|
|
65763
65798
|
setCustomFormatters(customFormatters) {
|
|
65764
65799
|
this._customFormatters = customFormatters;
|
|
65765
65800
|
}
|
|
@@ -65816,10 +65851,10 @@ class AgGridController {
|
|
|
65816
65851
|
}
|
|
65817
65852
|
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UserInterface.SWITCH) {
|
|
65818
65853
|
if ((params === null || params === void 0 ? void 0 : params.value) === 'S' || (params === null || params === void 0 ? void 0 : params.value) === true || (params === null || params === void 0 ? void 0 : params.value) === 'true') {
|
|
65819
|
-
return
|
|
65854
|
+
return this._i18n("app.yes");
|
|
65820
65855
|
}
|
|
65821
65856
|
else if ((params === null || params === void 0 ? void 0 : params.value) === 'N' || (params === null || params === void 0 ? void 0 : params.value) === false || (params === null || params === void 0 ? void 0 : params.value) === 'false') {
|
|
65822
|
-
return
|
|
65857
|
+
return this._i18n("app.no");
|
|
65823
65858
|
}
|
|
65824
65859
|
}
|
|
65825
65860
|
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UserInterface.SEARCH) {
|
|
@@ -66042,27 +66077,30 @@ function enableSelectAll(total) {
|
|
|
66042
66077
|
return total !== undefined;
|
|
66043
66078
|
}
|
|
66044
66079
|
function buildSelectAllLabel(allRecordSelected, count, total) {
|
|
66080
|
+
const i18n = getI18n();
|
|
66045
66081
|
if (allRecordSelected)
|
|
66046
|
-
return '
|
|
66082
|
+
return i18n('utils.selectAllPage');
|
|
66047
66083
|
if (total === undefined)
|
|
66048
|
-
return
|
|
66049
|
-
return
|
|
66084
|
+
return i18n('utils.loadingAllRecords', { count });
|
|
66085
|
+
return i18n('utils.selectAllRecords', { total });
|
|
66050
66086
|
}
|
|
66051
66087
|
function buildSelectAllTitle(total) {
|
|
66052
66088
|
if (enableSelectAll(total))
|
|
66053
66089
|
return '';
|
|
66054
|
-
|
|
66090
|
+
const i18n = getI18n();
|
|
66091
|
+
return i18n('utils.waitForLoad');
|
|
66055
66092
|
}
|
|
66056
66093
|
function getText(selectionCount, allSelectedRecords) {
|
|
66094
|
+
const i18n = getI18n();
|
|
66057
66095
|
if (allSelectedRecords) {
|
|
66058
|
-
return
|
|
66096
|
+
return i18n('utils.allRecordsSelected', { selectionCount });
|
|
66059
66097
|
}
|
|
66060
|
-
const
|
|
66061
|
-
return
|
|
66098
|
+
const plural = selectionCount > 1 ? "s" : "";
|
|
66099
|
+
return i18n('utils.selectedRecords', { selectionCount, plural });
|
|
66062
66100
|
}
|
|
66063
66101
|
|
|
66064
66102
|
const SelectionCounter = (props) => {
|
|
66065
|
-
const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose } = props;
|
|
66103
|
+
const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose, i18n } = props;
|
|
66066
66104
|
const { total, hasMore, count } = paginationInfo || {};
|
|
66067
66105
|
const shouldRenderSelectionButton = () => {
|
|
66068
66106
|
if ((!allRecordSelected && selectionCount === total) || (allRecordSelected && !hasMore))
|
|
@@ -66078,8 +66116,8 @@ const SelectionCounter = (props) => {
|
|
|
66078
66116
|
h("div", { class: "ez-flex ez-margin-right--medium" },
|
|
66079
66117
|
shouldRenderSelectionButton() &&
|
|
66080
66118
|
h("ez-button", Object.assign({ key: "selectAllRecordsEzButton", title: buildSelectAllTitle(total), enabled: enableSelectAll(total), class: "ez-margin-right--medium", label: buildSelectAllLabel(allRecordSelected, count, total), mode: "link", onClick: allRecordSelected ? onSelectPage : onSelectAll }, getElementID(`ezGridSelectionCounter_select${allRecordSelected ? "Page" : "All"}`))),
|
|
66081
|
-
h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: "
|
|
66082
|
-
h("button", Object.assign({ class: "grid__btn-close", title: "
|
|
66119
|
+
h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: i18n("ez-grid.clearSelection"), mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
|
|
66120
|
+
h("button", Object.assign({ class: "grid__btn-close", title: i18n("app.close"), onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
|
|
66083
66121
|
h("ez-icon", { iconName: "close" })))));
|
|
66084
66122
|
};
|
|
66085
66123
|
function getElementID(sufix) {
|
|
@@ -66229,7 +66267,6 @@ const EzGrid = class {
|
|
|
66229
66267
|
this.configChange = createEvent(this, "configChange", 7);
|
|
66230
66268
|
this.componentReady = createEvent(this, "componentReady", 7);
|
|
66231
66269
|
this._gridController = new AgGridController(false);
|
|
66232
|
-
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
66233
66270
|
this._customEditor = new Map();
|
|
66234
66271
|
this._customRenders = new Map();
|
|
66235
66272
|
this._paginationInfo = undefined;
|
|
@@ -66623,7 +66660,7 @@ const EzGrid = class {
|
|
|
66623
66660
|
await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
|
|
66624
66661
|
}
|
|
66625
66662
|
renderCancelPagination() {
|
|
66626
|
-
return (h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, h("div", { class: 'cancel-pagination' }, h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, "
|
|
66663
|
+
return (h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, h("div", { class: 'cancel-pagination' }, h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
|
|
66627
66664
|
}
|
|
66628
66665
|
handleShowCancelPagination() {
|
|
66629
66666
|
var _a, _b, _c;
|
|
@@ -66639,7 +66676,7 @@ const EzGrid = class {
|
|
|
66639
66676
|
if (!this._paginationInfo)
|
|
66640
66677
|
return null;
|
|
66641
66678
|
const { currentPage, hasMore } = this._paginationInfo;
|
|
66642
|
-
return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "
|
|
66679
|
+
return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: this.i18n("ez-grid.previousPage") }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
|
|
66643
66680
|
}
|
|
66644
66681
|
shouldPresentPaginationLabel() {
|
|
66645
66682
|
return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
|
|
@@ -66679,7 +66716,8 @@ const EzGrid = class {
|
|
|
66679
66716
|
enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
|
|
66680
66717
|
enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
|
|
66681
66718
|
enableRowTableStriped: this.enableRowTableStriped,
|
|
66682
|
-
suppressHorizontalScroll: this.suppressHorizontalScroll
|
|
66719
|
+
suppressHorizontalScroll: this.suppressHorizontalScroll,
|
|
66720
|
+
i18n: this.i18n
|
|
66683
66721
|
});
|
|
66684
66722
|
if (this.config) {
|
|
66685
66723
|
this.observeConfig(this.config);
|
|
@@ -66712,7 +66750,7 @@ const EzGrid = class {
|
|
|
66712
66750
|
}
|
|
66713
66751
|
_getRemainingPageLabel() {
|
|
66714
66752
|
const { total, count } = this._paginationInfo;
|
|
66715
|
-
return `${total == undefined ?
|
|
66753
|
+
return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
|
|
66716
66754
|
}
|
|
66717
66755
|
_hasToShowCancelPagination() {
|
|
66718
66756
|
var _a;
|
|
@@ -66788,10 +66826,11 @@ const EzGrid = class {
|
|
|
66788
66826
|
}
|
|
66789
66827
|
componentDidRender() {
|
|
66790
66828
|
windowInstace.addEventListener('onSubmitFilter', () => {
|
|
66791
|
-
ApplicationUtils.info(this.
|
|
66829
|
+
ApplicationUtils.info(this.i18n("ez-grid.filterAppliedSuccess"));
|
|
66792
66830
|
});
|
|
66793
66831
|
}
|
|
66794
|
-
componentWillLoad() {
|
|
66832
|
+
async componentWillLoad() {
|
|
66833
|
+
this.i18n = await initI18n();
|
|
66795
66834
|
this._hasLeftButtons = !!this._element.querySelector('[slot="leftButtons"]');
|
|
66796
66835
|
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
66797
66836
|
return;
|
|
@@ -66830,12 +66869,12 @@ const EzGrid = class {
|
|
|
66830
66869
|
if (!this._paginationInfo)
|
|
66831
66870
|
return;
|
|
66832
66871
|
this.nextRecord();
|
|
66833
|
-
}, { description: "
|
|
66872
|
+
}, { description: this.i18n("ez-grid.nextRecord"), element: this._element })
|
|
66834
66873
|
.bind("ctrl + ,", () => {
|
|
66835
66874
|
if (!this._paginationInfo)
|
|
66836
66875
|
return;
|
|
66837
66876
|
this.previousRecord();
|
|
66838
|
-
}, { description: "
|
|
66877
|
+
}, { description: this.i18n("ez-grid.previousRecord"), element: this._element })
|
|
66839
66878
|
.bind("ctrl + alt + ArrowLeft", () => {
|
|
66840
66879
|
if (!this._paginationInfo)
|
|
66841
66880
|
return;
|
|
@@ -66843,7 +66882,7 @@ const EzGrid = class {
|
|
|
66843
66882
|
if (currentPage > 0) {
|
|
66844
66883
|
this.previousPage();
|
|
66845
66884
|
}
|
|
66846
|
-
}, { description: "
|
|
66885
|
+
}, { description: this.i18n("ez-grid.previousPage"), element: this._element })
|
|
66847
66886
|
.bind("ctrl + alt + ArrowRight", () => {
|
|
66848
66887
|
if (!this._paginationInfo)
|
|
66849
66888
|
return;
|
|
@@ -66851,7 +66890,7 @@ const EzGrid = class {
|
|
|
66851
66890
|
if (hasMore) {
|
|
66852
66891
|
this.nextPage();
|
|
66853
66892
|
}
|
|
66854
|
-
}, { description: "
|
|
66893
|
+
}, { description: this.i18n("ez-grid.nextPage"), element: this._element });
|
|
66855
66894
|
if (this.useSearchColumn) {
|
|
66856
66895
|
this._keyboardManager.bind(SHORTCUT_SEARCH_FIELD, async () => {
|
|
66857
66896
|
if (!this._container || !this._ezPopoverSearchColumn)
|
|
@@ -66859,7 +66898,7 @@ const EzGrid = class {
|
|
|
66859
66898
|
const container = this._container.getBoundingClientRect();
|
|
66860
66899
|
await focusOnFieldSerch(this._columnSearch);
|
|
66861
66900
|
this._ezPopoverSearchColumn.showUnder(this._container, { horizontalGap: container.width - (SEARCH_FIELD_FULL_WIDTH), verticalGap: container.height * -1 });
|
|
66862
|
-
}, { description:
|
|
66901
|
+
}, { description: this.i18n("ez-grid.searchColumn"), element: this._element });
|
|
66863
66902
|
}
|
|
66864
66903
|
}
|
|
66865
66904
|
async removeShortcuts() {
|
|
@@ -66904,7 +66943,7 @@ const EzGrid = class {
|
|
|
66904
66943
|
'shadow-mode': !this.outlineMode && !this.hideHeader(),
|
|
66905
66944
|
}, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })), this.getPaginationControl())), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
66906
66945
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
66907
|
-
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
66946
|
+
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
66908
66947
|
}
|
|
66909
66948
|
static get assetsDirs() { return ["../assets"]; }
|
|
66910
66949
|
get _element() { return getElement(this); }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
2
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
import { E as EzScrollDirection } from './EzScrollDirection-2df26c93.js';
|
|
4
|
+
import { i as initI18n } from './index-b623906e.js';
|
|
4
5
|
|
|
5
6
|
const ezGuideNavigatorCss = ":host{--ez-guide-navigator--padding-left:var(--space--large);--ez-guide-navigator--padding-right:var(--space--small);--ez-guide-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-guide-navigator--background-color:var(--color--inverted);--ez-guide-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-guide-navigator--actions-gap:var(--space--medium);--ez-guide-navigator--actions-margin:var(--space--large) 0 var(--space--medium);--ez-guide-navigator--actions-padding-right:calc(var(--space--medium, 12px) + var(--space--small, 6px))}.inverted{transform:rotate(180deg)}.ez-guide-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:var(--ez-guide-navigator--padding-left);padding-right:var(--ez-guide-navigator--padding-right);background-color:var(--ez-guide-navigator--background-color);-webkit-box-shadow:var(--ez-guide-navigator--box-shadow);box-shadow:var(--ez-guide-navigator--box-shadow);border-radius:var(--ez-guide-navigator--border-radius)}.ez-guide-navigator__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-guide-navigator--actions-gap);margin:var(--ez-guide-navigator--actions-margin);padding-right:var(--ez-guide-navigator--actions-padding-right)}.hidden{display:none}";
|
|
6
7
|
|
|
@@ -75,6 +76,9 @@ const EzGuideNavigator = class {
|
|
|
75
76
|
async getParent(id) {
|
|
76
77
|
return this._tree.getParent(id);
|
|
77
78
|
}
|
|
79
|
+
async componentWillLoad() {
|
|
80
|
+
this.i18n = await initI18n();
|
|
81
|
+
}
|
|
78
82
|
async handleToggleSidebar() {
|
|
79
83
|
this.open = !this.open;
|
|
80
84
|
}
|
|
@@ -89,7 +93,7 @@ const EzGuideNavigator = class {
|
|
|
89
93
|
}
|
|
90
94
|
render() {
|
|
91
95
|
ElementIDUtils.addIDInfoIfNotExists(this._element);
|
|
92
|
-
return (h(Host, null, h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.handleToggleSidebar.bind(this), "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": ElementIDUtils.getInternalIDInfo("openButton") }), h("aside", { tabIndex: -1, id: "navigator", class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator " + (this.open ? "" : "hidden"), "data-element-id": ElementIDUtils.getInternalIDInfo("sidebar") }, h("div", { role: "search", class: "ez-guide-navigator__actions" }, h("ez-filter-input", { mode: "slim", value: this.filterText, onEzChange: (event) => this.onFilterChanged(event), label: "
|
|
96
|
+
return (h(Host, null, h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.handleToggleSidebar.bind(this), "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": ElementIDUtils.getInternalIDInfo("openButton") }), h("aside", { tabIndex: -1, id: "navigator", class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator " + (this.open ? "" : "hidden"), "data-element-id": ElementIDUtils.getInternalIDInfo("sidebar") }, h("div", { role: "search", class: "ez-guide-navigator__actions" }, h("ez-filter-input", { mode: "slim", value: this.filterText, onEzChange: (event) => this.onFilterChanged(event), label: this.i18n("ez-guide-navigator.searchGuide"), "aria-placeholder": this.i18n("ez-guide-navigator.searchGuide"), onKeyUp: this.handleFilterTree.bind(this), "data-element-id": ElementIDUtils.getInternalIDInfo("textinput") }), h("ez-button", { onClick: this.handleToggleSidebar.bind(this), class: "inverted", mode: "icon", size: "small", iconName: "show_menu", title: this.i18n("ez-guide-navigator.hideMenu"), "aria-label": this.i18n("ez-guide-navigator.hideMenu"), "aria-controls": "navigator", "data-element-id": ElementIDUtils.getInternalIDInfo("closeButton") })), h("ez-scroller", { direction: EzScrollDirection.VERTICAL, activeShadow: true }, h("ez-tree", { ref: element => (this._tree = element), items: this.items, "data-element-id": ElementIDUtils.getInternalIDInfo("tree"), tooltipResolver: this.tooltipResolver, onEzChange: evt => this.ezSelectionChange.emit(evt.detail), selectedId: this.selectedId })))));
|
|
93
97
|
}
|
|
94
98
|
get _element() { return getElement(this); }
|
|
95
99
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
2
|
import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
|
-
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-add-to-cart:before{content:\"\\ea06\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea07\"}.ez-icon-alert-circle:before{content:\"\\ea08\"}.ez-icon-alert-mail:before{content:\"\\ea09\"}.ez-icon-alert-popup:before{content:\"\\ea0a\"}.ez-icon-anexo:before{content:\"\\ea0b\"}.ez-icon-antecipação:before{content:\"\\ea0c\"}.ez-icon-apps:before{content:\"\\ea0d\"}.ez-icon-arrow-forward:before{content:\"\\ea0e\"}.ez-icon-arrow-upward:before{content:\"\\ea0f\"}.ez-icon-arrow_back:before{content:\"\\ea10\"}.ez-icon-arrow_downward:before{content:\"\\ea11\"}.ez-icon-baixa:before{content:\"\\ea12\"}.ez-icon-balance:before{content:\"\\ea13\"}.ez-icon-bell-inverted:before{content:\"\\ea14\"}.ez-icon-bell:before{content:\"\\ea15\"}.ez-icon-
|
|
4
|
+
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-add-to-cart:before{content:\"\\ea06\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea07\"}.ez-icon-alert-circle:before{content:\"\\ea08\"}.ez-icon-alert-mail:before{content:\"\\ea09\"}.ez-icon-alert-popup:before{content:\"\\ea0a\"}.ez-icon-anexo:before{content:\"\\ea0b\"}.ez-icon-antecipação:before{content:\"\\ea0c\"}.ez-icon-apps:before{content:\"\\ea0d\"}.ez-icon-arrow-forward:before{content:\"\\ea0e\"}.ez-icon-arrow-upward:before{content:\"\\ea0f\"}.ez-icon-arrow_back:before{content:\"\\ea10\"}.ez-icon-arrow_downward:before{content:\"\\ea11\"}.ez-icon-baixa:before{content:\"\\ea12\"}.ez-icon-balance:before{content:\"\\ea13\"}.ez-icon-bell-inverted:before{content:\"\\ea14\"}.ez-icon-bell:before{content:\"\\ea15\"}.ez-icon-bold:before{content:\"\\ea16\"}.ez-icon-boleto:before{content:\"\\ea17\"}.ez-icon-boolean:before{content:\"\\ea18\"}.ez-icon-business-center:before{content:\"\\ea19\"}.ez-icon-calendar-clock:before{content:\"\\ea1a\"}.ez-icon-calendar:before{content:\"\\ea1b\"}.ez-icon-cart-history:before{content:\"\\ea1c\"}.ez-icon-cash-remove:before{content:\"\\ea1d\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1e\"}.ez-icon-check-circle:before{content:\"\\ea1f\"}.ez-icon-check:before{content:\"\\ea20\"}.ez-icon-chevron-down:before{content:\"\\ea21\"}.ez-icon-chevron-left:before{content:\"\\ea22\"}.ez-icon-chevron-right:before{content:\"\\ea23\"}.ez-icon-chevron-up:before{content:\"\\ea24\"}.ez-icon-circle--medium:before{content:\"\\ea25\"}.ez-icon-circle:before{content:\"\\ea26\"}.ez-icon-clean-cart:before{content:\"\\ea27\"}.ez-icon-cleaning:before{content:\"\\ea28\"}.ez-icon-clipboard:before{content:\"\\ea29\"}.ez-icon-clock-rotate-left:before{content:\"\\ea2a\"}.ez-icon-close:before{content:\"\\ea2b\"}.ez-icon-cobrar:before{content:\"\\ea2c\"}.ez-icon-code:before{content:\"\\ea2d\"}.ez-icon-configuration:before{content:\"\\ea2e\"}.ez-icon-content-cut:before{content:\"\\ea2f\"}.ez-icon-copy:before{content:\"\\ea30\"}.ez-icon-credit_card:before{content:\"\\ea31\"}.ez-icon-crop:before{content:\"\\ea32\"}.ez-icon-custom:before{content:\"\\ea33\"}.ez-icon-delete-file:before{content:\"\\ea34\"}.ez-icon-delete:before{content:\"\\ea35\"}.ez-icon-description:before{content:\"\\ea36\"}.ez-icon-dividir:before{content:\"\\ea37\"}.ez-icon-docx:before{content:\"\\ea38\"}.ez-icon-dot-notification:before{content:\"\\ea39\"}.ez-icon-dots-horizontal:before{content:\"\\ea3a\"}.ez-icon-dots-vertical:before{content:\"\\ea3b\"}.ez-icon-drag-indicator:before{content:\"\\ea3c\"}.ez-icon-dual-chevron-down:before{content:\"\\ea3d\"}.ez-icon-dual-chevron-left:before{content:\"\\ea3e\"}.ez-icon-dual-chevron-right:before{content:\"\\ea3f\"}.ez-icon-dual-chevron-up:before{content:\"\\ea40\"}.ez-icon-edit-file:before{content:\"\\ea41\"}.ez-icon-edit-table:before{content:\"\\ea42\"}.ez-icon-edit-time:before{content:\"\\ea43\"}.ez-icon-edit-value:before{content:\"\\ea44\"}.ez-icon-edit:before{content:\"\\ea45\"}.ez-icon-email:before{content:\"\\ea46\"}.ez-icon-estorno:before{content:\"\\ea47\"}.ez-icon-exe:before{content:\"\\ea48\"}.ez-icon-expand:before{content:\"\\ea49\"}.ez-icon-expandir_card:before{content:\"\\ea4a\"}.ez-icon-extrato:before{content:\"\\ea4b\"}.ez-icon-eye-off:before{content:\"\\ea4c\"}.ez-icon-eye:before{content:\"\\ea4d\"}.ez-icon-favorite:before{content:\"\\ea4e\"}.ez-icon-figma:before{content:\"\\ea4f\"}.ez-icon-file-download:before{content:\"\\ea50\"}.ez-icon-file-upload:before{content:\"\\ea51\"}.ez-icon-filter:before{content:\"\\ea52\"}.ez-icon-find-file:before{content:\"\\ea53\"}.ez-icon-find-page:before{content:\"\\ea54\"}.ez-icon-format-color-fill:before{content:\"\\ea55\"}.ez-icon-generic:before{content:\"\\ea56\"}.ez-icon-gif:before{content:\"\\ea57\"}.ez-icon-graph_bar:before{content:\"\\ea58\"}.ez-icon-handshake:before{content:\"\\ea59\"}.ez-icon-help-inverted:before{content:\"\\ea5a\"}.ez-icon-help:before{content:\"\\ea5b\"}.ez-icon-hide-list:before{content:\"\\ea5c\"}.ez-icon-hide_menu:before{content:\"\\ea5d\"}.ez-icon-hierarchical-tree:before{content:\"\\ea5e\"}.ez-icon-home:before{content:\"\\ea5f\"}.ez-icon-icons104:before{content:\"\\ea60\"}.ez-icon-image-plus:before{content:\"\\ea61\"}.ez-icon-italic:before{content:\"\\ea62\"}.ez-icon-language:before{content:\"\\ea63\"}.ez-icon-launch:before{content:\"\\ea64\"}.ez-icon-lightbulb:before{content:\"\\ea65\"}.ez-icon-link:before{content:\"\\ea66\"}.ez-icon-list:before{content:\"\\ea67\"}.ez-icon-location:before{content:\"\\ea68\"}.ez-icon-lock-outline:before{content:\"\\ea69\"}.ez-icon-lock:before{content:\"\\ea6a\"}.ez-icon-menu:before{content:\"\\ea6b\"}.ez-icon-mid:before{content:\"\\ea6c\"}.ez-icon-minus:before{content:\"\\ea6d\"}.ez-icon-money-off:before{content:\"\\ea6e\"}.ez-icon-money:before{content:\"\\ea6f\"}.ez-icon-more:before{content:\"\\ea70\"}.ez-icon-mp3:before{content:\"\\ea71\"}.ez-icon-mp4:before{content:\"\\ea72\"}.ez-icon-multiple-files:before{content:\"\\ea73\"}.ez-icon-north-west:before{content:\"\\ea74\"}.ez-icon-number:before{content:\"\\ea75\"}.ez-icon-ordem-ascendente:before{content:\"\\ea76\"}.ez-icon-ordem-descendente:before{content:\"\\ea77\"}.ez-icon-parcelar:before{content:\"\\ea78\"}.ez-icon-pause:before{content:\"\\ea79\"}.ez-icon-payments:before{content:\"\\ea7a\"}.ez-icon-pdf:before{content:\"\\ea7b\"}.ez-icon-play:before{content:\"\\ea7c\"}.ez-icon-plus:before{content:\"\\ea7d\"}.ez-icon-png:before{content:\"\\ea7e\"}.ez-icon-power:before{content:\"\\ea7f\"}.ez-icon-pptx:before{content:\"\\ea80\"}.ez-icon-preview:before{content:\"\\ea81\"}.ez-icon-print:before{content:\"\\ea82\"}.ez-icon-push-pin:before{content:\"\\ea83\"}.ez-icon-rateio:before{content:\"\\ea84\"}.ez-icon-receipt:before{content:\"\\ea85\"}.ez-icon-recolher_card:before{content:\"\\ea86\"}.ez-icon-redo:before{content:\"\\ea87\"}.ez-icon-remove-from-cart:before{content:\"\\ea88\"}.ez-icon-restore:before{content:\"\\ea89\"}.ez-icon-return:before{content:\"\\ea8a\"}.ez-icon-sankhya-place:before{content:\"\\ea8b\"}.ez-icon-save:before{content:\"\\ea8c\"}.ez-icon-search:before{content:\"\\ea8d\"}.ez-icon-settings-inverted:before{content:\"\\ea8e\"}.ez-icon-settings:before{content:\"\\ea8f\"}.ez-icon-share:before{content:\"\\ea90\"}.ez-icon-shield:before{content:\"\\ea91\"}.ez-icon-show-list:before{content:\"\\ea92\"}.ez-icon-show_menu:before{content:\"\\ea93\"}.ez-icon-south-east:before{content:\"\\ea94\"}.ez-icon-sync:before{content:\"\\ea95\"}.ez-icon-table:before{content:\"\\ea96\"}.ez-icon-tag_code:before{content:\"\\ea97\"}.ez-icon-text:before{content:\"\\ea98\"}.ez-icon-timeline:before{content:\"\\ea99\"}.ez-icon-timer-outline:before{content:\"\\ea9a\"}.ez-icon-trending-up:before{content:\"\\ea9b\"}.ez-icon-tune:before{content:\"\\ea9c\"}.ez-icon-txt:before{content:\"\\ea9d\"}.ez-icon-un-pin:before{content:\"\\ea9e\"}.ez-icon-underline:before{content:\"\\ea9f\"}.ez-icon-undo:before{content:\"\\eaa0\"}.ez-icon-unfold_less:before{content:\"\\eaa1\"}.ez-icon-unfold_more:before{content:\"\\eaa2\"}.ez-icon-user-circle:before{content:\"\\eaa3\"}.ez-icon-warning-outline:before{content:\"\\eaa4\"}.ez-icon-warning_triangle:before{content:\"\\eaa5\"}.ez-icon-whatshot:before{content:\"\\eaa6\"}.ez-icon-xlsx:before{content:\"\\eaa7\"}.ez-icon-zip:before{content:\"\\eaa8\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
|
|
5
5
|
|
|
6
6
|
const EzIcon = class {
|
|
7
7
|
constructor(hostRef) {
|