@deepnoid/ui 0.1.42 → 0.1.44

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 (43) hide show
  1. package/.turbo/turbo-build.log +186 -171
  2. package/dist/chunk-3YMMVZDL.mjs +1 -0
  3. package/dist/chunk-NZOVUADT.mjs +136 -0
  4. package/dist/{chunk-6ZL5NEEI.mjs → chunk-RIW4TT6V.mjs} +1 -1
  5. package/dist/chunk-TBZSYI6R.mjs +107 -0
  6. package/dist/{chunk-K7V4VE7R.mjs → chunk-WOEZHDJR.mjs} +1 -1
  7. package/dist/components/breadcrumb/breadcrumb.mjs +2 -2
  8. package/dist/components/breadcrumb/index.mjs +2 -2
  9. package/dist/components/button/index.mjs +6 -6
  10. package/dist/components/charts/areaCharts.d.mts +66 -0
  11. package/dist/components/charts/areaCharts.d.ts +66 -0
  12. package/dist/components/charts/areaCharts.js +471 -0
  13. package/dist/components/charts/areaCharts.mjs +10 -0
  14. package/dist/components/charts/circularProgress.d.mts +92 -0
  15. package/dist/components/charts/circularProgress.d.ts +92 -0
  16. package/dist/components/charts/circularProgress.js +441 -0
  17. package/dist/components/charts/circularProgress.mjs +11 -0
  18. package/dist/components/charts/index.d.mts +5 -0
  19. package/dist/components/charts/index.d.ts +5 -0
  20. package/dist/components/charts/index.js +573 -0
  21. package/dist/components/charts/index.mjs +15 -0
  22. package/dist/components/dateTimePicker/dateTimePicker.mjs +3 -3
  23. package/dist/components/dateTimePicker/index.mjs +3 -3
  24. package/dist/components/dateTimePicker/timePicker.mjs +2 -2
  25. package/dist/components/fileUpload/fileUpload.mjs +3 -3
  26. package/dist/components/fileUpload/index.mjs +3 -3
  27. package/dist/components/list/index.mjs +3 -3
  28. package/dist/components/modal/index.mjs +3 -3
  29. package/dist/components/modal/modal.mjs +3 -3
  30. package/dist/components/table/index.js +1 -1
  31. package/dist/components/table/index.mjs +5 -5
  32. package/dist/components/table/table.js +1 -1
  33. package/dist/components/table/table.mjs +3 -3
  34. package/dist/components/toast/index.mjs +2 -2
  35. package/dist/components/toast/use-toast.mjs +2 -2
  36. package/dist/index.d.mts +2 -0
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.js +226 -1
  39. package/dist/index.mjs +61 -52
  40. package/package.json +4 -3
  41. package/dist/{chunk-IBI3OVQI.mjs → chunk-CTBTYNSM.mjs} +3 -3
  42. package/dist/{chunk-BFOK4HVC.mjs → chunk-KYJTZPXY.mjs} +3 -3
  43. package/dist/{chunk-25QOEKXS.mjs → chunk-TRR232FS.mjs} +3 -3
@@ -0,0 +1,573 @@
1
+ "use client";
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __commonJS = (cb, mod) => function __require() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
12
+ var __export = (target, all) => {
13
+ for (var name in all)
14
+ __defProp(target, name, { get: all[name], enumerable: true });
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from))
19
+ if (!__hasOwnProp.call(to, key) && key !== except)
20
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
32
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
+
34
+ // ../../node_modules/tailwindcss/lib/util/createPlugin.js
35
+ var require_createPlugin = __commonJS({
36
+ "../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
37
+ "use strict";
38
+ Object.defineProperty(exports2, "__esModule", {
39
+ value: true
40
+ });
41
+ Object.defineProperty(exports2, "default", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return _default;
45
+ }
46
+ });
47
+ function createPlugin(plugin2, config) {
48
+ return {
49
+ handler: plugin2,
50
+ config
51
+ };
52
+ }
53
+ createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
54
+ const optionsFunction = function(options) {
55
+ return {
56
+ __options: options,
57
+ handler: pluginFunction(options),
58
+ config: configFunction(options)
59
+ };
60
+ };
61
+ optionsFunction.__isOptionsFunction = true;
62
+ optionsFunction.__pluginFunction = pluginFunction;
63
+ optionsFunction.__configFunction = configFunction;
64
+ return optionsFunction;
65
+ };
66
+ var _default = createPlugin;
67
+ }
68
+ });
69
+
70
+ // ../../node_modules/tailwindcss/lib/public/create-plugin.js
71
+ var require_create_plugin = __commonJS({
72
+ "../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
73
+ "use strict";
74
+ Object.defineProperty(exports2, "__esModule", {
75
+ value: true
76
+ });
77
+ Object.defineProperty(exports2, "default", {
78
+ enumerable: true,
79
+ get: function() {
80
+ return _default;
81
+ }
82
+ });
83
+ var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
84
+ function _interop_require_default(obj) {
85
+ return obj && obj.__esModule ? obj : {
86
+ default: obj
87
+ };
88
+ }
89
+ var _default = _createPlugin.default;
90
+ }
91
+ });
92
+
93
+ // ../../node_modules/tailwindcss/plugin.js
94
+ var require_plugin = __commonJS({
95
+ "../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
96
+ "use strict";
97
+ var createPlugin = require_create_plugin();
98
+ module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
99
+ }
100
+ });
101
+
102
+ // src/components/charts/index.ts
103
+ var charts_exports = {};
104
+ __export(charts_exports, {
105
+ AreaChart: () => areaCharts_default,
106
+ CircularProgress: () => circularProgress_default
107
+ });
108
+ module.exports = __toCommonJS(charts_exports);
109
+
110
+ // src/components/charts/circularProgress.tsx
111
+ var import_recharts = require("recharts");
112
+ var import_react = require("react");
113
+
114
+ // src/utils/props.ts
115
+ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
116
+ if (!variantKeys) {
117
+ return [props, {}];
118
+ }
119
+ const picked = variantKeys.reduce((acc, key) => {
120
+ if (key in props) {
121
+ return { ...acc, [key]: props[key] };
122
+ } else {
123
+ return acc;
124
+ }
125
+ }, {});
126
+ if (removeVariantProps) {
127
+ const omitted = Object.keys(props).filter((key) => !variantKeys.includes(key)).reduce((acc, key) => ({ ...acc, [key]: props[key] }), {});
128
+ return [omitted, picked];
129
+ } else {
130
+ return [props, picked];
131
+ }
132
+ };
133
+
134
+ // src/utils/tailwind-variants.ts
135
+ var import_tailwind_variants = require("tailwind-variants");
136
+
137
+ // ../tailwind-config/src/plugin.ts
138
+ var import_plugin = __toESM(require_plugin());
139
+
140
+ // ../tailwind-config/src/typography/font.ts
141
+ var fontSize = {
142
+ h1: [
143
+ "40px",
144
+ {
145
+ fontWeight: "700"
146
+ }
147
+ ],
148
+ h2: [
149
+ "34px",
150
+ {
151
+ fontWeight: "700"
152
+ }
153
+ ],
154
+ h3: [
155
+ "28px",
156
+ {
157
+ fontWeight: "700"
158
+ }
159
+ ],
160
+ h4: [
161
+ "24px",
162
+ {
163
+ fontWeight: "700"
164
+ }
165
+ ],
166
+ h5: [
167
+ "20px",
168
+ {
169
+ fontWeight: "600"
170
+ }
171
+ ],
172
+ sm: [
173
+ "12px",
174
+ {
175
+ lineHeight: "18px",
176
+ fontWeight: "400"
177
+ }
178
+ ],
179
+ md: [
180
+ "14px",
181
+ {
182
+ lineHeight: "21px",
183
+ fontWeight: "400"
184
+ }
185
+ ],
186
+ lg: [
187
+ "16px",
188
+ {
189
+ lineHeight: "24px",
190
+ fontWeight: "400"
191
+ }
192
+ ],
193
+ xl: [
194
+ "18px",
195
+ {
196
+ lineHeight: "27px",
197
+ fontWeight: "400"
198
+ }
199
+ ]
200
+ };
201
+
202
+ // ../tailwind-config/src/animation/slide.ts
203
+ var sliceAnimation = {
204
+ slideInFromTop: "slideInFromTop 0.5s ease-out",
205
+ slideInFromBottom: "slideInFromBottom 0.5s ease-out",
206
+ slideInFromLeft: "slideInFromLeft 0.5s ease-out",
207
+ slideInFromRight: "slideInFromRight 0.5s ease-out",
208
+ slideOutToTop: "slideOutToTop 0.5s ease-in",
209
+ slideOutToBottom: "slideOutToBottom 0.5s ease-in",
210
+ slideOutToLeft: "slideOutToLeft 0.5s ease-in",
211
+ slideOutToRight: "slideOutToRight 0.5s ease-in"
212
+ };
213
+ var sliceKeyframe = {
214
+ slideInFromTop: {
215
+ "0%": {
216
+ transform: "translateY(-10px)",
217
+ opacity: "0"
218
+ },
219
+ "100%": {
220
+ transform: "translateY(0)",
221
+ opacity: "1"
222
+ }
223
+ },
224
+ slideInFromBottom: {
225
+ "0%": {
226
+ transform: "translateY(10px)",
227
+ opacity: "0"
228
+ },
229
+ "100%": {
230
+ transform: "translateY(0)",
231
+ opacity: "1"
232
+ }
233
+ },
234
+ slideInFromLeft: {
235
+ "0%": {
236
+ transform: "translateX(-10px)",
237
+ opacity: "0"
238
+ },
239
+ "100%": {
240
+ transform: "translateX(0)",
241
+ opacity: "1"
242
+ }
243
+ },
244
+ slideInFromRight: {
245
+ "0%": {
246
+ transform: "translateX(10px)",
247
+ opacity: "0"
248
+ },
249
+ "100%": {
250
+ transform: "translateX(0)",
251
+ opacity: "1"
252
+ }
253
+ },
254
+ slideOutToTop: {
255
+ "0%": {
256
+ transform: "translateY(0)",
257
+ opacity: "1"
258
+ },
259
+ "100%": {
260
+ transform: "translateY(-10px)",
261
+ opacity: "0"
262
+ }
263
+ },
264
+ slideOutToBottom: {
265
+ "0%": {
266
+ transform: "translateY(0)",
267
+ opacity: "1"
268
+ },
269
+ "100%": {
270
+ transform: "translateY(10px)",
271
+ opacity: "0"
272
+ }
273
+ },
274
+ slideOutToLeft: {
275
+ "0%": {
276
+ transform: "translateX(0)",
277
+ opacity: "1"
278
+ },
279
+ "100%": {
280
+ transform: "translateX(-10px)",
281
+ opacity: "0"
282
+ }
283
+ },
284
+ slideOutToRight: {
285
+ "0%": {
286
+ transform: "translateX(0)",
287
+ opacity: "1"
288
+ },
289
+ "100%": {
290
+ transform: "translateX(10px)",
291
+ opacity: "0"
292
+ }
293
+ }
294
+ };
295
+
296
+ // ../tailwind-config/src/animation/index.ts
297
+ var animation = { ...sliceAnimation };
298
+ var keyframes = { ...sliceKeyframe };
299
+
300
+ // ../tailwind-config/src/shadow/index.ts
301
+ var boxShadow = {
302
+ "border-1": "inner 0 0 0 1px inset",
303
+ "border-2": "inner 0 0 0 2px inset",
304
+ "border-3": "inner 0 0 0 3px inset",
305
+ "border-4": "inner 0 0 0 4px inset",
306
+ "border-5": "inner 0 0 0 5px inset",
307
+ "border-6": "inner 0 0 0 6px inset",
308
+ "border-7": "inner 0 0 0 7px inset",
309
+ "border-8": "inner 0 0 0 8px inset",
310
+ "border-9": "inner 0 0 0 9px inset",
311
+ "border-10": "inner 0 0 0 10px inset",
312
+ inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
313
+ drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
314
+ };
315
+
316
+ // ../tailwind-config/src/border/radius.ts
317
+ var borderRadius = {
318
+ sm: "4px",
319
+ md: "6px",
320
+ lg: "8px",
321
+ xl: "10px",
322
+ none: "0",
323
+ full: "9999px"
324
+ };
325
+
326
+ // ../tailwind-config/src/space/gap.ts
327
+ var gap = {
328
+ sm: "4px",
329
+ md: "6px",
330
+ lg: "8px",
331
+ xl: "10px"
332
+ };
333
+
334
+ // src/utils/tailwind-variants.ts
335
+ function typedKeys(obj) {
336
+ return Object.keys(obj);
337
+ }
338
+ var COMMON_SIZE = ["sm", "md", "lg", "xl"];
339
+ var tv = (0, import_tailwind_variants.createTV)({
340
+ twMergeConfig: {
341
+ classGroups: {
342
+ fontSize: [{ text: [...typedKeys(fontSize)] }],
343
+ borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
344
+ boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
345
+ padding: [{ p: [...COMMON_SIZE] }],
346
+ gap: [{ gap: [...typedKeys(gap)] }]
347
+ }
348
+ }
349
+ });
350
+
351
+ // src/components/charts/circularProgress.tsx
352
+ var import_jsx_runtime = require("react/jsx-runtime");
353
+ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
354
+ const [props, variantProps] = mapPropsVariants(originalProps, circularProgressStyle.variantKeys);
355
+ const { title, size = 150, color, percentage, unit, classNames } = { ...props, ...variantProps };
356
+ const slots = (0, import_react.useMemo)(() => circularProgressStyle({ ...variantProps }), [variantProps]);
357
+ const data = [
358
+ {
359
+ name: title,
360
+ value: percentage
361
+ }
362
+ ];
363
+ const BAR_SIZE = 24;
364
+ const OUTER_RADIUS = 88;
365
+ const INNER_RADIUS = OUTER_RADIUS - BAR_SIZE;
366
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
367
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: `relative h-[${size}px] w-[${size}px]`, children: [
368
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
369
+ import_recharts.RadialBarChart,
370
+ {
371
+ width: size,
372
+ height: size,
373
+ innerRadius: INNER_RADIUS,
374
+ outerRadius: OUTER_RADIUS,
375
+ barSize: BAR_SIZE,
376
+ data,
377
+ startAngle: 90,
378
+ endAngle: -270,
379
+ children: [
380
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
381
+ "circle",
382
+ {
383
+ cx: size / 2,
384
+ cy: size / 2,
385
+ r: INNER_RADIUS + BAR_SIZE / 2,
386
+ className: slots.background({ class: classNames == null ? void 0 : classNames.background }),
387
+ fill: "currentColor"
388
+ }
389
+ ),
390
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
391
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
392
+ import_recharts.RadialBar,
393
+ {
394
+ dataKey: "value",
395
+ cornerRadius: 12,
396
+ animationDuration: 1e3,
397
+ className: slots.progress({ class: classNames == null ? void 0 : classNames.progress })
398
+ }
399
+ )
400
+ ]
401
+ }
402
+ ),
403
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: slots.text({ class: classNames == null ? void 0 : classNames.text }), children: [
404
+ percentage,
405
+ unit
406
+ ] }) })
407
+ ] }),
408
+ title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.title({ class: classNames == null ? void 0 : classNames.title }), children: title })
409
+ ] });
410
+ });
411
+ CircularProgress.displayName = "CircularProgress";
412
+ var circularProgress_default = CircularProgress;
413
+ var circularProgressStyle = tv({
414
+ slots: {
415
+ base: ["flex", "flex-col", "items-center", "gap-[20px]"],
416
+ background: [],
417
+ progress: ["transition-all", "duration-1000 ease-out"],
418
+ text: ["text-xl", "font-bold"],
419
+ title: ["text-md", "font-bold", "text-center", "text-body-foreground"]
420
+ },
421
+ variants: {
422
+ color: {
423
+ primary: {
424
+ background: ["fill-primary-soft"],
425
+ progress: ["fill-primary-main"],
426
+ text: ["text-primary-dark"]
427
+ },
428
+ secondary: {
429
+ background: ["fill-secondary-soft"],
430
+ progress: ["fill-secondary-main"],
431
+ text: ["text-secondary-dark"]
432
+ },
433
+ warning: {
434
+ background: ["fill-warning-soft"],
435
+ progress: ["fill-warning-main"],
436
+ text: ["text-warning-dark"]
437
+ }
438
+ }
439
+ },
440
+ defaultVariants: {
441
+ color: "primary"
442
+ }
443
+ });
444
+
445
+ // src/components/charts/areaCharts.tsx
446
+ var import_react2 = require("react");
447
+ var import_recharts2 = require("recharts");
448
+ var import_jsx_runtime2 = require("react/jsx-runtime");
449
+ var AreaChartComponent = (0, import_react2.forwardRef)((originalProps, ref) => {
450
+ var _a, _b;
451
+ const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
452
+ const { areaData, color, classNames } = { ...props, ...variantProps };
453
+ const slots = (0, import_react2.useMemo)(() => areaChartStyle({ ...variantProps }), [variantProps]);
454
+ const colorHex = (_b = (_a = areaChartStyle.variants.color) == null ? void 0 : _a[color || "primary"]) == null ? void 0 : _b._colorValue;
455
+ const [xTickPositions, setXTickPositions] = (0, import_react2.useState)([]);
456
+ const midPoints = (0, import_react2.useMemo)(() => {
457
+ const sorted = [...xTickPositions].sort((a, b) => a - b);
458
+ const mids = [];
459
+ for (let i = 0; i < sorted.length - 1; i++) {
460
+ mids.push((sorted[i] + sorted[i + 1]) / 2);
461
+ }
462
+ return mids;
463
+ }, [xTickPositions]);
464
+ const CustomDotWithShadow = (props2) => {
465
+ const { cx, cy, fill, stroke } = props2;
466
+ if (cx === void 0 || cy === void 0) return null;
467
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
468
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx, cy, r: 8, fill, opacity: 0.2 }),
469
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
470
+ ] });
471
+ };
472
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_recharts2.AreaChart, { data: areaData, children: [
473
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("linearGradient", { id: "colorGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
474
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
475
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
476
+ ] }) }),
477
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
478
+ import_recharts2.CartesianGrid,
479
+ {
480
+ vertical: true,
481
+ horizontal: false,
482
+ strokeDasharray: "3 3",
483
+ className: "stroke-neutral-light",
484
+ verticalPoints: midPoints
485
+ }
486
+ ),
487
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
488
+ import_recharts2.XAxis,
489
+ {
490
+ dataKey: "name",
491
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
492
+ tickLine: false,
493
+ tick: ({ x, y, payload }) => {
494
+ setXTickPositions((prev) => {
495
+ if (!prev.includes(x)) return [...prev, x];
496
+ return prev;
497
+ });
498
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
499
+ "text",
500
+ {
501
+ x,
502
+ y: y + 14,
503
+ textAnchor: "middle",
504
+ fontSize: 12,
505
+ fontWeight: 700,
506
+ fill: "currentColor",
507
+ className: "text-body-foreground",
508
+ children: payload.value
509
+ }
510
+ );
511
+ },
512
+ padding: { left: 35.5, right: 35.5 }
513
+ }
514
+ ),
515
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
516
+ import_recharts2.YAxis,
517
+ {
518
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
519
+ tickLine: false,
520
+ tick: {
521
+ fontSize: 12,
522
+ fontWeight: 700,
523
+ fill: "text-body-foreground",
524
+ textAnchor: "middle",
525
+ dx: -10
526
+ },
527
+ ticks: [0, 20, 40, 60, 80, 100],
528
+ domain: [-10, 110]
529
+ }
530
+ ),
531
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
532
+ import_recharts2.Area,
533
+ {
534
+ type: "monotone",
535
+ dataKey: "value",
536
+ stroke: colorHex,
537
+ strokeWidth: 2,
538
+ fill: "url(#colorGradient)",
539
+ dot: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
540
+ activeDot: { r: 7, fill: colorHex }
541
+ }
542
+ )
543
+ ] }) }) });
544
+ });
545
+ AreaChartComponent.displayName = "AreaChart";
546
+ var areaCharts_default = AreaChartComponent;
547
+ var areaChartStyle = tv({
548
+ slots: {
549
+ base: [],
550
+ color: [],
551
+ axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"]
552
+ },
553
+ variants: {
554
+ color: {
555
+ primary: {
556
+ color: ["text-primary-main"],
557
+ _colorValue: "#3F9CF2"
558
+ },
559
+ danger: {
560
+ color: ["text-danger-main"],
561
+ _colorValue: "#FF4684"
562
+ }
563
+ }
564
+ },
565
+ defaultVariants: {
566
+ color: "primary"
567
+ }
568
+ });
569
+ // Annotate the CommonJS export names for ESM import in node:
570
+ 0 && (module.exports = {
571
+ AreaChart,
572
+ CircularProgress
573
+ });
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import "../../chunk-3YMMVZDL.mjs";
3
+ import {
4
+ areaCharts_default
5
+ } from "../../chunk-NZOVUADT.mjs";
6
+ import {
7
+ circularProgress_default
8
+ } from "../../chunk-TBZSYI6R.mjs";
9
+ import "../../chunk-4ZJFD3L3.mjs";
10
+ import "../../chunk-E3G5QXSH.mjs";
11
+ import "../../chunk-AC6TWLRT.mjs";
12
+ export {
13
+ areaCharts_default as AreaChart,
14
+ circularProgress_default as CircularProgress
15
+ };
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  dateTimePickerStyle,
4
4
  dateTimePicker_default
5
- } from "../../chunk-K7V4VE7R.mjs";
5
+ } from "../../chunk-WOEZHDJR.mjs";
6
6
  import "../../chunk-A7RU3FU5.mjs";
7
- import "../../chunk-BFOK4HVC.mjs";
7
+ import "../../chunk-KYJTZPXY.mjs";
8
8
  import "../../chunk-7MVEAQ7Z.mjs";
9
- import "../../chunk-RT3S3VVJ.mjs";
10
9
  import "../../chunk-HIVPDIEP.mjs";
10
+ import "../../chunk-RT3S3VVJ.mjs";
11
11
  import "../../chunk-FWJ2ZKH6.mjs";
12
12
  import "../../chunk-P732YGHO.mjs";
13
13
  import "../../chunk-SP3JVQY3.mjs";
@@ -2,12 +2,12 @@
2
2
  import "../../chunk-75HLCORR.mjs";
3
3
  import {
4
4
  dateTimePicker_default
5
- } from "../../chunk-K7V4VE7R.mjs";
5
+ } from "../../chunk-WOEZHDJR.mjs";
6
6
  import "../../chunk-A7RU3FU5.mjs";
7
- import "../../chunk-BFOK4HVC.mjs";
7
+ import "../../chunk-KYJTZPXY.mjs";
8
8
  import "../../chunk-7MVEAQ7Z.mjs";
9
- import "../../chunk-RT3S3VVJ.mjs";
10
9
  import "../../chunk-HIVPDIEP.mjs";
10
+ import "../../chunk-RT3S3VVJ.mjs";
11
11
  import "../../chunk-FWJ2ZKH6.mjs";
12
12
  import "../../chunk-P732YGHO.mjs";
13
13
  import "../../chunk-SP3JVQY3.mjs";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  timePicker_default
4
- } from "../../chunk-BFOK4HVC.mjs";
4
+ } from "../../chunk-KYJTZPXY.mjs";
5
5
  import "../../chunk-7MVEAQ7Z.mjs";
6
- import "../../chunk-RT3S3VVJ.mjs";
7
6
  import "../../chunk-HIVPDIEP.mjs";
7
+ import "../../chunk-RT3S3VVJ.mjs";
8
8
  import "../../chunk-SP3JVQY3.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-2TKEWFGH.mjs";
@@ -3,17 +3,17 @@ import {
3
3
  FileUpload,
4
4
  fileUploadStyle,
5
5
  fileUpload_default
6
- } from "../../chunk-25QOEKXS.mjs";
6
+ } from "../../chunk-TRR232FS.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
8
  import "../../chunk-GH6CPGFN.mjs";
9
9
  import "../../chunk-MY5U63QO.mjs";
10
+ import "../../chunk-7TAGGLNY.mjs";
11
+ import "../../chunk-WFMFC7R6.mjs";
10
12
  import "../../chunk-LPZOH3RP.mjs";
11
13
  import "../../chunk-UB4YBFOT.mjs";
12
- import "../../chunk-7TAGGLNY.mjs";
13
14
  import "../../chunk-6WSACUIB.mjs";
14
15
  import "../../chunk-LXHUO6VM.mjs";
15
16
  import "../../chunk-6PNKRBUT.mjs";
16
- import "../../chunk-WFMFC7R6.mjs";
17
17
  import "../../chunk-ZYIIXWVY.mjs";
18
18
  import "../../chunk-2TKEWFGH.mjs";
19
19
  import "../../chunk-2SDYFOZL.mjs";
@@ -2,17 +2,17 @@
2
2
  import "../../chunk-RLXOHILK.mjs";
3
3
  import {
4
4
  fileUpload_default
5
- } from "../../chunk-25QOEKXS.mjs";
5
+ } from "../../chunk-TRR232FS.mjs";
6
6
  import "../../chunk-2GCSFWHD.mjs";
7
7
  import "../../chunk-GH6CPGFN.mjs";
8
8
  import "../../chunk-MY5U63QO.mjs";
9
+ import "../../chunk-7TAGGLNY.mjs";
10
+ import "../../chunk-WFMFC7R6.mjs";
9
11
  import "../../chunk-LPZOH3RP.mjs";
10
12
  import "../../chunk-UB4YBFOT.mjs";
11
- import "../../chunk-7TAGGLNY.mjs";
12
13
  import "../../chunk-6WSACUIB.mjs";
13
14
  import "../../chunk-LXHUO6VM.mjs";
14
15
  import "../../chunk-6PNKRBUT.mjs";
15
- import "../../chunk-WFMFC7R6.mjs";
16
16
  import "../../chunk-ZYIIXWVY.mjs";
17
17
  import "../../chunk-2TKEWFGH.mjs";
18
18
  import "../../chunk-2SDYFOZL.mjs";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import "../../chunk-7MVEAQ7Z.mjs";
3
- import {
4
- listItem_default
5
- } from "../../chunk-RT3S3VVJ.mjs";
6
3
  import {
7
4
  list_default
8
5
  } from "../../chunk-HIVPDIEP.mjs";
6
+ import {
7
+ listItem_default
8
+ } from "../../chunk-RT3S3VVJ.mjs";
9
9
  import "../../chunk-SP3JVQY3.mjs";
10
10
  import "../../chunk-ZYIIXWVY.mjs";
11
11
  import "../../chunk-2TKEWFGH.mjs";