@trudb/tru-common-lib 0.0.725 → 0.0.728
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/{esm2020 → esm2022}/lib/assets/tru-icon-module.mjs +32 -32
- package/{esm2020 → esm2022}/lib/assets/tru-search-icon-module.mjs +36 -36
- package/{esm2020 → esm2022}/lib/base-classes/tru-component-config-base.mjs +3 -3
- package/{esm2020 → esm2022}/lib/base-classes/tru-control-component-config-base.mjs +3 -3
- package/{esm2020 → esm2022}/lib/base-classes/tru-edit-control-base.mjs +17 -17
- package/esm2022/lib/base-classes/tru-edit-control-config-base.mjs +6 -0
- package/{esm2020 → esm2022}/lib/base-classes/tru-edit-parent-control-config-base.mjs +3 -3
- package/{esm2020 → esm2022}/lib/base-classes/tru-edit-pkey-control-config-base.mjs +3 -3
- package/esm2022/lib/base-classes/tru-entity-base.mjs +14 -0
- package/esm2022/lib/base-classes/tru-list-control-config-base.mjs +6 -0
- package/{esm2020 → esm2022}/lib/base-classes/tru-property-config-base.mjs +14 -15
- package/{esm2020 → esm2022}/lib/base-classes/tru-search-config-base.mjs +3 -3
- package/esm2022/lib/base-classes/tru-search-control-base.mjs +45 -0
- package/esm2022/lib/base-classes/tru-search-control-config-base.mjs +5 -0
- package/esm2022/lib/base-classes/tru-search-control-range-base.mjs +45 -0
- package/esm2022/lib/base-classes/tru-table-config-base.mjs +12 -0
- package/{esm2020 → esm2022}/lib/base-views/detail/tru-detail-view-base-module.mjs +19 -19
- package/esm2022/lib/base-views/detail/tru-detail-view-base.mjs +83 -0
- package/esm2022/lib/base-views/search/services/tru-search-view-control-event-handler.mjs +25 -0
- package/esm2022/lib/base-views/search/services/tru-search-view-event-handler.mjs +25 -0
- package/{esm2020 → esm2022}/lib/base-views/search/tru-search-view-base-module.mjs +19 -19
- package/esm2022/lib/base-views/search/tru-search-view-base.mjs +68 -0
- package/{esm2020 → esm2022}/lib/base-views/search-result/tru-search-result-view-base-module.mjs +19 -19
- package/esm2022/lib/base-views/search-result/tru-search-result-view-base.mjs +54 -0
- package/{esm2020 → esm2022}/lib/classes/tru-choice.mjs +2 -2
- package/esm2022/lib/classes/tru-context-filter-choice.mjs +11 -0
- package/esm2022/lib/classes/tru-context-filter.mjs +16 -0
- package/esm2022/lib/classes/tru-data-change-parser.mjs +287 -0
- package/esm2022/lib/classes/tru-data-change.mjs +5 -0
- package/{esm2020 → esm2022}/lib/classes/tru-formula-eval.mjs +156 -156
- package/esm2022/lib/classes/tru-merge-data-set.mjs +11 -0
- package/esm2022/lib/classes/tru-merge-data.mjs +20 -0
- package/{esm2020 → esm2022}/lib/classes/tru-name-value.mjs +2 -2
- package/esm2022/lib/classes/tru-predicate.mjs +47 -0
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-cloud-file.mjs +4 -4
- package/esm2022/lib/classes/tru-property-config-date.mjs +7 -0
- package/esm2022/lib/classes/tru-property-config-decimal.mjs +9 -0
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-file.mjs +6 -8
- package/esm2022/lib/classes/tru-property-config-foreign-key.mjs +8 -0
- package/esm2022/lib/classes/tru-property-config-integer.mjs +7 -0
- package/esm2022/lib/classes/tru-property-config-password.mjs +6 -0
- package/esm2022/lib/classes/tru-property-config-percentage.mjs +7 -0
- package/esm2022/lib/classes/tru-property-config-scientific.mjs +7 -0
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-text-choices.mjs +6 -8
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-text.mjs +8 -10
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-usa-address.mjs +6 -8
- package/{esm2020 → esm2022}/lib/classes/tru-property-config-zip-code.mjs +6 -8
- package/esm2022/lib/classes/tru-query-predicate-manager.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/confirm-dialog/tru-confirm-dialog-module.mjs +20 -20
- package/esm2022/lib/components/confirm-dialog/tru-confirm-dialog.mjs +59 -0
- package/{esm2020 → esm2022}/lib/components/data-grid/classes/tru-data-grid-config.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/data-grid/enums/tru-data-grid-types.mjs +6 -6
- package/esm2022/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.mjs +40 -0
- package/esm2022/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.mjs +27 -0
- package/esm2022/lib/components/data-grid/tru-data-grid-module.mjs +67 -0
- package/esm2022/lib/components/data-grid/tru-data-grid.mjs +382 -0
- package/{esm2020 → esm2022}/lib/components/desktop/classes/tru-desktop-title.mjs +2 -2
- package/esm2022/lib/components/desktop/classes/tru-desktop-view-config.mjs +21 -0
- package/{esm2020 → esm2022}/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.mjs +19 -19
- package/esm2022/lib/components/desktop/directives/resizable/tru-desktop-resizable.mjs +122 -0
- package/{esm2020 → esm2022}/lib/components/desktop/menubar/tru-desktop-menubar-module.mjs +56 -56
- package/esm2022/lib/components/desktop/menubar/tru-desktop-menubar.mjs +36 -0
- package/esm2022/lib/components/desktop/services/tru-desktop-manager.mjs +86 -0
- package/esm2022/lib/components/desktop/services/tru-desktop-service.mjs +108 -0
- package/esm2022/lib/components/desktop/services/tru-window-action-event-handler.mjs +25 -0
- package/esm2022/lib/components/desktop/services/tru-window-event-args.mjs +24 -0
- package/esm2022/lib/components/desktop/services/tru-window-event-handler.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/desktop/statusbar/tru-desktop-statusbar-module.mjs +19 -19
- package/esm2022/lib/components/desktop/statusbar/tru-desktop-statusbar.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/desktop/taskbar/tru-desktop-taskbar-module.mjs +21 -21
- package/esm2022/lib/components/desktop/taskbar/tru-desktop-taskbar.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/desktop/tru-desktop-module.mjs +72 -72
- package/esm2022/lib/components/desktop/tru-desktop.mjs +737 -0
- package/{esm2020 → esm2022}/lib/components/desktop/view/tru-desktop-view-module.mjs +19 -19
- package/esm2022/lib/components/desktop/view/tru-desktop-view.mjs +29 -0
- package/{esm2020 → esm2022}/lib/components/desktop/viewport/tru-desktop-viewport-module.mjs +20 -20
- package/esm2022/lib/components/desktop/viewport/tru-desktop-viewport.mjs +117 -0
- package/{esm2020 → esm2022}/lib/components/desktop/window/tru-desktop-window-module.mjs +58 -58
- package/esm2022/lib/components/desktop/window/tru-desktop-window.mjs +467 -0
- package/{esm2020 → esm2022}/lib/components/export-dialog/tru-export-dialog-module.mjs +20 -20
- package/esm2022/lib/components/export-dialog/tru-export-dialog.mjs +61 -0
- package/{esm2020 → esm2022}/lib/components/layout/column/tru-column-module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/layout/column/tru-column.mjs +12 -12
- package/{esm2020 → esm2022}/lib/components/layout/form/tru-form-module.mjs +19 -19
- package/esm2022/lib/components/layout/form/tru-form.mjs +35 -0
- package/{esm2020 → esm2022}/lib/components/layout/group-box/tru-group-box-module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/layout/group-box/tru-group-box.mjs +12 -12
- package/{esm2020 → esm2022}/lib/components/layout/row/tru-row-module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/layout/row/tru-row.mjs +12 -12
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-config.mjs +7 -7
- package/esm2022/lib/components/login/classes/tru-auth-jwt-strategy.mjs +63 -0
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-login-request.mjs +5 -3
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-logout-request.mjs +4 -3
- package/esm2022/lib/components/login/classes/tru-auth-session-strategy.mjs +21 -0
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-strategy-provider.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-token.mjs +11 -8
- package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-user-request.mjs +4 -3
- package/esm2022/lib/components/login/services/tru-auth-cache.mjs +20 -0
- package/esm2022/lib/components/login/services/tru-auth-interceptor.mjs +46 -0
- package/esm2022/lib/components/login/services/tru-auth.mjs +87 -0
- package/esm2022/lib/components/login/tru-login-module.mjs +46 -0
- package/esm2022/lib/components/login/tru-login.mjs +59 -0
- package/{esm2020 → esm2022}/lib/components/password-dialog/tru-password-dialog-module.mjs +20 -20
- package/esm2022/lib/components/password-dialog/tru-password-dialog.mjs +53 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/button/tru-toolbar-button-module.mjs +32 -32
- package/esm2022/lib/components/toolbar/button/tru-toolbar-button.mjs +40 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/classes/tru-toolbar-dropdown-option.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.mjs +44 -44
- package/esm2022/lib/components/toolbar/context-filter/tru-toolbar-context-filter.mjs +26 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.mjs +36 -36
- package/esm2022/lib/components/toolbar/dropdown/tru-toolbar-dropdown.mjs +45 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.mjs +19 -19
- package/esm2022/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.mjs +17 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.mjs +19 -19
- package/esm2022/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.mjs +26 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/menu/tru-toolbar-menu-module.mjs +32 -32
- package/esm2022/lib/components/toolbar/menu/tru-toolbar-menu.mjs +33 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/separator/tru-toolbar-separator-module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/toolbar/separator/tru-toolbar-separator.mjs +12 -12
- package/{esm2020 → esm2022}/lib/components/toolbar/text/tru-toolbar-text-module.mjs +32 -32
- package/esm2022/lib/components/toolbar/text/tru-toolbar-text.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/tru-toolbar-module.mjs +73 -73
- package/{esm2020 → esm2022}/lib/components/toolbar/tru-toolbar.mjs +20 -21
- package/{esm2020 → esm2022}/lib/components/toolbar/user-profile/tru-toolbar-user-profile-module.mjs +36 -36
- package/esm2022/lib/components/toolbar/user-profile/tru-toolbar-user-profile.mjs +38 -0
- package/esm2022/lib/components/validation-dialog/tru-validation-dialog-config.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/validation-dialog/tru-validation-dialog-module.mjs +19 -19
- package/esm2022/lib/components/validation-dialog/tru-validation-dialog.mjs +83 -0
- package/{esm2020 → esm2022}/lib/directives/breeze-validator/tru-breeze-validator-module.mjs +19 -19
- package/esm2022/lib/directives/breeze-validator/tru-breeze-validator.mjs +107 -0
- package/{esm2020 → esm2022}/lib/directives/search-panel-position-manager/tru-search-panel-position-manager-module.mjs +19 -19
- package/esm2022/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.mjs +155 -0
- package/{esm2020 → esm2022}/lib/directives/select-panel/tru-mat-select-panel-module.mjs +19 -19
- package/esm2022/lib/directives/select-panel/tru-mat-select-panel.mjs +69 -0
- package/{esm2020 → esm2022}/lib/interfaces/tru-value.mjs +1 -1
- package/{esm2020 → esm2022}/lib/material.module.mjs +192 -192
- package/esm2022/lib/services/tru-app-environment.mjs +113 -0
- package/esm2022/lib/services/tru-breeze-context-factory.mjs +84 -0
- package/esm2022/lib/services/tru-breeze-metadata-provider.mjs +21 -0
- package/esm2022/lib/services/tru-component-lookup.mjs +23 -0
- package/esm2022/lib/services/tru-connection-hub.mjs +52 -0
- package/esm2022/lib/services/tru-context-filters.mjs +28 -0
- package/esm2022/lib/services/tru-data-context.mjs +263 -0
- package/esm2022/lib/services/tru-entity-accessor.mjs +292 -0
- package/esm2022/lib/services/tru-model-property-lookup.mjs +21 -0
- package/{esm2020 → esm2022}/lib/services/tru-predicate-map.mjs +11 -11
- package/esm2022/lib/services/tru-search-result-view-manager.mjs +18 -0
- package/esm2022/lib/services/tru-sort.mjs +113 -0
- package/esm2022/lib/services/tru-table-registry.mjs +15 -0
- package/esm2022/lib/services/tru-text-manager.mjs +148 -0
- package/esm2022/lib/services/tru-ui-notification.mjs +107 -0
- package/esm2022/lib/services/tru-user.mjs +62 -0
- package/esm2022/lib/services/tru-util.mjs +76 -0
- package/{esm2020 → esm2022}/lib/tru-common-module.mjs +16 -16
- package/{esm2020 → esm2022}/public-api.mjs +144 -144
- package/{esm2020 → esm2022}/trudb-tru-common-lib.mjs +4 -4
- package/fesm2022/trudb-tru-common-lib.mjs +6932 -0
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/assets/tru-icon-module.d.ts +11 -11
- package/lib/assets/tru-search-icon-module.d.ts +11 -11
- package/lib/base-classes/tru-component-config-base.d.ts +3 -3
- package/lib/base-classes/tru-control-component-config-base.d.ts +20 -20
- package/lib/base-classes/tru-edit-control-base.d.ts +10 -10
- package/lib/base-classes/tru-edit-control-config-base.d.ts +21 -21
- package/lib/base-classes/tru-edit-parent-control-config-base.d.ts +9 -9
- package/lib/base-classes/tru-edit-pkey-control-config-base.d.ts +11 -11
- package/lib/base-classes/tru-entity-base.d.ts +14 -14
- package/lib/base-classes/tru-list-control-config-base.d.ts +21 -21
- package/lib/base-classes/tru-property-config-base.d.ts +13 -13
- package/lib/base-classes/tru-search-config-base.d.ts +9 -9
- package/lib/base-classes/tru-search-control-base.d.ts +21 -21
- package/lib/base-classes/tru-search-control-config-base.d.ts +13 -13
- package/lib/base-classes/tru-search-control-range-base.d.ts +25 -25
- package/lib/base-classes/tru-table-config-base.d.ts +11 -11
- package/lib/base-views/detail/tru-detail-view-base-module.d.ts +9 -9
- package/lib/base-views/detail/tru-detail-view-base.d.ts +32 -32
- package/lib/base-views/search/services/tru-search-view-control-event-handler.d.ts +12 -12
- package/lib/base-views/search/services/tru-search-view-event-handler.d.ts +11 -11
- package/lib/base-views/search/tru-search-view-base-module.d.ts +9 -9
- package/lib/base-views/search/tru-search-view-base.d.ts +36 -36
- package/lib/base-views/search-result/tru-search-result-view-base-module.d.ts +9 -9
- package/lib/base-views/search-result/tru-search-result-view-base.d.ts +25 -25
- package/lib/classes/tru-choice.d.ts +8 -8
- package/lib/classes/tru-context-filter-choice.d.ts +6 -6
- package/lib/classes/tru-context-filter.d.ts +10 -10
- package/lib/classes/tru-data-change-parser.d.ts +33 -33
- package/lib/classes/tru-data-change.d.ts +4 -4
- package/lib/classes/tru-formula-eval.d.ts +31 -31
- package/lib/classes/tru-merge-data-set.d.ts +7 -7
- package/lib/classes/tru-merge-data.d.ts +9 -9
- package/lib/classes/tru-name-value.d.ts +9 -9
- package/lib/classes/tru-predicate.d.ts +8 -8
- package/lib/classes/tru-property-config-cloud-file.d.ts +4 -4
- package/lib/classes/tru-property-config-date.d.ts +6 -6
- package/lib/classes/tru-property-config-decimal.d.ts +8 -8
- package/lib/classes/tru-property-config-file.d.ts +5 -5
- package/lib/classes/tru-property-config-foreign-key.d.ts +7 -7
- package/lib/classes/tru-property-config-integer.d.ts +6 -6
- package/lib/classes/tru-property-config-password.d.ts +5 -5
- package/lib/classes/tru-property-config-percentage.d.ts +6 -6
- package/lib/classes/tru-property-config-scientific.d.ts +6 -6
- package/lib/classes/tru-property-config-text-choices.d.ts +5 -5
- package/lib/classes/tru-property-config-text.d.ts +7 -7
- package/lib/classes/tru-property-config-usa-address.d.ts +5 -5
- package/lib/classes/tru-property-config-zip-code.d.ts +5 -5
- package/lib/classes/tru-query-predicate-manager.d.ts +26 -26
- package/lib/components/confirm-dialog/tru-confirm-dialog-module.d.ts +10 -10
- package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +28 -28
- package/lib/components/data-grid/classes/tru-data-grid-config.d.ts +7 -7
- package/lib/components/data-grid/enums/tru-data-grid-types.d.ts +5 -5
- package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.d.ts +13 -13
- package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.d.ts +13 -13
- package/lib/components/data-grid/tru-data-grid-module.d.ts +15 -15
- package/lib/components/data-grid/tru-data-grid.d.ts +67 -67
- package/lib/components/desktop/classes/tru-desktop-title.d.ts +4 -4
- package/lib/components/desktop/classes/tru-desktop-view-config.d.ts +16 -16
- package/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.d.ts +9 -9
- package/lib/components/desktop/directives/resizable/tru-desktop-resizable.d.ts +32 -32
- package/lib/components/desktop/menubar/tru-desktop-menubar-module.d.ts +17 -17
- package/lib/components/desktop/menubar/tru-desktop-menubar.d.ts +15 -15
- package/lib/components/desktop/services/tru-desktop-manager.d.ts +33 -33
- package/lib/components/desktop/services/tru-desktop-service.d.ts +95 -95
- package/lib/components/desktop/services/tru-window-action-event-handler.d.ts +12 -12
- package/lib/components/desktop/services/tru-window-event-args.d.ts +17 -17
- package/lib/components/desktop/services/tru-window-event-handler.d.ts +20 -20
- package/lib/components/desktop/statusbar/tru-desktop-statusbar-module.d.ts +9 -9
- package/lib/components/desktop/statusbar/tru-desktop-statusbar.d.ts +10 -10
- package/lib/components/desktop/taskbar/tru-desktop-taskbar-module.d.ts +11 -11
- package/lib/components/desktop/taskbar/tru-desktop-taskbar.d.ts +15 -15
- package/lib/components/desktop/tru-desktop-module.d.ts +20 -20
- package/lib/components/desktop/tru-desktop.d.ts +337 -337
- package/lib/components/desktop/view/tru-desktop-view-module.d.ts +9 -9
- package/lib/components/desktop/view/tru-desktop-view.d.ts +14 -14
- package/lib/components/desktop/viewport/tru-desktop-viewport-module.d.ts +10 -10
- package/lib/components/desktop/viewport/tru-desktop-viewport.d.ts +48 -48
- package/lib/components/desktop/window/tru-desktop-window-module.d.ts +17 -17
- package/lib/components/desktop/window/tru-desktop-window.d.ts +189 -189
- package/lib/components/export-dialog/tru-export-dialog-module.d.ts +10 -10
- package/lib/components/export-dialog/tru-export-dialog.d.ts +26 -26
- package/lib/components/layout/column/tru-column-module.d.ts +9 -9
- package/lib/components/layout/column/tru-column.d.ts +6 -6
- package/lib/components/layout/form/tru-form-module.d.ts +9 -9
- package/lib/components/layout/form/tru-form.d.ts +10 -10
- package/lib/components/layout/group-box/tru-group-box-module.d.ts +9 -9
- package/lib/components/layout/group-box/tru-group-box.d.ts +6 -6
- package/lib/components/layout/row/tru-row-module.d.ts +9 -9
- package/lib/components/layout/row/tru-row.d.ts +6 -6
- package/lib/components/login/classes/tru-auth-config.d.ts +16 -16
- package/lib/components/login/classes/tru-auth-jwt-strategy.d.ts +15 -15
- package/lib/components/login/classes/tru-auth-login-request.d.ts +4 -4
- package/lib/components/login/classes/tru-auth-logout-request.d.ts +3 -3
- package/lib/components/login/classes/tru-auth-session-strategy.d.ts +13 -13
- package/lib/components/login/classes/tru-auth-strategy-provider.d.ts +9 -9
- package/lib/components/login/classes/tru-auth-token.d.ts +6 -6
- package/lib/components/login/classes/tru-auth-user-request.d.ts +3 -3
- package/lib/components/login/services/tru-auth-cache.d.ts +11 -11
- package/lib/components/login/services/tru-auth-interceptor.d.ts +16 -16
- package/lib/components/login/services/tru-auth.d.ts +29 -29
- package/lib/components/login/tru-login-module.d.ts +11 -11
- package/lib/components/login/tru-login.d.ts +21 -21
- package/lib/components/password-dialog/tru-password-dialog-module.d.ts +10 -10
- package/lib/components/password-dialog/tru-password-dialog.d.ts +24 -23
- package/lib/components/toolbar/button/tru-toolbar-button-module.d.ts +11 -11
- package/lib/components/toolbar/button/tru-toolbar-button.d.ts +16 -16
- package/lib/components/toolbar/classes/tru-toolbar-dropdown-option.d.ts +4 -4
- package/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.d.ts +14 -14
- package/lib/components/toolbar/context-filter/tru-toolbar-context-filter.d.ts +13 -13
- package/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.d.ts +12 -12
- package/lib/components/toolbar/dropdown/tru-toolbar-dropdown.d.ts +18 -18
- package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.d.ts +9 -9
- package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.d.ts +7 -7
- package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.d.ts +9 -9
- package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.d.ts +8 -8
- package/lib/components/toolbar/menu/tru-toolbar-menu-module.d.ts +11 -11
- package/lib/components/toolbar/menu/tru-toolbar-menu.d.ts +10 -10
- package/lib/components/toolbar/separator/tru-toolbar-separator-module.d.ts +9 -9
- package/lib/components/toolbar/separator/tru-toolbar-separator.d.ts +6 -6
- package/lib/components/toolbar/text/tru-toolbar-text-module.d.ts +11 -11
- package/lib/components/toolbar/text/tru-toolbar-text.d.ts +12 -12
- package/lib/components/toolbar/tru-toolbar-module.d.ts +16 -16
- package/lib/components/toolbar/tru-toolbar.d.ts +9 -9
- package/lib/components/toolbar/user-profile/tru-toolbar-user-profile-module.d.ts +12 -12
- package/lib/components/toolbar/user-profile/tru-toolbar-user-profile.d.ts +17 -17
- package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +13 -13
- package/lib/components/validation-dialog/tru-validation-dialog-module.d.ts +9 -9
- package/lib/components/validation-dialog/tru-validation-dialog.d.ts +20 -20
- package/lib/directives/breeze-validator/tru-breeze-validator-module.d.ts +9 -9
- package/lib/directives/breeze-validator/tru-breeze-validator.d.ts +27 -27
- package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager-module.d.ts +9 -9
- package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.d.ts +40 -40
- package/lib/directives/select-panel/tru-mat-select-panel-module.d.ts +9 -9
- package/lib/directives/select-panel/tru-mat-select-panel.d.ts +17 -17
- package/lib/interfaces/tru-value.d.ts +6 -6
- package/lib/material.module.d.ts +50 -50
- package/lib/services/tru-app-environment.d.ts +57 -57
- package/lib/services/tru-breeze-context-factory.d.ts +32 -32
- package/lib/services/tru-breeze-metadata-provider.d.ts +9 -9
- package/lib/services/tru-component-lookup.d.ts +9 -9
- package/lib/services/tru-connection-hub.d.ts +18 -18
- package/lib/services/tru-context-filters.d.ts +10 -10
- package/lib/services/tru-data-context.d.ts +42 -42
- package/lib/services/tru-entity-accessor.d.ts +46 -46
- package/lib/services/tru-model-property-lookup.d.ts +10 -10
- package/lib/services/tru-predicate-map.d.ts +6 -6
- package/lib/services/tru-search-result-view-manager.d.ts +10 -10
- package/lib/services/tru-sort.d.ts +56 -56
- package/lib/services/tru-table-registry.d.ts +8 -8
- package/lib/services/tru-text-manager.d.ts +68 -68
- package/lib/services/tru-ui-notification.d.ts +36 -36
- package/lib/services/tru-user.d.ts +29 -29
- package/lib/services/tru-util.d.ts +14 -14
- package/lib/tru-common-module.d.ts +6 -6
- package/package.json +5 -11
- package/public-api.d.ts +117 -117
- package/esm2020/lib/base-classes/tru-edit-control-config-base.mjs +0 -4
- package/esm2020/lib/base-classes/tru-entity-base.mjs +0 -13
- package/esm2020/lib/base-classes/tru-list-control-config-base.mjs +0 -4
- package/esm2020/lib/base-classes/tru-search-control-base.mjs +0 -47
- package/esm2020/lib/base-classes/tru-search-control-config-base.mjs +0 -4
- package/esm2020/lib/base-classes/tru-search-control-range-base.mjs +0 -47
- package/esm2020/lib/base-classes/tru-table-config-base.mjs +0 -13
- package/esm2020/lib/base-views/detail/tru-detail-view-base.mjs +0 -76
- package/esm2020/lib/base-views/search/services/tru-search-view-control-event-handler.mjs +0 -27
- package/esm2020/lib/base-views/search/services/tru-search-view-event-handler.mjs +0 -27
- package/esm2020/lib/base-views/search/tru-search-view-base.mjs +0 -63
- package/esm2020/lib/base-views/search-result/tru-search-result-view-base.mjs +0 -51
- package/esm2020/lib/classes/tru-context-filter-choice.mjs +0 -8
- package/esm2020/lib/classes/tru-context-filter.mjs +0 -16
- package/esm2020/lib/classes/tru-data-change-parser.mjs +0 -277
- package/esm2020/lib/classes/tru-data-change.mjs +0 -7
- package/esm2020/lib/classes/tru-merge-data-set.mjs +0 -12
- package/esm2020/lib/classes/tru-merge-data.mjs +0 -17
- package/esm2020/lib/classes/tru-predicate.mjs +0 -47
- package/esm2020/lib/classes/tru-property-config-date.mjs +0 -9
- package/esm2020/lib/classes/tru-property-config-decimal.mjs +0 -11
- package/esm2020/lib/classes/tru-property-config-foreign-key.mjs +0 -10
- package/esm2020/lib/classes/tru-property-config-integer.mjs +0 -9
- package/esm2020/lib/classes/tru-property-config-password.mjs +0 -8
- package/esm2020/lib/classes/tru-property-config-percentage.mjs +0 -9
- package/esm2020/lib/classes/tru-property-config-scientific.mjs +0 -9
- package/esm2020/lib/classes/tru-query-predicate-manager.mjs +0 -49
- package/esm2020/lib/components/confirm-dialog/tru-confirm-dialog.mjs +0 -45
- package/esm2020/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.mjs +0 -39
- package/esm2020/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.mjs +0 -26
- package/esm2020/lib/components/data-grid/tru-data-grid-module.mjs +0 -67
- package/esm2020/lib/components/data-grid/tru-data-grid.mjs +0 -370
- package/esm2020/lib/components/desktop/classes/tru-desktop-view-config.mjs +0 -21
- package/esm2020/lib/components/desktop/directives/resizable/tru-desktop-resizable.mjs +0 -109
- package/esm2020/lib/components/desktop/menubar/tru-desktop-menubar.mjs +0 -34
- package/esm2020/lib/components/desktop/services/tru-desktop-manager.mjs +0 -84
- package/esm2020/lib/components/desktop/services/tru-desktop-service.mjs +0 -116
- package/esm2020/lib/components/desktop/services/tru-window-action-event-handler.mjs +0 -27
- package/esm2020/lib/components/desktop/services/tru-window-event-args.mjs +0 -26
- package/esm2020/lib/components/desktop/services/tru-window-event-handler.mjs +0 -44
- package/esm2020/lib/components/desktop/statusbar/tru-desktop-statusbar.mjs +0 -18
- package/esm2020/lib/components/desktop/taskbar/tru-desktop-taskbar.mjs +0 -40
- package/esm2020/lib/components/desktop/tru-desktop.mjs +0 -731
- package/esm2020/lib/components/desktop/view/tru-desktop-view.mjs +0 -25
- package/esm2020/lib/components/desktop/viewport/tru-desktop-viewport.mjs +0 -113
- package/esm2020/lib/components/desktop/window/tru-desktop-window.mjs +0 -457
- package/esm2020/lib/components/export-dialog/tru-export-dialog.mjs +0 -57
- package/esm2020/lib/components/layout/form/tru-form.mjs +0 -34
- package/esm2020/lib/components/login/classes/tru-auth-jwt-strategy.mjs +0 -65
- package/esm2020/lib/components/login/classes/tru-auth-session-strategy.mjs +0 -19
- package/esm2020/lib/components/login/services/tru-auth-cache.mjs +0 -22
- package/esm2020/lib/components/login/services/tru-auth-interceptor.mjs +0 -43
- package/esm2020/lib/components/login/services/tru-auth.mjs +0 -81
- package/esm2020/lib/components/login/tru-login-module.mjs +0 -46
- package/esm2020/lib/components/login/tru-login.mjs +0 -58
- package/esm2020/lib/components/password-dialog/tru-password-dialog.mjs +0 -44
- package/esm2020/lib/components/toolbar/button/tru-toolbar-button.mjs +0 -41
- package/esm2020/lib/components/toolbar/context-filter/tru-toolbar-context-filter.mjs +0 -24
- package/esm2020/lib/components/toolbar/dropdown/tru-toolbar-dropdown.mjs +0 -43
- package/esm2020/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.mjs +0 -16
- package/esm2020/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.mjs +0 -26
- package/esm2020/lib/components/toolbar/menu/tru-toolbar-menu.mjs +0 -33
- package/esm2020/lib/components/toolbar/text/tru-toolbar-text.mjs +0 -28
- package/esm2020/lib/components/toolbar/user-profile/tru-toolbar-user-profile.mjs +0 -35
- package/esm2020/lib/components/validation-dialog/tru-validation-dialog-config.mjs +0 -21
- package/esm2020/lib/components/validation-dialog/tru-validation-dialog.mjs +0 -79
- package/esm2020/lib/directives/breeze-validator/tru-breeze-validator.mjs +0 -100
- package/esm2020/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.mjs +0 -151
- package/esm2020/lib/directives/select-panel/tru-mat-select-panel.mjs +0 -66
- package/esm2020/lib/services/tru-app-environment.mjs +0 -94
- package/esm2020/lib/services/tru-breeze-context-factory.mjs +0 -79
- package/esm2020/lib/services/tru-breeze-metadata-provider.mjs +0 -22
- package/esm2020/lib/services/tru-component-lookup.mjs +0 -25
- package/esm2020/lib/services/tru-connection-hub.mjs +0 -48
- package/esm2020/lib/services/tru-context-filters.mjs +0 -29
- package/esm2020/lib/services/tru-data-context.mjs +0 -258
- package/esm2020/lib/services/tru-entity-accessor.mjs +0 -287
- package/esm2020/lib/services/tru-model-property-lookup.mjs +0 -22
- package/esm2020/lib/services/tru-search-result-view-manager.mjs +0 -17
- package/esm2020/lib/services/tru-sort.mjs +0 -114
- package/esm2020/lib/services/tru-table-registry.mjs +0 -16
- package/esm2020/lib/services/tru-text-manager.mjs +0 -134
- package/esm2020/lib/services/tru-ui-notification.mjs +0 -103
- package/esm2020/lib/services/tru-user.mjs +0 -63
- package/esm2020/lib/services/tru-util.mjs +0 -77
- package/fesm2015/trudb-tru-common-lib.mjs +0 -6799
- package/fesm2015/trudb-tru-common-lib.mjs.map +0 -1
- package/fesm2020/trudb-tru-common-lib.mjs +0 -6776
- package/fesm2020/trudb-tru-common-lib.mjs.map +0 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { Entity, EntityChangedEventArgs, EntityType } from "breeze-client";
|
|
2
|
-
import { TruBreezeContextFactory, TruBreezeContext } from './tru-breeze-context-factory';
|
|
3
|
-
import { TruEntityAccessor } from './tru-entity-accessor';
|
|
4
|
-
import { TruUiNotification } from './tru-ui-notification';
|
|
5
|
-
import { TruAppEnvironment } from './tru-app-environment';
|
|
6
|
-
import { Observable, Subject } from 'rxjs';
|
|
7
|
-
import { TruDataChange } from '../classes/tru-data-change';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TruDataContext {
|
|
10
|
-
private breezeContextFactory;
|
|
11
|
-
private appEnvironment;
|
|
12
|
-
private entityAccessor;
|
|
13
|
-
private uiNotification;
|
|
14
|
-
private _propertyChanged$;
|
|
15
|
-
private _dataChanged$;
|
|
16
|
-
private _breezeContext;
|
|
17
|
-
private _pendingDeleteEntities;
|
|
18
|
-
private _pendingCascadeDeleteEntities;
|
|
19
|
-
constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
|
|
20
|
-
onPropertyChanged(): Subject<any>;
|
|
21
|
-
propertyChanged(changeArgs: EntityChangedEventArgs | null): void;
|
|
22
|
-
onDataChanged(): Subject<TruDataChange>;
|
|
23
|
-
dataChanged(change: TruDataChange): void;
|
|
24
|
-
validationChangeDetection: Observable<unknown>;
|
|
25
|
-
getValidationErrors: (entities?: Array<Entity> | null) => any;
|
|
26
|
-
private formatValidationErrors;
|
|
27
|
-
private findCachedCascadeDeleteDescendants;
|
|
28
|
-
private markCachedDescendantsForDelete;
|
|
29
|
-
private markForDelete;
|
|
30
|
-
get breezeContext(): TruBreezeContext;
|
|
31
|
-
get entityManager(): import("breeze-client").EntityManager;
|
|
32
|
-
hasChanges: (entityTypes?: Array<EntityType>) => Entity[];
|
|
33
|
-
entityAccess: () => TruEntityAccessor;
|
|
34
|
-
exportCahce: () => void;
|
|
35
|
-
save: (entities?: Array<Entity> | null, deleteOperation?: boolean) => Promise<void>;
|
|
36
|
-
saveWithoutNotification: () => Promise<void>;
|
|
37
|
-
revert: () => void;
|
|
38
|
-
revertWithoutPrompt: () => void;
|
|
39
|
-
delete: (entities: Array<Entity>, confirmMsg: string, onSuccess?: Function | undefined) => void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruDataContext, never>;
|
|
41
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruDataContext>;
|
|
42
|
-
}
|
|
1
|
+
import { Entity, EntityChangedEventArgs, EntityType } from "breeze-client";
|
|
2
|
+
import { TruBreezeContextFactory, TruBreezeContext } from './tru-breeze-context-factory';
|
|
3
|
+
import { TruEntityAccessor } from './tru-entity-accessor';
|
|
4
|
+
import { TruUiNotification } from './tru-ui-notification';
|
|
5
|
+
import { TruAppEnvironment } from './tru-app-environment';
|
|
6
|
+
import { Observable, Subject } from 'rxjs';
|
|
7
|
+
import { TruDataChange } from '../classes/tru-data-change';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TruDataContext {
|
|
10
|
+
private breezeContextFactory;
|
|
11
|
+
private appEnvironment;
|
|
12
|
+
private entityAccessor;
|
|
13
|
+
private uiNotification;
|
|
14
|
+
private _propertyChanged$;
|
|
15
|
+
private _dataChanged$;
|
|
16
|
+
private _breezeContext;
|
|
17
|
+
private _pendingDeleteEntities;
|
|
18
|
+
private _pendingCascadeDeleteEntities;
|
|
19
|
+
constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
|
|
20
|
+
onPropertyChanged(): Subject<any>;
|
|
21
|
+
propertyChanged(changeArgs: EntityChangedEventArgs | null): void;
|
|
22
|
+
onDataChanged(): Subject<TruDataChange>;
|
|
23
|
+
dataChanged(change: TruDataChange): void;
|
|
24
|
+
validationChangeDetection: Observable<unknown>;
|
|
25
|
+
getValidationErrors: (entities?: Array<Entity> | null) => any;
|
|
26
|
+
private formatValidationErrors;
|
|
27
|
+
private findCachedCascadeDeleteDescendants;
|
|
28
|
+
private markCachedDescendantsForDelete;
|
|
29
|
+
private markForDelete;
|
|
30
|
+
get breezeContext(): TruBreezeContext;
|
|
31
|
+
get entityManager(): import("breeze-client").EntityManager;
|
|
32
|
+
hasChanges: (entityTypes?: Array<EntityType>) => Entity[];
|
|
33
|
+
entityAccess: () => TruEntityAccessor;
|
|
34
|
+
exportCahce: () => void;
|
|
35
|
+
save: (entities?: Array<Entity> | null, deleteOperation?: boolean) => Promise<void>;
|
|
36
|
+
saveWithoutNotification: () => Promise<void>;
|
|
37
|
+
revert: () => void;
|
|
38
|
+
revertWithoutPrompt: () => void;
|
|
39
|
+
delete: (entities: Array<Entity>, confirmMsg: string, onSuccess?: Function | undefined) => void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDataContext, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruDataContext>;
|
|
42
|
+
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { Entity } from "breeze-client";
|
|
2
|
-
import { TruEntityBase } from '../base-classes/tru-entity-base';
|
|
3
|
-
import { TruUiNotification } from "./tru-ui-notification";
|
|
4
|
-
import { TruDataContext } from "./tru-data-context";
|
|
5
|
-
import { HttpClient } from "@angular/common/http";
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { TruAppEnvironment } from "./tru-app-environment";
|
|
8
|
-
import { TruChoice } from "../classes/tru-choice";
|
|
9
|
-
import { TruNameValue } from "../classes/tru-name-value";
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class TruEntityAccessor {
|
|
12
|
-
private http;
|
|
13
|
-
private appEnvironment;
|
|
14
|
-
private uiNotification;
|
|
15
|
-
private _breezeContext;
|
|
16
|
-
private _entityManager;
|
|
17
|
-
private _maxRecordCount;
|
|
18
|
-
constructor(http: HttpClient, appEnvironment: TruAppEnvironment, uiNotification: TruUiNotification);
|
|
19
|
-
set context(dataContext: TruDataContext);
|
|
20
|
-
private getQueryServiceName;
|
|
21
|
-
private warnIfMaxRecords;
|
|
22
|
-
private formatQueryChoices;
|
|
23
|
-
private formatNameValues;
|
|
24
|
-
add: (entity: typeof TruEntityBase, contextFilters?: any) => Entity;
|
|
25
|
-
search: (entity: typeof TruEntityBase, setupQuery: any | null, expands: [
|
|
26
|
-
] | null, global: boolean) => Observable<Entity[]>;
|
|
27
|
-
searchCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
|
|
28
|
-
] | null) => Observable<Entity[]>;
|
|
29
|
-
searchCacheOnlySynchronously: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
|
|
30
|
-
] | null) => Array<any>;
|
|
31
|
-
searchQueryChoices: (entity: typeof TruEntityBase, setupQuery?: any | null, hid?: string | null, goToServer?: boolean, ref?: number | null | undefined) => Observable<TruChoice[]>;
|
|
32
|
-
searchNameValuesCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, ref?: number | null | undefined) => Observable<TruNameValue[]>;
|
|
33
|
-
searchByRef: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<TruChoice[]>;
|
|
34
|
-
searchByRefPreferedCache: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<any>;
|
|
35
|
-
searchByRefCacheOnly: (entity: typeof TruEntityBase, ref: number | null | undefined, includeDeleted?: boolean) => any;
|
|
36
|
-
searchByRefArrayCacheOnly: (entity: typeof TruEntityBase, setupQuery: any | null, refs: Array<number>, includeDeleted?: boolean) => any[] | null;
|
|
37
|
-
searchByRefWithQuery: (entity: typeof TruEntityBase, setupQuery: any, ref: number) => Observable<Entity[]>;
|
|
38
|
-
searchUserByRefCacheOnly: (ref: number | null | undefined, includeDeleted?: boolean) => any;
|
|
39
|
-
export: (entity: typeof TruEntityBase, gridSpec: string, setupQuery: any | null, entityRefs: string | null, options: any) => void;
|
|
40
|
-
private formatAsUrlParameters;
|
|
41
|
-
private downloadFromUrl;
|
|
42
|
-
private saveDownloadedFile;
|
|
43
|
-
private extractFilenameFromContentDisposition;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruEntityAccessor, never>;
|
|
45
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruEntityAccessor>;
|
|
46
|
-
}
|
|
1
|
+
import { Entity } from "breeze-client";
|
|
2
|
+
import { TruEntityBase } from '../base-classes/tru-entity-base';
|
|
3
|
+
import { TruUiNotification } from "./tru-ui-notification";
|
|
4
|
+
import { TruDataContext } from "./tru-data-context";
|
|
5
|
+
import { HttpClient } from "@angular/common/http";
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { TruAppEnvironment } from "./tru-app-environment";
|
|
8
|
+
import { TruChoice } from "../classes/tru-choice";
|
|
9
|
+
import { TruNameValue } from "../classes/tru-name-value";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class TruEntityAccessor {
|
|
12
|
+
private http;
|
|
13
|
+
private appEnvironment;
|
|
14
|
+
private uiNotification;
|
|
15
|
+
private _breezeContext;
|
|
16
|
+
private _entityManager;
|
|
17
|
+
private _maxRecordCount;
|
|
18
|
+
constructor(http: HttpClient, appEnvironment: TruAppEnvironment, uiNotification: TruUiNotification);
|
|
19
|
+
set context(dataContext: TruDataContext);
|
|
20
|
+
private getQueryServiceName;
|
|
21
|
+
private warnIfMaxRecords;
|
|
22
|
+
private formatQueryChoices;
|
|
23
|
+
private formatNameValues;
|
|
24
|
+
add: (entity: typeof TruEntityBase, contextFilters?: any) => Entity;
|
|
25
|
+
search: (entity: typeof TruEntityBase, setupQuery: any | null, expands: [
|
|
26
|
+
] | null, global: boolean) => Observable<Entity[]>;
|
|
27
|
+
searchCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
|
|
28
|
+
] | null) => Observable<Entity[]>;
|
|
29
|
+
searchCacheOnlySynchronously: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
|
|
30
|
+
] | null) => Array<any>;
|
|
31
|
+
searchQueryChoices: (entity: typeof TruEntityBase, setupQuery?: any | null, hid?: string | null, goToServer?: boolean, ref?: number | null | undefined) => Observable<TruChoice[]>;
|
|
32
|
+
searchNameValuesCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, ref?: number | null | undefined) => Observable<TruNameValue[]>;
|
|
33
|
+
searchByRef: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<TruChoice[]>;
|
|
34
|
+
searchByRefPreferedCache: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<any>;
|
|
35
|
+
searchByRefCacheOnly: (entity: typeof TruEntityBase, ref: number | null | undefined, includeDeleted?: boolean) => any;
|
|
36
|
+
searchByRefArrayCacheOnly: (entity: typeof TruEntityBase, setupQuery: any | null, refs: Array<number>, includeDeleted?: boolean) => any[] | null;
|
|
37
|
+
searchByRefWithQuery: (entity: typeof TruEntityBase, setupQuery: any, ref: number) => Observable<Entity[]>;
|
|
38
|
+
searchUserByRefCacheOnly: (ref: number | null | undefined, includeDeleted?: boolean) => any;
|
|
39
|
+
export: (entity: typeof TruEntityBase, gridSpec: string, setupQuery: any | null, entityRefs: string | null, options: any) => void;
|
|
40
|
+
private formatAsUrlParameters;
|
|
41
|
+
private downloadFromUrl;
|
|
42
|
+
private saveDownloadedFile;
|
|
43
|
+
private extractFilenameFromContentDisposition;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruEntityAccessor, never>;
|
|
45
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruEntityAccessor>;
|
|
46
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TruPropertyConfigBase } from "../base-classes/tru-property-config-base";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TruModelPropertyLookup {
|
|
4
|
-
private _lookup;
|
|
5
|
-
constructor();
|
|
6
|
-
get lookup(): Map<string, TruPropertyConfigBase>;
|
|
7
|
-
set lookup(value: Map<string, TruPropertyConfigBase>);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruModelPropertyLookup, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruModelPropertyLookup>;
|
|
10
|
-
}
|
|
1
|
+
import { TruPropertyConfigBase } from "../base-classes/tru-property-config-base";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruModelPropertyLookup {
|
|
4
|
+
private _lookup;
|
|
5
|
+
constructor();
|
|
6
|
+
get lookup(): Map<string, TruPropertyConfigBase>;
|
|
7
|
+
set lookup(value: Map<string, TruPropertyConfigBase>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruModelPropertyLookup, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruModelPropertyLookup>;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TruPredicateMap {
|
|
3
|
-
constructor();
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruPredicateMap, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruPredicateMap>;
|
|
6
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruPredicateMap {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruPredicateMap, never>;
|
|
5
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruPredicateMap>;
|
|
6
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TruSearchResultViewManager {
|
|
4
|
-
private _searchViewToolbarTemplate;
|
|
5
|
-
constructor();
|
|
6
|
-
set searchViewToolbarTemplate(temp: TemplateRef<any>);
|
|
7
|
-
get searchViewToolbarTemplate(): TemplateRef<any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruSearchResultViewManager, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruSearchResultViewManager>;
|
|
10
|
-
}
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruSearchResultViewManager {
|
|
4
|
+
private _searchViewToolbarTemplate;
|
|
5
|
+
constructor();
|
|
6
|
+
set searchViewToolbarTemplate(temp: TemplateRef<any>);
|
|
7
|
+
get searchViewToolbarTemplate(): TemplateRef<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruSearchResultViewManager, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruSearchResultViewManager>;
|
|
10
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TruSort {
|
|
3
|
-
constructor();
|
|
4
|
-
/**
|
|
5
|
-
* @callback differenceCallback
|
|
6
|
-
* @param {*} valueA - any value except for undefined or null
|
|
7
|
-
* @param {*} valueB - any value except for undefined or null
|
|
8
|
-
* @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* A generalized comparison algorithm for use with a sort function. Ensures that null
|
|
12
|
-
* sorts before non-null. Delegates to difference() for both non-null values.
|
|
13
|
-
* @param {*} valueA - any value except for undefined
|
|
14
|
-
* @param {*} valueB - any value except for undefined
|
|
15
|
-
* @param {differenceCallback} difference - same result meaning as for this function.
|
|
16
|
-
* @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
|
|
17
|
-
*/
|
|
18
|
-
numCompare: (valueA: any, valueB: any, difference: any) => any;
|
|
19
|
-
compare: (valueA: any, valueB: any, difference: any, inverted?: boolean) => any;
|
|
20
|
-
/**
|
|
21
|
-
* Sort comparison for unnamed, number field control config objects.
|
|
22
|
-
* @param {object} a,b - control config
|
|
23
|
-
* @returns {number}
|
|
24
|
-
*/
|
|
25
|
-
numberCompare: (a: any, b: any) => any;
|
|
26
|
-
/**
|
|
27
|
-
* Alphabetical sort comparison for unnamed, string field control config objects.
|
|
28
|
-
* @param {object} a,b - control config
|
|
29
|
-
* @returns {number}
|
|
30
|
-
*/
|
|
31
|
-
textCompare: (a: any, b: any) => any;
|
|
32
|
-
dateCompare: (a: any, b: any) => any;
|
|
33
|
-
/**
|
|
34
|
-
* @callback filterCallback
|
|
35
|
-
* @param {object} a,b - Control config
|
|
36
|
-
* @returns {string}
|
|
37
|
-
*/
|
|
38
|
-
/**
|
|
39
|
-
* Alphabetical sort comparison for strings. Both input values are control config
|
|
40
|
-
* objects and passed to a filter function to obtain a value for comparison.
|
|
41
|
-
* @param {object} a,b - control config
|
|
42
|
-
* @param {filterCallback} filter - filter function
|
|
43
|
-
* @returns {number}
|
|
44
|
-
*/
|
|
45
|
-
filteredTextCompare: (a: any, b: any, filter: any) => any;
|
|
46
|
-
/**
|
|
47
|
-
* Alphabetical sort comparison for strings. Both input values are control config
|
|
48
|
-
* objects and passed to a filter function to obtain a value for comparison.
|
|
49
|
-
* @param {object} entity - a breeze $entity
|
|
50
|
-
* @param {array} pathSegments - a list of strings that make up a navigation path
|
|
51
|
-
* @returns {value}
|
|
52
|
-
*/
|
|
53
|
-
getValueFromSortPath: (entity: any, pathSegments: any) => any;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruSort, never>;
|
|
55
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruSort>;
|
|
56
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruSort {
|
|
3
|
+
constructor();
|
|
4
|
+
/**
|
|
5
|
+
* @callback differenceCallback
|
|
6
|
+
* @param {*} valueA - any value except for undefined or null
|
|
7
|
+
* @param {*} valueB - any value except for undefined or null
|
|
8
|
+
* @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* A generalized comparison algorithm for use with a sort function. Ensures that null
|
|
12
|
+
* sorts before non-null. Delegates to difference() for both non-null values.
|
|
13
|
+
* @param {*} valueA - any value except for undefined
|
|
14
|
+
* @param {*} valueB - any value except for undefined
|
|
15
|
+
* @param {differenceCallback} difference - same result meaning as for this function.
|
|
16
|
+
* @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
|
|
17
|
+
*/
|
|
18
|
+
numCompare: (valueA: any, valueB: any, difference: any) => any;
|
|
19
|
+
compare: (valueA: any, valueB: any, difference: any, inverted?: boolean) => any;
|
|
20
|
+
/**
|
|
21
|
+
* Sort comparison for unnamed, number field control config objects.
|
|
22
|
+
* @param {object} a,b - control config
|
|
23
|
+
* @returns {number}
|
|
24
|
+
*/
|
|
25
|
+
numberCompare: (a: any, b: any) => any;
|
|
26
|
+
/**
|
|
27
|
+
* Alphabetical sort comparison for unnamed, string field control config objects.
|
|
28
|
+
* @param {object} a,b - control config
|
|
29
|
+
* @returns {number}
|
|
30
|
+
*/
|
|
31
|
+
textCompare: (a: any, b: any) => any;
|
|
32
|
+
dateCompare: (a: any, b: any) => any;
|
|
33
|
+
/**
|
|
34
|
+
* @callback filterCallback
|
|
35
|
+
* @param {object} a,b - Control config
|
|
36
|
+
* @returns {string}
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* Alphabetical sort comparison for strings. Both input values are control config
|
|
40
|
+
* objects and passed to a filter function to obtain a value for comparison.
|
|
41
|
+
* @param {object} a,b - control config
|
|
42
|
+
* @param {filterCallback} filter - filter function
|
|
43
|
+
* @returns {number}
|
|
44
|
+
*/
|
|
45
|
+
filteredTextCompare: (a: any, b: any, filter: any) => any;
|
|
46
|
+
/**
|
|
47
|
+
* Alphabetical sort comparison for strings. Both input values are control config
|
|
48
|
+
* objects and passed to a filter function to obtain a value for comparison.
|
|
49
|
+
* @param {object} entity - a breeze $entity
|
|
50
|
+
* @param {array} pathSegments - a list of strings that make up a navigation path
|
|
51
|
+
* @returns {value}
|
|
52
|
+
*/
|
|
53
|
+
getValueFromSortPath: (entity: any, pathSegments: any) => any;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruSort, never>;
|
|
55
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruSort>;
|
|
56
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TruTableConfigBase } from '../base-classes/tru-table-config-base';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TruTableRegistry {
|
|
4
|
-
constructor();
|
|
5
|
-
register: Record<string, TruTableConfigBase>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruTableRegistry, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruTableRegistry>;
|
|
8
|
-
}
|
|
1
|
+
import { TruTableConfigBase } from '../base-classes/tru-table-config-base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruTableRegistry {
|
|
4
|
+
constructor();
|
|
5
|
+
register: Record<string, TruTableConfigBase>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruTableRegistry, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruTableRegistry>;
|
|
8
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TruTextManager {
|
|
3
|
-
readonly msgModifierKeyLabel: string;
|
|
4
|
-
readonly msgConfirmExitWithChangesPending: string;
|
|
5
|
-
readonly msgDeleteSuccessful: string;
|
|
6
|
-
readonly msgSaveSuccessful: string;
|
|
7
|
-
readonly msgNoChangesToSave: string;
|
|
8
|
-
readonly msgSaveInProgress: string;
|
|
9
|
-
readonly msgInvalidData: string;
|
|
10
|
-
readonly msgDirtyPreventsReadOnly: string;
|
|
11
|
-
readonly msgDirtyPreventsNavigate: string;
|
|
12
|
-
readonly msgDirtyPreventsClose: string;
|
|
13
|
-
readonly msgDirtyPreventsDeleteExistingRecord: string;
|
|
14
|
-
readonly msgNoDeleteAccess: string;
|
|
15
|
-
readonly msgCannotDeleteNewAndExistingRecords: string;
|
|
16
|
-
readonly msgDeleteReferencingRecordsFirst: string;
|
|
17
|
-
constructor();
|
|
18
|
-
/**
|
|
19
|
-
* If text.length exceeds length, then returns a string that is the first length chars
|
|
20
|
-
* of text plus suffix. Otherwise, returns text.
|
|
21
|
-
* @param {string} text
|
|
22
|
-
* @param {number} length
|
|
23
|
-
* @param {string} suffix
|
|
24
|
-
* @return {string}
|
|
25
|
-
*/
|
|
26
|
-
private truncate;
|
|
27
|
-
isMac: () => boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Formats the text to use for the window title.
|
|
30
|
-
* @param {string} text
|
|
31
|
-
* @return {string} - Window title.
|
|
32
|
-
*/
|
|
33
|
-
formatWindowTitle: (text: string) => string;
|
|
34
|
-
/**
|
|
35
|
-
* Returns a message indicating that an entity or entities were deleted in another view.
|
|
36
|
-
* @param {string} entityTypeLabel - Description of the entity type.
|
|
37
|
-
* @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
|
|
38
|
-
* @param [{number}] count - Number of entities.
|
|
39
|
-
*/
|
|
40
|
-
fmtEntityDeletedInOtherView: (entityTypeLabel: string, entityTypePluralLabel: string, count: number) => string;
|
|
41
|
-
/**
|
|
42
|
-
* Returns a message used to confirm deletion of an entity or entities.
|
|
43
|
-
* @param {string} entityTypeLabel - Description of the entity type.
|
|
44
|
-
* @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
|
|
45
|
-
* @param [{number}] count - Number of entities.
|
|
46
|
-
*/
|
|
47
|
-
fmtDeleteConfirmation: (entityTypeLabel: string, entityTypePluralLabel?: string | null, count?: number | null) => string;
|
|
48
|
-
/**
|
|
49
|
-
* Returns a message formatted from an error object.
|
|
50
|
-
* @param {error|string} error
|
|
51
|
-
* @returns {string}
|
|
52
|
-
*/
|
|
53
|
-
fmtErrorToShow: (error: any) => string;
|
|
54
|
-
/**
|
|
55
|
-
* Returns a message formatted from an exception object.
|
|
56
|
-
* @param {object} exception
|
|
57
|
-
* @returns {string}
|
|
58
|
-
*/
|
|
59
|
-
fmtExceptionToShow: (exception: any) => string;
|
|
60
|
-
/**
|
|
61
|
-
* Returns a message for a data error type.
|
|
62
|
-
* @param {string} typeName
|
|
63
|
-
* @returns {string}
|
|
64
|
-
*/
|
|
65
|
-
fmtDataError: (typeName: string) => string;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruTextManager, never>;
|
|
67
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruTextManager>;
|
|
68
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruTextManager {
|
|
3
|
+
readonly msgModifierKeyLabel: string;
|
|
4
|
+
readonly msgConfirmExitWithChangesPending: string;
|
|
5
|
+
readonly msgDeleteSuccessful: string;
|
|
6
|
+
readonly msgSaveSuccessful: string;
|
|
7
|
+
readonly msgNoChangesToSave: string;
|
|
8
|
+
readonly msgSaveInProgress: string;
|
|
9
|
+
readonly msgInvalidData: string;
|
|
10
|
+
readonly msgDirtyPreventsReadOnly: string;
|
|
11
|
+
readonly msgDirtyPreventsNavigate: string;
|
|
12
|
+
readonly msgDirtyPreventsClose: string;
|
|
13
|
+
readonly msgDirtyPreventsDeleteExistingRecord: string;
|
|
14
|
+
readonly msgNoDeleteAccess: string;
|
|
15
|
+
readonly msgCannotDeleteNewAndExistingRecords: string;
|
|
16
|
+
readonly msgDeleteReferencingRecordsFirst: string;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* If text.length exceeds length, then returns a string that is the first length chars
|
|
20
|
+
* of text plus suffix. Otherwise, returns text.
|
|
21
|
+
* @param {string} text
|
|
22
|
+
* @param {number} length
|
|
23
|
+
* @param {string} suffix
|
|
24
|
+
* @return {string}
|
|
25
|
+
*/
|
|
26
|
+
private truncate;
|
|
27
|
+
isMac: () => boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Formats the text to use for the window title.
|
|
30
|
+
* @param {string} text
|
|
31
|
+
* @return {string} - Window title.
|
|
32
|
+
*/
|
|
33
|
+
formatWindowTitle: (text: string) => string;
|
|
34
|
+
/**
|
|
35
|
+
* Returns a message indicating that an entity or entities were deleted in another view.
|
|
36
|
+
* @param {string} entityTypeLabel - Description of the entity type.
|
|
37
|
+
* @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
|
|
38
|
+
* @param [{number}] count - Number of entities.
|
|
39
|
+
*/
|
|
40
|
+
fmtEntityDeletedInOtherView: (entityTypeLabel: string, entityTypePluralLabel: string, count: number) => string;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a message used to confirm deletion of an entity or entities.
|
|
43
|
+
* @param {string} entityTypeLabel - Description of the entity type.
|
|
44
|
+
* @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
|
|
45
|
+
* @param [{number}] count - Number of entities.
|
|
46
|
+
*/
|
|
47
|
+
fmtDeleteConfirmation: (entityTypeLabel: string, entityTypePluralLabel?: string | null, count?: number | null) => string;
|
|
48
|
+
/**
|
|
49
|
+
* Returns a message formatted from an error object.
|
|
50
|
+
* @param {error|string} error
|
|
51
|
+
* @returns {string}
|
|
52
|
+
*/
|
|
53
|
+
fmtErrorToShow: (error: any) => string;
|
|
54
|
+
/**
|
|
55
|
+
* Returns a message formatted from an exception object.
|
|
56
|
+
* @param {object} exception
|
|
57
|
+
* @returns {string}
|
|
58
|
+
*/
|
|
59
|
+
fmtExceptionToShow: (exception: any) => string;
|
|
60
|
+
/**
|
|
61
|
+
* Returns a message for a data error type.
|
|
62
|
+
* @param {string} typeName
|
|
63
|
+
* @returns {string}
|
|
64
|
+
*/
|
|
65
|
+
fmtDataError: (typeName: string) => string;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruTextManager, never>;
|
|
67
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruTextManager>;
|
|
68
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { ToastrService } from 'ngx-toastr';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TruUiNotification {
|
|
5
|
-
private toastr;
|
|
6
|
-
private dialog;
|
|
7
|
-
private _toastr;
|
|
8
|
-
private _dialog;
|
|
9
|
-
constructor(toastr: ToastrService, dialog: MatDialog);
|
|
10
|
-
showMessage: (popup: any, log: (message: string) => void, prefix: string, message: string, detail?: Array<string> | null) => void;
|
|
11
|
-
/**
|
|
12
|
-
* Shows as toast and logs to server an error message and optional detail information.
|
|
13
|
-
* @param {string} message - Displayed as toast.
|
|
14
|
-
* @param {string} [detail] - Logged to console.
|
|
15
|
-
*/
|
|
16
|
-
error: (message: string, detail?: Array<string> | null) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Same as error() but for info message.
|
|
19
|
-
*/
|
|
20
|
-
info: (message: string, detail?: Array<string> | null) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Same as error() but for success message.
|
|
23
|
-
*/
|
|
24
|
-
success: (message: string, detail?: Array<string> | null) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Same as error() but for warning message.
|
|
27
|
-
*/
|
|
28
|
-
warning: (message: string, detail?: Array<string> | null) => void;
|
|
29
|
-
log: (message: string) => void;
|
|
30
|
-
showErrorDialog: (title: string, message: string) => void;
|
|
31
|
-
showExportDialog: () => Promise<boolean>;
|
|
32
|
-
confirm: (title: string, message: string, displayCancelButton?: boolean, displayConfirmButton?: boolean, cancelButtonName?: string, confirmButtonName?: string) => Promise<boolean>;
|
|
33
|
-
changePassword: () => Promise<boolean>;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruUiNotification, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruUiNotification>;
|
|
36
|
-
}
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { ToastrService } from 'ngx-toastr';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TruUiNotification {
|
|
5
|
+
private toastr;
|
|
6
|
+
private dialog;
|
|
7
|
+
private _toastr;
|
|
8
|
+
private _dialog;
|
|
9
|
+
constructor(toastr: ToastrService, dialog: MatDialog);
|
|
10
|
+
showMessage: (popup: any, log: (message: string) => void, prefix: string, message: string, detail?: Array<string> | null) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Shows as toast and logs to server an error message and optional detail information.
|
|
13
|
+
* @param {string} message - Displayed as toast.
|
|
14
|
+
* @param {string} [detail] - Logged to console.
|
|
15
|
+
*/
|
|
16
|
+
error: (message: string, detail?: Array<string> | null) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Same as error() but for info message.
|
|
19
|
+
*/
|
|
20
|
+
info: (message: string, detail?: Array<string> | null) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Same as error() but for success message.
|
|
23
|
+
*/
|
|
24
|
+
success: (message: string, detail?: Array<string> | null) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Same as error() but for warning message.
|
|
27
|
+
*/
|
|
28
|
+
warning: (message: string, detail?: Array<string> | null) => void;
|
|
29
|
+
log: (message: string) => void;
|
|
30
|
+
showErrorDialog: (title: string, message: string) => void;
|
|
31
|
+
showExportDialog: () => Promise<boolean>;
|
|
32
|
+
confirm: (title: string, message: string, displayCancelButton?: boolean, displayConfirmButton?: boolean, cancelButtonName?: string, confirmButtonName?: string) => Promise<boolean>;
|
|
33
|
+
changePassword: () => Promise<boolean>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruUiNotification, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruUiNotification>;
|
|
36
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TruUser implements ITruUser {
|
|
3
|
-
private _ref;
|
|
4
|
-
private _username;
|
|
5
|
-
private _firstName;
|
|
6
|
-
private _lastName;
|
|
7
|
-
private _email;
|
|
8
|
-
private _roles;
|
|
9
|
-
constructor();
|
|
10
|
-
get activeUserRef(): number;
|
|
11
|
-
get username(): string | null;
|
|
12
|
-
get firstName(): string | null;
|
|
13
|
-
get lastName(): string | null;
|
|
14
|
-
get email(): string | null;
|
|
15
|
-
get roles(): string[] | null;
|
|
16
|
-
hasRoles: (roles: string[]) => boolean;
|
|
17
|
-
create: (user: ITruUser) => void;
|
|
18
|
-
destroy: () => void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruUser, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TruUser>;
|
|
21
|
-
}
|
|
22
|
-
export interface ITruUser {
|
|
23
|
-
activeUserRef: number;
|
|
24
|
-
username: string | null;
|
|
25
|
-
firstName: string | null;
|
|
26
|
-
lastName: string | null;
|
|
27
|
-
email: string | null;
|
|
28
|
-
roles: string[] | null;
|
|
29
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruUser implements ITruUser {
|
|
3
|
+
private _ref;
|
|
4
|
+
private _username;
|
|
5
|
+
private _firstName;
|
|
6
|
+
private _lastName;
|
|
7
|
+
private _email;
|
|
8
|
+
private _roles;
|
|
9
|
+
constructor();
|
|
10
|
+
get activeUserRef(): number;
|
|
11
|
+
get username(): string | null;
|
|
12
|
+
get firstName(): string | null;
|
|
13
|
+
get lastName(): string | null;
|
|
14
|
+
get email(): string | null;
|
|
15
|
+
get roles(): string[] | null;
|
|
16
|
+
hasRoles: (roles: string[]) => boolean;
|
|
17
|
+
create: (user: ITruUser) => void;
|
|
18
|
+
destroy: () => void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruUser, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruUser>;
|
|
21
|
+
}
|
|
22
|
+
export interface ITruUser {
|
|
23
|
+
activeUserRef: number;
|
|
24
|
+
username: string | null;
|
|
25
|
+
firstName: string | null;
|
|
26
|
+
lastName: string | null;
|
|
27
|
+
email: string | null;
|
|
28
|
+
roles: string[] | null;
|
|
29
|
+
}
|