vue-chrts 0.0.117 → 0.0.119

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 (69) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/image.png +0 -0
  3. package/index.html +14 -0
  4. package/index.js +2 -0
  5. package/package.json +1 -4
  6. package/src/components/Area/AreaChart.vue +141 -0
  7. package/src/components/Area/index.ts +1 -0
  8. package/src/components/AreaStacked/AreaStackedChart.vue +51 -0
  9. package/{dist/components/AreaStacked/index.d.ts → src/components/AreaStacked/index.ts} +1 -1
  10. package/src/components/Bar/BarChart.vue +130 -0
  11. package/src/components/Bar/index.ts +1 -0
  12. package/src/components/Crosshair/Crosshair.vue +46 -0
  13. package/src/components/Crosshair/index.ts +1 -0
  14. package/src/components/Donut/DonutChart.vue +71 -0
  15. package/src/components/Donut/index.ts +1 -0
  16. package/src/components/Line/LineChart.vue +94 -0
  17. package/src/components/Line/index.ts +1 -0
  18. package/src/components/Tooltip.vue +17 -0
  19. package/src/components.ts +6 -0
  20. package/src/index.ts +6 -0
  21. package/src/shims-vue.d.ts +1 -0
  22. package/src-demo/AdminTemplate.vue +5 -0
  23. package/src-demo/App.vue +37 -0
  24. package/src-demo/AreaChartPage.vue +125 -0
  25. package/src-demo/BarChartPage.vue +166 -0
  26. package/src-demo/DashboardTemplate.vue +687 -0
  27. package/src-demo/Homepage.vue +325 -0
  28. package/src-demo/LineChartPage.vue +140 -0
  29. package/src-demo/assets/main.css +34 -0
  30. package/src-demo/components/Progress/Progress.vue +42 -0
  31. package/src-demo/components/Progress/index.ts +1 -0
  32. package/src-demo/components/Status/Status.vue +95 -0
  33. package/src-demo/components/Status/index.ts +1 -0
  34. package/src-demo/components/charts.ts +37 -0
  35. package/src-demo/components/index.ts +49 -0
  36. package/src-demo/data/AreaChartData.ts +294 -0
  37. package/src-demo/data/BarChartData.ts +79 -0
  38. package/src-demo/data/IncomeExpenseData.ts +189 -0
  39. package/src-demo/data/InvestmentData.ts +352 -0
  40. package/src-demo/data/RevenueData.ts +58 -0
  41. package/src-demo/data/VisitorsData.ts +260 -0
  42. package/src-demo/elements/Button.vue +13 -0
  43. package/src-demo/elements/Card.vue +17 -0
  44. package/src-demo/elements/Dropdown.vue +112 -0
  45. package/src-demo/elements/Logo.vue +8 -0
  46. package/src-demo/elements/Table.vue +363 -0
  47. package/src-demo/elements/TopBar.vue +40 -0
  48. package/src-demo/index.ts +58 -0
  49. package/tsconfig.json +11 -0
  50. package/vite.config.ts +60 -0
  51. package/dist/components/Area/AreaChart.vue.d.ts +0 -37
  52. package/dist/components/Area/index.d.ts +0 -1
  53. package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +0 -18
  54. package/dist/components/Bar/BarChart.vue.d.ts +0 -37
  55. package/dist/components/Bar/index.d.ts +0 -1
  56. package/dist/components/Crosshair/Crosshair.vue.d.ts +0 -38
  57. package/dist/components/Crosshair/index.d.ts +0 -1
  58. package/dist/components/Donut/DonutChart.vue.d.ts +0 -31
  59. package/dist/components/Donut/index.d.ts +0 -1
  60. package/dist/components/Line/LineChart.vue.d.ts +0 -28
  61. package/dist/components/Line/index.d.ts +0 -1
  62. package/dist/components/Tooltip.vue.d.ts +0 -14
  63. package/dist/components.d.ts +0 -6
  64. package/dist/index.cjs +0 -502
  65. package/dist/index.cjs.map +0 -1
  66. package/dist/index.d.ts +0 -5
  67. package/dist/index.js +0 -9615
  68. package/dist/index.js.map +0 -1
  69. /package/{dist → public}/vite.svg +0 -0
@@ -0,0 +1,352 @@
1
+ import { BulletLegendItemInterface } from "@unovis/ts"
2
+
3
+ export const categories: Record<string, BulletLegendItemInterface> = {
4
+ 'ETF Shares Vital': { name: 'ETF Shares Vital', color: '#3b82f6' },
5
+ 'Vitainvest Core': { name: 'Vitainvest Core', color: '#d946ef' },
6
+ 'iShares Tech Growth': { name: 'iShares Tech Growth', color: '#8b5cf6' }
7
+ }
8
+
9
+ export const InvestmentData = [
10
+ {
11
+ date: 'Aug 01',
12
+ 'ETF Shares Vital': 2100.2,
13
+ 'Vitainvest Core': 4434.1,
14
+ 'iShares Tech Growth': 7943.2,
15
+ },
16
+ {
17
+ date: 'Aug 02',
18
+ 'ETF Shares Vital': 2943.0,
19
+ 'Vitainvest Core': 4954.1,
20
+ 'iShares Tech Growth': 8954.1,
21
+ },
22
+ {
23
+ date: 'Aug 03',
24
+ 'ETF Shares Vital': 4889.5,
25
+ 'Vitainvest Core': 6100.2,
26
+ 'iShares Tech Growth': 9123.7,
27
+ },
28
+ {
29
+ date: 'Aug 04',
30
+ 'ETF Shares Vital': 3909.8,
31
+ 'Vitainvest Core': 4909.7,
32
+ 'iShares Tech Growth': 7478.4,
33
+ },
34
+ {
35
+ date: 'Aug 05',
36
+ 'ETF Shares Vital': 5778.7,
37
+ 'Vitainvest Core': 7103.1,
38
+ 'iShares Tech Growth': 9504.3,
39
+ },
40
+ {
41
+ date: 'Aug 06',
42
+ 'ETF Shares Vital': 5900.9,
43
+ 'Vitainvest Core': 7534.3,
44
+ 'iShares Tech Growth': 9943.4,
45
+ },
46
+ {
47
+ date: 'Aug 07',
48
+ 'ETF Shares Vital': 4129.4,
49
+ 'Vitainvest Core': 7412.1,
50
+ 'iShares Tech Growth': 10112.2,
51
+ },
52
+ {
53
+ date: 'Aug 08',
54
+ 'ETF Shares Vital': 6021.2,
55
+ 'Vitainvest Core': 7834.4,
56
+ 'iShares Tech Growth': 10290.2,
57
+ },
58
+ {
59
+ date: 'Aug 09',
60
+ 'ETF Shares Vital': 6279.8,
61
+ 'Vitainvest Core': 8159.1,
62
+ 'iShares Tech Growth': 10349.6,
63
+ },
64
+ {
65
+ date: 'Aug 10',
66
+ 'ETF Shares Vital': 6224.5,
67
+ 'Vitainvest Core': 8260.6,
68
+ 'iShares Tech Growth': 10415.4,
69
+ },
70
+ {
71
+ date: 'Aug 11',
72
+ 'ETF Shares Vital': 6380.6,
73
+ 'Vitainvest Core': 8965.3,
74
+ 'iShares Tech Growth': 10636.3,
75
+ },
76
+ {
77
+ date: 'Aug 12',
78
+ 'ETF Shares Vital': 6414.4,
79
+ 'Vitainvest Core': 7989.3,
80
+ 'iShares Tech Growth': 10900.5,
81
+ },
82
+ {
83
+ date: 'Aug 13',
84
+ 'ETF Shares Vital': 6540.1,
85
+ 'Vitainvest Core': 7839.6,
86
+ 'iShares Tech Growth': 11040.4,
87
+ },
88
+ {
89
+ date: 'Aug 14',
90
+ 'ETF Shares Vital': 6634.4,
91
+ 'Vitainvest Core': 7343.8,
92
+ 'iShares Tech Growth': 11390.5,
93
+ },
94
+ {
95
+ date: 'Aug 15',
96
+ 'ETF Shares Vital': 7124.6,
97
+ 'Vitainvest Core': 6903.7,
98
+ 'iShares Tech Growth': 11423.1,
99
+ },
100
+ {
101
+ date: 'Aug 16',
102
+ 'ETF Shares Vital': 7934.5,
103
+ 'Vitainvest Core': 6273.6,
104
+ 'iShares Tech Growth': 12134.4,
105
+ },
106
+ {
107
+ date: 'Aug 17',
108
+ 'ETF Shares Vital': 10287.8,
109
+ 'Vitainvest Core': 5900.3,
110
+ 'iShares Tech Growth': 12034.4,
111
+ },
112
+ {
113
+ date: 'Aug 18',
114
+ 'ETF Shares Vital': 10323.2,
115
+ 'Vitainvest Core': 5732.1,
116
+ 'iShares Tech Growth': 11011.7,
117
+ },
118
+ {
119
+ date: 'Aug 19',
120
+ 'ETF Shares Vital': 10511.4,
121
+ 'Vitainvest Core': 5523.1,
122
+ 'iShares Tech Growth': 11834.8,
123
+ },
124
+ {
125
+ date: 'Aug 20',
126
+ 'ETF Shares Vital': 11043.9,
127
+ 'Vitainvest Core': 5422.3,
128
+ 'iShares Tech Growth': 12387.1,
129
+ },
130
+ {
131
+ date: 'Aug 21',
132
+ 'ETF Shares Vital': 6700.7,
133
+ 'Vitainvest Core': 5334.2,
134
+ 'iShares Tech Growth': 11032.2,
135
+ },
136
+ {
137
+ date: 'Aug 22',
138
+ 'ETF Shares Vital': 6900.8,
139
+ 'Vitainvest Core': 4943.4,
140
+ 'iShares Tech Growth': 10134.2,
141
+ },
142
+ {
143
+ date: 'Aug 23',
144
+ 'ETF Shares Vital': 7934.5,
145
+ 'Vitainvest Core': 4812.1,
146
+ 'iShares Tech Growth': 9921.2,
147
+ },
148
+ {
149
+ date: 'Aug 24',
150
+ 'ETF Shares Vital': 9021.0,
151
+ 'Vitainvest Core': 2729.1,
152
+ 'iShares Tech Growth': 10549.8,
153
+ },
154
+ {
155
+ date: 'Aug 25',
156
+ 'ETF Shares Vital': 9198.2,
157
+ 'Vitainvest Core': 2178.0,
158
+ 'iShares Tech Growth': 10968.4,
159
+ },
160
+ {
161
+ date: 'Aug 26',
162
+ 'ETF Shares Vital': 9557.1,
163
+ 'Vitainvest Core': 2158.3,
164
+ 'iShares Tech Growth': 11059.1,
165
+ },
166
+ {
167
+ date: 'Aug 27',
168
+ 'ETF Shares Vital': 9959.8,
169
+ 'Vitainvest Core': 2100.8,
170
+ 'iShares Tech Growth': 11903.6,
171
+ },
172
+ {
173
+ date: 'Aug 28',
174
+ 'ETF Shares Vital': 10034.6,
175
+ 'Vitainvest Core': 2934.4,
176
+ 'iShares Tech Growth': 12143.3,
177
+ },
178
+ {
179
+ date: 'Aug 29',
180
+ 'ETF Shares Vital': 10243.8,
181
+ 'Vitainvest Core': 3223.4,
182
+ 'iShares Tech Growth': 12930.1,
183
+ },
184
+ {
185
+ date: 'Aug 30',
186
+ 'ETF Shares Vital': 10078.5,
187
+ 'Vitainvest Core': 3779.1,
188
+ 'iShares Tech Growth': 13420.5,
189
+ },
190
+ {
191
+ date: 'Aug 31',
192
+ 'ETF Shares Vital': 11134.6,
193
+ 'Vitainvest Core': 4190.3,
194
+ 'iShares Tech Growth': 14443.2,
195
+ },
196
+ {
197
+ date: 'Sep 01',
198
+ 'ETF Shares Vital': 12347.2,
199
+ 'Vitainvest Core': 4839.1,
200
+ 'iShares Tech Growth': 14532.1,
201
+ },
202
+ {
203
+ date: 'Sep 02',
204
+ 'ETF Shares Vital': 12593.8,
205
+ 'Vitainvest Core': 5153.3,
206
+ 'iShares Tech Growth': 14283.5,
207
+ },
208
+ {
209
+ date: 'Sep 03',
210
+ 'ETF Shares Vital': 12043.4,
211
+ 'Vitainvest Core': 5234.8,
212
+ 'iShares Tech Growth': 14078.9,
213
+ },
214
+ {
215
+ date: 'Sep 04',
216
+ 'ETF Shares Vital': 12144.9,
217
+ 'Vitainvest Core': 5478.4,
218
+ 'iShares Tech Growth': 13859.7,
219
+ },
220
+ {
221
+ date: 'Sep 05',
222
+ 'ETF Shares Vital': 12489.5,
223
+ 'Vitainvest Core': 5741.1,
224
+ 'iShares Tech Growth': 13539.2,
225
+ },
226
+ {
227
+ date: 'Sep 06',
228
+ 'ETF Shares Vital': 12748.7,
229
+ 'Vitainvest Core': 6743.9,
230
+ 'iShares Tech Growth': 13643.2,
231
+ },
232
+ {
233
+ date: 'Sep 07',
234
+ 'ETF Shares Vital': 12933.2,
235
+ 'Vitainvest Core': 7832.8,
236
+ 'iShares Tech Growth': 14629.2,
237
+ },
238
+ {
239
+ date: 'Sep 08',
240
+ 'ETF Shares Vital': 13028.8,
241
+ 'Vitainvest Core': 8943.2,
242
+ 'iShares Tech Growth': 13611.2,
243
+ },
244
+ {
245
+ date: 'Sep 09',
246
+ 'ETF Shares Vital': 13412.4,
247
+ 'Vitainvest Core': 9932.2,
248
+ 'iShares Tech Growth': 12515.2,
249
+ },
250
+ {
251
+ date: 'Sep 10',
252
+ 'ETF Shares Vital': 13649.0,
253
+ 'Vitainvest Core': 10139.2,
254
+ 'iShares Tech Growth': 11143.8,
255
+ },
256
+ {
257
+ date: 'Sep 11',
258
+ 'ETF Shares Vital': 13748.5,
259
+ 'Vitainvest Core': 10441.2,
260
+ 'iShares Tech Growth': 8929.2,
261
+ },
262
+ {
263
+ date: 'Sep 12',
264
+ 'ETF Shares Vital': 13148.1,
265
+ 'Vitainvest Core': 10933.8,
266
+ 'iShares Tech Growth': 8943.2,
267
+ },
268
+ {
269
+ date: 'Sep 13',
270
+ 'ETF Shares Vital': 12839.6,
271
+ 'Vitainvest Core': 11073.4,
272
+ 'iShares Tech Growth': 7938.3,
273
+ },
274
+ {
275
+ date: 'Sep 14',
276
+ 'ETF Shares Vital': 12428.2,
277
+ 'Vitainvest Core': 11128.3,
278
+ 'iShares Tech Growth': 7533.4,
279
+ },
280
+ {
281
+ date: 'Sep 15',
282
+ 'ETF Shares Vital': 12012.8,
283
+ 'Vitainvest Core': 11412.3,
284
+ 'iShares Tech Growth': 7100.4,
285
+ },
286
+ {
287
+ date: 'Sep 16',
288
+ 'ETF Shares Vital': 11801.3,
289
+ 'Vitainvest Core': 10501.1,
290
+ 'iShares Tech Growth': 6532.1,
291
+ },
292
+ {
293
+ date: 'Sep 17',
294
+ 'ETF Shares Vital': 10102.9,
295
+ 'Vitainvest Core': 8923.3,
296
+ 'iShares Tech Growth': 4332.8,
297
+ },
298
+ {
299
+ date: 'Sep 18',
300
+ 'ETF Shares Vital': 12132.5,
301
+ 'Vitainvest Core': 10212.1,
302
+ 'iShares Tech Growth': 7847.4,
303
+ },
304
+ {
305
+ date: 'Sep 19',
306
+ 'ETF Shares Vital': 12901.1,
307
+ 'Vitainvest Core': 10101.7,
308
+ 'iShares Tech Growth': 7223.3,
309
+ },
310
+ {
311
+ date: 'Sep 20',
312
+ 'ETF Shares Vital': 13132.6,
313
+ 'Vitainvest Core': 12132.3,
314
+ 'iShares Tech Growth': 6900.2,
315
+ },
316
+ {
317
+ date: 'Sep 21',
318
+ 'ETF Shares Vital': 14132.2,
319
+ 'Vitainvest Core': 13212.5,
320
+ 'iShares Tech Growth': 5932.2,
321
+ },
322
+ {
323
+ date: 'Sep 22',
324
+ 'ETF Shares Vital': 14245.8,
325
+ 'Vitainvest Core': 12163.4,
326
+ 'iShares Tech Growth': 5577.1,
327
+ },
328
+ {
329
+ date: 'Sep 23',
330
+ 'ETF Shares Vital': 14328.3,
331
+ 'Vitainvest Core': 10036.1,
332
+ 'iShares Tech Growth': 5439.2,
333
+ },
334
+ {
335
+ date: 'Sep 24',
336
+ 'ETF Shares Vital': 14949.9,
337
+ 'Vitainvest Core': 8985.1,
338
+ 'iShares Tech Growth': 4463.1,
339
+ },
340
+ {
341
+ date: 'Sep 25',
342
+ 'ETF Shares Vital': 15967.5,
343
+ 'Vitainvest Core': 9700.1,
344
+ 'iShares Tech Growth': 4123.2,
345
+ },
346
+ {
347
+ date: 'Sep 26',
348
+ 'ETF Shares Vital': 17349.3,
349
+ 'Vitainvest Core': 10943.4,
350
+ 'iShares Tech Growth': 3935.1,
351
+ },
352
+ ]
@@ -0,0 +1,58 @@
1
+ import { BulletLegendItemInterface } from "@unovis/ts";
2
+
3
+ export const categories: Record<string, BulletLegendItemInterface> = {
4
+ value: { name: 'Value', color: '#05DF72' },
5
+ }
6
+
7
+ export const RevenueData = [
8
+ { date: '16/12/25', value: 60000 },
9
+ { date: '08/12/25', value: 40000 },
10
+ { date: '30/11/25', value: 40000 },
11
+ { date: '22/11/25', value: 30000 },
12
+ { date: '14/11/25', value: 65000 },
13
+ { date: '06/11/25', value: 90000 },
14
+ { date: '29/10/25', value: 35000 },
15
+ { date: '21/10/25', value: 25000 },
16
+ { date: '13/10/25', value: 60000 },
17
+ { date: '05/10/25', value: 55000 },
18
+ { date: '27/09/25', value: 110000 },
19
+ { date: '19/09/25', value: 60000 },
20
+ { date: '11/09/25', value: 50000 },
21
+ { date: '03/09/25', value: 80000 },
22
+ { date: '26/08/25', value: 30000 }, // Estimated
23
+ { date: '18/08/25', value: 45000 }, // Estimated
24
+ { date: '10/08/25', value: 55000 }, // Estimated
25
+ { date: '02/08/25', value: 70000 }, // Estimated
26
+ { date: '25/07/25', value: 40000 }, // Estimated
27
+ { date: '17/07/25', value: 60000 }, // Estimated
28
+ { date: '09/07/25', value: 35000 }, // Estimated
29
+ { date: '01/07/25', value: 50000 }, // Estimated
30
+ { date: '23/06/25', value: 65000 }, // Estimated
31
+ { date: '15/06/25', value: 80000 }, // Estimated
32
+ { date: '07/06/25', value: 45000 }, // Estimated
33
+ { date: '30/05/25', value: 75000 }, // Estimated
34
+ { date: '22/05/25', value: 55000 }, // Estimated
35
+ { date: '14/05/25', value: 60000 }, // Estimated
36
+ { date: '06/05/25', value: 40000 }, // Estimated
37
+ { date: '28/04/25', value: 30000 }, // Estimated
38
+ { date: '20/04/25', value: 50000 }, // Estimated
39
+ { date: '12/04/25', value: 70000 }, // Estimated
40
+ { date: '04/04/25', value: 65000 }, // Estimated
41
+ { date: '27/03/25', value: 85000 }, // Estimated
42
+ { date: '19/03/25', value: 55000 }, // Estimated
43
+ { date: '11/03/25', value: 45000 }, // Estimated
44
+ { date: '03/03/25', value: 60000 }, // Estimated
45
+ { date: '25/02/25', value: 35000 }, // Estimated
46
+ { date: '16/02/25', value: 50000 }, // Estimated
47
+ { date: '08/02/25', value: 75000 }, // Estimated
48
+ { date: '31/01/25', value: 65000 }, // Estimated
49
+ { date: '23/01/25', value: 40000 }, // Estimated
50
+ { date: '15/01/25', value: 55000 }, // Estimated
51
+ { date: '07/01/25', value: 80000 }, // Estimated
52
+ { date: '30/12/24', value: 70000 }, // Estimated
53
+ { date: '22/12/24', value: 60000 }, // Estimated
54
+ { date: '14/12/24', value: 45000 }, // Estimated
55
+ { date: '06/12/24', value: 55000 }, // Estimated
56
+ ].reverse();
57
+
58
+ export const RevenueDataSmall = RevenueData.slice(0, 3);
@@ -0,0 +1,260 @@
1
+ export interface IVisitorsData {
2
+ date: Date
3
+ visitors: number
4
+ }
5
+
6
+ export const VisitorsCartegories = {
7
+ visitors: { name: "Visitors", color: "#156F36" },
8
+ }
9
+
10
+ export const VisitorsData: IVisitorsData[] = [
11
+ {
12
+ date: new Date('2024-01-01'),
13
+ visitors: 321
14
+ },
15
+ {
16
+ date: new Date('2024-01-02'),
17
+ visitors: 187
18
+ },
19
+ {
20
+ date: new Date('2024-01-03'),
21
+ visitors: 456
22
+ },
23
+ {
24
+ date: new Date('2024-01-04'),
25
+ visitors: 298
26
+ },
27
+ {
28
+ date: new Date('2024-01-05'),
29
+ visitors: 512
30
+ },
31
+ {
32
+ date: new Date('2024-01-06'),
33
+ visitors: 154
34
+ },
35
+ {
36
+ date: new Date('2024-01-07'),
37
+ visitors: 387
38
+ },
39
+ {
40
+ date: new Date('2024-01-08'),
41
+ visitors: 221
42
+ },
43
+ {
44
+ date: new Date('2024-01-09'),
45
+ visitors: 498
46
+ },
47
+ {
48
+ date: new Date('2024-01-10'),
49
+ visitors: 176
50
+ },
51
+ {
52
+ date: new Date('2024-01-11'),
53
+ visitors: 354
54
+ },
55
+ {
56
+ date: new Date('2024-01-12'),
57
+ visitors: 287
58
+ },
59
+ {
60
+ date: new Date('2024-01-13'),
61
+ visitors: 521
62
+ },
63
+ {
64
+ date: new Date('2024-01-14'),
65
+ visitors: 198
66
+ },
67
+ {
68
+ date: new Date('2024-01-15'),
69
+ visitors: 476
70
+ },
71
+ {
72
+ date: new Date('2024-01-16'),
73
+ visitors: 234
74
+ },
75
+ {
76
+ date: new Date('2024-01-17'),
77
+ visitors: 399
78
+ },
79
+ {
80
+ date: new Date('2024-01-18'),
81
+ visitors: 165
82
+ },
83
+ {
84
+ date: new Date('2024-01-19'),
85
+ visitors: 532
86
+ },
87
+ {
88
+ date: new Date('2024-01-20'),
89
+ visitors: 278
90
+ },
91
+ {
92
+ date: new Date('2024-01-21'),
93
+ visitors: 411
94
+ },
95
+ {
96
+ date: new Date('2024-01-22'),
97
+ visitors: 143
98
+ },
99
+ {
100
+ date: new Date('2024-01-23'),
101
+ visitors: 366
102
+ },
103
+ {
104
+ date: new Date('2024-01-24'),
105
+ visitors: 255
106
+ },
107
+ {
108
+ date: new Date('2024-01-25'),
109
+ visitors: 501
110
+ },
111
+ {
112
+ date: new Date('2024-01-26'),
113
+ visitors: 177
114
+ },
115
+ {
116
+ date: new Date('2024-01-27'),
117
+ visitors: 433
118
+ },
119
+ {
120
+ date: new Date('2024-01-28'),
121
+ visitors: 210
122
+ },
123
+ {
124
+ date: new Date('2024-01-29'),
125
+ visitors: 488
126
+ },
127
+ {
128
+ date: new Date('2024-01-30'),
129
+ visitors: 199
130
+ },
131
+ {
132
+ date: new Date('2024-01-31'),
133
+ visitors: 377
134
+ },
135
+
136
+ {
137
+ date: new Date('2024-02-01'),
138
+ visitors: 321
139
+ },
140
+ {
141
+ date: new Date('2024-02-02'),
142
+ visitors: 187
143
+ },
144
+ {
145
+ date: new Date('2024-02-03'),
146
+ visitors: 456
147
+ },
148
+ {
149
+ date: new Date('2024-02-04'),
150
+ visitors: 298
151
+ },
152
+ {
153
+ date: new Date('2024-02-05'),
154
+ visitors: 512
155
+ },
156
+ {
157
+ date: new Date('2024-02-06'),
158
+ visitors: 154
159
+ },
160
+ {
161
+ date: new Date('2024-02-07'),
162
+ visitors: 387
163
+ },
164
+ {
165
+ date: new Date('2024-02-08'),
166
+ visitors: 221
167
+ },
168
+ {
169
+ date: new Date('2024-02-09'),
170
+ visitors: 498
171
+ },
172
+ {
173
+ date: new Date('2024-02-10'),
174
+ visitors: 176
175
+ },
176
+ {
177
+ date: new Date('2024-02-11'),
178
+ visitors: 354
179
+ },
180
+ {
181
+ date: new Date('2024-02-12'),
182
+ visitors: 287
183
+ },
184
+ {
185
+ date: new Date('2024-02-13'),
186
+ visitors: 521
187
+ },
188
+ {
189
+ date: new Date('2024-02-14'),
190
+ visitors: 198
191
+ },
192
+ {
193
+ date: new Date('2024-02-15'),
194
+ visitors: 476
195
+ },
196
+ {
197
+ date: new Date('2024-02-16'),
198
+ visitors: 234
199
+ },
200
+ {
201
+ date: new Date('2024-02-17'),
202
+ visitors: 399
203
+ },
204
+ {
205
+ date: new Date('2024-02-18'),
206
+ visitors: 165
207
+ },
208
+ {
209
+ date: new Date('2024-02-19'),
210
+ visitors: 532
211
+ },
212
+ {
213
+ date: new Date('2024-02-20'),
214
+ visitors: 278
215
+ },
216
+ {
217
+ date: new Date('2024-02-21'),
218
+ visitors: 411
219
+ },
220
+ {
221
+ date: new Date('2024-02-22'),
222
+ visitors: 143
223
+ },
224
+ {
225
+ date: new Date('2024-02-23'),
226
+ visitors: 366
227
+ },
228
+ {
229
+ date: new Date('2024-02-24'),
230
+ visitors: 255
231
+ },
232
+ {
233
+ date: new Date('2024-02-25'),
234
+ visitors: 501
235
+ },
236
+ {
237
+ date: new Date('2024-02-26'),
238
+ visitors: 177
239
+ },
240
+ {
241
+ date: new Date('2024-02-27'),
242
+ visitors: 433
243
+ },
244
+ {
245
+ date: new Date('2024-02-28'),
246
+ visitors: 210
247
+ },
248
+ {
249
+ date: new Date('2024-02-29'),
250
+ visitors: 488
251
+ },
252
+ {
253
+ date: new Date('2024-02-30'),
254
+ visitors: 199
255
+ },
256
+ {
257
+ date: new Date('2024-02-31'),
258
+ visitors: 377
259
+ }
260
+ ]
@@ -0,0 +1,13 @@
1
+ <script lang="ts" setup>
2
+ const props = defineProps<{
3
+ color?: string
4
+ }>();
5
+ </script>
6
+ <template>
7
+ <button
8
+ :class="props.color === 'white' ? 'bg-white hover:bg-white/75' : 'bg-primary hover:bg-primary/75'"
9
+ class="rounded font-medium inline-flex items-center focus:outline-hidden disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75 transition-colors px-2.5 py-1.5 text-sm gap-1.5 text-background disabled:bg-(--ui-primary) aria-disabled:bg-(--ui-primary) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--ui-primary)"
10
+ >
11
+ <slot></slot>
12
+ </button>
13
+ </template>
@@ -0,0 +1,17 @@
1
+ <script lang="ts" setup>
2
+ import { useSlots } from 'vue'
3
+ const slots = useSlots()
4
+ </script>
5
+ <template>
6
+ <div class="w-full rounded-lg ring ring-border divide-y divide-border bg-card">
7
+ <div v-if="slots.header" class="p-4 sm:px-6">
8
+ <slot class="p-4 sm:px-6" name="header"></slot>
9
+ </div>
10
+ <div class="p-4 sm:px-6">
11
+ <slot></slot>
12
+ </div>
13
+ <div v-if="slots.footer" class="p-4 sm:px-6">
14
+ <slot class="p-4 sm:px-6" name="footer"></slot>
15
+ </div>
16
+ </div>
17
+ </template>