@davra/ui-core 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (89) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/types/components/index.d.ts +3 -3
  3. package/dist/types/components/labels/LabelInput.vue.d.ts +46 -0
  4. package/dist/types/components/labels/LabelsSelector.vue.d.ts +24 -0
  5. package/dist/types/components/labels/index.d.ts +3 -0
  6. package/dist/types/components/labels/labelInput.test.d.ts +1 -0
  7. package/dist/types/components/labels/labelsSelector.test.d.ts +1 -0
  8. package/dist/types/components/modals/ConfirmModal.vue.d.ts +21 -0
  9. package/dist/types/components/modals/DeleteModal.vue.d.ts +34 -0
  10. package/dist/types/components/modals/Modal.vue.d.ts +26 -0
  11. package/dist/types/components/modals/ViewObjectModal.vue.d.ts +44 -0
  12. package/dist/types/components/modals/index.d.ts +5 -0
  13. package/dist/types/components/utils/ColorInput.vue.d.ts +14 -0
  14. package/dist/types/components/utils/IconInput.vue.d.ts +14 -0
  15. package/dist/types/components/utils/ScrollText.vue.d.ts +9 -0
  16. package/dist/types/components/utils/colorInput.test.d.ts +1 -0
  17. package/dist/types/components/utils/index.d.ts +4 -0
  18. package/dist/types/components/utils/snackbar.test.d.ts +1 -0
  19. package/dist/types/index.d.ts +2 -2
  20. package/dist/types/services/davraApi.d.ts +1 -3
  21. package/dist/types/services/devicesCountersService.d.ts +1 -1
  22. package/dist/types/services/devicesService.d.ts +1 -1
  23. package/dist/types/services/index.d.ts +3 -2
  24. package/dist/types/services/metricsCountersService.d.ts +1 -1
  25. package/dist/types/services/metricsService.d.ts +1 -1
  26. package/dist/types/services/timeseriesService.d.ts +1 -1
  27. package/dist/types/services/twinTypesService.d.ts +1 -1
  28. package/dist/types/services/twinsCountersService.d.ts +1 -1
  29. package/dist/types/services/twinsService.d.ts +1 -1
  30. package/dist/types/services/userSessionService.d.ts +1 -1
  31. package/dist/types/stores/devices.d.ts +1 -1
  32. package/dist/types/stores/metrics.d.ts +1 -1
  33. package/dist/types/stores/twinTypes.d.ts +1 -1
  34. package/dist/types/stores/twins.d.ts +1 -1
  35. package/dist/types/stores/userSession.d.ts +1 -1
  36. package/dist/ui-core.es.js +1246 -1595
  37. package/package.json +8 -3
  38. package/dist/types/components/ComponentA.vue.d.ts +0 -12
  39. package/src/assets/fonts/myfont.woff +0 -0
  40. package/src/assets/main.scss +0 -17
  41. package/src/auto-imports.d.ts +0 -200
  42. package/src/components/ComponentA.vue +0 -13
  43. package/src/components/ComponentB.vue +0 -26
  44. package/src/components/index.ts +0 -7
  45. package/src/constants/MyConstants.ts +0 -1
  46. package/src/constants/index.ts +0 -5
  47. package/src/env.d.ts +0 -8
  48. package/src/index.ts +0 -23
  49. package/src/services/davraApi.ts +0 -18
  50. package/src/services/devicesCountersService.test.ts +0 -209
  51. package/src/services/devicesCountersService.ts +0 -117
  52. package/src/services/devicesService.test.ts +0 -207
  53. package/src/services/devicesService.ts +0 -110
  54. package/src/services/index.ts +0 -22
  55. package/src/services/labelsService.test.ts +0 -124
  56. package/src/services/labelsService.ts +0 -71
  57. package/src/services/metricsCountersService.test.ts +0 -44
  58. package/src/services/metricsCountersService.ts +0 -24
  59. package/src/services/metricsService.test.ts +0 -97
  60. package/src/services/metricsService.ts +0 -54
  61. package/src/services/timeseriesService.test.ts +0 -86
  62. package/src/services/timeseriesService.ts +0 -24
  63. package/src/services/twinTypesService.test.ts +0 -74
  64. package/src/services/twinTypesService.ts +0 -24
  65. package/src/services/twinsCountersService.test.ts +0 -72
  66. package/src/services/twinsCountersService.ts +0 -40
  67. package/src/services/twinsService.test.ts +0 -228
  68. package/src/services/twinsService.ts +0 -137
  69. package/src/services/userSessionService.test.ts +0 -74
  70. package/src/services/userSessionService.ts +0 -82
  71. package/src/stores/alertMessages.test.ts +0 -27
  72. package/src/stores/alertMessages.ts +0 -26
  73. package/src/stores/devices.test.ts +0 -149
  74. package/src/stores/devices.ts +0 -78
  75. package/src/stores/index.ts +0 -12
  76. package/src/stores/labels.test.ts +0 -72
  77. package/src/stores/labels.ts +0 -39
  78. package/src/stores/metrics.test.ts +0 -116
  79. package/src/stores/metrics.ts +0 -71
  80. package/src/stores/twinTypes.test.ts +0 -71
  81. package/src/stores/twinTypes.ts +0 -36
  82. package/src/stores/twins.test.ts +0 -148
  83. package/src/stores/twins.ts +0 -78
  84. package/src/stores/userSession.test.ts +0 -107
  85. package/src/stores/userSession.ts +0 -57
  86. package/src/types.ts +0 -173
  87. package/src/utils/MyUtil.ts +0 -7
  88. package/src/utils/index.ts +0 -5
  89. /package/dist/types/components/{ComponentB.vue.d.ts → utils/Snackbar.vue.d.ts} +0 -0
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .counter label[data-v-31c691d5]{padding-right:10px;font-weight:700}.counter .count[data-v-31c691d5]{padding:0 10px}@font-face{font-family:myfont;src:url(data:font/woff;base64,d09GRgABAAAAAATMAAsAAAAABIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIGBGNtYXAAAAFoAAAAVAAAAFQWfNQ7Z2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAMQAAADE9iu5ZGhlYWQAAAKIAAAANgAAADYfdnyraGhlYQAAAsAAAAAkAAAAJAfCA8ZobXR4AAAC5AAAABQAAAAUCgAAAGxvY2EAAAL4AAAADAAAAAwAKAB2bWF4cAAAAwQAAAAgAAAAIAAHACxuYW1lAAADJAAAAYYAAAGGmUoJ+3Bvc3QAAASsAAAAIAAAACAAAwAAAAMDAAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6doDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOna//3//wAAAAAAIOna//3//wAB/+MWKgADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAA/8wEAAOAACkAAAEiBw4BBwYHJicuAScmIyIHDgEHBhUUFx4BFxYXNjc+ATc2NTQnLgEnJgLzKCUlPxkZEBAZGT8lJSg4MTFJFRUzM5lZWk5KWVmbNTQVFUkxMQOADw8yICEiIiEgMg8PFRVJMTE4cU5Pjk5NcG9PT5BOT204MTFJFRUAAAEAAAAAAABxV9/FXw889QALBAAAAAAA3iwcMQAAAADeLBwxAAD/zAQAA4AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAUEAAAAAAAAAAAAAAACAAAABAAAAAAAAAAACgAUAB4AYgABAAAABQAqAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==)}[class^=icon-],[class*=" icon-"]{font-family:myfont!important}.icon-heart:before{content:""}.global-example{color:red}
1
+ .scroll-text[data-v-4d66a865]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word}.scroll-text[data-v-4d66a865]:hover{width:100%;text-overflow:initial;overflow:visible!important;animation-name:scroll-text-4d66a865;animation-duration:var(--2e2ac96b);animation-timing-function:linear;animation-delay:0s;animation-iteration-count:1;animation-direction:normal;animation-fill-mode:forwards}@keyframes scroll-text-4d66a865{0%{transform:translate(0)}to{transform:translate(var(--e0628022))}}@font-face{font-family:myfont;src:url(data:font/woff;base64,d09GRgABAAAAAATMAAsAAAAABIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIGBGNtYXAAAAFoAAAAVAAAAFQWfNQ7Z2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAMQAAADE9iu5ZGhlYWQAAAKIAAAANgAAADYfdnyraGhlYQAAAsAAAAAkAAAAJAfCA8ZobXR4AAAC5AAAABQAAAAUCgAAAGxvY2EAAAL4AAAADAAAAAwAKAB2bWF4cAAAAwQAAAAgAAAAIAAHACxuYW1lAAADJAAAAYYAAAGGmUoJ+3Bvc3QAAASsAAAAIAAAACAAAwAAAAMDAAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6doDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOna//3//wAAAAAAIOna//3//wAB/+MWKgADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAA/8wEAAOAACkAAAEiBw4BBwYHJicuAScmIyIHDgEHBhUUFx4BFxYXNjc+ATc2NTQnLgEnJgLzKCUlPxkZEBAZGT8lJSg4MTFJFRUzM5lZWk5KWVmbNTQVFUkxMQOADw8yICEiIiEgMg8PFRVJMTE4cU5Pjk5NcG9PT5BOT204MTFJFRUAAAEAAAAAAABxV9/FXw889QALBAAAAAAA3iwcMQAAAADeLBwxAAD/zAQAA4AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAUEAAAAAAAAAAAAAAACAAAABAAAAAAAAAAACgAUAB4AYgABAAAABQAqAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==)}[class^=icon-],[class*=" icon-"]{font-family:myfont!important}.icon-heart:before{content:""}.global-example{color:red}
@@ -1,3 +1,3 @@
1
- import ComponentA from './ComponentA.vue';
2
- import ComponentB from './ComponentB.vue';
3
- export { ComponentA, ComponentB };
1
+ export * from './labels';
2
+ export * from './modals';
3
+ export * from './utils';
@@ -0,0 +1,46 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ labels: {
3
+ type: globalThis.PropType<string[]>;
4
+ required: true;
5
+ };
6
+ twintypes: {
7
+ type: globalThis.PropType<string[]>;
8
+ required: true;
9
+ };
10
+ labelkey: {
11
+ type: globalThis.PropType<string>;
12
+ required: true;
13
+ };
14
+ labelvalue: {
15
+ type: globalThis.PropType<string>;
16
+ required: true;
17
+ };
18
+ readonly: {
19
+ type: globalThis.PropType<boolean>;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:labelkey" | "update:labelvalue" | "removelabel")[], "update:labelkey" | "update:labelvalue" | "removelabel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
22
+ labels: {
23
+ type: globalThis.PropType<string[]>;
24
+ required: true;
25
+ };
26
+ twintypes: {
27
+ type: globalThis.PropType<string[]>;
28
+ required: true;
29
+ };
30
+ labelkey: {
31
+ type: globalThis.PropType<string>;
32
+ required: true;
33
+ };
34
+ labelvalue: {
35
+ type: globalThis.PropType<string>;
36
+ required: true;
37
+ };
38
+ readonly: {
39
+ type: globalThis.PropType<boolean>;
40
+ };
41
+ }>> & {
42
+ "onUpdate:labelkey"?: ((...args: any[]) => any) | undefined;
43
+ "onUpdate:labelvalue"?: ((...args: any[]) => any) | undefined;
44
+ onRemovelabel?: ((...args: any[]) => any) | undefined;
45
+ }, {}, {}>;
46
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: globalThis.PropType<{
4
+ [key: string]: string;
5
+ }>;
6
+ required: true;
7
+ };
8
+ readonly: {
9
+ type: globalThis.PropType<boolean>;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
12
+ modelValue: {
13
+ type: globalThis.PropType<{
14
+ [key: string]: string;
15
+ }>;
16
+ required: true;
17
+ };
18
+ readonly: {
19
+ type: globalThis.PropType<boolean>;
20
+ };
21
+ }>> & {
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }, {}, {}>;
24
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import LabelsSelector from './LabelsSelector.vue';
2
+ import LabelInput from './LabelInput.vue';
3
+ export { LabelsSelector, LabelInput };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: globalThis.PropType<string>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "confirm"[], "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
7
+ title: {
8
+ type: globalThis.PropType<string>;
9
+ required: true;
10
+ };
11
+ }>> & {
12
+ onConfirm?: ((...args: any[]) => any) | undefined;
13
+ }, {}, {}>, {
14
+ default?(_: {}): any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,34 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: globalThis.PropType<string>;
4
+ required: true;
5
+ };
6
+ modelValue: {
7
+ type: globalThis.PropType<boolean>;
8
+ };
9
+ parentActivator: {
10
+ type: globalThis.PropType<boolean>;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "confirm")[], "update:modelValue" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
13
+ title: {
14
+ type: globalThis.PropType<string>;
15
+ required: true;
16
+ };
17
+ modelValue: {
18
+ type: globalThis.PropType<boolean>;
19
+ };
20
+ parentActivator: {
21
+ type: globalThis.PropType<boolean>;
22
+ };
23
+ }>> & {
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ onConfirm?: ((...args: any[]) => any) | undefined;
26
+ }, {}, {}>, {
27
+ default?(_: {}): any;
28
+ }>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: globalThis.PropType<boolean>;
4
+ };
5
+ parentActivator: {
6
+ type: globalThis.PropType<boolean>;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "confirm")[], "update:modelValue" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
9
+ modelValue: {
10
+ type: globalThis.PropType<boolean>;
11
+ };
12
+ parentActivator: {
13
+ type: globalThis.PropType<boolean>;
14
+ };
15
+ }>> & {
16
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
+ onConfirm?: ((...args: any[]) => any) | undefined;
18
+ }, {}, {}>, {
19
+ default?(_: {}): any;
20
+ }>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,44 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: globalThis.PropType<string>;
4
+ required: true;
5
+ };
6
+ modelValue: {
7
+ type: globalThis.PropType<boolean>;
8
+ };
9
+ parentActivator: {
10
+ type: globalThis.PropType<boolean>;
11
+ };
12
+ hideActions: {
13
+ type: globalThis.PropType<boolean>;
14
+ };
15
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "confirm")[], "update:modelValue" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
16
+ title: {
17
+ type: globalThis.PropType<string>;
18
+ required: true;
19
+ };
20
+ modelValue: {
21
+ type: globalThis.PropType<boolean>;
22
+ };
23
+ parentActivator: {
24
+ type: globalThis.PropType<boolean>;
25
+ };
26
+ hideActions: {
27
+ type: globalThis.PropType<boolean>;
28
+ };
29
+ }>> & {
30
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
+ onConfirm?: ((...args: any[]) => any) | undefined;
32
+ }, {}, {}>, {
33
+ default?(_: {}): any;
34
+ actions?(_: {
35
+ confirm: () => void;
36
+ dialog: boolean;
37
+ }): any;
38
+ }>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,5 @@
1
+ import Modal from './Modal.vue';
2
+ import ViewObjectModal from './ViewObjectModal.vue';
3
+ import DeleteModal from './DeleteModal.vue';
4
+ import ConfirmModal from './ConfirmModal.vue';
5
+ export { Modal, ViewObjectModal, DeleteModal, ConfirmModal };
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: globalThis.PropType<any>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
7
+ modelValue: {
8
+ type: globalThis.PropType<any>;
9
+ required: true;
10
+ };
11
+ }>> & {
12
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ }, {}, {}>;
14
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: globalThis.PropType<any>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
7
+ modelValue: {
8
+ type: globalThis.PropType<any>;
9
+ required: true;
10
+ };
11
+ }>> & {
12
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ }, {}, {}>;
14
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import ColorInput from "./ColorInput.vue";
2
+ import ScrollText from "./ScrollText.vue";
3
+ import Snackbar from "./Snackbar.vue";
4
+ export { ColorInput, ScrollText, Snackbar, };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
- declare function install(app: App): void;
2
+ declare function installCoreComponents(app: App): void;
3
3
  import './assets/main.scss';
4
- export { install };
4
+ export { installCoreComponents };
5
5
  export * from './components';
6
6
  export * from './constants';
7
7
  export * from './utils';
@@ -1,5 +1,3 @@
1
- declare const DavraApiConfig: {
2
- baseURL: string;
3
- };
1
+ declare const DavraApiConfig: any;
4
2
  declare const DavraApiClient: (defaultUrl?: string) => import("axios").AxiosInstance;
5
3
  export { DavraApiConfig, DavraApiClient };
@@ -1,4 +1,4 @@
1
- import type { DeviceCounter, DeviceCounterMetric } from '~/types';
1
+ import type { DeviceCounter, DeviceCounterMetric } from '../types';
2
2
  declare const _default: {
3
3
  getDevicesCountersMetric: (filters?: string | undefined) => Promise<DeviceCounterMetric[]>;
4
4
  getDevicesCountersMetricByUUID: (uuid: string) => Promise<DeviceCounterMetric[]>;
@@ -1,4 +1,4 @@
1
- import type { Device } from '~/types';
1
+ import type { Device } from '../types';
2
2
  declare const _default: {
3
3
  getDevices: (start?: number | undefined, limit?: number | undefined, sort?: string | undefined, filters?: string | undefined) => Promise<{
4
4
  totalRecords: number;
@@ -4,7 +4,8 @@ import TwinsCountersService from './twinsCountersService';
4
4
  import DevicesService from './devicesService';
5
5
  import TwinsService from './twinsService';
6
6
  import TimeseriesService from './timeseriesService';
7
- import LabelService from './labelsService';
7
+ import LabelsService from './labelsService';
8
8
  import MetricsService from './metricsService';
9
+ import TwinTypesService from './twinTypesService';
9
10
  export * from './davraApi';
10
- export { UserSessionService, DevicesCountersService, TwinsCountersService, DevicesService, TwinsService, TimeseriesService, LabelService, MetricsService };
11
+ export { UserSessionService, DevicesCountersService, TwinsCountersService, DevicesService, TwinsService, TimeseriesService, MetricsService, LabelsService, TwinTypesService };
@@ -1,4 +1,4 @@
1
- import type { MetricCounter } from '~/types';
1
+ import type { MetricCounter } from '../types';
2
2
  declare const _default: {
3
3
  getMetricsCounters: () => Promise<MetricCounter[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Metric } from '~/types';
1
+ import type { Metric } from '../types';
2
2
  declare const _default: {
3
3
  getMetrics: () => Promise<any[]>;
4
4
  postMetric: (metric: Metric) => Promise<any>;
@@ -1,4 +1,4 @@
1
- import type { TimeseriesDataResponse } from '~/types';
1
+ import type { TimeseriesDataResponse } from '../types';
2
2
  declare const _default: {
3
3
  queryTimeseries: (query: any) => Promise<TimeseriesDataResponse<any> | null>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { TwinType } from '~/types';
1
+ import type { TwinType } from '../types';
2
2
  declare const _default: {
3
3
  getTwinTypes: () => Promise<TwinType[]>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { TwinCounter } from '~/types';
1
+ import type { TwinCounter } from '../types';
2
2
  declare const _default: {
3
3
  getTwinsCountersLatestByUUID: (uuid: string) => Promise<TwinCounter>;
4
4
  getTwinsCountersByUUID: (uuid: string) => Promise<TwinCounter>;
@@ -1,4 +1,4 @@
1
- import type { Twin } from '~/types';
1
+ import type { Twin } from '../types';
2
2
  declare const _default: {
3
3
  getTwins: (start?: number, limit?: number, sort?: string | undefined, filters?: string | undefined) => Promise<{
4
4
  totalRecords: number;
@@ -1,4 +1,4 @@
1
- import type { Permission, User } from '~/types';
1
+ import type { Permission, User } from '../types';
2
2
  declare const _default: {
3
3
  getUser: () => Promise<User | null>;
4
4
  getUserPermissions: (permissions?: {
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { Device } from '~/types';
2
+ import type { Device } from '../types';
3
3
  export declare const useDevicesStore: import("pinia").StoreDefinition<"devices", import("pinia")._UnwrapAll<Pick<{
4
4
  pullDevicesByUUIDs: (uuids: string[], forceClear?: boolean) => Promise<{
5
5
  totalRecords: number;
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { Metric, MetricCounter } from '~/types';
2
+ import type { Metric, MetricCounter } from '../types';
3
3
  export declare const useMetricsStore: import("pinia").StoreDefinition<"metrics", import("pinia")._UnwrapAll<Pick<{
4
4
  metrics: Ref<Metric[]>;
5
5
  metricsCounters: Ref<MetricCounter[]>;
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { TwinType } from '~/types';
2
+ import type { TwinType } from '../types';
3
3
  export declare const useTwinTypesStore: import("pinia").StoreDefinition<"twinTypes", import("pinia")._UnwrapAll<Pick<{
4
4
  twinTypes: Ref<TwinType[]>;
5
5
  pullTwinTypes: () => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { Twin } from '~/types';
2
+ import type { Twin } from '../types';
3
3
  export declare const useTwinsStore: import("pinia").StoreDefinition<"twins", import("pinia")._UnwrapAll<Pick<{
4
4
  pullTwinsByUUIDs: (uuids: string[], forceClear?: boolean) => Promise<{
5
5
  totalRecords: number;
@@ -1,5 +1,5 @@
1
1
  import type { ComputedRef, Ref } from 'vue';
2
- import type { Permission, User } from '~/types';
2
+ import type { Permission, User } from '../types';
3
3
  export declare const useUserSessionStore: import("pinia").StoreDefinition<"userSession", import("pinia")._UnwrapAll<Pick<{
4
4
  user: Ref<User | null>;
5
5
  pullUser: () => Promise<void>;