@c8y/ngx-components 1018.503.45 → 1018.503.49

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 (63) hide show
  1. package/context-dashboard/add-dashboard.factory.d.ts +3 -2
  2. package/context-dashboard/context-dashboard.model.d.ts +16 -1
  3. package/context-dashboard/context-dashboard.service.d.ts +4 -2
  4. package/context-dashboard/report-dashboard/report-dashboard-list.component.d.ts +3 -2
  5. package/core/common/ApplicationOptions.d.ts +2 -2
  6. package/core/login/credentials.component.d.ts +1 -3
  7. package/core/login/login.component.d.ts +3 -1
  8. package/esm2020/context-dashboard/add-dashboard.factory.mjs +17 -5
  9. package/esm2020/context-dashboard/context-dashboard.component.mjs +24 -4
  10. package/esm2020/context-dashboard/context-dashboard.model.mjs +19 -4
  11. package/esm2020/context-dashboard/context-dashboard.service.mjs +21 -6
  12. package/esm2020/context-dashboard/dashboard-availability.component.mjs +3 -3
  13. package/esm2020/context-dashboard/report-dashboard/report-dashboard-list.component.mjs +21 -6
  14. package/esm2020/core/common/ApplicationOptions.mjs +1 -1
  15. package/esm2020/core/login/credentials.component.mjs +15 -18
  16. package/esm2020/core/login/login.component.mjs +18 -15
  17. package/esm2020/widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.mjs +17 -9
  18. package/esm2020/widgets/implementations/map/map-widget.component.mjs +26 -11
  19. package/esm2020/widgets/implementations/three-d-rotation/lazy-box-model/lazy-load-box-model.mjs +3 -3
  20. package/esm2020/widgets/implementations/three-d-rotation/lazy-phone-model/lazy-load-phone-model.mjs +3 -3
  21. package/fesm2015/c8y-ngx-components-context-dashboard.mjs +91 -15
  22. package/fesm2015/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  23. package/fesm2015/c8y-ngx-components-widgets-implementations-device-control-message.mjs +19 -8
  24. package/fesm2015/c8y-ngx-components-widgets-implementations-device-control-message.mjs.map +1 -1
  25. package/fesm2015/c8y-ngx-components-widgets-implementations-map.mjs +37 -20
  26. package/fesm2015/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
  27. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-box-model.mjs +2 -2
  28. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-box-model.mjs.map +1 -1
  29. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-phone-model.mjs +2 -2
  30. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-phone-model.mjs.map +1 -1
  31. package/fesm2015/c8y-ngx-components.mjs +11 -11
  32. package/fesm2015/c8y-ngx-components.mjs.map +1 -1
  33. package/fesm2020/c8y-ngx-components-context-dashboard.mjs +91 -15
  34. package/fesm2020/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  35. package/fesm2020/c8y-ngx-components-widgets-implementations-device-control-message.mjs +15 -8
  36. package/fesm2020/c8y-ngx-components-widgets-implementations-device-control-message.mjs.map +1 -1
  37. package/fesm2020/c8y-ngx-components-widgets-implementations-map.mjs +25 -13
  38. package/fesm2020/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
  39. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-box-model.mjs +2 -2
  40. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-box-model.mjs.map +1 -1
  41. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-phone-model.mjs +2 -2
  42. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-lazy-phone-model.mjs.map +1 -1
  43. package/fesm2020/c8y-ngx-components.mjs +11 -11
  44. package/fesm2020/c8y-ngx-components.mjs.map +1 -1
  45. package/package.json +1 -1
  46. package/widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.d.ts +4 -2
  47. package/widgets/implementations/map/map-widget.component.d.ts +7 -4
  48. package/widgets/implementations/three-d-rotation/lazy-box-model/lazy-load-box-model.d.ts +79 -1
  49. package/widgets/implementations/three-d-rotation/lazy-phone-model/lazy-load-phone-model.d.ts +76 -1
  50. package/esm2020/widgets/implementations/three-d-rotation/box-model/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs +0 -5
  51. package/esm2020/widgets/implementations/three-d-rotation/box-model/index.mjs +0 -4
  52. package/esm2020/widgets/implementations/three-d-rotation/phone-model/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs +0 -5
  53. package/esm2020/widgets/implementations/three-d-rotation/phone-model/index.mjs +0 -4
  54. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs +0 -10
  55. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs.map +0 -1
  56. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs +0 -10
  57. package/fesm2015/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs.map +0 -1
  58. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs +0 -10
  59. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs.map +0 -1
  60. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs +0 -10
  61. package/fesm2020/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs.map +0 -1
  62. package/widgets/implementations/three-d-rotation/box-model/index.d.ts +0 -1
  63. package/widgets/implementations/three-d-rotation/phone-model/index.d.ts +0 -1
@@ -1 +1,79 @@
1
- export declare function loadBoxModel(): Promise<any>;
1
+ export declare function loadBoxModel(): Promise<{
2
+ metadata: {
3
+ version: number;
4
+ type: string;
5
+ generator: string;
6
+ };
7
+ geometries: {
8
+ uuid: string;
9
+ type: string;
10
+ data: {
11
+ attributes: {
12
+ position: {
13
+ itemSize: number;
14
+ type: string;
15
+ array: number[];
16
+ normalized: boolean;
17
+ };
18
+ normal: {
19
+ itemSize: number;
20
+ type: string;
21
+ array: number[];
22
+ normalized: boolean;
23
+ };
24
+ color: {
25
+ itemSize: number;
26
+ type: string;
27
+ array: number[];
28
+ normalized: boolean;
29
+ };
30
+ };
31
+ boundingSphere: {
32
+ center: number[];
33
+ radius: number;
34
+ };
35
+ };
36
+ }[];
37
+ materials: {
38
+ uuid: string;
39
+ type: string;
40
+ name: string;
41
+ color: number;
42
+ roughness: number;
43
+ metalness: number;
44
+ emissive: number;
45
+ envMapIntensity: number;
46
+ vertexColors: boolean;
47
+ depthFunc: number;
48
+ depthTest: boolean;
49
+ depthWrite: boolean;
50
+ colorWrite: boolean;
51
+ stencilWrite: boolean;
52
+ stencilWriteMask: number;
53
+ stencilFunc: number;
54
+ stencilRef: number;
55
+ stencilFuncMask: number;
56
+ stencilFail: number;
57
+ stencilZFail: number;
58
+ stencilZPass: number;
59
+ }[];
60
+ object: {
61
+ uuid: string;
62
+ type: string;
63
+ name: string;
64
+ layers: number;
65
+ matrix: number[];
66
+ children: {
67
+ uuid: string;
68
+ type: string;
69
+ name: string;
70
+ userData: {
71
+ name: string;
72
+ };
73
+ layers: number;
74
+ matrix: number[];
75
+ geometry: string;
76
+ material: string;
77
+ }[];
78
+ };
79
+ }>;
@@ -1 +1,76 @@
1
- export declare function loadPhoneModel(): Promise<any>;
1
+ export declare function loadPhoneModel(): Promise<{
2
+ metadata: {
3
+ version: number;
4
+ type: string;
5
+ generator: string;
6
+ };
7
+ geometries: {
8
+ uuid: string;
9
+ type: string;
10
+ data: {
11
+ attributes: {
12
+ position: {
13
+ itemSize: number;
14
+ type: string;
15
+ array: number[];
16
+ normalized: boolean;
17
+ };
18
+ normal: {
19
+ itemSize: number;
20
+ type: string;
21
+ array: number[];
22
+ normalized: boolean;
23
+ };
24
+ color: {
25
+ itemSize: number;
26
+ type: string;
27
+ array: number[];
28
+ normalized: boolean;
29
+ };
30
+ };
31
+ boundingSphere: {
32
+ center: number[];
33
+ radius: number;
34
+ };
35
+ };
36
+ }[];
37
+ materials: {
38
+ uuid: string;
39
+ type: string;
40
+ color: number;
41
+ reflectivity: number;
42
+ refractionRatio: number;
43
+ vertexColors: boolean;
44
+ depthFunc: number;
45
+ depthTest: boolean;
46
+ depthWrite: boolean;
47
+ colorWrite: boolean;
48
+ stencilWrite: boolean;
49
+ stencilWriteMask: number;
50
+ stencilFunc: number;
51
+ stencilRef: number;
52
+ stencilFuncMask: number;
53
+ stencilFail: number;
54
+ stencilZFail: number;
55
+ stencilZPass: number;
56
+ }[];
57
+ object: {
58
+ uuid: string;
59
+ type: string;
60
+ name: string;
61
+ layers: number;
62
+ matrix: number[];
63
+ children: {
64
+ uuid: string;
65
+ type: string;
66
+ name: string;
67
+ userData: {
68
+ name: string;
69
+ };
70
+ layers: number;
71
+ matrix: number[];
72
+ geometry: string;
73
+ material: string;
74
+ }[];
75
+ };
76
+ }>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYzh5LW5neC1jb21wb25lbnRzLXdpZGdldHMtaW1wbGVtZW50YXRpb25zLXRocmVlLWQtcm90YXRpb24tYm94LW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vd2lkZ2V0cy9pbXBsZW1lbnRhdGlvbnMvdGhyZWUtZC1yb3RhdGlvbi9ib3gtbW9kZWwvYzh5LW5neC1jb21wb25lbnRzLXdpZGdldHMtaW1wbGVtZW50YXRpb25zLXRocmVlLWQtcm90YXRpb24tYm94LW1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,4 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- export const { boxModel } = require('./model.js');
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi93aWRnZXRzL2ltcGxlbWVudGF0aW9ucy90aHJlZS1kLXJvdGF0aW9uL2JveC1tb2RlbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxRUFBcUU7QUFDckUsOERBQThEO0FBQzlELE1BQU0sQ0FBQyxNQUFNLEVBQUUsUUFBUSxFQUFFLEdBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVxdWlyZSBlbnN1cmVzIHRoYXQgdGhlIG1vZGVsIGlzIG5vdCBhY3R1YWxseSBpbnRlcnByZXRlZCBieSB0c2MuXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLXZhci1yZXF1aXJlc1xuZXhwb3J0IGNvbnN0IHsgYm94TW9kZWwgfSA9IHJlcXVpcmUoJy4vbW9kZWwuanMnKTtcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYzh5LW5neC1jb21wb25lbnRzLXdpZGdldHMtaW1wbGVtZW50YXRpb25zLXRocmVlLWQtcm90YXRpb24tcGhvbmUtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi93aWRnZXRzL2ltcGxlbWVudGF0aW9ucy90aHJlZS1kLXJvdGF0aW9uL3Bob25lLW1vZGVsL2M4eS1uZ3gtY29tcG9uZW50cy13aWRnZXRzLWltcGxlbWVudGF0aW9ucy10aHJlZS1kLXJvdGF0aW9uLXBob25lLW1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -1,4 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- export const { phoneModel } = require('./model.js');
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi93aWRnZXRzL2ltcGxlbWVudGF0aW9ucy90aHJlZS1kLXJvdGF0aW9uL3Bob25lLW1vZGVsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHFFQUFxRTtBQUNyRSw4REFBOEQ7QUFDOUQsTUFBTSxDQUFDLE1BQU0sRUFBRSxVQUFVLEVBQUUsR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZXF1aXJlIGVuc3VyZXMgdGhhdCB0aGUgbW9kZWwgaXMgbm90IGFjdHVhbGx5IGludGVycHJldGVkIGJ5IHRzYy5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tdmFyLXJlcXVpcmVzXG5leHBvcnQgY29uc3QgeyBwaG9uZU1vZGVsIH0gPSByZXF1aXJlKCcuL21vZGVsLmpzJyk7XG4iXX0=
@@ -1,10 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const { boxModel } = require('./model.js');
4
-
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
-
9
- export { boxModel };
10
- //# sourceMappingURL=c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs","sources":["../../widgets/implementations/three-d-rotation/box-model/index.ts","../../widgets/implementations/three-d-rotation/box-model/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.ts"],"sourcesContent":["// require ensures that the model is not actually interpreted by tsc.\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nexport const { boxModel } = require('./model.js');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;AACa,MAAA,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,YAAY;;ACFhD;;AAEG;;;;"}
@@ -1,10 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const { phoneModel } = require('./model.js');
4
-
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
-
9
- export { phoneModel };
10
- //# sourceMappingURL=c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs","sources":["../../widgets/implementations/three-d-rotation/phone-model/index.ts","../../widgets/implementations/three-d-rotation/phone-model/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.ts"],"sourcesContent":["// require ensures that the model is not actually interpreted by tsc.\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nexport const { phoneModel } = require('./model.js');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;AACa,MAAA,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,YAAY;;ACFlD;;AAEG;;;;"}
@@ -1,10 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const { boxModel } = require('./model.js');
4
-
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
-
9
- export { boxModel };
10
- //# sourceMappingURL=c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.mjs","sources":["../../widgets/implementations/three-d-rotation/box-model/index.ts","../../widgets/implementations/three-d-rotation/box-model/c8y-ngx-components-widgets-implementations-three-d-rotation-box-model.ts"],"sourcesContent":["// require ensures that the model is not actually interpreted by tsc.\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nexport const { boxModel } = require('./model.js');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;AACa,MAAA,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,YAAY;;ACFhD;;AAEG;;;;"}
@@ -1,10 +0,0 @@
1
- // require ensures that the model is not actually interpreted by tsc.
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const { phoneModel } = require('./model.js');
4
-
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
-
9
- export { phoneModel };
10
- //# sourceMappingURL=c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.mjs","sources":["../../widgets/implementations/three-d-rotation/phone-model/index.ts","../../widgets/implementations/three-d-rotation/phone-model/c8y-ngx-components-widgets-implementations-three-d-rotation-phone-model.ts"],"sourcesContent":["// require ensures that the model is not actually interpreted by tsc.\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nexport const { phoneModel } = require('./model.js');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;AACa,MAAA,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,YAAY;;ACFlD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- export declare const boxModel: any;
@@ -1 +0,0 @@
1
- export declare const phoneModel: any;