@c8y/ngx-components 1021.31.3 → 1021.34.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.
- package/alarms/alarms-date-filter.component.d.ts +1 -0
- package/alarms/alarms-date-filter.component.d.ts.map +1 -1
- package/core/common/ui-state.service.d.ts +0 -1
- package/core/common/ui-state.service.d.ts.map +1 -1
- package/core/dynamic-component/dynamic-component.component.d.ts +5 -0
- package/core/dynamic-component/dynamic-component.component.d.ts.map +1 -1
- package/core/plugins/plugins.service.d.ts +3 -0
- package/core/plugins/plugins.service.d.ts.map +1 -1
- package/core/router/router-tabs.resolver.d.ts +2 -2
- package/core/router/router-tabs.resolver.d.ts.map +1 -1
- package/esm2022/alarms/alarms-date-filter.component.mjs +5 -3
- package/esm2022/alarms/alarms-type-filter.component.mjs +3 -3
- package/esm2022/core/common/ui-state.service.mjs +1 -19
- package/esm2022/core/dynamic-component/dynamic-component.component.mjs +23 -3
- package/esm2022/core/plugins/plugins.service.mjs +7 -1
- package/esm2022/core/router/router-tabs.resolver.mjs +22 -8
- package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +2 -2
- package/esm2022/protocol-lwm2m/ng1/plugin-checker.service.mjs +5 -1
- package/esm2022/services/services-device-tab/service-command.service.mjs +113 -0
- package/esm2022/services/services-device-tab/service-device-tab.model.mjs +1 -1
- package/esm2022/services/services-device-tab/services-device-tab.component.mjs +13 -7
- package/esm2022/widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.mjs +5 -0
- package/esm2022/widgets/definitions/asset-notes/index.mjs +29 -0
- package/esm2022/widgets/definitions/index.mjs +2 -1
- package/esm2022/widgets/implementations/asset-notes/asset-notes-widget.component.mjs +67 -0
- package/esm2022/widgets/implementations/asset-notes/c8y-ngx-components-widgets-implementations-asset-notes.mjs +5 -0
- package/esm2022/widgets/implementations/asset-notes/index.mjs +2 -0
- package/fesm2022/c8y-ngx-components-alarms.mjs +5 -4
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lwm2m.mjs +4 -0
- package/fesm2022/c8y-ngx-components-protocol-lwm2m.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services.mjs +116 -5
- package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs +36 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs +74 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components.mjs +49 -26
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +20 -11
- package/locales/es.po +18 -9
- package/locales/fr.po +18 -9
- package/locales/ja_JP.po +18 -9
- package/locales/ko.po +18 -9
- package/locales/locales.pot +19 -7
- package/locales/nl.po +18 -9
- package/locales/pl.po +21 -12
- package/locales/pt_BR.po +18 -9
- package/locales/zh_CN.po +18 -9
- package/locales/zh_TW.po +18 -9
- package/package.json +1 -1
- package/protocol-lwm2m/ng1/plugin-checker.service.d.ts +4 -0
- package/protocol-lwm2m/ng1/plugin-checker.service.d.ts.map +1 -1
- package/services/services-device-tab/service-command.service.d.ts +59 -0
- package/services/services-device-tab/service-command.service.d.ts.map +1 -0
- package/services/services-device-tab/service-device-tab.model.d.ts +9 -0
- package/services/services-device-tab/service-device-tab.model.d.ts.map +1 -1
- package/services/services-device-tab/services-device-tab.component.d.ts +5 -2
- package/services/services-device-tab/services-device-tab.component.d.ts.map +1 -1
- package/widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.d.ts.map +1 -0
- package/widgets/definitions/asset-notes/index.d.ts +16 -0
- package/widgets/definitions/asset-notes/index.d.ts.map +1 -0
- package/widgets/definitions/index.d.ts +1 -0
- package/widgets/definitions/index.d.ts.map +1 -1
- package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts +33 -0
- package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts.map +1 -0
- package/widgets/implementations/asset-notes/c8y-ngx-components-widgets-implementations-asset-notes.d.ts.map +1 -0
- package/widgets/implementations/asset-notes/index.d.ts +2 -0
- 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,
|
|
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"}
|
package/widgets/definitions/asset-notes/c8y-ngx-components-widgets-definitions-asset-notes.d.ts.map
ADDED
|
@@ -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
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|