vlite3 1.1.5 → 1.1.7

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 (37) hide show
  1. package/README.md +1 -0
  2. package/components/Chart/GaugeChart.vue.d.ts +120 -0
  3. package/components/Chart/PieChart.vue.d.ts +1 -1
  4. package/components/Chart/index.d.ts +2 -1
  5. package/components/Chart/types.d.ts +60 -1
  6. package/components/DataTable/DataTable.vue.d.ts +1 -0
  7. package/components/DataTable/DataTable.vue.js +142 -132
  8. package/components/DataTable/DataTableHeader.vue.d.ts +1 -0
  9. package/components/DataTable/DataTableHeader.vue.js +17 -16
  10. package/components/DataTable/DataTableRow.vue.d.ts +1 -0
  11. package/components/DataTable/DataTableRow.vue.js +29 -25
  12. package/components/DataTable/types.d.ts +1 -0
  13. package/components/Dropdown/Dropdown.vue.d.ts +2 -1
  14. package/components/Dropdown/Dropdown.vue.js +74 -71
  15. package/components/Dropdown/DropdownMenu.vue.d.ts +3 -0
  16. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  17. package/components/Dropdown/DropdownMenu.vue2.js +85 -74
  18. package/components/Dropdown/DropdownTrigger.vue.js +8 -4
  19. package/components/Form/CustomFields.vue.js +1 -1
  20. package/components/Form/CustomFields.vue2.js +65 -65
  21. package/components/MultiSelect/MultiSelect.vue.d.ts +3 -0
  22. package/components/MultiSelect/MultiSelect.vue.js +82 -78
  23. package/components/Screen/components/ScreenEmptyState.vue.js +1 -1
  24. package/components/Skeleton/Skeleton.vue.d.ts +30 -0
  25. package/components/Skeleton/Skeleton.vue.js +215 -0
  26. package/components/Skeleton/Skeleton.vue2.js +4 -0
  27. package/components/Skeleton/extract.d.ts +5 -0
  28. package/components/Skeleton/extract.js +83 -0
  29. package/components/Skeleton/index.d.ts +4 -0
  30. package/components/Skeleton/shared.d.ts +14 -0
  31. package/components/Skeleton/shared.js +29 -0
  32. package/components/Skeleton/types.d.ts +59 -0
  33. package/components/Skeleton/types.js +6 -0
  34. package/index.d.ts +1 -0
  35. package/index.js +217 -207
  36. package/package.json +1 -1
  37. package/style.css +1 -1
package/README.md CHANGED
@@ -470,6 +470,7 @@ Follow these rules strictly to ensure visual consistency and predictable styling
470
470
  - [x] **CommandPalette**
471
471
  - [x] **SidePanel**
472
472
  - [x] **Splitter**
473
+ - [x] **Skeleton**
473
474
 
474
475
  ### Utilities & Tools
475
476
 
@@ -0,0 +1,120 @@
1
+ export type GaugeVariant = 'arc' | 'ticks' | 'slim' | 'ball';
2
+ export type GaugeLineCap = 'round' | 'butt' | 'square';
3
+ export interface GaugeZone {
4
+ /** Start of zone (absolute value, not percent) */
5
+ from: number;
6
+ /** End of zone (absolute value, not percent) */
7
+ to: number;
8
+ /** CSS color for this zone */
9
+ color: string;
10
+ }
11
+ export interface GaugeChartProps {
12
+ /** Current value */
13
+ value: number;
14
+ /** Minimum value on the scale */
15
+ min?: number;
16
+ /** Maximum value on the scale */
17
+ max?: number;
18
+ /**
19
+ * arc — Thick gradient arc (speedometer style)
20
+ * ticks — Segmented radial dash ring
21
+ * slim — Thin minimal arc
22
+ * ball — Arc with a glowing orb at the progress tip
23
+ */
24
+ variant?: GaugeVariant;
25
+ /** SVG bounding diameter in px */
26
+ size?: number;
27
+ /** Stroke width for the arc */
28
+ strokeWidth?: number;
29
+ /** Opening gap at the bottom of the gauge, in degrees (default 60) */
30
+ gapAngle?: number;
31
+ /** Semantic color name ('primary', 'success', etc.) or any CSS color */
32
+ color?: string;
33
+ /** Background track color */
34
+ trackColor?: string;
35
+ /** Apply a gradient to the progress arc */
36
+ gradient?: boolean;
37
+ /** Total number of tick marks (ticks variant) */
38
+ tickCount?: number;
39
+ /** Gap between tick marks in degrees (ticks variant) */
40
+ tickGap?: number;
41
+ /** Thickness of each individual tick mark in px */
42
+ tickWidth?: number;
43
+ /** Radius of the glowing orb at the arc tip. Defaults to strokeWidth * 0.65 */
44
+ ballRadius?: number;
45
+ /** Show the current value in the center */
46
+ showValue?: boolean;
47
+ /** Custom formatter — receives (value, pct) */
48
+ formatValue?: (v: number, pct: number) => string;
49
+ /** Primary label below the value */
50
+ label?: string;
51
+ /** Secondary sublabel */
52
+ sublabel?: string;
53
+ /** Show a pointer needle (arc and slim variants) */
54
+ showNeedle?: boolean;
55
+ /** CSS color for the needle */
56
+ needleColor?: string;
57
+ /** Color zones rendered as arc segments beneath the progress arc */
58
+ zones?: GaugeZone[];
59
+ /** Cap style for the progress arc */
60
+ lineCap?: GaugeLineCap;
61
+ /** Play an entry animation on mount and value change */
62
+ animate?: boolean;
63
+ }
64
+ declare function __VLS_template(): {
65
+ attrs: Partial<{}>;
66
+ slots: {
67
+ center?(_: {
68
+ value: number;
69
+ percentage: number;
70
+ displayValue: string;
71
+ }): any;
72
+ center?(_: {
73
+ value: number;
74
+ percentage: number;
75
+ displayValue: string;
76
+ }): any;
77
+ center?(_: {
78
+ value: number;
79
+ percentage: number;
80
+ displayValue: string;
81
+ }): any;
82
+ center?(_: {
83
+ value: number;
84
+ percentage: number;
85
+ displayValue: string;
86
+ }): any;
87
+ footer?(_: {
88
+ value: number;
89
+ percentage: number;
90
+ displayValue: string;
91
+ }): any;
92
+ };
93
+ refs: {};
94
+ rootEl: HTMLDivElement;
95
+ };
96
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
97
+ declare const __VLS_component: import('vue').DefineComponent<GaugeChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GaugeChartProps> & Readonly<{}>, {
98
+ animate: boolean;
99
+ color: string;
100
+ strokeWidth: number;
101
+ variant: GaugeVariant;
102
+ size: number;
103
+ gradient: boolean;
104
+ min: number;
105
+ max: number;
106
+ showValue: boolean;
107
+ lineCap: GaugeLineCap;
108
+ gapAngle: number;
109
+ tickCount: number;
110
+ tickGap: number;
111
+ tickWidth: number;
112
+ showNeedle: boolean;
113
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
114
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
115
+ export default _default;
116
+ type __VLS_WithTemplateSlots<T, S> = T & {
117
+ new (): {
118
+ $slots: S;
119
+ };
120
+ };
@@ -1,5 +1,5 @@
1
1
  import { ChartDataPoint } from './types';
2
- export type PieLabelMode = 'percent' | 'value' | 'label' | 'none';
2
+ export type PieLabelMode = 'percent' | 'value' | 'label' | 'none' | 'outside';
3
3
  export type LegendPosition = 'right' | 'bottom';
4
4
  export interface PieChartProps {
5
5
  data: ChartDataPoint[];
@@ -2,4 +2,5 @@ export { default as LineChart } from './LineChart.vue';
2
2
  export { default as BarChart } from './BarChart.vue';
3
3
  export { default as PieChart } from './PieChart.vue';
4
4
  export { default as CircleChart } from './CircleChart.vue';
5
- export type { ChartDataPoint, ChartDataset, LineChartProps, BarChartProps, PieChartProps, CircleChartProps, } from './types';
5
+ export { default as GaugeChart } from './GaugeChart.vue';
6
+ export type { ChartDataPoint, ChartDataset, LineChartProps, BarChartProps, PieChartProps, CircleChartProps, GaugeChartProps, GaugeVariant, GaugeZone, } from './types';
@@ -74,7 +74,7 @@ export interface BarChartProps {
74
74
  /** Custom value formatter */
75
75
  formatValue?: (v: number) => string;
76
76
  }
77
- export type PieLabelMode = 'percent' | 'value' | 'label' | 'none';
77
+ export type PieLabelMode = 'percent' | 'value' | 'label' | 'none' | 'outside';
78
78
  export type LegendPosition = 'right' | 'bottom';
79
79
  export interface PieChartProps {
80
80
  /** Chart data */
@@ -133,3 +133,62 @@ export interface CircleChartProps {
133
133
  /** Stroke cap style */
134
134
  lineCap?: StrokeLineCap;
135
135
  }
136
+ /** Visual rendering mode for GaugeChart */
137
+ export type GaugeVariant = 'arc' | 'ticks' | 'slim' | 'ball';
138
+ /** A colored zone segment on the gauge arc */
139
+ export interface GaugeZone {
140
+ /** Start of zone (absolute value, not percent) */
141
+ from: number;
142
+ /** End of zone (absolute value, not percent) */
143
+ to: number;
144
+ /** CSS color for this zone */
145
+ color: string;
146
+ }
147
+ export interface GaugeChartProps {
148
+ /** Current value */
149
+ value: number;
150
+ /** Minimum value on the scale */
151
+ min?: number;
152
+ /** Maximum value on the scale */
153
+ max?: number;
154
+ /** arc: thick gradient arc. ticks: segmented dash ring. slim: thin minimal arc. */
155
+ variant?: GaugeVariant;
156
+ /** SVG bounding diameter in px */
157
+ size?: number;
158
+ /** Stroke width for the arc (arc & slim variants) */
159
+ strokeWidth?: number;
160
+ /** Opening gap at the bottom of the gauge, in degrees (default 60) */
161
+ gapAngle?: number;
162
+ /** Semantic color name ('primary', 'success', etc.) or any CSS color */
163
+ color?: ChartColor;
164
+ /** Background track color */
165
+ trackColor?: string;
166
+ /** Apply a gradient to the progress arc */
167
+ gradient?: boolean;
168
+ /** Total number of tick marks (ticks variant) */
169
+ tickCount?: number;
170
+ /** Gap between tick marks in degrees (ticks variant) */
171
+ tickGap?: number;
172
+ /** Thickness of each individual tick mark in px */
173
+ tickWidth?: number;
174
+ /** Radius of the glowing orb at the arc tip. Defaults to strokeWidth * 0.65 */
175
+ ballRadius?: number;
176
+ /** Show the current value in the center */
177
+ showValue?: boolean;
178
+ /** Custom formatter — receives (value, pct) */
179
+ formatValue?: (v: number, pct: number) => string;
180
+ /** Primary label below the value */
181
+ label?: string;
182
+ /** Secondary sublabel */
183
+ sublabel?: string;
184
+ /** Show a pointer needle (arc and slim variants) */
185
+ showNeedle?: boolean;
186
+ /** CSS color for the needle */
187
+ needleColor?: string;
188
+ /** Color zones rendered as arc segments beneath the progress arc */
189
+ zones?: GaugeZone[];
190
+ /** Cap style for the progress arc */
191
+ lineCap?: StrokeLineCap;
192
+ /** Play an entry animation on mount and value change */
193
+ animate?: boolean;
194
+ }
@@ -41,6 +41,7 @@ declare const __VLS_component: import('vue').DefineComponent<DataTableProps, {},
41
41
  hideSelectable: boolean;
42
42
  selectedRows: any[];
43
43
  showPagination: boolean;
44
+ cellBordered: boolean;
44
45
  keyField: string;
45
46
  hoverable: boolean;
46
47
  bordered: boolean;