@c8y/ngx-components 1019.6.10 → 1019.7.10

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 (196) hide show
  1. package/api/api.service.d.ts +4 -0
  2. package/api/api.service.d.ts.map +1 -1
  3. package/context-dashboard/device-info-dashboard/device-info-dashboard.component.d.ts +1 -1
  4. package/context-dashboard/device-info-dashboard/device-info-dashboard.component.d.ts.map +1 -1
  5. package/core/action/action.component.d.ts +0 -1
  6. package/core/action/action.component.d.ts.map +1 -1
  7. package/core/action-bar/action-bar-item.component.d.ts +0 -1
  8. package/core/action-bar/action-bar-item.component.d.ts.map +1 -1
  9. package/core/action-bar/action-bar.module.d.ts +0 -1
  10. package/core/action-bar/action-bar.module.d.ts.map +1 -1
  11. package/core/action-bar/action-bar.service.d.ts +0 -2
  12. package/core/action-bar/action-bar.service.d.ts.map +1 -1
  13. package/core/application/app-icon.component.d.ts +5 -1
  14. package/core/application/app-icon.component.d.ts.map +1 -1
  15. package/core/breadcrumb/breadcrumb-item.component.d.ts +13 -0
  16. package/core/breadcrumb/breadcrumb-item.component.d.ts.map +1 -1
  17. package/core/common/ApplicationOptions.d.ts +29 -0
  18. package/core/common/ApplicationOptions.d.ts.map +1 -1
  19. package/core/common/bytes.pipe.d.ts +15 -0
  20. package/core/common/bytes.pipe.d.ts.map +1 -1
  21. package/core/common/date.pipe.d.ts +2 -1
  22. package/core/common/date.pipe.d.ts.map +1 -1
  23. package/core/common/generic-file-icon.pipe.d.ts +0 -1
  24. package/core/common/generic-file-icon.pipe.d.ts.map +1 -1
  25. package/core/common/icon.directive.d.ts +4 -2
  26. package/core/common/icon.directive.d.ts.map +1 -1
  27. package/core/common/if-allowed.directive.d.ts +3 -3
  28. package/core/common/number.pipe.d.ts +2 -1
  29. package/core/common/number.pipe.d.ts.map +1 -1
  30. package/core/common/outlet.directive.d.ts +4 -3
  31. package/core/common/outlet.directive.d.ts.map +1 -1
  32. package/core/common/permissions.service.d.ts +131 -13
  33. package/core/common/permissions.service.d.ts.map +1 -1
  34. package/core/common/ui-state.service.d.ts +7 -0
  35. package/core/common/ui-state.service.d.ts.map +1 -1
  36. package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts.map +1 -1
  37. package/core/data-grid/data-grid.model.d.ts +0 -1
  38. package/core/data-grid/data-grid.model.d.ts.map +1 -1
  39. package/core/device-status/device-status.component.d.ts +2 -1
  40. package/core/device-status/device-status.component.d.ts.map +1 -1
  41. package/core/drop-area/drop-area.component.d.ts +2 -10
  42. package/core/drop-area/drop-area.component.d.ts.map +1 -1
  43. package/core/forms/emails-validator.directive.d.ts +0 -2
  44. package/core/forms/emails-validator.directive.d.ts.map +1 -1
  45. package/core/forms/extract-array-validation-errors.pipe.d.ts +1 -2
  46. package/core/forms/extract-array-validation-errors.pipe.d.ts.map +1 -1
  47. package/core/forms/filter-non-array-validation-errors.pipe.d.ts +0 -1
  48. package/core/forms/filter-non-array-validation-errors.pipe.d.ts.map +1 -1
  49. package/core/forms/form-group.component.d.ts +1 -1
  50. package/core/forms/humanize-validation-message.pipe.d.ts +0 -3
  51. package/core/forms/humanize-validation-message.pipe.d.ts.map +1 -1
  52. package/core/help/help.component.d.ts +0 -1
  53. package/core/help/help.component.d.ts.map +1 -1
  54. package/core/list-group/list-group.component.d.ts +0 -2
  55. package/core/list-group/list-group.component.d.ts.map +1 -1
  56. package/core/list-group/list-group.module.d.ts +0 -1
  57. package/core/list-group/list-group.module.d.ts.map +1 -1
  58. package/core/list-group/list-item-action.component.d.ts +0 -1
  59. package/core/list-group/list-item-action.component.d.ts.map +1 -1
  60. package/core/list-group/list-item-checkbox.component.d.ts +0 -1
  61. package/core/list-group/list-item-checkbox.component.d.ts.map +1 -1
  62. package/core/list-group/list-item-collapse.component.d.ts +0 -1
  63. package/core/list-group/list-item-collapse.component.d.ts.map +1 -1
  64. package/core/list-group/list-item-footer.component.d.ts +0 -1
  65. package/core/list-group/list-item-footer.component.d.ts.map +1 -1
  66. package/core/list-group/list-item-icon.component.d.ts +0 -1
  67. package/core/list-group/list-item-icon.component.d.ts.map +1 -1
  68. package/core/list-group/list-item-radio.component.d.ts +0 -1
  69. package/core/list-group/list-item-radio.component.d.ts.map +1 -1
  70. package/core/list-group/list-item-timeline.component.d.ts +0 -1
  71. package/core/list-group/list-item-timeline.component.d.ts.map +1 -1
  72. package/core/list-group/list-item.component.d.ts +1 -5
  73. package/core/list-group/list-item.component.d.ts.map +1 -1
  74. package/core/modal/modal.component.d.ts +45 -1
  75. package/core/modal/modal.component.d.ts.map +1 -1
  76. package/core/navigator/navigator-node-factory.interface.d.ts +1 -4
  77. package/core/navigator/navigator-node-factory.interface.d.ts.map +1 -1
  78. package/core/navigator/navigator-node-root.d.ts +0 -2
  79. package/core/navigator/navigator-node-root.d.ts.map +1 -1
  80. package/core/navigator/navigator-node.d.ts +8 -10
  81. package/core/navigator/navigator-node.d.ts.map +1 -1
  82. package/core/properties-list/properties-list.component.d.ts +0 -1
  83. package/core/properties-list/properties-list.component.d.ts.map +1 -1
  84. package/core/setup/setup.component.d.ts +3 -1
  85. package/core/setup/setup.component.d.ts.map +1 -1
  86. package/core/stepper/stepper.component.d.ts +2 -4
  87. package/core/stepper/stepper.component.d.ts.map +1 -1
  88. package/esm2022/api/api.service.mjs +5 -1
  89. package/esm2022/context-dashboard/device-info-dashboard/device-info-dashboard.component.mjs +12 -12
  90. package/esm2022/core/action/action.component.mjs +1 -2
  91. package/esm2022/core/action-bar/action-bar-item.component.mjs +1 -2
  92. package/esm2022/core/action-bar/action-bar.module.mjs +1 -2
  93. package/esm2022/core/action-bar/action-bar.service.mjs +1 -3
  94. package/esm2022/core/application/app-icon.component.mjs +2 -1
  95. package/esm2022/core/breadcrumb/breadcrumb-item.component.mjs +1 -1
  96. package/esm2022/core/common/ApplicationOptions.mjs +1 -1
  97. package/esm2022/core/common/bytes.pipe.mjs +3 -4
  98. package/esm2022/core/common/date.pipe.mjs +3 -2
  99. package/esm2022/core/common/generic-file-icon.pipe.mjs +1 -2
  100. package/esm2022/core/common/icon.directive.mjs +5 -3
  101. package/esm2022/core/common/if-allowed.directive.mjs +4 -4
  102. package/esm2022/core/common/number.pipe.mjs +3 -2
  103. package/esm2022/core/common/outlet.directive.mjs +5 -4
  104. package/esm2022/core/common/permissions.service.mjs +134 -16
  105. package/esm2022/core/common/ui-state.service.mjs +8 -1
  106. package/esm2022/core/dashboard/wiget-time-context/widget-time-context.component.mjs +4 -3
  107. package/esm2022/core/data-grid/data-grid.model.mjs +1 -1
  108. package/esm2022/core/device-status/device-status.component.mjs +9 -7
  109. package/esm2022/core/drop-area/drop-area.component.mjs +1 -1
  110. package/esm2022/core/forms/emails-validator.directive.mjs +1 -3
  111. package/esm2022/core/forms/extract-array-validation-errors.pipe.mjs +2 -3
  112. package/esm2022/core/forms/filter-non-array-validation-errors.pipe.mjs +1 -2
  113. package/esm2022/core/forms/form-group.component.mjs +2 -2
  114. package/esm2022/core/forms/humanize-validation-message.pipe.mjs +1 -4
  115. package/esm2022/core/help/help.component.mjs +1 -2
  116. package/esm2022/core/list-group/list-group.component.mjs +1 -2
  117. package/esm2022/core/list-group/list-group.module.mjs +1 -2
  118. package/esm2022/core/list-group/list-item-action.component.mjs +1 -2
  119. package/esm2022/core/list-group/list-item-checkbox.component.mjs +1 -2
  120. package/esm2022/core/list-group/list-item-collapse.component.mjs +1 -2
  121. package/esm2022/core/list-group/list-item-footer.component.mjs +1 -2
  122. package/esm2022/core/list-group/list-item-icon.component.mjs +1 -2
  123. package/esm2022/core/list-group/list-item-radio.component.mjs +1 -2
  124. package/esm2022/core/list-group/list-item-timeline.component.mjs +1 -2
  125. package/esm2022/core/list-group/list-item.component.mjs +2 -3
  126. package/esm2022/core/modal/modal-confirm.component.mjs +3 -3
  127. package/esm2022/core/modal/modal.component.mjs +34 -2
  128. package/esm2022/core/navigator/navigator-node-factory.interface.mjs +1 -1
  129. package/esm2022/core/navigator/navigator-node-root.mjs +1 -3
  130. package/esm2022/core/navigator/navigator-node.mjs +8 -11
  131. package/esm2022/core/properties-list/properties-list.component.mjs +1 -2
  132. package/esm2022/core/search/search-input.component.mjs +1 -1
  133. package/esm2022/core/setup/setup.component.mjs +4 -2
  134. package/esm2022/core/stepper/stepper.component.mjs +2 -3
  135. package/esm2022/data-grid-columns/asset-type/asset-type.cell-renderer.component.mjs +1 -1
  136. package/esm2022/device-grid/columns/status.cell-renderer.component.mjs +1 -1
  137. package/esm2022/device-shell/shell/shell.component.mjs +1 -1
  138. package/esm2022/file-preview/file-preview.component.mjs +1 -2
  139. package/esm2022/operations/bulk-single-operations-list/single-operation-item.component.mjs +1 -1
  140. package/esm2022/protocol-lwm2m/components/configuration/lwm2m-configuration.component.mjs +2 -1
  141. package/esm2022/protocol-lwm2m/components/configuration/typed-forms/connectivity-settings.component.mjs +8 -12
  142. package/esm2022/protocol-lwm2m/components/configuration/typed-forms/single-server-settings.component.mjs +21 -9
  143. package/esm2022/protocol-lwm2m/model/index.mjs +3 -1
  144. package/esm2022/protocol-lwm2m/services/lwm2m-configuration.service.mjs +64 -5
  145. package/esm2022/protocol-opcua/opcua-server-config.component.mjs +1 -1
  146. package/esm2022/protocol-opcua/opcua-server-list.component.mjs +1 -1
  147. package/esm2022/repository/shared/select-modal/repository-select-modal.component.mjs +4 -8
  148. package/esm2022/upgrade/bridge.service.mjs +15 -13
  149. package/esm2022/upgrade/ng1/views.provider.mjs +3 -2
  150. package/fesm2022/c8y-ngx-components-api.mjs +4 -0
  151. package/fesm2022/c8y-ngx-components-api.mjs.map +1 -1
  152. package/fesm2022/c8y-ngx-components-context-dashboard.mjs +10 -10
  153. package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  154. package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs +1 -1
  155. package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs.map +1 -1
  156. package/fesm2022/c8y-ngx-components-data-grid-columns.mjs +1 -1
  157. package/fesm2022/c8y-ngx-components-data-grid-columns.mjs.map +1 -1
  158. package/fesm2022/c8y-ngx-components-device-grid.mjs +1 -1
  159. package/fesm2022/c8y-ngx-components-device-grid.mjs.map +1 -1
  160. package/fesm2022/c8y-ngx-components-device-shell.mjs +1 -1
  161. package/fesm2022/c8y-ngx-components-device-shell.mjs.map +1 -1
  162. package/fesm2022/c8y-ngx-components-file-preview.mjs +0 -1
  163. package/fesm2022/c8y-ngx-components-file-preview.mjs.map +1 -1
  164. package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +1 -1
  165. package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs.map +1 -1
  166. package/fesm2022/c8y-ngx-components-protocol-lwm2m-components-configuration.mjs +31 -23
  167. package/fesm2022/c8y-ngx-components-protocol-lwm2m-components-configuration.mjs.map +1 -1
  168. package/fesm2022/c8y-ngx-components-protocol-lwm2m-model.mjs +2 -0
  169. package/fesm2022/c8y-ngx-components-protocol-lwm2m-model.mjs.map +1 -1
  170. package/fesm2022/c8y-ngx-components-protocol-lwm2m-services.mjs +63 -4
  171. package/fesm2022/c8y-ngx-components-protocol-lwm2m-services.mjs.map +1 -1
  172. package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +2 -2
  173. package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
  174. package/fesm2022/c8y-ngx-components-repository-shared.mjs +3 -7
  175. package/fesm2022/c8y-ngx-components-repository-shared.mjs.map +1 -1
  176. package/fesm2022/c8y-ngx-components-upgrade.mjs +14 -10
  177. package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
  178. package/fesm2022/c8y-ngx-components.mjs +214 -76
  179. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  180. package/file-preview/file-preview.component.d.ts +0 -1
  181. package/file-preview/file-preview.component.d.ts.map +1 -1
  182. package/package.json +1 -1
  183. package/protocol-lwm2m/components/configuration/lwm2m-configuration.component.d.ts.map +1 -1
  184. package/protocol-lwm2m/components/configuration/typed-forms/connectivity-settings.component.d.ts +1 -4
  185. package/protocol-lwm2m/components/configuration/typed-forms/connectivity-settings.component.d.ts.map +1 -1
  186. package/protocol-lwm2m/components/configuration/typed-forms/single-server-settings.component.d.ts +16 -22
  187. package/protocol-lwm2m/components/configuration/typed-forms/single-server-settings.component.d.ts.map +1 -1
  188. package/protocol-lwm2m/model/index.d.ts +11 -1
  189. package/protocol-lwm2m/model/index.d.ts.map +1 -1
  190. package/protocol-lwm2m/services/lwm2m-configuration.service.d.ts +8 -1
  191. package/protocol-lwm2m/services/lwm2m-configuration.service.d.ts.map +1 -1
  192. package/repository/shared/select-modal/repository-select-modal.component.d.ts +7 -8
  193. package/repository/shared/select-modal/repository-select-modal.component.d.ts.map +1 -1
  194. package/upgrade/bridge.service.d.ts +1 -1
  195. package/upgrade/bridge.service.d.ts.map +1 -1
  196. package/upgrade/ng1/views.provider.d.ts.map +1 -1
@@ -27,6 +27,10 @@ export declare class ApiService implements RequestStartAndFinish {
27
27
  hookRequest(hookFilter: (call: ApiCall) => boolean): Observable<ApiCall>;
28
28
  onFinish(call: ApiCall): void;
29
29
  onStart(call: ApiCall): void;
30
+ /**
31
+ * Resolves data from an API call response.
32
+ * @returns A Promise containing an object with resolved data, method, and URL.
33
+ */
30
34
  resolveData<T = unknown>(call: ApiCall): Promise<{
31
35
  data: T;
32
36
  method: string;
@@ -1 +1 @@
1
- {"version":3,"file":"api.service.d.ts","sourceRoot":"","sources":["../../api/api.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAiC,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,UAAU,EAAiB,MAAM,MAAM,CAAC;AAE3E,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AACtD,OAAO,EAGL,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAe,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAEnE,qBAGa,UAAW,YAAW,qBAAqB;IAM1C,OAAO,CAAC,MA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AAmB;IAY3B,OAAO,CAAC,sBAAsB;yCA7HnB,UAAU;6CAAV,UAAU;CA2ItB"}
@@ -1,9 +1,9 @@
1
1
  import { ActivatedRoute } from '@angular/router';
2
+ import { InventoryService } from '@c8y/client';
2
3
  import { ContextData, Widget } from '@c8y/ngx-components';
3
4
  import { TranslateService } from '@ngx-translate/core';
4
5
  import { Subscription } from 'rxjs';
5
6
  import { WidgetService } from '../widget.service';
6
- import { InventoryService } from '@c8y/client';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class DeviceInfoDashboardComponent {
9
9
  private router;
@@ -1 +1 @@
1
- {"version":3,"file":"device-info-dashboard.component.d.ts","sourceRoot":"","sources":["../../../context-dashboard/device-info-dashboard/device-info-dashboard.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAW,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAQ,YAAY,EAAE,MAAM,MAAM,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;;AAE/C,qBAIa,4BAA4B;IAyOrC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,gBAAgB;IA3O1B,SAAS,UAAQ;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,SAAM;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,WAAW,CAAC;IAC5B,mBAAmB,EAAE,YAAY,CAAC;IAClC,mBAAmB,EAAE,YAAY,CAAC;IAElC,mBAAmB,WA6NL;gBAGJ,MAAM,EAAE,cAAc,EACtB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB;IAG5C,QAAQ;IAgCR,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM;IAQhD,0BAA0B,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;IAUvE,WAAW;yCAjSA,4BAA4B;2CAA5B,4BAA4B;CAqSxC"}
1
+ {"version":3,"file":"device-info-dashboard.component.d.ts","sourceRoot":"","sources":["../../../context-dashboard/device-info-dashboard/device-info-dashboard.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAW,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAQ,YAAY,EAAE,MAAM,MAAM,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;AAElD,qBAIa,4BAA4B;IAyOrC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,gBAAgB;IA3O1B,SAAS,UAAQ;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,SAAM;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,WAAW,CAAC;IAC5B,mBAAmB,EAAE,YAAY,CAAC;IAClC,mBAAmB,EAAE,YAAY,CAAC;IAElC,mBAAmB,WA6NL;gBAGJ,MAAM,EAAE,cAAc,EACtB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB;IAG5C,QAAQ;IAgCR,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM;IAQhD,0BAA0B,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;IAUvE,WAAW;yCAjSA,4BAA4B;2CAA5B,4BAA4B;CAqSxC"}
@@ -5,7 +5,6 @@ import * as i0 from "@angular/core";
5
5
  /**
6
6
  * A <c8y-action> can be added with content projection.
7
7
  *
8
- * @example
9
8
  * ```html
10
9
  * <c8y-action>
11
10
  * <button class="btn" (click)="myAction()">My action</button>
@@ -1 +1 @@
1
- {"version":3,"file":"action.component.d.ts","sourceRoot":"","sources":["../../../core/action/action.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,mBAAmB,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAU,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAEjD;;;;;;;;;GASG;AACH,qBAIa,eAAgB,YAAW,kBAAkB;IAoB5C,OAAO,CAAC,aAAa;IAnBjC;;OAEG;IACM,QAAQ,UAAS;IAC1B;;OAEG;IACM,QAAQ,SAAK;IACtB;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IAEoB,QAAQ,EAAE,GAAG,CAAC;IAE/C,QAAQ,EAAE,QAAQ,CAAC;IAE5B,OAAO,CAAC,eAAe,CAAC;gBAEJ,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,mBAAmB;IAIhF;;OAEG;IACH,eAAe;IAIf;;OAEG;IACH,WAAW;yCAlCA,eAAe;2CAAf,eAAe;CAsC3B"}
1
+ {"version":3,"file":"action.component.d.ts","sourceRoot":"","sources":["../../../core/action/action.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,mBAAmB,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAU,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAEjD;;;;;;;;GAQG;AACH,qBAIa,eAAgB,YAAW,kBAAkB;IAqBtD,OAAO,CAAC,aAAa;IApBvB;;OAEG;IACM,QAAQ,UAAS;IAC1B;;OAEG;IACM,QAAQ,SAAK;IACtB;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IAEoB,QAAQ,EAAE,GAAG,CAAC;IAE/C,QAAQ,EAAE,QAAQ,CAAC;IAE5B,OAAO,CAAC,eAAe,CAAC;gBAGd,aAAa,EAAE,aAAa,EACpC,SAAS,EAAE,mBAAmB;IAKhC;;OAEG;IACH,eAAe;IAIf;;OAEG;IACH,WAAW;yCArCA,eAAe;2CAAf,eAAe;CAyC3B"}
@@ -7,7 +7,6 @@ import * as i0 from "@angular/core";
7
7
  * It allows to show items in three positions (left, right
8
8
  * or more).
9
9
  *
10
- * @example
11
10
  * ```html
12
11
  * <c8y-action-bar-item [placement]="'right'">
13
12
  * <button class="btn btn-link" (click)="addRandom()"><i c8yIcon="plus-circle"></i> Add random</button>
@@ -1 +1 @@
1
- {"version":3,"file":"action-bar-item.component.d.ts","sourceRoot":"","sources":["../../../core/action-bar/action-bar-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,mBAAmB,EAEnB,WAAW,EACX,IAAI,EAEJ,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiB,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAExD;;;;;;;;;;;GAWG;AACH,qBAIa,sBAAuB,YAAW,0BAA0B;IA2C3D,OAAO,CAAC,gBAAgB;IA1CpC;;;OAGG;IACM,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAU;IAEvD;;;OAGG;IACM,QAAQ,SAAK;IAEtB;;OAEG;IACM,SAAS,SAAM;IAExB;;OAEG;IACM,QAAQ,EAAE,QAAQ,CAAC;IAE5B;;OAEG;IACM,OAAO,MAAC;IACjB;;;OAGG;IACM,eAAe,MAAC;IAEzB;;OAEG;IACuC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAElF,OAAO,CAAC,eAAe,CAAC;IAExB;;OAEG;gBACiB,gBAAgB,EAAE,gBAAgB,EAAE,SAAS,EAAE,mBAAmB;IAItF;;OAEG;IACH,eAAe;IAIf;;OAEG;IACH,WAAW;yCAzDA,sBAAsB;2CAAtB,sBAAsB;CA6DlC"}
1
+ {"version":3,"file":"action-bar-item.component.d.ts","sourceRoot":"","sources":["../../../core/action-bar/action-bar-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,mBAAmB,EAEnB,WAAW,EACX,IAAI,EAEJ,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiB,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAExD;;;;;;;;;;GAUG;AACH,qBAIa,sBAAuB,YAAW,0BAA0B;IA4CrE,OAAO,CAAC,gBAAgB;IA3C1B;;;OAGG;IACM,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAU;IAEvD;;;OAGG;IACM,QAAQ,SAAK;IAEtB;;OAEG;IACM,SAAS,SAAM;IAExB;;OAEG;IACM,QAAQ,EAAE,QAAQ,CAAC;IAE5B;;OAEG;IACM,OAAO,MAAC;IACjB;;;OAGG;IACM,eAAe,MAAC;IAEzB;;OAEG;IACuC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAElF,OAAO,CAAC,eAAe,CAAC;IAExB;;OAEG;gBAEO,gBAAgB,EAAE,gBAAgB,EAC1C,SAAS,EAAE,mBAAmB;IAKhC;;OAEG;IACH,eAAe;IAIf;;OAEG;IACH,WAAW;yCA5DA,sBAAsB;2CAAtB,sBAAsB;CAgElC"}
@@ -11,7 +11,6 @@ import * as i6 from "@angular/router";
11
11
  * or more). The actions placed here are always local actions to the
12
12
  * current route like "add device" or "lock dashboard".
13
13
  *
14
- * @example
15
14
  * ```html
16
15
  * <c8y-action-bar-item [placement]="'right'">
17
16
  * <button class="btn btn-link" (click)="addRandom()"><i c8yIcon="plus-circle"></i> Add random</button>
@@ -1 +1 @@
1
- {"version":3,"file":"action-bar.module.d.ts","sourceRoot":"","sources":["../../../core/action-bar/action-bar.module.ts"],"names":[],"mappings":";;;;;;;AAQA;;;;;;;;;;;;;;GAcG;AACH,qBAKa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
1
+ {"version":3,"file":"action-bar.module.d.ts","sourceRoot":"","sources":["../../../core/action-bar/action-bar.module.ts"],"names":[],"mappings":";;;;;;;AAQA;;;;;;;;;;;;;GAaG;AACH,qBAKa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
@@ -28,7 +28,6 @@ export type ActionBarExtension = ActionBarItem | ActionBarItem[] | ExtensionFact
28
28
  * A hook to add ActionBarItems using the multi provider extension concept.
29
29
  * Consider using the `hookActionBar` function instead.
30
30
  *
31
- * @example
32
31
  * ```typescript
33
32
  * providers: [
34
33
  * {
@@ -68,7 +67,6 @@ export declare function hookActionBar(items: GenericHookType<ActionBarItem>, opt
68
67
  /**
69
68
  * A service which defines action-bar items via the multi provider concept.
70
69
  *
71
- * @example
72
70
  * ```typescript
73
71
  * // preferred way, multi provider concept:
74
72
  * providers: [
@@ -1 +1 @@
1
- {"version":3,"file":"action-bar.service.d.ts","sourceRoot":"","sources":["../../../core/action-bar/action-bar.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EACL,gBAAgB,EAEhB,eAAe,EAKf,wBAAwB,EACxB,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common/options.service';
3
+ import { IApplication } from '@c8y/client';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AppIconComponent implements OnInit, OnChanges {
5
6
  private options;
7
+ /** Application context path. */
6
8
  contextPath: string;
9
+ /** Application name. */
7
10
  name: string;
8
- app: any;
11
+ /** Application managed object. */
12
+ app: IApplication;
9
13
  model: {
10
14
  appIcon: string;
11
15
  configIcon: string;
@@ -1 +1 @@
1
- {"version":3,"file":"app-icon.component.d.ts","sourceRoot":"","sources":["../../../core/application/app-icon.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;AAE3D,qBAKa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IAoC5C,OAAO,CAAC,OAAO;IAnClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,SAAM;IACV,GAAG,EAAE,GAAG,CAAC;IAElB,KAAK;;;;;;;MAOH;IAEF,OAAO,CAAC,eAAe,CAOrB;IAEF,OAAO,CAAC,KAAK,CAAS;IAEtB,OAAO,CAAC,gBAAgB,CAKtB;IAEF,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,WAAW,CAAe;gBAEd,OAAO,EAAE,cAAc;IAE3C,QAAQ;IAIR,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,SAAS;IAqBjB,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,wBAAwB;IAIhC,OAAO,CAAC,2BAA2B;IAKnC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,4BAA4B;yCAxGzB,gBAAgB;2CAAhB,gBAAgB;CAoH5B"}
1
+ {"version":3,"file":"app-icon.component.d.ts","sourceRoot":"","sources":["../../../core/application/app-icon.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;AAE3C,qBAKa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IAuC5C,OAAO,CAAC,OAAO;IAtC3B,gCAAgC;IACvB,WAAW,EAAE,MAAM,CAAC;IAC7B,wBAAwB;IACf,IAAI,SAAM;IACnB,kCAAkC;IACzB,GAAG,EAAE,YAAY,CAAC;IAE3B,KAAK;;;;;;;MAOH;IAEF,OAAO,CAAC,eAAe,CAOrB;IAEF,OAAO,CAAC,KAAK,CAAS;IAEtB,OAAO,CAAC,gBAAgB,CAKtB;IAEF,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,WAAW,CAAe;gBAEd,OAAO,EAAE,cAAc;IAE3C,QAAQ;IAIR,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,SAAS;IAqBjB,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,wBAAwB;IAIhC,OAAO,CAAC,2BAA2B;IAKnC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,4BAA4B;yCA3GzB,gBAAgB;2CAAhB,gBAAgB;CAuH5B"}
@@ -1,9 +1,22 @@
1
1
  import { EnvironmentInjector, Injector } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BreadcrumbItemComponent {
4
+ /**
5
+ * Icon to display in the breadcrumb item.
6
+ */
4
7
  icon: string;
8
+ /**
9
+ * Determines if the label should be translated. Set to true to enable translation.
10
+ * Translation occurs if translated text is available.
11
+ */
5
12
  translate: boolean;
13
+ /**
14
+ * The label text of the breadcrumb item. This is displayed to the user.
15
+ */
6
16
  label: string;
17
+ /**
18
+ * The navigation path that the breadcrumb item links to.
19
+ */
7
20
  path: string;
8
21
  injector: Injector;
9
22
  template: any;
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb-item.component.d.ts","sourceRoot":"","sources":["../../../core/breadcrumb/breadcrumb-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,mBAAmB,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;;AAE3F,qBAIa,uBAAuB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACc,QAAQ,EAAE,GAAG,CAAC;gBAE5C,SAAS,EAAE,mBAAmB;yCAR/B,uBAAuB;2CAAvB,uBAAuB;CAWnC"}
1
+ {"version":3,"file":"breadcrumb-item.component.d.ts","sourceRoot":"","sources":["../../../core/breadcrumb/breadcrumb-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,mBAAmB,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;;AAE3F,qBAIa,uBAAuB;IAClC;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACM,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACM,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACc,QAAQ,EAAE,GAAG,CAAC;gBAE5C,SAAS,EAAE,mBAAmB;yCArB/B,uBAAuB;2CAAvB,uBAAuB;CAwBnC"}
@@ -191,8 +191,37 @@ export declare class ApplicationOptions implements DevKitApplicationOptions {
191
191
  * Allows to set default configurations on the maps.
192
192
  */
193
193
  mapConfig?: MapDefaultConfig;
194
+ /**
195
+ * The URL used to lookup geo coordinates for a user provided address via [nominatim API](https://nominatim.org/release-docs/develop/api/Search/).
196
+ * Can be set to empty to disable the find address feature on the location tab.
197
+ * Uses: `https://nominatim.openstreetmap.org/search?format=json&q={searchTerm}` if not set.
198
+ */
194
199
  mapNominatimUrl?: string;
200
+ /**
201
+ * The name of the root element. By default c8y-bootstrap.
202
+ */
195
203
  rootTagName?: string;
204
+ /**
205
+ * A matrix of versions indicating which versions of the application (key) are dependent on which version of a cumulocity component (API version and Web SDK version of the shell application currently supported, indicated by the value).
206
+ * The versions of the dependent components can be indicated by a semver range.
207
+ * @example
208
+ * ```json
209
+ * {
210
+ * "1.0.0": {
211
+ * "sdk": ">=1016.0.0 <1017.0.0",
212
+ * "api": ">=1016.0.0 <1017.0.0"
213
+ * },
214
+ * "2.0.0": {
215
+ * "sdk": "~1017.0.0",
216
+ * "api": "~1017.0.0"
217
+ * },
218
+ * "3.0.0": {
219
+ * "sdk": ">=1018.0.0",
220
+ * "api": ">=1018.0.0"
221
+ * },
222
+ * }
223
+ * ```
224
+ */
196
225
  versioningMatrix?: VersioningMatrix;
197
226
  }
198
227
  //# sourceMappingURL=ApplicationOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationOptions.d.ts","sourceRoot":"","sources":["../../../core/common/ApplicationOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,kBAAkB,IAAI,wBAAwB,EAC9C,eAAe,EACf,SAAS,EACT,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,cAAc,EACd,yBAAyB,EACzB,8BAA8B,EAC9B,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAS7B,qBAAa,kBAAmB,YAAW,wBAAwB;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MA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;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC"}
1
+ {"version":3,"file":"ApplicationOptions.d.ts","sourceRoot":"","sources":["../../../core/common/ApplicationOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,kBAAkB,IAAI,wBAAwB,EAC9C,eAAe,EACf,SAAS,EACT,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,cAAc,EACd,yBAAyB,EACzB,8BAA8B,EAC9B,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAS7B,qBAAa,kBAAmB,YAAW,wBAAwB;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gGAAgG;IAChG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uKAAuK;IACvK,aAAa,CAAC,EAAE,M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AO,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC"}
@@ -1,5 +1,20 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * Converts the file size to a readable format.
5
+ * Usage:
6
+ *
7
+ * ```html
8
+ * {{ myData | bytes }} <!-- e.g. 100.1 MB -->
9
+ * ```
10
+ *
11
+ * Default precision is set to 1 decimal place.
12
+ * To change the precision, pass an additional argument to pipe.
13
+
14
+ * ```html
15
+ * {{ myData | bytes: 5 }} <!-- e.g. 100.12345 MB -->
16
+ * ```
17
+ */
3
18
  export declare class BytesPipe implements PipeTransform {
4
19
  static bytes(bytes: number, precision: number): string | number;
5
20
  transform(value: number, precision?: number): string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"bytes.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/bytes.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAmBpD,qBACa,SAAU,YAAW,aAAa;IAC7C,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAe/D,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,GAAG,MAAM;yCAhB7C,SAAS;uCAAT,SAAS;CAmBrB"}
1
+ {"version":3,"file":"bytes.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/bytes.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAGpD;;;;;;;;;;;;;;GAcG;AACH,qBACa,SAAU,YAAW,aAAa;IAC7C,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAe/D,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,GAAG,MAAM;yCAhB7C,SAAS;uCAAT,SAAS;CAmBrB"}
@@ -18,7 +18,8 @@ export declare const ES_MAX_TIME_MILLISECONDS = 8640000000000000;
18
18
  * ```html
19
19
  * <span class="highlight">{{ deadline | c8yDate }}</span> <!-- e.g. 7 May 2020, 17:45:19 (en-GB) or 07.05.2020, 17:45:19 (de) -->
20
20
  * <span>{{ lastUpdated | c8yDate: 'a h:MM:ss' }}</span> <!-- e.g. pm 5:45:19 -->
21
- * <span>{{ 8640000000000000 + 1 | c8yDate }}</span> <!-- e.g. after 13 Sep 275760, 03:00:00 --> ```
21
+ * <span>{{ 8640000000000000 + 1 | c8yDate }}</span> <!-- e.g. after 13 Sep 275760, 03:00:00 -->
22
+ * ```
22
23
  */
23
24
  export declare class DatePipe extends NgDatePipe {
24
25
  private translateService;
@@ -1 +1 @@
1
- {"version":3,"file":"date.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/date.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAGvD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,qBACa,QAAS,SAAQ,UAAU;IAGpC,OAAO,CAAC,gBAAgB;gBADL,MAAM,EAAE,MAAM,EACzB,gBAAgB,EAAE,gBAAgB,EACM,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,EAChC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI;IAKvF,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG;yCAVpE,QAAQ;uCAAR,QAAQ;CAgCpB"}
1
+ {"version":3,"file":"date.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/date.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAGvD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AAEzD;;;;;;;;;;;;;;GAcG;AACH,qBACa,QAAS,SAAQ,UAAU;IAGpC,OAAO,CAAC,gBAAgB;gBADL,MAAM,EAAE,MAAM,EACzB,gBAAgB,EAAE,gBAAgB,EACM,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,EAChC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI;IAKvF,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG;yCAVpE,QAAQ;uCAAR,QAAQ;CAgCpB"}
@@ -7,7 +7,6 @@ import * as i0 from "@angular/core";
7
7
  * document-with-code, file, file-excel-o, file-image-o, pdf-2, file-powerpoint-o,
8
8
  * file-text, file-video-o, file-word-o, file, or unknown.
9
9
  *
10
- * **Example**
11
10
  * ```html
12
11
  * <div *ngFor="let file of droppedFiles">
13
12
  * <i class="icon" [c8yIcon]="file | fileIcon"></i>
@@ -1 +1 @@
1
- {"version":3,"file":"generic-file-icon.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/generic-file-icon.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AAElE;;;;;;;;;;;;GAYG;AACH,qBACa,mBAAoB,YAAW,aAAa;IACpC,YAAY,EAAE,YAAY;gBAA1B,YAAY,EAAE,YAAY;IAE7C,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAK7B,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,iBAAiB,GAAG,SAAS;IAazD,OAAO,CAAC,WAAW,EAAE,iBAAiB,GAAG,SAAS,GAAG,MAAM;IA6B3D,OAAO,CAAC,gBAAgB;yCAlDb,mBAAmB;uCAAnB,mBAAmB;CAsD/B"}
1
+ {"version":3,"file":"generic-file-icon.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/generic-file-icon.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AAElE;;;;;;;;;;;GAWG;AACH,qBACa,mBAAoB,YAAW,aAAa;IACpC,YAAY,EAAE,YAAY;gBAA1B,YAAY,EAAE,YAAY;IAE7C,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAK7B,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,iBAAiB,GAAG,SAAS;IAazD,OAAO,CAAC,WAAW,EAAE,iBAAiB,GAAG,SAAS,GAAG,MAAM;IA6B3D,OAAO,CAAC,gBAAgB;yCAlDb,mBAAmB;uCAAnB,mBAAmB;CAsD/B"}
@@ -2,8 +2,10 @@ import { Renderer2, ElementRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Allows to set a icon. Switches between c8y default icons
5
- * and font awesome icons
6
- * @example <i [c8yIcon]="'clock'">
5
+ * and font awesome icons.
6
+ * ```html
7
+ * <i [c8yIcon]="'clock'">
8
+ * ```
7
9
  */
8
10
  export declare class IconDirective {
9
11
  private el;
@@ -1 +1 @@
1
- {"version":3,"file":"icon.directive.d.ts","sourceRoot":"","sources":["../../../core/common/icon.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAS,UAAU,EAAE,MAAM,eAAe,CAAC;;AAExE;;;;GAIG;AACH,qBAGa,aAAa;IAQZ,OAAO,CAAC,EAAE;IAAc,OAAO,CAAC,QAAQ;IAPpD,IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAEvB;IACD,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,WAAW,CAAe;IAClC,OAAO,CAAC,cAAc,CAAM;gBACR,EAAE,EAAE,UAAU,EAAU,QAAQ,EAAE,SAAS;IAE/D,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,UAAU;IAwBlB,OAAO,CAAC,UAAU;IAmBlB,OAAO,CAAC,4BAA4B;yCA7DzB,aAAa;2CAAb,aAAa;CAoEzB"}
1
+ {"version":3,"file":"icon.directive.d.ts","sourceRoot":"","sources":["../../../core/common/icon.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAS,UAAU,EAAE,MAAM,eAAe,CAAC;;AAExE;;;;;;GAMG;AACH,qBAGa,aAAa;IAUtB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IAVlB,IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAEvB;IACD,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,WAAW,CAAe;IAClC,OAAO,CAAC,cAAc,CAAM;gBAGlB,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS;IAG7B,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,UAAU;IAwBlB,OAAO,CAAC,UAAU;IAmBlB,OAAO,CAAC,4BAA4B;yCAjEzB,aAAa;2CAAb,aAAa;CAwEzB"}
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  * A structural directive that conditionally includes a template only if the user has
6
6
  * all or any of the roles passed as an input. By default the directive checks all roles:
7
7
  *
8
- * ```
8
+ * ```html
9
9
  * <button *c8yIfAllowed="['ROLE_RECORD_DELETE', 'ROLE_ENTRY_DELETE']" (click)="delete()" title="Delete">
10
10
  * Delete
11
11
  * </button>
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
13
13
  *
14
14
  * To check if the user has any of the required roles to view the element you need to use the `allowAny` input:
15
15
  *
16
- * ```
16
+ * ```html
17
17
  * <button *c8yIfAllowed="['ROLE_RECORD_DELETE', 'ROLE_ENTRY_DELETE']; allowAny: true" (click)="delete()" title="Delete">
18
18
  * Delete
19
19
  * </button>
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
21
21
  *
22
22
  * or use the shorter version
23
23
  *
24
- * ```
24
+ * ```html
25
25
  * <button *c8yIfAllowed="['ROLE_RECORD_DELETE', 'ROLE_ENTRY_DELETE']; allowAny" (click)="delete()" title="Delete">
26
26
  * Delete
27
27
  * </button>
@@ -11,7 +11,8 @@ export declare const NUMBER_FORMAT_REGEXP: RegExp;
11
11
  * ```html
12
12
  * <span>{{ 3.45612 | c8yNumber: 'ceil':'1.1-3' }}</span> <!-- 3.457 -->
13
13
  * <span>{{ 3.46 | c8yNumber: 'ceil':'1.3-3' }}</span> <!-- 3.460 -->
14
- * <span>{{ 3.45685 | c8yNumber: 'floor':'1.1-3' }}</span> <!-- 3.456 -->```
14
+ * <span>{{ 3.45685 | c8yNumber: 'floor':'1.1-3' }}</span> <!-- 3.456 -->
15
+ * ```
15
16
  */
16
17
  export declare class NumberPipe extends NgDecimalPipe {
17
18
  constructor(locale: string);
@@ -1 +1 @@
1
- {"version":3,"file":"number.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/number.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAG/D,eAAO,MAAM,oBAAoB,QAAgC,CAAC;AAElE;;;;;;;;;;;GAWG;AACH,qBACa,UAAW,SAAQ,aAAa;gBACZ,MAAM,EAAE,MAAM;IAI7C,SAAS,CACP,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,UAAU,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM,GACd,MAAM,GAAG,IAAI;IAChB,SAAS,CACP,KAAK,EAAE,IAAI,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,UAAU,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM,GACd,IAAI;yCAhBI,UAAU;uCAAV,UAAU;CA+CtB"}
1
+ {"version":3,"file":"number.pipe.d.ts","sourceRoot":"","sources":["../../../core/common/number.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAG/D,eAAO,MAAM,oBAAoB,QAAgC,CAAC;AAElE;;;;;;;;;;;;GAYG;AACH,qBACa,UAAW,SAAQ,aAAa;gBACZ,MAAM,EAAE,MAAM;IAI7C,SAAS,CACP,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,UAAU,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM,GACd,MAAM,GAAG,IAAI;IAChB,SAAS,CACP,KAAK,EAAE,IAAI,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,UAAU,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM,GACd,IAAI;yCAhBI,UAAU;uCAAV,UAAU;CA+CtB"}
@@ -2,11 +2,11 @@ import { ElementRef, Injector, Renderer2, TemplateRef, Type, ViewContainerRef }
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Directive to set a DOM node, a TemplateRef or any Component to a container or any node.
5
- * @example
5
+ * ```html
6
6
  * <div *c8yOutlet="template"></div>
7
7
  * <div *c8yOutlet="DeviceStatusComponent; properties: { node }"></div>
8
8
  * <div *c8yOutlet="nodes"></div>
9
- *
9
+ * ```
10
10
  *
11
11
  * note: If template is instance of HTMLElement (for example, node compiled by angularJS) then there can be
12
12
  * only single instance rendered, as only one instance of HTMLElement can exist in DOM.
@@ -25,10 +25,11 @@ export declare class OutletDirective {
25
25
  constructor(viewContainer: ViewContainerRef, injector: Injector, renderer: Renderer2, el: ElementRef);
26
26
  /**
27
27
  * Directive to set a DOM node, a TemplateRef or any Component to a container or any node.
28
- * @example
28
+ * ```html
29
29
  * <div *c8yOutlet="template"></div>
30
30
  * <div *c8yOutlet="DeviceStatusComponent; properties: { node }"></div>
31
31
  * <div *c8yOutlet="nodes"></div>
32
+ * ```
32
33
  */
33
34
  set c8yOutlet(template: TemplateRef<any> | Type<any> | Element);
34
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"outlet.directive.d.ts","sourceRoot":"","sources":["../../../core/common/outlet.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,QAAQ,EAER,SAAS,EACT,WAAW,EACX,IAAI,EACJ,gBAAgB,EACjB,MAAM,eAAe,CAAC;;AAEvB;;;;;;;;;;;;;GAaG;AACH,qBAGa,eAAe;IAMxB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,QAAQ;IAChB,OAAO,C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,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,EAEtE;IAED;;;OAGG;IACH,IAAa,mBAAmB,CAAC,KAAK,KAAA,EAErC;IAED;;OAEG;IACH,IAAa,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAE7C;IAED;;OAEG;IACH,WAAW,IAAI,IAAI;IAInB;;OAEG;IACH,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,MAAM;IAuCd,OAAO,CAAC,OAAO;yCA5FJ,eAAe;2CAAf,eAAe;CAkG3B"}
@@ -1,6 +1,5 @@
1
+ import { IIdentified, IManagedObject, InventoryService, UserService } from '@c8y/client';
1
2
  import { AppStateService } from './ui-state.service';
2
- import { IIdentified, IManagedObject, InventoryService } from '@c8y/client';
3
- import { UserService } from '@c8y/client';
4
3
  import * as i0 from "@angular/core";
5
4
  export type CanEditConfig = {
6
5
  /**
@@ -89,25 +88,144 @@ export declare class Permissions {
89
88
  static ROLE_USER_MANAGEMENT_READ: string;
90
89
  constructor(appState: AppStateService, inventory: InventoryService, user: UserService);
91
90
  /**
92
- * Checks if the current user has write permissions for the given mo.
91
+ * Checks if the current user has write permissions for the given mo
93
92
  * (either through global role, individual device permissions or via inventory roles).
94
93
  *
95
- * @param roleIds The array of role ids to check if the current user have at least one of them.
96
- * @param {IManagedObject | IIdentified} mo The managed object for which we are checking whether the user has access.
97
- * @param {CanEditConfig} config A configuration object that can take the following values:
98
- * - `skipRolesCheck`: `boolean` - skips roles check,
99
- * - `skipOwnerCheck`: `boolean` - skips ownership check,
100
- * - `skipRequestCheck`: `boolean` - skips checks with a query to the inventory API.
101
- * UI will make a query to backend whether the user can edit the managed object.
102
- * A rejection from BE indicates a lack of permission.
94
+ * ```ts
95
+ * async canEditGroup(group: IManagedObject): Promise<boolean> {
96
+ * return await this.permissions.canEdit(
97
+ * [Permissions.ROLE_INVENTORY_ADMIN, Permissions.ROLE_MANAGED_OBJECT_ADMIN],
98
+ * group
99
+ * );
100
+ * }
101
+ * ```
102
+ *
103
+ * @param roleIds - The array of role ids to check if the current user have at least one of them.
104
+ * @param mo - The managed object for which we are checking whether the user has access.
105
+ * @param config - A configuration object that can take the following values: `skipRolesCheck`: `boolean` - skips roles check, `skipOwnerCheck`: `boolean` - skips ownership check, `skipRequestCheck`: `boolean` - skips checks with a query to the inventory API. UI will make a query to backend whether the user can edit the managed object. A rejection from BE indicates a lack of permission.
106
+ *
107
+ * @returns A Promise resolving to a boolean value. `true` if editing is permitted based on the given parameters and configuration; otherwise, `false`.
108
+ *
103
109
  */
104
110
  canEdit(roleIds: string[], mo: IManagedObject | IIdentified, config?: CanEditConfig): Promise<boolean>;
111
+ /**
112
+ * Checks if the current user has the specified role.
113
+ *
114
+ * ```ts
115
+ * hasSmsReadRole(): boolean {
116
+ * return this.permissions.hasRole(Permissions.ROLE_SMS_READ);
117
+ * };
118
+ * ```
119
+ *
120
+ * @param roleId - The ID of the role to check against the current user's roles.
121
+ * @returns A boolean value indicating whether the current user has the specified role.
122
+ * @throws Error if no user is currently logged in.
123
+ *
124
+ */
105
125
  hasRole(roleId: string): boolean;
126
+ /**
127
+ * Checks if the current user possesses all the specified roles.
128
+ *
129
+ * ```ts
130
+ * hasMOReadAndBinaryReadRoles(): boolean {
131
+ * return this.permissions.hasAllRoles([
132
+ * Permissions.ROLE_MANAGED_OBJECT_READ,
133
+ * Permissions.ROLE_BINARY_READ
134
+ * ]);
135
+ * }
136
+ * ```
137
+ *
138
+ * @param roleIds - An array of strings representing the role IDs to check against the current user's roles.
139
+ * @returns A boolean value indicating whether the current user has all the specified roles.
140
+ * @throws Error if no user is currently logged in.
141
+ *
142
+ */
106
143
  hasAllRoles(roleIds: string[]): boolean;
144
+ /**
145
+ * Checks if the current user possesses any of the specified roles.
146
+ *
147
+ * ```ts
148
+ * hasTenantAdminOrTenantManagementAdminRoles(): boolean {
149
+ * return this.permissions.hasAnyRole([
150
+ * Permissions.ROLE_TENANT_ADMIN,
151
+ * Permissions.ROLE_TENANT_MANAGEMENT_ADMIN
152
+ * ]);
153
+ * };
154
+ * ```
155
+ *
156
+ * @param roleIds - An array of strings representing the role IDs to check against the current user's roles.
157
+ * @returns A boolean value indicating whether the current user has any of the specified roles.
158
+ * @throws Error if no user is currently logged in.
159
+ *
160
+ */
107
161
  hasAnyRole(roleIds: string[]): boolean;
162
+ /**
163
+ * Checks if the current user possesses any of the specified global roles.
164
+ *
165
+ * ```ts
166
+ * hasAnyGlobalRoles(dashboard: ContextDashboardManagedObject): boolean {
167
+ * const globalRolesIds = dashboard?.c8y_Dashboard?.globalRolesIds;
168
+ * return this.permissions.hasAnyGlobalRole(globalRolesIds);
169
+ * }
170
+ * ```
171
+ *
172
+ * @param globalRolesIds - An array of numbers representing the global role IDs to check against the current user's roles.
173
+ * @returns A boolean value indicating whether the current user has any of the specified global roles.
174
+ * @throws Error if no user is currently logged in.
175
+ *
176
+ */
108
177
  hasAnyGlobalRole(globalRolesIds: number[]): boolean;
109
- protected checkIfOwner(mo: any): Promise<boolean>;
110
- protected checkWithRequest(mo: any): Promise<boolean>;
178
+ /**
179
+ * Checks if the current user is the owner of the managed object.
180
+ * Utilizes memoization to cache the result based on the managed object's id,
181
+ * improving performance for subsequent checks of the same object.
182
+ *
183
+ * ```ts
184
+ * const managedObject = { id: '123', owner: 'johnDoe' };
185
+ * this.checkIfOwner(managedObject).then(isOwner => {
186
+ * console.log(isOwner);
187
+ * });
188
+ * ```
189
+ *
190
+ * @param mo - The managed object to check ownership against.
191
+ * @returns A promise that resolves to `true` if the current user is the owner of the managed object, and `false` otherwise.
192
+ *
193
+ */
194
+ protected checkIfOwner(mo: IManagedObject | IIdentified): Promise<boolean>;
195
+ /**
196
+ * Attempts to perform a partial update on a managed object as a means to check for edit permissions.
197
+ * Utilizes memoization to cache the result based on the managed object's id,
198
+ * thereby avoiding unnecessary repeated requests for the same object.
199
+ *
200
+ * This method essentially tests if the current user has permission to update the managed object,
201
+ * serving as an indirect permission check.
202
+ *
203
+ * ```ts
204
+ * const managedObject = { id: '456' };
205
+ * this.checkWithRequest(managedObject).then(hasPermission => {
206
+ * console.log(hasPermission);
207
+ * }).catch(error => {
208
+ * console.error(error);
209
+ * });
210
+ * ```
211
+ *
212
+ * @param mo - The managed object to test edit permissions on.
213
+ * @returns A promise that resolves to `true` if the update request succeeds (indicating edit permissions), and `false` if it fails.
214
+ *
215
+ */
216
+ protected checkWithRequest(mo: IManagedObject | IIdentified): Promise<boolean>;
217
+ /**
218
+ * Checks if the current user has the necessary permissions to edit a managed object.
219
+ * This method considers various conditions to determine editability, including role checks,
220
+ * ownership, and custom request-based checks. Each of these checks can be optionally skipped
221
+ * based on the provided configuration.
222
+ *
223
+ * @param roleIds - An array of role IDs to check against the current user's roles.
224
+ * @param mo - The managed object or an identified resource to check edit permissions for.
225
+ * @param config - Configuration options to customize the checks performed. This includes options to skip role checks, owner checks, or custom request checks.
226
+ * @returns A promise that resolves to `true` if the current user can edit the managed object based on the given conditions, and `false` otherwise.
227
+ *
228
+ */
111
229
  private checkIfCanEdit;
112
230
  static ɵfac: i0.ɵɵFactoryDeclaration<Permissions, never>;
113
231
  static ɵprov: i0.ɵɵInjectableDeclaration<Permissions>;
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.service.d.ts","sourceRoot":"","sources":["../../../core/common/permissions.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG5E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;;AAE1C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,qBACa,WAAW;IAsEpB,OAAO,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B,CAAC,cAAc,EAAE,MAAM,EAAE,GAAG,OAAO;IAQnD;;;;;;;;;;;;;;;OAeG;cAEa,YAAY,CAAC,EAAE,EAAE,cAAc,GAAG,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAMhF;;;;;;;;;;;;;;;;;;;;OAoBG;cAEa,gBAAgB,CAAC,EAAE,EAAE,cAAc,GAAG,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAepF;;;;;;;;;;;OAWG;YACW,cAAc;yCAlRjB,WAAW;6CAAX,WAAW;CAgSvB"}
@@ -11,6 +11,10 @@ export declare class AppStateService extends StateService {
11
11
  private options;
12
12
  private fetchClient;
13
13
  private tenantLoginOptionsService;
14
+ /**
15
+ * Saves the state. Should not be accessible directly. Use map or the getter to access
16
+ * the state. Use functions in the implementation to change the state.
17
+ */
14
18
  state$: BehaviorSubject<any>;
15
19
  currentSupportUserName: BehaviorSubject<string | null>;
16
20
  currentUser: BehaviorSubject<IUser | null>;
@@ -78,6 +82,9 @@ export declare class AppStateService extends StateService {
78
82
  * @returns true if it belongs to the current tenant.
79
83
  */
80
84
  isOwnerOfApplication$(app?: IApplication): Observable<boolean>;
85
+ /**
86
+ * @returns The current contextPath.
87
+ */
81
88
  getCurrentContextPath(): string;
82
89
  protected currentAppsOfUser$(): Observable<IApplication[]>;
83
90
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ui-state.service.d.ts","sourceRoot":"","sources":["../../../core/common/ui-state.service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,KAAK,EACN,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,eAAe,EAAiB,UAAU,EAAM,MAAM,MAAM,CAAC;AAYtE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,y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