@c8y/ngx-components 1021.31.4 → 1021.34.2

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 (75) hide show
  1. package/alarms/alarms-date-filter.component.d.ts +1 -0
  2. package/alarms/alarms-date-filter.component.d.ts.map +1 -1
  3. package/core/common/service-registry.model.d.ts +2 -1
  4. package/core/common/service-registry.model.d.ts.map +1 -1
  5. package/core/dynamic-component/dynamic-component.component.d.ts +5 -0
  6. package/core/dynamic-component/dynamic-component.component.d.ts.map +1 -1
  7. package/core/plugins/plugins.service.d.ts +3 -0
  8. package/core/plugins/plugins.service.d.ts.map +1 -1
  9. package/core/router/router-tabs.resolver.d.ts +2 -2
  10. package/core/router/router-tabs.resolver.d.ts.map +1 -1
  11. package/esm2022/alarms/alarms-date-filter.component.mjs +5 -3
  12. package/esm2022/alarms/alarms-type-filter.component.mjs +3 -3
  13. package/esm2022/core/common/service-registry.model.mjs +1 -1
  14. package/esm2022/core/dynamic-component/dynamic-component.component.mjs +23 -3
  15. package/esm2022/core/plugins/plugins.service.mjs +7 -1
  16. package/esm2022/core/router/router-tabs.resolver.mjs +22 -8
  17. package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +2 -2
  18. package/esm2022/protocol-lwm2m/ng1/plugin-checker.service.mjs +5 -1
  19. package/esm2022/services/services-device-tab/service-command.service.mjs +113 -0
  20. package/esm2022/services/services-device-tab/service-device-tab.model.mjs +1 -1
  21. package/esm2022/services/services-device-tab/services-device-tab.component.mjs +13 -7
  22. package/esm2022/widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.mjs +5 -0
  23. package/esm2022/widgets/definitions/asset-notes/index.mjs +29 -0
  24. package/esm2022/widgets/definitions/index.mjs +2 -1
  25. package/esm2022/widgets/implementations/asset-notes/asset-notes-widget.component.mjs +67 -0
  26. package/esm2022/widgets/implementations/asset-notes/c8y-ngx-components-widgets-implementations-asset-notes.mjs +5 -0
  27. package/esm2022/widgets/implementations/asset-notes/index.mjs +2 -0
  28. package/fesm2022/c8y-ngx-components-alarms.mjs +5 -4
  29. package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
  30. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +1 -1
  31. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  32. package/fesm2022/c8y-ngx-components-ecosystem.mjs +1 -1
  33. package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
  34. package/fesm2022/c8y-ngx-components-protocol-lwm2m.mjs +4 -0
  35. package/fesm2022/c8y-ngx-components-protocol-lwm2m.mjs.map +1 -1
  36. package/fesm2022/c8y-ngx-components-services.mjs +116 -5
  37. package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
  38. package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs +36 -0
  39. package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs.map +1 -0
  40. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +1 -0
  41. package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
  42. package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs +74 -0
  43. package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs.map +1 -0
  44. package/fesm2022/c8y-ngx-components.mjs +48 -8
  45. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  46. package/locales/de.po +25 -14
  47. package/locales/es.po +22 -11
  48. package/locales/fr.po +22 -11
  49. package/locales/ja_JP.po +21 -9
  50. package/locales/ko.po +21 -9
  51. package/locales/locales.pot +19 -7
  52. package/locales/nl.po +22 -11
  53. package/locales/pl.po +26 -16
  54. package/locales/pt_BR.po +26 -15
  55. package/locales/zh_CN.po +21 -9
  56. package/locales/zh_TW.po +21 -9
  57. package/package.json +1 -1
  58. package/protocol-lwm2m/ng1/plugin-checker.service.d.ts +4 -0
  59. package/protocol-lwm2m/ng1/plugin-checker.service.d.ts.map +1 -1
  60. package/services/services-device-tab/service-command.service.d.ts +59 -0
  61. package/services/services-device-tab/service-command.service.d.ts.map +1 -0
  62. package/services/services-device-tab/service-device-tab.model.d.ts +9 -0
  63. package/services/services-device-tab/service-device-tab.model.d.ts.map +1 -1
  64. package/services/services-device-tab/services-device-tab.component.d.ts +5 -2
  65. package/services/services-device-tab/services-device-tab.component.d.ts.map +1 -1
  66. package/widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.d.ts.map +1 -0
  67. package/widgets/definitions/asset-notes/index.d.ts +16 -0
  68. package/widgets/definitions/asset-notes/index.d.ts.map +1 -0
  69. package/widgets/definitions/index.d.ts +1 -0
  70. package/widgets/definitions/index.d.ts.map +1 -1
  71. package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts +33 -0
  72. package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts.map +1 -0
  73. package/widgets/implementations/asset-notes/c8y-ngx-components-widgets-implementations-asset-notes.d.ts.map +1 -0
  74. package/widgets/implementations/asset-notes/index.d.ts +2 -0
  75. package/widgets/implementations/asset-notes/index.d.ts.map +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"services-device-tab.component.d.ts","sourceRoot":"","sources":["../../../services/services-device-tab/services-device-tab.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAkB,gBAAgB,EAA4B,MAAM,aAAa,CAAC;AACzF,OAAO,EACL,MAAM,EACN,eAAe,EACf,kBAAkB,EAElB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;;AASzD,qBAIa,0BAA0B;IA4BnC,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,oBAAoB;IA9B9B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAkD;IAE3E,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,UAAS;IAExB,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAClD,UAAU;;;MAGR;IAEF,OAAO,EAAE,MAAM,EAAE,CAKf;IAEF,sBAAsB,EAAE,GAAG,CAAC;IAE5B,gBAAgB,2BAAqC;IACrD,aAAa,4BAAsC;IACnD,iBAAiB,qDAA+D;IAEhF,OAAO,CAAC,WAAW,CAAkC;gBAG3C,KAAK,EAAE,cAAc,EACrB,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,eAAe,EAC5B,oBAAoB,EAAE,oBAAoB;IAe9C,oBAAoB,CACxB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAAC,oBAAoB,CAAC;IA0ChC,WAAW,CAAC,MAAM,KAAA,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;yCA1FhC,0BAA0B;2CAA1B,0BAA0B;CA6FtC"}
1
+ {"version":3,"file":"services-device-tab.component.d.ts","sourceRoot":"","sources":["../../../services/services-device-tab/services-device-tab.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAkB,gBAAgB,EAA4B,MAAM,aAAa,CAAC;AACzF,OAAO,EACL,MAAM,EACN,eAAe,EACf,kBAAkB,EAClB,aAAa,EAEb,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAElE,qBAIa,0BAA0B;IA6BnC,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,cAAc;IAhCxB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAkD;IAE3E,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,UAAS;IAExB,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAClD,UAAU;;;MAGR;IAEF,cAAc,EAAE,aAAa,EAAE,CAAM;IACrC,OAAO,EAAE,MAAM,EAAE,CAKf;IAEF,sBAAsB,EAAE,GAAG,CAAC;IAE5B,gBAAgB,2BAAqC;IACrD,aAAa,4BAAsC;IACnD,iBAAiB,qDAA+D;IAEhF,OAAO,CAAC,WAAW,CAAkC;gBAG3C,KAAK,EAAE,cAAc,EACrB,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,eAAe,EAC5B,oBAAoB,EAAE,oBAAoB,EAC1C,cAAc,EAAE,qBAAqB;IAezC,oBAAoB,CACxB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAAC,oBAAoB,CAAC;IA6ChC,WAAW,CAAC,MAAM,KAAA,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;yCA/FhC,0BAA0B;2CAA1B,0BAA0B;CAkGtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"c8y-ngx-components-widgets-definitions-asset-notes.d.ts","sourceRoot":"","sources":["../../../../widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { DynamicComponentErrorStrategy, DynamicManagedObjectResolver } from '@c8y/ngx-components';
2
+ import type { ContextWidgetConfig } from '@c8y/ngx-components/context-dashboard';
3
+ export declare const assetNotesWidgetDefinition: {
4
+ id: "Asset Notes";
5
+ label: "Asset notes";
6
+ description: "Displays editable asset notes.";
7
+ loadComponent: () => Promise<import("@angular/core").Type<any> | typeof import("@c8y/ngx-components/widgets/implementations/asset-notes").AssetNotesWidgetComponent>;
8
+ previewImage: string;
9
+ resolve: {
10
+ device: typeof DynamicManagedObjectResolver;
11
+ };
12
+ errorStrategy: DynamicComponentErrorStrategy.OVERLAY_ERROR;
13
+ data: ContextWidgetConfig;
14
+ };
15
+ export declare const assetNotesWidgetProviders: (import("@angular/core").ValueProvider | import("@angular/core").ClassProvider | import("@angular/core").ExistingProvider)[];
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../widgets/definitions/asset-notes/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,EAG7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAGjF,eAAO,MAAM,0BAA0B;;;;;;;;;;UA0BhC,mBAAmB;CACS,CAAC;AAEpC,eAAO,MAAM,yBAAyB,8HAA2C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare const defaultWidgetIds: {
2
2
  readonly APPLICATIONS: "Applications";
3
+ readonly ASSET_NOTES: "Asset Notes";
3
4
  readonly LEGACY_COCKPIT_WELCOME: "Cockpit Welcome";
4
5
  readonly COCKPIT_WELCOME: "cockpit.welcome.widget";
5
6
  readonly DATA_POINTS_TABLE: "Data points table";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../widgets/definitions/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../widgets/definitions/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;CAoBnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { InputSignal, OnInit } from '@angular/core';
2
+ import { IManagedObject } from '@c8y/client';
3
+ import * as i0 from "@angular/core";
4
+ interface AssetNotes {
5
+ user: string;
6
+ lastUpdated: string;
7
+ htmlContent: string;
8
+ }
9
+ export declare class AssetNotesWidgetComponent implements OnInit {
10
+ private inventory;
11
+ private appState;
12
+ private alertService;
13
+ private datePipe;
14
+ config: InputSignal<{
15
+ device: Partial<IManagedObject>;
16
+ }>;
17
+ notes: import("@angular/core").WritableSignal<AssetNotes>;
18
+ editable: import("@angular/core").WritableSignal<boolean>;
19
+ isLoading: import("@angular/core").Signal<boolean>;
20
+ private readonly FRAGMENT;
21
+ ngNonBindableTranslate: import("@angular/core").Signal<{
22
+ lastUpdated: any;
23
+ user: string;
24
+ }>;
25
+ ngOnInit(): Promise<void>;
26
+ toggleEdit(): void;
27
+ save(): Promise<void>;
28
+ private loadNotes;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssetNotesWidgetComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssetNotesWidgetComponent, "c8y-asset-notes", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=asset-notes-widget.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset-notes-widget.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/asset-notes-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,WAAW,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;;AAW/D,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAMa,yBAA0B,YAAW,MAAM;IACtD,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,QAAQ,CAA2B;IAC3C,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,QAAQ,CAAoB;IAEpC,MAAM,EAAE,WAAW,CAAC;QAAE,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;KAAE,CAAC,CAAW;IAEnE,KAAK,qDAAmC;IACxC,QAAQ,kDAAiB;IACzB,SAAS,0CAA2D;IAEpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAC7D,sBAAsB;;;OAGlB;IAEE,QAAQ;IAId,UAAU;IAIJ,IAAI;YAqBI,SAAS;yCA/CZ,yBAAyB;2CAAzB,yBAAyB;CAuDrC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"c8y-ngx-components-widgets-implementations-asset-notes.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/c8y-ngx-components-widgets-implementations-asset-notes.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './asset-notes-widget.component';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}