@c8y/ngx-components 1021.66.0 → 1021.70.1

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 (207) hide show
  1. package/core/common/bytes.pipe.d.ts +26 -10
  2. package/core/common/bytes.pipe.d.ts.map +1 -1
  3. package/echart/charts.component.d.ts +14 -3
  4. package/echart/charts.component.d.ts.map +1 -1
  5. package/esm2022/core/common/bytes.pipe.mjs +47 -18
  6. package/esm2022/core/data-grid/data-grid.component.mjs +3 -3
  7. package/esm2022/echart/charts.component.mjs +50 -3
  8. package/esm2022/messaging-management/api/model/backlogQuota.mjs +2 -0
  9. package/esm2022/messaging-management/api/model/namespace.mjs +2 -0
  10. package/esm2022/messaging-management/api/model/namespaceDetails.mjs +2 -0
  11. package/esm2022/messaging-management/api/model/namespaceList.mjs +2 -0
  12. package/esm2022/messaging-management/api/model/namespacePolicies.mjs +2 -0
  13. package/esm2022/messaging-management/api/model/namespacePublishers.mjs +2 -0
  14. package/esm2022/messaging-management/api/model/namespaceSubscribers.mjs +2 -0
  15. package/esm2022/messaging-management/api/model/namespaceTopics.mjs +2 -0
  16. package/esm2022/messaging-management/api/model/pageStatistics.mjs +2 -0
  17. package/esm2022/messaging-management/api/model/pageable.mjs +2 -0
  18. package/esm2022/messaging-management/api/model/sortable.mjs +2 -0
  19. package/esm2022/messaging-management/api/model/subscriber.mjs +2 -0
  20. package/esm2022/messaging-management/api/model/subscriberFilters.mjs +2 -0
  21. package/esm2022/messaging-management/api/model/subscriberList.mjs +2 -0
  22. package/esm2022/messaging-management/api/model/subscriberToDelete.mjs +2 -0
  23. package/esm2022/messaging-management/api/model/topic.mjs +2 -0
  24. package/esm2022/messaging-management/api/model/topicDetailFilters.mjs +2 -0
  25. package/esm2022/messaging-management/api/model/topicList.mjs +2 -0
  26. package/esm2022/messaging-management/api/model/topicListFilters.mjs +2 -0
  27. package/esm2022/messaging-management/api/model/topicType.mjs +9 -0
  28. package/esm2022/messaging-management/api/services/messaging-namespaces.service.mjs +83 -0
  29. package/esm2022/messaging-management/api/services/messaging-subscribers.service.mjs +55 -0
  30. package/esm2022/messaging-management/api/services/messaging-topics.service.mjs +48 -0
  31. package/esm2022/messaging-management/c8y-ngx-components-messaging-management.mjs +5 -0
  32. package/esm2022/messaging-management/constants.mjs +4 -0
  33. package/esm2022/messaging-management/index.mjs +2 -0
  34. package/esm2022/messaging-management/messaging/namespace-list/namespace-item/namespace-item-card/namespace-item-card.component.mjs +43 -0
  35. package/esm2022/messaging-management/messaging/namespace-list/namespace-item/namespace-item.component.mjs +36 -0
  36. package/esm2022/messaging-management/messaging/namespace-list/namespace-list.component.mjs +51 -0
  37. package/esm2022/messaging-management/messaging/shared/usage/usage.component.mjs +68 -0
  38. package/esm2022/messaging-management/messaging/topic/topic-list-view.component.mjs +81 -0
  39. package/esm2022/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-data-grid.service.mjs +220 -0
  40. package/esm2022/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-view.component.mjs +137 -0
  41. package/esm2022/messaging-management/messaging/topic/topics-data-grid.service.mjs +113 -0
  42. package/esm2022/messaging-management/messaging-management.guard.mjs +40 -0
  43. package/esm2022/messaging-management/messaging-management.module.mjs +72 -0
  44. package/esm2022/messaging-management/navigator/messaging-navigator-factory.mjs +55 -0
  45. package/esm2022/messaging-management/navigator/topic-details-tab.factory.mjs +33 -0
  46. package/esm2022/messaging-management/utils/backlog-quota-limit.pipe.mjs +32 -0
  47. package/esm2022/messaging-management/utils/namespace-props.mjs +23 -0
  48. package/esm2022/messaging-management/utils/time-to-live.pipe.mjs +122 -0
  49. package/esm2022/operations/device-selector/device-selector.component.mjs +5 -1
  50. package/esm2022/widgets/cockpit/index.mjs +3 -1
  51. package/esm2022/widgets/cockpit-exports/index.mjs +8 -1
  52. package/esm2022/widgets/definitions/index.mjs +2 -1
  53. package/esm2022/widgets/definitions/radial-gauge/c8y-ngx-components-widgets-definitions-radial-gauge.mjs +5 -0
  54. package/esm2022/widgets/definitions/radial-gauge/index.mjs +33 -0
  55. package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.mjs +18 -3
  56. package/esm2022/widgets/implementations/info-gauge/index.mjs +2 -2
  57. package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-config/gauge.model.mjs +295 -0
  58. package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.mjs +141 -11
  59. package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-config/preset-preview/preset-preview.component.mjs +67 -0
  60. package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.mjs +34 -6
  61. package/esm2022/widgets/implementations/info-gauge/info-gauge-widget.module.mjs +9 -4
  62. package/esm2022/widgets/implementations/info-gauge/radial-gauge/radial-gauge.component.mjs +97 -0
  63. package/esm2022/widgets/implementations/info-gauge/radial-gauge/radial-gauge.service.mjs +369 -0
  64. package/fesm2022/c8y-ngx-components-echart.mjs +49 -2
  65. package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
  66. package/fesm2022/c8y-ngx-components-messaging-management.mjs +1225 -0
  67. package/fesm2022/c8y-ngx-components-messaging-management.mjs.map +1 -0
  68. package/fesm2022/c8y-ngx-components-operations-device-selector.mjs +4 -0
  69. package/fesm2022/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
  70. package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs +7 -0
  71. package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs.map +1 -1
  72. package/fesm2022/c8y-ngx-components-widgets-cockpit.mjs +2 -0
  73. package/fesm2022/c8y-ngx-components-widgets-cockpit.mjs.map +1 -1
  74. package/fesm2022/c8y-ngx-components-widgets-definitions-radial-gauge.mjs +40 -0
  75. package/fesm2022/c8y-ngx-components-widgets-definitions-radial-gauge.mjs.map +1 -0
  76. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +1 -0
  77. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
  78. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +17 -2
  79. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
  80. package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs +991 -28
  81. package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs.map +1 -1
  82. package/fesm2022/c8y-ngx-components.mjs +49 -22
  83. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  84. package/locales/de.po +272 -5
  85. package/locales/es.po +271 -4
  86. package/locales/fr.po +272 -5
  87. package/locales/ja_JP.po +272 -5
  88. package/locales/ko.po +271 -4
  89. package/locales/locales.pot +271 -4
  90. package/locales/nl.po +271 -4
  91. package/locales/pl.po +271 -4
  92. package/locales/pt_BR.po +272 -5
  93. package/locales/zh_CN.po +271 -4
  94. package/locales/zh_TW.po +272 -5
  95. package/messaging-management/api/model/backlogQuota.d.ts +14 -0
  96. package/messaging-management/api/model/backlogQuota.d.ts.map +1 -0
  97. package/messaging-management/api/model/namespace.d.ts +13 -0
  98. package/messaging-management/api/model/namespace.d.ts.map +1 -0
  99. package/messaging-management/api/model/namespaceDetails.d.ts +8 -0
  100. package/messaging-management/api/model/namespaceDetails.d.ts.map +1 -0
  101. package/messaging-management/api/model/namespaceList.d.ts +5 -0
  102. package/messaging-management/api/model/namespaceList.d.ts.map +1 -0
  103. package/messaging-management/api/model/namespacePolicies.d.ts +10 -0
  104. package/messaging-management/api/model/namespacePolicies.d.ts.map +1 -0
  105. package/messaging-management/api/model/namespacePublishers.d.ts +4 -0
  106. package/messaging-management/api/model/namespacePublishers.d.ts.map +1 -0
  107. package/messaging-management/api/model/namespaceSubscribers.d.ts +4 -0
  108. package/messaging-management/api/model/namespaceSubscribers.d.ts.map +1 -0
  109. package/messaging-management/api/model/namespaceTopics.d.ts +5 -0
  110. package/messaging-management/api/model/namespaceTopics.d.ts.map +1 -0
  111. package/messaging-management/api/model/pageStatistics.d.ts +12 -0
  112. package/messaging-management/api/model/pageStatistics.d.ts.map +1 -0
  113. package/messaging-management/api/model/pageable.d.ts +8 -0
  114. package/messaging-management/api/model/pageable.d.ts.map +1 -0
  115. package/messaging-management/api/model/sortable.d.ts +6 -0
  116. package/messaging-management/api/model/sortable.d.ts.map +1 -0
  117. package/messaging-management/api/model/subscriber.d.ts +28 -0
  118. package/messaging-management/api/model/subscriber.d.ts.map +1 -0
  119. package/messaging-management/api/model/subscriberFilters.d.ts +13 -0
  120. package/messaging-management/api/model/subscriberFilters.d.ts.map +1 -0
  121. package/messaging-management/api/model/subscriberList.d.ts +7 -0
  122. package/messaging-management/api/model/subscriberList.d.ts.map +1 -0
  123. package/messaging-management/api/model/subscriberToDelete.d.ts +12 -0
  124. package/messaging-management/api/model/subscriberToDelete.d.ts.map +1 -0
  125. package/messaging-management/api/model/topic.d.ts +52 -0
  126. package/messaging-management/api/model/topic.d.ts.map +1 -0
  127. package/messaging-management/api/model/topicDetailFilters.d.ts +9 -0
  128. package/messaging-management/api/model/topicDetailFilters.d.ts.map +1 -0
  129. package/messaging-management/api/model/topicList.d.ts +7 -0
  130. package/messaging-management/api/model/topicList.d.ts.map +1 -0
  131. package/messaging-management/api/model/topicListFilters.d.ts +12 -0
  132. package/messaging-management/api/model/topicListFilters.d.ts.map +1 -0
  133. package/messaging-management/api/model/topicType.d.ts +8 -0
  134. package/messaging-management/api/model/topicType.d.ts.map +1 -0
  135. package/messaging-management/api/services/messaging-namespaces.service.d.ts +52 -0
  136. package/messaging-management/api/services/messaging-namespaces.service.d.ts.map +1 -0
  137. package/messaging-management/api/services/messaging-subscribers.service.d.ts +30 -0
  138. package/messaging-management/api/services/messaging-subscribers.service.d.ts.map +1 -0
  139. package/messaging-management/api/services/messaging-topics.service.d.ts +21 -0
  140. package/messaging-management/api/services/messaging-topics.service.d.ts.map +1 -0
  141. package/messaging-management/c8y-ngx-components-messaging-management.d.ts.map +1 -0
  142. package/messaging-management/constants.d.ts +4 -0
  143. package/messaging-management/constants.d.ts.map +1 -0
  144. package/messaging-management/index.d.ts +2 -0
  145. package/messaging-management/index.d.ts.map +1 -0
  146. package/messaging-management/messaging/namespace-list/namespace-item/namespace-item-card/namespace-item-card.component.d.ts +29 -0
  147. package/messaging-management/messaging/namespace-list/namespace-item/namespace-item-card/namespace-item-card.component.d.ts.map +1 -0
  148. package/messaging-management/messaging/namespace-list/namespace-item/namespace-item.component.d.ts +15 -0
  149. package/messaging-management/messaging/namespace-list/namespace-item/namespace-item.component.d.ts.map +1 -0
  150. package/messaging-management/messaging/namespace-list/namespace-list.component.d.ts +17 -0
  151. package/messaging-management/messaging/namespace-list/namespace-list.component.d.ts.map +1 -0
  152. package/messaging-management/messaging/shared/usage/usage.component.d.ts +40 -0
  153. package/messaging-management/messaging/shared/usage/usage.component.d.ts.map +1 -0
  154. package/messaging-management/messaging/topic/topic-list-view.component.d.ts +38 -0
  155. package/messaging-management/messaging/topic/topic-list-view.component.d.ts.map +1 -0
  156. package/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-data-grid.service.d.ts +21 -0
  157. package/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-data-grid.service.d.ts.map +1 -0
  158. package/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-view.component.d.ts +52 -0
  159. package/messaging-management/messaging/topic/topic-subscribers-view/topic-subscribers-view.component.d.ts.map +1 -0
  160. package/messaging-management/messaging/topic/topics-data-grid.service.d.ts +13 -0
  161. package/messaging-management/messaging/topic/topics-data-grid.service.d.ts.map +1 -0
  162. package/messaging-management/messaging-management.guard.d.ts +12 -0
  163. package/messaging-management/messaging-management.guard.d.ts.map +1 -0
  164. package/messaging-management/messaging-management.module.d.ts +7 -0
  165. package/messaging-management/messaging-management.module.d.ts.map +1 -0
  166. package/messaging-management/navigator/messaging-navigator-factory.d.ts +18 -0
  167. package/messaging-management/navigator/messaging-navigator-factory.d.ts.map +1 -0
  168. package/messaging-management/navigator/topic-details-tab.factory.d.ts +15 -0
  169. package/messaging-management/navigator/topic-details-tab.factory.d.ts.map +1 -0
  170. package/messaging-management/utils/backlog-quota-limit.pipe.d.ts +13 -0
  171. package/messaging-management/utils/backlog-quota-limit.pipe.d.ts.map +1 -0
  172. package/messaging-management/utils/namespace-props.d.ts +10 -0
  173. package/messaging-management/utils/namespace-props.d.ts.map +1 -0
  174. package/messaging-management/utils/time-to-live.pipe.d.ts +16 -0
  175. package/messaging-management/utils/time-to-live.pipe.d.ts.map +1 -0
  176. package/operations/device-selector/device-selector.component.d.ts.map +1 -1
  177. package/package.json +1 -1
  178. package/widgets/cockpit/index.d.ts +29 -0
  179. package/widgets/cockpit/index.d.ts.map +1 -1
  180. package/widgets/cockpit-exports/index.d.ts +6 -0
  181. package/widgets/cockpit-exports/index.d.ts.map +1 -1
  182. package/widgets/definitions/index.d.ts +1 -0
  183. package/widgets/definitions/index.d.ts.map +1 -1
  184. package/widgets/definitions/radial-gauge/c8y-ngx-components-widgets-definitions-radial-gauge.d.ts.map +1 -0
  185. package/widgets/definitions/radial-gauge/index.d.ts +33 -0
  186. package/widgets/definitions/radial-gauge/index.d.ts.map +1 -0
  187. package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts +2 -0
  188. package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts.map +1 -1
  189. package/widgets/implementations/info-gauge/index.d.ts +1 -1
  190. package/widgets/implementations/info-gauge/index.d.ts.map +1 -1
  191. package/widgets/implementations/info-gauge/info-gauge-widget-config/gauge.model.d.ts +339 -0
  192. package/widgets/implementations/info-gauge/info-gauge-widget-config/gauge.model.d.ts.map +1 -0
  193. package/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.d.ts +27 -7
  194. package/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.d.ts.map +1 -1
  195. package/widgets/implementations/info-gauge/info-gauge-widget-config/preset-preview/preset-preview.component.d.ts +33 -0
  196. package/widgets/implementations/info-gauge/info-gauge-widget-config/preset-preview/preset-preview.component.d.ts.map +1 -0
  197. package/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.d.ts +7 -3
  198. package/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.d.ts.map +1 -1
  199. package/widgets/implementations/info-gauge/info-gauge-widget.module.d.ts +2 -1
  200. package/widgets/implementations/info-gauge/info-gauge-widget.module.d.ts.map +1 -1
  201. package/widgets/implementations/info-gauge/radial-gauge/radial-gauge.component.d.ts +37 -0
  202. package/widgets/implementations/info-gauge/radial-gauge/radial-gauge.component.d.ts.map +1 -0
  203. package/widgets/implementations/info-gauge/radial-gauge/radial-gauge.service.d.ts +146 -0
  204. package/widgets/implementations/info-gauge/radial-gauge/radial-gauge.service.d.ts.map +1 -0
  205. package/esm2022/widgets/implementations/info-gauge/info-gauge.model.mjs +0 -2
  206. package/widgets/implementations/info-gauge/info-gauge.model.d.ts +0 -7
  207. package/widgets/implementations/info-gauge/info-gauge.model.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaceDetails.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespaceDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,IAAI,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,CAAC,EAAE,0BAA0B,CAAC;CACvC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { MessagingNamespace } from './namespace';
2
+ export interface MessagingNamespaceList {
3
+ namespaces?: MessagingNamespace[];
4
+ }
5
+ //# sourceMappingURL=namespaceList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaceList.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespaceList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACnC"}
@@ -0,0 +1,10 @@
1
+ import { MessagingNamespaceBacklogQuota } from './backlogQuota';
2
+ export interface MessagingNamespacePolicies {
3
+ backlogQuota?: MessagingNamespaceBacklogQuota;
4
+ /**
5
+ * Message time-to-live value in seconds. Defines the amount of time a message is allowed to stay unacknowledged.
6
+ * For more, see https://pulsar.apache.org/docs/next/cookbooks-retention-expiry/#time-to-live-ttl
7
+ */
8
+ messageTTL?: number;
9
+ }
10
+ //# sourceMappingURL=namespacePolicies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespacePolicies.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespacePolicies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAEhE,MAAM,WAAW,0BAA0B;IACzC,YAAY,CAAC,EAAE,8BAA8B,CAAC;IAC9C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,4 @@
1
+ export interface MessagingNamespacePublishers {
2
+ count?: number;
3
+ }
4
+ //# sourceMappingURL=namespacePublishers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespacePublishers.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespacePublishers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,4 @@
1
+ export interface MessagingNamespaceSubscribers {
2
+ count?: number;
3
+ }
4
+ //# sourceMappingURL=namespaceSubscribers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaceSubscribers.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespaceSubscribers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,5 @@
1
+ export interface MessagingNamespaceTopics {
2
+ count?: number;
3
+ limit?: number;
4
+ }
5
+ //# sourceMappingURL=namespaceTopics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaceTopics.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/namespaceTopics.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,12 @@
1
+ /** Pagination statistics. */
2
+ export type PageStatistics = {
3
+ /** The current page number. */
4
+ currentPage?: number;
5
+ /** The number of items per page. */
6
+ pageSize?: number;
7
+ /** The total number of pages. */
8
+ totalPages?: number;
9
+ /** The total number of elements. */
10
+ totalElements?: number;
11
+ };
12
+ //# sourceMappingURL=pageStatistics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageStatistics.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/pageStatistics.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,MAAM,MAAM,cAAc,GAAG;IAC3B,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /** Paging query parameters. */
2
+ export type Pageable = {
3
+ /** Maximum number of items returned in response. */
4
+ pageSize?: number;
5
+ /** Current page number. */
6
+ currentPage?: number;
7
+ };
8
+ //# sourceMappingURL=pageable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageable.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/pageable.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,MAAM,MAAM,QAAQ,GAAG;IACrB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /** Sorting query parameters. */
2
+ export type Sortable = {
3
+ /** Sort description in format `field,direction`. Direction can be `asc` or `desc`. */
4
+ sort?: string;
5
+ };
6
+ //# sourceMappingURL=sortable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortable.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/sortable.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,MAAM,MAAM,QAAQ,GAAG;IACrB,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,28 @@
1
+ export interface MessagingSubscriber {
2
+ /**
3
+ * Name of subscription
4
+ */
5
+ name?: string;
6
+ /**
7
+ * Number of active clients subscribe using this subscription
8
+ */
9
+ activeClients?: number;
10
+ /**
11
+ * Number of messages consumed and acknowledged per second
12
+ */
13
+ messageAckRate?: number;
14
+ /**
15
+ * Number of messages in the subscription to be consumed
16
+ */
17
+ msgBacklog?: number;
18
+ /**
19
+ * Timestamp of the last acknowledged message
20
+ */
21
+ lastAcknowledgeTimestamp?: string;
22
+ /**
23
+ * Percentage of the backlog used. Value range is from 0 to 100.
24
+ * E.g. if 10% of the backlog is used, this value will be 10 (not 0.1).
25
+ */
26
+ backlogUsagePercentage?: number;
27
+ }
28
+ //# sourceMappingURL=subscriber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriber.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/subscriber.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAElC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC"}
@@ -0,0 +1,13 @@
1
+ import { Pageable } from './pageable';
2
+ import { Sortable } from './sortable';
3
+ import { MessagingTopicType } from './topicType';
4
+ /** Filters for subscribers list. */
5
+ export type MessagingSubscriberFilters = {
6
+ tenant: string;
7
+ namespace: string;
8
+ topic: string;
9
+ type: MessagingTopicType;
10
+ /** Subscriber name or a part of the name. Search will be done by applying the regex like `.*givenName.*`. */
11
+ name?: string;
12
+ } & Pageable & Sortable;
13
+ //# sourceMappingURL=subscriberFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberFilters.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/subscriberFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,oCAAoC;AACpC,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;IACzB,6GAA6G;IAC7G,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,QAAQ,GACV,QAAQ,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { PageStatistics } from './pageStatistics';
2
+ import { MessagingSubscriber } from './subscriber';
3
+ export interface MessagingSubscriberList {
4
+ subscribers?: MessagingSubscriber[];
5
+ pageStatistics?: PageStatistics;
6
+ }
7
+ //# sourceMappingURL=subscriberList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberList.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/subscriberList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACpC,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC"}
@@ -0,0 +1,12 @@
1
+ import { MessagingSubscriber } from './subscriber';
2
+ import { MessagingTopicType } from './topicType';
3
+ /**
4
+ * Data necessary for deleting a subscriber.
5
+ */
6
+ export type MessagingSubscriberToDelete = MessagingSubscriber & {
7
+ tenant: string;
8
+ namespace: string;
9
+ topic: string;
10
+ type: MessagingTopicType;
11
+ };
12
+ //# sourceMappingURL=subscriberToDelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberToDelete.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/subscriberToDelete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,52 @@
1
+ export interface MessagingTopic {
2
+ /**
3
+ * Unique topic identifier.
4
+ */
5
+ id?: string;
6
+ /**
7
+ * Tenant ID.
8
+ */
9
+ tenant?: string;
10
+ /**
11
+ * User-friendly topic name.
12
+ */
13
+ name?: string;
14
+ /**
15
+ * Namespace name that the topic belongs to.
16
+ */
17
+ namespace?: string;
18
+ /**
19
+ * If the topic is persistent or not. If false, the topic is not saved and will be deleted if there are no clients.
20
+ */
21
+ persistent?: boolean;
22
+ /**
23
+ * Total rate of messages published on the topic (msg/s).
24
+ */
25
+ msgRateIn?: number;
26
+ /**
27
+ * Total rate of messages dispatched for the topic (msg/s).
28
+ */
29
+ msgRateOut?: number;
30
+ /**
31
+ * Number of all subscribers for the topic.
32
+ */
33
+ subscribers?: number;
34
+ /**
35
+ * Number of currently active subscribers, meaning the ones with at least one client connected.
36
+ */
37
+ activeSubscribers?: number;
38
+ /**
39
+ * Size of the messages backlog in bytes.
40
+ */
41
+ backlogSize?: number;
42
+ /**
43
+ * Percentage of the backlog used. Value range is from o to 100.
44
+ * E.g. if 10% of the backlog is used, this value will be 10 (not 0.1).
45
+ */
46
+ backlogUsagePercentage?: number;
47
+ /**
48
+ * Number of unacknowledged messages in the backlog for topic for all subscribers.
49
+ */
50
+ unackMsgBacklog?: number;
51
+ }
52
+ //# sourceMappingURL=topic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/topic.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,9 @@
1
+ import { MessagingTopicType } from './topicType';
2
+ /** Filters for topics list. */
3
+ export type MessagingTopicDetailFilters = {
4
+ tenant: string;
5
+ namespace: string;
6
+ topic: string;
7
+ type: MessagingTopicType;
8
+ };
9
+ //# sourceMappingURL=topicDetailFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicDetailFilters.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/topicDetailFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,+BAA+B;AAC/B,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { PageStatistics } from './pageStatistics';
2
+ import { MessagingTopic } from './topic';
3
+ export interface MessagingTopicList {
4
+ topics?: MessagingTopic[];
5
+ pageStatistics?: PageStatistics;
6
+ }
7
+ //# sourceMappingURL=topicList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicList.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/topicList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC"}
@@ -0,0 +1,12 @@
1
+ import { Pageable } from './pageable';
2
+ import { Sortable } from './sortable';
3
+ /** Filters for topics list. */
4
+ export type MessagingTopicListFilters = {
5
+ tenant: string;
6
+ namespace: string;
7
+ /** Topic name or a part of the name. Search will be done by applying the regex like `.*givenName.*`. */
8
+ name?: string;
9
+ /** Value for type query param which could be "persistent", "non-persistent" or "all". */
10
+ type?: 'persistent' | 'non-persistent' | 'all';
11
+ } & Pageable & Sortable;
12
+ //# sourceMappingURL=topicListFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicListFilters.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/topicListFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,+BAA+B;AAC/B,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,wGAAwG;IACxG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,IAAI,CAAC,EAAE,YAAY,GAAG,gBAAgB,GAAG,KAAK,CAAC;CAChD,GAAG,QAAQ,GACV,QAAQ,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * If the topic is persistent or not. If false, the topic is not saved and will be deleted if there are no clients.
3
+ */
4
+ export declare enum MessagingTopicType {
5
+ Persistent = "persistent",
6
+ NonPersistent = "non-persistent"
7
+ }
8
+ //# sourceMappingURL=topicType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicType.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/model/topicType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,UAAU,eAAe;IACzB,aAAa,mBAAmB;CACjC"}
@@ -0,0 +1,52 @@
1
+ import { MessagingNamespaceList } from '../model/namespaceList';
2
+ import { MessagingNamespacePolicies } from '../model/namespacePolicies';
3
+ import { MessagingNamespace } from '../model/namespace';
4
+ import { FetchClient, Service } from '@c8y/client';
5
+ import { MessagingNamespaceDetails } from '../model/namespaceDetails';
6
+ import * as i0 from "@angular/core";
7
+ export declare class MessagingNamespacesService extends Service<any> {
8
+ protected baseUrl: string;
9
+ protected listUrl: string;
10
+ private alertService;
11
+ constructor(client: FetchClient);
12
+ /**
13
+ * Get namespace list for a tenant
14
+ *
15
+ * @param tenant Tenant id
16
+ * @return Namespaces list
17
+ */
18
+ getNamespaces(tenant: string): Promise<MessagingNamespaceList>;
19
+ /**
20
+ * Get namespace.
21
+ *
22
+ * @param tenant Tenant ID.
23
+ * @param namespace Name of namespace.
24
+ * @return Namespace.
25
+ */
26
+ getNamespace(tenant: string, namespace: string): Promise<MessagingNamespace>;
27
+ /**
28
+ * Get namespace policies
29
+ *
30
+ * @param tenant Tenant id
31
+ * @param namespace Name of namespace
32
+ * @return Namespaces policies
33
+ */
34
+ getNamespacePolicies(tenant: string, namespace: string): Promise<MessagingNamespacePolicies>;
35
+ /**
36
+ * Get single namespace details
37
+ * @param tenant Tenant ID
38
+ * @param namespaceName Namespace name
39
+ * @return Namespace with details
40
+ */
41
+ getNamespaceDetails(tenant: string, namespaceName: string): Promise<MessagingNamespaceDetails>;
42
+ /**
43
+ * Get namespaces with details
44
+ *
45
+ * @param tenant Tenant ID
46
+ * @return Namespaces with details
47
+ */
48
+ getNamespacesDetails(tenant: string): Promise<MessagingNamespaceDetails[]>;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagingNamespacesService, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessagingNamespacesService>;
51
+ }
52
+ //# sourceMappingURL=messaging-namespaces.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messaging-namespaces.service.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/services/messaging-namespaces.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;;AAGtE,qBACa,0BAA2B,SAAQ,OAAO,CAAC,GAAG,CAAC;IAC1D,SAAS,CAAC,OAAO,SAAmC;IACpD,SAAS,CAAC,OAAO,SAAa;IAE9B,OAAO,CAAC,YAAY,CAAwB;gBAEhC,MAAM,EAAE,WAAW;IAI/B;;;;;OAKG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKpE;;;;;;OAMG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAKlF;;;;;;OAMG;IACG,oBAAoB,CACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,0BAA0B,CAAC;IAKtC;;;;;OAKG;IACG,mBAAmB,CACvB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,yBAAyB,CAAC;IAUrC;;;;;OAKG;IACG,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC;yCAzErE,0BAA0B;6CAA1B,0BAA0B;CAoFtC"}
@@ -0,0 +1,30 @@
1
+ import { FetchClient, Paging, Service } from '@c8y/client';
2
+ import { MessagingSubscriberList } from '../model/subscriberList';
3
+ import { MessagingSubscriber } from '../model/subscriber';
4
+ import { MessagingSubscriberFilters } from '../model/subscriberFilters';
5
+ import { MessagingSubscriberToDelete } from '../model/subscriberToDelete';
6
+ import * as i0 from "@angular/core";
7
+ export declare class MessagingSubscribersService extends Service<MessagingSubscriber> {
8
+ protected baseUrl: string;
9
+ protected listUrl: string;
10
+ constructor(client: FetchClient);
11
+ /**
12
+ * Get the list of subscribers for a topic.
13
+ *
14
+ * @param filter Subscriber filters.
15
+ */
16
+ list(filter: MessagingSubscriberFilters): Promise<{
17
+ res: import("@c8y/client").IFetchResponse;
18
+ data: MessagingSubscriber[];
19
+ paging: Paging<MessagingSubscriber>;
20
+ }>;
21
+ delete(subscriberToDelete: MessagingSubscriberToDelete): Promise<{
22
+ res: import("@c8y/client").IFetchResponse;
23
+ data: any;
24
+ }>;
25
+ protected getPaging(json: MessagingSubscriberList, filter: object): Paging<MessagingSubscriber>;
26
+ private getBaseUrl;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagingSubscribersService, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessagingSubscribersService>;
29
+ }
30
+ //# sourceMappingURL=messaging-subscribers.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messaging-subscribers.service.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/services/messaging-subscribers.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;;AAI1E,qBACa,2BAA4B,SAAQ,OAAO,CAAC,mBAAmB,CAAC;IAC3E,SAAS,CAAC,OAAO,SAAmC;IACpD,SAAS,CAAC,OAAO,SAAa;gBAElB,MAAM,EAAE,WAAW;IAI/B;;;;OAIG;IACG,IAAI,CAAC,MAAM,EAAE,0BAA0B;;;;;IAWvC,MAAM,CAAC,kBAAkB,EAAE,2BAA2B;;;;IAO5D,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAa/F,OAAO,CAAC,UAAU;yCA5CP,2BAA2B;6CAA3B,2BAA2B;CAyDvC"}
@@ -0,0 +1,21 @@
1
+ import { FetchClient, IResult, Paging, Service } from '@c8y/client';
2
+ import { MessagingTopicList } from '../model/topicList';
3
+ import { MessagingTopicListFilters } from '../model/topicListFilters';
4
+ import { MessagingTopic } from '../model/topic';
5
+ import { MessagingTopicDetailFilters } from '../model/topicDetailFilters';
6
+ import * as i0 from "@angular/core";
7
+ export declare class MessagingTopicsService extends Service<MessagingTopic> {
8
+ protected baseUrl: string;
9
+ protected listUrl: string;
10
+ constructor(client: FetchClient);
11
+ list(filter: MessagingTopicListFilters): Promise<{
12
+ res: import("@c8y/client").IFetchResponse;
13
+ data: MessagingTopic[];
14
+ paging: Paging<MessagingTopic>;
15
+ }>;
16
+ detail(filter: MessagingTopicDetailFilters): Promise<IResult<MessagingTopic>>;
17
+ protected getPaging(topicList: MessagingTopicList, filter: MessagingTopicListFilters): Paging<MessagingTopic>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagingTopicsService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessagingTopicsService>;
20
+ }
21
+ //# sourceMappingURL=messaging-topics.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messaging-topics.service.d.ts","sourceRoot":"","sources":["../../../../messaging-management/api/services/messaging-topics.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;;AAE1E,qBACa,sBAAuB,SAAQ,OAAO,CAAC,cAAc,CAAC;IACjE,SAAS,CAAC,OAAO,SAAmC;IACpD,SAAS,CAAC,OAAO,SAAa;gBAElB,MAAM,EAAE,WAAW;IAIzB,IAAI,CAAC,MAAM,EAAE,yBAAyB;;;;;IAWtC,MAAM,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IASnF,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,kBAAkB,EAC7B,MAAM,EAAE,yBAAyB,GAChC,MAAM,CAAC,cAAc,CAAC;yCA/Bd,sBAAsB;6CAAtB,sBAAsB;CA2ClC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"c8y-ngx-components-messaging-management.d.ts","sourceRoot":"","sources":["../../messaging-management/c8y-ngx-components-messaging-management.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const basePath = "monitoring/messaging-service";
2
+ export declare const MESSAGING_MANAGEMENT_FEATURE_KEY = "messaging-management.api";
3
+ export declare const MESSAGING_MANAGEMENT_MICROSERVICE_NAME = "messaging-management";
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../messaging-management/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AACvD,eAAO,MAAM,gCAAgC,6BAA6B,CAAC;AAC3E,eAAO,MAAM,sCAAsC,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './messaging-management.module';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../messaging-management/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as i0 from "@angular/core";
2
+ declare const DataType: {
3
+ readonly publishers: "publishers";
4
+ readonly subscribers: "subscribers";
5
+ readonly topics: "topics";
6
+ };
7
+ export declare class NamespaceItemCardComponent {
8
+ readonly DATA_TYPE: {
9
+ readonly publishers: "publishers";
10
+ readonly subscribers: "subscribers";
11
+ readonly topics: "topics";
12
+ };
13
+ readonly ITEM_DETAILS: Record<keyof typeof DataType, {
14
+ icon: string;
15
+ title: string;
16
+ }>;
17
+ topicsLimitLabel: "Limit: {{ backlogQuotaLimit }}";
18
+ /**
19
+ * The label of the service (already translated).
20
+ */
21
+ serviceLabel: string;
22
+ limit?: number;
23
+ dataType: keyof typeof DataType;
24
+ value: number | undefined;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<NamespaceItemCardComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamespaceItemCardComponent, "app-namespace-item-card", never, { "serviceLabel": { "alias": "serviceLabel"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "dataType": { "alias": "dataType"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
28
+ export {};
29
+ //# sourceMappingURL=namespace-item-card.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace-item-card.component.d.ts","sourceRoot":"","sources":["../../../../../../messaging-management/messaging/namespace-list/namespace-item/namespace-item-card/namespace-item-card.component.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,QAAQ;;;;CAIJ,CAAC;AAEX,qBAOa,0BAA0B;IACrC,QAAQ,CAAC,SAAS;;;;MAAY;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,OAAO,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAI1E;IACX,gBAAgB,mCAA6C;IAE7D;;OAEG;IACM,YAAY,SAAM;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;IAChC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;yCAfxB,0BAA0B;2CAA1B,0BAA0B;CAgBtC"}
@@ -0,0 +1,15 @@
1
+ import { MessagingNamespace } from '../../../api/model/namespace';
2
+ import { MessagingNamespacePolicies } from '../../../api/model/namespacePolicies';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NamespaceItemComponent {
5
+ private translateService;
6
+ set _namespaceName(name: string);
7
+ namespaceName: string;
8
+ namespaceLabel: string;
9
+ icon: string;
10
+ namespace: MessagingNamespace;
11
+ policies: MessagingNamespacePolicies;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<NamespaceItemComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamespaceItemComponent, "app-namespace-item", never, { "_namespaceName": { "alias": "namespaceName"; "required": false; }; "namespace": { "alias": "namespace"; "required": false; }; "policies": { "alias": "policies"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
15
+ //# sourceMappingURL=namespace-item.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace-item.component.d.ts","sourceRoot":"","sources":["../../../../../messaging-management/messaging/namespace-list/namespace-item/namespace-item.component.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;;AAGlF,qBAMa,sBAAsB;IACjC,OAAO,CAAC,gBAAgB,CAA4B;IAEpD,IACI,cAAc,CAAC,IAAI,EAAE,MAAM,EAI9B;IACD,aAAa,SAAM;IACnB,cAAc,SAAM;IACpB,IAAI,SAAM;IAED,SAAS,EAAE,kBAAkB,CAAM;IACnC,QAAQ,EAAE,0BAA0B,CAAM;yCAdxC,sBAAsB;2CAAtB,sBAAsB;CAelC"}
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AlertService, AppStateService } from '@c8y/ngx-components';
3
+ import { MessagingNamespacesService } from '../../api/services/messaging-namespaces.service';
4
+ import { MessagingNamespaceDetails } from '../../api/model/namespaceDetails';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NamespaceListComponent implements OnInit {
7
+ alertService: AlertService;
8
+ appState: AppStateService;
9
+ namespacesService: MessagingNamespacesService;
10
+ namespacesDetails: MessagingNamespaceDetails[];
11
+ loading: boolean;
12
+ ngOnInit(): Promise<void>;
13
+ reload(): Promise<void>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NamespaceListComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamespaceListComponent, "app-namespace-list", never, {}, {}, never, never, true, never>;
16
+ }
17
+ //# sourceMappingURL=namespace-list.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace-list.component.d.ts","sourceRoot":"","sources":["../../../../messaging-management/messaging/namespace-list/namespace-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAEL,YAAY,EACZ,eAAe,EAOhB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;;AAE7E,qBAiBa,sBAAuB,YAAW,MAAM;IACnD,YAAY,eAAwB;IACpC,QAAQ,kBAA2B;IACnC,iBAAiB,6BAAsC;IAEvD,iBAAiB,EAAE,yBAAyB,EAAE,CAAC;IAC/C,OAAO,UAAQ;IAET,QAAQ;IAIR,MAAM;yCAZD,sBAAsB;2CAAtB,sBAAsB;CAuBlC"}
@@ -0,0 +1,40 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Usage component displays usage information in a form of e.g. "51% used".
4
+ * It can be used in two ways:
5
+ * 1. By providing `count` and `limit` inputs, it will calculate the usage percentage.
6
+ * 2. By providing `percentage` input, it will use the provided percentage value.
7
+ * Note: `percentage` input takes precedence over `count` and `limit` inputs.
8
+ */
9
+ export declare class UsageComponent {
10
+ count: import("@angular/core").InputSignal<number>;
11
+ limit: import("@angular/core").InputSignal<number>;
12
+ /**
13
+ * Percentage of usage. Value range is from 0 to 100 (or more).
14
+ * For example, if 10% is used, this value should be provided as 10 (not 0.1).
15
+ */
16
+ percentage: import("@angular/core").InputSignal<number>;
17
+ /**
18
+ * Usage as a fraction (e.g. if 50% is used, usage value will be 0.5)
19
+ */
20
+ usage: import("@angular/core").Signal<number>;
21
+ status: import("@angular/core").Signal<"warning" | "success" | "danger">;
22
+ usageToDisplay: "{{ percentageOfQuota }} used";
23
+ statusMap: {
24
+ danger: string[];
25
+ warning: string[];
26
+ success: string[];
27
+ };
28
+ /**
29
+ * Get usage as fraction of count and limit.
30
+ * E.g. if count is 5 and limit is 10, returned usage will be 0.5
31
+ * @param count Usage count
32
+ * @param limit Usage limit
33
+ * @returns Count divided by limit or null if count or limit is null or limit is -1 (indicates no limit)
34
+ */
35
+ private getUsage;
36
+ private getStatus;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsageComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<UsageComponent, "app-usage", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "limit": { "alias": "limit"; "required": false; "isSignal": true; }; "percentage": { "alias": "percentage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
39
+ }
40
+ //# sourceMappingURL=usage.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.component.d.ts","sourceRoot":"","sources":["../../../../../messaging-management/messaging/shared/usage/usage.component.ts"],"names":[],"mappings":";AAIA;;;;;;GAMG;AACH,qBAOa,cAAc;IACzB,KAAK,8CAA8B;IACnC,KAAK,8CAA8B;IACnC;;;OAGG;IACH,UAAU,8CAA8B;IAExC;;OAEG;IACH,KAAK,yCAEH;IACF,MAAM,mEAAgD;IACtD,cAAc,iCAA2C;IAEzD,SAAS;;;;MAIP;IAEF;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,SAAS;yCAtCN,cAAc;2CAAd,cAAc;CAoD1B"}
@@ -0,0 +1,38 @@
1
+ import { AfterViewInit, DestroyRef, EventEmitter } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { AppStateService, Column, DataSourceModifier, Pagination, ServerSideDataCallback, ServerSideDataResult } from '@c8y/ngx-components';
4
+ import { MessagingNamespacesService } from '../../api/services/messaging-namespaces.service';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { TopicsDataGridService } from './topics-data-grid.service';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TopicListViewComponent implements AfterViewInit {
10
+ route: ActivatedRoute;
11
+ appState: AppStateService;
12
+ namespacesService: MessagingNamespacesService;
13
+ topicsDataGridService: TopicsDataGridService;
14
+ translateService: TranslateService;
15
+ destroyRef: DestroyRef;
16
+ loading$: BehaviorSubject<boolean>;
17
+ refresh: EventEmitter<void>;
18
+ tenantId$: import("rxjs").Observable<string>;
19
+ namespaceId$: import("rxjs").Observable<string>;
20
+ namespaceLabel$: import("rxjs").Observable<any>;
21
+ icon$: import("rxjs").Observable<string>;
22
+ namespaceDetails$: import("rxjs").Observable<import("../../api/model/namespaceDetails").MessagingNamespaceDetails>;
23
+ tableTitle: "Topics";
24
+ loadingItemsLabel: "Loading topics...";
25
+ loadMoreItemsLabel: "Load more topics";
26
+ noResultsMessage: "No matching topics found.";
27
+ noResultsSubtitle: "Refine your search terms or check your spelling.";
28
+ noDataMessage: "No topics to display.";
29
+ noDataSubtitle: "Create new topics to monitor them here.";
30
+ columns: Column[];
31
+ pagination: Pagination;
32
+ serverSideDataCallback: ServerSideDataCallback;
33
+ onDataSourceModifier(dataSourceModifier: DataSourceModifier): Promise<ServerSideDataResult>;
34
+ ngAfterViewInit(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopicListViewComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopicListViewComponent, "app-topic-list-view", never, {}, {}, never, never, true, never>;
37
+ }
38
+ //# sourceMappingURL=topic-list-view.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topic-list-view.component.d.ts","sourceRoot":"","sources":["../../../../messaging-management/messaging/topic/topic-list-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAc,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAEL,eAAe,EAIf,MAAM,EAEN,kBAAkB,EAOlB,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAK7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAiC,MAAM,MAAM,CAAC;;AAGtE,qBA0Ba,sBAAuB,YAAW,aAAa;IAC1D,KAAK,iBAA0B;IAC/B,QAAQ,kBAA2B;IACnC,iBAAiB,6BAAsC;IACvD,qBAAqB,wBAAiC;IACtD,gBAAgB,mBAA4B;IAC5C,UAAU,aAAsB;IAEhC,QAAQ,2BAAuC;IAC/C,OAAO,qBAA4B;IAEnC,SAAS,oCAAgE;IACzE,YAAY,oCAAwE;IACpF,eAAe,iCAEb;IACF,KAAK,oCAAiF;IAEtF,iBAAiB,kGAOf;IAEF,UAAU,WAAqB;IAC/B,iBAAiB,sBAAgC;IACjD,kBAAkB,qBAA+B;IACjD,gBAAgB,8BAAwC;IACxD,iBAAiB,qDAA+D;IAChF,aAAa,0BAAoC;IACjD,cAAc,4CAAsD;IAEpE,OAAO,EAAE,MAAM,EAAE,CAA2C;IAC5D,UAAU,EAAE,UAAU,CAGpB;IAEF,sBAAsB,EAAE,sBAAsB,CAAwC;IAChF,oBAAoB,CACxB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAAC,oBAAoB,CAAC;IAUhC,eAAe;yCAtDJ,sBAAsB;2CAAtB,sBAAsB;CA2DlC"}