@tenorlab/vue-dashboard 1.0.0
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/README.md +49 -0
- package/dist/core.d.ts +301 -0
- package/dist/core.es.js +367 -0
- package/dist/styles.css +1 -0
- package/dist/vue-dashboard.d.ts +748 -0
- package/dist/vue-dashboard.es.js +1936 -0
- package/package.json +65 -0
|
@@ -0,0 +1,748 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
import { ComponentCustomProps } from 'vue';
|
|
4
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
+
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { ComputedRef } from 'vue';
|
|
7
|
+
import { CSSProperties } from 'vue';
|
|
8
|
+
import { DefineComponent } from 'vue';
|
|
9
|
+
import { PublicProps } from 'vue';
|
|
10
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
11
|
+
import { VNode } from 'vue';
|
|
12
|
+
import { VNodeProps } from 'vue';
|
|
13
|
+
|
|
14
|
+
declare const __VLS_component: DefineComponent<IDashboardGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IDashboardGridProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
|
|
16
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
+
removeClick: (widgetKey: string, parentWidgetKey?: string | undefined) => any;
|
|
18
|
+
moveClick: (direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any;
|
|
19
|
+
selectContainer: (containerKey?: string | undefined) => any;
|
|
20
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
21
|
+
onRemoveClick?: ((widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
22
|
+
onMoveClick?: ((direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
23
|
+
onSelectContainer?: ((containerKey?: string | undefined) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
|
|
26
|
+
declare const __VLS_component_3: DefineComponent<IButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
27
|
+
click: (args: MouseEvent) => any;
|
|
28
|
+
}, string, PublicProps, Readonly<IButtonProps> & Readonly<{
|
|
29
|
+
onClick?: ((args: MouseEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
type: TButtonType;
|
|
33
|
+
category: string;
|
|
34
|
+
font: string;
|
|
35
|
+
border: number;
|
|
36
|
+
borderHover: number;
|
|
37
|
+
borderColor: string;
|
|
38
|
+
px: number;
|
|
39
|
+
py: number;
|
|
40
|
+
justifyCss: TButtonJustifyCss;
|
|
41
|
+
shadow: string;
|
|
42
|
+
shadowHover: string;
|
|
43
|
+
addCss: string;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
45
|
+
|
|
46
|
+
declare const __VLS_component_4: DefineComponent<TStackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TStackProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
47
|
+
|
|
48
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
|
+
|
|
50
|
+
declare const __VLS_component_6: DefineComponent<IDraggablePanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
51
|
+
draggingChange: (isDragging: boolean) => any;
|
|
52
|
+
}, string, PublicProps, Readonly<IDraggablePanelProps> & Readonly<{
|
|
53
|
+
onDraggingChange?: ((isDragging: boolean) => any) | undefined;
|
|
54
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
55
|
+
panelRef: HTMLDivElement;
|
|
56
|
+
}, any>;
|
|
57
|
+
|
|
58
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
59
|
+
|
|
60
|
+
declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
61
|
+
|
|
62
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
|
|
66
|
+
declare type __VLS_PrettifyLocal_2<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
69
|
+
|
|
70
|
+
declare type __VLS_PrettifyLocal_3<T> = {
|
|
71
|
+
[K in keyof T]: T[K];
|
|
72
|
+
} & {};
|
|
73
|
+
|
|
74
|
+
declare type __VLS_Props = TDynamicWidgetLoaderProps;
|
|
75
|
+
|
|
76
|
+
declare type __VLS_Props_2 = IDashboardWidgetProps;
|
|
77
|
+
|
|
78
|
+
declare type __VLS_Props_3 = TStackProps & {
|
|
79
|
+
innerClass?: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
declare function __VLS_template(): {
|
|
83
|
+
attrs: Partial<{}>;
|
|
84
|
+
slots: {
|
|
85
|
+
default?(_: {}): any;
|
|
86
|
+
};
|
|
87
|
+
refs: {};
|
|
88
|
+
rootEl: HTMLDivElement;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
declare function __VLS_template_2(): {
|
|
92
|
+
attrs: Partial<{}>;
|
|
93
|
+
slots: {
|
|
94
|
+
default?(_: {}): any;
|
|
95
|
+
};
|
|
96
|
+
refs: {};
|
|
97
|
+
rootEl: HTMLDivElement;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
declare function __VLS_template_3(): {
|
|
101
|
+
attrs: Partial<{}>;
|
|
102
|
+
slots: {
|
|
103
|
+
default?(_: {}): any;
|
|
104
|
+
};
|
|
105
|
+
refs: {};
|
|
106
|
+
rootEl: HTMLButtonElement;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
declare function __VLS_template_4(): {
|
|
110
|
+
attrs: Partial<{}>;
|
|
111
|
+
slots: {
|
|
112
|
+
default?(_: {}): any;
|
|
113
|
+
};
|
|
114
|
+
refs: {};
|
|
115
|
+
rootEl: HTMLDivElement;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
declare function __VLS_template_5(): {
|
|
119
|
+
attrs: Partial<{}>;
|
|
120
|
+
slots: {
|
|
121
|
+
default?(_: {}): any;
|
|
122
|
+
};
|
|
123
|
+
refs: {};
|
|
124
|
+
rootEl: HTMLDivElement;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
declare function __VLS_template_6(): {
|
|
128
|
+
attrs: Partial<{}>;
|
|
129
|
+
slots: {
|
|
130
|
+
default?(_: {}): any;
|
|
131
|
+
};
|
|
132
|
+
refs: {
|
|
133
|
+
panelRef: HTMLDivElement;
|
|
134
|
+
};
|
|
135
|
+
rootEl: any;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
declare function __VLS_template_7(): {
|
|
139
|
+
attrs: Partial<{}>;
|
|
140
|
+
slots: {
|
|
141
|
+
default?(_: {}): any;
|
|
142
|
+
};
|
|
143
|
+
refs: {};
|
|
144
|
+
rootEl: HTMLDivElement;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
declare function __VLS_template_8(): {
|
|
148
|
+
attrs: Partial<{}>;
|
|
149
|
+
slots: {
|
|
150
|
+
default?(_: {}): any;
|
|
151
|
+
};
|
|
152
|
+
refs: {};
|
|
153
|
+
rootEl: HTMLDivElement;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
157
|
+
|
|
158
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
159
|
+
|
|
160
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
161
|
+
|
|
162
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
163
|
+
|
|
164
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
165
|
+
|
|
166
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
167
|
+
|
|
168
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
169
|
+
|
|
170
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
171
|
+
|
|
172
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
173
|
+
new (): {
|
|
174
|
+
$slots: S;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
179
|
+
new (): {
|
|
180
|
+
$slots: S;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
185
|
+
new (): {
|
|
186
|
+
$slots: S;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
191
|
+
new (): {
|
|
192
|
+
$slots: S;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
197
|
+
new (): {
|
|
198
|
+
$slots: S;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
203
|
+
new (): {
|
|
204
|
+
$slots: S;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
209
|
+
new (): {
|
|
210
|
+
$slots: S;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
215
|
+
new (): {
|
|
216
|
+
$slots: S;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
declare const _actions: {
|
|
221
|
+
setIsLoading: (value: boolean) => boolean;
|
|
222
|
+
setIsEditing: (value: boolean) => boolean;
|
|
223
|
+
setTargetContainerKey: (value: TDashboardWidgetKey | undefined) => string | undefined;
|
|
224
|
+
setAllDashboardConfigs: (value: IDashboardConfig[]) => IDashboardConfig[];
|
|
225
|
+
setCurrentDashboardConfig: (value: IDashboardConfig) => IDashboardConfig[];
|
|
226
|
+
addDashboardConfig: (value: IDashboardConfig) => IDashboardConfig[];
|
|
227
|
+
deleteDashboardConfigById: (dashboardId: string) => IDashboardConfig[];
|
|
228
|
+
selectDashboardById: (dashboardId: string) => IDashboardConfig | undefined;
|
|
229
|
+
addWidget: (params: {
|
|
230
|
+
widgetKey: TDashboardWidgetKey;
|
|
231
|
+
parentWidgetKey?: TDashboardWidgetKey;
|
|
232
|
+
noDuplicatedWidgets?: boolean;
|
|
233
|
+
}) => TAddWidgetResponse & {
|
|
234
|
+
allUpdatedDashboardConfigs: IDashboardConfig[];
|
|
235
|
+
};
|
|
236
|
+
removeWidget: (widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => TAddWidgetResponse;
|
|
237
|
+
moveWidget: (direction: -1 | 1, widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => TAddWidgetResponse;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export declare const AddIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
241
|
+
|
|
242
|
+
export declare const Button: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
243
|
+
|
|
244
|
+
export declare const CircleQuestionMarkIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
245
|
+
|
|
246
|
+
declare const computedGetters: {
|
|
247
|
+
isLoading: ComputedRef<boolean>;
|
|
248
|
+
isEditing: ComputedRef<boolean>;
|
|
249
|
+
targetContainerKey: ComputedRef<string | undefined>;
|
|
250
|
+
currentDashboardConfig: ComputedRef< {
|
|
251
|
+
userID: number | string;
|
|
252
|
+
clientAppKey: string;
|
|
253
|
+
dashboardId: string;
|
|
254
|
+
dashboardName: string;
|
|
255
|
+
zoomScale: number;
|
|
256
|
+
responsiveGrid: boolean;
|
|
257
|
+
widgets: TDashboardWidgetKey[];
|
|
258
|
+
childWidgetsConfig: {
|
|
259
|
+
parentWidgetKey: TDashboardWidgetKey;
|
|
260
|
+
widgetKey: TDashboardWidgetKey;
|
|
261
|
+
}[];
|
|
262
|
+
cssSettings: {
|
|
263
|
+
key: string;
|
|
264
|
+
name: string;
|
|
265
|
+
description: string;
|
|
266
|
+
cssProperty: string;
|
|
267
|
+
step: number;
|
|
268
|
+
defaultUnit: string;
|
|
269
|
+
minValue: number;
|
|
270
|
+
defaultValue: string;
|
|
271
|
+
value: string;
|
|
272
|
+
}[];
|
|
273
|
+
_version?: number | undefined;
|
|
274
|
+
_stateDescription?: string | undefined;
|
|
275
|
+
}>;
|
|
276
|
+
allDashboardConfigs: ComputedRef< {
|
|
277
|
+
userID: number | string;
|
|
278
|
+
clientAppKey: string;
|
|
279
|
+
dashboardId: string;
|
|
280
|
+
dashboardName: string;
|
|
281
|
+
zoomScale: number;
|
|
282
|
+
responsiveGrid: boolean;
|
|
283
|
+
widgets: TDashboardWidgetKey[];
|
|
284
|
+
childWidgetsConfig: {
|
|
285
|
+
parentWidgetKey: TDashboardWidgetKey;
|
|
286
|
+
widgetKey: TDashboardWidgetKey;
|
|
287
|
+
}[];
|
|
288
|
+
cssSettings: {
|
|
289
|
+
key: string;
|
|
290
|
+
name: string;
|
|
291
|
+
description: string;
|
|
292
|
+
cssProperty: string;
|
|
293
|
+
step: number;
|
|
294
|
+
defaultUnit: string;
|
|
295
|
+
minValue: number;
|
|
296
|
+
defaultValue: string;
|
|
297
|
+
value: string;
|
|
298
|
+
}[];
|
|
299
|
+
_version?: number | undefined;
|
|
300
|
+
_stateDescription?: string | undefined;
|
|
301
|
+
}[]>;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export declare const CrosshairIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
305
|
+
|
|
306
|
+
export declare const DashboardGrid: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
307
|
+
|
|
308
|
+
export declare const DashboardWidgetBase: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
309
|
+
|
|
310
|
+
export declare const DeleteIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
311
|
+
|
|
312
|
+
export declare const DraggablePanel: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
313
|
+
|
|
314
|
+
export declare const DynamicWidgetLoader: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
315
|
+
removeClick: (widgetKey: string, parentWidgetKey?: string | undefined) => any;
|
|
316
|
+
moveClick: (direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any;
|
|
317
|
+
selectContainer: (containerKey?: string | undefined) => any;
|
|
318
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
319
|
+
onRemoveClick?: ((widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
320
|
+
onMoveClick?: ((direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
321
|
+
onSelectContainer?: ((containerKey?: string | undefined) => any) | undefined;
|
|
322
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
323
|
+
|
|
324
|
+
export declare const EditIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
325
|
+
|
|
326
|
+
declare const _getters: {
|
|
327
|
+
getNextContainerKey: (containerWidgetKey: TDashboardWidgetKey) => TDashboardWidgetKey;
|
|
328
|
+
getCurrentDashboardConfig: () => IDashboardConfig;
|
|
329
|
+
getCurrentDashboardId: () => string;
|
|
330
|
+
getIsResponsive: () => boolean;
|
|
331
|
+
getTargetContainerKey: () => TDashboardWidgetKey | undefined;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
export declare const GridIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
335
|
+
|
|
336
|
+
export declare const HandGrabIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
337
|
+
|
|
338
|
+
export declare const HandIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
339
|
+
|
|
340
|
+
export declare interface IButtonProps {
|
|
341
|
+
disabled?: boolean;
|
|
342
|
+
className?: string;
|
|
343
|
+
tooltip?: ITooltipProps;
|
|
344
|
+
isIconButton?: boolean;
|
|
345
|
+
type?: TButtonType;
|
|
346
|
+
category?: string;
|
|
347
|
+
font?: string;
|
|
348
|
+
border?: number;
|
|
349
|
+
borderHover?: number;
|
|
350
|
+
borderColor?: string;
|
|
351
|
+
px?: number;
|
|
352
|
+
py?: number;
|
|
353
|
+
justifyCss?: TButtonJustifyCss;
|
|
354
|
+
shadow?: string;
|
|
355
|
+
shadowHover?: string;
|
|
356
|
+
addCss?: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export declare interface IChildWidgetConfigEntry {
|
|
360
|
+
parentWidgetKey: TDashboardWidgetKey;
|
|
361
|
+
widgetKey: TDashboardWidgetKey;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export declare interface IDashboardConfig {
|
|
365
|
+
userID: number | string;
|
|
366
|
+
clientAppKey: string;
|
|
367
|
+
dashboardId: string;
|
|
368
|
+
dashboardName: string;
|
|
369
|
+
zoomScale: number;
|
|
370
|
+
responsiveGrid: boolean;
|
|
371
|
+
widgets: TDashboardWidgetKey[];
|
|
372
|
+
childWidgetsConfig: IChildWidgetConfigEntry[];
|
|
373
|
+
cssSettings: IDashboardSettingEntry[];
|
|
374
|
+
_version?: number;
|
|
375
|
+
_stateDescription?: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export declare interface IDashboardGridProps extends IDashboardGridPropsBase {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export declare interface IDashboardGridPropsBase {
|
|
382
|
+
isEditing: boolean;
|
|
383
|
+
zoomScale: number;
|
|
384
|
+
responsiveGrid: boolean;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export declare interface IDashboardSettingEntry {
|
|
388
|
+
key: string;
|
|
389
|
+
name: string;
|
|
390
|
+
description: string;
|
|
391
|
+
cssProperty: string;
|
|
392
|
+
step: number;
|
|
393
|
+
defaultUnit: string;
|
|
394
|
+
minValue: number;
|
|
395
|
+
defaultValue: string;
|
|
396
|
+
value: string;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export declare interface IDashboardStorageService {
|
|
400
|
+
getSavedDashboards: TGetSavedDashboards;
|
|
401
|
+
saveDashboards: TSaveDashboards;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare interface IDashboardStore extends TActions {
|
|
405
|
+
actions: TActions;
|
|
406
|
+
getters: typeof _getters;
|
|
407
|
+
computed: typeof computedGetters;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export declare type IDashboardWidget = Component;
|
|
411
|
+
|
|
412
|
+
export declare interface IDashboardWidgetProps<TExtraProps = any> extends IDashboardWidgetPropsBase<TExtraProps> {
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export declare interface IDashboardWidgetPropsBase<TExtraProps = any> {
|
|
416
|
+
index: number;
|
|
417
|
+
maxIndex: number;
|
|
418
|
+
widgetKey: TDashboardWidgetKey;
|
|
419
|
+
parentWidgetKey?: TDashboardWidgetKey;
|
|
420
|
+
isEditing: boolean;
|
|
421
|
+
highlight?: boolean;
|
|
422
|
+
testId?: string;
|
|
423
|
+
title?: string;
|
|
424
|
+
size?: TWidgetSize;
|
|
425
|
+
borderCssClasses?: string;
|
|
426
|
+
backgroundCssClasses?: string;
|
|
427
|
+
hideTitle?: boolean;
|
|
428
|
+
noShadow?: boolean;
|
|
429
|
+
noBorder?: boolean;
|
|
430
|
+
noPadding?: boolean;
|
|
431
|
+
direction?: TWidgetDirection;
|
|
432
|
+
extraProps?: TExtraProps;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare interface IDraggablePanelProps {
|
|
436
|
+
testId?: string;
|
|
437
|
+
className: string;
|
|
438
|
+
style?: CSSProperties;
|
|
439
|
+
onDraggingChange?: (isDragging: boolean) => void;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export declare interface IDynamicWidgetCatalogEntry extends IDynamicWidgetCatalogEntryBase<TFrameworkElementType, TFrameworkComponentType> {
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* 2. Define the flexible Catalog Entry
|
|
447
|
+
* Definition of a single widget or container in the catalog.
|
|
448
|
+
* It must have EITHER a direct 'component' reference OR a 'loader' function.
|
|
449
|
+
*
|
|
450
|
+
* TFrameworkElementType: see TWidgetMetaInfoBase
|
|
451
|
+
* TFrameworkComponentType: i.e. React.ComponentType<any> (see TWidgetFactoryBase)
|
|
452
|
+
*/
|
|
453
|
+
export declare interface IDynamicWidgetCatalogEntryBase<TFrameworkElementType = any, TFrameworkComponentType = any> {
|
|
454
|
+
key: TDashboardWidgetKey;
|
|
455
|
+
title: string;
|
|
456
|
+
isContainer?: boolean;
|
|
457
|
+
meta?: TWidgetMetaInfoBase<TFrameworkElementType>;
|
|
458
|
+
component?: TFrameworkComponentType;
|
|
459
|
+
loader?: TWidgetFactoryBase<TFrameworkComponentType>;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export declare interface ITextFieldProps {
|
|
463
|
+
label: string;
|
|
464
|
+
size?: TSize;
|
|
465
|
+
modelValue: string;
|
|
466
|
+
className?: string;
|
|
467
|
+
placeholder?: string;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export declare interface ITooltipProps {
|
|
471
|
+
placement: string;
|
|
472
|
+
title: string;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export declare const ListItem: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
476
|
+
|
|
477
|
+
export declare const MonitorIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
478
|
+
|
|
479
|
+
export declare const MonitorSmartphoneIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
480
|
+
|
|
481
|
+
export declare const MoveLeftIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
482
|
+
|
|
483
|
+
export declare const MoveRightIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
484
|
+
|
|
485
|
+
export declare const RedoIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
486
|
+
|
|
487
|
+
export declare const SettingsIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
488
|
+
|
|
489
|
+
export declare const showToast: (options: any) => void;
|
|
490
|
+
|
|
491
|
+
export declare const Stack: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
492
|
+
|
|
493
|
+
export declare const TabletSmartphoneIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
494
|
+
|
|
495
|
+
declare type TActions = typeof _actions;
|
|
496
|
+
|
|
497
|
+
declare type TAddWidgetResponse = {
|
|
498
|
+
success: boolean;
|
|
499
|
+
message?: string;
|
|
500
|
+
updatedDashboardConfig: IDashboardConfig;
|
|
501
|
+
allUpdatedDashboardConfigs: IDashboardConfig[];
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
export declare const TargetIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
505
|
+
|
|
506
|
+
export declare type TButtonJustifyCss = 'justify-start' | 'justify-center' | 'justify-end';
|
|
507
|
+
|
|
508
|
+
export declare type TButtonType = 'normal' | 'ghost';
|
|
509
|
+
|
|
510
|
+
export declare type TDashboardUndoStatus = {
|
|
511
|
+
isUndoDisabled: boolean;
|
|
512
|
+
isRedoDisabled: boolean;
|
|
513
|
+
_currentIndex?: number;
|
|
514
|
+
_historyLength?: number;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
export declare type TDashboardWidgetCatalog = TDashboardWidgetCatalogBase<TFrameworkElementType, TFrameworkComponentType>;
|
|
518
|
+
|
|
519
|
+
export declare type TDashboardWidgetCatalogBase<TFrameworkElementType = any, TFrameworkComponentType = any> = Map<TDashboardWidgetKey, IDynamicWidgetCatalogEntryBase<TFrameworkElementType, TFrameworkComponentType>>;
|
|
520
|
+
|
|
521
|
+
export declare type TDashboardWidgetKey = string;
|
|
522
|
+
|
|
523
|
+
declare type TDynamicWidgetLoaderProps<TExtraProps = any> = {
|
|
524
|
+
index: number;
|
|
525
|
+
maxIndex: number;
|
|
526
|
+
widgetKey: TDashboardWidgetKey;
|
|
527
|
+
parentWidgetKey?: TDashboardWidgetKey;
|
|
528
|
+
targetContainerKey?: TDashboardWidgetKey;
|
|
529
|
+
childWidgetsConfig?: IChildWidgetConfigEntry[];
|
|
530
|
+
widgetCatalog: TDashboardWidgetCatalog;
|
|
531
|
+
isEditing: boolean;
|
|
532
|
+
extraProps?: TExtraProps;
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
export declare const TextField: DefineComponent<ITextFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
536
|
+
"update:modelValue": (args: string) => any;
|
|
537
|
+
keydown: (args: KeyboardEvent) => any;
|
|
538
|
+
}, string, PublicProps, Readonly<ITextFieldProps> & Readonly<{
|
|
539
|
+
"onUpdate:modelValue"?: ((args: string) => any) | undefined;
|
|
540
|
+
onKeydown?: ((args: KeyboardEvent) => any) | undefined;
|
|
541
|
+
}>, {
|
|
542
|
+
size: "small" | "medium";
|
|
543
|
+
className: string;
|
|
544
|
+
placeholder: string;
|
|
545
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
546
|
+
|
|
547
|
+
declare type TFrameworkComponentType = Component;
|
|
548
|
+
|
|
549
|
+
declare type TFrameworkElementType = Component;
|
|
550
|
+
|
|
551
|
+
declare type TGetSavedDashboards = (userID: number | string, clientAppKey: string, widgetCatalog: TDashboardWidgetCatalogBase, defaultDashboardConfig: IDashboardConfig) => Promise<IDashboardConfig[]>;
|
|
552
|
+
|
|
553
|
+
export declare const TimerResetIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
554
|
+
|
|
555
|
+
export declare type TManifestEntry = {
|
|
556
|
+
url: string;
|
|
557
|
+
meta: TWidgetMetaInfoBase;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
declare type TSaveDashboards = (userID: number | string, clientAppKey: string, dashboardConfigs: IDashboardConfig[], widgetCatalog: TDashboardWidgetCatalogBase) => Promise<boolean>;
|
|
561
|
+
|
|
562
|
+
declare type TSize = 'small' | 'medium';
|
|
563
|
+
|
|
564
|
+
declare type TStackProps = {
|
|
565
|
+
testId?: string;
|
|
566
|
+
classNames?: string;
|
|
567
|
+
direction?: 'row' | 'column';
|
|
568
|
+
style?: Record<string, any>;
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
declare type TSvgIconProps = {
|
|
572
|
+
cssClass?: string;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
export declare type TUndoHistoryEntry = {
|
|
576
|
+
undoIndex: number;
|
|
577
|
+
config: IDashboardConfig;
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
export declare type TWidgetCategory = 'Widget' | 'Chart' | 'Container';
|
|
581
|
+
|
|
582
|
+
export declare type TWidgetDirection = 'row' | 'column';
|
|
583
|
+
|
|
584
|
+
export declare type TWidgetEmits = {
|
|
585
|
+
(event: 'removeClick', widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey): void;
|
|
586
|
+
(event: 'moveClick', direction: -1 | 1, widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey): void;
|
|
587
|
+
(event: 'selectContainer', containerKey?: TDashboardWidgetKey): void;
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
export declare type TWidgetFactory = TWidgetFactoryBase<TFrameworkComponentType>;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* 1. Define the Async Loader type
|
|
594
|
+
* Type for the function that performs the asynchronous dynamic import.
|
|
595
|
+
* It must return a promise that resolves to the module containing the widget component
|
|
596
|
+
* as its default export (or a named export if you change the loading strategy).
|
|
597
|
+
*
|
|
598
|
+
* TFrameworkComponent could be "React.ComponentType<any>"" or "VueComponent" etc
|
|
599
|
+
*/
|
|
600
|
+
export declare type TWidgetFactoryBase<TFrameworkComponent = any> = () => Promise<{
|
|
601
|
+
default: TFrameworkComponent;
|
|
602
|
+
}>;
|
|
603
|
+
|
|
604
|
+
export declare type TWidgetMetaInfo = TWidgetMetaInfoBase<TFrameworkElementType | undefined>;
|
|
605
|
+
|
|
606
|
+
export declare type TWidgetMetaInfoBase<TFrameworkElementType = any> = {
|
|
607
|
+
name: string;
|
|
608
|
+
description: string;
|
|
609
|
+
categories: TWidgetCategory[];
|
|
610
|
+
noDuplicatedWidgets?: boolean;
|
|
611
|
+
icon: TFrameworkElementType | undefined;
|
|
612
|
+
externalDependencies: string[];
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
declare type TWidgetsCatalogFlyoutProps = {
|
|
616
|
+
targetContainerKey?: TDashboardWidgetKey;
|
|
617
|
+
widgetsCatalog: TDashboardWidgetCatalog;
|
|
618
|
+
currentDashboardConfig: IDashboardConfig;
|
|
619
|
+
undoStatus: TDashboardUndoStatus;
|
|
620
|
+
addWidget: (widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => any;
|
|
621
|
+
addContainer: (widgetKey: TDashboardWidgetKey) => any;
|
|
622
|
+
onSettingItemsUpdated: (items: IDashboardSettingEntry[]) => any;
|
|
623
|
+
onResetToDefaultDashboardClick: () => any;
|
|
624
|
+
onUndoOrRedo: (operation: 'Undo' | 'Redo') => any;
|
|
625
|
+
onDoneClick: () => any;
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
export declare type TWidgetSize = 'default' | 'large' | 'xlarge';
|
|
629
|
+
|
|
630
|
+
export declare const UndoIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
631
|
+
|
|
632
|
+
export declare const useDashboardStore: () => IDashboardStore;
|
|
633
|
+
|
|
634
|
+
export declare const useDashboardUndoService: () => {
|
|
635
|
+
initializeHistoryForDashboard: (initialConfig: IDashboardConfig) => void;
|
|
636
|
+
resetAllHistory: () => void;
|
|
637
|
+
addUndoEntry: (newConfig: IDashboardConfig) => void;
|
|
638
|
+
removeUndoHistoryForDashboard: (dashboardId: string) => void;
|
|
639
|
+
getPreviousChanges: (dashboardId: string) => IDashboardConfig | undefined;
|
|
640
|
+
getNextChanges: (dashboardId: string) => IDashboardConfig | undefined;
|
|
641
|
+
computedUndoStatus: ComputedRef<TDashboardUndoStatus>;
|
|
642
|
+
getUndoStatus: () => TDashboardUndoStatus;
|
|
643
|
+
historyState: {
|
|
644
|
+
readonly currentDashboardId: string | null;
|
|
645
|
+
readonly undoHistory: {
|
|
646
|
+
readonly [x: string]: readonly {
|
|
647
|
+
readonly undoIndex: number;
|
|
648
|
+
readonly config: {
|
|
649
|
+
readonly userID: number | string;
|
|
650
|
+
readonly clientAppKey: string;
|
|
651
|
+
readonly dashboardId: string;
|
|
652
|
+
readonly dashboardName: string;
|
|
653
|
+
readonly zoomScale: number;
|
|
654
|
+
readonly responsiveGrid: boolean;
|
|
655
|
+
readonly widgets: readonly string[];
|
|
656
|
+
readonly childWidgetsConfig: readonly {
|
|
657
|
+
readonly parentWidgetKey: TDashboardWidgetKey;
|
|
658
|
+
readonly widgetKey: TDashboardWidgetKey;
|
|
659
|
+
}[];
|
|
660
|
+
readonly cssSettings: readonly {
|
|
661
|
+
readonly key: string;
|
|
662
|
+
readonly name: string;
|
|
663
|
+
readonly description: string;
|
|
664
|
+
readonly cssProperty: string;
|
|
665
|
+
readonly step: number;
|
|
666
|
+
readonly defaultUnit: string;
|
|
667
|
+
readonly minValue: number;
|
|
668
|
+
readonly defaultValue: string;
|
|
669
|
+
readonly value: string;
|
|
670
|
+
}[];
|
|
671
|
+
readonly _version?: number | undefined;
|
|
672
|
+
readonly _stateDescription?: string | undefined;
|
|
673
|
+
};
|
|
674
|
+
}[];
|
|
675
|
+
};
|
|
676
|
+
readonly historyIndex: {
|
|
677
|
+
readonly [x: string]: number;
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
export declare function useWidgetEmits(emits: TWidgetEmits): {
|
|
683
|
+
removeClick: (widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => any;
|
|
684
|
+
moveClick: (direction: -1 | 1, widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => any;
|
|
685
|
+
selectContainer: (containerKey?: TDashboardWidgetKey) => any;
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
export declare const WidgetContainerColumn: <K extends TDashboardWidgetKey = TDashboardWidgetKey>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
689
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
690
|
+
readonly onRemoveClick?: ((widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
691
|
+
readonly onMoveClick?: ((direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
692
|
+
readonly onSelectContainer?: ((containerKey?: string | undefined) => any) | undefined;
|
|
693
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onRemoveClick" | "onMoveClick" | "onSelectContainer"> & IDashboardWidgetProps<any> & Partial<{}>> & PublicProps;
|
|
694
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
695
|
+
attrs: any;
|
|
696
|
+
slots: {
|
|
697
|
+
default?(_: {}): any;
|
|
698
|
+
};
|
|
699
|
+
emit: TWidgetEmits;
|
|
700
|
+
}>) => VNode & {
|
|
701
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
export declare const WidgetContainerLarge: <K extends TDashboardWidgetKey = TDashboardWidgetKey>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
705
|
+
props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
|
|
706
|
+
readonly onRemoveClick?: ((widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
707
|
+
readonly onMoveClick?: ((direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
708
|
+
readonly onSelectContainer?: ((containerKey?: string | undefined) => any) | undefined;
|
|
709
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onRemoveClick" | "onMoveClick" | "onSelectContainer"> & IDashboardWidgetProps<any> & Partial<{}>> & PublicProps;
|
|
710
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
711
|
+
attrs: any;
|
|
712
|
+
slots: {
|
|
713
|
+
default?(_: {}): any;
|
|
714
|
+
};
|
|
715
|
+
emit: TWidgetEmits;
|
|
716
|
+
}>) => VNode & {
|
|
717
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
export declare const WidgetContainerRow: <K extends TDashboardWidgetKey = TDashboardWidgetKey>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
721
|
+
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
|
|
722
|
+
readonly onRemoveClick?: ((widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
723
|
+
readonly onMoveClick?: ((direction: 1 | -1, widgetKey: string, parentWidgetKey?: string | undefined) => any) | undefined;
|
|
724
|
+
readonly onSelectContainer?: ((containerKey?: string | undefined) => any) | undefined;
|
|
725
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onRemoveClick" | "onMoveClick" | "onSelectContainer"> & IDashboardWidgetProps<any> & Partial<{}>> & PublicProps;
|
|
726
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
727
|
+
attrs: any;
|
|
728
|
+
slots: {
|
|
729
|
+
default?(_: {}): any;
|
|
730
|
+
};
|
|
731
|
+
emit: TWidgetEmits;
|
|
732
|
+
}>) => VNode & {
|
|
733
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
export declare const WidgetsCatalogFlyout: DefineComponent<TWidgetsCatalogFlyoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TWidgetsCatalogFlyoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
737
|
+
|
|
738
|
+
export declare const WrapperColumnContent: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
739
|
+
|
|
740
|
+
export declare const WrapperColumnContentListItem: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
741
|
+
|
|
742
|
+
export declare const XCircleIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
743
|
+
|
|
744
|
+
export declare const ZoomInIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
745
|
+
|
|
746
|
+
export declare const ZoomOutIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
747
|
+
|
|
748
|
+
export { }
|