@c8y/ngx-components 1022.21.3 → 1022.26.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/asset-properties/asset-properties.model.d.ts +117 -0
- package/asset-properties/asset-properties.model.d.ts.map +1 -0
- package/asset-properties/asset-properties.service.d.ts +72 -0
- package/asset-properties/asset-properties.service.d.ts.map +1 -0
- package/asset-properties/asset-property-list/asset-property-action.directive.d.ts +11 -0
- package/asset-properties/asset-property-list/asset-property-action.directive.d.ts.map +1 -0
- package/asset-properties/asset-property-list/asset-property-icon.pipe.d.ts +11 -0
- package/asset-properties/asset-property-list/asset-property-icon.pipe.d.ts.map +1 -0
- package/asset-properties/asset-property-list/asset-property-list.component.d.ts +195 -0
- package/asset-properties/asset-property-list/asset-property-list.component.d.ts.map +1 -0
- package/asset-properties/asset-property-list/asset-property-value.pipe.d.ts +17 -0
- package/asset-properties/asset-property-list/asset-property-value.pipe.d.ts.map +1 -0
- package/asset-properties/asset-property-list/tree-data-source.d.ts +19 -0
- package/asset-properties/asset-property-list/tree-data-source.d.ts.map +1 -0
- package/asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.d.ts +75 -0
- package/asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.d.ts.map +1 -0
- package/asset-properties/c8y-ngx-components-asset-properties.d.ts.map +1 -0
- package/asset-properties/index.d.ts +6 -0
- package/asset-properties/index.d.ts.map +1 -0
- package/core/user/user-edit-modal.component.d.ts.map +1 -1
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts +2 -0
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts +8 -2
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts.map +1 -1
- package/echart/charts.component.d.ts +1 -1
- package/echart/charts.component.d.ts.map +1 -1
- package/echart/index.d.ts +1 -0
- package/echart/index.d.ts.map +1 -1
- package/echart/models/datapoints-graph-widget.model.d.ts +13 -0
- package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -1
- package/echart/services/chart-helpers.service.d.ts +23 -0
- package/echart/services/chart-helpers.service.d.ts.map +1 -0
- package/echart/services/echarts-options.service.d.ts +1 -1
- package/echart/services/echarts-options.service.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +2 -2
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +1573 -0
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +22 -7
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-list.mjs +2 -2
- package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +32 -18
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs +14 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +88 -29
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +3 -3
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +6 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +12 -4
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +51 -10
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +1 -1
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +38 -24
- package/locales/es.po +38 -24
- package/locales/fr.po +38 -24
- package/locales/ja_JP.po +37 -24
- package/locales/ko.po +37 -24
- package/locales/locales.pot +43 -12
- package/locales/nl.po +38 -24
- package/locales/pl.po +38 -24
- package/locales/pt_BR.po +38 -24
- package/locales/zh_CN.po +38 -24
- package/locales/zh_TW.po +38 -24
- package/package.json +1 -1
- package/widgets/definitions/html-widget/html-widget-config.factory.d.ts.map +1 -1
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts +2 -0
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/html-widget/html-widget-properties-selector/html-widget-properties-selector.component.d.ts +17 -0
- package/widgets/implementations/html-widget/html-widget-properties-selector/html-widget-properties-selector.component.d.ts.map +1 -0
- package/widgets/implementations/html-widget/html-widget.model.d.ts +2 -2
- package/widgets/implementations/html-widget/html-widget.model.d.ts.map +1 -1
- package/widgets/implementations/html-widget/index.d.ts +1 -0
- package/widgets/implementations/html-widget/index.d.ts.map +1 -1
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export type AssetPropertyListConfig = {
|
|
2
|
+
/**
|
|
3
|
+
* Flag to enable or disable the search functionality in the asset property list.
|
|
4
|
+
* When enabled, a search input will be displayed to filter properties by their names.
|
|
5
|
+
*/
|
|
6
|
+
searchable?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The mode of the asset property list describing how the properties are selected.
|
|
9
|
+
* - `single` - only one property can be selected at a time
|
|
10
|
+
* - `multi` - multiple properties can be selected at a time
|
|
11
|
+
* - `none` - no properties can be selected
|
|
12
|
+
*/
|
|
13
|
+
selectMode?: 'single' | 'multi' | 'none';
|
|
14
|
+
/**
|
|
15
|
+
* The mode of the asset property list describing how the properties are expanded.
|
|
16
|
+
* - `expandedByDefault` - all properties are expanded by default and collapse button is shown
|
|
17
|
+
* - `collapsedByDefault` - all properties are collapsed by default and expand button is shown
|
|
18
|
+
* - `nonCollapsible` - all properties are expanded all the time and collapse button is hidden
|
|
19
|
+
*/
|
|
20
|
+
expansionMode?: 'expandedByDefault' | 'collapsedByDefault' | 'nonCollapsible';
|
|
21
|
+
/**
|
|
22
|
+
* Flag to show or hide the header of the asset property list.
|
|
23
|
+
* Header includes select all checkbox (if applicable) and the title of the list columns.
|
|
24
|
+
*/
|
|
25
|
+
showHeader?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Flag to show or hide the value of the asset property.
|
|
28
|
+
*/
|
|
29
|
+
showValue?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Flag to show or hide the key of the asset property.
|
|
32
|
+
* If set to true, the key of the property will be displayed alongside its value.
|
|
33
|
+
*/
|
|
34
|
+
showKey?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Defines what should be displayed when asset is not selected and there are no properties to show.
|
|
37
|
+
* - `empty` - empty state with a message
|
|
38
|
+
* - `default-properties` - default properties are shown (like ID, name, type, etc.)
|
|
39
|
+
*/
|
|
40
|
+
emptyStateContent?: 'empty' | 'default-properties';
|
|
41
|
+
/**
|
|
42
|
+
* Asset property list allows to provide custom properties as an input.
|
|
43
|
+
* This flag defines how the input properties are handled.
|
|
44
|
+
* - `merge` - input properties are merged with properties from asset list
|
|
45
|
+
* - `override` - input properties override properties from asset list, meaning that only input properties are shown
|
|
46
|
+
*/
|
|
47
|
+
inputPropertiesHandle?: 'merge' | 'override';
|
|
48
|
+
};
|
|
49
|
+
export declare const defaultAssetPropertyListConfig: AssetPropertyListConfig;
|
|
50
|
+
export declare const defaultAssetProperties: Array<BaseProperty>;
|
|
51
|
+
export declare const deviceAssetProperties: Array<BaseProperty>;
|
|
52
|
+
export declare const RESULT_TYPES: {
|
|
53
|
+
VALUE: {
|
|
54
|
+
name: string;
|
|
55
|
+
value: number;
|
|
56
|
+
label: "Only value";
|
|
57
|
+
};
|
|
58
|
+
VALUE_UNIT: {
|
|
59
|
+
name: string;
|
|
60
|
+
value: number;
|
|
61
|
+
label: "Value and unit";
|
|
62
|
+
};
|
|
63
|
+
VALUE_UNIT_TIME: {
|
|
64
|
+
name: string;
|
|
65
|
+
value: number;
|
|
66
|
+
label: "Value, unit and time";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
type C8yPropertyType = 'string' | 'number' | 'integer' | 'boolean' | 'object' | 'array' | 'null' | ['string', 'null'] | Array<C8yPropertyType>;
|
|
70
|
+
type C8yPropertyFormat = 'datetime' | 'hidden' | 'textarea';
|
|
71
|
+
export interface C8yJsonSchemaProperty {
|
|
72
|
+
type: C8yPropertyType;
|
|
73
|
+
title?: string;
|
|
74
|
+
label?: string;
|
|
75
|
+
description?: string;
|
|
76
|
+
key?: string;
|
|
77
|
+
name?: string;
|
|
78
|
+
minimum?: number;
|
|
79
|
+
maximum?: number;
|
|
80
|
+
minLength?: number;
|
|
81
|
+
maxLength?: number;
|
|
82
|
+
pattern?: string;
|
|
83
|
+
required?: boolean;
|
|
84
|
+
readOnly?: boolean;
|
|
85
|
+
printFormat?: C8yPropertyFormat;
|
|
86
|
+
'x-schema-form'?: {
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
properties?: Record<string, C8yJsonSchemaProperty>;
|
|
90
|
+
items?: C8yJsonSchemaProperty;
|
|
91
|
+
'x-show-if-any-available'?: {
|
|
92
|
+
contextPath: string;
|
|
93
|
+
}[];
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}
|
|
96
|
+
export interface C8yJsonSchema {
|
|
97
|
+
properties: Record<string, C8yJsonSchemaProperty>;
|
|
98
|
+
required?: string[];
|
|
99
|
+
}
|
|
100
|
+
export interface BaseProperty {
|
|
101
|
+
name: string;
|
|
102
|
+
label: string;
|
|
103
|
+
type: C8yPropertyType;
|
|
104
|
+
isEditable?: boolean;
|
|
105
|
+
isStandardProperty?: boolean;
|
|
106
|
+
c8y_JsonSchema?: C8yJsonSchema;
|
|
107
|
+
active?: boolean;
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
}
|
|
110
|
+
export interface NestedPropertyFields extends BaseProperty {
|
|
111
|
+
title?: string;
|
|
112
|
+
properties?: object;
|
|
113
|
+
keyPath: string[];
|
|
114
|
+
}
|
|
115
|
+
export type AssetPropertyType = BaseProperty | NestedPropertyFields;
|
|
116
|
+
export {};
|
|
117
|
+
//# sourceMappingURL=asset-properties.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-properties.model.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.model.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,mBAAmB,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IAC9E;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACnD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,uBAS5C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,YAAY,CAkDtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,YAAY,CAqkBrD,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAIxB,CAAC;AACF,KAAK,eAAe,GAChB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,QAA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CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { IManagedObject } from '@c8y/client';
|
|
2
|
+
import { AssetPropertyType } from './asset-properties.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Service for managing asset properties.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AssetPropertiesService {
|
|
8
|
+
private readonly FRAGMENTS_TO_OMIT;
|
|
9
|
+
private inventoryService;
|
|
10
|
+
private assetTypesRealtimeService;
|
|
11
|
+
private groupService;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves custom properties for an asset from asset library.
|
|
14
|
+
* @param asset The asset for which to retrieve custom properties.
|
|
15
|
+
* @returns A promise resolving to the list of custom properties.
|
|
16
|
+
*/
|
|
17
|
+
getCustomProperties(asset: IManagedObject): Promise<IManagedObject[]>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves the initial set of properties for an asset, based on its type.
|
|
20
|
+
* @param asset The asset for which to retrieve properties.
|
|
21
|
+
* @returns A promise resolving to the list of initial properties.
|
|
22
|
+
*/
|
|
23
|
+
getInitialProperties(asset: IManagedObject): Promise<AssetPropertyType[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves properties for a device asset.
|
|
26
|
+
* @param asset The device asset for which to retrieve properties.
|
|
27
|
+
* @returns A promise resolving to the list of device properties.
|
|
28
|
+
*/
|
|
29
|
+
getDeviceProperties(asset: IManagedObject): Promise<AssetPropertyType[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves properties for a group asset.
|
|
32
|
+
* @param asset The group asset for which to retrieve properties.
|
|
33
|
+
* @returns A promise resolving to the list of group properties.
|
|
34
|
+
*/
|
|
35
|
+
getGroupProperties(asset: IManagedObject): Promise<AssetPropertyType[]>;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves properties for a regular asset.
|
|
38
|
+
* @param asset The asset for which to retrieve properties.
|
|
39
|
+
* @returns A promise resolving to the list of asset properties.
|
|
40
|
+
*/
|
|
41
|
+
getAssetProperties(asset: IManagedObject): Promise<AssetPropertyType[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Categorizes custom properties into simple and complex types.
|
|
44
|
+
* @param properties The custom properties to categorize.
|
|
45
|
+
* @returns The categorized custom properties.
|
|
46
|
+
*/
|
|
47
|
+
categorizeCustomProperties(properties: IManagedObject[]): AssetPropertyType[];
|
|
48
|
+
/**
|
|
49
|
+
* Categorizes and flattens hierarchical properties into simple and complex types.
|
|
50
|
+
* @param properties The hierarchical properties to categorize and flatten.
|
|
51
|
+
* @returns The categorized and flattened properties.
|
|
52
|
+
*/
|
|
53
|
+
categorizeAndFlattenHierarchicalProperties(properties: AssetPropertyType[]): {
|
|
54
|
+
simple: AssetPropertyType[];
|
|
55
|
+
complex: AssetPropertyType[];
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Checks if a property is complex (i.e., has nested properties).
|
|
59
|
+
* @param property The property to check.
|
|
60
|
+
* @returns True if the property is complex, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
isComplexProperty(property: AssetPropertyType): boolean;
|
|
63
|
+
private addNestedProperties;
|
|
64
|
+
private flattenProperties;
|
|
65
|
+
private getManagedObjectProperties;
|
|
66
|
+
private extractFragments;
|
|
67
|
+
private shouldSkipFragment;
|
|
68
|
+
private addPropertyItem;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertiesService, never>;
|
|
70
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssetPropertiesService>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=asset-properties.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-properties.service.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;AAI/D,OAAO,EAAE,iBAAiB,EAAyB,MAAM,0BAA0B,CAAC;;AACpF;;GAEG;AACH,qBAGa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAehC;IAEF,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,yBAAyB,CAAqC;IACtE,OAAO,CAAC,YAAY,CAAwB;IAE5C;;;;OAIG;IACG,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAgB3E;;;;OAIG;IACG,oBAAoB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAa/E;;;;OAIG;IACG,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAI9E;;;;OAIG;IACG,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAI7E;;;;OAIG;IACG,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAM7E;;;;OAIG;IACH,0BAA0B,CAAC,UAAU,EAAE,cAAc,EAAE,GAAG,iBAAiB,EAAE;IAiB7E;;;;OAIG;IACH,0CAA0C,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG;QAC3E,MAAM,EAAE,iBAAiB,EAAE,CAAC;QAC5B,OAAO,EAAE,iBAAiB,EAAE,CAAC;KAC9B;IAsBD;;;;OAIG;IACH,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,OAAO;IAOvD,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,0BAA0B;IAIlC,OAAO,CAAC,gBAAgB;IAqCxB,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,eAAe;yCAvPZ,sBAAsB;6CAAtB,sBAAsB;CAmQlC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AssetPropertyActionDirective {
|
|
4
|
+
template: TemplateRef<unknown>;
|
|
5
|
+
elementRef: ElementRef;
|
|
6
|
+
viewContainer: ViewContainerRef;
|
|
7
|
+
constructor(template: TemplateRef<unknown>, elementRef: ElementRef, viewContainer: ViewContainerRef);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyActionDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AssetPropertyActionDirective, "[c8yAssetPropertyAction]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=asset-property-action.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-action.directive.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-action.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAErF,qBAIa,4BAA4B;IAE9B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC;IAC9B,UAAU,EAAE,UAAU;IACtB,aAAa,EAAE,gBAAgB;gBAF/B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,EAC9B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,gBAAgB;yCAJ7B,4BAA4B;2CAA5B,4BAA4B;CAMxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Pipe to transform asset property types into icon names.
|
|
4
|
+
* Maps various property types to corresponding icon names.
|
|
5
|
+
*/
|
|
6
|
+
export declare class AssetPropertyIconPipe {
|
|
7
|
+
transform(type: string): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyIconPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AssetPropertyIconPipe, "c8yAssetPropertyIcon", true>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=asset-property-icon.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-icon.pipe.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-icon.pipe.ts"],"names":[],"mappings":";AAEA;;;GAGG;AACH,qBAIa,qBAAqB;IAChC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;yCADpB,qBAAqB;uCAArB,qBAAqB;CAsBjC"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AssetPropertyListConfig, AssetPropertyType } from '../asset-properties.model';
|
|
3
|
+
import { IManagedObject } from '@c8y/client';
|
|
4
|
+
import { CdkTree } from '@angular/cdk/tree';
|
|
5
|
+
import { AssetPropertyFlatNode, FlatTreeDataSource } from './tree-data-source';
|
|
6
|
+
import { AssetPropertyActionDirective } from './asset-property-action.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Represents a list of asset properties with hierarchical tree structure.
|
|
10
|
+
*/
|
|
11
|
+
export declare class AssetPropertyListComponent implements OnInit, OnChanges, OnDestroy {
|
|
12
|
+
/**
|
|
13
|
+
* Reference to the CDdk tree component.
|
|
14
|
+
*/
|
|
15
|
+
tree: import("@angular/core").Signal<CdkTree<AssetPropertyFlatNode, AssetPropertyFlatNode>>;
|
|
16
|
+
/**
|
|
17
|
+
* Configuration for the asset property list.
|
|
18
|
+
*/
|
|
19
|
+
config: AssetPropertyListConfig;
|
|
20
|
+
/**
|
|
21
|
+
* Managed object representing the asset.
|
|
22
|
+
*/
|
|
23
|
+
asset: IManagedObject;
|
|
24
|
+
/**
|
|
25
|
+
* Custom properties to be displayed in the list.
|
|
26
|
+
*/
|
|
27
|
+
customProperties: AssetPropertyType[];
|
|
28
|
+
/**
|
|
29
|
+
* Emits the selected properties.
|
|
30
|
+
*/
|
|
31
|
+
selectedProperties: EventEmitter<AssetPropertyType[]>;
|
|
32
|
+
/**
|
|
33
|
+
* List of all properties.
|
|
34
|
+
*/
|
|
35
|
+
properties: AssetPropertyType[];
|
|
36
|
+
/**
|
|
37
|
+
* Text input for searching properties.
|
|
38
|
+
*/
|
|
39
|
+
inputText: string;
|
|
40
|
+
/**
|
|
41
|
+
* Data source for the tree structure.
|
|
42
|
+
*/
|
|
43
|
+
dataSource: FlatTreeDataSource;
|
|
44
|
+
/**
|
|
45
|
+
* Map of flat nodes for quick lookup.
|
|
46
|
+
*/
|
|
47
|
+
flatNodeMap: Map<string, AssetPropertyFlatNode>;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates if all nodes are selected.
|
|
50
|
+
*/
|
|
51
|
+
allSelected: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates if the selection state is indeterminate.
|
|
54
|
+
*/
|
|
55
|
+
indeterminate: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Directive for asset property actions.
|
|
58
|
+
*/
|
|
59
|
+
assetPropertyAction: AssetPropertyActionDirective;
|
|
60
|
+
/**
|
|
61
|
+
* Subject for handling search input.
|
|
62
|
+
*/
|
|
63
|
+
private searchSubject$;
|
|
64
|
+
/**
|
|
65
|
+
* Subject for handling component destruction.
|
|
66
|
+
*/
|
|
67
|
+
private destroy$;
|
|
68
|
+
/**
|
|
69
|
+
* Service for managing asset properties.
|
|
70
|
+
*/
|
|
71
|
+
private assetPropertiesService;
|
|
72
|
+
/**
|
|
73
|
+
* Constructor initializes reactive effects for expansion modes.
|
|
74
|
+
*/
|
|
75
|
+
constructor();
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
ngOnChanges(): Promise<void>;
|
|
78
|
+
ngAfterViewInit(): void;
|
|
79
|
+
ngOnDestroy(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Fetches and categorizes properties.
|
|
82
|
+
* @returns A promise resolving to the list of asset properties.
|
|
83
|
+
*/
|
|
84
|
+
getProperties(): Promise<AssetPropertyType[]>;
|
|
85
|
+
/**
|
|
86
|
+
* Checks if a node has children.
|
|
87
|
+
* @param node The node to check.
|
|
88
|
+
* @returns True if the node has children.
|
|
89
|
+
*/
|
|
90
|
+
hasChild(node: AssetPropertyFlatNode): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Gets the level of a node.
|
|
93
|
+
* @param node The node to check.
|
|
94
|
+
* @returns The level of the node.
|
|
95
|
+
*/
|
|
96
|
+
getLevel(node: AssetPropertyFlatNode): number;
|
|
97
|
+
/**
|
|
98
|
+
* Gets the parent node of a given node.
|
|
99
|
+
* @param node The node to check.
|
|
100
|
+
* @returns The parent node or null if none exists.
|
|
101
|
+
*/
|
|
102
|
+
getParentNode(node: AssetPropertyFlatNode): AssetPropertyFlatNode | null;
|
|
103
|
+
/**
|
|
104
|
+
* Determines if a node should be rendered.
|
|
105
|
+
* @param node The node to check.
|
|
106
|
+
* @returns True if the node should be rendered.
|
|
107
|
+
*/
|
|
108
|
+
shouldRender(node: AssetPropertyFlatNode): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Selects or deselects all nodes.
|
|
111
|
+
* @param selected True to select all, false to deselect.
|
|
112
|
+
*/
|
|
113
|
+
selectAll(selected: boolean): void;
|
|
114
|
+
/**
|
|
115
|
+
* Handles single selection mode.
|
|
116
|
+
* @param selected True if the node is selected.
|
|
117
|
+
* @param node The node to select.
|
|
118
|
+
*/
|
|
119
|
+
onSelectSingle(selected: boolean, node: AssetPropertyFlatNode): void;
|
|
120
|
+
/**
|
|
121
|
+
* Handles multi-selection mode.
|
|
122
|
+
* @param selected True if the node is selected.
|
|
123
|
+
* @param node The node to select.
|
|
124
|
+
*/
|
|
125
|
+
onSelectMulti(selected: boolean, node: AssetPropertyFlatNode): void;
|
|
126
|
+
/**
|
|
127
|
+
* Initiates a search operation.
|
|
128
|
+
*/
|
|
129
|
+
onSearch(): void;
|
|
130
|
+
/**
|
|
131
|
+
* Clears the search input.
|
|
132
|
+
*/
|
|
133
|
+
clearSearch(): void;
|
|
134
|
+
collapseButtonTitle(node: AssetPropertyFlatNode): string;
|
|
135
|
+
/**
|
|
136
|
+
* Updates the list of properties based on the configuration.
|
|
137
|
+
*/
|
|
138
|
+
private updateProperties;
|
|
139
|
+
/**
|
|
140
|
+
* Updates the selection status of child nodes.
|
|
141
|
+
* @param parent The parent node.
|
|
142
|
+
* @param selected True if the parent is selected.
|
|
143
|
+
*/
|
|
144
|
+
private updateChildSelectionStatus;
|
|
145
|
+
/**
|
|
146
|
+
* Checks if a property matches the search criteria.
|
|
147
|
+
* @param property The property to check.
|
|
148
|
+
* @param search The search text.
|
|
149
|
+
* @returns True if the property matches.
|
|
150
|
+
*/
|
|
151
|
+
private matchesSearch;
|
|
152
|
+
/**
|
|
153
|
+
* Updates the selection state for all nodes.
|
|
154
|
+
*/
|
|
155
|
+
private updateSelectAllState;
|
|
156
|
+
/**
|
|
157
|
+
* Builds the tree nodes from the properties.
|
|
158
|
+
*/
|
|
159
|
+
private buildTreeNodes;
|
|
160
|
+
/**
|
|
161
|
+
* Update indeterminate state for all complex nodes
|
|
162
|
+
*/
|
|
163
|
+
private updateIndeterminateStates;
|
|
164
|
+
/**
|
|
165
|
+
* Expands all nodes in the tree.
|
|
166
|
+
*/
|
|
167
|
+
private expandAllNodes;
|
|
168
|
+
/**
|
|
169
|
+
* Filters the tree nodes based on the search input.
|
|
170
|
+
*/
|
|
171
|
+
private filterTree;
|
|
172
|
+
/**
|
|
173
|
+
* Expand parent nodes when filtering
|
|
174
|
+
* This method expands all nodes with children when a search is active
|
|
175
|
+
*/
|
|
176
|
+
private expandNodesForSearch;
|
|
177
|
+
/**
|
|
178
|
+
* Makes all parent nodes visible.
|
|
179
|
+
* @param node The node whose parents should be made visible.
|
|
180
|
+
*/
|
|
181
|
+
private makeParentsVisible;
|
|
182
|
+
/**
|
|
183
|
+
* Categorizes and flattens hierarchical properties.
|
|
184
|
+
* @param properties The properties to categorize.
|
|
185
|
+
* @returns The flattened list of properties.
|
|
186
|
+
*/
|
|
187
|
+
private categorizeAndFlattenHierarchicalProperties;
|
|
188
|
+
/**
|
|
189
|
+
* Fix syntax error in the file.
|
|
190
|
+
*/
|
|
191
|
+
private fixSyntaxError;
|
|
192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyListComponent, never>;
|
|
193
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertyListComponent, "c8y-asset-property-list", never, { "config": { "alias": "config"; "required": false; }; "asset": { "alias": "asset"; "required": false; }; "customProperties": { "alias": "customProperties"; "required": false; }; }, { "selectedProperties": "selectedProperties"; }, ["assetPropertyAction"], never, true, never>;
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=asset-property-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-list.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EAIlB,MAAM,2BAA2B,CAAC;AAWnC,OAAO,EAAE,cAAc,EAAE,MAAM,aAA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AI,EAAE,qBAAqB,GAAG,OAAO;IAiBlD;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAiBlC;;;;OAIG;IACH,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,GAAG,IAAI;IAcpE;;;;OAIG;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,GAAG,IAAI;IAoBnE;;OAEG;IACH,QAAQ,IAAI,IAAI;IAIhB;;OAEG;IACH,WAAW,IAAI,IAAI;IAKnB,mBAAmB,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM;IAOxD;;OAEG;YACW,gBAAgB;IAU9B;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAclC;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAWrB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAe5B;;OAEG;IACH,OAAO,CAAC,cAAc;IAqCtB;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAgCjC;;OAEG;IACH,OAAO,CAAC,cAAc;IAWtB;;OAEG;IACH,OAAO,CAAC,UAAU;IAqClB;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAe5B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAkB1B;;;;OAIG;IACH,OAAO,CAAC,0CAA0C;IAQlD;;OAEG;IACH,OAAO,CAAC,cAAc;yCAvgBX,0BAA0B;2CAA1B,0BAA0B;CA4gBtC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AssetPropertyType } from '../asset-properties.model';
|
|
2
|
+
import { IManagedObject } from '@c8y/client';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Formats the value of an asset property.
|
|
6
|
+
* If the property is complex, it will be stringified.
|
|
7
|
+
* If the property has a keyPath, it will be used to retrieve the value from the asset.
|
|
8
|
+
* Otherwise, the value will be taken directly from the asset.
|
|
9
|
+
* If the value is null or undefined, a dash ('-') will be returned.
|
|
10
|
+
*/
|
|
11
|
+
export declare class AssetPropertyValuePipe {
|
|
12
|
+
private assetPropertiesService;
|
|
13
|
+
transform(property: AssetPropertyType, asset: IManagedObject): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyValuePipe, never>;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AssetPropertyValuePipe, "c8yAssetPropertyValue", true>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=asset-property-value.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-value.pipe.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-value.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;;AAI7C;;;;;;GAMG;AACH,qBAIa,sBAAsB;IACjC,OAAO,CAAC,sBAAsB,CAAkC;IAEhE,SAAS,CAAC,QAAQ,EAAE,iBAAiB,EAAE,KAAK,EAAE,cAAc,GAAG,MAAM;yCAH1D,sBAAsB;uCAAtB,sBAAsB;CAiBlC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
+
import { AssetPropertyType } from '../asset-properties.model';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export interface AssetPropertyFlatNode {
|
|
5
|
+
expandable: boolean;
|
|
6
|
+
level: number;
|
|
7
|
+
property: AssetPropertyType;
|
|
8
|
+
isVisible: boolean;
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class FlatTreeDataSource extends DataSource<AssetPropertyFlatNode> {
|
|
12
|
+
private _dataChange;
|
|
13
|
+
constructor();
|
|
14
|
+
get data(): AssetPropertyFlatNode[];
|
|
15
|
+
set data(value: AssetPropertyFlatNode[]);
|
|
16
|
+
connect(): Observable<AssetPropertyFlatNode[]>;
|
|
17
|
+
disconnect(): void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=tree-data-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-data-source.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/tree-data-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEnD,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,qBAAa,kBAAmB,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IACvE,OAAO,CAAC,WAAW,CAAoD;;IAMvE,IAAI,IAAI,IAAI,qBAAqB,EAAE,CAElC;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,qBAAqB,EAAE,EAEtC;IAED,OAAO,IAAI,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAI9C,UAAU,IAAI,IAAI;CAGnB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IManagedObject } from '@c8y/client';
|
|
3
|
+
import { BottomDrawerRef } from '@c8y/ngx-components';
|
|
4
|
+
import { AssetPropertyListConfig, AssetPropertyType } from '../asset-properties.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Represents a drawer component for selecting asset properties.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AssetPropertySelectorDrawerComponent {
|
|
10
|
+
/**
|
|
11
|
+
* Title of the drawer.
|
|
12
|
+
*/
|
|
13
|
+
title: "Select property";
|
|
14
|
+
/**
|
|
15
|
+
* Managed object representing the asset.
|
|
16
|
+
*/
|
|
17
|
+
asset: IManagedObject;
|
|
18
|
+
/**
|
|
19
|
+
* Configuration for the asset property list.
|
|
20
|
+
*/
|
|
21
|
+
config: AssetPropertyListConfig;
|
|
22
|
+
/**
|
|
23
|
+
* Custom properties to be displayed in the list.
|
|
24
|
+
*/
|
|
25
|
+
customProperties: AssetPropertyType[];
|
|
26
|
+
/**
|
|
27
|
+
* Emits the selected properties when saved.
|
|
28
|
+
*/
|
|
29
|
+
savePropertySelection: EventEmitter<AssetPropertyType[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Emits an event when the selection is canceled.
|
|
32
|
+
*/
|
|
33
|
+
cancelPropertySelection: EventEmitter<void>;
|
|
34
|
+
/**
|
|
35
|
+
* List of selected properties.
|
|
36
|
+
*/
|
|
37
|
+
selectedProperties: AssetPropertyType[];
|
|
38
|
+
/**
|
|
39
|
+
* Reference to the bottom drawer.
|
|
40
|
+
*/
|
|
41
|
+
bottomDrawerRef: BottomDrawerRef<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Promise resolving to the selected properties.
|
|
44
|
+
*/
|
|
45
|
+
result: Promise<AssetPropertyType[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Internal save handler.
|
|
48
|
+
*/
|
|
49
|
+
private _save;
|
|
50
|
+
/**
|
|
51
|
+
* Internal cancel handler.
|
|
52
|
+
*/
|
|
53
|
+
private _cancel;
|
|
54
|
+
/**
|
|
55
|
+
* Updates the selected properties.
|
|
56
|
+
* @param properties The selected properties.
|
|
57
|
+
*/
|
|
58
|
+
onSelectedProperties(properties: AssetPropertyType[]): void;
|
|
59
|
+
/**
|
|
60
|
+
* Saves the selected properties and closes the drawer.
|
|
61
|
+
*/
|
|
62
|
+
onSave(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Cancels the selection and closes the drawer.
|
|
65
|
+
*/
|
|
66
|
+
onCancel(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Checks if the select button should be disabled.
|
|
69
|
+
* @returns True if all selected properties are inactive.
|
|
70
|
+
*/
|
|
71
|
+
selectIsDisabled(): boolean;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertySelectorDrawerComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertySelectorDrawerComponent, "c8y-asset-property-selector-drawer-component", never, { "title": { "alias": "title"; "required": false; }; }, { "savePropertySelection": "savePropertySelection"; "cancelPropertySelection": "cancelPropertySelection"; }, never, never, true, never>;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=asset-property-selector-drawer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-selector-drawer.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAyB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAA0C,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;;AAGvF;;GAEG;AACH,qBASa,oCAAoC;IAC/C;;OAEG;IACM,KAAK,oBAA8B;IAC5C;;OAEG;IACH,KAAK,EAAG,cAAc,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,CAAM;IAC3C;;OAEG;IACO,qBAAqB,oCAA2C;IAC1E;;OAEG;IACO,uBAAuB,qBAA4B;IAC7D;;OAEG;IACH,kBAAkB,EAAE,iBAAiB,EAAE,CAAM;IAC7C;;OAEG;IACH,eAAe,uBAA2B;IAC1C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAGjC;IACH;;OAEG;IACH,OAAO,CAAC,KAAK,CAAuC;IACpD;;OAEG;IACH,OAAO,CAAC,OAAO,CAAoC;IACnD;;;OAGG;IACH,oBAAoB,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG,IAAI;IAI3D;;OAEG;IACH,MAAM,IAAI,IAAI;IAKd;;OAEG;IACH,QAAQ,IAAI,IAAI;IAKhB;;;OAGG;IACH,gBAAgB,IAAI,OAAO;yCA5EhB,oCAAoC;2CAApC,oCAAoC;CA+EhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-asset-properties.d.ts","sourceRoot":"","sources":["../../asset-properties/c8y-ngx-components-asset-properties.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './asset-properties.model';
|
|
2
|
+
export * from './asset-properties.service';
|
|
3
|
+
export * from './asset-property-list/asset-property-list.component';
|
|
4
|
+
export * from './asset-property-selector-drawer/asset-property-selector-drawer.component';
|
|
5
|
+
export * from './asset-property-list/asset-property-action.directive';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../asset-properties/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qDAAqD,CAAC;AACpE,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uDAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-edit-modal.component.d.ts","sourceRoot":"","sources":["../../../core/user/user-edit-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAgB,KAAK,EAAE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,eAAe;IACvB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,sBAAsB;IAtBhC,WAAW,EAAE,KAAK,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,UAAS;IAChB,4BAA4B,UAAS;IACrC,yBAAyB,EAAE,OAAO,CAAC;IACnC,2CAA2C,EAAE,OAAO,CAAC;IACrD,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gCAAgC,EAAE,OAAO,CAAC;IAC1C,cAAc,UAAS;gBAGd,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,WAAW,EACjB,EAAE,EAAE,eAAe,EAClB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,YAAY,EACnB,eAAe,EAAE,sBAAsB,EACvC,eAAe,EAAE,YAAY,EAC7B,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,eAAe,EAChC,sBAAsB,EAAE,sBAAsB;IAGlD,QAAQ;IAKd;;;;;;;;OAQG;IACG,kCAAkC;IAiBlC,SAAS;IAIf,qBAAqB,CAAC,SAAS,EAAE,OAAO;IAIxC,gCAAgC,CAAC,SAAS,EAAE,OAAO;IAI7C,cAAc,CAAC,IAAI,KAAA;IAkCnB,0BAA0B;YAmBlB,8BAA8B;IAK5C;;;;;OAKG;IACH,OAAO,CAAC,+BAA+B;IAUvC;;;;;OAKG;YACW,oBAAoB;YAWpB,oBAAoB;IAKlC,OAAO,CAAC,iBAAiB;yCArKd,sBAAsB;2CAAtB,sBAAsB;CA6KlC"}
|
|
@@ -42,6 +42,8 @@ export declare class DatapointExplorerComponent {
|
|
|
42
42
|
private readonly contextDashboardService;
|
|
43
43
|
private readonly activatedRoute;
|
|
44
44
|
private readonly contextRouteService;
|
|
45
|
+
private readonly chartHelpersService;
|
|
46
|
+
private readonly gainsightService;
|
|
45
47
|
constructor();
|
|
46
48
|
ngOnInit(): void;
|
|
47
49
|
onTimeContextChange(timeProps: TimeContextProps): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint-explorer.component.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,UAAU,EAAqB,MAAM,eAAe,CAAC;AAErF,OAAO,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAkB,MAAM,aAAa,CAAC;AAC3E,OAAO,EAKL,+BAA+B,
|
|
1
|
+
{"version":3,"file":"datapoint-explorer.component.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,UAAU,EAAqB,MAAM,eAAe,CAAC;AAErF,OAAO,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAkB,MAAM,aAAa,CAAC;AAC3E,OAAO,EAKL,+BAA+B,EAMhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,6BAA6B,EAG9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,YAAY,EACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EAEpB,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAU3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAG/D,OAAO,EAAO,UAAU,EAAE,MAAM,MAAM,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;;AAKtD,qBAqBa,0BAA0B;;IACrC,SAAS,EAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;IAC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BAA2B,GAAG,IAAI;IA2BhE,YAAY,CAAC,SAAS,EAAE;QAAE,QAAQ,EAAE,IAAI,CAAC;QAAC,MAAM,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;KAAE;IAKnF,yBAAyB,CACvB,SAAS,EAAE,IAAI,CAAC,2BAA2B,EAAE,UAAU,GAAG,QAAQ,CAAC,GAClE,IAAI;IAIP,qBAAqB,CAAC,mBAAmB,EAAE,oBAAoB,EAAE,GAAG,IAAI;IAMxE,wBAAwB,CAAC,WAAW,EAAE,yBAAyB,GAAG,IAAI;IAShE,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB1C,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IA8BrC,uBAAuB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmC9C,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,0BAA0B;IAUlC,OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,QAAQ;yCAlTL,0BAA0B;2CAA1B,0BAA0B;CAwUtC"}
|
|
@@ -8,7 +8,8 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export type ProvisionedCertificate = {
|
|
10
10
|
serialNumber: string;
|
|
11
|
-
|
|
11
|
+
notBefore: string;
|
|
12
|
+
notAfter: string;
|
|
12
13
|
};
|
|
13
14
|
export declare class DeviceTabProvisionedCertificatesComponent implements OnInit {
|
|
14
15
|
private alertService;
|
|
@@ -56,7 +57,12 @@ export declare class DeviceTabProvisionedCertificatesComponent implements OnInit
|
|
|
56
57
|
constructor(alertService: AlertService, modalService: ModalService, deviceSerialsService: DeviceProvisionedCertificatesService, crlService: CrlService, route: ActivatedRoute, translateService: TranslateService);
|
|
57
58
|
ngOnInit(): void;
|
|
58
59
|
reload(): void;
|
|
59
|
-
|
|
60
|
+
getExpirationHighlight(item: ProvisionedCertificate): {
|
|
61
|
+
expired: boolean;
|
|
62
|
+
icon: string;
|
|
63
|
+
textClass: string;
|
|
64
|
+
tooltipText: string;
|
|
65
|
+
};
|
|
60
66
|
revokeProvisionedCertificates(serialNumbersInHex: string[]): Promise<void>;
|
|
61
67
|
private confirmRevocation;
|
|
62
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceTabProvisionedCertificatesComponent, never>;
|
package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-tab-provisioned-certificates.component.d.ts","sourceRoot":"","sources":["../../device-provisioned-certificates/device-tab-provisioned-certificates.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,cAAc,EAEd,YAAY,EACZ,UAAU,EAEV,GAAG,EASJ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAGvD,MAAM,MAAM,sBAAsB,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"device-tab-provisioned-certificates.component.d.ts","sourceRoot":"","sources":["../../device-provisioned-certificates/device-tab-provisioned-certificates.component.ts"],"names":[],"mappings":"AAAA,OA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