vuesp-components 3.0.5 → 4.0.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/dist/components/app/types.d.ts +6 -2
- package/dist/components/app/types.d.ts.map +1 -1
- package/dist/components/block/data/BlockDataSettings.vue.d.ts.map +1 -1
- package/dist/components/block/data/BlockMetricStyleDialog.vue.d.ts.map +1 -1
- package/dist/components/block/data/deviceStorage.d.ts.map +1 -1
- package/dist/components/block/data/metricStyles.d.ts +9 -9
- package/dist/components/block/data/metricStyles.d.ts.map +1 -1
- package/dist/components/block/data/types.d.ts +17 -17
- package/dist/components/block/data/types.d.ts.map +1 -1
- package/dist/components/block/data/useBlock.d.ts +20 -20
- package/dist/components/block/index.d.ts +1 -1
- package/dist/components/block/index.d.ts.map +1 -1
- package/dist/components/block/info/types.d.ts +9 -2
- package/dist/components/block/info/types.d.ts.map +1 -1
- package/dist/components/block/scan/BlockScan.vue.d.ts +3 -4
- package/dist/components/block/scan/BlockScan.vue.d.ts.map +1 -1
- package/dist/components/block/scan/types.d.ts +11 -3
- package/dist/components/block/scan/types.d.ts.map +1 -1
- package/dist/components/block/status/types.d.ts +9 -2
- package/dist/components/block/status/types.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +36 -36
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardList.vue.d.ts +4 -4
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +3 -3
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/types.d.ts +2 -2
- package/dist/components/dashboard/edit/types.d.ts.map +1 -1
- package/dist/components/index.es.js +41 -42
- package/dist/components/ui/button/VButton.vue.d.ts.map +1 -1
- package/dist/components/ui/button/types.d.ts +4 -4
- package/dist/components/ui/button/types.d.ts.map +1 -1
- package/dist/components/ui/card/types.d.ts +6 -6
- package/dist/components/ui/card/types.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts +2 -2
- package/dist/components/ui/list/types.d.ts +2 -2
- package/dist/components/ui/list/types.d.ts.map +1 -1
- package/dist/composables/types.d.ts +13 -13
- package/dist/composables/types.d.ts.map +1 -1
- package/dist/composables/useForms.d.ts +2 -2
- package/dist/composables/useForms.d.ts.map +1 -1
- package/dist/dashboard/index.d.ts +7 -5
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.es.js +30 -40
- package/dist/dashboard/types.d.ts +17 -8
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/plugins/i18n/index.d.ts +2 -2
- package/dist/plugins/i18n/index.d.ts.map +1 -1
- package/dist/plugins/i18n/types.d.ts +10 -10
- package/dist/plugins/i18n/types.d.ts.map +1 -1
- package/dist/plugins/types.d.ts +4 -4
- package/dist/plugins/types.d.ts.map +1 -1
- package/dist/types/components.d.ts +1 -1
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/directives/index.d.ts +2 -2
- package/dist/utils/directives/index.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/types/messages.d.ts +0 -193
- package/dist/types/messages.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMenuItem, INotification
|
|
1
|
+
import { IMenuItem, INotification } from '../../types';
|
|
2
2
|
export interface IAppAsideProps {
|
|
3
3
|
isSidebar?: boolean;
|
|
4
4
|
}
|
|
@@ -28,7 +28,11 @@ export interface IAppNotificationEmits {
|
|
|
28
28
|
(e: 'close', event: Event): void;
|
|
29
29
|
(e: 'remove' | 'read', item: INotification): void;
|
|
30
30
|
}
|
|
31
|
-
export interface IAppProgressProps
|
|
31
|
+
export interface IAppProgressProps {
|
|
32
|
+
status?: number;
|
|
33
|
+
empty?: number;
|
|
34
|
+
size?: number;
|
|
35
|
+
length?: number;
|
|
32
36
|
timeout?: number;
|
|
33
37
|
}
|
|
34
38
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/app/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/app/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,aAAa,EAAE,aAAa,EAAE,CAAC;CAChC;AACD,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,MAAM,WAAW,YAAY;IAC3B,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,aAAa,EAAE,CAAC;CAChC;AACD,MAAM,WAAW,qBAAqB;IACpC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockDataSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/BlockDataSettings.vue"],"names":[],"mappings":"AAmiBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"BlockDataSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/BlockDataSettings.vue"],"names":[],"mappings":"AAmiBA,OAAO,KAAK,EAAqB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAiE,MAAM,SAAS,CAAC;AAgB/J,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;;;;;;;;;;AAglCF,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockMetricStyleDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/BlockMetricStyleDialog.vue"],"names":[],"mappings":"AAAA,OAoGO,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"BlockMetricStyleDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/BlockMetricStyleDialog.vue"],"names":[],"mappings":"AAAA,OAoGO,KAAK,EAAE,YAAY,EAA0D,MAAM,SAAS,CAAC;AAiBpG,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;;;;;;;;AA4OF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceStorage.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/deviceStorage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"deviceStorage.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/deviceStorage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiD,aAAa,EAAgB,MAAM,SAAS,CAAC;AAiP1G,eAAO,MAAM,wBAAwB,GAAI,iBAA4B,KAAG,aAoCvE,CAAC;AAEF,eAAO,MAAM,kBAAkB,eAA6B,CAAC"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { IMetricStyle,
|
|
1
|
+
import { IMetricStyle, TMetricAlign, TMetricColor, TMetricSize, TMetricWeight } from './types';
|
|
2
2
|
export declare const DEFAULT_METRIC_STYLE: Required<IMetricStyle>;
|
|
3
|
-
export declare const METRIC_SIZE_CLASS: Record<
|
|
4
|
-
export declare const METRIC_COLOR_CLASS: Record<
|
|
5
|
-
export declare const METRIC_WEIGHT_CLASS: Record<
|
|
6
|
-
export declare const METRIC_ALIGN_CLASS: Record<
|
|
3
|
+
export declare const METRIC_SIZE_CLASS: Record<TMetricSize, string>;
|
|
4
|
+
export declare const METRIC_COLOR_CLASS: Record<TMetricColor, string>;
|
|
5
|
+
export declare const METRIC_WEIGHT_CLASS: Record<TMetricWeight, string>;
|
|
6
|
+
export declare const METRIC_ALIGN_CLASS: Record<TMetricAlign, string>;
|
|
7
7
|
export declare const METRIC_SIZE_OPTIONS: Array<{
|
|
8
|
-
value:
|
|
8
|
+
value: TMetricSize;
|
|
9
9
|
name: string;
|
|
10
10
|
}>;
|
|
11
11
|
export declare const METRIC_COLOR_OPTIONS: Array<{
|
|
12
|
-
value:
|
|
12
|
+
value: TMetricColor;
|
|
13
13
|
name: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const METRIC_WEIGHT_OPTIONS: Array<{
|
|
16
|
-
value:
|
|
16
|
+
value: TMetricWeight;
|
|
17
17
|
name: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const METRIC_ALIGN_OPTIONS: Array<{
|
|
20
|
-
value:
|
|
20
|
+
value: TMetricAlign;
|
|
21
21
|
name: string;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const metricClasses: (style?: IMetricStyle) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metricStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/metricStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"metricStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/metricStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEpG,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,YAAY,CAKvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAMzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAO3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAI7D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAG3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAM3E,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAO7E,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAI/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAG7E,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MASpD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
export type
|
|
2
|
+
export type TBlockFieldType = 'number' | 'string' | 'boolean';
|
|
3
3
|
export interface IBlockField {
|
|
4
4
|
key: string;
|
|
5
5
|
label: string;
|
|
6
|
-
type:
|
|
6
|
+
type: TBlockFieldType;
|
|
7
7
|
group?: string;
|
|
8
8
|
block?: string;
|
|
9
9
|
advanced?: boolean;
|
|
@@ -14,16 +14,16 @@ export interface IBlockField {
|
|
|
14
14
|
default?: string | number | boolean;
|
|
15
15
|
hint?: string;
|
|
16
16
|
}
|
|
17
|
-
export type
|
|
18
|
-
export type
|
|
19
|
-
export type
|
|
20
|
-
export type
|
|
21
|
-
export type
|
|
17
|
+
export type TBlockMetricGroup = 'solar' | 'grid' | 'battery' | 'house' | 'inverter';
|
|
18
|
+
export type TMetricSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl';
|
|
19
|
+
export type TMetricColor = 'default' | 'muted' | 'primary' | 'success' | 'warning' | 'danger';
|
|
20
|
+
export type TMetricWeight = 'normal' | 'medium' | 'semibold';
|
|
21
|
+
export type TMetricAlign = 'left' | 'right';
|
|
22
22
|
export interface IMetricStyle {
|
|
23
|
-
size?:
|
|
24
|
-
color?:
|
|
25
|
-
weight?:
|
|
26
|
-
align?:
|
|
23
|
+
size?: TMetricSize;
|
|
24
|
+
color?: TMetricColor;
|
|
25
|
+
weight?: TMetricWeight;
|
|
26
|
+
align?: TMetricAlign;
|
|
27
27
|
}
|
|
28
28
|
export interface IBlockMetric {
|
|
29
29
|
id: string;
|
|
@@ -43,9 +43,9 @@ export interface IBlockBindingExpression {
|
|
|
43
43
|
expr: string;
|
|
44
44
|
fallback?: string | number | boolean;
|
|
45
45
|
}
|
|
46
|
-
export type
|
|
46
|
+
export type TBlockBinding = string | IBlockBindingExpression;
|
|
47
47
|
export interface IBlockBindings {
|
|
48
|
-
[key: string]:
|
|
48
|
+
[key: string]: TBlockBinding;
|
|
49
49
|
}
|
|
50
50
|
export interface IBlockConfig {
|
|
51
51
|
id: string;
|
|
@@ -54,8 +54,8 @@ export interface IBlockConfig {
|
|
|
54
54
|
title?: string;
|
|
55
55
|
bindings: IBlockBindings;
|
|
56
56
|
units?: Record<string, string>;
|
|
57
|
-
metricArgs?: Partial<Record<
|
|
58
|
-
metrics?: Partial<Record<
|
|
57
|
+
metricArgs?: Partial<Record<TBlockMetricGroup, string[]>>;
|
|
58
|
+
metrics?: Partial<Record<TBlockMetricGroup, IBlockMetric[]>>;
|
|
59
59
|
}
|
|
60
60
|
export interface IBlockContext {
|
|
61
61
|
kind: 'device' | 'hub' | 'yandex' | 'custom';
|
|
@@ -74,8 +74,8 @@ export interface IBlockDefinition {
|
|
|
74
74
|
component: Component;
|
|
75
75
|
fields: IBlockField[];
|
|
76
76
|
defaults?: IBlockBindings;
|
|
77
|
-
metricArgs?: Partial<Record<
|
|
78
|
-
metrics?: Partial<Record<
|
|
77
|
+
metricArgs?: Partial<Record<TBlockMetricGroup, string[]>>;
|
|
78
|
+
metrics?: Partial<Record<TBlockMetricGroup, IBlockMetric[]>>;
|
|
79
79
|
}
|
|
80
80
|
export interface IBlockResolvedData {
|
|
81
81
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/data/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAEpF,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE9F,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,G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,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C"}
|
|
@@ -28,10 +28,10 @@ export declare const useBlock: (definition: IBlockDefinition, source: MaybeRefOr
|
|
|
28
28
|
value: string;
|
|
29
29
|
format: string;
|
|
30
30
|
style?: {
|
|
31
|
-
size?: import('./types').
|
|
32
|
-
color?: import('./types').
|
|
33
|
-
weight?: import('./types').
|
|
34
|
-
align?: import('./types').
|
|
31
|
+
size?: import('./types').TMetricSize | undefined;
|
|
32
|
+
color?: import('./types').TMetricColor | undefined;
|
|
33
|
+
weight?: import('./types').TMetricWeight | undefined;
|
|
34
|
+
align?: import('./types').TMetricAlign | undefined;
|
|
35
35
|
} | undefined;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
battery?: {
|
|
@@ -40,10 +40,10 @@ export declare const useBlock: (definition: IBlockDefinition, source: MaybeRefOr
|
|
|
40
40
|
value: string;
|
|
41
41
|
format: string;
|
|
42
42
|
style?: {
|
|
43
|
-
size?: import('./types').
|
|
44
|
-
color?: import('./types').
|
|
45
|
-
weight?: import('./types').
|
|
46
|
-
align?: import('./types').
|
|
43
|
+
size?: import('./types').TMetricSize | undefined;
|
|
44
|
+
color?: import('./types').TMetricColor | undefined;
|
|
45
|
+
weight?: import('./types').TMetricWeight | undefined;
|
|
46
|
+
align?: import('./types').TMetricAlign | undefined;
|
|
47
47
|
} | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
grid?: {
|
|
@@ -52,10 +52,10 @@ export declare const useBlock: (definition: IBlockDefinition, source: MaybeRefOr
|
|
|
52
52
|
value: string;
|
|
53
53
|
format: string;
|
|
54
54
|
style?: {
|
|
55
|
-
size?: import('./types').
|
|
56
|
-
color?: import('./types').
|
|
57
|
-
weight?: import('./types').
|
|
58
|
-
align?: import('./types').
|
|
55
|
+
size?: import('./types').TMetricSize | undefined;
|
|
56
|
+
color?: import('./types').TMetricColor | undefined;
|
|
57
|
+
weight?: import('./types').TMetricWeight | undefined;
|
|
58
|
+
align?: import('./types').TMetricAlign | undefined;
|
|
59
59
|
} | undefined;
|
|
60
60
|
}[] | undefined;
|
|
61
61
|
solar?: {
|
|
@@ -64,10 +64,10 @@ export declare const useBlock: (definition: IBlockDefinition, source: MaybeRefOr
|
|
|
64
64
|
value: string;
|
|
65
65
|
format: string;
|
|
66
66
|
style?: {
|
|
67
|
-
size?: import('./types').
|
|
68
|
-
color?: import('./types').
|
|
69
|
-
weight?: import('./types').
|
|
70
|
-
align?: import('./types').
|
|
67
|
+
size?: import('./types').TMetricSize | undefined;
|
|
68
|
+
color?: import('./types').TMetricColor | undefined;
|
|
69
|
+
weight?: import('./types').TMetricWeight | undefined;
|
|
70
|
+
align?: import('./types').TMetricAlign | undefined;
|
|
71
71
|
} | undefined;
|
|
72
72
|
}[] | undefined;
|
|
73
73
|
house?: {
|
|
@@ -76,10 +76,10 @@ export declare const useBlock: (definition: IBlockDefinition, source: MaybeRefOr
|
|
|
76
76
|
value: string;
|
|
77
77
|
format: string;
|
|
78
78
|
style?: {
|
|
79
|
-
size?: import('./types').
|
|
80
|
-
color?: import('./types').
|
|
81
|
-
weight?: import('./types').
|
|
82
|
-
align?: import('./types').
|
|
79
|
+
size?: import('./types').TMetricSize | undefined;
|
|
80
|
+
color?: import('./types').TMetricColor | undefined;
|
|
81
|
+
weight?: import('./types').TMetricWeight | undefined;
|
|
82
|
+
align?: import('./types').TMetricAlign | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}[] | undefined;
|
|
85
85
|
} | undefined;
|
|
@@ -20,5 +20,5 @@ export { DEFAULT_METRIC_STYLE, metricClasses } from './data/metricStyles';
|
|
|
20
20
|
export { useBlock } from './data/useBlock';
|
|
21
21
|
export type { IBlockProvider } from './data/provider';
|
|
22
22
|
export type { IUseBlockOptions } from './data/useBlock';
|
|
23
|
-
export type {
|
|
23
|
+
export type { TBlockBinding, TBlockFieldType, TBlockMetricGroup, IBlockBindingExpression, IBlockBindings, IBlockConfig, IBlockContext, IBlockMetric, IBlockResolvedMetric, IBlockStorage, IBlockData, IBlockDefinition, IBlockField, IBlockResolvedData, IMetricStyle, TMetricAlign, TMetricColor, TMetricSize, TMetricWeight, } from './data/types';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,eAAe,MAAM,mDAAmD,CAAC;AAChF,OAAO,iBAAiB,MAAM,+CAA+C,CAAC;AAC9E,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,UAAU,MAAM,wCAAwC,CAAC;AAChE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,eAAe,MAAM,4DAA4D,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;AAEzL,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AACzF,OAAO,EACL,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,sBAAsB,GACvB,MA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C;AACzF,OAAO,EACL,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,sBAAsB,GACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,YAAY,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EACV,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IBlockInfoProps
|
|
1
|
+
import { IPackage } from '../../../types';
|
|
2
|
+
export interface IBlockInfoProps {
|
|
3
|
+
id?: number;
|
|
4
|
+
firmware?: number[];
|
|
5
|
+
totalBytes?: number;
|
|
6
|
+
usedBytes?: number;
|
|
7
|
+
uptime?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
board?: number;
|
|
3
10
|
pkg?: IPackage;
|
|
4
11
|
}
|
|
5
12
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/info/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/info/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IBlockScanProps } from './types';
|
|
1
|
+
import { IBlockScanProps, IScanItem } from './types';
|
|
3
2
|
declare const _default: import('vue').DefineComponent<IBlockScanProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
-
select: (event:
|
|
3
|
+
select: (event: IScanItem) => any;
|
|
5
4
|
scan: (event: Event) => any;
|
|
6
5
|
}, string, import('vue').PublicProps, Readonly<IBlockScanProps> & Readonly<{
|
|
7
|
-
onSelect?: ((event:
|
|
6
|
+
onSelect?: ((event: IScanItem) => any) | undefined;
|
|
8
7
|
onScan?: ((event: Event) => any) | undefined;
|
|
9
8
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
9
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockScan.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/BlockScan.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BlockScan.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/BlockScan.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,eAAe,EAAkB,SAAS,EAAE,MAAM,SAAS,CAAC;;;;;;;;AAwI1E,wBAQG"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
export interface IScanItem {
|
|
2
|
+
id?: number;
|
|
3
|
+
ssid?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
channel?: number;
|
|
6
|
+
rssi?: number;
|
|
7
|
+
encryptionType?: number;
|
|
8
|
+
isHidden?: number;
|
|
9
|
+
}
|
|
2
10
|
export interface IBlockScanProps {
|
|
3
|
-
items
|
|
11
|
+
items?: IScanItem[];
|
|
4
12
|
}
|
|
5
13
|
export interface IBlockScanEmit {
|
|
6
14
|
(e: 'scan', event: Event): void;
|
|
7
|
-
(e: 'select', event:
|
|
15
|
+
(e: 'select', event: IScanItem): void;
|
|
8
16
|
}
|
|
9
17
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/scan/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;CACvC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IBlockStatusProps
|
|
1
|
+
import { IPackage } from '../../../types';
|
|
2
|
+
export interface IBlockStatusProps {
|
|
3
|
+
id?: number;
|
|
4
|
+
firmware?: number[];
|
|
5
|
+
totalBytes?: number;
|
|
6
|
+
usedBytes?: number;
|
|
7
|
+
uptime?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
board?: number;
|
|
3
10
|
pkg?: IPackage;
|
|
4
11
|
}
|
|
5
12
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/status/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/status/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB"}
|
|
@@ -4,147 +4,147 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
icon?(_: {
|
|
6
6
|
size: "sm" | "md" | "lg" | "full";
|
|
7
|
-
icon: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
valueTo: string | number;
|
|
10
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
11
7
|
id: string;
|
|
12
8
|
name: string;
|
|
13
9
|
type: string;
|
|
14
10
|
entityType: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
15
13
|
args: string[];
|
|
16
14
|
get: string;
|
|
17
15
|
getTo: string;
|
|
18
16
|
set: string;
|
|
19
17
|
meta: Record<string, unknown>;
|
|
18
|
+
value: string | number;
|
|
19
|
+
valueTo: string | number;
|
|
20
20
|
}): any;
|
|
21
21
|
icon?(_: {
|
|
22
22
|
size: "sm" | "md" | "lg" | "full";
|
|
23
|
-
icon: string;
|
|
24
|
-
value: string | number;
|
|
25
|
-
valueTo: string | number;
|
|
26
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
27
23
|
id: string;
|
|
28
24
|
name: string;
|
|
29
25
|
type: string;
|
|
30
26
|
entityType: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
31
29
|
args: string[];
|
|
32
30
|
get: string;
|
|
33
31
|
getTo: string;
|
|
34
32
|
set: string;
|
|
35
33
|
meta: Record<string, unknown>;
|
|
34
|
+
value: string | number;
|
|
35
|
+
valueTo: string | number;
|
|
36
36
|
}): any;
|
|
37
37
|
header?(_: {
|
|
38
38
|
size: "sm" | "md" | "lg" | "full";
|
|
39
|
-
icon: string;
|
|
40
|
-
value: string | number;
|
|
41
|
-
valueTo: string | number;
|
|
42
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
43
39
|
id: string;
|
|
44
40
|
name: string;
|
|
45
41
|
type: string;
|
|
46
42
|
entityType: string;
|
|
43
|
+
icon: string;
|
|
44
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
47
45
|
args: string[];
|
|
48
46
|
get: string;
|
|
49
47
|
getTo: string;
|
|
50
48
|
set: string;
|
|
51
49
|
meta: Record<string, unknown>;
|
|
50
|
+
value: string | number;
|
|
51
|
+
valueTo: string | number;
|
|
52
52
|
}): any;
|
|
53
53
|
body?(_: {
|
|
54
54
|
size: "sm" | "md" | "lg" | "full";
|
|
55
|
-
icon: string;
|
|
56
|
-
value: string | number;
|
|
57
|
-
valueTo: string | number;
|
|
58
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
59
55
|
id: string;
|
|
60
56
|
name: string;
|
|
61
57
|
type: string;
|
|
62
58
|
entityType: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
63
61
|
args: string[];
|
|
64
62
|
get: string;
|
|
65
63
|
getTo: string;
|
|
66
64
|
set: string;
|
|
67
65
|
meta: Record<string, unknown>;
|
|
66
|
+
value: string | number;
|
|
67
|
+
valueTo: string | number;
|
|
68
68
|
}): any;
|
|
69
69
|
name?(_: {
|
|
70
70
|
size: "sm" | "md" | "lg" | "full";
|
|
71
|
-
icon: string;
|
|
72
|
-
value: string | number;
|
|
73
|
-
valueTo: string | number;
|
|
74
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
75
71
|
id: string;
|
|
76
72
|
name: string;
|
|
77
73
|
type: string;
|
|
78
74
|
entityType: string;
|
|
75
|
+
icon: string;
|
|
76
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
79
77
|
args: string[];
|
|
80
78
|
get: string;
|
|
81
79
|
getTo: string;
|
|
82
80
|
set: string;
|
|
83
81
|
meta: Record<string, unknown>;
|
|
82
|
+
value: string | number;
|
|
83
|
+
valueTo: string | number;
|
|
84
84
|
}): any;
|
|
85
85
|
value?(_: {
|
|
86
86
|
size: "sm" | "md" | "lg" | "full";
|
|
87
|
-
icon: string;
|
|
88
|
-
value: string | number;
|
|
89
|
-
valueTo: string | number;
|
|
90
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
91
87
|
id: string;
|
|
92
88
|
name: string;
|
|
93
89
|
type: string;
|
|
94
90
|
entityType: string;
|
|
91
|
+
icon: string;
|
|
92
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
95
93
|
args: string[];
|
|
96
94
|
get: string;
|
|
97
95
|
getTo: string;
|
|
98
96
|
set: string;
|
|
99
97
|
meta: Record<string, unknown>;
|
|
98
|
+
value: string | number;
|
|
99
|
+
valueTo: string | number;
|
|
100
100
|
}): any;
|
|
101
101
|
'dialog-name'?(_: {
|
|
102
102
|
size: "sm" | "md" | "lg" | "full";
|
|
103
|
-
icon: string;
|
|
104
|
-
value: string | number;
|
|
105
|
-
valueTo: string | number;
|
|
106
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
107
103
|
id: string;
|
|
108
104
|
name: string;
|
|
109
105
|
type: string;
|
|
110
106
|
entityType: string;
|
|
107
|
+
icon: string;
|
|
108
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
111
109
|
args: string[];
|
|
112
110
|
get: string;
|
|
113
111
|
getTo: string;
|
|
114
112
|
set: string;
|
|
115
113
|
meta: Record<string, unknown>;
|
|
114
|
+
value: string | number;
|
|
115
|
+
valueTo: string | number;
|
|
116
116
|
}): any;
|
|
117
117
|
dialog?(_: {
|
|
118
118
|
size: "sm" | "md" | "lg" | "full";
|
|
119
|
-
icon: string;
|
|
120
|
-
value: string | number;
|
|
121
|
-
valueTo: string | number;
|
|
122
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
123
119
|
id: string;
|
|
124
120
|
name: string;
|
|
125
121
|
type: string;
|
|
126
122
|
entityType: string;
|
|
123
|
+
icon: string;
|
|
124
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
127
125
|
args: string[];
|
|
128
126
|
get: string;
|
|
129
127
|
getTo: string;
|
|
130
128
|
set: string;
|
|
131
129
|
meta: Record<string, unknown>;
|
|
130
|
+
value: string | number;
|
|
131
|
+
valueTo: string | number;
|
|
132
132
|
}): any;
|
|
133
133
|
'dialog-value'?(_: {
|
|
134
134
|
size: "sm" | "md" | "lg" | "full";
|
|
135
|
-
icon: string;
|
|
136
|
-
value: string | number;
|
|
137
|
-
valueTo: string | number;
|
|
138
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
139
135
|
id: string;
|
|
140
136
|
name: string;
|
|
141
137
|
type: string;
|
|
142
138
|
entityType: string;
|
|
139
|
+
icon: string;
|
|
140
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
143
141
|
args: string[];
|
|
144
142
|
get: string;
|
|
145
143
|
getTo: string;
|
|
146
144
|
set: string;
|
|
147
145
|
meta: Record<string, unknown>;
|
|
146
|
+
value: string | number;
|
|
147
|
+
valueTo: string | number;
|
|
148
148
|
}): any;
|
|
149
149
|
};
|
|
150
150
|
refs: {};
|
|
@@ -4,19 +4,19 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
icon?(_: {
|
|
6
6
|
size: "sm" | "md" | "lg" | "full";
|
|
7
|
-
icon: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
valueTo: string | number;
|
|
10
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
11
7
|
id: string;
|
|
12
8
|
name: string;
|
|
13
9
|
type: string;
|
|
14
10
|
entityType: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
15
13
|
args: string[];
|
|
16
14
|
get: string;
|
|
17
15
|
getTo: string;
|
|
18
16
|
set: string;
|
|
19
17
|
meta: Record<string, unknown>;
|
|
18
|
+
value: string | number;
|
|
19
|
+
valueTo: string | number;
|
|
20
20
|
}): any;
|
|
21
21
|
};
|
|
22
22
|
refs: {};
|
|
@@ -4,19 +4,19 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
icon?(_: {
|
|
6
6
|
size: "sm" | "md" | "lg" | "full";
|
|
7
|
-
icon: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
valueTo: string | number;
|
|
10
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
11
7
|
id: string;
|
|
12
8
|
name: string;
|
|
13
9
|
type: string;
|
|
14
10
|
entityType: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
15
13
|
args: string[];
|
|
16
14
|
get: string;
|
|
17
15
|
getTo: string;
|
|
18
16
|
set: string;
|
|
19
17
|
meta: Record<string, unknown>;
|
|
18
|
+
value: string | number;
|
|
19
|
+
valueTo: string | number;
|
|
20
20
|
}): any;
|
|
21
21
|
};
|
|
22
22
|
refs: {
|
|
@@ -4,19 +4,19 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
icon?(_: {
|
|
6
6
|
size: "sm" | "md" | "lg" | "full";
|
|
7
|
-
icon: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
valueTo: string | number;
|
|
10
|
-
opts: import('../../../types').IDashboardItemOptions;
|
|
11
7
|
id: string;
|
|
12
8
|
name: string;
|
|
13
9
|
type: string;
|
|
14
10
|
entityType: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
15
13
|
args: string[];
|
|
16
14
|
get: string;
|
|
17
15
|
getTo: string;
|
|
18
16
|
set: string;
|
|
19
17
|
meta: Record<string, unknown>;
|
|
18
|
+
value: string | number;
|
|
19
|
+
valueTo: string | number;
|
|
20
20
|
}): any;
|
|
21
21
|
};
|
|
22
22
|
refs: {};
|