@sankhyalabs/ezui 6.1.0-dev.3 → 6.1.0-dev.31
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-d45368f4.js} +43 -15
- package/dist/cjs/RichToolbarHelper-ea12328f.js +33 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/app-globals-08a85285.js +12 -0
- package/dist/cjs/{constants-569271bc.js → constants-72b7e05e.js} +0 -2
- package/dist/cjs/ez-actions-button.cjs.entry.js +2 -1
- package/dist/cjs/ez-alert-list.cjs.entry.js +5 -3
- package/dist/cjs/ez-avatar.cjs.entry.js +6 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +7 -6
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-chart.cjs.entry.js +3 -18
- package/dist/cjs/ez-chip.cjs.entry.js +52 -47
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +13 -10
- package/dist/cjs/{ez-combo-box-list_3.cjs.entry.js → ez-combo-box-list_4.cjs.entry.js} +290 -4
- package/dist/cjs/ez-combo-box.cjs.entry.js +32 -14
- 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 +8 -6
- package/dist/cjs/ez-double-list.cjs.entry.js +12 -4
- package/dist/cjs/ez-empty-card.cjs.entry.js +34 -0
- package/dist/cjs/ez-file-item.cjs.entry.js +9 -6
- package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +12 -4
- package/dist/cjs/ez-form.cjs.entry.js +7 -5
- package/dist/cjs/ez-grid.cjs.entry.js +169 -133
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +5 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +315 -0
- package/dist/cjs/ez-list.cjs.entry.js +4 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js +6 -2
- package/dist/cjs/ez-modal.cjs.entry.js +5 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +9 -5
- package/dist/cjs/ez-number-input.cjs.entry.js +5 -1
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +5 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +27 -0
- package/dist/cjs/ez-search-plus.cjs.entry.js +18 -9
- package/dist/cjs/ez-search-result-list.cjs.entry.js +24 -7
- package/dist/cjs/ez-search.cjs.entry.js +8 -9
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +5 -7
- package/dist/cjs/ez-skeleton.cjs.entry.js +5 -3
- package/dist/cjs/ez-sortable-list.cjs.entry.js +12 -5
- package/dist/cjs/ez-split-button.cjs.entry.js +5 -4
- package/dist/cjs/ez-split-item.cjs.entry.js +6 -2
- package/dist/cjs/ez-tag.cjs.entry.js +38 -0
- package/dist/cjs/ez-text-area.cjs.entry.js +34 -27
- package/dist/cjs/ez-text-input.cjs.entry.js +2 -1
- package/dist/cjs/ez-tile-medium.cjs.entry.js +79 -0
- package/dist/cjs/ez-tile.cjs.entry.js +62 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +12 -10
- package/dist/cjs/{ez-filter-input_2.cjs.entry.js → ez-tooltip.cjs.entry.js} +1 -123
- package/dist/cjs/ez-tree.cjs.entry.js +12 -1
- package/dist/cjs/ez-underface.cjs.entry.js +35 -0
- package/dist/cjs/ez-upload.cjs.entry.js +17 -11
- package/dist/cjs/ezui.cjs.js +5 -1
- package/dist/cjs/filter-column.cjs.entry.js +8 -4
- package/dist/cjs/index-040deae3.js +3684 -0
- package/dist/cjs/index-a7b0c73d.js +48 -16
- package/dist/cjs/loader.cjs.js +5 -1
- package/dist/cjs/purify-0bd8a150.js +1359 -0
- package/dist/cjs/{search-column-27d1f72f.js → search-column-de15f22d.js} +11 -9
- package/dist/collection/collection-manifest.json +45 -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-chip/ez-chip.css +102 -83
- package/dist/collection/components/ez-chip/ez-chip.js +177 -53
- 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 +6 -2
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +6 -2
- 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 +6 -4
- 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/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 +17 -15
- 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/ez-popover-plus.js +6 -0
- 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-tag/ez-tag.css +105 -0
- package/dist/collection/components/ez-tag/ez-tag.js +112 -0
- 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-tile-medium/ez-tile-medium.css +183 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.js +353 -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-tree/types/Tree.js +7 -0
- package/dist/collection/components/ez-underface/ez-underface.css +51 -0
- package/dist/collection/components/ez-underface/ez-underface.js +109 -0
- 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 +279 -0
- package/dist/collection/utils/i18n/locales/es-es.js +279 -0
- package/dist/collection/utils/i18n/locales/pt-br.js +279 -0
- package/dist/collection/utils/i18n/translations.js +9 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/collection/utils/searchColumn/search-column.js +0 -2
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +8 -2
- package/dist/custom-elements/index.d.ts +78 -0
- package/dist/custom-elements/index.js +6689 -576
- package/dist/esm/{ApplicationUtils-eaf91331.js → ApplicationUtils-391ebb4f.js} +43 -15
- package/dist/esm/RichToolbarHelper-f3a149c4.js +29 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/app-globals-2394c55a.js +10 -0
- package/dist/esm/{constants-b036528f.js → constants-3fabe81e.js} +1 -2
- package/dist/esm/ez-actions-button.entry.js +2 -1
- package/dist/esm/ez-alert-list.entry.js +5 -3
- package/dist/esm/ez-avatar.entry.js +6 -1
- package/dist/esm/ez-calendar.entry.js +7 -6
- package/dist/esm/ez-card-item_2.entry.js +1 -1
- package/dist/esm/ez-chart.entry.js +1 -16
- package/dist/esm/ez-chip.entry.js +52 -47
- package/dist/esm/ez-collapsible-box.entry.js +13 -10
- package/dist/esm/{ez-combo-box-list_3.entry.js → ez-combo-box-list_4.entry.js} +291 -6
- package/dist/esm/ez-combo-box.entry.js +32 -14
- 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 +8 -6
- package/dist/esm/ez-double-list.entry.js +12 -4
- package/dist/esm/ez-empty-card.entry.js +30 -0
- package/dist/esm/ez-file-item.entry.js +9 -6
- package/dist/esm/ez-filter-input.entry.js +125 -0
- package/dist/esm/ez-form-view.entry.js +12 -4
- package/dist/esm/ez-form.entry.js +7 -5
- package/dist/esm/ez-grid.entry.js +151 -115
- package/dist/esm/ez-guide-navigator.entry.js +5 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-link-builder_6.entry.js +306 -0
- package/dist/esm/ez-list.entry.js +4 -2
- package/dist/esm/ez-modal-container.entry.js +6 -2
- package/dist/esm/ez-modal.entry.js +5 -1
- package/dist/esm/ez-multi-selection-list.entry.js +9 -5
- package/dist/esm/ez-number-input.entry.js +5 -1
- package/dist/esm/ez-popover-plus_3.entry.js +6 -1
- package/dist/esm/ez-rich-toolbar-item.entry.js +23 -0
- package/dist/esm/ez-search-plus.entry.js +18 -9
- package/dist/esm/ez-search-result-list.entry.js +24 -7
- package/dist/esm/ez-search.entry.js +8 -9
- package/dist/esm/ez-sidebar-navigator.entry.js +5 -7
- package/dist/esm/ez-skeleton.entry.js +5 -3
- package/dist/esm/ez-sortable-list.entry.js +12 -5
- package/dist/esm/ez-split-button.entry.js +5 -4
- package/dist/esm/ez-split-item.entry.js +6 -2
- package/dist/esm/ez-tag.entry.js +34 -0
- package/dist/esm/ez-text-area.entry.js +34 -27
- package/dist/esm/ez-text-input.entry.js +2 -1
- package/dist/esm/ez-tile-medium.entry.js +75 -0
- package/dist/esm/ez-tile.entry.js +58 -0
- package/dist/esm/ez-time-input.entry.js +12 -10
- package/dist/esm/{ez-filter-input_2.entry.js → ez-tooltip.entry.js} +3 -124
- package/dist/esm/ez-tree.entry.js +12 -1
- package/dist/esm/ez-underface.entry.js +31 -0
- package/dist/esm/ez-upload.entry.js +17 -11
- package/dist/esm/ezui.js +5 -1
- package/dist/esm/filter-column.entry.js +8 -4
- package/dist/esm/index-76eedf30.js +3681 -0
- package/dist/esm/index-baa5e267.js +48 -16
- package/dist/esm/loader.js +5 -1
- package/dist/esm/purify-34e6ff6f.js +1357 -0
- package/dist/esm/{search-column-e609d513.js → search-column-661e2324.js} +10 -6
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0759b307.entry.js +1 -0
- package/dist/ezui/p-085f83e2.entry.js +1 -0
- package/dist/ezui/p-103f5cdd.entry.js +7 -0
- package/dist/ezui/p-112455b1.js +1 -0
- package/dist/ezui/p-125275fa.entry.js +1 -0
- package/dist/ezui/p-18f6793e.entry.js +1 -0
- package/dist/ezui/p-199a1a34.entry.js +1 -0
- package/dist/ezui/p-1acc6061.entry.js +1 -0
- package/dist/ezui/p-20c024f7.entry.js +1 -0
- package/dist/ezui/p-21b252e4.entry.js +1 -0
- package/dist/ezui/p-287329d1.entry.js +1 -0
- package/dist/ezui/p-37076ba1.js +1 -0
- package/dist/ezui/p-3e7351ee.entry.js +1 -0
- package/dist/ezui/p-3e767a74.js +1 -0
- package/dist/ezui/p-4a6f4a80.entry.js +1 -0
- package/dist/ezui/p-53bc30a1.entry.js +1 -0
- package/dist/ezui/{p-4c01e506.entry.js → p-54a346fc.entry.js} +46 -46
- package/dist/ezui/p-603ef267.entry.js +1 -0
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/p-689a2ab3.entry.js +1 -0
- package/dist/ezui/p-6a5c9445.entry.js +1 -0
- package/dist/ezui/p-6b71a749.entry.js +1 -0
- package/dist/ezui/p-6d596a5a.entry.js +1 -0
- package/dist/ezui/p-6fd4535f.entry.js +1 -0
- package/dist/ezui/p-75bf01eb.entry.js +1 -0
- package/dist/ezui/p-79044c3e.entry.js +1 -0
- package/dist/ezui/p-80461324.entry.js +1 -0
- package/dist/ezui/p-871777a5.entry.js +1 -0
- package/dist/ezui/{p-69937816.entry.js → p-8afb6e8a.entry.js} +1 -1
- package/dist/ezui/p-8ee9f175.entry.js +1 -0
- package/dist/ezui/p-91c9d50e.entry.js +1 -0
- package/dist/ezui/p-93e1c917.entry.js +1 -0
- package/dist/ezui/p-9fedd404.js +1 -0
- package/dist/ezui/p-a3ada561.entry.js +1 -0
- package/dist/ezui/p-a3b18ddc.entry.js +1 -0
- package/dist/ezui/p-b1e45320.js +1 -0
- package/dist/ezui/p-b31dc417.js +1 -0
- package/dist/ezui/p-b9c271a0.entry.js +1 -0
- package/dist/ezui/p-bc8d5a6a.entry.js +1 -0
- package/dist/ezui/p-bdacdc6d.entry.js +1 -0
- package/dist/ezui/p-c441a6b9.entry.js +1 -0
- package/dist/ezui/p-cbf1a296.entry.js +1 -0
- package/dist/ezui/p-d1efd7b7.entry.js +1 -0
- package/dist/ezui/p-d2364956.js +3 -0
- package/dist/ezui/p-d2645bdf.entry.js +1 -0
- package/dist/ezui/p-d3dc8595.entry.js +1 -0
- package/dist/ezui/p-d5fb569d.entry.js +1 -0
- package/dist/ezui/p-d63703ef.entry.js +1 -0
- package/dist/ezui/p-d8cc640d.entry.js +1 -0
- package/dist/ezui/p-dd5afff2.entry.js +1 -0
- package/dist/ezui/p-e7a7c594.entry.js +1 -0
- package/dist/ezui/p-e7cd9e9b.entry.js +1 -0
- package/dist/ezui/p-ec4c70a6.entry.js +1 -0
- package/dist/ezui/p-f45cda60.entry.js +1 -0
- package/dist/ezui/p-f84b784b.js +1 -0
- package/dist/ezui/p-fcb3e6be.entry.js +1 -0
- package/dist/ezui/p-fcdc7d0b.entry.js +1 -0
- 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 +36 -6
- 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/ez-form.d.ts +1 -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/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-popover-plus/ez-popover-plus.d.ts +1 -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-tag/ez-tag.d.ts +23 -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-tile-medium/ez-tile-medium.d.ts +98 -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-tree/types/Tree.d.ts +1 -0
- package/dist/types/components/ez-underface/ez-underface.d.ts +23 -0
- package/dist/types/components/ez-upload/ez-upload.d.ts +3 -1
- package/dist/types/components.d.ts +758 -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 +280 -0
- package/dist/types/utils/i18n/locales/es-es.d.ts +280 -0
- package/dist/types/utils/i18n/locales/pt-br.d.ts +280 -0
- package/dist/types/utils/i18n/translations.d.ts +840 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/searchColumn/search-column.d.ts +0 -2
- package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -0
- package/package.json +9 -2
- package/react/components.d.ts +13 -0
- package/react/components.js +13 -0
- package/react/components.js.map +1 -1
- package/dist/assets/actions-sprite.svg +0 -257
- package/dist/collection/components/assets/actions-sprite.svg +0 -257
- 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-0306dff7.entry.js +0 -1
- package/dist/ezui/p-07894c4a.entry.js +0 -1
- package/dist/ezui/p-09de35a2.entry.js +0 -1
- package/dist/ezui/p-0d9856a4.entry.js +0 -1
- package/dist/ezui/p-1276ef79.entry.js +0 -1
- package/dist/ezui/p-1eb34cad.entry.js +0 -1
- package/dist/ezui/p-2187f86c.js +0 -1
- package/dist/ezui/p-26685c50.entry.js +0 -1
- package/dist/ezui/p-2b42abbb.entry.js +0 -1
- package/dist/ezui/p-2b4df33d.entry.js +0 -1
- package/dist/ezui/p-33326ac5.entry.js +0 -1
- package/dist/ezui/p-35115d5d.entry.js +0 -1
- package/dist/ezui/p-3ba9565c.entry.js +0 -1
- package/dist/ezui/p-496f7832.entry.js +0 -1
- package/dist/ezui/p-4b67138e.entry.js +0 -1
- package/dist/ezui/p-4bd6dd6a.entry.js +0 -1
- package/dist/ezui/p-555c9018.entry.js +0 -1
- package/dist/ezui/p-57363cfd.entry.js +0 -1
- package/dist/ezui/p-58f69d24.entry.js +0 -1
- package/dist/ezui/p-59561756.entry.js +0 -7
- package/dist/ezui/p-5eea9886.js +0 -1
- package/dist/ezui/p-61d3a77b.entry.js +0 -1
- package/dist/ezui/p-63cb493e.entry.js +0 -1
- package/dist/ezui/p-6e429cff.entry.js +0 -1
- package/dist/ezui/p-7019f782.entry.js +0 -1
- package/dist/ezui/p-77a4bd35.entry.js +0 -1
- package/dist/ezui/p-7ab19270.entry.js +0 -1
- package/dist/ezui/p-7eae6986.entry.js +0 -1
- package/dist/ezui/p-9478b13b.entry.js +0 -1
- package/dist/ezui/p-9567b31a.entry.js +0 -1
- package/dist/ezui/p-998afb6a.entry.js +0 -1
- package/dist/ezui/p-a148e994.entry.js +0 -1
- package/dist/ezui/p-a3bf8cf1.entry.js +0 -1
- package/dist/ezui/p-bac0f920.entry.js +0 -1
- package/dist/ezui/p-bff24a7b.js +0 -1
- package/dist/ezui/p-cb75eb46.entry.js +0 -1
- package/dist/ezui/p-d47dabdf.entry.js +0 -1
- package/dist/ezui/p-da1b4a38.entry.js +0 -1
- package/dist/ezui/p-dc73e1fe.entry.js +0 -1
- package/dist/ezui/p-e06a9886.entry.js +0 -1
- package/dist/ezui/p-e4528470.entry.js +0 -1
- package/dist/ezui/p-e6a9041d.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
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-391ebb4f.js';
|
|
5
5
|
import './DialogType-54a62731.js';
|
|
6
6
|
import './CheckMode-bdb2ec19.js';
|
|
7
|
+
import { g as getI18n, i as initI18n } from './index-76eedf30.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 } from './search-column-661e2324.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-34e6ff6f.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
|
};
|
|
@@ -64802,6 +64740,74 @@ var MenuModule = {
|
|
|
64802
64740
|
]
|
|
64803
64741
|
};
|
|
64804
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
|
+
|
|
64805
64811
|
class AgGridController {
|
|
64806
64812
|
configFilterColumn(filterColumn) {
|
|
64807
64813
|
this._filterColumn = filterColumn;
|
|
@@ -64956,6 +64962,7 @@ class AgGridController {
|
|
|
64956
64962
|
}
|
|
64957
64963
|
if (this._grid === undefined) {
|
|
64958
64964
|
LicenseManager.setLicenseKey(ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
|
|
64965
|
+
this._i18n = options.i18n;
|
|
64959
64966
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
64960
64967
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
64961
64968
|
this._doubleClickCallBack = options.onDoubleClick;
|
|
@@ -64969,7 +64976,7 @@ class AgGridController {
|
|
|
64969
64976
|
}
|
|
64970
64977
|
this._gridOptions = {
|
|
64971
64978
|
suppressHorizontalScroll: options.suppressHorizontalScroll,
|
|
64972
|
-
localeText:
|
|
64979
|
+
localeText: buildLocaleText(this._options.i18n),
|
|
64973
64980
|
enableRangeSelection: this._multipleSelection,
|
|
64974
64981
|
rowSelection: this._multipleSelection ? 'multiple' : 'single',
|
|
64975
64982
|
sortingOrder: ['desc', 'asc', null],
|
|
@@ -65083,7 +65090,7 @@ class AgGridController {
|
|
|
65083
65090
|
buildMenuItemOptionSort(params, sortOrder) {
|
|
65084
65091
|
return {
|
|
65085
65092
|
icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
|
|
65086
|
-
name: sortOrder === 'asc' ?
|
|
65093
|
+
name: sortOrder === 'asc' ? this._i18n("ez-grid.sortAscending") : this._i18n("ez-grid.sortDescending"),
|
|
65087
65094
|
action: () => this.sortDataByColumn(params, sortOrder),
|
|
65088
65095
|
};
|
|
65089
65096
|
}
|
|
@@ -65092,7 +65099,7 @@ class AgGridController {
|
|
|
65092
65099
|
const columnLabel = params.column.getColDef().headerName;
|
|
65093
65100
|
return {
|
|
65094
65101
|
icon: `<i class='ez-icon-filter'></i>`,
|
|
65095
|
-
name:
|
|
65102
|
+
name: this._i18n("ez-grid.filter"),
|
|
65096
65103
|
action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
|
|
65097
65104
|
};
|
|
65098
65105
|
}
|
|
@@ -65118,7 +65125,7 @@ class AgGridController {
|
|
|
65118
65125
|
const isPinned = params.column.isPinned();
|
|
65119
65126
|
return {
|
|
65120
65127
|
icon: `<i class='ez-icon-${isPinned ? 'un-pin' : 'push-pin'}'></i>`,
|
|
65121
|
-
name: isPinned ?
|
|
65128
|
+
name: isPinned ? this._i18n("ez-grid.unpinColumn") : this._i18n("ez-grid.pinColumn"),
|
|
65122
65129
|
action: () => {
|
|
65123
65130
|
columnApi.applyColumnState({
|
|
65124
65131
|
state: [{ colId: column.getColId(), pinned: column.isPinned() ? null : 'left' }],
|
|
@@ -65496,7 +65503,9 @@ class AgGridController {
|
|
|
65496
65503
|
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
65497
65504
|
}
|
|
65498
65505
|
setColumnsDef(cols) {
|
|
65499
|
-
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: '' } }));
|
|
65500
65509
|
const newColDefs = this._options.suppressCheckBoxCol ? [] : [checkBoxColumn];
|
|
65501
65510
|
if (this._statusResolver != undefined) {
|
|
65502
65511
|
newColDefs.push({
|
|
@@ -65517,6 +65526,7 @@ class AgGridController {
|
|
|
65517
65526
|
cellStyle: {
|
|
65518
65527
|
'text-align': 'center',
|
|
65519
65528
|
},
|
|
65529
|
+
suppressNavigable: true,
|
|
65520
65530
|
});
|
|
65521
65531
|
}
|
|
65522
65532
|
cols.forEach(c => {
|
|
@@ -65720,7 +65730,7 @@ class AgGridController {
|
|
|
65720
65730
|
tooltip = (_c = source.props) === null || _c === void 0 ? void 0 : _c.get('gridHeaderTooltip');
|
|
65721
65731
|
}
|
|
65722
65732
|
else if (propSortable === false) {
|
|
65723
|
-
tooltip = '
|
|
65733
|
+
tooltip = this._i18n('ez-grid.columnCantBeOrder');
|
|
65724
65734
|
}
|
|
65725
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);
|
|
65726
65736
|
return this._editionManager.configureColumn({
|
|
@@ -65745,7 +65755,11 @@ class AgGridController {
|
|
|
65745
65755
|
return "";
|
|
65746
65756
|
}
|
|
65747
65757
|
if (params.value instanceof Promise) {
|
|
65748
|
-
return "
|
|
65758
|
+
return `${this._i18n("app.loading")}...`;
|
|
65759
|
+
}
|
|
65760
|
+
if (source.userInterface === UserInterface.HTML) {
|
|
65761
|
+
this.setHTMLRender(params, source);
|
|
65762
|
+
return "";
|
|
65749
65763
|
}
|
|
65750
65764
|
const customFormatter = this._customFormatters.get(source.name);
|
|
65751
65765
|
if (customFormatter) {
|
|
@@ -65763,6 +65777,24 @@ class AgGridController {
|
|
|
65763
65777
|
editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
|
|
65764
65778
|
});
|
|
65765
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
|
+
}
|
|
65766
65798
|
setCustomFormatters(customFormatters) {
|
|
65767
65799
|
this._customFormatters = customFormatters;
|
|
65768
65800
|
}
|
|
@@ -65819,10 +65851,10 @@ class AgGridController {
|
|
|
65819
65851
|
}
|
|
65820
65852
|
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UserInterface.SWITCH) {
|
|
65821
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') {
|
|
65822
|
-
return
|
|
65854
|
+
return this._i18n("app.yes");
|
|
65823
65855
|
}
|
|
65824
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') {
|
|
65825
|
-
return
|
|
65857
|
+
return this._i18n("app.no");
|
|
65826
65858
|
}
|
|
65827
65859
|
}
|
|
65828
65860
|
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UserInterface.SEARCH) {
|
|
@@ -66045,27 +66077,30 @@ function enableSelectAll(total) {
|
|
|
66045
66077
|
return total !== undefined;
|
|
66046
66078
|
}
|
|
66047
66079
|
function buildSelectAllLabel(allRecordSelected, count, total) {
|
|
66080
|
+
const i18n = getI18n();
|
|
66048
66081
|
if (allRecordSelected)
|
|
66049
|
-
return '
|
|
66082
|
+
return i18n('utils.selectAllPage');
|
|
66050
66083
|
if (total === undefined)
|
|
66051
|
-
return
|
|
66052
|
-
return
|
|
66084
|
+
return i18n('utils.loadingAllRecords', { count });
|
|
66085
|
+
return i18n('utils.selectAllRecords', { total });
|
|
66053
66086
|
}
|
|
66054
66087
|
function buildSelectAllTitle(total) {
|
|
66055
66088
|
if (enableSelectAll(total))
|
|
66056
66089
|
return '';
|
|
66057
|
-
|
|
66090
|
+
const i18n = getI18n();
|
|
66091
|
+
return i18n('utils.waitForLoad');
|
|
66058
66092
|
}
|
|
66059
66093
|
function getText(selectionCount, allSelectedRecords) {
|
|
66094
|
+
const i18n = getI18n();
|
|
66060
66095
|
if (allSelectedRecords) {
|
|
66061
|
-
return
|
|
66096
|
+
return i18n('utils.allRecordsSelected', { selectionCount });
|
|
66062
66097
|
}
|
|
66063
|
-
const
|
|
66064
|
-
return
|
|
66098
|
+
const plural = selectionCount > 1 ? "s" : "";
|
|
66099
|
+
return i18n('utils.selectedRecords', { selectionCount, plural });
|
|
66065
66100
|
}
|
|
66066
66101
|
|
|
66067
66102
|
const SelectionCounter = (props) => {
|
|
66068
|
-
const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose } = props;
|
|
66103
|
+
const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose, i18n } = props;
|
|
66069
66104
|
const { total, hasMore, count } = paginationInfo || {};
|
|
66070
66105
|
const shouldRenderSelectionButton = () => {
|
|
66071
66106
|
if ((!allRecordSelected && selectionCount === total) || (allRecordSelected && !hasMore))
|
|
@@ -66081,8 +66116,8 @@ const SelectionCounter = (props) => {
|
|
|
66081
66116
|
h("div", { class: "ez-flex ez-margin-right--medium" },
|
|
66082
66117
|
shouldRenderSelectionButton() &&
|
|
66083
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"}`))),
|
|
66084
|
-
h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: "
|
|
66085
|
-
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")),
|
|
66086
66121
|
h("ez-icon", { iconName: "close" })))));
|
|
66087
66122
|
};
|
|
66088
66123
|
function getElementID(sufix) {
|
|
@@ -66232,7 +66267,6 @@ const EzGrid = class {
|
|
|
66232
66267
|
this.configChange = createEvent(this, "configChange", 7);
|
|
66233
66268
|
this.componentReady = createEvent(this, "componentReady", 7);
|
|
66234
66269
|
this._gridController = new AgGridController(false);
|
|
66235
|
-
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
66236
66270
|
this._customEditor = new Map();
|
|
66237
66271
|
this._customRenders = new Map();
|
|
66238
66272
|
this._paginationInfo = undefined;
|
|
@@ -66626,7 +66660,7 @@ const EzGrid = class {
|
|
|
66626
66660
|
await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
|
|
66627
66661
|
}
|
|
66628
66662
|
renderCancelPagination() {
|
|
66629
|
-
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")))));
|
|
66630
66664
|
}
|
|
66631
66665
|
handleShowCancelPagination() {
|
|
66632
66666
|
var _a, _b, _c;
|
|
@@ -66642,7 +66676,7 @@ const EzGrid = class {
|
|
|
66642
66676
|
if (!this._paginationInfo)
|
|
66643
66677
|
return null;
|
|
66644
66678
|
const { currentPage, hasMore } = this._paginationInfo;
|
|
66645
|
-
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") }))));
|
|
66646
66680
|
}
|
|
66647
66681
|
shouldPresentPaginationLabel() {
|
|
66648
66682
|
return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
|
|
@@ -66682,7 +66716,8 @@ const EzGrid = class {
|
|
|
66682
66716
|
enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
|
|
66683
66717
|
enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
|
|
66684
66718
|
enableRowTableStriped: this.enableRowTableStriped,
|
|
66685
|
-
suppressHorizontalScroll: this.suppressHorizontalScroll
|
|
66719
|
+
suppressHorizontalScroll: this.suppressHorizontalScroll,
|
|
66720
|
+
i18n: this.i18n
|
|
66686
66721
|
});
|
|
66687
66722
|
if (this.config) {
|
|
66688
66723
|
this.observeConfig(this.config);
|
|
@@ -66715,7 +66750,7 @@ const EzGrid = class {
|
|
|
66715
66750
|
}
|
|
66716
66751
|
_getRemainingPageLabel() {
|
|
66717
66752
|
const { total, count } = this._paginationInfo;
|
|
66718
|
-
return `${total == undefined ?
|
|
66753
|
+
return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
|
|
66719
66754
|
}
|
|
66720
66755
|
_hasToShowCancelPagination() {
|
|
66721
66756
|
var _a;
|
|
@@ -66791,10 +66826,11 @@ const EzGrid = class {
|
|
|
66791
66826
|
}
|
|
66792
66827
|
componentDidRender() {
|
|
66793
66828
|
windowInstace.addEventListener('onSubmitFilter', () => {
|
|
66794
|
-
ApplicationUtils.info(this.
|
|
66829
|
+
ApplicationUtils.info(this.i18n("ez-grid.filterAppliedSuccess"));
|
|
66795
66830
|
});
|
|
66796
66831
|
}
|
|
66797
|
-
componentWillLoad() {
|
|
66832
|
+
async componentWillLoad() {
|
|
66833
|
+
this.i18n = await initI18n();
|
|
66798
66834
|
this._hasLeftButtons = !!this._element.querySelector('[slot="leftButtons"]');
|
|
66799
66835
|
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
66800
66836
|
return;
|
|
@@ -66833,12 +66869,12 @@ const EzGrid = class {
|
|
|
66833
66869
|
if (!this._paginationInfo)
|
|
66834
66870
|
return;
|
|
66835
66871
|
this.nextRecord();
|
|
66836
|
-
}, { description: "
|
|
66872
|
+
}, { description: this.i18n("ez-grid.nextRecord"), element: this._element })
|
|
66837
66873
|
.bind("ctrl + ,", () => {
|
|
66838
66874
|
if (!this._paginationInfo)
|
|
66839
66875
|
return;
|
|
66840
66876
|
this.previousRecord();
|
|
66841
|
-
}, { description: "
|
|
66877
|
+
}, { description: this.i18n("ez-grid.previousRecord"), element: this._element })
|
|
66842
66878
|
.bind("ctrl + alt + ArrowLeft", () => {
|
|
66843
66879
|
if (!this._paginationInfo)
|
|
66844
66880
|
return;
|
|
@@ -66846,7 +66882,7 @@ const EzGrid = class {
|
|
|
66846
66882
|
if (currentPage > 0) {
|
|
66847
66883
|
this.previousPage();
|
|
66848
66884
|
}
|
|
66849
|
-
}, { description: "
|
|
66885
|
+
}, { description: this.i18n("ez-grid.previousPage"), element: this._element })
|
|
66850
66886
|
.bind("ctrl + alt + ArrowRight", () => {
|
|
66851
66887
|
if (!this._paginationInfo)
|
|
66852
66888
|
return;
|
|
@@ -66854,7 +66890,7 @@ const EzGrid = class {
|
|
|
66854
66890
|
if (hasMore) {
|
|
66855
66891
|
this.nextPage();
|
|
66856
66892
|
}
|
|
66857
|
-
}, { description: "
|
|
66893
|
+
}, { description: this.i18n("ez-grid.nextPage"), element: this._element });
|
|
66858
66894
|
if (this.useSearchColumn) {
|
|
66859
66895
|
this._keyboardManager.bind(SHORTCUT_SEARCH_FIELD, async () => {
|
|
66860
66896
|
if (!this._container || !this._ezPopoverSearchColumn)
|
|
@@ -66862,7 +66898,7 @@ const EzGrid = class {
|
|
|
66862
66898
|
const container = this._container.getBoundingClientRect();
|
|
66863
66899
|
await focusOnFieldSerch(this._columnSearch);
|
|
66864
66900
|
this._ezPopoverSearchColumn.showUnder(this._container, { horizontalGap: container.width - (SEARCH_FIELD_FULL_WIDTH), verticalGap: container.height * -1 });
|
|
66865
|
-
}, { description:
|
|
66901
|
+
}, { description: this.i18n("ez-grid.searchColumn"), element: this._element });
|
|
66866
66902
|
}
|
|
66867
66903
|
}
|
|
66868
66904
|
async removeShortcuts() {
|
|
@@ -66872,7 +66908,7 @@ const EzGrid = class {
|
|
|
66872
66908
|
renderFieldSearchColumn() {
|
|
66873
66909
|
this._columnSearch = buildFieldSearch({
|
|
66874
66910
|
value: StringUtils$1.generateUUID(),
|
|
66875
|
-
label:
|
|
66911
|
+
label: this.i18n("ez-grid.labelSearchColumn"),
|
|
66876
66912
|
}, ({ argument }) => new Promise(accept => {
|
|
66877
66913
|
this.filterColumns(argument).then((columns) => {
|
|
66878
66914
|
accept(columns
|
|
@@ -66907,7 +66943,7 @@ const EzGrid = class {
|
|
|
66907
66943
|
'shadow-mode': !this.outlineMode && !this.hideHeader(),
|
|
66908
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
|
|
66909
66945
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
66910
|
-
` }, 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" }))));
|
|
66911
66947
|
}
|
|
66912
66948
|
static get assetsDirs() { return ["../assets"]; }
|
|
66913
66949
|
get _element() { return getElement(this); }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
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-76eedf30.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
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) {
|