@tenorlab/vue-dashboard 1.6.2 → 1.6.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.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @tenorlab/vue-dashboard
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
4
- [![Template: Pro](https://img.shields.io/badge/Template-Pro--Available-gold.svg)](https://www.tenorlab.com)
4
+ [![Tenorlab Pro](https://img.shields.io/badge/Template-Pro--Available-gold.svg)](https://www.tenorlab.com)
5
5
  [![Framework: Vue](https://img.shields.io/badge/Framework-Vue-42b883.svg)](https://vuejs.org/)
6
6
 
7
7
  Foundation components for creating user-configurable, high-performance dashboards in Vue.
@@ -13,7 +13,7 @@ This package extends **@tenorlab/dashboard-core**. It provides the Vue implement
13
13
  > **Note**: This package re-exports all types and utilities from `@tenorlab/dashboard-core`. You do not need to install the core package separately.
14
14
 
15
15
 
16
- ## Pro Template Demos
16
+ ## Tenorlab Pro Demos
17
17
  - [React Demo](https://react.tenorlab.com) (built with @tenorlab/react-dashboard)
18
18
  - [Vue Demo](https://vue.tenorlab.com) (built with @tenorlab/vue-dashboard)
19
19
  - [Nuxt Demo](https://nuxt.tenorlab.com) (built with @tenorlab/vue-dashboard)
@@ -408,7 +408,7 @@ onMounted(async () => {
408
408
 
409
409
  #### 5. Full Editable Dashboard
410
410
 
411
- For editable dashboard examples, including **Undo/Redo**, **Zooming**, **Catalog Flyouts**, and **Multiple Dashboards**, please refer to the [Pro Template](https://www.tenorlab.com).
411
+ For editable dashboard examples, including **Undo/Redo**, **Zooming**, **Catalog Flyouts**, and **Multiple Dashboards**, please refer to [Tenorlab Pro](https://www.tenorlab.com).
412
412
 
413
413
 
414
414
  ------
@@ -437,7 +437,7 @@ For editable dashboard examples, including **Undo/Redo**, **Zooming**, **Catalog
437
437
  - [@tenorlab/react-dashboard](https://www.npmjs.com/package/@tenorlab/react-dashboard): React-specific components
438
438
  - [@tenorlab/vue-dashboard](https://www.npmjs.com/package/@tenorlab/vue-dashboard): Vue-specific components
439
439
 
440
- ### Pro Template Demos
440
+ ### Tenorlab Pro Demos
441
441
  - [React Demo](https://react.tenorlab.com) (built with @tenorlab/react-dashboard)
442
442
  - [Vue Demo](https://vue.tenorlab.com) (built with @tenorlab/vue-dashboard)
443
443
  - [Nuxt Demo](https://nuxt.tenorlab.com) (built with @tenorlab/vue-dashboard)
@@ -457,9 +457,9 @@ For editable dashboard examples, including **Undo/Redo**, **Zooming**, **Catalog
457
457
 
458
458
  It provides the foundational components and logic for building dashboards. You are free to use it in any project, personal or commercial.
459
459
 
460
- ## ⚡️ Go Pro and Save Time: Tenorlab App Template
460
+ ## ⚡️ Go Pro and Save Time: Tenorlab Pro
461
461
 
462
- A commercial license for a full-blown professional app template is available for purchase [**here**](https://www.tenorlab.com) and comes with:
462
+ A commercial license for a full-blown professional app code is available for purchase [**here**](https://www.tenorlab.com) and comes with:
463
463
 
464
464
  * **Full Application Shell:** A clean, optimized Vite + TypeScript project structure (with either React, Vue or Nuxt).
465
465
  * **Dashboard Management:** Production-ready logic for creating, listing, renaming, and deleting multiple user-defined dashboards.
@@ -28,8 +28,8 @@ click: (args: MouseEvent) => any;
28
28
  }, string, PublicProps, Readonly<IButtonProps> & Readonly<{
29
29
  onClick?: ((args: MouseEvent) => any) | undefined;
30
30
  }>, {
31
- disabled: boolean;
32
31
  type: TButtonType;
32
+ disabled: boolean;
33
33
  category: string;
34
34
  font: string;
35
35
  border: number;
@@ -43,11 +43,26 @@ shadowHover: string;
43
43
  addCss: string;
44
44
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
45
45
 
46
- declare const __VLS_component_4: DefineComponent<TStackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TStackProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
46
+ declare const __VLS_component_4: DefineComponent<TProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
47
+ toggleOpen: (args: boolean) => any;
48
+ }, string, PublicProps, Readonly<TProps> & Readonly<{
49
+ onToggleOpen?: ((args: boolean) => any) | undefined;
50
+ }>, {
51
+ label: string;
52
+ testid: string;
53
+ hideLabel: boolean;
54
+ showChevron: boolean;
55
+ addOptionLabel: string;
56
+ hide: boolean;
57
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
58
+ refDropdown: HTMLDivElement;
59
+ }, HTMLDivElement>;
47
60
 
48
- declare const __VLS_component_5: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
61
+ declare const __VLS_component_5: DefineComponent<TStackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TStackProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
49
62
 
50
- declare const __VLS_component_6: DefineComponent<IDraggablePanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
63
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
64
+
65
+ declare const __VLS_component_7: DefineComponent<IDraggablePanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
51
66
  draggingChange: (isDragging: boolean) => any;
52
67
  }, string, PublicProps, Readonly<IDraggablePanelProps> & Readonly<{
53
68
  onDraggingChange?: ((isDragging: boolean) => any) | undefined;
@@ -55,10 +70,10 @@ onDraggingChange?: ((isDragging: boolean) => any) | undefined;
55
70
  panelRef: HTMLDivElement;
56
71
  }, any>;
57
72
 
58
- declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
59
-
60
73
  declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
61
74
 
75
+ declare const __VLS_component_9: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
76
+
62
77
  declare type __VLS_PrettifyLocal<T> = {
63
78
  [K in keyof T]: T[K];
64
79
  } & {};
@@ -79,6 +94,10 @@ declare type __VLS_Props_3 = TStackProps & {
79
94
  innerClass?: string;
80
95
  };
81
96
 
97
+ declare type __VLS_Props_4 = {
98
+ title: string;
99
+ };
100
+
82
101
  declare function __VLS_template(): {
83
102
  attrs: Partial<{}>;
84
103
  slots: {
@@ -91,6 +110,8 @@ declare function __VLS_template(): {
91
110
  declare function __VLS_template_2(): {
92
111
  attrs: Partial<{}>;
93
112
  slots: {
113
+ title?(_: {}): any;
114
+ 'title-right'?(_: {}): any;
94
115
  default?(_: {}): any;
95
116
  };
96
117
  refs: {};
@@ -109,9 +130,12 @@ declare function __VLS_template_3(): {
109
130
  declare function __VLS_template_4(): {
110
131
  attrs: Partial<{}>;
111
132
  slots: {
133
+ icon?(_: {}): any;
112
134
  default?(_: {}): any;
113
135
  };
114
- refs: {};
136
+ refs: {
137
+ refDropdown: HTMLDivElement;
138
+ };
115
139
  rootEl: HTMLDivElement;
116
140
  };
117
141
 
@@ -125,6 +149,15 @@ declare function __VLS_template_5(): {
125
149
  };
126
150
 
127
151
  declare function __VLS_template_6(): {
152
+ attrs: Partial<{}>;
153
+ slots: {
154
+ default?(_: {}): any;
155
+ };
156
+ refs: {};
157
+ rootEl: HTMLDivElement;
158
+ };
159
+
160
+ declare function __VLS_template_7(): {
128
161
  attrs: Partial<{}>;
129
162
  slots: {
130
163
  default?(_: {}): any;
@@ -135,7 +168,7 @@ declare function __VLS_template_6(): {
135
168
  rootEl: any;
136
169
  };
137
170
 
138
- declare function __VLS_template_7(): {
171
+ declare function __VLS_template_8(): {
139
172
  attrs: Partial<{}>;
140
173
  slots: {
141
174
  default?(_: {}): any;
@@ -144,7 +177,7 @@ declare function __VLS_template_7(): {
144
177
  rootEl: HTMLDivElement;
145
178
  };
146
179
 
147
- declare function __VLS_template_8(): {
180
+ declare function __VLS_template_9(): {
148
181
  attrs: Partial<{}>;
149
182
  slots: {
150
183
  default?(_: {}): any;
@@ -169,6 +202,8 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
169
202
 
170
203
  declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
171
204
 
205
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
206
+
172
207
  declare type __VLS_WithTemplateSlots<T, S> = T & {
173
208
  new (): {
174
209
  $slots: S;
@@ -217,6 +252,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
217
252
  };
218
253
  };
219
254
 
255
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
256
+ new (): {
257
+ $slots: S;
258
+ };
259
+ };
260
+
220
261
  /**
221
262
  * @name _actions
222
263
  * @description Object containing action methods that wrap mutations for the dashboard store
@@ -241,10 +282,10 @@ declare const _actions: {
241
282
  moveWidget: (direction: -1 | 1, widgetKey: TDashboardWidgetKey, parentWidgetKey?: TDashboardWidgetKey) => TAddWidgetResponse;
242
283
  };
243
284
 
244
- export declare const AddIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
245
-
246
285
  export declare const Button: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
247
286
 
287
+ export declare const ChevronDownIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
288
+
248
289
  export declare const CircleQuestionMarkIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
249
290
 
250
291
  /**
@@ -315,9 +356,15 @@ export declare const DashboardGrid: __VLS_WithTemplateSlots<typeof __VLS_compone
315
356
 
316
357
  export declare const DashboardWidgetBase: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
317
358
 
359
+ declare const _default: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
360
+ export { _default as AddIcon }
361
+ export { _default as PlusCircleIcon }
362
+
318
363
  export declare const DeleteIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
319
364
 
320
- export declare const DraggablePanel: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
365
+ export declare const DraggablePanel: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
366
+
367
+ export declare const Dropdown: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
321
368
 
322
369
  export declare const DynamicWidgetLoader: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
323
370
  removeClick: (widgetKey: string, parentWidgetKey?: string | undefined) => any;
@@ -581,7 +628,9 @@ export declare interface ITooltipProps {
581
628
  title: string;
582
629
  }
583
630
 
584
- export declare const ListItem: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
631
+ export declare const ListItem: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
632
+
633
+ export declare const MinusCircleIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
585
634
 
586
635
  export declare const MonitorIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
587
636
 
@@ -599,7 +648,9 @@ export declare const SettingsIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}
599
648
 
600
649
  export declare const showToast: (options: any) => void;
601
650
 
602
- export declare const Stack: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
651
+ export declare const SpinnerComponent: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
652
+
653
+ export declare const Stack: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
603
654
 
604
655
  export declare const TabletSmartphoneIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
605
656
 
@@ -728,6 +779,17 @@ export declare type TManifestEntry = {
728
779
  meta: TWidgetMetaInfoBase;
729
780
  };
730
781
 
782
+ declare interface TProps {
783
+ testid?: string;
784
+ label?: string;
785
+ hideLabel?: boolean;
786
+ showChevron?: boolean;
787
+ addOptionLabel?: string;
788
+ hide?: boolean;
789
+ enabled: boolean;
790
+ isMenuOpen: boolean;
791
+ }
792
+
731
793
  /**
732
794
  * @name TSaveDashboards
733
795
  * @description Function type to save dashboards for a user
@@ -1007,9 +1069,9 @@ export declare const WidgetContainerRow: <K extends TDashboardWidgetKey = TDashb
1007
1069
 
1008
1070
  export declare const WidgetsCatalogFlyout: DefineComponent<TWidgetsCatalogFlyoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TWidgetsCatalogFlyoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1009
1071
 
1010
- export declare const WrapperColumnContent: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1072
+ export declare const WrapperColumnContent: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1011
1073
 
1012
- export declare const WrapperColumnContentListItem: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1074
+ export declare const WrapperColumnContentListItem: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1013
1075
 
1014
1076
  export declare const XCircleIcon: DefineComponent<TSvgIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TSvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
1015
1077