@trudb/tru-common-lib 0.2.556 → 0.3.0

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.
Files changed (191) hide show
  1. package/fesm2022/trudb-tru-common-lib.mjs +1140 -783
  2. package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
  3. package/package.json +3 -3
  4. package/types/trudb-tru-common-lib.d.ts +3404 -0
  5. package/index.d.ts +0 -5
  6. package/lib/assets/tru-icon-module.d.ts +0 -11
  7. package/lib/assets/tru-search-icon-module.d.ts +0 -11
  8. package/lib/base-classes/tru-component-config-base.d.ts +0 -3
  9. package/lib/base-classes/tru-control-component-config-base.d.ts +0 -21
  10. package/lib/base-classes/tru-edit-control-base.d.ts +0 -10
  11. package/lib/base-classes/tru-edit-control-config-base.d.ts +0 -26
  12. package/lib/base-classes/tru-edit-parent-control-config-base.d.ts +0 -9
  13. package/lib/base-classes/tru-edit-pkey-control-config-base.d.ts +0 -11
  14. package/lib/base-classes/tru-entity-base.d.ts +0 -16
  15. package/lib/base-classes/tru-list-control-config-base.d.ts +0 -25
  16. package/lib/base-classes/tru-property-config-base.d.ts +0 -17
  17. package/lib/base-classes/tru-search-config-base.d.ts +0 -9
  18. package/lib/base-classes/tru-search-control-base.d.ts +0 -21
  19. package/lib/base-classes/tru-search-control-config-base.d.ts +0 -13
  20. package/lib/base-classes/tru-search-control-parent-base.d.ts +0 -16
  21. package/lib/base-classes/tru-search-control-range-base.d.ts +0 -25
  22. package/lib/base-classes/tru-table-config-base.d.ts +0 -13
  23. package/lib/base-views/detail/tru-detail-view-base.d.ts +0 -62
  24. package/lib/base-views/search/services/tru-search-view-control-event-handler.d.ts +0 -16
  25. package/lib/base-views/search/services/tru-search-view-event-handler.d.ts +0 -14
  26. package/lib/base-views/search/tru-search-view-base.d.ts +0 -38
  27. package/lib/base-views/search-result/tru-search-result-view-base.d.ts +0 -29
  28. package/lib/base-views/tru-view-base.d.ts +0 -37
  29. package/lib/classes/tru-choice.d.ts +0 -8
  30. package/lib/classes/tru-context-filter-choice.d.ts +0 -6
  31. package/lib/classes/tru-context-filter.d.ts +0 -10
  32. package/lib/classes/tru-country.d.ts +0 -7
  33. package/lib/classes/tru-data-change-parser.d.ts +0 -40
  34. package/lib/classes/tru-data-change.d.ts +0 -4
  35. package/lib/classes/tru-formula-eval.d.ts +0 -31
  36. package/lib/classes/tru-merge-data-set.d.ts +0 -11
  37. package/lib/classes/tru-merge-data.d.ts +0 -9
  38. package/lib/classes/tru-name-value.d.ts +0 -9
  39. package/lib/classes/tru-navigation-properties-config.d.ts +0 -5
  40. package/lib/classes/tru-navigation-property-config.d.ts +0 -5
  41. package/lib/classes/tru-predicate.d.ts +0 -8
  42. package/lib/classes/tru-property-config-cloud-file.d.ts +0 -4
  43. package/lib/classes/tru-property-config-date.d.ts +0 -6
  44. package/lib/classes/tru-property-config-decimal.d.ts +0 -8
  45. package/lib/classes/tru-property-config-file.d.ts +0 -5
  46. package/lib/classes/tru-property-config-foreign-key.d.ts +0 -9
  47. package/lib/classes/tru-property-config-integer.d.ts +0 -6
  48. package/lib/classes/tru-property-config-password.d.ts +0 -5
  49. package/lib/classes/tru-property-config-percentage.d.ts +0 -6
  50. package/lib/classes/tru-property-config-scientific.d.ts +0 -6
  51. package/lib/classes/tru-property-config-text-choices.d.ts +0 -5
  52. package/lib/classes/tru-property-config-text.d.ts +0 -7
  53. package/lib/classes/tru-property-config-usa-address.d.ts +0 -5
  54. package/lib/classes/tru-property-config-zip-code.d.ts +0 -5
  55. package/lib/classes/tru-query-predicate-manager.d.ts +0 -26
  56. package/lib/classes/tru-server-error.d.ts +0 -14
  57. package/lib/classes/tru-validator-factory.d.ts +0 -19
  58. package/lib/classes/tru-view-menu-config.d.ts +0 -8
  59. package/lib/components/about-dialog/tru-about-dialog.d.ts +0 -17
  60. package/lib/components/app-settings-dialog/tru-app-settings-dialog.d.ts +0 -16
  61. package/lib/components/app-settings-dialog/windows/classes/tru-window-open-on-start-setting.d.ts +0 -7
  62. package/lib/components/app-settings-dialog/windows/on-starup/tru-app-window-open-on-startup-setting.d.ts +0 -16
  63. package/lib/components/app-settings-dialog/windows/tru-app-window-settings.d.ts +0 -6
  64. package/lib/components/card-column/classes/tru-card-column-config.d.ts +0 -34
  65. package/lib/components/card-column/classes/tru-card-column-data.d.ts +0 -4
  66. package/lib/components/card-column/classes/tru-card-column-search-results-config-base.d.ts +0 -13
  67. package/lib/components/card-column/tru-card-column.d.ts +0 -85
  68. package/lib/components/card-column/tru-card.d.ts +0 -13
  69. package/lib/components/clone-view/tru-clone-view.d.ts +0 -76
  70. package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +0 -28
  71. package/lib/components/data-grid/classes/tru-data-grid-cell-renderer.d.ts +0 -10
  72. package/lib/components/data-grid/classes/tru-data-grid-config.d.ts +0 -25
  73. package/lib/components/data-grid/classes/tru-data-grid-pkey-cell-renderer.d.ts +0 -35
  74. package/lib/components/data-grid/enums/tru-data-grid-types.d.ts +0 -5
  75. package/lib/components/data-grid/headers/tru-data-grid-header-filter.d.ts +0 -35
  76. package/lib/components/data-grid/headers/tru-data-grid-header.d.ts +0 -25
  77. package/lib/components/data-grid/headers/tru-data-grid-ref-header.d.ts +0 -24
  78. package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.d.ts +0 -13
  79. package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.d.ts +0 -13
  80. package/lib/components/data-grid/services/tru-data-grid-clipboard.d.ts +0 -45
  81. package/lib/components/data-grid/services/tru-data-grid-util.d.ts +0 -16
  82. package/lib/components/data-grid/tru-data-grid.d.ts +0 -125
  83. package/lib/components/desktop/classes/tru-desktop-title.d.ts +0 -4
  84. package/lib/components/desktop/classes/tru-desktop-view-config.d.ts +0 -26
  85. package/lib/components/desktop/directives/resizable/tru-desktop-resizable.d.ts +0 -32
  86. package/lib/components/desktop/directives/window-state-monitor/tru-desktop-window-state-monitor.d.ts +0 -24
  87. package/lib/components/desktop/menubar/tru-desktop-menubar.d.ts +0 -15
  88. package/lib/components/desktop/services/tru-desktop-event-handler.d.ts +0 -11
  89. package/lib/components/desktop/services/tru-desktop-manager.d.ts +0 -37
  90. package/lib/components/desktop/services/tru-desktop-service.d.ts +0 -101
  91. package/lib/components/desktop/services/tru-desktop-view-event-notifier.d.ts +0 -10
  92. package/lib/components/desktop/services/tru-window-action-event-handler.d.ts +0 -12
  93. package/lib/components/desktop/services/tru-window-close-event-args.d.ts +0 -9
  94. package/lib/components/desktop/services/tru-window-event-args.d.ts +0 -24
  95. package/lib/components/desktop/services/tru-window-event-handler.d.ts +0 -23
  96. package/lib/components/desktop/services/tru-window-manager.d.ts +0 -14
  97. package/lib/components/desktop/statusbar/tru-desktop-statusbar.d.ts +0 -10
  98. package/lib/components/desktop/taskbar/tru-desktop-taskbar.d.ts +0 -15
  99. package/lib/components/desktop/tru-desktop.d.ts +0 -330
  100. package/lib/components/desktop/view/tru-desktop-view.d.ts +0 -17
  101. package/lib/components/desktop/viewport/tru-desktop-viewport.d.ts +0 -48
  102. package/lib/components/desktop/window/tru-desktop-window.d.ts +0 -196
  103. package/lib/components/error-dialog/classes/tru-error-dialog-config.d.ts +0 -6
  104. package/lib/components/error-dialog/services/tru-error-interceptor.d.ts +0 -11
  105. package/lib/components/error-dialog/tru-error-dialog.d.ts +0 -16
  106. package/lib/components/export-dialog/tru-export-dialog.d.ts +0 -26
  107. package/lib/components/grid-validation-dialog/tru-grid-validation-dialog-config.d.ts +0 -24
  108. package/lib/components/grid-validation-dialog/tru-grid-validation-dialog.d.ts +0 -24
  109. package/lib/components/iframe-view/classes/tru-iframe-view-config.d.ts +0 -10
  110. package/lib/components/iframe-view/tru-iframe-view.d.ts +0 -33
  111. package/lib/components/layout/column/tru-column.d.ts +0 -6
  112. package/lib/components/layout/form/tru-form.d.ts +0 -10
  113. package/lib/components/layout/group-box/tru-group-box.d.ts +0 -6
  114. package/lib/components/layout/row/tru-row.d.ts +0 -6
  115. package/lib/components/layout/tab/services/tru-tab-group-event-notifier.d.ts +0 -10
  116. package/lib/components/layout/tab/tab/tru-tab.d.ts +0 -13
  117. package/lib/components/layout/tab/tab-group/tru-tab-group.d.ts +0 -14
  118. package/lib/components/login/classes/tru-auth-config.d.ts +0 -16
  119. package/lib/components/login/classes/tru-auth-jwt-strategy.d.ts +0 -15
  120. package/lib/components/login/classes/tru-auth-login-request.d.ts +0 -4
  121. package/lib/components/login/classes/tru-auth-session-strategy.d.ts +0 -13
  122. package/lib/components/login/classes/tru-auth-strategy-provider.d.ts +0 -10
  123. package/lib/components/login/classes/tru-auth-token.d.ts +0 -6
  124. package/lib/components/login/classes/tru-auth-windows-strategy.d.ts +0 -9
  125. package/lib/components/login/services/tru-auth-cache.d.ts +0 -11
  126. package/lib/components/login/services/tru-auth-interceptor.d.ts +0 -16
  127. package/lib/components/login/services/tru-auth.d.ts +0 -33
  128. package/lib/components/login/services/tru-server-touch-interceptor.d.ts +0 -14
  129. package/lib/components/login/services/tru-server-touch-tracker.d.ts +0 -31
  130. package/lib/components/login/services/tru-session-expiry-monitor.d.ts +0 -37
  131. package/lib/components/login/services/tru-session-keepalive.d.ts +0 -44
  132. package/lib/components/login/services/tru-user-activity-tracker.d.ts +0 -14
  133. package/lib/components/login/tru-login-module.d.ts +0 -11
  134. package/lib/components/login/tru-login.d.ts +0 -29
  135. package/lib/components/password-dialog/classes/tru-password-change-request.d.ts +0 -6
  136. package/lib/components/password-dialog/tru-password-dialog.d.ts +0 -39
  137. package/lib/components/toolbar/app-customization/tru-toolbar-app-customization.d.ts +0 -26
  138. package/lib/components/toolbar/button/tru-toolbar-button.d.ts +0 -16
  139. package/lib/components/toolbar/classes/tru-toolbar-dropdown-option.d.ts +0 -4
  140. package/lib/components/toolbar/context-filter/tru-toolbar-context-filter.d.ts +0 -13
  141. package/lib/components/toolbar/dropdown/tru-toolbar-dropdown.d.ts +0 -39
  142. package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.d.ts +0 -7
  143. package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.d.ts +0 -17
  144. package/lib/components/toolbar/menu/tru-toolbar-menu.d.ts +0 -11
  145. package/lib/components/toolbar/separator/tru-toolbar-separator.d.ts +0 -6
  146. package/lib/components/toolbar/text/tru-toolbar-text.d.ts +0 -12
  147. package/lib/components/toolbar/textbox/tru-toolbar-textbox.d.ts +0 -14
  148. package/lib/components/toolbar/tru-toolbar.d.ts +0 -9
  149. package/lib/components/toolbar/user-profile/tru-toolbar-user-profile.d.ts +0 -17
  150. package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +0 -27
  151. package/lib/components/validation-dialog/tru-validation-dialog-context.d.ts +0 -5
  152. package/lib/components/validation-dialog/tru-validation-dialog.d.ts +0 -24
  153. package/lib/directives/breeze-validator/tru-breeze-validator.d.ts +0 -31
  154. package/lib/directives/rendered/tru-rendered.d.ts +0 -8
  155. package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.d.ts +0 -40
  156. package/lib/directives/select-panel/tru-mat-select-panel.d.ts +0 -17
  157. package/lib/extensions.d.ts +0 -7
  158. package/lib/interfaces/tru-ancestor.d.ts +0 -7
  159. package/lib/interfaces/tru-value.d.ts +0 -6
  160. package/lib/material.module.d.ts +0 -50
  161. package/lib/pipes/open-on-start.d.ts +0 -7
  162. package/lib/services/tru-action-invoke.d.ts +0 -78
  163. package/lib/services/tru-app-environment.d.ts +0 -77
  164. package/lib/services/tru-breeze-context-factory.d.ts +0 -32
  165. package/lib/services/tru-breeze-metadata-provider.d.ts +0 -9
  166. package/lib/services/tru-cloud-file-manager.d.ts +0 -21
  167. package/lib/services/tru-component-lookup.d.ts +0 -10
  168. package/lib/services/tru-connection-hub.d.ts +0 -24
  169. package/lib/services/tru-context-filters.d.ts +0 -12
  170. package/lib/services/tru-countries.d.ts +0 -10
  171. package/lib/services/tru-data-context.d.ts +0 -66
  172. package/lib/services/tru-entity-accessor.d.ts +0 -83
  173. package/lib/services/tru-entity-metadata-registry.d.ts +0 -22
  174. package/lib/services/tru-error-manager.d.ts +0 -27
  175. package/lib/services/tru-formatter.d.ts +0 -46
  176. package/lib/services/tru-global-data-context.d.ts +0 -10
  177. package/lib/services/tru-model-navigation-properties-lookup.d.ts +0 -10
  178. package/lib/services/tru-model-property-lookup.d.ts +0 -10
  179. package/lib/services/tru-model-table-lookup.d.ts +0 -11
  180. package/lib/services/tru-model-type-lookup.d.ts +0 -10
  181. package/lib/services/tru-predicate-map.d.ts +0 -6
  182. package/lib/services/tru-report-manager.d.ts +0 -22
  183. package/lib/services/tru-search-result-view-manager.d.ts +0 -10
  184. package/lib/services/tru-sort.d.ts +0 -57
  185. package/lib/services/tru-text-manager.d.ts +0 -83
  186. package/lib/services/tru-ui-notification.d.ts +0 -42
  187. package/lib/services/tru-user-preference-manager.d.ts +0 -39
  188. package/lib/services/tru-user.d.ts +0 -29
  189. package/lib/services/tru-util.d.ts +0 -32
  190. package/lib/tru-common-module.d.ts +0 -6
  191. package/public-api.d.ts +0 -141
@@ -1,5 +0,0 @@
1
- import { TruNavigationPropertyConfig } from "./tru-navigation-property-config";
2
- export declare class TruNavigationPropertiesConfig {
3
- constructor();
4
- properties: Array<TruNavigationPropertyConfig>;
5
- }
@@ -1,5 +0,0 @@
1
- export declare class TruNavigationPropertyConfig {
2
- name: string;
3
- doesCascadeDelete: boolean;
4
- constructor(name: string, doesCascadeDelete: boolean);
5
- }
@@ -1,8 +0,0 @@
1
- export declare class TruPredicate {
2
- _breezePredicate: any;
3
- constructor(field: any, operator: string | null, value: any, propertyQueryPath: Array<string> | null, overQuoted?: boolean);
4
- handleOperator: (fieldOrPredicate: any, oper: (p: any) => {}, operator?: string, value?: any) => TruPredicate;
5
- and: (fieldOrPredicate: any, operator?: string, value?: any) => TruPredicate;
6
- or: (fieldOrPredicate: any, operator?: string, value?: any) => TruPredicate;
7
- not: () => TruPredicate;
8
- }
@@ -1,4 +0,0 @@
1
- import { TruPropertyConfigForeignKey } from './tru-property-config-foreign-key';
2
- export declare class TruPropertyConfigCloudFile extends TruPropertyConfigForeignKey {
3
- constructor();
4
- }
@@ -1,6 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigDate extends TruPropertyConfigBase {
3
- constructor();
4
- minimumValue: number | undefined;
5
- maximumValue: number | undefined;
6
- }
@@ -1,8 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigDecimal extends TruPropertyConfigBase {
3
- constructor();
4
- decimalPlaces: number | undefined;
5
- totalDigits: number | undefined;
6
- minimumValue: number | undefined;
7
- maximumValue: number | undefined;
8
- }
@@ -1,5 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigFile extends TruPropertyConfigBase {
3
- constructor();
4
- maxSize: number | undefined;
5
- }
@@ -1,9 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- import { ITruAncestor } from '../interfaces/tru-ancestor';
3
- export declare class TruPropertyConfigForeignKey extends TruPropertyConfigBase {
4
- constructor();
5
- table: string | undefined;
6
- foreignTableName: string | undefined;
7
- choicesQuery: string | undefined;
8
- dependsOn: Array<ITruAncestor>;
9
- }
@@ -1,6 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigInteger extends TruPropertyConfigBase {
3
- constructor();
4
- minimumValue: number | undefined;
5
- maximumValue: number | undefined;
6
- }
@@ -1,5 +0,0 @@
1
- import { TruPropertyConfigText } from './tru-property-config-text';
2
- export declare class TruPropertyConfigPassword extends TruPropertyConfigText {
3
- constructor();
4
- encryptionType: string | undefined;
5
- }
@@ -1,6 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigPercentage extends TruPropertyConfigBase {
3
- constructor();
4
- minimumValue: number | undefined;
5
- maximumValue: number | undefined;
6
- }
@@ -1,6 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigScientific extends TruPropertyConfigBase {
3
- constructor();
4
- minimumValue: number | undefined;
5
- maximumValue: number | undefined;
6
- }
@@ -1,5 +0,0 @@
1
- import { TruPropertyConfigText } from './tru-property-config-text';
2
- export declare class TruPropertyConfigTextChoices extends TruPropertyConfigText {
3
- constructor();
4
- choices: any;
5
- }
@@ -1,7 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigText extends TruPropertyConfigBase {
3
- constructor();
4
- maxLength: number | undefined;
5
- minLength: number | undefined;
6
- unbounded: boolean | undefined;
7
- }
@@ -1,5 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigUsaAddress extends TruPropertyConfigBase {
3
- constructor();
4
- requireZipPlusFour: boolean | undefined;
5
- }
@@ -1,5 +0,0 @@
1
- import { TruPropertyConfigBase } from '../base-classes/tru-property-config-base';
2
- export declare class TruPropertyConfigZipCode extends TruPropertyConfigBase {
3
- constructor();
4
- requireZipPlusFour: boolean | undefined;
5
- }
@@ -1,26 +0,0 @@
1
- import { TruPredicate } from "./tru-predicate";
2
- export declare class TruQueryPredicateManager {
3
- _predicate: TruPredicate | null;
4
- _propertyQueryPath: Array<string> | null;
5
- _predicateName: string;
6
- _predicateMap: any;
7
- constructor(propertyQueryPath: Array<string>, predicateName: string, predicateMap: any);
8
- private setPredicate;
9
- /**
10
- * Returns the query predicate.
11
- */
12
- get: () => TruPredicate | null;
13
- /**
14
- * Clears the query predicate.
15
- */
16
- clear: () => void;
17
- /**
18
- * Returns a new query predicate.
19
- *
20
- * @param {string} field - Name of the storage field relative to the intent property.
21
- * @param {string} operator - Name of the predicate operator.
22
- * @param {*} value - Literal value.
23
- */
24
- create: (field: string, operator: string, value: any, overQuoted?: boolean) => any;
25
- set: (fieldOrPredicate: string | TruPredicate, operator?: string, value?: any, overQuoted?: boolean) => void;
26
- }
@@ -1,14 +0,0 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- export declare class TruServerError {
3
- id: string;
4
- type: string;
5
- code: number;
6
- title: string;
7
- message: string | null | undefined;
8
- data: object | null;
9
- stackTrace: string;
10
- status: number;
11
- statusText: string;
12
- componentName: string;
13
- constructor(error: HttpErrorResponse);
14
- }
@@ -1,19 +0,0 @@
1
- import { Validator } from "breeze-client";
2
- export declare class TruValidatorFactory {
3
- private satisfiesEntityMessageValidation;
4
- private satisfiesRequiredValidation;
5
- private satisfiesMaxLengthValidation;
6
- private satisfiesFloatValidation;
7
- private satisfiesIntegerValidation;
8
- private satisfiesDateValidation;
9
- private satisfiesInvalidChoiceValidation;
10
- private satisfiesMergeValidation;
11
- createEntityMessageValidator: () => Validator;
12
- createRequiredValidator: () => Validator;
13
- createMaxLengthValidator: (maxLength: any) => Validator;
14
- createIntegerValidator: () => Validator;
15
- createFloatValidator: () => Validator;
16
- createDateValidator: () => Validator;
17
- createInvalidChoiceValidator: () => Validator;
18
- createMergeValidator: () => Validator;
19
- }
@@ -1,8 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { TruEntityBase } from "../base-classes/tru-entity-base";
3
- export declare abstract class TruViewMenuConfig {
4
- entities: Array<TruEntityBase>;
5
- actionRefs: string;
6
- menuItemsEnabled: () => boolean;
7
- allMenus: () => Observable<any>;
8
- }
@@ -1,17 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { TruAppEnvironment } from '../../services/tru-app-environment';
4
- import * as i0 from "@angular/core";
5
- export declare class TruAboutDialog implements OnInit {
6
- dialogRef: MatDialogRef<TruAboutDialog>;
7
- data: TruAboutDialog;
8
- private appEnvironment;
9
- appName: string;
10
- appDescription: string;
11
- currentYear: number;
12
- constructor(dialogRef: MatDialogRef<TruAboutDialog>, data: TruAboutDialog, appEnvironment: TruAppEnvironment);
13
- ngOnInit(): void;
14
- onDismiss(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TruAboutDialog, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TruAboutDialog, "tru-about-dialog", never, {}, {}, never, never, true, never>;
17
- }
@@ -1,16 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { TruAppEnvironment } from '../../services/tru-app-environment';
4
- import * as i0 from "@angular/core";
5
- export declare class TruAppSettingsDialog implements OnInit {
6
- private appEnvironment;
7
- dialogRef: MatDialogRef<TruAppSettingsDialog>;
8
- data: TruAppSettingsDialog;
9
- private globalDataContext;
10
- constructor(appEnvironment: TruAppEnvironment, dialogRef: MatDialogRef<TruAppSettingsDialog>, data: TruAppSettingsDialog);
11
- ngOnInit(): void;
12
- onConfirm(): void;
13
- onDismiss(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TruAppSettingsDialog, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TruAppSettingsDialog, "tru-app-settings-dialog", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,7 +0,0 @@
1
- export declare abstract class TruWindowOpenOnStartSetting {
2
- abstract name: string;
3
- abstract label: string;
4
- abstract checked: boolean;
5
- abstract intentOpenOnStart: boolean;
6
- abstract modified: boolean;
7
- }
@@ -1,16 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { TruModelTableLookup } from '../../../../services/tru-model-table-lookup';
3
- import { TruUserPreferenceManager } from '../../../../services/tru-user-preference-manager';
4
- import { TruWindowOpenOnStartSetting } from '../classes/tru-window-open-on-start-setting';
5
- import * as i0 from "@angular/core";
6
- export declare class TruAppWindowOpenOnStartupSetting implements OnInit {
7
- private userPreferenceManager;
8
- private modelTableLookup;
9
- settings: Array<TruWindowOpenOnStartSetting>;
10
- displayedColumns: string[];
11
- constructor(userPreferenceManager: TruUserPreferenceManager, modelTableLookup: TruModelTableLookup);
12
- onRowClicked: (row: TruWindowOpenOnStartSetting) => void;
13
- ngOnInit(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TruAppWindowOpenOnStartupSetting, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TruAppWindowOpenOnStartupSetting, "tru-app-window-open-on-startup-setting", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TruAppWindowSettings {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TruAppWindowSettings, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TruAppWindowSettings, "tru-app-window-settings", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,34 +0,0 @@
1
- import { TruViewMenuConfig } from "../../../classes/tru-view-menu-config";
2
- import { TruEntityBase } from "../../../base-classes/tru-entity-base";
3
- import { TruCardColumnData } from "./tru-card-column-data";
4
- import { EntityQuery } from "breeze-client";
5
- import { TruCardColumnSearchResultsConfigBase } from "./tru-card-column-search-results-config-base";
6
- export interface ITruCardColumnConfig {
7
- parentTableName: string;
8
- parentTablePluralLabel: string;
9
- parentToChildRelationshipName: string;
10
- childTableName: string;
11
- childTablePluralLabel: string;
12
- key: string;
13
- lockProperty: string | null;
14
- preventAdd: boolean;
15
- color: string | null;
16
- unassignedVisible: any;
17
- unassignedName: string | null;
18
- unassignedLocked: any;
19
- unassignedColor: string | null;
20
- unassignedDraggable: boolean;
21
- unassignedDroppable: boolean;
22
- inactiveVisible: boolean;
23
- inactiveDraggable: boolean;
24
- inactiveDroppable: boolean;
25
- resultConfig: TruCardColumnSearchResultsConfigBase;
26
- viewMenuConfig: TruViewMenuConfig;
27
- width: number;
28
- columnSort?: (columns: Array<any>) => any;
29
- cardSort?: (cards: Array<any>) => any;
30
- data?: (entity: TruEntityBase) => TruCardColumnData;
31
- query?: (breezeQuery: EntityQuery, propertyName: string) => any;
32
- onCardColumnClicked: (entities: any) => void;
33
- onCardDoubleClicked: (entities: any, index: number) => void;
34
- }
@@ -1,4 +0,0 @@
1
- import { Entity } from "breeze-client";
2
- export declare abstract class TruCardColumnData {
3
- $entity?: Entity;
4
- }
@@ -1,13 +0,0 @@
1
- import { EntityQuery } from "breeze-client";
2
- import { TruCardColumnData } from "./tru-card-column-data";
3
- import { TruCard } from "../tru-card";
4
- import { ITruCardColumnConfig } from "./tru-card-column-config";
5
- export declare abstract class TruCardColumnSearchResultsConfigBase {
6
- abstract rowDataEnhancer: (entity: any) => TruCardColumnData;
7
- abstract cardSort: (cards: Array<any>) => any;
8
- abstract query?: (breezeQuery: EntityQuery, propertyName: string) => any;
9
- abstract cardColumnId: (entity: any) => string | null | undefined;
10
- abstract cardId: (entity: any) => string | null | undefined;
11
- abstract cardColumnQuery: ((query: EntityQuery, relatedChildProperty: string) => any) | null;
12
- abstract cardView: ((card: TruCard, config: ITruCardColumnConfig) => void) | null;
13
- }
@@ -1,85 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core';
2
- import { TruSearchViewEventHandler } from '../../base-views/search/services/tru-search-view-event-handler';
3
- import { TruDataContext } from '../../services/tru-data-context';
4
- import { TruModelTypeLookup } from '../../services/tru-model-type-lookup';
5
- import { TruSearchResultViewManager } from '../../services/tru-search-result-view-manager';
6
- import { ITruToolbarDropdownOption } from '../toolbar/classes/tru-toolbar-dropdown-option';
7
- import { ITruCardColumnConfig } from './classes/tru-card-column-config';
8
- import { TruCard } from './tru-card';
9
- import { TruAppEnvironment } from '../../services/tru-app-environment';
10
- import * as i0 from "@angular/core";
11
- export declare class TruCardColumn {
12
- private dataContext;
13
- private appEnviroment;
14
- private modelTypeLookup;
15
- private searchViewEventHandler;
16
- private searchResultViewManager;
17
- private changeDetectorRef;
18
- config: ITruCardColumnConfig;
19
- name: any;
20
- portal: ElementRef;
21
- private parentTablePluralLabel;
22
- private childTableName;
23
- private parentQuery;
24
- private lockProperty;
25
- private unassignedLocked;
26
- private unassignedDraggable;
27
- private unassignedDroppable;
28
- private inactiveVisible;
29
- private inactiveDraggable;
30
- private inactiveDroppable;
31
- private columnSort;
32
- private cardSort;
33
- private relatedParentName;
34
- private relatedChildName;
35
- private insertBefore;
36
- private uniqueId;
37
- private subs;
38
- parentTableName: string;
39
- childTablePluralLabel: string;
40
- busyMessage: string;
41
- isBusy: boolean;
42
- columns: any;
43
- cards: any;
44
- lockedColumns: any;
45
- columnFilterChoices: Array<ITruToolbarDropdownOption> | null;
46
- columnFilterRefs: Array<number>;
47
- cardFilterStr: string | null | undefined;
48
- selectedCards: Array<TruCard>;
49
- color: string | null;
50
- unassignedColor: string | null;
51
- key: string;
52
- unassignedVisible: boolean;
53
- unassignedName: string | null;
54
- userHasParentTableRole: boolean;
55
- viewMenuItems: any;
56
- selectedViewMenuItem: any | null;
57
- parentToolbarTemplate: TemplateRef<any> | null;
58
- columnFilterTooltip: string;
59
- cardFilterTooltip: string;
60
- columnDropdownFilterTooltip: string;
61
- constructor(dataContext: TruDataContext, appEnviroment: TruAppEnvironment, modelTypeLookup: TruModelTypeLookup, searchViewEventHandler: TruSearchViewEventHandler, searchResultViewManager: TruSearchResultViewManager, changeDetectorRef: ChangeDetectorRef);
62
- private parentTableModel;
63
- private createDataForEntity;
64
- private hasUndefinedChildren;
65
- private hasEmptyChildren;
66
- private hasInactiveChildren;
67
- private hasAddedUnsavedChildren;
68
- private clear;
69
- private getValueFromSortPath;
70
- private updateItemsSource;
71
- private subscribeTo;
72
- private onSearch;
73
- filterColumns: (selectedOptions: Array<ITruToolbarDropdownOption> | null) => void;
74
- filterCards: (value: string | null | undefined) => void;
75
- updateSelection: (card: TruCard) => void;
76
- dragStart: (e: any, card: TruCard) => boolean;
77
- dragOver: (e: any, card: TruCard) => void;
78
- dragEnd: (e: any) => void;
79
- drop: (e: any, card: TruCard) => Promise<boolean>;
80
- ngOnInit(): void;
81
- ngAfterViewInit(): void;
82
- removeSelection: (card: TruCard) => void;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<TruCardColumn, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<TruCardColumn, "tru-card-column", never, { "config": { "alias": "config"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
85
- }
@@ -1,13 +0,0 @@
1
- import { TruCardColumn } from "./tru-card-column";
2
- export declare class TruCard {
3
- private cardColumn;
4
- private cardContainerElement;
5
- data: any;
6
- column: any;
7
- cardElement: HTMLDivElement;
8
- selected: boolean;
9
- constructor(cardColumn: TruCardColumn, column: any, data: any, dropped: boolean);
10
- selectAll: (selectAll: any) => void;
11
- updateData: () => void;
12
- goToDetail: (ref: number) => void;
13
- }
@@ -1,76 +0,0 @@
1
- import { TruViewBase } from '../../base-views/tru-view-base';
2
- import { TruDataContext } from '../../services/tru-data-context';
3
- import { ITruToolbarDropdownOption } from '../toolbar/classes/tru-toolbar-dropdown-option';
4
- import { TruTextManager } from '../../services/tru-text-manager';
5
- import { TruWindowEventHandler } from '../desktop/services/tru-window-event-handler';
6
- import { TruModelTableLookup } from '../../services/tru-model-table-lookup';
7
- import { TruUiNotification } from '../../services/tru-ui-notification';
8
- import { TruModelPropertyLookup } from '../../services/tru-model-property-lookup';
9
- import { TruModelTypeLookup } from '../../services/tru-model-type-lookup';
10
- import { TruModelNavigationPropertiesLookup } from '../../services/tru-model-navigation-properties-lookup';
11
- import * as i0 from "@angular/core";
12
- export declare class TruCloneView extends TruViewBase {
13
- protected textManager: TruTextManager;
14
- protected windowEventHandler: TruWindowEventHandler;
15
- private dataContext;
16
- private modelTableLookup;
17
- private modelPropertyLookup;
18
- private modelTypeLookup;
19
- private modelNavigationPropertiesLookup;
20
- private uiNotification;
21
- loading: boolean;
22
- loadingMessage: string;
23
- numberOfCopies: Array<ITruToolbarDropdownOption>;
24
- selectedNumberOfCopies: ITruToolbarDropdownOption;
25
- contextFilters: null;
26
- rootNode: Node | null;
27
- ignorePropertyList: string[];
28
- dataTree: never[];
29
- flatList: Array<Node>;
30
- childFlatList: Array<Node>;
31
- processedCount: number;
32
- doneProcessing: boolean;
33
- displayTree: (Node | null)[];
34
- parentDataContext: TruDataContext;
35
- constructor(textManager: TruTextManager, windowEventHandler: TruWindowEventHandler, dataContext: TruDataContext, modelTableLookup: TruModelTableLookup, modelPropertyLookup: TruModelPropertyLookup, modelTypeLookup: TruModelTypeLookup, modelNavigationPropertiesLookup: TruModelNavigationPropertiesLookup, uiNotification: TruUiNotification);
36
- private getNumberOfCopies;
37
- private propertyIsAllowed;
38
- private getPrototypeProperties;
39
- private getChildPropertiesForCurrentEntity;
40
- private getTypeFromEntityTypeName;
41
- private buildCloneTree;
42
- private asyncForEachRecordId;
43
- private fetchRecordId;
44
- private traverse;
45
- private getDataForCloning;
46
- onClone: () => void;
47
- onDone: () => void;
48
- onRendered: () => void;
49
- onCancel: () => void;
50
- onExpandClicked: () => void;
51
- onCollapseClicked: () => void;
52
- onNumberOfCopiesChanged: (event: any) => void;
53
- ngOnInit(): void;
54
- ngOnDestroy(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<TruCloneView, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<TruCloneView, "tru-clone-view", never, {}, {}, never, never, true, never>;
57
- }
58
- declare class Node {
59
- ref: number | null;
60
- tableName: string;
61
- displayName: string;
62
- checked: boolean;
63
- child: any;
64
- childNodes: any;
65
- showEntities: boolean;
66
- pathFromRoot: string | null;
67
- parentToChildRefName: string | null;
68
- nodes: Node[];
69
- root: any;
70
- parent: any;
71
- entity: any;
72
- constructor(ref: number | null, tableName: string, displayName: string, child: any, checked: boolean, childEntities: any, pathFromRoot: string | null, parentToChildRefName: string | null, root: boolean, parent: any, entity: any);
73
- onGroupDisplay: () => void;
74
- onCheckedChanged: () => void;
75
- }
76
- export {};
@@ -1,28 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- export declare class TruConfirmDialog implements OnInit {
5
- dialogRef: MatDialogRef<TruConfirmDialog>;
6
- data: TruConfirmDialog;
7
- title: string;
8
- message: string;
9
- displayDismissButton: boolean;
10
- displayConfirmButton: boolean;
11
- dismissButtonName: string;
12
- confirmButtonName: string;
13
- constructor(dialogRef: MatDialogRef<TruConfirmDialog>, data: TruConfirmDialog);
14
- ngOnInit(): void;
15
- onConfirm(): void;
16
- onDismiss(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TruConfirmDialog, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TruConfirmDialog, "tru-confirm-dialog", never, {}, {}, never, never, true, never>;
19
- }
20
- export declare class TruConfirmDialogConfig {
21
- title: string;
22
- message: string;
23
- displayDismissButton: boolean;
24
- displayConfirmButton: boolean;
25
- dismissButtonName: string;
26
- confirmButtonName: string;
27
- constructor(title: string, message: string, displayDismissButton: boolean, displayConfirmButton: boolean, dismissButtonName: string, confirmButtonName: string);
28
- }
@@ -1,10 +0,0 @@
1
- export declare class TruDataGridCellRenderer {
2
- private eGui;
3
- private validationContainer;
4
- onMouseOver: (e: any) => void;
5
- onRightClick: (event: MouseEvent) => void;
6
- init(params: any): void;
7
- getGui(): HTMLDivElement;
8
- refresh(): boolean;
9
- destroy(): void;
10
- }
@@ -1,25 +0,0 @@
1
- import { TruTableConfigBase } from "../../../base-classes/tru-table-config-base";
2
- import { TruViewMenuConfig } from "../../../classes/tru-view-menu-config";
3
- import { TruDesktopViewConfig } from "../../desktop/classes/tru-desktop-view-config";
4
- import { TruDataGridTypes } from "../enums/tru-data-grid-types";
5
- export interface ITruDataGridConfig {
6
- tableName: string;
7
- tablePluralName: string;
8
- tablePluralLabel: string;
9
- parentTableName: string;
10
- parentTablePluralName: string;
11
- parentTablePluralLabel: string;
12
- parentTableRefName?: string;
13
- parentTableRelationshipRefName?: string;
14
- resultConfig: any;
15
- tableConfig: TruTableConfigBase;
16
- noQuery: boolean;
17
- viewMenuConfig: TruViewMenuConfig;
18
- customToolbarComponents: Array<string>;
19
- rowHeaderDoubleClicked: (data: any) => void;
20
- view: TruDesktopViewConfig;
21
- fill?: boolean;
22
- minimumRows?: number;
23
- maximumRows?: number;
24
- gridType?: TruDataGridTypes;
25
- }
@@ -1,35 +0,0 @@
1
- import { MatMenuTrigger } from "@angular/material/menu";
2
- import { ICellRendererParams } from "ag-grid-community";
3
- import { TruDataGridClipboard } from "../services/tru-data-grid-clipboard";
4
- import { TruDataContext } from "../../../services/tru-data-context";
5
- import * as i0 from "@angular/core";
6
- export declare class TruDataGridPkeyCellRenderer {
7
- private dataContext;
8
- private dataGridClipboard;
9
- contextMenu: MatMenuTrigger;
10
- private eGui;
11
- private windowClickSubscription;
12
- params: ICellRendererParams;
13
- contextMenuPosition: {
14
- x: string;
15
- y: string;
16
- };
17
- displayValue: string;
18
- copyIsDisabled: boolean;
19
- pasteIsDisabled: boolean;
20
- insertAtTopIsDisabled: boolean;
21
- constructor(dataContext: TruDataContext, dataGridClipboard: TruDataGridClipboard);
22
- onRightClick: (event: MouseEvent) => void;
23
- onMouseDown: (event: MouseEvent) => void;
24
- onMouseUp: (event: MouseEvent) => void;
25
- onCopy: (event: MouseEvent) => void;
26
- onCopyWithHeaders: (event: MouseEvent) => void;
27
- onPaste: (event: MouseEvent) => void;
28
- onInsertAtTop: (event: MouseEvent) => void;
29
- agInit(params: any): void;
30
- getGui(): HTMLDivElement;
31
- refresh(): boolean;
32
- destroy(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDataGridPkeyCellRenderer, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDataGridPkeyCellRenderer, "ng-component", never, {}, {}, never, never, true, never>;
35
- }
@@ -1,5 +0,0 @@
1
- export declare enum TruDataGridTypes {
2
- Search = 0,
3
- Detail = 1,
4
- DetailManyToMany = 2
5
- }
@@ -1,35 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import { IFilterAngularComp } from 'ag-grid-angular';
3
- import { IAfterGuiAttachedParams, type IDoesFilterPassParams, type IFilterParams } from 'ag-grid-community';
4
- import * as i0 from "@angular/core";
5
- interface Sorts {
6
- value: string | null;
7
- label: string;
8
- selected: boolean;
9
- display: () => boolean;
10
- icon: string;
11
- }
12
- export declare class TruDataGridHeaderFilter implements IFilterAngularComp {
13
- filterParams: IFilterParams;
14
- guiFilterParams: IAfterGuiAttachedParams | undefined;
15
- gui: HTMLDivElement;
16
- filterText: string;
17
- typesOfSort: Sorts[];
18
- values: string[];
19
- filterInputControl: FormControl;
20
- constructor();
21
- agInit(params: IFilterParams): void;
22
- isFilterActive(): boolean;
23
- doesFilterPass(params: IDoesFilterPassParams): boolean;
24
- getModel(): {
25
- value: string;
26
- } | null;
27
- setModel(model: any): void;
28
- getGui(): HTMLElement;
29
- afterGuiAttached(params?: IAfterGuiAttachedParams): void;
30
- onFilterInputChanged(): void;
31
- onSortMenuItemClicked: (event: MouseEvent, typeOfSort: any) => void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDataGridHeaderFilter, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDataGridHeaderFilter, "ng-component", never, {}, {}, never, never, true, never>;
34
- }
35
- export {};