@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.
Files changed (404) hide show
  1. package/{esm2020 → esm2022}/lib/assets/tru-icon-module.mjs +32 -32
  2. package/{esm2020 → esm2022}/lib/assets/tru-search-icon-module.mjs +36 -36
  3. package/{esm2020 → esm2022}/lib/base-classes/tru-component-config-base.mjs +3 -3
  4. package/{esm2020 → esm2022}/lib/base-classes/tru-control-component-config-base.mjs +3 -3
  5. package/{esm2020 → esm2022}/lib/base-classes/tru-edit-control-base.mjs +17 -17
  6. package/esm2022/lib/base-classes/tru-edit-control-config-base.mjs +6 -0
  7. package/{esm2020 → esm2022}/lib/base-classes/tru-edit-parent-control-config-base.mjs +3 -3
  8. package/{esm2020 → esm2022}/lib/base-classes/tru-edit-pkey-control-config-base.mjs +3 -3
  9. package/esm2022/lib/base-classes/tru-entity-base.mjs +14 -0
  10. package/esm2022/lib/base-classes/tru-list-control-config-base.mjs +6 -0
  11. package/{esm2020 → esm2022}/lib/base-classes/tru-property-config-base.mjs +14 -15
  12. package/{esm2020 → esm2022}/lib/base-classes/tru-search-config-base.mjs +3 -3
  13. package/esm2022/lib/base-classes/tru-search-control-base.mjs +45 -0
  14. package/esm2022/lib/base-classes/tru-search-control-config-base.mjs +5 -0
  15. package/esm2022/lib/base-classes/tru-search-control-range-base.mjs +45 -0
  16. package/esm2022/lib/base-classes/tru-table-config-base.mjs +12 -0
  17. package/{esm2020 → esm2022}/lib/base-views/detail/tru-detail-view-base-module.mjs +19 -19
  18. package/esm2022/lib/base-views/detail/tru-detail-view-base.mjs +83 -0
  19. package/esm2022/lib/base-views/search/services/tru-search-view-control-event-handler.mjs +25 -0
  20. package/esm2022/lib/base-views/search/services/tru-search-view-event-handler.mjs +25 -0
  21. package/{esm2020 → esm2022}/lib/base-views/search/tru-search-view-base-module.mjs +19 -19
  22. package/esm2022/lib/base-views/search/tru-search-view-base.mjs +68 -0
  23. package/{esm2020 → esm2022}/lib/base-views/search-result/tru-search-result-view-base-module.mjs +19 -19
  24. package/esm2022/lib/base-views/search-result/tru-search-result-view-base.mjs +54 -0
  25. package/{esm2020 → esm2022}/lib/classes/tru-choice.mjs +2 -2
  26. package/esm2022/lib/classes/tru-context-filter-choice.mjs +11 -0
  27. package/esm2022/lib/classes/tru-context-filter.mjs +16 -0
  28. package/esm2022/lib/classes/tru-data-change-parser.mjs +287 -0
  29. package/esm2022/lib/classes/tru-data-change.mjs +5 -0
  30. package/{esm2020 → esm2022}/lib/classes/tru-formula-eval.mjs +156 -156
  31. package/esm2022/lib/classes/tru-merge-data-set.mjs +11 -0
  32. package/esm2022/lib/classes/tru-merge-data.mjs +20 -0
  33. package/{esm2020 → esm2022}/lib/classes/tru-name-value.mjs +2 -2
  34. package/esm2022/lib/classes/tru-predicate.mjs +47 -0
  35. package/{esm2020 → esm2022}/lib/classes/tru-property-config-cloud-file.mjs +4 -4
  36. package/esm2022/lib/classes/tru-property-config-date.mjs +7 -0
  37. package/esm2022/lib/classes/tru-property-config-decimal.mjs +9 -0
  38. package/{esm2020 → esm2022}/lib/classes/tru-property-config-file.mjs +6 -8
  39. package/esm2022/lib/classes/tru-property-config-foreign-key.mjs +8 -0
  40. package/esm2022/lib/classes/tru-property-config-integer.mjs +7 -0
  41. package/esm2022/lib/classes/tru-property-config-password.mjs +6 -0
  42. package/esm2022/lib/classes/tru-property-config-percentage.mjs +7 -0
  43. package/esm2022/lib/classes/tru-property-config-scientific.mjs +7 -0
  44. package/{esm2020 → esm2022}/lib/classes/tru-property-config-text-choices.mjs +6 -8
  45. package/{esm2020 → esm2022}/lib/classes/tru-property-config-text.mjs +8 -10
  46. package/{esm2020 → esm2022}/lib/classes/tru-property-config-usa-address.mjs +6 -8
  47. package/{esm2020 → esm2022}/lib/classes/tru-property-config-zip-code.mjs +6 -8
  48. package/esm2022/lib/classes/tru-query-predicate-manager.mjs +49 -0
  49. package/{esm2020 → esm2022}/lib/components/confirm-dialog/tru-confirm-dialog-module.mjs +20 -20
  50. package/esm2022/lib/components/confirm-dialog/tru-confirm-dialog.mjs +59 -0
  51. package/{esm2020 → esm2022}/lib/components/data-grid/classes/tru-data-grid-config.mjs +1 -1
  52. package/{esm2020 → esm2022}/lib/components/data-grid/enums/tru-data-grid-types.mjs +6 -6
  53. package/esm2022/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.mjs +40 -0
  54. package/esm2022/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.mjs +27 -0
  55. package/esm2022/lib/components/data-grid/tru-data-grid-module.mjs +67 -0
  56. package/esm2022/lib/components/data-grid/tru-data-grid.mjs +382 -0
  57. package/{esm2020 → esm2022}/lib/components/desktop/classes/tru-desktop-title.mjs +2 -2
  58. package/esm2022/lib/components/desktop/classes/tru-desktop-view-config.mjs +21 -0
  59. package/{esm2020 → esm2022}/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.mjs +19 -19
  60. package/esm2022/lib/components/desktop/directives/resizable/tru-desktop-resizable.mjs +122 -0
  61. package/{esm2020 → esm2022}/lib/components/desktop/menubar/tru-desktop-menubar-module.mjs +56 -56
  62. package/esm2022/lib/components/desktop/menubar/tru-desktop-menubar.mjs +36 -0
  63. package/esm2022/lib/components/desktop/services/tru-desktop-manager.mjs +86 -0
  64. package/esm2022/lib/components/desktop/services/tru-desktop-service.mjs +108 -0
  65. package/esm2022/lib/components/desktop/services/tru-window-action-event-handler.mjs +25 -0
  66. package/esm2022/lib/components/desktop/services/tru-window-event-args.mjs +24 -0
  67. package/esm2022/lib/components/desktop/services/tru-window-event-handler.mjs +42 -0
  68. package/{esm2020 → esm2022}/lib/components/desktop/statusbar/tru-desktop-statusbar-module.mjs +19 -19
  69. package/esm2022/lib/components/desktop/statusbar/tru-desktop-statusbar.mjs +20 -0
  70. package/{esm2020 → esm2022}/lib/components/desktop/taskbar/tru-desktop-taskbar-module.mjs +21 -21
  71. package/esm2022/lib/components/desktop/taskbar/tru-desktop-taskbar.mjs +41 -0
  72. package/{esm2020 → esm2022}/lib/components/desktop/tru-desktop-module.mjs +72 -72
  73. package/esm2022/lib/components/desktop/tru-desktop.mjs +737 -0
  74. package/{esm2020 → esm2022}/lib/components/desktop/view/tru-desktop-view-module.mjs +19 -19
  75. package/esm2022/lib/components/desktop/view/tru-desktop-view.mjs +29 -0
  76. package/{esm2020 → esm2022}/lib/components/desktop/viewport/tru-desktop-viewport-module.mjs +20 -20
  77. package/esm2022/lib/components/desktop/viewport/tru-desktop-viewport.mjs +117 -0
  78. package/{esm2020 → esm2022}/lib/components/desktop/window/tru-desktop-window-module.mjs +58 -58
  79. package/esm2022/lib/components/desktop/window/tru-desktop-window.mjs +467 -0
  80. package/{esm2020 → esm2022}/lib/components/export-dialog/tru-export-dialog-module.mjs +20 -20
  81. package/esm2022/lib/components/export-dialog/tru-export-dialog.mjs +61 -0
  82. package/{esm2020 → esm2022}/lib/components/layout/column/tru-column-module.mjs +19 -19
  83. package/{esm2020 → esm2022}/lib/components/layout/column/tru-column.mjs +12 -12
  84. package/{esm2020 → esm2022}/lib/components/layout/form/tru-form-module.mjs +19 -19
  85. package/esm2022/lib/components/layout/form/tru-form.mjs +35 -0
  86. package/{esm2020 → esm2022}/lib/components/layout/group-box/tru-group-box-module.mjs +19 -19
  87. package/{esm2020 → esm2022}/lib/components/layout/group-box/tru-group-box.mjs +12 -12
  88. package/{esm2020 → esm2022}/lib/components/layout/row/tru-row-module.mjs +19 -19
  89. package/{esm2020 → esm2022}/lib/components/layout/row/tru-row.mjs +12 -12
  90. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-config.mjs +7 -7
  91. package/esm2022/lib/components/login/classes/tru-auth-jwt-strategy.mjs +63 -0
  92. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-login-request.mjs +5 -3
  93. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-logout-request.mjs +4 -3
  94. package/esm2022/lib/components/login/classes/tru-auth-session-strategy.mjs +21 -0
  95. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-strategy-provider.mjs +19 -19
  96. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-token.mjs +11 -8
  97. package/{esm2020 → esm2022}/lib/components/login/classes/tru-auth-user-request.mjs +4 -3
  98. package/esm2022/lib/components/login/services/tru-auth-cache.mjs +20 -0
  99. package/esm2022/lib/components/login/services/tru-auth-interceptor.mjs +46 -0
  100. package/esm2022/lib/components/login/services/tru-auth.mjs +87 -0
  101. package/esm2022/lib/components/login/tru-login-module.mjs +46 -0
  102. package/esm2022/lib/components/login/tru-login.mjs +59 -0
  103. package/{esm2020 → esm2022}/lib/components/password-dialog/tru-password-dialog-module.mjs +20 -20
  104. package/esm2022/lib/components/password-dialog/tru-password-dialog.mjs +53 -0
  105. package/{esm2020 → esm2022}/lib/components/toolbar/button/tru-toolbar-button-module.mjs +32 -32
  106. package/esm2022/lib/components/toolbar/button/tru-toolbar-button.mjs +40 -0
  107. package/{esm2020 → esm2022}/lib/components/toolbar/classes/tru-toolbar-dropdown-option.mjs +1 -1
  108. package/{esm2020 → esm2022}/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.mjs +44 -44
  109. package/esm2022/lib/components/toolbar/context-filter/tru-toolbar-context-filter.mjs +26 -0
  110. package/{esm2020 → esm2022}/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.mjs +36 -36
  111. package/esm2022/lib/components/toolbar/dropdown/tru-toolbar-dropdown.mjs +45 -0
  112. package/{esm2020 → esm2022}/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.mjs +19 -19
  113. package/esm2022/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.mjs +17 -0
  114. package/{esm2020 → esm2022}/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.mjs +19 -19
  115. package/esm2022/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.mjs +26 -0
  116. package/{esm2020 → esm2022}/lib/components/toolbar/menu/tru-toolbar-menu-module.mjs +32 -32
  117. package/esm2022/lib/components/toolbar/menu/tru-toolbar-menu.mjs +33 -0
  118. package/{esm2020 → esm2022}/lib/components/toolbar/separator/tru-toolbar-separator-module.mjs +19 -19
  119. package/{esm2020 → esm2022}/lib/components/toolbar/separator/tru-toolbar-separator.mjs +12 -12
  120. package/{esm2020 → esm2022}/lib/components/toolbar/text/tru-toolbar-text-module.mjs +32 -32
  121. package/esm2022/lib/components/toolbar/text/tru-toolbar-text.mjs +27 -0
  122. package/{esm2020 → esm2022}/lib/components/toolbar/tru-toolbar-module.mjs +73 -73
  123. package/{esm2020 → esm2022}/lib/components/toolbar/tru-toolbar.mjs +20 -21
  124. package/{esm2020 → esm2022}/lib/components/toolbar/user-profile/tru-toolbar-user-profile-module.mjs +36 -36
  125. package/esm2022/lib/components/toolbar/user-profile/tru-toolbar-user-profile.mjs +38 -0
  126. package/esm2022/lib/components/validation-dialog/tru-validation-dialog-config.mjs +25 -0
  127. package/{esm2020 → esm2022}/lib/components/validation-dialog/tru-validation-dialog-module.mjs +19 -19
  128. package/esm2022/lib/components/validation-dialog/tru-validation-dialog.mjs +83 -0
  129. package/{esm2020 → esm2022}/lib/directives/breeze-validator/tru-breeze-validator-module.mjs +19 -19
  130. package/esm2022/lib/directives/breeze-validator/tru-breeze-validator.mjs +107 -0
  131. package/{esm2020 → esm2022}/lib/directives/search-panel-position-manager/tru-search-panel-position-manager-module.mjs +19 -19
  132. package/esm2022/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.mjs +155 -0
  133. package/{esm2020 → esm2022}/lib/directives/select-panel/tru-mat-select-panel-module.mjs +19 -19
  134. package/esm2022/lib/directives/select-panel/tru-mat-select-panel.mjs +69 -0
  135. package/{esm2020 → esm2022}/lib/interfaces/tru-value.mjs +1 -1
  136. package/{esm2020 → esm2022}/lib/material.module.mjs +192 -192
  137. package/esm2022/lib/services/tru-app-environment.mjs +113 -0
  138. package/esm2022/lib/services/tru-breeze-context-factory.mjs +84 -0
  139. package/esm2022/lib/services/tru-breeze-metadata-provider.mjs +21 -0
  140. package/esm2022/lib/services/tru-component-lookup.mjs +23 -0
  141. package/esm2022/lib/services/tru-connection-hub.mjs +52 -0
  142. package/esm2022/lib/services/tru-context-filters.mjs +28 -0
  143. package/esm2022/lib/services/tru-data-context.mjs +263 -0
  144. package/esm2022/lib/services/tru-entity-accessor.mjs +292 -0
  145. package/esm2022/lib/services/tru-model-property-lookup.mjs +21 -0
  146. package/{esm2020 → esm2022}/lib/services/tru-predicate-map.mjs +11 -11
  147. package/esm2022/lib/services/tru-search-result-view-manager.mjs +18 -0
  148. package/esm2022/lib/services/tru-sort.mjs +113 -0
  149. package/esm2022/lib/services/tru-table-registry.mjs +15 -0
  150. package/esm2022/lib/services/tru-text-manager.mjs +148 -0
  151. package/esm2022/lib/services/tru-ui-notification.mjs +107 -0
  152. package/esm2022/lib/services/tru-user.mjs +62 -0
  153. package/esm2022/lib/services/tru-util.mjs +76 -0
  154. package/{esm2020 → esm2022}/lib/tru-common-module.mjs +16 -16
  155. package/{esm2020 → esm2022}/public-api.mjs +144 -144
  156. package/{esm2020 → esm2022}/trudb-tru-common-lib.mjs +4 -4
  157. package/fesm2022/trudb-tru-common-lib.mjs +6932 -0
  158. package/fesm2022/trudb-tru-common-lib.mjs.map +1 -0
  159. package/index.d.ts +5 -5
  160. package/lib/assets/tru-icon-module.d.ts +11 -11
  161. package/lib/assets/tru-search-icon-module.d.ts +11 -11
  162. package/lib/base-classes/tru-component-config-base.d.ts +3 -3
  163. package/lib/base-classes/tru-control-component-config-base.d.ts +20 -20
  164. package/lib/base-classes/tru-edit-control-base.d.ts +10 -10
  165. package/lib/base-classes/tru-edit-control-config-base.d.ts +21 -21
  166. package/lib/base-classes/tru-edit-parent-control-config-base.d.ts +9 -9
  167. package/lib/base-classes/tru-edit-pkey-control-config-base.d.ts +11 -11
  168. package/lib/base-classes/tru-entity-base.d.ts +14 -14
  169. package/lib/base-classes/tru-list-control-config-base.d.ts +21 -21
  170. package/lib/base-classes/tru-property-config-base.d.ts +13 -13
  171. package/lib/base-classes/tru-search-config-base.d.ts +9 -9
  172. package/lib/base-classes/tru-search-control-base.d.ts +21 -21
  173. package/lib/base-classes/tru-search-control-config-base.d.ts +13 -13
  174. package/lib/base-classes/tru-search-control-range-base.d.ts +25 -25
  175. package/lib/base-classes/tru-table-config-base.d.ts +11 -11
  176. package/lib/base-views/detail/tru-detail-view-base-module.d.ts +9 -9
  177. package/lib/base-views/detail/tru-detail-view-base.d.ts +32 -32
  178. package/lib/base-views/search/services/tru-search-view-control-event-handler.d.ts +12 -12
  179. package/lib/base-views/search/services/tru-search-view-event-handler.d.ts +11 -11
  180. package/lib/base-views/search/tru-search-view-base-module.d.ts +9 -9
  181. package/lib/base-views/search/tru-search-view-base.d.ts +36 -36
  182. package/lib/base-views/search-result/tru-search-result-view-base-module.d.ts +9 -9
  183. package/lib/base-views/search-result/tru-search-result-view-base.d.ts +25 -25
  184. package/lib/classes/tru-choice.d.ts +8 -8
  185. package/lib/classes/tru-context-filter-choice.d.ts +6 -6
  186. package/lib/classes/tru-context-filter.d.ts +10 -10
  187. package/lib/classes/tru-data-change-parser.d.ts +33 -33
  188. package/lib/classes/tru-data-change.d.ts +4 -4
  189. package/lib/classes/tru-formula-eval.d.ts +31 -31
  190. package/lib/classes/tru-merge-data-set.d.ts +7 -7
  191. package/lib/classes/tru-merge-data.d.ts +9 -9
  192. package/lib/classes/tru-name-value.d.ts +9 -9
  193. package/lib/classes/tru-predicate.d.ts +8 -8
  194. package/lib/classes/tru-property-config-cloud-file.d.ts +4 -4
  195. package/lib/classes/tru-property-config-date.d.ts +6 -6
  196. package/lib/classes/tru-property-config-decimal.d.ts +8 -8
  197. package/lib/classes/tru-property-config-file.d.ts +5 -5
  198. package/lib/classes/tru-property-config-foreign-key.d.ts +7 -7
  199. package/lib/classes/tru-property-config-integer.d.ts +6 -6
  200. package/lib/classes/tru-property-config-password.d.ts +5 -5
  201. package/lib/classes/tru-property-config-percentage.d.ts +6 -6
  202. package/lib/classes/tru-property-config-scientific.d.ts +6 -6
  203. package/lib/classes/tru-property-config-text-choices.d.ts +5 -5
  204. package/lib/classes/tru-property-config-text.d.ts +7 -7
  205. package/lib/classes/tru-property-config-usa-address.d.ts +5 -5
  206. package/lib/classes/tru-property-config-zip-code.d.ts +5 -5
  207. package/lib/classes/tru-query-predicate-manager.d.ts +26 -26
  208. package/lib/components/confirm-dialog/tru-confirm-dialog-module.d.ts +10 -10
  209. package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +28 -28
  210. package/lib/components/data-grid/classes/tru-data-grid-config.d.ts +7 -7
  211. package/lib/components/data-grid/enums/tru-data-grid-types.d.ts +5 -5
  212. package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.d.ts +13 -13
  213. package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.d.ts +13 -13
  214. package/lib/components/data-grid/tru-data-grid-module.d.ts +15 -15
  215. package/lib/components/data-grid/tru-data-grid.d.ts +67 -67
  216. package/lib/components/desktop/classes/tru-desktop-title.d.ts +4 -4
  217. package/lib/components/desktop/classes/tru-desktop-view-config.d.ts +16 -16
  218. package/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.d.ts +9 -9
  219. package/lib/components/desktop/directives/resizable/tru-desktop-resizable.d.ts +32 -32
  220. package/lib/components/desktop/menubar/tru-desktop-menubar-module.d.ts +17 -17
  221. package/lib/components/desktop/menubar/tru-desktop-menubar.d.ts +15 -15
  222. package/lib/components/desktop/services/tru-desktop-manager.d.ts +33 -33
  223. package/lib/components/desktop/services/tru-desktop-service.d.ts +95 -95
  224. package/lib/components/desktop/services/tru-window-action-event-handler.d.ts +12 -12
  225. package/lib/components/desktop/services/tru-window-event-args.d.ts +17 -17
  226. package/lib/components/desktop/services/tru-window-event-handler.d.ts +20 -20
  227. package/lib/components/desktop/statusbar/tru-desktop-statusbar-module.d.ts +9 -9
  228. package/lib/components/desktop/statusbar/tru-desktop-statusbar.d.ts +10 -10
  229. package/lib/components/desktop/taskbar/tru-desktop-taskbar-module.d.ts +11 -11
  230. package/lib/components/desktop/taskbar/tru-desktop-taskbar.d.ts +15 -15
  231. package/lib/components/desktop/tru-desktop-module.d.ts +20 -20
  232. package/lib/components/desktop/tru-desktop.d.ts +337 -337
  233. package/lib/components/desktop/view/tru-desktop-view-module.d.ts +9 -9
  234. package/lib/components/desktop/view/tru-desktop-view.d.ts +14 -14
  235. package/lib/components/desktop/viewport/tru-desktop-viewport-module.d.ts +10 -10
  236. package/lib/components/desktop/viewport/tru-desktop-viewport.d.ts +48 -48
  237. package/lib/components/desktop/window/tru-desktop-window-module.d.ts +17 -17
  238. package/lib/components/desktop/window/tru-desktop-window.d.ts +189 -189
  239. package/lib/components/export-dialog/tru-export-dialog-module.d.ts +10 -10
  240. package/lib/components/export-dialog/tru-export-dialog.d.ts +26 -26
  241. package/lib/components/layout/column/tru-column-module.d.ts +9 -9
  242. package/lib/components/layout/column/tru-column.d.ts +6 -6
  243. package/lib/components/layout/form/tru-form-module.d.ts +9 -9
  244. package/lib/components/layout/form/tru-form.d.ts +10 -10
  245. package/lib/components/layout/group-box/tru-group-box-module.d.ts +9 -9
  246. package/lib/components/layout/group-box/tru-group-box.d.ts +6 -6
  247. package/lib/components/layout/row/tru-row-module.d.ts +9 -9
  248. package/lib/components/layout/row/tru-row.d.ts +6 -6
  249. package/lib/components/login/classes/tru-auth-config.d.ts +16 -16
  250. package/lib/components/login/classes/tru-auth-jwt-strategy.d.ts +15 -15
  251. package/lib/components/login/classes/tru-auth-login-request.d.ts +4 -4
  252. package/lib/components/login/classes/tru-auth-logout-request.d.ts +3 -3
  253. package/lib/components/login/classes/tru-auth-session-strategy.d.ts +13 -13
  254. package/lib/components/login/classes/tru-auth-strategy-provider.d.ts +9 -9
  255. package/lib/components/login/classes/tru-auth-token.d.ts +6 -6
  256. package/lib/components/login/classes/tru-auth-user-request.d.ts +3 -3
  257. package/lib/components/login/services/tru-auth-cache.d.ts +11 -11
  258. package/lib/components/login/services/tru-auth-interceptor.d.ts +16 -16
  259. package/lib/components/login/services/tru-auth.d.ts +29 -29
  260. package/lib/components/login/tru-login-module.d.ts +11 -11
  261. package/lib/components/login/tru-login.d.ts +21 -21
  262. package/lib/components/password-dialog/tru-password-dialog-module.d.ts +10 -10
  263. package/lib/components/password-dialog/tru-password-dialog.d.ts +24 -23
  264. package/lib/components/toolbar/button/tru-toolbar-button-module.d.ts +11 -11
  265. package/lib/components/toolbar/button/tru-toolbar-button.d.ts +16 -16
  266. package/lib/components/toolbar/classes/tru-toolbar-dropdown-option.d.ts +4 -4
  267. package/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.d.ts +14 -14
  268. package/lib/components/toolbar/context-filter/tru-toolbar-context-filter.d.ts +13 -13
  269. package/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.d.ts +12 -12
  270. package/lib/components/toolbar/dropdown/tru-toolbar-dropdown.d.ts +18 -18
  271. package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.d.ts +9 -9
  272. package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.d.ts +7 -7
  273. package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.d.ts +9 -9
  274. package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.d.ts +8 -8
  275. package/lib/components/toolbar/menu/tru-toolbar-menu-module.d.ts +11 -11
  276. package/lib/components/toolbar/menu/tru-toolbar-menu.d.ts +10 -10
  277. package/lib/components/toolbar/separator/tru-toolbar-separator-module.d.ts +9 -9
  278. package/lib/components/toolbar/separator/tru-toolbar-separator.d.ts +6 -6
  279. package/lib/components/toolbar/text/tru-toolbar-text-module.d.ts +11 -11
  280. package/lib/components/toolbar/text/tru-toolbar-text.d.ts +12 -12
  281. package/lib/components/toolbar/tru-toolbar-module.d.ts +16 -16
  282. package/lib/components/toolbar/tru-toolbar.d.ts +9 -9
  283. package/lib/components/toolbar/user-profile/tru-toolbar-user-profile-module.d.ts +12 -12
  284. package/lib/components/toolbar/user-profile/tru-toolbar-user-profile.d.ts +17 -17
  285. package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +13 -13
  286. package/lib/components/validation-dialog/tru-validation-dialog-module.d.ts +9 -9
  287. package/lib/components/validation-dialog/tru-validation-dialog.d.ts +20 -20
  288. package/lib/directives/breeze-validator/tru-breeze-validator-module.d.ts +9 -9
  289. package/lib/directives/breeze-validator/tru-breeze-validator.d.ts +27 -27
  290. package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager-module.d.ts +9 -9
  291. package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.d.ts +40 -40
  292. package/lib/directives/select-panel/tru-mat-select-panel-module.d.ts +9 -9
  293. package/lib/directives/select-panel/tru-mat-select-panel.d.ts +17 -17
  294. package/lib/interfaces/tru-value.d.ts +6 -6
  295. package/lib/material.module.d.ts +50 -50
  296. package/lib/services/tru-app-environment.d.ts +57 -57
  297. package/lib/services/tru-breeze-context-factory.d.ts +32 -32
  298. package/lib/services/tru-breeze-metadata-provider.d.ts +9 -9
  299. package/lib/services/tru-component-lookup.d.ts +9 -9
  300. package/lib/services/tru-connection-hub.d.ts +18 -18
  301. package/lib/services/tru-context-filters.d.ts +10 -10
  302. package/lib/services/tru-data-context.d.ts +42 -42
  303. package/lib/services/tru-entity-accessor.d.ts +46 -46
  304. package/lib/services/tru-model-property-lookup.d.ts +10 -10
  305. package/lib/services/tru-predicate-map.d.ts +6 -6
  306. package/lib/services/tru-search-result-view-manager.d.ts +10 -10
  307. package/lib/services/tru-sort.d.ts +56 -56
  308. package/lib/services/tru-table-registry.d.ts +8 -8
  309. package/lib/services/tru-text-manager.d.ts +68 -68
  310. package/lib/services/tru-ui-notification.d.ts +36 -36
  311. package/lib/services/tru-user.d.ts +29 -29
  312. package/lib/services/tru-util.d.ts +14 -14
  313. package/lib/tru-common-module.d.ts +6 -6
  314. package/package.json +5 -11
  315. package/public-api.d.ts +117 -117
  316. package/esm2020/lib/base-classes/tru-edit-control-config-base.mjs +0 -4
  317. package/esm2020/lib/base-classes/tru-entity-base.mjs +0 -13
  318. package/esm2020/lib/base-classes/tru-list-control-config-base.mjs +0 -4
  319. package/esm2020/lib/base-classes/tru-search-control-base.mjs +0 -47
  320. package/esm2020/lib/base-classes/tru-search-control-config-base.mjs +0 -4
  321. package/esm2020/lib/base-classes/tru-search-control-range-base.mjs +0 -47
  322. package/esm2020/lib/base-classes/tru-table-config-base.mjs +0 -13
  323. package/esm2020/lib/base-views/detail/tru-detail-view-base.mjs +0 -76
  324. package/esm2020/lib/base-views/search/services/tru-search-view-control-event-handler.mjs +0 -27
  325. package/esm2020/lib/base-views/search/services/tru-search-view-event-handler.mjs +0 -27
  326. package/esm2020/lib/base-views/search/tru-search-view-base.mjs +0 -63
  327. package/esm2020/lib/base-views/search-result/tru-search-result-view-base.mjs +0 -51
  328. package/esm2020/lib/classes/tru-context-filter-choice.mjs +0 -8
  329. package/esm2020/lib/classes/tru-context-filter.mjs +0 -16
  330. package/esm2020/lib/classes/tru-data-change-parser.mjs +0 -277
  331. package/esm2020/lib/classes/tru-data-change.mjs +0 -7
  332. package/esm2020/lib/classes/tru-merge-data-set.mjs +0 -12
  333. package/esm2020/lib/classes/tru-merge-data.mjs +0 -17
  334. package/esm2020/lib/classes/tru-predicate.mjs +0 -47
  335. package/esm2020/lib/classes/tru-property-config-date.mjs +0 -9
  336. package/esm2020/lib/classes/tru-property-config-decimal.mjs +0 -11
  337. package/esm2020/lib/classes/tru-property-config-foreign-key.mjs +0 -10
  338. package/esm2020/lib/classes/tru-property-config-integer.mjs +0 -9
  339. package/esm2020/lib/classes/tru-property-config-password.mjs +0 -8
  340. package/esm2020/lib/classes/tru-property-config-percentage.mjs +0 -9
  341. package/esm2020/lib/classes/tru-property-config-scientific.mjs +0 -9
  342. package/esm2020/lib/classes/tru-query-predicate-manager.mjs +0 -49
  343. package/esm2020/lib/components/confirm-dialog/tru-confirm-dialog.mjs +0 -45
  344. package/esm2020/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.mjs +0 -39
  345. package/esm2020/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.mjs +0 -26
  346. package/esm2020/lib/components/data-grid/tru-data-grid-module.mjs +0 -67
  347. package/esm2020/lib/components/data-grid/tru-data-grid.mjs +0 -370
  348. package/esm2020/lib/components/desktop/classes/tru-desktop-view-config.mjs +0 -21
  349. package/esm2020/lib/components/desktop/directives/resizable/tru-desktop-resizable.mjs +0 -109
  350. package/esm2020/lib/components/desktop/menubar/tru-desktop-menubar.mjs +0 -34
  351. package/esm2020/lib/components/desktop/services/tru-desktop-manager.mjs +0 -84
  352. package/esm2020/lib/components/desktop/services/tru-desktop-service.mjs +0 -116
  353. package/esm2020/lib/components/desktop/services/tru-window-action-event-handler.mjs +0 -27
  354. package/esm2020/lib/components/desktop/services/tru-window-event-args.mjs +0 -26
  355. package/esm2020/lib/components/desktop/services/tru-window-event-handler.mjs +0 -44
  356. package/esm2020/lib/components/desktop/statusbar/tru-desktop-statusbar.mjs +0 -18
  357. package/esm2020/lib/components/desktop/taskbar/tru-desktop-taskbar.mjs +0 -40
  358. package/esm2020/lib/components/desktop/tru-desktop.mjs +0 -731
  359. package/esm2020/lib/components/desktop/view/tru-desktop-view.mjs +0 -25
  360. package/esm2020/lib/components/desktop/viewport/tru-desktop-viewport.mjs +0 -113
  361. package/esm2020/lib/components/desktop/window/tru-desktop-window.mjs +0 -457
  362. package/esm2020/lib/components/export-dialog/tru-export-dialog.mjs +0 -57
  363. package/esm2020/lib/components/layout/form/tru-form.mjs +0 -34
  364. package/esm2020/lib/components/login/classes/tru-auth-jwt-strategy.mjs +0 -65
  365. package/esm2020/lib/components/login/classes/tru-auth-session-strategy.mjs +0 -19
  366. package/esm2020/lib/components/login/services/tru-auth-cache.mjs +0 -22
  367. package/esm2020/lib/components/login/services/tru-auth-interceptor.mjs +0 -43
  368. package/esm2020/lib/components/login/services/tru-auth.mjs +0 -81
  369. package/esm2020/lib/components/login/tru-login-module.mjs +0 -46
  370. package/esm2020/lib/components/login/tru-login.mjs +0 -58
  371. package/esm2020/lib/components/password-dialog/tru-password-dialog.mjs +0 -44
  372. package/esm2020/lib/components/toolbar/button/tru-toolbar-button.mjs +0 -41
  373. package/esm2020/lib/components/toolbar/context-filter/tru-toolbar-context-filter.mjs +0 -24
  374. package/esm2020/lib/components/toolbar/dropdown/tru-toolbar-dropdown.mjs +0 -43
  375. package/esm2020/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.mjs +0 -16
  376. package/esm2020/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.mjs +0 -26
  377. package/esm2020/lib/components/toolbar/menu/tru-toolbar-menu.mjs +0 -33
  378. package/esm2020/lib/components/toolbar/text/tru-toolbar-text.mjs +0 -28
  379. package/esm2020/lib/components/toolbar/user-profile/tru-toolbar-user-profile.mjs +0 -35
  380. package/esm2020/lib/components/validation-dialog/tru-validation-dialog-config.mjs +0 -21
  381. package/esm2020/lib/components/validation-dialog/tru-validation-dialog.mjs +0 -79
  382. package/esm2020/lib/directives/breeze-validator/tru-breeze-validator.mjs +0 -100
  383. package/esm2020/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.mjs +0 -151
  384. package/esm2020/lib/directives/select-panel/tru-mat-select-panel.mjs +0 -66
  385. package/esm2020/lib/services/tru-app-environment.mjs +0 -94
  386. package/esm2020/lib/services/tru-breeze-context-factory.mjs +0 -79
  387. package/esm2020/lib/services/tru-breeze-metadata-provider.mjs +0 -22
  388. package/esm2020/lib/services/tru-component-lookup.mjs +0 -25
  389. package/esm2020/lib/services/tru-connection-hub.mjs +0 -48
  390. package/esm2020/lib/services/tru-context-filters.mjs +0 -29
  391. package/esm2020/lib/services/tru-data-context.mjs +0 -258
  392. package/esm2020/lib/services/tru-entity-accessor.mjs +0 -287
  393. package/esm2020/lib/services/tru-model-property-lookup.mjs +0 -22
  394. package/esm2020/lib/services/tru-search-result-view-manager.mjs +0 -17
  395. package/esm2020/lib/services/tru-sort.mjs +0 -114
  396. package/esm2020/lib/services/tru-table-registry.mjs +0 -16
  397. package/esm2020/lib/services/tru-text-manager.mjs +0 -134
  398. package/esm2020/lib/services/tru-ui-notification.mjs +0 -103
  399. package/esm2020/lib/services/tru-user.mjs +0 -63
  400. package/esm2020/lib/services/tru-util.mjs +0 -77
  401. package/fesm2015/trudb-tru-common-lib.mjs +0 -6799
  402. package/fesm2015/trudb-tru-common-lib.mjs.map +0 -1
  403. package/fesm2020/trudb-tru-common-lib.mjs +0 -6776
  404. package/fesm2020/trudb-tru-common-lib.mjs.map +0 -1
@@ -1,42 +1,42 @@
1
- import { Entity, EntityChangedEventArgs, EntityType } from "breeze-client";
2
- import { TruBreezeContextFactory, TruBreezeContext } from './tru-breeze-context-factory';
3
- import { TruEntityAccessor } from './tru-entity-accessor';
4
- import { TruUiNotification } from './tru-ui-notification';
5
- import { TruAppEnvironment } from './tru-app-environment';
6
- import { Observable, Subject } from 'rxjs';
7
- import { TruDataChange } from '../classes/tru-data-change';
8
- import * as i0 from "@angular/core";
9
- export declare class TruDataContext {
10
- private breezeContextFactory;
11
- private appEnvironment;
12
- private entityAccessor;
13
- private uiNotification;
14
- private _propertyChanged$;
15
- private _dataChanged$;
16
- private _breezeContext;
17
- private _pendingDeleteEntities;
18
- private _pendingCascadeDeleteEntities;
19
- constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
20
- onPropertyChanged(): Subject<any>;
21
- propertyChanged(changeArgs: EntityChangedEventArgs | null): void;
22
- onDataChanged(): Subject<TruDataChange>;
23
- dataChanged(change: TruDataChange): void;
24
- validationChangeDetection: Observable<unknown>;
25
- getValidationErrors: (entities?: Array<Entity> | null) => any;
26
- private formatValidationErrors;
27
- private findCachedCascadeDeleteDescendants;
28
- private markCachedDescendantsForDelete;
29
- private markForDelete;
30
- get breezeContext(): TruBreezeContext;
31
- get entityManager(): import("breeze-client").EntityManager;
32
- hasChanges: (entityTypes?: Array<EntityType>) => Entity[];
33
- entityAccess: () => TruEntityAccessor;
34
- exportCahce: () => void;
35
- save: (entities?: Array<Entity> | null, deleteOperation?: boolean) => Promise<void>;
36
- saveWithoutNotification: () => Promise<void>;
37
- revert: () => void;
38
- revertWithoutPrompt: () => void;
39
- delete: (entities: Array<Entity>, confirmMsg: string, onSuccess?: Function | undefined) => void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDataContext, never>;
41
- static ɵprov: i0.ɵɵInjectableDeclaration<TruDataContext>;
42
- }
1
+ import { Entity, EntityChangedEventArgs, EntityType } from "breeze-client";
2
+ import { TruBreezeContextFactory, TruBreezeContext } from './tru-breeze-context-factory';
3
+ import { TruEntityAccessor } from './tru-entity-accessor';
4
+ import { TruUiNotification } from './tru-ui-notification';
5
+ import { TruAppEnvironment } from './tru-app-environment';
6
+ import { Observable, Subject } from 'rxjs';
7
+ import { TruDataChange } from '../classes/tru-data-change';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TruDataContext {
10
+ private breezeContextFactory;
11
+ private appEnvironment;
12
+ private entityAccessor;
13
+ private uiNotification;
14
+ private _propertyChanged$;
15
+ private _dataChanged$;
16
+ private _breezeContext;
17
+ private _pendingDeleteEntities;
18
+ private _pendingCascadeDeleteEntities;
19
+ constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
20
+ onPropertyChanged(): Subject<any>;
21
+ propertyChanged(changeArgs: EntityChangedEventArgs | null): void;
22
+ onDataChanged(): Subject<TruDataChange>;
23
+ dataChanged(change: TruDataChange): void;
24
+ validationChangeDetection: Observable<unknown>;
25
+ getValidationErrors: (entities?: Array<Entity> | null) => any;
26
+ private formatValidationErrors;
27
+ private findCachedCascadeDeleteDescendants;
28
+ private markCachedDescendantsForDelete;
29
+ private markForDelete;
30
+ get breezeContext(): TruBreezeContext;
31
+ get entityManager(): import("breeze-client").EntityManager;
32
+ hasChanges: (entityTypes?: Array<EntityType>) => Entity[];
33
+ entityAccess: () => TruEntityAccessor;
34
+ exportCahce: () => void;
35
+ save: (entities?: Array<Entity> | null, deleteOperation?: boolean) => Promise<void>;
36
+ saveWithoutNotification: () => Promise<void>;
37
+ revert: () => void;
38
+ revertWithoutPrompt: () => void;
39
+ delete: (entities: Array<Entity>, confirmMsg: string, onSuccess?: Function | undefined) => void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruDataContext, never>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruDataContext>;
42
+ }
@@ -1,46 +1,46 @@
1
- import { Entity } from "breeze-client";
2
- import { TruEntityBase } from '../base-classes/tru-entity-base';
3
- import { TruUiNotification } from "./tru-ui-notification";
4
- import { TruDataContext } from "./tru-data-context";
5
- import { HttpClient } from "@angular/common/http";
6
- import { Observable } from 'rxjs';
7
- import { TruAppEnvironment } from "./tru-app-environment";
8
- import { TruChoice } from "../classes/tru-choice";
9
- import { TruNameValue } from "../classes/tru-name-value";
10
- import * as i0 from "@angular/core";
11
- export declare class TruEntityAccessor {
12
- private http;
13
- private appEnvironment;
14
- private uiNotification;
15
- private _breezeContext;
16
- private _entityManager;
17
- private _maxRecordCount;
18
- constructor(http: HttpClient, appEnvironment: TruAppEnvironment, uiNotification: TruUiNotification);
19
- set context(dataContext: TruDataContext);
20
- private getQueryServiceName;
21
- private warnIfMaxRecords;
22
- private formatQueryChoices;
23
- private formatNameValues;
24
- add: (entity: typeof TruEntityBase, contextFilters?: any) => Entity;
25
- search: (entity: typeof TruEntityBase, setupQuery: any | null, expands: [
26
- ] | null, global: boolean) => Observable<Entity[]>;
27
- searchCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
28
- ] | null) => Observable<Entity[]>;
29
- searchCacheOnlySynchronously: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
30
- ] | null) => Array<any>;
31
- searchQueryChoices: (entity: typeof TruEntityBase, setupQuery?: any | null, hid?: string | null, goToServer?: boolean, ref?: number | null | undefined) => Observable<TruChoice[]>;
32
- searchNameValuesCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, ref?: number | null | undefined) => Observable<TruNameValue[]>;
33
- searchByRef: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<TruChoice[]>;
34
- searchByRefPreferedCache: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<any>;
35
- searchByRefCacheOnly: (entity: typeof TruEntityBase, ref: number | null | undefined, includeDeleted?: boolean) => any;
36
- searchByRefArrayCacheOnly: (entity: typeof TruEntityBase, setupQuery: any | null, refs: Array<number>, includeDeleted?: boolean) => any[] | null;
37
- searchByRefWithQuery: (entity: typeof TruEntityBase, setupQuery: any, ref: number) => Observable<Entity[]>;
38
- searchUserByRefCacheOnly: (ref: number | null | undefined, includeDeleted?: boolean) => any;
39
- export: (entity: typeof TruEntityBase, gridSpec: string, setupQuery: any | null, entityRefs: string | null, options: any) => void;
40
- private formatAsUrlParameters;
41
- private downloadFromUrl;
42
- private saveDownloadedFile;
43
- private extractFilenameFromContentDisposition;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<TruEntityAccessor, never>;
45
- static ɵprov: i0.ɵɵInjectableDeclaration<TruEntityAccessor>;
46
- }
1
+ import { Entity } from "breeze-client";
2
+ import { TruEntityBase } from '../base-classes/tru-entity-base';
3
+ import { TruUiNotification } from "./tru-ui-notification";
4
+ import { TruDataContext } from "./tru-data-context";
5
+ import { HttpClient } from "@angular/common/http";
6
+ import { Observable } from 'rxjs';
7
+ import { TruAppEnvironment } from "./tru-app-environment";
8
+ import { TruChoice } from "../classes/tru-choice";
9
+ import { TruNameValue } from "../classes/tru-name-value";
10
+ import * as i0 from "@angular/core";
11
+ export declare class TruEntityAccessor {
12
+ private http;
13
+ private appEnvironment;
14
+ private uiNotification;
15
+ private _breezeContext;
16
+ private _entityManager;
17
+ private _maxRecordCount;
18
+ constructor(http: HttpClient, appEnvironment: TruAppEnvironment, uiNotification: TruUiNotification);
19
+ set context(dataContext: TruDataContext);
20
+ private getQueryServiceName;
21
+ private warnIfMaxRecords;
22
+ private formatQueryChoices;
23
+ private formatNameValues;
24
+ add: (entity: typeof TruEntityBase, contextFilters?: any) => Entity;
25
+ search: (entity: typeof TruEntityBase, setupQuery: any | null, expands: [
26
+ ] | null, global: boolean) => Observable<Entity[]>;
27
+ searchCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
28
+ ] | null) => Observable<Entity[]>;
29
+ searchCacheOnlySynchronously: (entity: typeof TruEntityBase, setupQuery?: any | null, expands?: [
30
+ ] | null) => Array<any>;
31
+ searchQueryChoices: (entity: typeof TruEntityBase, setupQuery?: any | null, hid?: string | null, goToServer?: boolean, ref?: number | null | undefined) => Observable<TruChoice[]>;
32
+ searchNameValuesCacheOnly: (entity: typeof TruEntityBase, setupQuery?: any | null, ref?: number | null | undefined) => Observable<TruNameValue[]>;
33
+ searchByRef: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<TruChoice[]>;
34
+ searchByRefPreferedCache: (entity: typeof TruEntityBase, ref: number | null | undefined) => Observable<any>;
35
+ searchByRefCacheOnly: (entity: typeof TruEntityBase, ref: number | null | undefined, includeDeleted?: boolean) => any;
36
+ searchByRefArrayCacheOnly: (entity: typeof TruEntityBase, setupQuery: any | null, refs: Array<number>, includeDeleted?: boolean) => any[] | null;
37
+ searchByRefWithQuery: (entity: typeof TruEntityBase, setupQuery: any, ref: number) => Observable<Entity[]>;
38
+ searchUserByRefCacheOnly: (ref: number | null | undefined, includeDeleted?: boolean) => any;
39
+ export: (entity: typeof TruEntityBase, gridSpec: string, setupQuery: any | null, entityRefs: string | null, options: any) => void;
40
+ private formatAsUrlParameters;
41
+ private downloadFromUrl;
42
+ private saveDownloadedFile;
43
+ private extractFilenameFromContentDisposition;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruEntityAccessor, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruEntityAccessor>;
46
+ }
@@ -1,10 +1,10 @@
1
- import { TruPropertyConfigBase } from "../base-classes/tru-property-config-base";
2
- import * as i0 from "@angular/core";
3
- export declare class TruModelPropertyLookup {
4
- private _lookup;
5
- constructor();
6
- get lookup(): Map<string, TruPropertyConfigBase>;
7
- set lookup(value: Map<string, TruPropertyConfigBase>);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TruModelPropertyLookup, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<TruModelPropertyLookup>;
10
- }
1
+ import { TruPropertyConfigBase } from "../base-classes/tru-property-config-base";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruModelPropertyLookup {
4
+ private _lookup;
5
+ constructor();
6
+ get lookup(): Map<string, TruPropertyConfigBase>;
7
+ set lookup(value: Map<string, TruPropertyConfigBase>);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruModelPropertyLookup, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruModelPropertyLookup>;
10
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TruPredicateMap {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TruPredicateMap, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<TruPredicateMap>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TruPredicateMap {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruPredicateMap, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruPredicateMap>;
6
+ }
@@ -1,10 +1,10 @@
1
- import { TemplateRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class TruSearchResultViewManager {
4
- private _searchViewToolbarTemplate;
5
- constructor();
6
- set searchViewToolbarTemplate(temp: TemplateRef<any>);
7
- get searchViewToolbarTemplate(): TemplateRef<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TruSearchResultViewManager, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<TruSearchResultViewManager>;
10
- }
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruSearchResultViewManager {
4
+ private _searchViewToolbarTemplate;
5
+ constructor();
6
+ set searchViewToolbarTemplate(temp: TemplateRef<any>);
7
+ get searchViewToolbarTemplate(): TemplateRef<any>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruSearchResultViewManager, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruSearchResultViewManager>;
10
+ }
@@ -1,56 +1,56 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TruSort {
3
- constructor();
4
- /**
5
- * @callback differenceCallback
6
- * @param {*} valueA - any value except for undefined or null
7
- * @param {*} valueB - any value except for undefined or null
8
- * @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
9
- */
10
- /**
11
- * A generalized comparison algorithm for use with a sort function. Ensures that null
12
- * sorts before non-null. Delegates to difference() for both non-null values.
13
- * @param {*} valueA - any value except for undefined
14
- * @param {*} valueB - any value except for undefined
15
- * @param {differenceCallback} difference - same result meaning as for this function.
16
- * @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
17
- */
18
- numCompare: (valueA: any, valueB: any, difference: any) => any;
19
- compare: (valueA: any, valueB: any, difference: any, inverted?: boolean) => any;
20
- /**
21
- * Sort comparison for unnamed, number field control config objects.
22
- * @param {object} a,b - control config
23
- * @returns {number}
24
- */
25
- numberCompare: (a: any, b: any) => any;
26
- /**
27
- * Alphabetical sort comparison for unnamed, string field control config objects.
28
- * @param {object} a,b - control config
29
- * @returns {number}
30
- */
31
- textCompare: (a: any, b: any) => any;
32
- dateCompare: (a: any, b: any) => any;
33
- /**
34
- * @callback filterCallback
35
- * @param {object} a,b - Control config
36
- * @returns {string}
37
- */
38
- /**
39
- * Alphabetical sort comparison for strings. Both input values are control config
40
- * objects and passed to a filter function to obtain a value for comparison.
41
- * @param {object} a,b - control config
42
- * @param {filterCallback} filter - filter function
43
- * @returns {number}
44
- */
45
- filteredTextCompare: (a: any, b: any, filter: any) => any;
46
- /**
47
- * Alphabetical sort comparison for strings. Both input values are control config
48
- * objects and passed to a filter function to obtain a value for comparison.
49
- * @param {object} entity - a breeze $entity
50
- * @param {array} pathSegments - a list of strings that make up a navigation path
51
- * @returns {value}
52
- */
53
- getValueFromSortPath: (entity: any, pathSegments: any) => any;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<TruSort, never>;
55
- static ɵprov: i0.ɵɵInjectableDeclaration<TruSort>;
56
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TruSort {
3
+ constructor();
4
+ /**
5
+ * @callback differenceCallback
6
+ * @param {*} valueA - any value except for undefined or null
7
+ * @param {*} valueB - any value except for undefined or null
8
+ * @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
9
+ */
10
+ /**
11
+ * A generalized comparison algorithm for use with a sort function. Ensures that null
12
+ * sorts before non-null. Delegates to difference() for both non-null values.
13
+ * @param {*} valueA - any value except for undefined
14
+ * @param {*} valueB - any value except for undefined
15
+ * @param {differenceCallback} difference - same result meaning as for this function.
16
+ * @return {number} - <0 for a sorts before b, 0 for a sorts same as b, >0 for a sorts after b.
17
+ */
18
+ numCompare: (valueA: any, valueB: any, difference: any) => any;
19
+ compare: (valueA: any, valueB: any, difference: any, inverted?: boolean) => any;
20
+ /**
21
+ * Sort comparison for unnamed, number field control config objects.
22
+ * @param {object} a,b - control config
23
+ * @returns {number}
24
+ */
25
+ numberCompare: (a: any, b: any) => any;
26
+ /**
27
+ * Alphabetical sort comparison for unnamed, string field control config objects.
28
+ * @param {object} a,b - control config
29
+ * @returns {number}
30
+ */
31
+ textCompare: (a: any, b: any) => any;
32
+ dateCompare: (a: any, b: any) => any;
33
+ /**
34
+ * @callback filterCallback
35
+ * @param {object} a,b - Control config
36
+ * @returns {string}
37
+ */
38
+ /**
39
+ * Alphabetical sort comparison for strings. Both input values are control config
40
+ * objects and passed to a filter function to obtain a value for comparison.
41
+ * @param {object} a,b - control config
42
+ * @param {filterCallback} filter - filter function
43
+ * @returns {number}
44
+ */
45
+ filteredTextCompare: (a: any, b: any, filter: any) => any;
46
+ /**
47
+ * Alphabetical sort comparison for strings. Both input values are control config
48
+ * objects and passed to a filter function to obtain a value for comparison.
49
+ * @param {object} entity - a breeze $entity
50
+ * @param {array} pathSegments - a list of strings that make up a navigation path
51
+ * @returns {value}
52
+ */
53
+ getValueFromSortPath: (entity: any, pathSegments: any) => any;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruSort, never>;
55
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruSort>;
56
+ }
@@ -1,8 +1,8 @@
1
- import { TruTableConfigBase } from '../base-classes/tru-table-config-base';
2
- import * as i0 from "@angular/core";
3
- export declare class TruTableRegistry {
4
- constructor();
5
- register: Record<string, TruTableConfigBase>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TruTableRegistry, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<TruTableRegistry>;
8
- }
1
+ import { TruTableConfigBase } from '../base-classes/tru-table-config-base';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruTableRegistry {
4
+ constructor();
5
+ register: Record<string, TruTableConfigBase>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruTableRegistry, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruTableRegistry>;
8
+ }
@@ -1,68 +1,68 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TruTextManager {
3
- readonly msgModifierKeyLabel: string;
4
- readonly msgConfirmExitWithChangesPending: string;
5
- readonly msgDeleteSuccessful: string;
6
- readonly msgSaveSuccessful: string;
7
- readonly msgNoChangesToSave: string;
8
- readonly msgSaveInProgress: string;
9
- readonly msgInvalidData: string;
10
- readonly msgDirtyPreventsReadOnly: string;
11
- readonly msgDirtyPreventsNavigate: string;
12
- readonly msgDirtyPreventsClose: string;
13
- readonly msgDirtyPreventsDeleteExistingRecord: string;
14
- readonly msgNoDeleteAccess: string;
15
- readonly msgCannotDeleteNewAndExistingRecords: string;
16
- readonly msgDeleteReferencingRecordsFirst: string;
17
- constructor();
18
- /**
19
- * If text.length exceeds length, then returns a string that is the first length chars
20
- * of text plus suffix. Otherwise, returns text.
21
- * @param {string} text
22
- * @param {number} length
23
- * @param {string} suffix
24
- * @return {string}
25
- */
26
- private truncate;
27
- isMac: () => boolean;
28
- /**
29
- * Formats the text to use for the window title.
30
- * @param {string} text
31
- * @return {string} - Window title.
32
- */
33
- formatWindowTitle: (text: string) => string;
34
- /**
35
- * Returns a message indicating that an entity or entities were deleted in another view.
36
- * @param {string} entityTypeLabel - Description of the entity type.
37
- * @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
38
- * @param [{number}] count - Number of entities.
39
- */
40
- fmtEntityDeletedInOtherView: (entityTypeLabel: string, entityTypePluralLabel: string, count: number) => string;
41
- /**
42
- * Returns a message used to confirm deletion of an entity or entities.
43
- * @param {string} entityTypeLabel - Description of the entity type.
44
- * @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
45
- * @param [{number}] count - Number of entities.
46
- */
47
- fmtDeleteConfirmation: (entityTypeLabel: string, entityTypePluralLabel?: string | null, count?: number | null) => string;
48
- /**
49
- * Returns a message formatted from an error object.
50
- * @param {error|string} error
51
- * @returns {string}
52
- */
53
- fmtErrorToShow: (error: any) => string;
54
- /**
55
- * Returns a message formatted from an exception object.
56
- * @param {object} exception
57
- * @returns {string}
58
- */
59
- fmtExceptionToShow: (exception: any) => string;
60
- /**
61
- * Returns a message for a data error type.
62
- * @param {string} typeName
63
- * @returns {string}
64
- */
65
- fmtDataError: (typeName: string) => string;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<TruTextManager, never>;
67
- static ɵprov: i0.ɵɵInjectableDeclaration<TruTextManager>;
68
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TruTextManager {
3
+ readonly msgModifierKeyLabel: string;
4
+ readonly msgConfirmExitWithChangesPending: string;
5
+ readonly msgDeleteSuccessful: string;
6
+ readonly msgSaveSuccessful: string;
7
+ readonly msgNoChangesToSave: string;
8
+ readonly msgSaveInProgress: string;
9
+ readonly msgInvalidData: string;
10
+ readonly msgDirtyPreventsReadOnly: string;
11
+ readonly msgDirtyPreventsNavigate: string;
12
+ readonly msgDirtyPreventsClose: string;
13
+ readonly msgDirtyPreventsDeleteExistingRecord: string;
14
+ readonly msgNoDeleteAccess: string;
15
+ readonly msgCannotDeleteNewAndExistingRecords: string;
16
+ readonly msgDeleteReferencingRecordsFirst: string;
17
+ constructor();
18
+ /**
19
+ * If text.length exceeds length, then returns a string that is the first length chars
20
+ * of text plus suffix. Otherwise, returns text.
21
+ * @param {string} text
22
+ * @param {number} length
23
+ * @param {string} suffix
24
+ * @return {string}
25
+ */
26
+ private truncate;
27
+ isMac: () => boolean;
28
+ /**
29
+ * Formats the text to use for the window title.
30
+ * @param {string} text
31
+ * @return {string} - Window title.
32
+ */
33
+ formatWindowTitle: (text: string) => string;
34
+ /**
35
+ * Returns a message indicating that an entity or entities were deleted in another view.
36
+ * @param {string} entityTypeLabel - Description of the entity type.
37
+ * @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
38
+ * @param [{number}] count - Number of entities.
39
+ */
40
+ fmtEntityDeletedInOtherView: (entityTypeLabel: string, entityTypePluralLabel: string, count: number) => string;
41
+ /**
42
+ * Returns a message used to confirm deletion of an entity or entities.
43
+ * @param {string} entityTypeLabel - Description of the entity type.
44
+ * @param [{string}] entityTypePluralLabel - Description of more than one of the entity type.
45
+ * @param [{number}] count - Number of entities.
46
+ */
47
+ fmtDeleteConfirmation: (entityTypeLabel: string, entityTypePluralLabel?: string | null, count?: number | null) => string;
48
+ /**
49
+ * Returns a message formatted from an error object.
50
+ * @param {error|string} error
51
+ * @returns {string}
52
+ */
53
+ fmtErrorToShow: (error: any) => string;
54
+ /**
55
+ * Returns a message formatted from an exception object.
56
+ * @param {object} exception
57
+ * @returns {string}
58
+ */
59
+ fmtExceptionToShow: (exception: any) => string;
60
+ /**
61
+ * Returns a message for a data error type.
62
+ * @param {string} typeName
63
+ * @returns {string}
64
+ */
65
+ fmtDataError: (typeName: string) => string;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruTextManager, never>;
67
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruTextManager>;
68
+ }
@@ -1,36 +1,36 @@
1
- import { MatDialog } from '@angular/material/dialog';
2
- import { ToastrService } from 'ngx-toastr';
3
- import * as i0 from "@angular/core";
4
- export declare class TruUiNotification {
5
- private toastr;
6
- private dialog;
7
- private _toastr;
8
- private _dialog;
9
- constructor(toastr: ToastrService, dialog: MatDialog);
10
- showMessage: (popup: any, log: (message: string) => void, prefix: string, message: string, detail?: Array<string> | null) => void;
11
- /**
12
- * Shows as toast and logs to server an error message and optional detail information.
13
- * @param {string} message - Displayed as toast.
14
- * @param {string} [detail] - Logged to console.
15
- */
16
- error: (message: string, detail?: Array<string> | null) => void;
17
- /**
18
- * Same as error() but for info message.
19
- */
20
- info: (message: string, detail?: Array<string> | null) => void;
21
- /**
22
- * Same as error() but for success message.
23
- */
24
- success: (message: string, detail?: Array<string> | null) => void;
25
- /**
26
- * Same as error() but for warning message.
27
- */
28
- warning: (message: string, detail?: Array<string> | null) => void;
29
- log: (message: string) => void;
30
- showErrorDialog: (title: string, message: string) => void;
31
- showExportDialog: () => Promise<boolean>;
32
- confirm: (title: string, message: string, displayCancelButton?: boolean, displayConfirmButton?: boolean, cancelButtonName?: string, confirmButtonName?: string) => Promise<boolean>;
33
- changePassword: () => Promise<boolean>;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TruUiNotification, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<TruUiNotification>;
36
- }
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TruUiNotification {
5
+ private toastr;
6
+ private dialog;
7
+ private _toastr;
8
+ private _dialog;
9
+ constructor(toastr: ToastrService, dialog: MatDialog);
10
+ showMessage: (popup: any, log: (message: string) => void, prefix: string, message: string, detail?: Array<string> | null) => void;
11
+ /**
12
+ * Shows as toast and logs to server an error message and optional detail information.
13
+ * @param {string} message - Displayed as toast.
14
+ * @param {string} [detail] - Logged to console.
15
+ */
16
+ error: (message: string, detail?: Array<string> | null) => void;
17
+ /**
18
+ * Same as error() but for info message.
19
+ */
20
+ info: (message: string, detail?: Array<string> | null) => void;
21
+ /**
22
+ * Same as error() but for success message.
23
+ */
24
+ success: (message: string, detail?: Array<string> | null) => void;
25
+ /**
26
+ * Same as error() but for warning message.
27
+ */
28
+ warning: (message: string, detail?: Array<string> | null) => void;
29
+ log: (message: string) => void;
30
+ showErrorDialog: (title: string, message: string) => void;
31
+ showExportDialog: () => Promise<boolean>;
32
+ confirm: (title: string, message: string, displayCancelButton?: boolean, displayConfirmButton?: boolean, cancelButtonName?: string, confirmButtonName?: string) => Promise<boolean>;
33
+ changePassword: () => Promise<boolean>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruUiNotification, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruUiNotification>;
36
+ }
@@ -1,29 +1,29 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TruUser implements ITruUser {
3
- private _ref;
4
- private _username;
5
- private _firstName;
6
- private _lastName;
7
- private _email;
8
- private _roles;
9
- constructor();
10
- get activeUserRef(): number;
11
- get username(): string | null;
12
- get firstName(): string | null;
13
- get lastName(): string | null;
14
- get email(): string | null;
15
- get roles(): string[] | null;
16
- hasRoles: (roles: string[]) => boolean;
17
- create: (user: ITruUser) => void;
18
- destroy: () => void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TruUser, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<TruUser>;
21
- }
22
- export interface ITruUser {
23
- activeUserRef: number;
24
- username: string | null;
25
- firstName: string | null;
26
- lastName: string | null;
27
- email: string | null;
28
- roles: string[] | null;
29
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TruUser implements ITruUser {
3
+ private _ref;
4
+ private _username;
5
+ private _firstName;
6
+ private _lastName;
7
+ private _email;
8
+ private _roles;
9
+ constructor();
10
+ get activeUserRef(): number;
11
+ get username(): string | null;
12
+ get firstName(): string | null;
13
+ get lastName(): string | null;
14
+ get email(): string | null;
15
+ get roles(): string[] | null;
16
+ hasRoles: (roles: string[]) => boolean;
17
+ create: (user: ITruUser) => void;
18
+ destroy: () => void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruUser, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruUser>;
21
+ }
22
+ export interface ITruUser {
23
+ activeUserRef: number;
24
+ username: string | null;
25
+ firstName: string | null;
26
+ lastName: string | null;
27
+ email: string | null;
28
+ roles: string[] | null;
29
+ }