@getcortexlabs/mavis-core 0.1.0-rc.11.1 → 0.1.0-rc.12

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 (125) hide show
  1. package/README.md +2 -2
  2. package/dist/capabilities.d.ts +7 -7
  3. package/dist/capabilities.d.ts.map +1 -1
  4. package/dist/capabilities.js +23 -4
  5. package/dist/capabilities.js.map +1 -1
  6. package/dist/creative-controls.d.ts +47 -0
  7. package/dist/creative-controls.d.ts.map +1 -0
  8. package/dist/creative-controls.js +112 -0
  9. package/dist/creative-controls.js.map +1 -0
  10. package/dist/dashboard.d.ts +72 -0
  11. package/dist/dashboard.d.ts.map +1 -0
  12. package/dist/dashboard.js +115 -0
  13. package/dist/dashboard.js.map +1 -0
  14. package/dist/index.d.ts +3 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +3 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/screen-components.d.ts +45 -0
  19. package/dist/screen-components.d.ts.map +1 -0
  20. package/dist/screen-components.js +23 -0
  21. package/dist/screen-components.js.map +1 -0
  22. package/dist/vue/animated-text.d.ts +101 -0
  23. package/dist/vue/animated-text.d.ts.map +1 -0
  24. package/dist/vue/animated-text.js +56 -0
  25. package/dist/vue/animated-text.js.map +1 -0
  26. package/dist/vue/component-props.d.ts +692 -3
  27. package/dist/vue/component-props.d.ts.map +1 -1
  28. package/dist/vue/component-props.js +22 -0
  29. package/dist/vue/component-props.js.map +1 -1
  30. package/dist/vue/composer.d.ts +159 -0
  31. package/dist/vue/composer.d.ts.map +1 -0
  32. package/dist/vue/composer.js +142 -0
  33. package/dist/vue/composer.js.map +1 -0
  34. package/dist/vue/configurator.d.ts +1 -1
  35. package/dist/vue/creative-controls.d.ts +328 -0
  36. package/dist/vue/creative-controls.d.ts.map +1 -0
  37. package/dist/vue/creative-controls.js +396 -0
  38. package/dist/vue/creative-controls.js.map +1 -0
  39. package/dist/vue/creative-props.d.ts +260 -0
  40. package/dist/vue/creative-props.d.ts.map +1 -0
  41. package/dist/vue/creative-props.js +92 -0
  42. package/dist/vue/creative-props.js.map +1 -0
  43. package/dist/vue/dashboard-charts.d.ts +240 -0
  44. package/dist/vue/dashboard-charts.d.ts.map +1 -0
  45. package/dist/vue/dashboard-charts.js +263 -0
  46. package/dist/vue/dashboard-charts.js.map +1 -0
  47. package/dist/vue/dashboard-effects.d.ts +211 -0
  48. package/dist/vue/dashboard-effects.d.ts.map +1 -0
  49. package/dist/vue/dashboard-effects.js +235 -0
  50. package/dist/vue/dashboard-effects.js.map +1 -0
  51. package/dist/vue/dashboard-props.d.ts +244 -0
  52. package/dist/vue/dashboard-props.d.ts.map +1 -0
  53. package/dist/vue/dashboard-props.js +94 -0
  54. package/dist/vue/dashboard-props.js.map +1 -0
  55. package/dist/vue/discovery-controls.d.ts +1 -1
  56. package/dist/vue/global-components.d.ts +106 -0
  57. package/dist/vue/global-components.d.ts.map +1 -1
  58. package/dist/vue/index.d.ts +16 -0
  59. package/dist/vue/index.d.ts.map +1 -1
  60. package/dist/vue/index.js +16 -0
  61. package/dist/vue/index.js.map +1 -1
  62. package/dist/vue/kanban.d.ts +150 -0
  63. package/dist/vue/kanban.d.ts.map +1 -0
  64. package/dist/vue/kanban.js +267 -0
  65. package/dist/vue/kanban.js.map +1 -0
  66. package/dist/vue/marquee.d.ts +96 -0
  67. package/dist/vue/marquee.d.ts.map +1 -0
  68. package/dist/vue/marquee.js +186 -0
  69. package/dist/vue/marquee.js.map +1 -0
  70. package/dist/vue/pin-cell.d.ts +14 -0
  71. package/dist/vue/pin-cell.d.ts.map +1 -0
  72. package/dist/vue/pin-cell.js +19 -0
  73. package/dist/vue/pin-cell.js.map +1 -0
  74. package/dist/vue/pin-input.d.ts +14 -0
  75. package/dist/vue/pin-input.d.ts.map +1 -0
  76. package/dist/vue/pin-input.js +23 -0
  77. package/dist/vue/pin-input.js.map +1 -0
  78. package/dist/vue/props.d.ts +6 -6
  79. package/dist/vue/screen-component-props.d.ts +236 -0
  80. package/dist/vue/screen-component-props.d.ts.map +1 -0
  81. package/dist/vue/screen-component-props.js +90 -0
  82. package/dist/vue/screen-component-props.js.map +1 -0
  83. package/dist/vue/scroll-frame.d.ts +223 -0
  84. package/dist/vue/scroll-frame.d.ts.map +1 -0
  85. package/dist/vue/scroll-frame.js +346 -0
  86. package/dist/vue/scroll-frame.js.map +1 -0
  87. package/dist/vue/speed-dial.d.ts +73 -0
  88. package/dist/vue/speed-dial.d.ts.map +1 -0
  89. package/dist/vue/speed-dial.js +78 -0
  90. package/dist/vue/speed-dial.js.map +1 -0
  91. package/dist/vue/swipe-deck.d.ts +120 -0
  92. package/dist/vue/swipe-deck.d.ts.map +1 -0
  93. package/dist/vue/swipe-deck.js +229 -0
  94. package/dist/vue/swipe-deck.js.map +1 -0
  95. package/dist/vue/time-picker.d.ts +2 -2
  96. package/dist/vue/tour.d.ts +120 -0
  97. package/dist/vue/tour.d.ts.map +1 -0
  98. package/dist/vue/tour.js +165 -0
  99. package/dist/vue/tour.js.map +1 -0
  100. package/dist/vue/tree-view.d.ts +1 -1
  101. package/package.json +1 -1
  102. package/src/capabilities.ts +24 -4
  103. package/src/creative-controls.ts +169 -0
  104. package/src/dashboard.ts +164 -0
  105. package/src/index.ts +5 -0
  106. package/src/screen-components.ts +59 -0
  107. package/src/vue/animated-text.ts +72 -0
  108. package/src/vue/component-props.ts +47 -0
  109. package/src/vue/composer.ts +192 -0
  110. package/src/vue/creative-controls.ts +524 -0
  111. package/src/vue/creative-props.ts +94 -0
  112. package/src/vue/dashboard-charts.ts +346 -0
  113. package/src/vue/dashboard-effects.ts +304 -0
  114. package/src/vue/dashboard-props.ts +95 -0
  115. package/src/vue/global-components.ts +116 -0
  116. package/src/vue/index.ts +20 -0
  117. package/src/vue/kanban.ts +360 -0
  118. package/src/vue/marquee.ts +248 -0
  119. package/src/vue/pin-cell.ts +26 -0
  120. package/src/vue/pin-input.ts +31 -0
  121. package/src/vue/screen-component-props.ts +92 -0
  122. package/src/vue/scroll-frame.ts +429 -0
  123. package/src/vue/speed-dial.ts +108 -0
  124. package/src/vue/swipe-deck.ts +277 -0
  125. package/src/vue/tour.ts +239 -0
@@ -0,0 +1,260 @@
1
+ import type { PropType } from '@vue/runtime-core';
2
+ import type { ChoiceOption, ChoiceValue } from '../choice.js';
3
+ import type { MarqueeItem, SwipeCard, TourStep } from '../creative-controls.js';
4
+ export declare const colorPickerProps: {
5
+ id: StringConstructor;
6
+ label: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ modelValue: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ disabled: BooleanConstructor;
15
+ readonly: BooleanConstructor;
16
+ alpha: BooleanConstructor;
17
+ animated: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ palette: {
22
+ type: PropType<readonly string[]>;
23
+ default: () => string[];
24
+ };
25
+ colorLabel: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ hueLabel: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ saturationLabel: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ brightnessLabel: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ alphaLabel: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ paletteLabel: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ invalidLabel: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ };
54
+ export declare const swipeDeckProps: {
55
+ id: StringConstructor;
56
+ label: {
57
+ type: StringConstructor;
58
+ required: true;
59
+ };
60
+ items: {
61
+ type: PropType<readonly SwipeCard[]>;
62
+ required: true;
63
+ };
64
+ modelValue: {
65
+ type: PropType<ChoiceValue | null>;
66
+ default: null;
67
+ };
68
+ disabled: BooleanConstructor;
69
+ animated: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ height: {
74
+ type: NumberConstructor;
75
+ default: number;
76
+ };
77
+ threshold: {
78
+ type: NumberConstructor;
79
+ default: number;
80
+ };
81
+ acceptLabel: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ rejectLabel: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ undoLabel: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ canUndo: BooleanConstructor;
94
+ emptyLabel: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ };
99
+ export declare const gaugeProps: {
100
+ id: StringConstructor;
101
+ label: {
102
+ type: StringConstructor;
103
+ required: true;
104
+ };
105
+ value: {
106
+ type: NumberConstructor;
107
+ required: true;
108
+ };
109
+ min: {
110
+ type: NumberConstructor;
111
+ default: number;
112
+ };
113
+ max: {
114
+ type: NumberConstructor;
115
+ default: number;
116
+ };
117
+ size: {
118
+ type: NumberConstructor;
119
+ default: number;
120
+ };
121
+ strokeWidth: {
122
+ type: NumberConstructor;
123
+ default: number;
124
+ };
125
+ semi: BooleanConstructor;
126
+ animated: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ animateNumber: BooleanConstructor;
131
+ color: StringConstructor;
132
+ suffix: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
136
+ formatValue: PropType<(value: number) => string>;
137
+ };
138
+ export declare const transferListProps: {
139
+ id: StringConstructor;
140
+ label: {
141
+ type: StringConstructor;
142
+ required: true;
143
+ };
144
+ options: {
145
+ type: PropType<readonly ChoiceOption[]>;
146
+ required: true;
147
+ };
148
+ modelValue: {
149
+ type: PropType<readonly ChoiceValue[]>;
150
+ default: () => never[];
151
+ };
152
+ disabled: BooleanConstructor;
153
+ animated: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ availableLabel: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ selectedLabel: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ searchLabel: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ addLabel: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ removeLabel: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ emptyLabel: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ };
182
+ export declare const tourProps: {
183
+ id: StringConstructor;
184
+ label: {
185
+ type: StringConstructor;
186
+ required: true;
187
+ };
188
+ steps: {
189
+ type: PropType<readonly TourStep[]>;
190
+ required: true;
191
+ };
192
+ modelValue: {
193
+ type: PropType<string | null>;
194
+ default: null;
195
+ };
196
+ animated: {
197
+ type: BooleanConstructor;
198
+ default: boolean;
199
+ };
200
+ nextLabel: {
201
+ type: StringConstructor;
202
+ default: string;
203
+ };
204
+ backLabel: {
205
+ type: StringConstructor;
206
+ default: string;
207
+ };
208
+ skipLabel: {
209
+ type: StringConstructor;
210
+ default: string;
211
+ };
212
+ finishLabel: {
213
+ type: StringConstructor;
214
+ default: string;
215
+ };
216
+ };
217
+ export declare const tourTargetProps: {
218
+ name: {
219
+ type: StringConstructor;
220
+ required: true;
221
+ };
222
+ };
223
+ export declare const marqueeProps: {
224
+ id: StringConstructor;
225
+ label: {
226
+ type: StringConstructor;
227
+ required: true;
228
+ };
229
+ items: {
230
+ type: PropType<readonly MarqueeItem[]>;
231
+ required: true;
232
+ };
233
+ autoplay: BooleanConstructor;
234
+ paused: BooleanConstructor;
235
+ speed: {
236
+ type: NumberConstructor;
237
+ default: number;
238
+ };
239
+ direction: {
240
+ type: PropType<"left" | "right">;
241
+ default: string;
242
+ };
243
+ itemWidth: {
244
+ type: NumberConstructor;
245
+ default: number;
246
+ };
247
+ gap: {
248
+ type: NumberConstructor;
249
+ default: number;
250
+ };
251
+ playLabel: {
252
+ type: StringConstructor;
253
+ default: string;
254
+ };
255
+ pauseLabel: {
256
+ type: StringConstructor;
257
+ default: string;
258
+ };
259
+ };
260
+ //# sourceMappingURL=creative-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creative-props.d.ts","sourceRoot":"","sources":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A"}
@@ -0,0 +1,92 @@
1
+ const label = { type: String, required: true };
2
+ const animated = { type: Boolean, default: true };
3
+ export const colorPickerProps = {
4
+ id: String,
5
+ label,
6
+ modelValue: { type: String, default: '#9C5270' },
7
+ disabled: Boolean,
8
+ readonly: Boolean,
9
+ alpha: Boolean,
10
+ animated,
11
+ palette: {
12
+ type: Array,
13
+ default: () => ['#9C5270', '#51847B', '#BF733E', '#6366A4', '#213A32', '#E6C88E'],
14
+ },
15
+ colorLabel: { type: String, default: 'HEX or RGB' },
16
+ hueLabel: { type: String, default: 'Hue' },
17
+ saturationLabel: { type: String, default: 'Saturation' },
18
+ brightnessLabel: { type: String, default: 'Brightness' },
19
+ alphaLabel: { type: String, default: 'Opacity' },
20
+ paletteLabel: { type: String, default: 'Palette' },
21
+ invalidLabel: { type: String, default: 'Enter a valid HEX or RGB color.' },
22
+ };
23
+ export const swipeDeckProps = {
24
+ id: String,
25
+ label,
26
+ items: { type: Array, required: true },
27
+ modelValue: { type: [String, Number], default: null },
28
+ disabled: Boolean,
29
+ animated,
30
+ height: { type: Number, default: 340 },
31
+ threshold: { type: Number, default: 90 },
32
+ acceptLabel: { type: String, default: 'Keep' },
33
+ rejectLabel: { type: String, default: 'Pass' },
34
+ undoLabel: { type: String, default: 'Undo' },
35
+ canUndo: Boolean,
36
+ emptyLabel: { type: String, default: 'All caught up.' },
37
+ };
38
+ export const gaugeProps = {
39
+ id: String,
40
+ label,
41
+ value: { type: Number, required: true },
42
+ min: { type: Number, default: 0 },
43
+ max: { type: Number, default: 100 },
44
+ size: { type: Number, default: 220 },
45
+ strokeWidth: { type: Number, default: 7 },
46
+ semi: Boolean,
47
+ animated,
48
+ animateNumber: Boolean,
49
+ color: String,
50
+ suffix: { type: String, default: '' },
51
+ formatValue: Function,
52
+ };
53
+ export const transferListProps = {
54
+ id: String,
55
+ label,
56
+ options: { type: Array, required: true },
57
+ modelValue: { type: Array, default: () => [] },
58
+ disabled: Boolean,
59
+ animated,
60
+ availableLabel: { type: String, default: 'Available' },
61
+ selectedLabel: { type: String, default: 'Selected' },
62
+ searchLabel: { type: String, default: 'Filter' },
63
+ addLabel: { type: String, default: 'Add selected' },
64
+ removeLabel: { type: String, default: 'Remove selected' },
65
+ emptyLabel: { type: String, default: 'No matches' },
66
+ };
67
+ export const tourProps = {
68
+ id: String,
69
+ label,
70
+ steps: { type: Array, required: true },
71
+ modelValue: { type: String, default: null },
72
+ animated,
73
+ nextLabel: { type: String, default: 'Next' },
74
+ backLabel: { type: String, default: 'Back' },
75
+ skipLabel: { type: String, default: 'End tour' },
76
+ finishLabel: { type: String, default: 'Finish' },
77
+ };
78
+ export const tourTargetProps = { name: { type: String, required: true } };
79
+ export const marqueeProps = {
80
+ id: String,
81
+ label,
82
+ items: { type: Array, required: true },
83
+ autoplay: Boolean,
84
+ paused: Boolean,
85
+ speed: { type: Number, default: 35 },
86
+ direction: { type: String, default: 'left' },
87
+ itemWidth: { type: Number, default: 180 },
88
+ gap: { type: Number, default: 16 },
89
+ playLabel: { type: String, default: 'Play motion' },
90
+ pauseLabel: { type: String, default: 'Pause motion' },
91
+ };
92
+ //# sourceMappingURL=creative-props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creative-props.js","sourceRoot":"","sources":["../../src/vue/creative-props.ts"],"names":[],"mappings":"AAGA,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAa,EAAE,CAAA;AACvD,MAAM,QAAQ,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,MAAM;IACV,KAAK;IACL,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE;IAChD,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,OAAO;IACjB,KAAK,EAAE,OAAO;IACd,QAAQ;IACR,OAAO,EAAE;QACP,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,EAAE,EAAE,IAAI,EAAE,MAAoC,EAAE,OAAO,EAAE,MAAM,EAAE;IAC1E,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE;IACzC,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAClC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE;IACnD,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE;CACtD,CAAA"}
@@ -0,0 +1,240 @@
1
+ import { type Component } from '@vue/runtime-core';
2
+ export interface DashboardUI {
3
+ Box: Component;
4
+ Column: Component;
5
+ Row: Component;
6
+ Stack: Component;
7
+ Text: Component;
8
+ Button: Component;
9
+ NumberFlow: Component;
10
+ Shape: Component;
11
+ Environment: Component;
12
+ Plot: Component;
13
+ }
14
+ /** Same Jolt shape presentation on SVG and native layers, with canonical SSR fallback. */
15
+ export declare function createDashboardShape(Box: Component, Fallback: Component, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
16
+ d: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ viewBox: {
21
+ type: import("@vue/runtime-core").PropType<readonly [number, number, number, number]>;
22
+ required: true;
23
+ };
24
+ color: {
25
+ type: StringConstructor;
26
+ required: true;
27
+ };
28
+ strokeWidth: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ start: {
33
+ type: NumberConstructor;
34
+ default: number;
35
+ };
36
+ end: {
37
+ type: NumberConstructor;
38
+ default: number;
39
+ };
40
+ animated: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
45
+ [key: string]: any;
46
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
47
+ d: {
48
+ type: StringConstructor;
49
+ required: true;
50
+ };
51
+ viewBox: {
52
+ type: import("@vue/runtime-core").PropType<readonly [number, number, number, number]>;
53
+ required: true;
54
+ };
55
+ color: {
56
+ type: StringConstructor;
57
+ required: true;
58
+ };
59
+ strokeWidth: {
60
+ type: NumberConstructor;
61
+ default: number;
62
+ };
63
+ start: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ };
67
+ end: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ animated: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>> & Readonly<{}>, {
76
+ start: number;
77
+ end: number;
78
+ animated: boolean;
79
+ strokeWidth: number;
80
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
81
+ export declare function createDonutChart(ui: DashboardUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
82
+ id: StringConstructor;
83
+ label: {
84
+ type: StringConstructor;
85
+ required: true;
86
+ };
87
+ segments: {
88
+ type: import("@vue/runtime-core").PropType<readonly import("../dashboard.js").DonutSegment[]>;
89
+ required: true;
90
+ };
91
+ modelValue: {
92
+ type: import("@vue/runtime-core").PropType<string | null>;
93
+ default: null;
94
+ };
95
+ size: {
96
+ type: NumberConstructor;
97
+ default: number;
98
+ };
99
+ strokeWidth: {
100
+ type: NumberConstructor;
101
+ default: number;
102
+ };
103
+ animated: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ animateNumber: BooleanConstructor;
108
+ disabled: BooleanConstructor;
109
+ totalLabel: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ emptyLabel: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
118
+ }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
119
+ [key: string]: any;
120
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
121
+ 'update:modelValue': (_value: string | null) => true;
122
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
123
+ id: StringConstructor;
124
+ label: {
125
+ type: StringConstructor;
126
+ required: true;
127
+ };
128
+ segments: {
129
+ type: import("@vue/runtime-core").PropType<readonly import("../dashboard.js").DonutSegment[]>;
130
+ required: true;
131
+ };
132
+ modelValue: {
133
+ type: import("@vue/runtime-core").PropType<string | null>;
134
+ default: null;
135
+ };
136
+ size: {
137
+ type: NumberConstructor;
138
+ default: number;
139
+ };
140
+ strokeWidth: {
141
+ type: NumberConstructor;
142
+ default: number;
143
+ };
144
+ animated: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ animateNumber: BooleanConstructor;
149
+ disabled: BooleanConstructor;
150
+ totalLabel: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ emptyLabel: {
155
+ type: StringConstructor;
156
+ default: string;
157
+ };
158
+ formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
159
+ }>> & Readonly<{
160
+ "onUpdate:modelValue"?: ((_value: string | null) => any) | undefined;
161
+ }>, {
162
+ disabled: boolean;
163
+ size: number;
164
+ modelValue: string | null;
165
+ animated: boolean;
166
+ emptyLabel: string;
167
+ strokeWidth: number;
168
+ animateNumber: boolean;
169
+ totalLabel: string;
170
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
171
+ export declare function createSparkline(ui: DashboardUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
172
+ id: StringConstructor;
173
+ label: {
174
+ type: StringConstructor;
175
+ required: true;
176
+ };
177
+ points: {
178
+ type: import("@vue/runtime-core").PropType<readonly import("../dashboard.js").SparklinePoint[]>;
179
+ required: true;
180
+ };
181
+ domain: import("@vue/runtime-core").PropType<readonly [number, number]>;
182
+ height: {
183
+ type: NumberConstructor;
184
+ default: number;
185
+ };
186
+ color: StringConstructor;
187
+ animated: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ showData: BooleanConstructor;
192
+ dataLabel: {
193
+ type: StringConstructor;
194
+ default: string;
195
+ };
196
+ emptyLabel: {
197
+ type: StringConstructor;
198
+ default: string;
199
+ };
200
+ formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
201
+ }>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
202
+ [key: string]: any;
203
+ }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
204
+ id: StringConstructor;
205
+ label: {
206
+ type: StringConstructor;
207
+ required: true;
208
+ };
209
+ points: {
210
+ type: import("@vue/runtime-core").PropType<readonly import("../dashboard.js").SparklinePoint[]>;
211
+ required: true;
212
+ };
213
+ domain: import("@vue/runtime-core").PropType<readonly [number, number]>;
214
+ height: {
215
+ type: NumberConstructor;
216
+ default: number;
217
+ };
218
+ color: StringConstructor;
219
+ animated: {
220
+ type: BooleanConstructor;
221
+ default: boolean;
222
+ };
223
+ showData: BooleanConstructor;
224
+ dataLabel: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ emptyLabel: {
229
+ type: StringConstructor;
230
+ default: string;
231
+ };
232
+ formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
233
+ }>> & Readonly<{}>, {
234
+ height: number;
235
+ animated: boolean;
236
+ emptyLabel: string;
237
+ showData: boolean;
238
+ dataLabel: string;
239
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
240
+ //# sourceMappingURL=dashboard-charts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-charts.d.ts","sourceRoot":"","sources":["../../src/vue/dashboard-charts.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,mBAAmB,CAAA;AAO1B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,SAAS,CAAA;IACd,MAAM,EAAE,SAAS,CAAA;IACjB,GAAG,EAAE,SAAS,CAAA;IACd,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,EAAE,SAAS,CAAA;IACjB,UAAU,EAAE,SAAS,CAAA;IACrB,KAAK,EAAE,SAAS,CAAA;IAChB,WAAW,EAAE,SAAS,CAAA;IACtB,IAAI,EAAE,SAAS,CAAA;CAChB;AACD,0FAA0F;AAC1F,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAsF3B;AACD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAKjC,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FA0IvD;AACD,wBAAgB,eAAe,CAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAiF1E"}