@zeedhi/common 3.0.1 → 3.0.3
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/coverage/clover.xml +1858 -3152
- package/coverage/coverage-final.json +143 -172
- package/coverage/lcov-report/index.html +40 -130
- package/coverage/lcov-report/src/components/index.html +5 -5
- package/coverage/lcov-report/src/components/index.ts.html +154 -160
- package/coverage/lcov-report/src/components/zd-alert/alert.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-alert/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-badge/badge.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-badge/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-breadcrumbs/breadcrumbs.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-breadcrumbs/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-button/button.ts.html +35 -35
- package/coverage/lcov-report/src/components/zd-button/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-button-group/button-group.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-button-group/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-card/card.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-card/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-carousel/carousel.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-carousel/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-checkbox/checkbox.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-checkbox/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-checkbox-multiple/checkbox-multiple.ts.html +6 -6
- package/coverage/lcov-report/src/components/zd-checkbox-multiple/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-chip/chip.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-chip/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-code-viewer/code-viewer.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-code-viewer/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-col/col.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-col/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-collapse-card/collapse-card.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-collapse-card/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-component/child-not-found.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-component/component-render.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-component/component.ts.html +63 -63
- package/coverage/lcov-report/src/components/zd-component/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-container/container.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-container/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-currency/currency.ts.html +9 -9
- package/coverage/lcov-report/src/components/zd-currency/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-date-input/date-input.ts.html +33 -15
- package/coverage/lcov-report/src/components/zd-date-input/index.html +7 -7
- package/coverage/lcov-report/src/components/zd-date-range/date-range.ts.html +146 -38
- package/coverage/lcov-report/src/components/zd-date-range/index.html +9 -9
- package/coverage/lcov-report/src/components/zd-dialog/dialog.ts.html +30 -30
- package/coverage/lcov-report/src/components/zd-dialog/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-divider/divider.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-divider/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-dropdown/dropdown.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-dropdown/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-footer/footer.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-footer/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-form/form.ts.html +22 -22
- package/coverage/lcov-report/src/components/zd-form/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-frame/frame.ts.html +7 -7
- package/coverage/lcov-report/src/components/zd-frame/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-frame-page/frame-page.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-frame-page/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-grid/data-navigator.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-grid/data-selector.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-grid/grid-column.ts.html +11 -11
- package/coverage/lcov-report/src/components/zd-grid/grid-events.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-grid/grid.ts.html +85 -85
- package/coverage/lcov-report/src/components/zd-grid/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-grid/index.ts.html +12 -12
- package/coverage/lcov-report/src/components/zd-grid/iterable-table.ts.html +11 -11
- package/coverage/lcov-report/src/components/zd-grid/keymap-merger.ts.html +15 -15
- package/coverage/lcov-report/src/components/zd-grid/keymap-navigation.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-grid/table-action-builder.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-grid/view-navigator.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-grid-editable/data-editor-with-add.ts.html +32 -32
- package/coverage/lcov-report/src/components/zd-grid-editable/data-editor.ts.html +15 -15
- package/coverage/lcov-report/src/components/zd-grid-editable/errors/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-grid-editable/errors/index.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-grid-editable/errors/not-editing.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-grid-editable/errors/row-not-found.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-grid-editable/grid-column-editable.ts.html +7 -7
- package/coverage/lcov-report/src/components/zd-grid-editable/grid-editable-controller.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-grid-editable/grid-editable-events.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-grid-editable/grid-editable.ts.html +9 -9
- package/coverage/lcov-report/src/components/zd-grid-editable/index.html +5 -5
- package/coverage/lcov-report/src/components/zd-grid-editable/index.ts.html +13 -10
- package/coverage/lcov-report/src/components/zd-grid-editable/keymap-editing.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-header/header.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-header/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-icon/icon.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-icon/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-image/image.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-image/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-increment/increment.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-increment/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-input/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-input/input-factory.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-input/input.ts.html +48 -48
- package/coverage/lcov-report/src/components/zd-iterable/column-not-found.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-iterable/column.ts.html +96 -96
- package/coverage/lcov-report/src/components/zd-iterable/conditions-manager.ts.html +24 -24
- package/coverage/lcov-report/src/components/zd-iterable/index.html +15 -15
- package/coverage/lcov-report/src/components/zd-iterable/iterable-columns-button-controller.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-iterable/iterable-columns-button.ts.html +15 -15
- package/coverage/lcov-report/src/components/zd-iterable/iterable-controller.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-iterable/iterable-page-component.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-iterable/iterable-page-info.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-iterable/iterable-page-size.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-iterable/iterable-pagination.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-iterable/iterable.ts.html +43 -43
- package/coverage/lcov-report/src/components/zd-iterable/search.ts.html +8 -8
- package/coverage/lcov-report/src/components/zd-iterable-component-render/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-iterable-component-render/iterable-component-render.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-layout/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-layout/layout.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-list/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-list/item-not-found.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-list/list-group.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-list/list-item.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-list/list.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-loading/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-loading/loading.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-login/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-login/login-button.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-login/login.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-main/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-main/main.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-master-detail/detail-not-found.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-master-detail/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-master-detail/master-detail.ts.html +6 -6
- package/coverage/lcov-report/src/components/zd-master-detail/master-not-found.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-menu/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-menu/menu-button.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-menu/menu-group.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-menu/menu-link.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-menu/menu-separator.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-menu/menu.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-modal/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-modal/modal-close-button.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-modal/modal.ts.html +27 -27
- package/coverage/lcov-report/src/components/zd-month/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-month/month.ts.html +6 -6
- package/coverage/lcov-report/src/components/zd-number-input/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-number-input/number-input.ts.html +9 -9
- package/coverage/lcov-report/src/components/zd-password/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-password/password.ts.html +7 -7
- package/coverage/lcov-report/src/components/zd-progress/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-progress/progress.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-radio/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-radio/radio.ts.html +6 -6
- package/coverage/lcov-report/src/components/zd-row/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-row/row.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-select/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-select/select.ts.html +9 -9
- package/coverage/lcov-report/src/components/zd-select-multiple/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-select-multiple/select-multiple.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-svg-map/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-svg-map/svg-map.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-switch/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-switch/switch.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-table/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-table/table.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-tabs/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-tabs/tab-not-found.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-tabs/tab.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-tabs/tabs.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-tag/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-tag/tag.ts.html +4 -4
- package/coverage/lcov-report/src/components/zd-text/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-text/text.ts.html +10 -10
- package/coverage/lcov-report/src/components/zd-text-input/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-text-input/text-input.ts.html +25 -16
- package/coverage/lcov-report/src/components/zd-textarea/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-textarea/textarea.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-time/index.html +7 -7
- package/coverage/lcov-report/src/components/zd-time/time-format-selector.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-time/time.ts.html +32 -14
- package/coverage/lcov-report/src/components/zd-toggleable/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-toggleable/toggleable.ts.html +5 -5
- package/coverage/lcov-report/src/components/zd-tooltip/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-tooltip/tooltip.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-tree/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-tree/tree.ts.html +7 -7
- package/coverage/lcov-report/src/components/zd-tree-grid/index.html +1 -1
- package/coverage/lcov-report/src/components/zd-tree-grid/index.ts.html +7 -7
- package/coverage/lcov-report/src/components/zd-tree-grid/iterable-tree.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-tree-grid/keymap-tree.ts.html +2 -2
- package/coverage/lcov-report/src/components/zd-tree-grid/tree-data-navigator.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-tree-grid/tree-data-selector.ts.html +3 -3
- package/coverage/lcov-report/src/components/zd-tree-grid/tree-grid.ts.html +11 -11
- package/coverage/lcov-report/src/error/delete-rows.ts.html +3 -3
- package/coverage/lcov-report/src/error/index.html +9 -24
- package/coverage/lcov-report/src/{utils/is-nil.ts.html → error/index.ts.html} +13 -13
- package/coverage/lcov-report/src/error/non-initialized.ts.html +5 -5
- package/coverage/lcov-report/src/error/zeedhi-error.ts.html +3 -3
- package/coverage/lcov-report/src/index.html +5 -5
- package/coverage/lcov-report/src/index.ts.html +13 -13
- package/coverage/lcov-report/src/services/index.html +1 -1
- package/coverage/lcov-report/src/services/index.ts.html +5 -5
- package/coverage/lcov-report/src/services/zd-alert/alert-queue.ts.html +3 -3
- package/coverage/lcov-report/src/services/zd-alert/alert-replace.ts.html +3 -3
- package/coverage/lcov-report/src/services/zd-alert/alert-service.ts.html +5 -5
- package/coverage/lcov-report/src/services/zd-alert/alert-stack.ts.html +3 -3
- package/coverage/lcov-report/src/services/zd-alert/index.html +1 -1
- package/coverage/lcov-report/src/services/zd-alert/index.ts.html +6 -6
- package/coverage/lcov-report/src/services/zd-dialog/dialog-service.ts.html +4 -4
- package/coverage/lcov-report/src/services/zd-dialog/index.html +1 -1
- package/coverage/lcov-report/src/services/zd-loading/index.html +1 -1
- package/coverage/lcov-report/src/services/zd-loading/loading-service.ts.html +2 -2
- package/coverage/lcov-report/src/services/zd-modal/index.html +1 -1
- package/coverage/lcov-report/src/services/zd-modal/modal-service.ts.html +10 -10
- package/coverage/lcov-report/src/utils/data-value-out/data-value-out.ts.html +3 -3
- package/coverage/lcov-report/src/utils/data-value-out/index.html +1 -1
- package/coverage/lcov-report/src/utils/data-value-out/index.ts.html +3 -3
- package/coverage/lcov-report/src/utils/datasource-searcher/datasource-searcher.ts.html +3 -3
- package/coverage/lcov-report/src/utils/datasource-searcher/index.html +1 -1
- package/coverage/lcov-report/src/utils/datasource-searcher/index.ts.html +3 -3
- package/coverage/lcov-report/src/utils/icons/icons.ts.html +6 -6
- package/coverage/lcov-report/src/utils/icons/index.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +7 -22
- package/coverage/lcov-report/src/utils/index.ts.html +10 -19
- package/coverage/lcov-report/src/utils/omit/index.html +1 -1
- package/coverage/lcov-report/src/utils/omit/omit.ts.html +2 -2
- package/coverage/lcov-report/src/utils/theme/index.html +1 -1
- package/coverage/lcov-report/src/utils/theme/theme.ts.html +4 -4
- package/coverage/lcov-report/src/utils/tree-data-structure/index.html +1 -1
- package/coverage/lcov-report/src/utils/tree-data-structure/index.ts.html +3 -3
- package/coverage/lcov-report/src/utils/tree-data-structure/tree-data-structure.ts.html +2 -2
- package/coverage/lcov-report/src/utils/unique-by/index.html +1 -1
- package/coverage/lcov-report/src/utils/unique-by/unique-by.ts.html +3 -3
- package/coverage/lcov-report/tests/unit/components/zd-component/ComponentMock.ts.html +1 -1
- package/coverage/lcov-report/tests/unit/components/zd-component/index.html +1 -1
- package/coverage/lcov.info +2471 -5080
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/components/zd-date-input/date-input.d.ts +1 -0
- package/dist/types/components/zd-date-range/date-range.d.ts +8 -2
- package/dist/types/components/zd-grid-editable/index.d.ts +1 -0
- package/dist/types/components/zd-text-input/interfaces.d.ts +1 -0
- package/dist/types/components/zd-text-input/text-input.d.ts +1 -0
- package/dist/types/components/zd-time/time.d.ts +1 -0
- package/dist/types/error/index.d.ts +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/zd-common.js +187 -3433
- package/dist/zd-common.min.js +187 -3433
- package/package.json +3 -3
- package/src/components/index.ts +0 -2
- package/src/components/zd-date-input/date-input.ts +6 -0
- package/src/components/zd-date-range/date-range.ts +47 -11
- package/src/components/zd-grid-editable/index.ts +1 -0
- package/src/components/zd-text-input/interfaces.ts +1 -0
- package/src/components/zd-text-input/text-input.ts +3 -0
- package/src/components/zd-time/time.ts +7 -1
- package/src/error/index.ts +1 -0
- package/src/index.ts +2 -2
- package/src/utils/index.ts +0 -3
- package/coverage/lcov-report/src/components/tek-grid/columns-searcher.ts.html +0 -151
- package/coverage/lcov-report/src/components/tek-grid/dynamic-filter-datasource-factory.ts.html +0 -145
- package/coverage/lcov-report/src/components/tek-grid/filter-helper.ts.html +0 -145
- package/coverage/lcov-report/src/components/tek-grid/grid-filter-button.ts.html +0 -1351
- package/coverage/lcov-report/src/components/tek-grid/grouped-data-manager.ts.html +0 -1429
- package/coverage/lcov-report/src/components/tek-grid/grouped-data-selector.ts.html +0 -205
- package/coverage/lcov-report/src/components/tek-grid/grouped-view-navigator.ts.html +0 -340
- package/coverage/lcov-report/src/components/tek-grid/index.html +0 -326
- package/coverage/lcov-report/src/components/tek-grid/index.ts.html +0 -139
- package/coverage/lcov-report/src/components/tek-grid/interfaces.ts.html +0 -1072
- package/coverage/lcov-report/src/components/tek-grid/keymap-grouped.ts.html +0 -148
- package/coverage/lcov-report/src/components/tek-grid/layout-options.ts.html +0 -829
- package/coverage/lcov-report/src/components/tek-grid/tek-datasource/index.html +0 -161
- package/coverage/lcov-report/src/components/tek-grid/tek-datasource/index.ts.html +0 -94
- package/coverage/lcov-report/src/components/tek-grid/tek-datasource/interfaces.ts.html +0 -193
- package/coverage/lcov-report/src/components/tek-grid/tek-datasource/tek-memory-datasource.ts.html +0 -1027
- package/coverage/lcov-report/src/components/tek-grid/tek-datasource/tek-rest-datasource.ts.html +0 -757
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-column.ts.html +0 -664
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-columns-button/index.html +0 -131
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button-controller.ts.html +0 -169
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button.ts.html +0 -196
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-controller.ts.html +0 -505
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-events.ts.html +0 -400
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/export-options/button-option.ts.html +0 -163
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/export-options/index.html +0 -146
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/export-options/index.ts.html +0 -94
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/export-options/multi-option.ts.html +0 -340
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/index.html +0 -131
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/index.ts.html +0 -91
- package/coverage/lcov-report/src/components/tek-grid/tek-grid-toolbar-provider/tek-grid-toolbar-provider.ts.html +0 -1186
- package/coverage/lcov-report/src/components/tek-grid/tek-grid.ts.html +0 -3451
- package/coverage/lcov-report/src/components/zd-code-editor/code-editor.ts.html +0 -1045
- package/coverage/lcov-report/src/components/zd-code-editor/index.html +0 -116
- package/coverage/lcov-report/src/components/zd-field-group/field-group.ts.html +0 -325
- package/coverage/lcov-report/src/components/zd-field-group/index.html +0 -116
- package/coverage/lcov-report/src/error/tek-grid-delete-rows.ts.html +0 -130
- package/coverage/lcov-report/src/error/teknisa-common-error.ts.html +0 -109
- package/coverage/lcov-report/src/utils/is-filled-object/index.html +0 -116
- package/coverage/lcov-report/src/utils/is-filled-object/is-filled-object.ts.html +0 -100
- package/coverage/lcov-report/tests/unit/__helpers__/component-event-helper.ts.html +0 -106
- package/coverage/lcov-report/tests/unit/__helpers__/flush-promises-helper.ts.html +0 -94
- package/coverage/lcov-report/tests/unit/__helpers__/index.html +0 -146
- package/coverage/lcov-report/tests/unit/__helpers__/mock-http-get-helper.ts.html +0 -172
- package/dist/types/components/tek-breadcrumb-header/breadcrumb-header.d.ts +0 -14
- package/dist/types/components/tek-breadcrumb-header/interfaces.d.ts +0 -7
- package/dist/types/components/tek-grid/columns-searcher.d.ts +0 -5
- package/dist/types/components/tek-grid/dynamic-filter-datasource-factory.d.ts +0 -6
- package/dist/types/components/tek-grid/filter-helper.d.ts +0 -7
- package/dist/types/components/tek-grid/grid-filter-button.d.ts +0 -27
- package/dist/types/components/tek-grid/grouped-data-manager.d.ts +0 -82
- package/dist/types/components/tek-grid/grouped-data-selector.d.ts +0 -7
- package/dist/types/components/tek-grid/grouped-view-navigator.d.ts +0 -14
- package/dist/types/components/tek-grid/index.d.ts +0 -18
- package/dist/types/components/tek-grid/interfaces.d.ts +0 -259
- package/dist/types/components/tek-grid/keymap-grouped.d.ts +0 -7
- package/dist/types/components/tek-grid/layout-options.d.ts +0 -39
- package/dist/types/components/tek-grid/tek-datasource/index.d.ts +0 -3
- package/dist/types/components/tek-grid/tek-datasource/interfaces.d.ts +0 -16
- package/dist/types/components/tek-grid/tek-datasource/tek-memory-datasource.d.ts +0 -93
- package/dist/types/components/tek-grid/tek-datasource/tek-rest-datasource.d.ts +0 -95
- package/dist/types/components/tek-grid/tek-grid-column.d.ts +0 -42
- package/dist/types/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button-controller.d.ts +0 -8
- package/dist/types/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button.d.ts +0 -12
- package/dist/types/components/tek-grid/tek-grid-controller.d.ts +0 -31
- package/dist/types/components/tek-grid/tek-grid-events.d.ts +0 -31
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/export-options/button-option.d.ts +0 -17
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/export-options/index.d.ts +0 -3
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/export-options/interfaces.d.ts +0 -5
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/export-options/multi-option.d.ts +0 -12
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/index.d.ts +0 -2
- package/dist/types/components/tek-grid/tek-grid-toolbar-provider/tek-grid-toolbar-provider.d.ts +0 -23
- package/dist/types/components/tek-grid/tek-grid.d.ts +0 -220
- package/dist/types/components/zd-field-group/field-group.d.ts +0 -53
- package/dist/types/components/zd-field-group/interfaces.d.ts +0 -16
- package/dist/types/components/zd-number/interfaces.d.ts +0 -8
- package/dist/types/components/zd-number/number.d.ts +0 -43
- package/dist/types/error/tek-grid-delete-rows.d.ts +0 -7
- package/dist/types/error/teknisa-common-error.d.ts +0 -6
- package/dist/types/utils/config/config.d.ts +0 -7
- package/dist/types/utils/is-filled-object/is-filled-object.d.ts +0 -2
- package/dist/types/utils/is-nil.d.ts +0 -1
- package/src/components/tek-grid/columns-searcher.ts +0 -22
- package/src/components/tek-grid/dynamic-filter-datasource-factory.ts +0 -20
- package/src/components/tek-grid/filter-helper.ts +0 -20
- package/src/components/tek-grid/grid-filter-button.ts +0 -422
- package/src/components/tek-grid/grouped-data-manager.ts +0 -448
- package/src/components/tek-grid/grouped-data-selector.ts +0 -40
- package/src/components/tek-grid/grouped-view-navigator.ts +0 -85
- package/src/components/tek-grid/index.ts +0 -18
- package/src/components/tek-grid/interfaces.ts +0 -329
- package/src/components/tek-grid/keymap-grouped.ts +0 -21
- package/src/components/tek-grid/layout-options.ts +0 -248
- package/src/components/tek-grid/tek-datasource/index.ts +0 -3
- package/src/components/tek-grid/tek-datasource/interfaces.ts +0 -36
- package/src/components/tek-grid/tek-datasource/tek-memory-datasource.ts +0 -314
- package/src/components/tek-grid/tek-datasource/tek-rest-datasource.ts +0 -224
- package/src/components/tek-grid/tek-grid-column.ts +0 -193
- package/src/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button-controller.ts +0 -28
- package/src/components/tek-grid/tek-grid-columns-button/tek-grid-columns-button.ts +0 -37
- package/src/components/tek-grid/tek-grid-controller.ts +0 -140
- package/src/components/tek-grid/tek-grid-events.ts +0 -105
- package/src/components/tek-grid/tek-grid-toolbar-provider/export-options/button-option.ts +0 -26
- package/src/components/tek-grid/tek-grid-toolbar-provider/export-options/index.ts +0 -3
- package/src/components/tek-grid/tek-grid-toolbar-provider/export-options/interfaces.ts +0 -6
- package/src/components/tek-grid/tek-grid-toolbar-provider/export-options/multi-option.ts +0 -85
- package/src/components/tek-grid/tek-grid-toolbar-provider/index.ts +0 -2
- package/src/components/tek-grid/tek-grid-toolbar-provider/tek-grid-toolbar-provider.ts +0 -367
- package/src/components/tek-grid/tek-grid.ts +0 -1122
- package/src/error/tek-grid-delete-rows.ts +0 -15
- package/src/error/teknisa-common-error.ts +0 -8
- package/src/utils/config/config.ts +0 -8
- package/src/utils/is-filled-object/is-filled-object.ts +0 -5
- package/src/utils/is-nil.ts +0 -3
- package/tests/unit/components/tek-grid/button-option.spec.ts +0 -49
- package/tests/unit/components/tek-grid/columns-searcher.spec.ts +0 -112
- package/tests/unit/components/tek-grid/dynamic-filter-datasource-factory.spec.ts +0 -90
- package/tests/unit/components/tek-grid/filter-helper.spec.ts +0 -52
- package/tests/unit/components/tek-grid/grid-filter-button.spec.ts +0 -842
- package/tests/unit/components/tek-grid/grouped-data-manager.spec.ts +0 -593
- package/tests/unit/components/tek-grid/grouped-data-selector.spec.ts +0 -136
- package/tests/unit/components/tek-grid/grouped-view-navigator.spec.ts +0 -244
- package/tests/unit/components/tek-grid/keymap-grouped.spec.ts +0 -20
- package/tests/unit/components/tek-grid/layout-options.spec.ts +0 -1020
- package/tests/unit/components/tek-grid/multi-option.spec.ts +0 -139
- package/tests/unit/components/tek-grid/tek-grid-column.spec.ts +0 -312
- package/tests/unit/components/tek-grid/tek-grid-columns-button.spec.ts +0 -228
- package/tests/unit/components/tek-grid/tek-grid-controller.spec.ts +0 -253
- package/tests/unit/components/tek-grid/tek-grid-events.spec.ts +0 -186
- package/tests/unit/components/tek-grid/tek-grid-toolbar-provider.spec.ts +0 -34
- package/tests/unit/components/tek-grid/tek-grid.spec.ts +0 -895
- package/tests/unit/components/tek-grid/tek-memory-datasource.spec.ts +0 -482
- package/tests/unit/components/tek-grid/tek-rest-datasource.spec.ts +0 -422
|
@@ -1,1122 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Accessor,
|
|
3
|
-
Config,
|
|
4
|
-
Datasource,
|
|
5
|
-
DatasourceFactory,
|
|
6
|
-
I18n,
|
|
7
|
-
IDictionary,
|
|
8
|
-
IEventParam,
|
|
9
|
-
Loader,
|
|
10
|
-
Messages,
|
|
11
|
-
} from '@zeedhi/core';
|
|
12
|
-
import clonedeep from 'lodash.clonedeep';
|
|
13
|
-
import { IIterableProps } from '..';
|
|
14
|
-
import { ITekConfig } from '../../utils/config/config';
|
|
15
|
-
import { IComponent, IComponentRender } from '../zd-component/interfaces';
|
|
16
|
-
import {
|
|
17
|
-
DataNavigator,
|
|
18
|
-
Direction,
|
|
19
|
-
IDataNavigator,
|
|
20
|
-
IDataSelector,
|
|
21
|
-
IGrid,
|
|
22
|
-
IIterableTable,
|
|
23
|
-
IKeyMapMerger,
|
|
24
|
-
ITableActionBuilder,
|
|
25
|
-
IViewNavigator,
|
|
26
|
-
IterableTable,
|
|
27
|
-
KeyMapMerger,
|
|
28
|
-
KeyMapNavigation,
|
|
29
|
-
TableActionBuilder,
|
|
30
|
-
VerticalDirection,
|
|
31
|
-
} from '../zd-grid';
|
|
32
|
-
import { DataEditorWithAdd, IDataEditorWithAdd, IGridColumnEditable, IGridEditable } from '../zd-grid-editable';
|
|
33
|
-
import { KeyMapEditing } from '../zd-grid-editable/keymap-editing';
|
|
34
|
-
import { Iterable } from '../zd-iterable/iterable';
|
|
35
|
-
import { ColumnsSearcher } from './columns-searcher';
|
|
36
|
-
import { DynamicFilterDatasourceFactory } from './dynamic-filter-datasource-factory';
|
|
37
|
-
import { GroupedDataManager } from './grouped-data-manager';
|
|
38
|
-
import { GroupedDataSelector } from './grouped-data-selector';
|
|
39
|
-
import { GroupedViewNavigator } from './grouped-view-navigator';
|
|
40
|
-
import {
|
|
41
|
-
IColumnsSearcher,
|
|
42
|
-
IGroupedDataManager,
|
|
43
|
-
IModalFilterProps,
|
|
44
|
-
ITekGrid,
|
|
45
|
-
ITekGridAtoms,
|
|
46
|
-
ITekGridColumn,
|
|
47
|
-
ITekGridEvents,
|
|
48
|
-
ITekGridExportConfig,
|
|
49
|
-
ITekGridProps,
|
|
50
|
-
ITekGridSummary,
|
|
51
|
-
ITekGridToolbarProvider,
|
|
52
|
-
} from './interfaces';
|
|
53
|
-
import { KeyMapGrouped } from './keymap-grouped';
|
|
54
|
-
import { TekMemoryDatasource } from './tek-datasource/tek-memory-datasource';
|
|
55
|
-
import { TekRestDatasource } from './tek-datasource/tek-rest-datasource';
|
|
56
|
-
import { TekGridColumn } from './tek-grid-column';
|
|
57
|
-
import { TekGridController } from './tek-grid-controller';
|
|
58
|
-
import { TekGridEvents } from './tek-grid-events';
|
|
59
|
-
import { TekGridToolbarProvider } from './tek-grid-toolbar-provider/tek-grid-toolbar-provider';
|
|
60
|
-
|
|
61
|
-
/* TekGrid Class */
|
|
62
|
-
export class TekGrid extends Iterable<TekGridColumn> implements ITekGrid {
|
|
63
|
-
private tableActionBuilder: ITableActionBuilder;
|
|
64
|
-
|
|
65
|
-
private iterableTable: IIterableTable;
|
|
66
|
-
|
|
67
|
-
private dataSelector: IDataSelector;
|
|
68
|
-
|
|
69
|
-
private tekGridEvents: ITekGridEvents;
|
|
70
|
-
|
|
71
|
-
private dataNavigator: IDataNavigator;
|
|
72
|
-
|
|
73
|
-
private groupedViewNavigator: IViewNavigator;
|
|
74
|
-
|
|
75
|
-
private keyMapMerger!: IKeyMapMerger;
|
|
76
|
-
|
|
77
|
-
private dataEditor: IDataEditorWithAdd;
|
|
78
|
-
|
|
79
|
-
private columnsSearcher: IColumnsSearcher;
|
|
80
|
-
|
|
81
|
-
private groupedDataManager: IGroupedDataManager;
|
|
82
|
-
|
|
83
|
-
private tekGridToolbarProvider: ITekGridToolbarProvider;
|
|
84
|
-
|
|
85
|
-
/* Grid Title */
|
|
86
|
-
public title = '';
|
|
87
|
-
|
|
88
|
-
/* Show Add button */
|
|
89
|
-
public addButton = false;
|
|
90
|
-
|
|
91
|
-
/* Show Delete button */
|
|
92
|
-
public deleteButton: 'none' | 'currentRow' | 'selection' = 'none';
|
|
93
|
-
|
|
94
|
-
/* Show Delete button */
|
|
95
|
-
public actions: IComponentRender[] = [];
|
|
96
|
-
|
|
97
|
-
/* Show edit button */
|
|
98
|
-
public showEditButtons = true;
|
|
99
|
-
|
|
100
|
-
/* Show Filter button */
|
|
101
|
-
public filterButton = false;
|
|
102
|
-
|
|
103
|
-
/* Show SearchInput */
|
|
104
|
-
public showSearch = true;
|
|
105
|
-
|
|
106
|
-
/* Show Column Filter button */
|
|
107
|
-
public columnFilterButton = false;
|
|
108
|
-
|
|
109
|
-
/* Show Columns button */
|
|
110
|
-
public columnsButton = false;
|
|
111
|
-
|
|
112
|
-
/* Defines if the grid is the unique grid on screen */
|
|
113
|
-
public mainGrid = true;
|
|
114
|
-
|
|
115
|
-
/* Columns to be ignored on columns button */
|
|
116
|
-
public columnsButtonIgnore: string[] = [];
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Enables column dragging
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
public dragColumns = true;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Enables column resizing
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
public resizeColumns = true;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Enables layout saving
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
public showLayoutOptions = true;
|
|
135
|
-
|
|
136
|
-
public xlsDefaultType?: string;
|
|
137
|
-
|
|
138
|
-
public modalFilterProps: IModalFilterProps = {
|
|
139
|
-
name: this.name,
|
|
140
|
-
height: 'auto',
|
|
141
|
-
persistent: true,
|
|
142
|
-
cssClass: '',
|
|
143
|
-
cssStyle: '',
|
|
144
|
-
dark: false,
|
|
145
|
-
draggable: false,
|
|
146
|
-
fullscreen: false,
|
|
147
|
-
dragHandle: '',
|
|
148
|
-
title: 'FILTER',
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Show export button
|
|
153
|
-
*/
|
|
154
|
-
public showExport = false;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Show refresh button
|
|
158
|
-
*/
|
|
159
|
-
public showReload = true;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Export config
|
|
163
|
-
*/
|
|
164
|
-
public exportConfig: ITekGridExportConfig[] = [
|
|
165
|
-
{
|
|
166
|
-
type: 'pdf',
|
|
167
|
-
label: I18n.translate('TEKGRID_EXPORT_AS', { type: 'PDF' }),
|
|
168
|
-
multiOption: [
|
|
169
|
-
{ label: I18n.translate('TEKGRID_PORTRAIT'), iconName: 'mdi-file-outline' },
|
|
170
|
-
{
|
|
171
|
-
label: I18n.translate('TEKGRID_LANDSCAPE'),
|
|
172
|
-
iconName: 'mdi-file-outline',
|
|
173
|
-
cssClass: 'tek-grid-export-landscape',
|
|
174
|
-
reportParams: { portrait: false },
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
type: 'xls',
|
|
180
|
-
label: I18n.translate('TEKGRID_EXPORT_AS', {
|
|
181
|
-
type: 'XLS',
|
|
182
|
-
}),
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
type: 'xls2',
|
|
186
|
-
label: I18n.translate('TEKGRID_EXPORT_AS', {
|
|
187
|
-
type: `XLS ${I18n.translate('TEKGRID_WITH_GROUPS')}`,
|
|
188
|
-
}),
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
type: 'xls3',
|
|
192
|
-
label: I18n.translate('TEKGRID_EXPORT_AS', {
|
|
193
|
-
type: `XLS ${I18n.translate('TEKGRID_GRID_MIRROR')}`,
|
|
194
|
-
}),
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
type: 'csv',
|
|
198
|
-
label: I18n.translate('TEKGRID_EXPORT_AS', { type: 'CSV' }),
|
|
199
|
-
},
|
|
200
|
-
];
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Actions to overwrite the default export config
|
|
204
|
-
*/
|
|
205
|
-
public exportActions?: IComponentRender[];
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Groups should be opened by default after building
|
|
209
|
-
*/
|
|
210
|
-
public groupsOpened = false;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Show Total summary
|
|
214
|
-
*/
|
|
215
|
-
public showSummaryTotal = true;
|
|
216
|
-
|
|
217
|
-
public editNewRowsOnly = false;
|
|
218
|
-
|
|
219
|
-
protected keyShortcutKeyMapping: any;
|
|
220
|
-
|
|
221
|
-
public showCheckboxAllFilter: boolean = (Config as ITekConfig).gridShowCheckboxAllFilter || false;
|
|
222
|
-
|
|
223
|
-
public defaultFilter: IDictionary = {};
|
|
224
|
-
|
|
225
|
-
public toolbarOpened = true;
|
|
226
|
-
|
|
227
|
-
public reportTitle = '';
|
|
228
|
-
|
|
229
|
-
editing = false;
|
|
230
|
-
|
|
231
|
-
currentColumn: TekGridColumn | null = null;
|
|
232
|
-
|
|
233
|
-
selectedRows: IDictionary<any>[] = [];
|
|
234
|
-
|
|
235
|
-
selectionState: { allSelected: boolean; except: IDictionary<any>[] } = {
|
|
236
|
-
allSelected: false,
|
|
237
|
-
except: [],
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
rowStyleConditions?: (row: IDictionary) => IDictionary;
|
|
241
|
-
|
|
242
|
-
selectAllPages: boolean = Config.gridSelectAllPages;
|
|
243
|
-
|
|
244
|
-
selectable = false;
|
|
245
|
-
|
|
246
|
-
disableSelection?: (args: { row: IDictionary<any>; component: IGrid }) => boolean;
|
|
247
|
-
|
|
248
|
-
cellSelection = false;
|
|
249
|
-
|
|
250
|
-
toolbarSlot: IComponentRender[] = [{ name: '<<NAME>>_gridSearch', component: 'ZdSearch' }];
|
|
251
|
-
|
|
252
|
-
footerSlot: IComponentRender[] = [
|
|
253
|
-
{ name: '<<NAME>>_iterablePagination', component: 'ZdIterablePagination' },
|
|
254
|
-
{
|
|
255
|
-
name: '<<NAME>>_iterableInfoDiv',
|
|
256
|
-
component: 'ZdTag',
|
|
257
|
-
cssClass: 'zd-grid-div-footer',
|
|
258
|
-
tag: 'div',
|
|
259
|
-
children: [
|
|
260
|
-
{
|
|
261
|
-
name: '<<NAME>>_iterablePageSize',
|
|
262
|
-
component: 'ZdIterablePageSize',
|
|
263
|
-
iterableComponentName: '<<NAME>>',
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
name: '<<NAME>>_iterablePageInfo',
|
|
267
|
-
component: 'ZdIterablePageInfo',
|
|
268
|
-
iterableComponentName: '<<NAME>>',
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
},
|
|
272
|
-
];
|
|
273
|
-
|
|
274
|
-
noResultsText = 'NO_RESULT';
|
|
275
|
-
|
|
276
|
-
noResultSlot: IComponentRender[] = [
|
|
277
|
-
{
|
|
278
|
-
name: '<<NAME>>_no-result',
|
|
279
|
-
component: 'ZdText',
|
|
280
|
-
cssClass: 'no-result',
|
|
281
|
-
text: this.noResultsText,
|
|
282
|
-
},
|
|
283
|
-
];
|
|
284
|
-
|
|
285
|
-
errorSlot: IComponentRender[] = [];
|
|
286
|
-
|
|
287
|
-
dense = true;
|
|
288
|
-
|
|
289
|
-
headerBackground = '';
|
|
290
|
-
|
|
291
|
-
headerCellTextColor = '';
|
|
292
|
-
|
|
293
|
-
height: string | number = 'auto';
|
|
294
|
-
|
|
295
|
-
loadingText = 'LOADING';
|
|
296
|
-
|
|
297
|
-
maxHeight: string | number = 'none';
|
|
298
|
-
|
|
299
|
-
maxWidth: string | number = 'none';
|
|
300
|
-
|
|
301
|
-
minHeight: string | number = 'auto';
|
|
302
|
-
|
|
303
|
-
minWidth: string | number = 'auto';
|
|
304
|
-
|
|
305
|
-
noDataText = 'NO_DATA';
|
|
306
|
-
|
|
307
|
-
noDataSlot: IComponentRender[] = [
|
|
308
|
-
{
|
|
309
|
-
name: '<<NAME>>_no-data',
|
|
310
|
-
component: 'ZdText',
|
|
311
|
-
cssClass: 'no-data',
|
|
312
|
-
text: this.noDataText,
|
|
313
|
-
},
|
|
314
|
-
];
|
|
315
|
-
|
|
316
|
-
showFooter = true;
|
|
317
|
-
|
|
318
|
-
showHeader = true;
|
|
319
|
-
|
|
320
|
-
showSelectAll = true;
|
|
321
|
-
|
|
322
|
-
width: string | number = '100%';
|
|
323
|
-
|
|
324
|
-
backgroundColor = 'transparent';
|
|
325
|
-
|
|
326
|
-
canEditRow?: ((args: { row: IDictionary<any>; component: IGridEditable }) => boolean) | undefined;
|
|
327
|
-
|
|
328
|
-
showCancelColumn = false;
|
|
329
|
-
|
|
330
|
-
doubleClickEdit = false;
|
|
331
|
-
|
|
332
|
-
singleEdit = false;
|
|
333
|
-
|
|
334
|
-
editingNewRows = false;
|
|
335
|
-
|
|
336
|
-
private defaultLazy = false;
|
|
337
|
-
|
|
338
|
-
private toolbarSlotProps = false;
|
|
339
|
-
|
|
340
|
-
public filterRelationsDatasource?: Datasource;
|
|
341
|
-
|
|
342
|
-
public filterOperationsDatasource?: Datasource;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* TekGrid class constructor
|
|
346
|
-
* @param props TekGrid properties
|
|
347
|
-
*/
|
|
348
|
-
constructor(props: ITekGridProps) {
|
|
349
|
-
super(props);
|
|
350
|
-
this.title = this.getInitValue('title', props.title, this.title);
|
|
351
|
-
this.addButton = this.getInitValue('addButton', props.addButton, this.addButton);
|
|
352
|
-
this.deleteButton = this.getInitValue('deleteButton', props.deleteButton, this.deleteButton);
|
|
353
|
-
this.filterButton = this.getInitValue('filterButton', props.filterButton, this.filterButton);
|
|
354
|
-
this.showSearch = this.getInitValue('showSearch', props.showSearch, this.showSearch);
|
|
355
|
-
this.columnFilterButton = this.getInitValue(
|
|
356
|
-
'columnFilterButton',
|
|
357
|
-
props.columnFilterButton,
|
|
358
|
-
this.columnFilterButton,
|
|
359
|
-
);
|
|
360
|
-
this.columnsButton = this.getInitValue('columnsButton', props.columnsButton, this.columnsButton);
|
|
361
|
-
this.columnsButtonIgnore = this.getInitValue(
|
|
362
|
-
'columnsButtonIgnore',
|
|
363
|
-
props.columnsButtonIgnore,
|
|
364
|
-
this.columnsButtonIgnore,
|
|
365
|
-
);
|
|
366
|
-
this.showEditButtons = this.getInitValue('showEditButtons', props.showEditButtons, this.showEditButtons);
|
|
367
|
-
this.dragColumns = this.getInitValue('dragColumns', props.dragColumns, this.dragColumns);
|
|
368
|
-
this.resizeColumns = this.getInitValue('resizeColumns', props.resizeColumns, this.resizeColumns);
|
|
369
|
-
this.showLayoutOptions = this.getInitValue('showLayoutOptions', props.showLayoutOptions, this.showLayoutOptions);
|
|
370
|
-
this.xlsDefaultType = this.getInitValue('xlsDefaultType', props.xlsDefaultType, this.xlsDefaultType);
|
|
371
|
-
this.showExport = this.getInitValue('showExport', props.showExport, this.showExport);
|
|
372
|
-
this.showReload = this.getInitValue('showReload', props.showReload, this.showReload);
|
|
373
|
-
this.exportConfig = this.getInitValue('exportConfig', props.exportConfig, this.exportConfig);
|
|
374
|
-
this.modalFilterProps = this.getInitValue('modalFilterProps', props.modalFilterProps, this.modalFilterProps);
|
|
375
|
-
this.exportActions = props.exportActions || this.exportActions;
|
|
376
|
-
this.groupsOpened = this.getInitValue('groupsOpened', props.groupsOpened, this.groupsOpened);
|
|
377
|
-
this.showSummaryTotal = this.getInitValue('showSummaryTotal', props.showSummaryTotal, this.showSummaryTotal);
|
|
378
|
-
this.showCheckboxAllFilter = this.getInitValue(
|
|
379
|
-
'showCheckboxAllFilter',
|
|
380
|
-
props.showCheckboxAllFilter,
|
|
381
|
-
this.showCheckboxAllFilter,
|
|
382
|
-
);
|
|
383
|
-
this.defaultFilter = this.getInitValue('defaultFilter', props.defaultFilter, this.defaultFilter);
|
|
384
|
-
this.toolbarOpened = this.getInitValue('toolbarOpened', props.toolbarOpened, this.toolbarOpened);
|
|
385
|
-
this.editNewRowsOnly = this.getInitValue('editNewRowsOnly', props.editNewRowsOnly, this.editNewRowsOnly);
|
|
386
|
-
this.mainGrid = this.getInitValue('mainGrid', props.mainGrid, this.mainGrid);
|
|
387
|
-
this.reportTitle = this.getInitValue('reportTitle', props.reportTitle, this.reportTitle);
|
|
388
|
-
this.actions = props.actions || this.actions;
|
|
389
|
-
this.toolbarSlotProps = props.toolbarSlot !== undefined;
|
|
390
|
-
|
|
391
|
-
this.cellSelection = this.getInitValue('cellSelection', props.cellSelection, this.cellSelection);
|
|
392
|
-
this.dense = this.getInitValue('dense', props.dense, this.dense);
|
|
393
|
-
this.disableSelection = this.getInitValue('disableSelection', props.disableSelection, this.disableSelection);
|
|
394
|
-
this.dragColumns = this.getInitValue('dragColumns', props.dragColumns, this.dragColumns);
|
|
395
|
-
this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
|
|
396
|
-
this.headerCellTextColor = this.getInitValue(
|
|
397
|
-
'headerCellTextColor',
|
|
398
|
-
props.headerCellTextColor,
|
|
399
|
-
this.headerCellTextColor,
|
|
400
|
-
);
|
|
401
|
-
this.height = this.getInitValue('height', props.height, this.height);
|
|
402
|
-
this.loadingText = this.getInitValue('loadingText', props.loadingText, this.loadingText);
|
|
403
|
-
this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
|
|
404
|
-
this.maxWidth = this.getInitValue('maxWidth', props.maxWidth, this.maxWidth);
|
|
405
|
-
this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
|
|
406
|
-
this.minWidth = this.getInitValue('minWidth', props.minWidth, this.minWidth);
|
|
407
|
-
this.noDataText = this.getInitValue('noDataText', props.noDataText, this.noDataText);
|
|
408
|
-
this.noResultsText = this.getInitValue('noResultsText', props.noResultsText, this.noResultsText);
|
|
409
|
-
this.resizeColumns = this.getInitValue('resizeColumns', props.resizeColumns, this.resizeColumns);
|
|
410
|
-
this.rowStyleConditions = this.getInitValue(
|
|
411
|
-
'rowStyleConditions',
|
|
412
|
-
props.rowStyleConditions,
|
|
413
|
-
this.rowStyleConditions,
|
|
414
|
-
);
|
|
415
|
-
this.selectable = this.getInitValue('selectable', props.selectable, this.selectable);
|
|
416
|
-
this.selectAllPages = this.getInitValue('selectAllPages', props.selectAllPages, this.selectAllPages);
|
|
417
|
-
this.showFooter = this.getInitValue('showFooter', props.showFooter, this.showFooter);
|
|
418
|
-
this.showHeader = this.getInitValue('showHeader', props.showHeader, this.showHeader);
|
|
419
|
-
this.showSelectAll = this.getInitValue('showSelectAll', props.showSelectAll, this.showSelectAll);
|
|
420
|
-
this.width = this.getInitValue('width', props.width, this.width);
|
|
421
|
-
this.backgroundColor = this.getInitValue('backgroundColor', props.backgroundColor, this.backgroundColor);
|
|
422
|
-
// headerBackground defaults to the backgroundColor, unless backgroundColor is transparent
|
|
423
|
-
const defaultHeaderBackground = this.backgroundColor === 'transparent' ? '' : this.backgroundColor;
|
|
424
|
-
this.headerBackground = this.getInitValue('headerBackground', props.headerBackground, defaultHeaderBackground);
|
|
425
|
-
this.doubleClickEdit = this.getInitValue('doubleClickEdit', props.doubleClickEdit, this.doubleClickEdit);
|
|
426
|
-
this.singleEdit = this.getInitValue('singleEdit', props.singleEdit, this.singleEdit);
|
|
427
|
-
this.showCancelColumn = this.getInitValue('showCancelColumn', props.showCancelColumn, this.showCancelColumn);
|
|
428
|
-
this.canEditRow = this.getInitValue('canEditRow', props.canEditRow, this.canEditRow);
|
|
429
|
-
this.editingNewRows = this.getInitValue('editingNewRows', props.editingNewRows, this.editingNewRows);
|
|
430
|
-
|
|
431
|
-
this.toolbarSlot = props.toolbarSlot || this.toolbarSlot;
|
|
432
|
-
this.footerSlot = props.footerSlot || this.footerSlot;
|
|
433
|
-
this.noDataSlot = props.noDataSlot || this.noDataSlot;
|
|
434
|
-
this.noResultSlot = props.noResultSlot || this.noResultSlot;
|
|
435
|
-
this.errorSlot = props.errorSlot || this.errorSlot;
|
|
436
|
-
this.noDataSlot = this.changeDefaultSlotNames(this.noDataSlot);
|
|
437
|
-
this.footerSlot = this.changeDefaultSlotNames(this.footerSlot);
|
|
438
|
-
this.toolbarSlot = this.changeDefaultSlotNames(this.toolbarSlot);
|
|
439
|
-
this.noResultSlot = this.changeDefaultSlotNames(this.noResultSlot);
|
|
440
|
-
this.errorSlot = this.changeDefaultSlotNames(this.errorSlot);
|
|
441
|
-
|
|
442
|
-
this.defaultLazy = this.getDefaultLazy(props);
|
|
443
|
-
|
|
444
|
-
if (this.deleteButton === 'selection') {
|
|
445
|
-
this.selectable = true;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
this.tableActionBuilder = new TableActionBuilder(this);
|
|
449
|
-
this.iterableTable = new IterableTable(this);
|
|
450
|
-
this.dataSelector = new GroupedDataSelector(this);
|
|
451
|
-
this.tekGridEvents = new TekGridEvents(this);
|
|
452
|
-
this.dataNavigator = new DataNavigator(this);
|
|
453
|
-
this.groupedViewNavigator = new GroupedViewNavigator(this);
|
|
454
|
-
this.dataEditor = new DataEditorWithAdd(this);
|
|
455
|
-
this.columnsSearcher = new ColumnsSearcher();
|
|
456
|
-
this.groupedDataManager = new GroupedDataManager(this);
|
|
457
|
-
this.tekGridToolbarProvider = new TekGridToolbarProvider(this, 'show');
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
protected initializeDatasource(props: IIterableProps) {
|
|
461
|
-
let datasourceProps = clonedeep(props.datasource);
|
|
462
|
-
// if using accessor, get props from the controller
|
|
463
|
-
if (typeof props.datasource === 'string' && Accessor.isAccessorDefinition(props.datasource)) {
|
|
464
|
-
const [controller, accessor] = Accessor.getAccessor(props.datasource);
|
|
465
|
-
const instance = Loader.getInstance(controller);
|
|
466
|
-
datasourceProps = instance[accessor];
|
|
467
|
-
}
|
|
468
|
-
this.datasource = DatasourceFactory.factory({
|
|
469
|
-
...datasourceProps,
|
|
470
|
-
searchIn: props.datasource?.searchIn || (`{{IterableController_${this.name}.searchIn}}` as any),
|
|
471
|
-
lazyLoad: true,
|
|
472
|
-
});
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
public columnHasFilter(columnName: string): boolean {
|
|
476
|
-
return this.datasource.hasFilter(columnName);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
public registerTask(task: Promise<any>) {
|
|
480
|
-
this.groupedDataManager.registerTask(task);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
public async loadAfterTasks() {
|
|
484
|
-
return this.groupedDataManager.loadAfterTasks();
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
calcSummary(column: TekGridColumn, columnNamesummary: ITekGridSummary, row: IDictionary): void {
|
|
488
|
-
this.tekGridEvents.calcSummary(column, columnNamesummary, row);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
private getDefaultLazy(props: ITekGridProps) {
|
|
492
|
-
if (typeof props.datasource === 'object') {
|
|
493
|
-
return props.datasource.lazyLoad;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
if (typeof props.datasource === 'string' && Accessor.isAccessorDefinition(props.datasource)) {
|
|
497
|
-
const [controller, accessor] = Accessor.getAccessor(props.datasource);
|
|
498
|
-
const instance = Loader.getInstance(controller);
|
|
499
|
-
return instance[accessor].lazyLoad || false;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
return false;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
initializeGrouping(lazyLoad: boolean): void {
|
|
506
|
-
this.groupedDataManager.initializeGrouping(lazyLoad);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
updateGrouping() {
|
|
510
|
-
return this.groupedDataManager.updateGrouping();
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
updateGroupedData(lazyLoad: boolean): Promise<void> {
|
|
514
|
-
return this.groupedDataManager.updateGroupedData(lazyLoad);
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
buildGroupedData(): void {
|
|
518
|
-
this.groupedDataManager.buildGroupedData();
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
openGroup(group: IDictionary<any>): void {
|
|
522
|
-
this.groupedDataManager.openGroup(group);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
isItemVisible(row: IDictionary<any>) {
|
|
526
|
-
return this.groupedDataManager.isItemVisible(row);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
isGrouped(): boolean {
|
|
530
|
-
return this.groupedDataManager.isGrouped();
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
isColumnSearchable(column: TekGridColumn): boolean {
|
|
534
|
-
return this.groupedDataManager.isColumnSearchable(column);
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
getGroupedData(): IDictionary<any>[] {
|
|
538
|
-
return this.groupedDataManager.getGroupedData();
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
directionalLeft(param: IEventParam<any>): void {
|
|
542
|
-
this.groupedDataManager.directionalLeft(param);
|
|
543
|
-
this.groupedViewNavigator.navigateLeft(param);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
directionalRight(param: IEventParam<any>): void {
|
|
547
|
-
this.groupedDataManager.directionalRight(param);
|
|
548
|
-
this.groupedViewNavigator.navigateRight(param);
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
getReport(): Promise<Window | null> {
|
|
552
|
-
throw new Error('Method not implemented.');
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
setViewUpdateFixedColumns(fn: () => void) {
|
|
556
|
-
this.groupedDataManager.setViewUpdateFixedColumns(fn);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
setViewUpdateScrollData(fn: () => void): void {
|
|
560
|
-
this.groupedDataManager.setViewUpdateScrollData(fn);
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
public onCreated(): void {
|
|
564
|
-
super.onCreated();
|
|
565
|
-
|
|
566
|
-
Loader.addController(`GridController_${this.name}`, TekGridController, [this]);
|
|
567
|
-
if (!this.toolbarSlotProps) this.toolbarSlot = this.tekGridToolbarProvider.getProperties();
|
|
568
|
-
|
|
569
|
-
this.createDynamicFilterDatasources();
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
private createDynamicFilterDatasources() {
|
|
573
|
-
if (!(this.datasource instanceof TekRestDatasource || this.datasource instanceof TekMemoryDatasource)) return;
|
|
574
|
-
|
|
575
|
-
const datasourceFactory = new DynamicFilterDatasourceFactory();
|
|
576
|
-
this.filterRelationsDatasource = datasourceFactory.factory(this.datasource.dynamicFilterRelations);
|
|
577
|
-
this.filterOperationsDatasource = datasourceFactory.factory(this.datasource.dynamicFilterOperations);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
public onMounted(element: HTMLElement): void {
|
|
581
|
-
super.onMounted(element);
|
|
582
|
-
this.keyMapMerger = new KeyMapMerger(this, [KeyMapNavigation, KeyMapEditing, KeyMapGrouped]);
|
|
583
|
-
this.keyMapMerger.bind(element);
|
|
584
|
-
|
|
585
|
-
this.initializeGrouping(this.defaultLazy);
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
public onBeforeDestroy(): void {
|
|
589
|
-
super.onBeforeDestroy();
|
|
590
|
-
this.keyMapMerger.unbind();
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
public createColumn(column: ITekGridColumn): TekGridColumn {
|
|
594
|
-
return new TekGridColumn(column, this);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
getConditionalProps({ row, column }: { row: IDictionary; column: TekGridColumn }): Partial<IComponentRender> {
|
|
598
|
-
const rowStyle = this.getRowStyleConditions(row);
|
|
599
|
-
const cellsApplied = this.getAppliedConditions({ row, column });
|
|
600
|
-
|
|
601
|
-
return { ...rowStyle, ...cellsApplied };
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
changeOrder(sortBy: { key: string; order: 'asc' | 'desc' }[]): Promise<void> {
|
|
605
|
-
return this.iterableTable.changeOrder(sortBy);
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
selectCell(row: IDictionary, column: TekGridColumn): void {
|
|
609
|
-
this.iterableTable.selectCell(row, column);
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
reapplyRowStyleConditions(row: IDictionary): IDictionary {
|
|
613
|
-
return this.iterableTable.reapplyRowStyleConditions(row);
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
getRowStyleConditions(row: IDictionary): IDictionary {
|
|
617
|
-
return this.iterableTable.getRowStyleConditions(row);
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
deleteRows(): Promise<any[]> {
|
|
621
|
-
return this.iterableTable.deleteRows();
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
selectAll(isSelected: boolean): void {
|
|
625
|
-
this.dataSelector.selectAll(isSelected);
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
toggleRow(row: IDictionary): void {
|
|
629
|
-
this.dataSelector.toggleRow(row);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
selectRow(row: IDictionary, select: boolean): void {
|
|
633
|
-
this.dataSelector.selectRow(row, select);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
callDisableSelection(row: IDictionary): boolean {
|
|
637
|
-
return this.dataSelector.callDisableSelection(row);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
selectClick(row: IDictionary<any>, isSelected: boolean, event: Event, element?: HTMLElement): void {
|
|
641
|
-
this.dataSelector.selectClick(row, isSelected, event, element);
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
selectAllClick(isSelected: boolean, event: Event, element?: HTMLElement): void {
|
|
645
|
-
this.dataSelector.selectAllClick(isSelected, event, element);
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
navigatePageUp(): void {
|
|
649
|
-
this.dataNavigator.navigatePageUp();
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
navigatePageDown(): void {
|
|
653
|
-
this.dataNavigator.navigatePageDown();
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
setViewNavigate(viewNavigate: (direction: Direction, event?: Event) => void): void {
|
|
657
|
-
this.groupedViewNavigator.setViewNavigate(viewNavigate);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
navigateLeft(params: IEventParam<any>): void {
|
|
661
|
-
if (!this.cellSelection) return;
|
|
662
|
-
this.groupedViewNavigator.navigateLeft(params);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
navigateRight(params: IEventParam<any>): void {
|
|
666
|
-
if (!this.cellSelection) return;
|
|
667
|
-
this.groupedViewNavigator.navigateRight(params);
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
navigateUp(): void {
|
|
671
|
-
this.groupedViewNavigator.navigateUp();
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
navigateDown(): void {
|
|
675
|
-
this.groupedViewNavigator.navigateDown();
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
navigateDatasource(direction: VerticalDirection): void {
|
|
679
|
-
this.dataNavigator.navigateDatasource(direction);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
getActionComponent(
|
|
683
|
-
actionComponent: IComponent,
|
|
684
|
-
column: TekGridColumn,
|
|
685
|
-
row: IDictionary,
|
|
686
|
-
parentPath?: string,
|
|
687
|
-
): IComponent {
|
|
688
|
-
return this.tableActionBuilder.getActionComponent(actionComponent, column, row, parentPath);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
addCancelColumn(): void {
|
|
692
|
-
this.dataEditor.addCancelColumn();
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
getCancelColumnProps(): IGridColumnEditable {
|
|
696
|
-
return this.dataEditor.getCancelColumnProps();
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
isAdded(row: IDictionary): boolean {
|
|
700
|
-
return this.dataEditor.isAdded(row);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
cancelAddedRow(key: string | number): Promise<any> {
|
|
704
|
-
return this.dataEditor.cancelAddedRow(key);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
cancelAddedRows(): Promise<void> {
|
|
708
|
-
return this.dataEditor.cancelAddedRows();
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
getAddedRows(): IDictionary<any>[] {
|
|
712
|
-
return this.dataEditor.getAddedRows();
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
addNewRow(row: IDictionary, position?: 'end' | 'start'): Promise<void> {
|
|
716
|
-
return this.dataEditor.addNewRow(row, position);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
getVisibleValue(row: IDictionary, column: ITekGridColumn) {
|
|
720
|
-
return this.dataEditor.getVisibleValue(row, column);
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
getEditableComponent(column: ITekGridColumn, row: IDictionary<any>): IComponentRender {
|
|
724
|
-
return this.dataEditor.getEditableComponent(column, row);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
isEdited(column: ITekGridColumn, row: IDictionary): boolean {
|
|
728
|
-
return this.dataEditor.isEdited(column, row);
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
isValid(column: ITekGridColumn, row: IDictionary, revalidate?: boolean): Promise<boolean> {
|
|
732
|
-
return this.dataEditor.isValid(column, row, revalidate);
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
checkValid(column: ITekGridColumn, row: IDictionary): boolean {
|
|
736
|
-
return this.dataEditor.checkValid(column, row);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
isGridValid(revalidate?: boolean): boolean {
|
|
740
|
-
return this.dataEditor.isGridValid(revalidate);
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
getComponent<T>(key: string, columnName: string): T {
|
|
744
|
-
return this.dataEditor.getComponent(key, columnName);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
updateRow(newRow: IDictionary): void {
|
|
748
|
-
this.dataEditor.updateRow(newRow);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
updateCell(rowKey: string, columnName: string, value: any): void {
|
|
752
|
-
this.dataEditor.updateCell(rowKey, columnName, value);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
setViewEnterEdit(fn: ((rowKey: string, columnName: string) => void) | null): void {
|
|
756
|
-
this.dataEditor.setViewEnterEdit(fn);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
enterEdit(rowKey: string, columnName: string): void {
|
|
760
|
-
this.dataEditor.enterEdit(rowKey, columnName);
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
cancelEditedRows(): Promise<void> {
|
|
764
|
-
return this.dataEditor.cancelEditedRows();
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
saveEditedRows(revalidate?: boolean): Promise<void[]> {
|
|
768
|
-
return this.dataEditor.saveEditedRows(revalidate);
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
reapplyCanEditRow(row: IDictionary<any>) {
|
|
772
|
-
return this.dataEditor.reapplyCanEditRow(row);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
getCanEditRow(row: IDictionary<any>): boolean | undefined {
|
|
776
|
-
return this.dataEditor.getCanEditRow(row);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
getEditedRows(revalidate?: boolean, silent?: boolean): IDictionary<any>[] {
|
|
780
|
-
return this.dataEditor.getEditedRows(revalidate, silent);
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
getEditedRow(row: IDictionary): IDictionary | undefined {
|
|
784
|
-
return this.dataEditor.getEditedRow(row);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
rowClick(row: IDictionary<any>, event: Event, element?: HTMLElement): void {
|
|
788
|
-
this.tekGridEvents.rowClick(row, event, element);
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
rowDoubleClick(row: IDictionary<any>, event: Event, element?: HTMLElement): void {
|
|
792
|
-
this.tekGridEvents.rowDoubleClick(row, event, element);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
cellDoubleClick(row: IDictionary<any>, column: TekGridColumn, event: Event, element?: HTMLElement): void {
|
|
796
|
-
this.tekGridEvents.cellDoubleClick(row, column, event, element);
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
inlineEdit(row: IDictionary, column: TekGridColumn, event?: Event, element?: HTMLElement): void {
|
|
800
|
-
this.tekGridEvents.inlineEdit(row, column, event, element);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
cellClick(row: IDictionary<any>, column: TekGridColumn, event: Event, element?: HTMLElement): void {
|
|
804
|
-
this.tekGridEvents.cellClick(row, column, event, element);
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
cellClickEvent(row: IDictionary<any>, column: TekGridColumn, event: Event, element?: HTMLElement): void {
|
|
808
|
-
this.tekGridEvents.cellClickEvent(row, column, event, element);
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
groupRowClick(row: IDictionary<any>, event: Event, element?: HTMLElement): void {
|
|
812
|
-
this.tekGridEvents.groupRowClick(row, event, element);
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
groupRowDoubleClick(row: IDictionary<any>, event: Event, element?: HTMLElement): void {
|
|
816
|
-
this.tekGridEvents.groupRowDoubleClick(row, event, element);
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
selectGroupClick(row: IDictionary<any>, isSelected: boolean, event: Event, element?: HTMLElement): void {
|
|
820
|
-
this.tekGridEvents.selectGroupClick(row, isSelected, event, element);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
public async setSearch(search: string): Promise<any> {
|
|
824
|
-
const { datasource } = this;
|
|
825
|
-
if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
|
|
826
|
-
datasource.searchJoin = await this.columnsSearcher.searchColumn(this.columns, search);
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
datasource.page = 1;
|
|
830
|
-
return datasource.setSearch(search);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
getAtomInstance<T>(key: keyof ITekGridAtoms) {
|
|
834
|
-
return this.tekGridToolbarProvider.getAtomInstance<T>(key);
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
getAtomName(key: keyof ITekGridAtoms) {
|
|
838
|
-
return this.tekGridToolbarProvider.getAtomName(key);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
Messages.add({
|
|
843
|
-
'pt-BR': {
|
|
844
|
-
translation: {
|
|
845
|
-
TEKGRID_CONTAINS: 'contém',
|
|
846
|
-
TEKGRID_NOT_CONTAINS: 'não contém',
|
|
847
|
-
TEKGRID_EQUALS: 'é igual a',
|
|
848
|
-
TEKGRID_NOT_EQUALS: 'é diferente de',
|
|
849
|
-
TEKGRID_GREATER_THAN: 'é maior que',
|
|
850
|
-
TEKGRID_LESS_THAN: 'é menor que',
|
|
851
|
-
TEKGRID_GREATER_THAN_EQUALS: 'é maior ou igual a',
|
|
852
|
-
TEKGRID_LESS_THAN_EQUALS: 'é menor ou igual a',
|
|
853
|
-
TEKGRID_IN: 'um dos valores',
|
|
854
|
-
TEKGRID_NOT_IN: 'nenhum dos valores',
|
|
855
|
-
TEKGRID_BETWEEN: 'está entre',
|
|
856
|
-
TEKGRID_AND: 'e',
|
|
857
|
-
TEKGRID_OR: 'ou',
|
|
858
|
-
TEKGRID_HIDE: 'Esconder Ações',
|
|
859
|
-
TEKGRID_SHOW: 'Mostrar Ações',
|
|
860
|
-
TEKGRID_ADD: 'Adicionar',
|
|
861
|
-
TEKGRID_DELETE: 'Excluir',
|
|
862
|
-
TEKGRID_REFRESH: 'Atualizar',
|
|
863
|
-
TEKGRID_COLUMNS: 'Colunas',
|
|
864
|
-
TEKGRID_SAVE: 'Salvar',
|
|
865
|
-
TEKGRID_CANCEL: 'Cancelar',
|
|
866
|
-
TEKGRID_APPLY: 'Aplicar',
|
|
867
|
-
TEKGRID_FILTER: 'Filtro',
|
|
868
|
-
TEKGRID_MULTIPLE_VALUE_HINT: 'Separe valores usando ";"',
|
|
869
|
-
TEKGRID_EXPORT: 'Exportar',
|
|
870
|
-
TEKGRID_EXPORT_AS: 'Exportar como {{ type }}',
|
|
871
|
-
TEKGRID_PORTRAIT: 'Retrato',
|
|
872
|
-
TEKGRID_LANDSCAPE: 'Paisagem',
|
|
873
|
-
TEKGRID_COLUMN_VISIBLE: 'Visível',
|
|
874
|
-
TEKGRID_COLUMN_GROUPED: 'Grupo',
|
|
875
|
-
TEKGRID_COLUMN_AGGREGATION: 'Totalização',
|
|
876
|
-
TEKGRID_COLUMN_LABEL: 'Rótulo',
|
|
877
|
-
TEKGRID_COLUMN_ALIGNMENT: 'Alinhamento',
|
|
878
|
-
TEKGRID_COLUMN_GROUP_OPENED: 'Aberto (grupo)',
|
|
879
|
-
TEKGRID_COLUMN_ORDER: 'Ordem',
|
|
880
|
-
TEKGRID_COLUMN_ORDER_DIRECTION: 'Direção (ordem)',
|
|
881
|
-
TEKGRID_AGGREGATION_SUM: 'Soma',
|
|
882
|
-
TEKGRID_AGGREGATION_AVG: 'Média',
|
|
883
|
-
TEKGRID_AGGREGATION_MAX: 'Máximo',
|
|
884
|
-
TEKGRID_AGGREGATION_MIN: 'Mínimo',
|
|
885
|
-
TEKGRID_AGGREGATION_COUNT: 'Contador',
|
|
886
|
-
TEKGRID_MORE_OPTIONS: 'Mais opções',
|
|
887
|
-
TEKGRID_COLUMNS_OPTIONS: 'Configuração de colunas',
|
|
888
|
-
TEKGRID_CLOSE: 'Fechar',
|
|
889
|
-
TEKGRID_FIXED_COLUMNS: 'Colunas fixadas',
|
|
890
|
-
TEKGRID_VISIBLE_COLUMNS: 'Colunas visíveis',
|
|
891
|
-
TEKGRID_GROUPED_COLUMNS: 'Colunas agrupadas',
|
|
892
|
-
TEKGRID_ORDER: 'Ordem',
|
|
893
|
-
TEKGRID_OTHER_COLUMNS: 'Outras colunas',
|
|
894
|
-
TEKGRID_DROP_COLUMNS: 'Arraste colunas aqui',
|
|
895
|
-
TEKGRID_DETAILS_FOR: 'Detalhes para:',
|
|
896
|
-
TEKGRID_LEFT: 'Esquerda',
|
|
897
|
-
TEKGRID_CENTER: 'Centro',
|
|
898
|
-
TEKGRID_RIGHT: 'Direita',
|
|
899
|
-
TEKGRID_ASC: 'Crescente',
|
|
900
|
-
TEKGRID_DESC: 'Decrescente',
|
|
901
|
-
TEKGRID_SELECT_COLUMN: '(selecione uma ou mais colunas)',
|
|
902
|
-
TEKGRID_SELECT_ALL: 'Selecionar todas',
|
|
903
|
-
TEKGRID_HELPERVALUE_TODAY: 'Hoje',
|
|
904
|
-
TEKGRID_HELPERVALUE_TOMORROW: 'Amanhã',
|
|
905
|
-
TEKGRID_HELPERVALUE_YESTERDAY: 'Ontem',
|
|
906
|
-
TEKGRID_HELPERVALUE_LAST_7_DAYS: 'Últimos 7 Dias',
|
|
907
|
-
TEKGRID_HELPERVALUE_NEXT_7_DAYS: 'Próximos 7 Dias',
|
|
908
|
-
TEKGRID_HELPERVALUE_CURRENT_WEEK: 'Semana Atual',
|
|
909
|
-
TEKGRID_HELPERVALUE_CURRENT_MONTH: 'Mês Atual',
|
|
910
|
-
TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Ano Atual',
|
|
911
|
-
TEKGRID_WITH_GROUPS: '(Com grupos)',
|
|
912
|
-
TEKGRID_GRID_MIRROR: '(Espelho do grid)',
|
|
913
|
-
TEKGRID_NO_DATA: 'Não há dados para gerar o relatório',
|
|
914
|
-
},
|
|
915
|
-
},
|
|
916
|
-
'en-US': {
|
|
917
|
-
translation: {
|
|
918
|
-
TEKGRID_CONTAINS: 'contains',
|
|
919
|
-
TEKGRID_NOT_CONTAINS: 'does not contain',
|
|
920
|
-
TEKGRID_EQUALS: 'is equal to',
|
|
921
|
-
TEKGRID_NOT_EQUALS: 'is different from',
|
|
922
|
-
TEKGRID_GREATER_THAN: 'is greater than',
|
|
923
|
-
TEKGRID_LESS_THAN: 'is less than',
|
|
924
|
-
TEKGRID_GREATER_THAN_EQUALS: 'is greater or equals to',
|
|
925
|
-
TEKGRID_LESS_THAN_EQUALS: 'is less or equals to',
|
|
926
|
-
TEKGRID_IN: 'is in',
|
|
927
|
-
TEKGRID_NOT_IN: 'is not in',
|
|
928
|
-
TEKGRID_BETWEEN: 'is between',
|
|
929
|
-
TEKGRID_AND: 'and',
|
|
930
|
-
TEKGRID_OR: 'or',
|
|
931
|
-
TEKGRID_HIDE: 'Hide Actions',
|
|
932
|
-
TEKGRID_SHOW: 'Show Actions',
|
|
933
|
-
TEKGRID_ADD: 'Add',
|
|
934
|
-
TEKGRID_DELETE: 'Delete',
|
|
935
|
-
TEKGRID_REFRESH: 'Refresh',
|
|
936
|
-
TEKGRID_COLUMNS: 'Columns',
|
|
937
|
-
TEKGRID_SAVE: 'Save',
|
|
938
|
-
TEKGRID_CANCEL: 'Cancel',
|
|
939
|
-
TEKGRID_APPLY: 'Apply',
|
|
940
|
-
TEKGRID_FILTER: 'Filter',
|
|
941
|
-
TEKGRID_MULTIPLE_VALUE_HINT: 'Separate values using ";"',
|
|
942
|
-
TEKGRID_EXPORT: 'Export',
|
|
943
|
-
TEKGRID_EXPORT_AS: 'Export as {{ type }}',
|
|
944
|
-
TEKGRID_PORTRAIT: 'Portrait',
|
|
945
|
-
TEKGRID_LANDSCAPE: 'Landscape',
|
|
946
|
-
TEKGRID_COLUMN_VISIBLE: 'Visible',
|
|
947
|
-
TEKGRID_COLUMN_GROUPED: 'Grouped',
|
|
948
|
-
TEKGRID_COLUMN_AGGREGATION: 'Aggregation',
|
|
949
|
-
TEKGRID_COLUMN_LABEL: 'Label',
|
|
950
|
-
TEKGRID_COLUMN_ALIGNMENT: 'Alignment',
|
|
951
|
-
TEKGRID_COLUMN_GROUP_OPENED: 'Opened (group)',
|
|
952
|
-
TEKGRID_COLUMN_ORDER: 'Order',
|
|
953
|
-
TEKGRID_COLUMN_ORDER_DIRECTION: 'Direction (order)',
|
|
954
|
-
TEKGRID_AGGREGATION_SUM: 'Sum',
|
|
955
|
-
TEKGRID_AGGREGATION_AVG: 'Average',
|
|
956
|
-
TEKGRID_AGGREGATION_MAX: 'Maximum',
|
|
957
|
-
TEKGRID_AGGREGATION_MIN: 'Minimum',
|
|
958
|
-
TEKGRID_AGGREGATION_COUNT: 'Count',
|
|
959
|
-
TEKGRID_MORE_OPTIONS: 'More options',
|
|
960
|
-
TEKGRID_COLUMNS_OPTIONS: 'Columns configuration',
|
|
961
|
-
TEKGRID_CLOSE: 'Close',
|
|
962
|
-
TEKGRID_FIXED_COLUMNS: 'Fixed columns',
|
|
963
|
-
TEKGRID_VISIBLE_COLUMNS: 'Visible columns',
|
|
964
|
-
TEKGRID_GROUPED_COLUMNS: 'Grouped columns',
|
|
965
|
-
TEKGRID_ORDER: 'Order',
|
|
966
|
-
TEKGRID_OTHER_COLUMNS: 'Other columns',
|
|
967
|
-
TEKGRID_DROP_COLUMNS: 'Drop columns here',
|
|
968
|
-
TEKGRID_DETAILS_FOR: 'Details for:',
|
|
969
|
-
TEKGRID_LEFT: 'Left',
|
|
970
|
-
TEKGRID_CENTER: 'Center',
|
|
971
|
-
TEKGRID_RIGHT: 'Right',
|
|
972
|
-
TEKGRID_ASC: 'Ascending',
|
|
973
|
-
TEKGRID_DESC: 'Descending',
|
|
974
|
-
TEKGRID_SELECT_COLUMN: '(select one or more columns)',
|
|
975
|
-
TEKGRID_SELECT_ALL: 'Select all',
|
|
976
|
-
TEKGRID_HELPERVALUE_TODAY: 'Today',
|
|
977
|
-
TEKGRID_HELPERVALUE_TOMORROW: 'Tomorrow',
|
|
978
|
-
TEKGRID_HELPERVALUE_YESTERDAY: 'Yesterday',
|
|
979
|
-
TEKGRID_HELPERVALUE_LAST_7_DAYS: 'Last 7 Days',
|
|
980
|
-
TEKGRID_HELPERVALUE_NEXT_7_DAYS: 'Next 7 Days',
|
|
981
|
-
TEKGRID_HELPERVALUE_CURRENT_WEEK: 'Current Week',
|
|
982
|
-
TEKGRID_HELPERVALUE_CURRENT_MONTH: 'Current Month',
|
|
983
|
-
TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Current Year',
|
|
984
|
-
TEKGRID_WITH_GROUPS: '(With groups)',
|
|
985
|
-
TEKGRID_GRID_MIRROR: '(Grid mirror)',
|
|
986
|
-
TEKGRID_NO_DATA: 'There is no data to generate the report',
|
|
987
|
-
},
|
|
988
|
-
},
|
|
989
|
-
'es-CL': {
|
|
990
|
-
translation: {
|
|
991
|
-
TEKGRID_CONTAINS: 'contiene',
|
|
992
|
-
TEKGRID_NOT_CONTAINS: 'no contiene',
|
|
993
|
-
TEKGRID_EQUALS: 'igual',
|
|
994
|
-
TEKGRID_NOT_EQUALS: 'es diferente de',
|
|
995
|
-
TEKGRID_GREATER_THAN: 'es mayor que',
|
|
996
|
-
TEKGRID_LESS_THAN: 'es menor que',
|
|
997
|
-
TEKGRID_GREATER_THAN_EQUALS: 'es mayor o igual que',
|
|
998
|
-
TEKGRID_LESS_THAN_EQUALS: 'es menor o igual que',
|
|
999
|
-
TEKGRID_IN: 'uno de los valores',
|
|
1000
|
-
TEKGRID_NOT_IN: 'ninguno de los valores',
|
|
1001
|
-
TEKGRID_BETWEEN: 'está entre',
|
|
1002
|
-
TEKGRID_AND: 'e',
|
|
1003
|
-
TEKGRID_OR: 'o',
|
|
1004
|
-
TEKGRID_HIDE: 'Ocultar Acciones',
|
|
1005
|
-
TEKGRID_SHOW: 'Mostrar Acciones',
|
|
1006
|
-
TEKGRID_ADD: 'Añadir',
|
|
1007
|
-
TEKGRID_DELETE: 'Eliminar',
|
|
1008
|
-
TEKGRID_REFRESH: 'Actualizar',
|
|
1009
|
-
TEKGRID_COLUMNS: 'Colunas',
|
|
1010
|
-
TEKGRID_SAVE: 'Guardar',
|
|
1011
|
-
TEKGRID_CANCEL: 'Cancelar',
|
|
1012
|
-
TEKGRID_APPLY: 'Aplicar',
|
|
1013
|
-
TEKGRID_FILTER: 'Filtro',
|
|
1014
|
-
TEKGRID_MULTIPLE_VALUE_HINT: 'Separe los valores usando ";"',
|
|
1015
|
-
TEKGRID_EXPORT: 'Exportar',
|
|
1016
|
-
TEKGRID_EXPORT_AS: 'Exportar como {{ type }}',
|
|
1017
|
-
TEKGRID_PORTRAIT: 'Vertical',
|
|
1018
|
-
TEKGRID_LANDSCAPE: 'Horizontal',
|
|
1019
|
-
TEKGRID_COLUMN_VISIBLE: 'Visible',
|
|
1020
|
-
TEKGRID_COLUMN_GROUPED: 'Grupo',
|
|
1021
|
-
TEKGRID_COLUMN_AGGREGATION: 'Totalización',
|
|
1022
|
-
TEKGRID_COLUMN_LABEL: 'Etiqueta',
|
|
1023
|
-
TEKGRID_COLUMN_ALIGNMENT: 'alineación',
|
|
1024
|
-
TEKGRID_COLUMN_GROUP_OPENED: 'Abierto (grupo)',
|
|
1025
|
-
TEKGRID_COLUMN_ORDER: 'Orden',
|
|
1026
|
-
TEKGRID_COLUMN_ORDER_DIRECTION: 'Dirección (orden)',
|
|
1027
|
-
TEKGRID_AGGREGATION_SUM: 'Suma',
|
|
1028
|
-
TEKGRID_AGGREGATION_AVG: 'Media',
|
|
1029
|
-
TEKGRID_AGGREGATION_MAX: 'Máximo',
|
|
1030
|
-
TEKGRID_AGGREGATION_MIN: 'Mínimo',
|
|
1031
|
-
TEKGRID_AGGREGATION_COUNT: 'Contar',
|
|
1032
|
-
TEKGRID_MORE_OPTIONS: 'Mas opciones',
|
|
1033
|
-
TEKGRID_COLUMNS_OPTIONS: 'Configuración de columna',
|
|
1034
|
-
TEKGRID_CLOSE: 'Cerrar',
|
|
1035
|
-
TEKGRID_FIXED_COLUMNS: 'Columnas fijas',
|
|
1036
|
-
TEKGRID_VISIBLE_COLUMNS: 'Columnas visibles',
|
|
1037
|
-
TEKGRID_GROUPED_COLUMNS: 'Columnas agrupadas',
|
|
1038
|
-
TEKGRID_ORDER: 'Orden',
|
|
1039
|
-
TEKGRID_OTHER_COLUMNS: 'Otras columnas',
|
|
1040
|
-
TEKGRID_DROP_COLUMNS: 'Arrastra columnas aquí',
|
|
1041
|
-
TEKGRID_DETAILS_FOR: 'Detalles para',
|
|
1042
|
-
TEKGRID_LEFT: 'Izquierda',
|
|
1043
|
-
TEKGRID_CENTER: 'Centro',
|
|
1044
|
-
TEKGRID_RIGHT: 'Derecha',
|
|
1045
|
-
TEKGRID_ASC: 'Creciente',
|
|
1046
|
-
TEKGRID_DESC: 'Decreciente',
|
|
1047
|
-
TEKGRID_SELECT_COLUMN: '(seleccione una o más columnas)',
|
|
1048
|
-
TEKGRID_SELECT_ALL: 'Seleccionar todas',
|
|
1049
|
-
TEKGRID_HELPERVALUE_TODAY: 'Hoy',
|
|
1050
|
-
TEKGRID_HELPERVALUE_TOMORROW: 'Mañana',
|
|
1051
|
-
TEKGRID_HELPERVALUE_YESTERDAY: 'Ayer',
|
|
1052
|
-
TEKGRID_HELPERVALUE_LAST_7_DAYS: 'Últimos 7 días',
|
|
1053
|
-
TEKGRID_HELPERVALUE_NEXT_7_DAYS: 'Próximos 7 días',
|
|
1054
|
-
TEKGRID_HELPERVALUE_CURRENT_WEEK: 'Semana actual',
|
|
1055
|
-
TEKGRID_HELPERVALUE_CURRENT_MONTH: 'Mes actual',
|
|
1056
|
-
TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Año actual',
|
|
1057
|
-
TEKGRID_WITH_GROUPS: '(Con grupos)',
|
|
1058
|
-
TEKGRID_GRID_MIRROR: '(Espejo de grid)',
|
|
1059
|
-
TEKGRID_NO_DATA: 'No hay datos para generar el reporte',
|
|
1060
|
-
},
|
|
1061
|
-
},
|
|
1062
|
-
});
|
|
1063
|
-
|
|
1064
|
-
Messages.add({
|
|
1065
|
-
'pt-BR': {
|
|
1066
|
-
translation: {
|
|
1067
|
-
NO_NOTIFICATIONS: 'Nenhuma Notificação',
|
|
1068
|
-
MARK_ALL_AS_READ: 'Marcar todas como lidas',
|
|
1069
|
-
NOTIFICATIONS: 'Notificações',
|
|
1070
|
-
SEE_ALL_NOTIFICATIONS: 'Ver todas notificações',
|
|
1071
|
-
UNAVAILABLE_IMAGE: 'Imagem indisponível',
|
|
1072
|
-
REFRESH: 'Atualizar',
|
|
1073
|
-
ACTIONS: 'Ações',
|
|
1074
|
-
FILTER: 'Filtro',
|
|
1075
|
-
LAYOUT: 'Layout: ',
|
|
1076
|
-
NEW_LAYOUT: 'Novo layout',
|
|
1077
|
-
DEFAULT_LAYOUT: 'Padrão',
|
|
1078
|
-
LAYOUT_MODIFIED:
|
|
1079
|
-
'O layout atual foi modificado. Crie um novo layout, sobrescreva um existente ou descarte as alterações', // eslint-disable-line
|
|
1080
|
-
LAYOUT_NOT_MODIFIED: 'Crie um novo layout ou aplique um dos layouts já existentes',
|
|
1081
|
-
LAYOUT_DISCART_CHANGES: 'Descartar alterações',
|
|
1082
|
-
},
|
|
1083
|
-
},
|
|
1084
|
-
'en-US': {
|
|
1085
|
-
translation: {
|
|
1086
|
-
NO_NOTIFICATIONS: 'No Notifications',
|
|
1087
|
-
MARK_ALL_AS_READ: 'Mark all as read',
|
|
1088
|
-
NOTIFICATIONS: 'Notifications',
|
|
1089
|
-
SEE_ALL_NOTIFICATIONS: 'See all notifications',
|
|
1090
|
-
UNAVAILABLE_IMAGE: 'Unavailable image',
|
|
1091
|
-
REFRESH: 'Refresh',
|
|
1092
|
-
ACTIONS: 'Actions',
|
|
1093
|
-
FILTER: 'Filter',
|
|
1094
|
-
LAYOUT: 'Layout: ',
|
|
1095
|
-
NEW_LAYOUT: 'New layout',
|
|
1096
|
-
DEFAULT_LAYOUT: 'Default',
|
|
1097
|
-
LAYOUT_MODIFIED:
|
|
1098
|
-
'The current layout has been modified. Create a new layout, overwrite an existing one or discard changes', // eslint-disable-line
|
|
1099
|
-
LAYOUT_NOT_MODIFIED: 'Create a new layout or apply one of the existing layouts',
|
|
1100
|
-
LAYOUT_DISCART_CHANGES: 'Discard changes',
|
|
1101
|
-
},
|
|
1102
|
-
},
|
|
1103
|
-
'es-CL': {
|
|
1104
|
-
translation: {
|
|
1105
|
-
NO_NOTIFICATIONS: 'Sin Notificación',
|
|
1106
|
-
MARK_ALL_AS_READ: 'Marcar todo como leído',
|
|
1107
|
-
NOTIFICATIONS: 'Notificaciones',
|
|
1108
|
-
SEE_ALL_NOTIFICATIONS: 'Ver todas las notificaciones',
|
|
1109
|
-
UNAVAILABLE_IMAGE: 'Imagen no disponible',
|
|
1110
|
-
REFRESH: 'Actualizar',
|
|
1111
|
-
ACTIONS: 'Acciones',
|
|
1112
|
-
FILTER: 'Filtro',
|
|
1113
|
-
LAYOUT: 'Disposición: ',
|
|
1114
|
-
NEW_LAYOUT: 'Nueva disposición',
|
|
1115
|
-
DEFAULT_LAYOUT: 'Default',
|
|
1116
|
-
LAYOUT_MODIFIED:
|
|
1117
|
-
'La disposición actual ha sido modificada. Cree una nueva disposición, sobrescriba una existente o descarte los cambios', // eslint-disable-line
|
|
1118
|
-
LAYOUT_NOT_MODIFIED: 'Cree una nueva disposición o aplique una de las disposiciones existentes',
|
|
1119
|
-
LAYOUT_DISCART_CHANGES: 'Descartar los cambios',
|
|
1120
|
-
},
|
|
1121
|
-
},
|
|
1122
|
-
});
|