@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,337 +1,337 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { TruWindowEventHandler } from './services/tru-window-event-handler';
|
|
3
|
-
import { TruDesktopService } from './services/tru-desktop-service';
|
|
4
|
-
import { TruTextManager } from '../../services/tru-text-manager';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TruDesktop implements OnInit {
|
|
7
|
-
private desktopService;
|
|
8
|
-
private textManager;
|
|
9
|
-
private truWindowEventHandler;
|
|
10
|
-
options: any;
|
|
11
|
-
private viewportComponent;
|
|
12
|
-
constructor(desktopService: TruDesktopService, textManager: TruTextManager, truWindowEventHandler: TruWindowEventHandler);
|
|
13
|
-
minimizeAll: boolean;
|
|
14
|
-
desktop:
|
|
15
|
-
minWindowCascadePosition: number;
|
|
16
|
-
maxWindowCascadePosition: number;
|
|
17
|
-
lastWindowCascadePosition: {
|
|
18
|
-
top: number;
|
|
19
|
-
left: number;
|
|
20
|
-
};
|
|
21
|
-
shiftPressed: boolean;
|
|
22
|
-
altPressed: boolean;
|
|
23
|
-
xPressed: boolean;
|
|
24
|
-
keyboardMap: string[];
|
|
25
|
-
logoUrl: null;
|
|
26
|
-
/**
|
|
27
|
-
* @tru.doc function
|
|
28
|
-
* @name truDesktopComponent.getDesktop
|
|
29
|
-
* @module tru.desktop
|
|
30
|
-
*
|
|
31
|
-
* @description
|
|
32
|
-
* Return an object of desktop.
|
|
33
|
-
*
|
|
34
|
-
* @returns {object} desktop.
|
|
35
|
-
*/
|
|
36
|
-
getDesktop: () =>
|
|
37
|
-
/**
|
|
38
|
-
* @tru.doc function
|
|
39
|
-
* @name truDesktopComponent.getOptions
|
|
40
|
-
* @module tru.desktop
|
|
41
|
-
*
|
|
42
|
-
* @description
|
|
43
|
-
* Return an object of desktop options.
|
|
44
|
-
*
|
|
45
|
-
* @returns {object} options.
|
|
46
|
-
*/
|
|
47
|
-
getOptions: () => any;
|
|
48
|
-
/**
|
|
49
|
-
* @tru.doc function
|
|
50
|
-
* @name truDesktopComponent.getWindows
|
|
51
|
-
* @module tru.desktop
|
|
52
|
-
*
|
|
53
|
-
* @description
|
|
54
|
-
* Return an array of windows.
|
|
55
|
-
*
|
|
56
|
-
* @returns {array} windows.
|
|
57
|
-
*/
|
|
58
|
-
getWindows: () => any[];
|
|
59
|
-
/**
|
|
60
|
-
* @tru.doc function
|
|
61
|
-
* @name truDesktopComponent.getNextMaxZIndex
|
|
62
|
-
* @module tru.desktop
|
|
63
|
-
*
|
|
64
|
-
* @description
|
|
65
|
-
* Iterates through all window objects in the windows array to find the max z-index
|
|
66
|
-
* and increases the value found by 1.
|
|
67
|
-
*
|
|
68
|
-
* @returns {int}
|
|
69
|
-
*/
|
|
70
|
-
getNextMaxZIndex: () => number;
|
|
71
|
-
/**
|
|
72
|
-
* @tru.doc function
|
|
73
|
-
* @name truDesktopComponent.clearActive
|
|
74
|
-
* @module tru.desktop
|
|
75
|
-
*
|
|
76
|
-
* @description
|
|
77
|
-
* Iterates through all window objects in the windows
|
|
78
|
-
* and sets the active property to false.
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
clearActive: () => void;
|
|
82
|
-
/**
|
|
83
|
-
* @tru.doc function
|
|
84
|
-
* @name truDesktopComponent.getActiveWindow
|
|
85
|
-
* @module tru.desktop
|
|
86
|
-
*
|
|
87
|
-
* @description
|
|
88
|
-
* Gets the active window.
|
|
89
|
-
*
|
|
90
|
-
* @returns {object} view object.
|
|
91
|
-
*/
|
|
92
|
-
getActiveWindow: () => any;
|
|
93
|
-
/**
|
|
94
|
-
* @tru.doc function
|
|
95
|
-
* @name truDesktopComponent.getActiveView
|
|
96
|
-
* @module tru.desktop
|
|
97
|
-
*
|
|
98
|
-
* @description
|
|
99
|
-
* Gets the active view.
|
|
100
|
-
*
|
|
101
|
-
* @returns {object} view object.
|
|
102
|
-
*/
|
|
103
|
-
getActiveView: (wdw: any) => null;
|
|
104
|
-
/**
|
|
105
|
-
* @tru.doc function
|
|
106
|
-
* @name truDesktopComponent.allWindowsAreMinimized
|
|
107
|
-
* @module tru.desktop
|
|
108
|
-
*
|
|
109
|
-
* @description
|
|
110
|
-
* Iterates through windows to determine if all are minimized.
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
|
-
allWindowsAreMinimized: () => boolean;
|
|
114
|
-
/**
|
|
115
|
-
* @tru.doc function
|
|
116
|
-
* @name truDesktopComponent.hideShowAll
|
|
117
|
-
* @module tru.desktop
|
|
118
|
-
*
|
|
119
|
-
* @description
|
|
120
|
-
* Hides/shows all windows
|
|
121
|
-
*
|
|
122
|
-
*/
|
|
123
|
-
hideShowAll: () => boolean;
|
|
124
|
-
/**
|
|
125
|
-
* @tru.doc function
|
|
126
|
-
* @name truDesktopComponent.findWindowViewDirective
|
|
127
|
-
* @module tru.desktop
|
|
128
|
-
*
|
|
129
|
-
* @description
|
|
130
|
-
* Looks for previously open window with a view directive
|
|
131
|
-
*
|
|
132
|
-
*/
|
|
133
|
-
findWindowViewDirective: (windowViewDirective: any) => any;
|
|
134
|
-
/**
|
|
135
|
-
* @tru.doc function
|
|
136
|
-
* @name truDesktopComponent.openWindow
|
|
137
|
-
* @module tru.desktop
|
|
138
|
-
*
|
|
139
|
-
* @description
|
|
140
|
-
* Displays a new window. All window properties defined by the application developer will be
|
|
141
|
-
* overlaid here before displaying the window
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
|
-
openWindow: (windowConfigOverlays: any, singleInstance: any) => void;
|
|
145
|
-
/**
|
|
146
|
-
* @tru.doc function
|
|
147
|
-
* @name truDesktopComponent.configureWindow
|
|
148
|
-
* @module tru.desktop
|
|
149
|
-
*
|
|
150
|
-
* @description
|
|
151
|
-
* Creates a new window instance.
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
|
-
configureWindow: (windowConfigOverlays: any) => any;
|
|
155
|
-
/**
|
|
156
|
-
* @tru.doc function
|
|
157
|
-
* @name truDesktopComponent.configureViews
|
|
158
|
-
* @module tru.desktop
|
|
159
|
-
*
|
|
160
|
-
* @description
|
|
161
|
-
* Creates one or more view instances
|
|
162
|
-
*
|
|
163
|
-
*/
|
|
164
|
-
configureViews: (windowConfigOverlays: any, configuredWindow: any) => Array<any>;
|
|
165
|
-
/**
|
|
166
|
-
* @tru.doc function
|
|
167
|
-
* @name truDesktopComponent.closeWindow
|
|
168
|
-
* @module tru.desktop
|
|
169
|
-
*
|
|
170
|
-
* @description
|
|
171
|
-
* Remove a window {object} from the windows array.
|
|
172
|
-
*
|
|
173
|
-
* @returns {boolean} returns true if window was closed, false if not closed.
|
|
174
|
-
*/
|
|
175
|
-
closeWindow: (wdw: any) => boolean;
|
|
176
|
-
/**
|
|
177
|
-
* @tru.doc function
|
|
178
|
-
* @name truDesktopComponent.activateForemostWindow
|
|
179
|
-
* @module tru.desktop
|
|
180
|
-
*
|
|
181
|
-
* @description
|
|
182
|
-
* Set the foremost window to an active state
|
|
183
|
-
*
|
|
184
|
-
*/
|
|
185
|
-
activateForemostWindow: () => void;
|
|
186
|
-
/**
|
|
187
|
-
* @tru.doc function
|
|
188
|
-
* @name truDesktopComponent.activateNextWindow
|
|
189
|
-
* @module tru.desktop
|
|
190
|
-
*
|
|
191
|
-
* @description
|
|
192
|
-
* Set the next window to an active state
|
|
193
|
-
*
|
|
194
|
-
*/
|
|
195
|
-
activateNextWindow: (activeWindowLocation: any) => void;
|
|
196
|
-
/**
|
|
197
|
-
* @tru.doc function
|
|
198
|
-
* @name truDesktopComponent.activatePreviousWindow
|
|
199
|
-
* @module tru.desktop
|
|
200
|
-
*
|
|
201
|
-
* @description
|
|
202
|
-
* Set the previous window to an active state
|
|
203
|
-
*
|
|
204
|
-
*/
|
|
205
|
-
activatePreviousWindow: (activeWindowLocation: any) => void;
|
|
206
|
-
/**
|
|
207
|
-
* @tru.doc function
|
|
208
|
-
* @name truDesktopComponent.minimize
|
|
209
|
-
* @module tru.desktop
|
|
210
|
-
*
|
|
211
|
-
* @description
|
|
212
|
-
* Visually removes window from the viewport.
|
|
213
|
-
*
|
|
214
|
-
*/
|
|
215
|
-
minimize: (window: any) => void;
|
|
216
|
-
/**
|
|
217
|
-
* @tru.doc function
|
|
218
|
-
* @name truDesktopComponent.maximize
|
|
219
|
-
* @module tru.desktop
|
|
220
|
-
*
|
|
221
|
-
* @description
|
|
222
|
-
* Positions window such that it fills the whole viewport.
|
|
223
|
-
*
|
|
224
|
-
*/
|
|
225
|
-
maximize: (window: any) => void;
|
|
226
|
-
/**
|
|
227
|
-
* @tru.doc function
|
|
228
|
-
* @name truDesktopComponent.maximizeLeft
|
|
229
|
-
* @module tru.desktop
|
|
230
|
-
*
|
|
231
|
-
* @description
|
|
232
|
-
* Positions window such that it fills the left portion viewport.
|
|
233
|
-
*
|
|
234
|
-
*/
|
|
235
|
-
maximizeLeft: (window: any) => void;
|
|
236
|
-
/**
|
|
237
|
-
* @tru.doc function
|
|
238
|
-
* @name truDesktopComponent.maximizeRight
|
|
239
|
-
* @module tru.desktop
|
|
240
|
-
*
|
|
241
|
-
* @description
|
|
242
|
-
* Positions window such that it fills the right portion viewport.
|
|
243
|
-
*
|
|
244
|
-
*/
|
|
245
|
-
maximizeRight: (window: any) => void;
|
|
246
|
-
/**
|
|
247
|
-
* @tru.doc function
|
|
248
|
-
* @name truDesktopComponent.recover
|
|
249
|
-
* @module tru.desktop
|
|
250
|
-
*
|
|
251
|
-
* @description
|
|
252
|
-
* Brings window back into view when it has escaped the viewport.
|
|
253
|
-
*
|
|
254
|
-
*/
|
|
255
|
-
recover: (window: any) => void;
|
|
256
|
-
/**
|
|
257
|
-
* @tru.doc function
|
|
258
|
-
* @name truDesktopComponent.restore
|
|
259
|
-
* @module tru.desktop
|
|
260
|
-
*
|
|
261
|
-
* @description
|
|
262
|
-
*
|
|
263
|
-
*/
|
|
264
|
-
restore: (wdw: any) => void;
|
|
265
|
-
/**
|
|
266
|
-
* @tru.doc function
|
|
267
|
-
* @name truDesktopComponent.bringToFront
|
|
268
|
-
* @module tru.desktop
|
|
269
|
-
*
|
|
270
|
-
* @description
|
|
271
|
-
*
|
|
272
|
-
*/
|
|
273
|
-
updateWindowState: (wdw: any) => void;
|
|
274
|
-
/**
|
|
275
|
-
* @tru.doc function
|
|
276
|
-
* @name truDesktopComponent.restoreSavedPosition
|
|
277
|
-
* @module tru.desktop
|
|
278
|
-
*
|
|
279
|
-
* @description
|
|
280
|
-
* Set the windows last know position to the current position.
|
|
281
|
-
*
|
|
282
|
-
*/
|
|
283
|
-
restoreSavedPosition: (wdw: any) => void;
|
|
284
|
-
/**
|
|
285
|
-
* @tru.doc function
|
|
286
|
-
* @name truDesktopComponent.savePosition
|
|
287
|
-
* @module tru.desktop
|
|
288
|
-
*
|
|
289
|
-
* @description
|
|
290
|
-
* Save the windows last know position.
|
|
291
|
-
*
|
|
292
|
-
*/
|
|
293
|
-
savePosition: (wdw: any) => void;
|
|
294
|
-
/**
|
|
295
|
-
* @tru.doc function
|
|
296
|
-
* @name truDesktopComponent.closeWindow
|
|
297
|
-
* @module tru.desktop
|
|
298
|
-
*
|
|
299
|
-
* @description
|
|
300
|
-
* Moves a window to the next cascade position.
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
cascadeWindow: (window: any) => void;
|
|
304
|
-
/**
|
|
305
|
-
* @tru.doc function
|
|
306
|
-
* @name truDesktopComponent.getKeyCode
|
|
307
|
-
* @module tru.desktop
|
|
308
|
-
*
|
|
309
|
-
* @description
|
|
310
|
-
*
|
|
311
|
-
*/
|
|
312
|
-
getKeySequence: (event: any) => string;
|
|
313
|
-
/**
|
|
314
|
-
* @tru.doc event
|
|
315
|
-
* @module tru.desktop
|
|
316
|
-
*
|
|
317
|
-
* @description
|
|
318
|
-
*
|
|
319
|
-
*/
|
|
320
|
-
onKeyDown: (event: any) => void;
|
|
321
|
-
onKeyUp: (event: any) => void;
|
|
322
|
-
/**
|
|
323
|
-
* @tru.doc function
|
|
324
|
-
* @name truDesktopComponent.handleSelectAttempt
|
|
325
|
-
* @module tru.desktop
|
|
326
|
-
*
|
|
327
|
-
* @description
|
|
328
|
-
* Prevents the user from highlight desktop elements.
|
|
329
|
-
*
|
|
330
|
-
*/
|
|
331
|
-
handleSelectAttempt: (e: any) => boolean;
|
|
332
|
-
windows: Array<any>;
|
|
333
|
-
ngOnInit(): void;
|
|
334
|
-
ngOnDestroy(): void;
|
|
335
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktop, never>;
|
|
336
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktop, "tru-desktop", never, { "options": "options"; }, {}, never, never, false, never>;
|
|
337
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TruWindowEventHandler } from './services/tru-window-event-handler';
|
|
3
|
+
import { TruDesktopService } from './services/tru-desktop-service';
|
|
4
|
+
import { TruTextManager } from '../../services/tru-text-manager';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TruDesktop implements OnInit {
|
|
7
|
+
private desktopService;
|
|
8
|
+
private textManager;
|
|
9
|
+
private truWindowEventHandler;
|
|
10
|
+
options: any;
|
|
11
|
+
private viewportComponent;
|
|
12
|
+
constructor(desktopService: TruDesktopService, textManager: TruTextManager, truWindowEventHandler: TruWindowEventHandler);
|
|
13
|
+
minimizeAll: boolean;
|
|
14
|
+
desktop: any;
|
|
15
|
+
minWindowCascadePosition: number;
|
|
16
|
+
maxWindowCascadePosition: number;
|
|
17
|
+
lastWindowCascadePosition: {
|
|
18
|
+
top: number;
|
|
19
|
+
left: number;
|
|
20
|
+
};
|
|
21
|
+
shiftPressed: boolean;
|
|
22
|
+
altPressed: boolean;
|
|
23
|
+
xPressed: boolean;
|
|
24
|
+
keyboardMap: string[];
|
|
25
|
+
logoUrl: null;
|
|
26
|
+
/**
|
|
27
|
+
* @tru.doc function
|
|
28
|
+
* @name truDesktopComponent.getDesktop
|
|
29
|
+
* @module tru.desktop
|
|
30
|
+
*
|
|
31
|
+
* @description
|
|
32
|
+
* Return an object of desktop.
|
|
33
|
+
*
|
|
34
|
+
* @returns {object} desktop.
|
|
35
|
+
*/
|
|
36
|
+
getDesktop: () => any;
|
|
37
|
+
/**
|
|
38
|
+
* @tru.doc function
|
|
39
|
+
* @name truDesktopComponent.getOptions
|
|
40
|
+
* @module tru.desktop
|
|
41
|
+
*
|
|
42
|
+
* @description
|
|
43
|
+
* Return an object of desktop options.
|
|
44
|
+
*
|
|
45
|
+
* @returns {object} options.
|
|
46
|
+
*/
|
|
47
|
+
getOptions: () => any;
|
|
48
|
+
/**
|
|
49
|
+
* @tru.doc function
|
|
50
|
+
* @name truDesktopComponent.getWindows
|
|
51
|
+
* @module tru.desktop
|
|
52
|
+
*
|
|
53
|
+
* @description
|
|
54
|
+
* Return an array of windows.
|
|
55
|
+
*
|
|
56
|
+
* @returns {array} windows.
|
|
57
|
+
*/
|
|
58
|
+
getWindows: () => any[];
|
|
59
|
+
/**
|
|
60
|
+
* @tru.doc function
|
|
61
|
+
* @name truDesktopComponent.getNextMaxZIndex
|
|
62
|
+
* @module tru.desktop
|
|
63
|
+
*
|
|
64
|
+
* @description
|
|
65
|
+
* Iterates through all window objects in the windows array to find the max z-index
|
|
66
|
+
* and increases the value found by 1.
|
|
67
|
+
*
|
|
68
|
+
* @returns {int}
|
|
69
|
+
*/
|
|
70
|
+
getNextMaxZIndex: () => number;
|
|
71
|
+
/**
|
|
72
|
+
* @tru.doc function
|
|
73
|
+
* @name truDesktopComponent.clearActive
|
|
74
|
+
* @module tru.desktop
|
|
75
|
+
*
|
|
76
|
+
* @description
|
|
77
|
+
* Iterates through all window objects in the windows
|
|
78
|
+
* and sets the active property to false.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
clearActive: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* @tru.doc function
|
|
84
|
+
* @name truDesktopComponent.getActiveWindow
|
|
85
|
+
* @module tru.desktop
|
|
86
|
+
*
|
|
87
|
+
* @description
|
|
88
|
+
* Gets the active window.
|
|
89
|
+
*
|
|
90
|
+
* @returns {object} view object.
|
|
91
|
+
*/
|
|
92
|
+
getActiveWindow: () => any;
|
|
93
|
+
/**
|
|
94
|
+
* @tru.doc function
|
|
95
|
+
* @name truDesktopComponent.getActiveView
|
|
96
|
+
* @module tru.desktop
|
|
97
|
+
*
|
|
98
|
+
* @description
|
|
99
|
+
* Gets the active view.
|
|
100
|
+
*
|
|
101
|
+
* @returns {object} view object.
|
|
102
|
+
*/
|
|
103
|
+
getActiveView: (wdw: any) => null;
|
|
104
|
+
/**
|
|
105
|
+
* @tru.doc function
|
|
106
|
+
* @name truDesktopComponent.allWindowsAreMinimized
|
|
107
|
+
* @module tru.desktop
|
|
108
|
+
*
|
|
109
|
+
* @description
|
|
110
|
+
* Iterates through windows to determine if all are minimized.
|
|
111
|
+
*
|
|
112
|
+
*/
|
|
113
|
+
allWindowsAreMinimized: () => boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @tru.doc function
|
|
116
|
+
* @name truDesktopComponent.hideShowAll
|
|
117
|
+
* @module tru.desktop
|
|
118
|
+
*
|
|
119
|
+
* @description
|
|
120
|
+
* Hides/shows all windows
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
hideShowAll: () => boolean;
|
|
124
|
+
/**
|
|
125
|
+
* @tru.doc function
|
|
126
|
+
* @name truDesktopComponent.findWindowViewDirective
|
|
127
|
+
* @module tru.desktop
|
|
128
|
+
*
|
|
129
|
+
* @description
|
|
130
|
+
* Looks for previously open window with a view directive
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
findWindowViewDirective: (windowViewDirective: any) => any;
|
|
134
|
+
/**
|
|
135
|
+
* @tru.doc function
|
|
136
|
+
* @name truDesktopComponent.openWindow
|
|
137
|
+
* @module tru.desktop
|
|
138
|
+
*
|
|
139
|
+
* @description
|
|
140
|
+
* Displays a new window. All window properties defined by the application developer will be
|
|
141
|
+
* overlaid here before displaying the window
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
openWindow: (windowConfigOverlays: any, singleInstance: any) => void;
|
|
145
|
+
/**
|
|
146
|
+
* @tru.doc function
|
|
147
|
+
* @name truDesktopComponent.configureWindow
|
|
148
|
+
* @module tru.desktop
|
|
149
|
+
*
|
|
150
|
+
* @description
|
|
151
|
+
* Creates a new window instance.
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
configureWindow: (windowConfigOverlays: any) => any;
|
|
155
|
+
/**
|
|
156
|
+
* @tru.doc function
|
|
157
|
+
* @name truDesktopComponent.configureViews
|
|
158
|
+
* @module tru.desktop
|
|
159
|
+
*
|
|
160
|
+
* @description
|
|
161
|
+
* Creates one or more view instances
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
configureViews: (windowConfigOverlays: any, configuredWindow: any) => Array<any>;
|
|
165
|
+
/**
|
|
166
|
+
* @tru.doc function
|
|
167
|
+
* @name truDesktopComponent.closeWindow
|
|
168
|
+
* @module tru.desktop
|
|
169
|
+
*
|
|
170
|
+
* @description
|
|
171
|
+
* Remove a window {object} from the windows array.
|
|
172
|
+
*
|
|
173
|
+
* @returns {boolean} returns true if window was closed, false if not closed.
|
|
174
|
+
*/
|
|
175
|
+
closeWindow: (wdw: any) => boolean;
|
|
176
|
+
/**
|
|
177
|
+
* @tru.doc function
|
|
178
|
+
* @name truDesktopComponent.activateForemostWindow
|
|
179
|
+
* @module tru.desktop
|
|
180
|
+
*
|
|
181
|
+
* @description
|
|
182
|
+
* Set the foremost window to an active state
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
activateForemostWindow: () => void;
|
|
186
|
+
/**
|
|
187
|
+
* @tru.doc function
|
|
188
|
+
* @name truDesktopComponent.activateNextWindow
|
|
189
|
+
* @module tru.desktop
|
|
190
|
+
*
|
|
191
|
+
* @description
|
|
192
|
+
* Set the next window to an active state
|
|
193
|
+
*
|
|
194
|
+
*/
|
|
195
|
+
activateNextWindow: (activeWindowLocation: any) => void;
|
|
196
|
+
/**
|
|
197
|
+
* @tru.doc function
|
|
198
|
+
* @name truDesktopComponent.activatePreviousWindow
|
|
199
|
+
* @module tru.desktop
|
|
200
|
+
*
|
|
201
|
+
* @description
|
|
202
|
+
* Set the previous window to an active state
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
activatePreviousWindow: (activeWindowLocation: any) => void;
|
|
206
|
+
/**
|
|
207
|
+
* @tru.doc function
|
|
208
|
+
* @name truDesktopComponent.minimize
|
|
209
|
+
* @module tru.desktop
|
|
210
|
+
*
|
|
211
|
+
* @description
|
|
212
|
+
* Visually removes window from the viewport.
|
|
213
|
+
*
|
|
214
|
+
*/
|
|
215
|
+
minimize: (window: any) => void;
|
|
216
|
+
/**
|
|
217
|
+
* @tru.doc function
|
|
218
|
+
* @name truDesktopComponent.maximize
|
|
219
|
+
* @module tru.desktop
|
|
220
|
+
*
|
|
221
|
+
* @description
|
|
222
|
+
* Positions window such that it fills the whole viewport.
|
|
223
|
+
*
|
|
224
|
+
*/
|
|
225
|
+
maximize: (window: any) => void;
|
|
226
|
+
/**
|
|
227
|
+
* @tru.doc function
|
|
228
|
+
* @name truDesktopComponent.maximizeLeft
|
|
229
|
+
* @module tru.desktop
|
|
230
|
+
*
|
|
231
|
+
* @description
|
|
232
|
+
* Positions window such that it fills the left portion viewport.
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
maximizeLeft: (window: any) => void;
|
|
236
|
+
/**
|
|
237
|
+
* @tru.doc function
|
|
238
|
+
* @name truDesktopComponent.maximizeRight
|
|
239
|
+
* @module tru.desktop
|
|
240
|
+
*
|
|
241
|
+
* @description
|
|
242
|
+
* Positions window such that it fills the right portion viewport.
|
|
243
|
+
*
|
|
244
|
+
*/
|
|
245
|
+
maximizeRight: (window: any) => void;
|
|
246
|
+
/**
|
|
247
|
+
* @tru.doc function
|
|
248
|
+
* @name truDesktopComponent.recover
|
|
249
|
+
* @module tru.desktop
|
|
250
|
+
*
|
|
251
|
+
* @description
|
|
252
|
+
* Brings window back into view when it has escaped the viewport.
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
recover: (window: any) => void;
|
|
256
|
+
/**
|
|
257
|
+
* @tru.doc function
|
|
258
|
+
* @name truDesktopComponent.restore
|
|
259
|
+
* @module tru.desktop
|
|
260
|
+
*
|
|
261
|
+
* @description
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
264
|
+
restore: (wdw: any) => void;
|
|
265
|
+
/**
|
|
266
|
+
* @tru.doc function
|
|
267
|
+
* @name truDesktopComponent.bringToFront
|
|
268
|
+
* @module tru.desktop
|
|
269
|
+
*
|
|
270
|
+
* @description
|
|
271
|
+
*
|
|
272
|
+
*/
|
|
273
|
+
updateWindowState: (wdw: any) => void;
|
|
274
|
+
/**
|
|
275
|
+
* @tru.doc function
|
|
276
|
+
* @name truDesktopComponent.restoreSavedPosition
|
|
277
|
+
* @module tru.desktop
|
|
278
|
+
*
|
|
279
|
+
* @description
|
|
280
|
+
* Set the windows last know position to the current position.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
restoreSavedPosition: (wdw: any) => void;
|
|
284
|
+
/**
|
|
285
|
+
* @tru.doc function
|
|
286
|
+
* @name truDesktopComponent.savePosition
|
|
287
|
+
* @module tru.desktop
|
|
288
|
+
*
|
|
289
|
+
* @description
|
|
290
|
+
* Save the windows last know position.
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
savePosition: (wdw: any) => void;
|
|
294
|
+
/**
|
|
295
|
+
* @tru.doc function
|
|
296
|
+
* @name truDesktopComponent.closeWindow
|
|
297
|
+
* @module tru.desktop
|
|
298
|
+
*
|
|
299
|
+
* @description
|
|
300
|
+
* Moves a window to the next cascade position.
|
|
301
|
+
*
|
|
302
|
+
*/
|
|
303
|
+
cascadeWindow: (window: any) => void;
|
|
304
|
+
/**
|
|
305
|
+
* @tru.doc function
|
|
306
|
+
* @name truDesktopComponent.getKeyCode
|
|
307
|
+
* @module tru.desktop
|
|
308
|
+
*
|
|
309
|
+
* @description
|
|
310
|
+
*
|
|
311
|
+
*/
|
|
312
|
+
getKeySequence: (event: any) => string;
|
|
313
|
+
/**
|
|
314
|
+
* @tru.doc event
|
|
315
|
+
* @module tru.desktop
|
|
316
|
+
*
|
|
317
|
+
* @description
|
|
318
|
+
*
|
|
319
|
+
*/
|
|
320
|
+
onKeyDown: (event: any) => void;
|
|
321
|
+
onKeyUp: (event: any) => void;
|
|
322
|
+
/**
|
|
323
|
+
* @tru.doc function
|
|
324
|
+
* @name truDesktopComponent.handleSelectAttempt
|
|
325
|
+
* @module tru.desktop
|
|
326
|
+
*
|
|
327
|
+
* @description
|
|
328
|
+
* Prevents the user from highlight desktop elements.
|
|
329
|
+
*
|
|
330
|
+
*/
|
|
331
|
+
handleSelectAttempt: (e: any) => boolean;
|
|
332
|
+
windows: Array<any>;
|
|
333
|
+
ngOnInit(): void;
|
|
334
|
+
ngOnDestroy(): void;
|
|
335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktop, never>;
|
|
336
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktop, "tru-desktop", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
|
|
337
|
+
}
|