@c8y/ngx-components 1022.16.2 → 1022.21.3
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/core/asset-property/asset-property.model.d.ts +0 -8
- package/core/asset-property/asset-property.model.d.ts.map +1 -1
- package/core/authentication/new-password.component.d.ts +3 -2
- package/core/authentication/new-password.component.d.ts.map +1 -1
- package/core/modal/modal.service.d.ts +1 -0
- package/core/modal/modal.service.d.ts.map +1 -1
- package/core/user/user-edit-modal.component.d.ts +1 -0
- package/core/user/user-edit-modal.component.d.ts.map +1 -1
- package/core/user/user-edit.component.d.ts +4 -1
- package/core/user/user-edit.component.d.ts.map +1 -1
- package/datapoint-explorer/datapoint-explorer.module.d.ts +2 -0
- package/datapoint-explorer/datapoint-explorer.module.d.ts.map +1 -1
- package/datapoint-explorer/devicemanagement/c8y-ngx-components-datapoint-explorer-devicemanagement.d.ts.map +1 -0
- package/datapoint-explorer/devicemanagement/index.d.ts +2 -0
- package/datapoint-explorer/devicemanagement/index.d.ts.map +1 -0
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts +6 -3
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
- package/datapoint-explorer/view/datapoint-explorer.model.d.ts +8 -0
- package/datapoint-explorer/view/datapoint-explorer.model.d.ts.map +1 -0
- package/datapoint-explorer/view/index.d.ts +1 -0
- package/datapoint-explorer/view/index.d.ts.map +1 -1
- package/echart/services/chart-realtime.service.d.ts +2 -0
- package/echart/services/chart-realtime.service.d.ts.map +1 -1
- package/echart/services/echarts-options.service.d.ts +4 -4
- package/echart/services/echarts-options.service.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs +38 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +143 -142
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +53 -17
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-time-context.mjs +12 -5
- package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +2 -2
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +4 -4
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +1152 -1128
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +25 -24
- package/locales/es.po +6 -3
- package/locales/fr.po +36 -33
- package/locales/ja_JP.po +75 -70
- package/locales/ko.po +6 -3
- package/locales/locales.pot +6 -15
- package/locales/nl.po +6 -3
- package/locales/pl.po +6 -3
- package/locales/pt_BR.po +6 -3
- package/locales/zh_CN.po +6 -3
- package/locales/zh_TW.po +6 -3
- package/package.json +1 -1
- package/time-context/index.d.ts +1 -0
- package/time-context/index.d.ts.map +1 -1
- package/time-context/time-context.component.d.ts +6 -3
- package/time-context/time-context.component.d.ts.map +1 -1
- package/time-context/time-context.model.d.ts +10 -0
- package/time-context/time-context.model.d.ts.map +1 -0
- package/time-context/time-context.service.d.ts +2 -6
- package/time-context/time-context.service.d.ts.map +1 -1
- package/device-parameters/c8y-ngx-components-device-parameters.d.ts.map +0 -1
- package/device-parameters/device-parameter-details.component.d.ts +0 -22
- package/device-parameters/device-parameter-details.component.d.ts.map +0 -1
- package/device-parameters/device-parameter-value.component.d.ts +0 -12
- package/device-parameters/device-parameter-value.component.d.ts.map +0 -1
- package/device-parameters/device-parameters-list.component.d.ts +0 -23
- package/device-parameters/device-parameters-list.component.d.ts.map +0 -1
- package/device-parameters/device-parameters-tab.guard.d.ts +0 -11
- package/device-parameters/device-parameters-tab.guard.d.ts.map +0 -1
- package/device-parameters/index.d.ts +0 -7
- package/device-parameters/index.d.ts.map +0 -1
- package/device-parameters/parameter-type-cell-renderer.components.d.ts +0 -8
- package/device-parameters/parameter-type-cell-renderer.components.d.ts.map +0 -1
- package/fesm2022/c8y-ngx-components-device-parameters.mjs +0 -215
- package/fesm2022/c8y-ngx-components-device-parameters.mjs.map +0 -1
|
@@ -42,12 +42,4 @@ export interface TreeNode {
|
|
|
42
42
|
children?: TreeNode[];
|
|
43
43
|
hasChildren?: boolean;
|
|
44
44
|
}
|
|
45
|
-
export interface DeviceParameter {
|
|
46
|
-
title: string;
|
|
47
|
-
key: string;
|
|
48
|
-
value: any;
|
|
49
|
-
type: string;
|
|
50
|
-
description?: string;
|
|
51
|
-
jsonSchema: SchemaNode;
|
|
52
|
-
}
|
|
53
45
|
//# sourceMappingURL=asset-property.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-property.model.d.ts","sourceRoot":"","sources":["../../../core/asset-property/asset-property.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,uBAAuB,EAAE,CAAC;IACvC,cAAc,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,OAAO,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB
|
|
1
|
+
{"version":3,"file":"asset-property.model.d.ts","sourceRoot":"","sources":["../../../core/asset-property/asset-property.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,uBAAuB,EAAE,CAAC;IACvC,cAAc,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,OAAO,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
2
|
import { NewPassword } from './password.model';
|
|
3
3
|
import { NgModel, ValidatorFn } from '@angular/forms';
|
|
4
4
|
import { PasswordStrengthService } from './password-strength.service';
|
|
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class NewPasswordComponent implements OnChanges, OnInit {
|
|
7
7
|
private passwordStrength;
|
|
8
8
|
private cdRef;
|
|
9
|
+
elementRef: ElementRef;
|
|
9
10
|
password: EventEmitter<object | NewPassword>;
|
|
10
11
|
showChangePasswordButton: boolean;
|
|
11
12
|
requireStrongPassword: boolean;
|
|
@@ -16,7 +17,7 @@ export declare class NewPasswordComponent implements OnChanges, OnInit {
|
|
|
16
17
|
requirementsFulfilled: boolean;
|
|
17
18
|
newPasswordModel: NgModel;
|
|
18
19
|
set _newPasswordModel(ngModel: NgModel);
|
|
19
|
-
constructor(passwordStrength: PasswordStrengthService, cdRef: ChangeDetectorRef);
|
|
20
|
+
constructor(passwordStrength: PasswordStrengthService, cdRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
20
21
|
passwordChecklistValidator: ValidatorFn;
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-password.component.d.ts","sourceRoot":"","sources":["../../../core/authentication/new-password.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEZ,MAAM,EACN,SAAS,EAGT,aAAa,
|
|
1
|
+
{"version":3,"file":"new-password.component.d.ts","sourceRoot":"","sources":["../../../core/authentication/new-password.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEZ,MAAM,EACN,SAAS,EAGT,aAAa,EACb,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAA4B,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAS7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;;AAEtE,qBAiBa,oBAAqB,YAAW,SAAS,EAAE,MAAM;IAoB1D,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,KAAK;IACN,UAAU,EAAE,UAAU;IArBrB,QAAQ,qCAA4C;IACrD,wBAAwB,UAAQ;IAChC,qBAAqB,EAAE,OAAO,CAAC;IACxC,KAAK,EAAE,GAAG,CAAM;IAChB,cAAc,UAAS;IACvB,gBAAgB,UAAS;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAE1B,IACI,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAKrC;gBAGS,gBAAgB,EAAE,uBAAuB,EACzC,KAAK,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU;IAG/B,0BAA0B,EAAE,WAAW,CACmC;IAE1E,QAAQ;IAOF,WAAW,CAAC,OAAO,EAAE,aAAa;IAWxC,kBAAkB;IAOlB,cAAc,CAAC,qBAAqB,EAAE,OAAO;IAWvC,4BAA4B,IAAI,OAAO,CAAC,IAAI,CAAC;IAWnD,oBAAoB;yCA3ET,oBAAoB;2CAApB,oBAAoB;CAkFhC"}
|
|
@@ -52,6 +52,7 @@ export declare class ModalService {
|
|
|
52
52
|
[key: string]: boolean;
|
|
53
53
|
};
|
|
54
54
|
}>;
|
|
55
|
+
changeCurrentUserPassword(): Promise<void>;
|
|
55
56
|
private triggerEvent;
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
57
58
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.service.d.ts","sourceRoot":"","sources":["../../../core/modal/modal.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAU,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;
|
|
1
|
+
{"version":3,"file":"modal.service.d.ts","sourceRoot":"","sources":["../../../core/modal/modal.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAU,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;AAGlF;;GAEG;AACH,qBAGa,YAAY;IAErB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;gBADhB,YAAY,EAAE,cAAc,EAC5B,gBAAgB,EAAE,gBAAgB;IAG5C;;;;;;;;OAQG;IACG,OAAO,CACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,UAAwB,EAChC,MAAM,GAAE,qBAAqB,CAAC,QAAQ,CAAM,EAC5C,cAAc,GAAE,cAAmB,EACnC,sBAAsB,GAAE,sBAAsD;;;;;;IAmBhF;;;;;;;OAOG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,UAAwB,EAChC,gBAAgB,GAAE,MAA2B,EAC7C,sBAAsB,GAAE,sBAAsD;;;;;;IAgBhF;;;;;OAKG;IACG,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,GAAE,UAA2B,EAAE,MAAM,GAAE,GAAQ;;;;;;IAUlF,yBAAyB;IAQ/B,OAAO,CAAC,YAAY;yCA7FT,YAAY;6CAAZ,YAAY;CAiHxB"}
|
|
@@ -31,6 +31,7 @@ export declare class UserEditModalComponent implements OnInit {
|
|
|
31
31
|
currentUserEngagementPreferenceInitialState: boolean;
|
|
32
32
|
usageTrackingState: boolean;
|
|
33
33
|
userEngagementPreferenceNewState: boolean;
|
|
34
|
+
passwordChange: boolean;
|
|
34
35
|
constructor(modal: BsModalRef, user: UserService, ui: AppStateService, auth: BasicAuth, client: FetchClient, alert: AlertService, userPreferences: UserPreferencesService, c8yModalService: ModalService, gainsightService: GainsightService, cookieBannerService: CookieBannerService, passwordService: PasswordService, userEngagementsService: UserEngagementsService);
|
|
35
36
|
ngOnInit(): Promise<void>;
|
|
36
37
|
/**
|
|
@@ -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,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvF,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;;AAMxF,qBAMa,sBAAuB,YAAW,MAAM;
|
|
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,O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ACf,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;IAiCnB,0BAA0B;YAmBlB,8BAA8B;IAK5C;;;;;OAKG;IACH,OAAO,CAAC,+BAA+B;IAUvC;;;;;OAKG;YACW,oBAAoB;YAWpB,oBAAoB;IAKlC,OAAO,CAAC,iBAAiB;yCApKd,sBAAsB;2CAAtB,sBAAsB;CA4KlC"}
|
|
@@ -5,6 +5,7 @@ import { AlertService } from '../alert/alert.service';
|
|
|
5
5
|
import { NewPassword } from '../authentication/password.model';
|
|
6
6
|
import { AppStateService } from '../common/ui-state.service';
|
|
7
7
|
import { TranslateService } from '../i18n/translate.service';
|
|
8
|
+
import { NewPasswordComponent } from '../authentication/new-password.component';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export interface User extends IUser {
|
|
10
11
|
phone: string;
|
|
@@ -25,10 +26,12 @@ export declare class UserEditComponent implements OnInit {
|
|
|
25
26
|
showProductExperienceOptions: boolean;
|
|
26
27
|
isUsageTrackingEnabled: boolean;
|
|
27
28
|
isUserEngagementPreferenceEnabled: boolean;
|
|
29
|
+
focusOnNewPassword: boolean;
|
|
28
30
|
onUser: EventEmitter<User>;
|
|
29
31
|
onUsageTrackingChange: EventEmitter<boolean>;
|
|
30
32
|
onUserEngagementPreferenceChange: EventEmitter<boolean>;
|
|
31
33
|
onCancel: EventEmitter<void>;
|
|
34
|
+
newPasswordComponent: import("@angular/core").Signal<NewPasswordComponent>;
|
|
32
35
|
userHasActiveTotp: boolean;
|
|
33
36
|
userCanSetupTotp: boolean;
|
|
34
37
|
isPhoneRequired: boolean;
|
|
@@ -44,6 +47,6 @@ export declare class UserEditComponent implements OnInit {
|
|
|
44
47
|
private initializeTotpSettings;
|
|
45
48
|
private canUserSetupTotp;
|
|
46
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEditComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserEditComponent, "c8y-user-edit", never, { "loading": { "alias": "loading"; "required": false; }; "user": { "alias": "user"; "required": false; }; "showProductExperienceOptions": { "alias": "showProductExperienceOptions"; "required": false; }; "isUsageTrackingEnabled": { "alias": "isUsageTrackingEnabled"; "required": false; }; "isUserEngagementPreferenceEnabled": { "alias": "isUserEngagementPreferenceEnabled"; "required": false; }; }, { "onUser": "onUser"; "onUsageTrackingChange": "onUsageTrackingChange"; "onUserEngagementPreferenceChange": "onUserEngagementPreferenceChange"; "onCancel": "onCancel"; }, never, never, true, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserEditComponent, "c8y-user-edit", never, { "loading": { "alias": "loading"; "required": false; }; "user": { "alias": "user"; "required": false; }; "showProductExperienceOptions": { "alias": "showProductExperienceOptions"; "required": false; }; "isUsageTrackingEnabled": { "alias": "isUsageTrackingEnabled"; "required": false; }; "isUserEngagementPreferenceEnabled": { "alias": "isUserEngagementPreferenceEnabled"; "required": false; }; "focusOnNewPassword": { "alias": "focusOnNewPassword"; "required": false; }; }, { "onUser": "onUser"; "onUsageTrackingChange": "onUsageTrackingChange"; "onUserEngagementPreferenceChange": "onUserEngagementPreferenceChange"; "onCancel": "onCancel"; }, never, never, true, never>;
|
|
48
51
|
}
|
|
49
52
|
//# sourceMappingURL=user-edit.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-edit.component.d.ts","sourceRoot":"","sources":["../../../core/user/user-edit.component.ts"],"names":[],"mappings":"A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AAC,OAAO,CAAC,CAAsB;IAC7E,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAC5D,oBAAoB,uDAAyD;IAE7E,iBAAiB,UAAS;IAC1B,gBAAgB,UAAS;IACzB,eAAe,UAAS;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IAEtB,OAAO,CAAC,KAAK,CAAO;gBAGX,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,gBAAgB,EAC1B,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,yBAAyB,EACpD,aAAa,EAAE,aAAa;IAgBhC,QAAQ;IAYd,SAAS;IAST,MAAM;IAIA,IAAI;IAmBV,oBAAoB,CAAC,WAAW,EAAE,WAAW;YAI/B,sBAAsB;YAYtB,gBAAgB;yCAjHnB,iBAAiB;2CAAjB,iBAAiB;CAsH7B"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export declare function canActivateDatapointExplorer(): Observable<boolean>;
|
|
2
4
|
export declare class DatapointExplorerModule {
|
|
3
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointExplorerModule, never>;
|
|
4
6
|
static ɵmod: i0.ɵɵNgModuleDeclaration<DatapointExplorerModule, never, never, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint-explorer.module.d.ts","sourceRoot":"","sources":["../../datapoint-explorer/datapoint-explorer.module.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"datapoint-explorer.module.d.ts","sourceRoot":"","sources":["../../datapoint-explorer/datapoint-explorer.module.ts"],"names":[],"mappings":"AASA,OAAO,EAAS,UAAU,EAAE,MAAM,MAAM,CAAC;;AAGzC,wBAAgB,4BAA4B,IAAI,UAAU,CAAC,OAAO,CAAC,CAGlE;AAED,qBAkDa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-datapoint-explorer-devicemanagement.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/devicemanagement/c8y-ngx-components-datapoint-explorer-devicemanagement.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/devicemanagement/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,+BAA+B,8HA6B3C,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { aggregationType, IIdentified } from '@c8y/client';
|
|
2
4
|
import { DynamicComponentAlertAggregator } from '@c8y/ngx-components';
|
|
3
5
|
import { DatapointAttributesFormConfig } from '@c8y/ngx-components/datapoint-selector';
|
|
6
|
+
import { ExportConfig } from '@c8y/ngx-components/datapoints-export-selector';
|
|
4
7
|
import { AlarmDetailsExtended, AlarmOrEventExtended, DatapointsGraphKPIDetails, DatapointsGraphWidgetConfig, EventDetailsExtended, TimeContextProps } from '@c8y/ngx-components/echart/models';
|
|
5
|
-
import { FormGroup } from '@angular/forms';
|
|
6
|
-
import { aggregationType, IIdentified } from '@c8y/client';
|
|
7
8
|
import { Interval } from '@c8y/ngx-components/interval-picker';
|
|
8
|
-
import {
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { Settings } from './datapoint-explorer.model';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
export declare class DatapointExplorerComponent {
|
|
11
13
|
#private;
|
|
14
|
+
settings$: Observable<Settings>;
|
|
12
15
|
chart: ElementRef;
|
|
13
16
|
config: DatapointsGraphWidgetConfig;
|
|
14
17
|
exportConfig: ExportConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint-explorer.component.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.component.ts"],"names":[],"mappings":"
|
|
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,EAKhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,6BAA6B,EAG9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,YAAY,EACb,MAAM,gDAAgD,CAAC;AAMxD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAM/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;IACtC,MAAM,EAAE,2BAA2B,CAA+C;IAClF,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACpD,MAAM,EAAE,oBAAoB,EAAE,CAAM;IACpC,MAAM,EAAE,oBAAoB,EAAE,CAAM;IACpC,mBAAmB,0CAAiD;IACpE,YAAY,EAAE,WAAW,CAAC;IAC1B,SAAS,EA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B,CAAC,WAAW,EAAE,yBAAyB,GAAG,IAAI;IAShE,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB1C,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IA6BrC,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;yCAtRL,0BAA0B;2CAA1B,0BAA0B;CA4StC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TimeContext } from '@c8y/ngx-components/time-context';
|
|
2
|
+
export interface Settings {
|
|
3
|
+
hideWorkspaceConfig?: boolean;
|
|
4
|
+
hideExportSelector?: boolean;
|
|
5
|
+
hideWidgetActions?: boolean;
|
|
6
|
+
timeContext?: TimeContext;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=datapoint-explorer.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datapoint-explorer.model.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,WAAW,QAAQ;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC"}
|
|
@@ -14,9 +14,11 @@ export declare class ChartRealtimeService {
|
|
|
14
14
|
private MAX_REALTIME_TIMEOUT;
|
|
15
15
|
private realtimeSubscriptionMeasurements;
|
|
16
16
|
private realtimeSubscriptionAlarmsEvents;
|
|
17
|
+
private realtimeIntervalSubscription;
|
|
17
18
|
private echartsInstance;
|
|
18
19
|
private currentTimeRange;
|
|
19
20
|
private lastMeasurements;
|
|
21
|
+
private pendingAlarmsOrEvents;
|
|
20
22
|
private currentAlarms;
|
|
21
23
|
private currentEvents;
|
|
22
24
|
constructor(measurementRealtime: MeasurementRealtimeService, alarmRealtimeService: AlarmRealtimeService, eventRealtimeService: EventRealtimeService, echartsOptionsService: EchartsOptionsService);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-realtime.service.d.ts","sourceRoot":"","sources":["../../../echart/services/chart-realtime.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAC;AAE3D,OAAO,EACL,oBAAoB,EAGpB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EAGpB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAKlE,qBACa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"chart-realtime.service.d.ts","sourceRoot":"","sources":["../../../echart/services/chart-realtime.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAC;AAE3D,OAAO,EACL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AChE,IAAI,EACT,kBAAkB,EAAE,oBAAoB,EAAO,EAC/C,cAAc,EAAE,mBAAmB,EACnC,MAAM,CAAC,EAAE,MAAM,EAAE,EACjB,MAAM,CAAC,EAAE,MAAM,EAAE;IA2JnB,YAAY;IAMZ;;OAEG;IACH,OAAO,CAAC,+BAA+B;IAqBvC,OAAO,CAAC,2BAA2B;IAanC,OAAO,CAAC,6BAA6B;IAerC,OAAO,CAAC,mBAAmB;IAwI3B,OAAO,CAAC,4BAA4B;yCA7XzB,oBAAoB;6CAApB,oBAAoB;CA0YhC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DatePipe } from '@c8y/ngx-components';
|
|
2
|
-
import type { EChartsOption, SeriesOption } from 'echarts';
|
|
3
|
-
import type { ECharts } from 'echarts';
|
|
1
|
+
import { AppStateService, DatePipe } from '@c8y/ngx-components';
|
|
2
|
+
import type { EChartsOption, SeriesOption, ECharts } from 'echarts';
|
|
4
3
|
import { DatapointChartRenderType, DpWithValues, GraphDisplayOptions } from '../models';
|
|
5
4
|
import { YAxisService } from './y-axis.service';
|
|
6
5
|
import { ChartTypesService } from './chart-types.service';
|
|
@@ -20,10 +19,11 @@ export declare class EchartsOptionsService {
|
|
|
20
19
|
private severityLabelPipe;
|
|
21
20
|
private translate;
|
|
22
21
|
private router;
|
|
22
|
+
private appState;
|
|
23
23
|
echartsInstance: ECharts | undefined;
|
|
24
24
|
private TOOLTIP_WIDTH;
|
|
25
25
|
private tooltipPositionCallback;
|
|
26
|
-
constructor(datePipe: DatePipe, yAxisService: YAxisService, chartTypesService: ChartTypesService, severityIconPipe: AlarmSeverityToIconPipe, severityLabelPipe: AlarmSeverityToLabelPipe, translate: TranslateService, router: Router);
|
|
26
|
+
constructor(datePipe: DatePipe, yAxisService: YAxisService, chartTypesService: ChartTypesService, severityIconPipe: AlarmSeverityToIconPipe, severityLabelPipe: AlarmSeverityToLabelPipe, translate: TranslateService, router: Router, appState: AppStateService);
|
|
27
27
|
getChartOptions(datapointsWithValues: DpWithValues[], timeRange: {
|
|
28
28
|
dateFrom: string;
|
|
29
29
|
dateTo: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"echarts-options.service.d.ts","sourceRoot":"","sources":["../../../echart/services/echarts-options.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"echarts-options.service.d.ts","sourceRoot":"","sources":["../../../echart/services/echarts-options.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EACL,wBAAwB,EACxB,YAAY,EAOZ,mBAAmB,EACpB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAA4B,MAAM,8BAA8B,CAAC;AAEjG,OAAO,EAAe,MAAM,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAa,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAevD,qBACa,qBAAqB;IAM9B,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,S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ext, ViewContext } from '@c8y/ngx-components';
|
|
2
|
+
import { canActivateDatapointExplorer } from '@c8y/ngx-components/datapoint-explorer';
|
|
3
|
+
|
|
4
|
+
const dataExplorerMeasurementsFeature = [
|
|
5
|
+
hookRoute({
|
|
6
|
+
context: ViewContext.Device,
|
|
7
|
+
path: 'measurements-v2',
|
|
8
|
+
priority: 800,
|
|
9
|
+
icon: 'line-chart',
|
|
10
|
+
label: gettext('Measurements'),
|
|
11
|
+
loadComponent: () => import('@c8y/ngx-components/datapoint-explorer/view').then(m => m.DatapointExplorerComponent),
|
|
12
|
+
featureId: 'dataExplorer',
|
|
13
|
+
canActivate: [canActivateDatapointExplorer],
|
|
14
|
+
data: {
|
|
15
|
+
settings: {
|
|
16
|
+
hideWorkspaceConfig: true,
|
|
17
|
+
hideExportSelector: true,
|
|
18
|
+
hideWidgetActions: true,
|
|
19
|
+
timeContext: { interval: 'hours' }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}),
|
|
23
|
+
hookPreview({
|
|
24
|
+
key: 'ui.datapoint-explorer.v2',
|
|
25
|
+
label: 'Data point explorer',
|
|
26
|
+
description: () => import('@c8y/style/markdown-files/datapoint-explorer-preview.md').then(m => m.default),
|
|
27
|
+
settings: {
|
|
28
|
+
reload: true
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Generated bundle index. Do not edit.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
export { dataExplorerMeasurementsFeature };
|
|
38
|
+
//# sourceMappingURL=c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-datapoint-explorer-devicemanagement.mjs","sources":["../../datapoint-explorer/devicemanagement/index.ts","../../datapoint-explorer/devicemanagement/c8y-ngx-components-datapoint-explorer-devicemanagement.ts"],"sourcesContent":["import { gettext, hookPreview, hookRoute, ViewContext } from '@c8y/ngx-components';\nimport { canActivateDatapointExplorer } from '@c8y/ngx-components/datapoint-explorer';\n\nexport const dataExplorerMeasurementsFeature = [\n hookRoute({\n context: ViewContext.Device,\n path: 'measurements-v2',\n priority: 800,\n icon: 'line-chart',\n label: gettext('Measurements'),\n loadComponent: () =>\n import('@c8y/ngx-components/datapoint-explorer/view').then(m => m.DatapointExplorerComponent),\n featureId: 'dataExplorer',\n canActivate: [canActivateDatapointExplorer],\n data: {\n settings: {\n hideWorkspaceConfig: true,\n hideExportSelector: true,\n hideWidgetActions: true,\n timeContext: { interval: 'hours' }\n }\n }\n }),\n hookPreview({\n key: 'ui.datapoint-explorer.v2',\n label: 'Data point explorer',\n description: () =>\n import('@c8y/style/markdown-files/datapoint-explorer-preview.md').then(m => m.default),\n settings: {\n reload: true\n }\n })\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGa,MAAA,+BAA+B,GAAG;AAC7C,IAAA,SAAS,CAAC;QACR,OAAO,EAAE,WAAW,CAAC,MAAM;AAC3B,QAAA,IAAI,EAAE,iBAAiB;AACvB,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,IAAI,EAAE,YAAY;AAClB,QAAA,KAAK,EAAE,OAAO,CAAC,cAAc,CAAC;AAC9B,QAAA,aAAa,EAAE,MACb,OAAO,6CAA6C,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,0BAA0B,CAAC;AAC/F,QAAA,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,CAAC,4BAA4B,CAAC;AAC3C,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE;AACR,gBAAA,mBAAmB,EAAE,IAAI;AACzB,gBAAA,kBAAkB,EAAE,IAAI;AACxB,gBAAA,iBAAiB,EAAE,IAAI;AACvB,gBAAA,WAAW,EAAE,EAAE,QAAQ,EAAE,OAAO;AACjC;AACF;KACF,CAAC;AACF,IAAA,WAAW,CAAC;AACV,QAAA,GAAG,EAAE,0BAA0B;AAC/B,QAAA,KAAK,EAAE,qBAAqB;AAC5B,QAAA,WAAW,EAAE,MACX,OAAO,yDAAyD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;AACxF,QAAA,QAAQ,EAAE;AACR,YAAA,MAAM,EAAE;AACT;KACF;;;AC/BH;;AAEG;;;;"}
|