@wealthx/shadcn 1.0.1 → 1.1.0
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/.turbo/turbo-build.log +154 -135
- package/CHANGELOG.md +12 -0
- package/README.md +82 -0
- package/dist/chunk-3EQP72AW.mjs +58 -0
- package/dist/{chunk-2WZVSBAY.mjs → chunk-3NQGYJEZ.mjs} +1 -1
- package/dist/{chunk-ZN2QKLF6.mjs → chunk-46OFHMQA.mjs} +1 -1
- package/dist/{chunk-IAOOZCUY.mjs → chunk-4AJ5HWHD.mjs} +4 -1
- package/dist/chunk-5JGQAAQV.mjs +212 -0
- package/dist/{chunk-MKFL5MNH.mjs → chunk-CJ46PDXE.mjs} +6 -6
- package/dist/{chunk-7LDIMXGM.mjs → chunk-DKZRJOMF.mjs} +1 -1
- package/dist/{chunk-AMJ23O53.mjs → chunk-FHNT55I5.mjs} +2 -2
- package/dist/chunk-GLW2UO6O.mjs +212 -0
- package/dist/{chunk-NGYG2EA6.mjs → chunk-I64K754C.mjs} +1 -1
- package/dist/chunk-K74JRTJR.mjs +105 -0
- package/dist/{chunk-NWZ46DJL.mjs → chunk-KQDD5MU3.mjs} +1 -1
- package/dist/chunk-RN67642N.mjs +171 -0
- package/dist/chunk-UEL4RD5P.mjs +272 -0
- package/dist/chunk-YBXCIF5Q.mjs +198 -0
- package/dist/components/ui/alert-dialog.js +4 -1
- package/dist/components/ui/alert-dialog.mjs +2 -2
- package/dist/components/ui/button.js +4 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.js +4 -1
- package/dist/components/ui/calendar.mjs +2 -2
- package/dist/components/ui/cashflow-bar-chart.js +596 -0
- package/dist/components/ui/cashflow-bar-chart.mjs +16 -0
- package/dist/components/ui/combobox.js +261 -0
- package/dist/components/ui/combobox.mjs +28 -0
- package/dist/components/ui/data-table.js +4 -1
- package/dist/components/ui/data-table.mjs +4 -4
- package/dist/components/ui/date-picker.js +4 -1
- package/dist/components/ui/date-picker.mjs +3 -3
- package/dist/components/ui/dialog.js +4 -1
- package/dist/components/ui/dialog.mjs +2 -2
- package/dist/components/ui/expense-bar-chart.js +543 -0
- package/dist/components/ui/expense-bar-chart.mjs +16 -0
- package/dist/components/ui/field.mjs +2 -2
- package/dist/components/ui/income-bar-chart.js +543 -0
- package/dist/components/ui/income-bar-chart.mjs +16 -0
- package/dist/components/ui/input-group.js +4 -1
- package/dist/components/ui/input-group.mjs +2 -2
- package/dist/components/ui/pagination.js +4 -1
- package/dist/components/ui/pagination.mjs +2 -2
- package/dist/components/ui/slider.js +166 -0
- package/dist/components/ui/slider.mjs +8 -0
- package/dist/components/ui/transactions-income-expense-bar-chart.js +478 -0
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +16 -0
- package/dist/index.js +1757 -698
- package/dist/index.mjs +160 -115
- package/dist/styles.css +1 -1
- package/package.json +35 -2
- package/src/components/index.tsx +59 -0
- package/src/components/ui/button.tsx +2 -0
- package/src/components/ui/cashflow-bar-chart.tsx +336 -0
- package/src/components/ui/chart-shared.tsx +100 -0
- package/src/components/ui/combobox.tsx +217 -0
- package/src/components/ui/expense-bar-chart.tsx +278 -0
- package/src/components/ui/income-bar-chart.tsx +278 -0
- package/src/components/ui/slider.tsx +107 -0
- package/src/components/ui/transactions-income-expense-bar-chart.tsx +198 -0
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +6 -0
- package/dist/{chunk-HUVTPUV2.mjs → chunk-NLLKTU4B.mjs} +3 -3
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
+
|
|
49
|
+
// src/components/ui/combobox.tsx
|
|
50
|
+
var combobox_exports = {};
|
|
51
|
+
__export(combobox_exports, {
|
|
52
|
+
Combobox: () => Combobox,
|
|
53
|
+
ComboboxContent: () => ComboboxContent,
|
|
54
|
+
ComboboxEmpty: () => ComboboxEmpty,
|
|
55
|
+
ComboboxGroup: () => ComboboxGroup,
|
|
56
|
+
ComboboxGroupLabel: () => ComboboxGroupLabel,
|
|
57
|
+
ComboboxInput: () => ComboboxInput,
|
|
58
|
+
ComboboxItem: () => ComboboxItem,
|
|
59
|
+
ComboboxList: () => ComboboxList,
|
|
60
|
+
ComboboxSeparator: () => ComboboxSeparator,
|
|
61
|
+
ComboboxTrigger: () => ComboboxTrigger,
|
|
62
|
+
ComboboxValue: () => ComboboxValue
|
|
63
|
+
});
|
|
64
|
+
module.exports = __toCommonJS(combobox_exports);
|
|
65
|
+
var import_lucide_react = require("lucide-react");
|
|
66
|
+
var import_combobox = require("@base-ui/react/combobox");
|
|
67
|
+
|
|
68
|
+
// src/lib/utils.ts
|
|
69
|
+
var import_clsx = require("clsx");
|
|
70
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
71
|
+
function cn(...inputs) {
|
|
72
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// src/components/ui/combobox.tsx
|
|
76
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
77
|
+
function Combobox(_a) {
|
|
78
|
+
var props = __objRest(_a, []);
|
|
79
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Root, __spreadValues({ "data-slot": "combobox" }, props));
|
|
80
|
+
}
|
|
81
|
+
function ComboboxTrigger(_a) {
|
|
82
|
+
var _b = _a, {
|
|
83
|
+
className,
|
|
84
|
+
size = "default",
|
|
85
|
+
children
|
|
86
|
+
} = _b, props = __objRest(_b, [
|
|
87
|
+
"className",
|
|
88
|
+
"size",
|
|
89
|
+
"children"
|
|
90
|
+
]);
|
|
91
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
92
|
+
import_combobox.Combobox.Trigger,
|
|
93
|
+
__spreadProps(__spreadValues({
|
|
94
|
+
"data-slot": "combobox-trigger",
|
|
95
|
+
"data-size": size,
|
|
96
|
+
className: cn(
|
|
97
|
+
"flex w-fit items-center justify-between gap-2 border border-input bg-transparent px-3 py-2 text-body-small whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-primary focus-visible:ring-[3px] focus-visible:ring-primary/20 data-[popup-open]:border-primary data-[popup-open]:ring-[3px] data-[popup-open]:ring-primary/20 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=combobox-value]:line-clamp-1 *:data-[slot=combobox-value]:flex *:data-[slot=combobox-value]:items-center *:data-[slot=combobox-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
98
|
+
className
|
|
99
|
+
)
|
|
100
|
+
}, props), {
|
|
101
|
+
children: [
|
|
102
|
+
children,
|
|
103
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Icon, { className: "transition-transform duration-200 data-[popup-open]:rotate-180", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDownIcon, { className: "size-4 opacity-50" }) })
|
|
104
|
+
]
|
|
105
|
+
})
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
function ComboboxValue(_a) {
|
|
109
|
+
var props = __objRest(_a, []);
|
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Value, __spreadValues({ "data-slot": "combobox-value" }, props));
|
|
111
|
+
}
|
|
112
|
+
function ComboboxInput(_a) {
|
|
113
|
+
var _b = _a, {
|
|
114
|
+
className
|
|
115
|
+
} = _b, props = __objRest(_b, [
|
|
116
|
+
"className"
|
|
117
|
+
]);
|
|
118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { "data-slot": "combobox-input-wrapper", className: "flex items-center gap-2 border-b border-border px-3", children: [
|
|
119
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.SearchIcon, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
120
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
121
|
+
import_combobox.Combobox.Input,
|
|
122
|
+
__spreadValues({
|
|
123
|
+
"data-slot": "combobox-input",
|
|
124
|
+
className: cn(
|
|
125
|
+
"h-9 w-full min-w-0 bg-transparent py-1 text-body-small outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
126
|
+
className
|
|
127
|
+
)
|
|
128
|
+
}, props)
|
|
129
|
+
)
|
|
130
|
+
] });
|
|
131
|
+
}
|
|
132
|
+
function ComboboxContent(_a) {
|
|
133
|
+
var _b = _a, {
|
|
134
|
+
className,
|
|
135
|
+
children
|
|
136
|
+
} = _b, props = __objRest(_b, [
|
|
137
|
+
"className",
|
|
138
|
+
"children"
|
|
139
|
+
]);
|
|
140
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Positioner, { sideOffset: 4, align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
141
|
+
import_combobox.Combobox.Popup,
|
|
142
|
+
__spreadProps(__spreadValues({
|
|
143
|
+
"data-slot": "combobox-content",
|
|
144
|
+
className: cn(
|
|
145
|
+
"relative z-50 max-h-[var(--available-height)] min-w-[8rem] overflow-hidden border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[ending-style]:animate-out data-[ending-style]:fade-out-0 data-[ending-style]:zoom-out-95 data-[open]:animate-in data-[open]:fade-in-0 data-[open]:zoom-in-95",
|
|
146
|
+
className
|
|
147
|
+
)
|
|
148
|
+
}, props), {
|
|
149
|
+
children
|
|
150
|
+
})
|
|
151
|
+
) }) });
|
|
152
|
+
}
|
|
153
|
+
function ComboboxList(_a) {
|
|
154
|
+
var _b = _a, {
|
|
155
|
+
className
|
|
156
|
+
} = _b, props = __objRest(_b, [
|
|
157
|
+
"className"
|
|
158
|
+
]);
|
|
159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
160
|
+
import_combobox.Combobox.List,
|
|
161
|
+
__spreadValues({
|
|
162
|
+
"data-slot": "combobox-list",
|
|
163
|
+
className: cn(
|
|
164
|
+
"max-h-[min(var(--available-height),18rem)] overflow-y-auto p-1",
|
|
165
|
+
className
|
|
166
|
+
)
|
|
167
|
+
}, props)
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
function ComboboxItem(_a) {
|
|
171
|
+
var _b = _a, {
|
|
172
|
+
className,
|
|
173
|
+
children
|
|
174
|
+
} = _b, props = __objRest(_b, [
|
|
175
|
+
"className",
|
|
176
|
+
"children"
|
|
177
|
+
]);
|
|
178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
179
|
+
import_combobox.Combobox.Item,
|
|
180
|
+
__spreadProps(__spreadValues({
|
|
181
|
+
"data-slot": "combobox-item",
|
|
182
|
+
className: cn(
|
|
183
|
+
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-body-small outline-hidden select-none data-[highlighted]:bg-primary/5 data-[highlighted]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
184
|
+
className
|
|
185
|
+
)
|
|
186
|
+
}, props), {
|
|
187
|
+
children: [
|
|
188
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
189
|
+
"span",
|
|
190
|
+
{
|
|
191
|
+
"data-slot": "combobox-item-indicator",
|
|
192
|
+
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
193
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.CheckIcon, { className: "size-4" }) })
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
children
|
|
197
|
+
]
|
|
198
|
+
})
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
function ComboboxEmpty(_a) {
|
|
202
|
+
var _b = _a, {
|
|
203
|
+
className
|
|
204
|
+
} = _b, props = __objRest(_b, [
|
|
205
|
+
"className"
|
|
206
|
+
]);
|
|
207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
208
|
+
import_combobox.Combobox.Empty,
|
|
209
|
+
__spreadValues({
|
|
210
|
+
"data-slot": "combobox-empty",
|
|
211
|
+
className: `text-body-small ${cn("py-6 text-center text-muted-foreground empty:hidden", className)}`
|
|
212
|
+
}, props)
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
function ComboboxGroup(_a) {
|
|
216
|
+
var props = __objRest(_a, []);
|
|
217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_combobox.Combobox.Group, __spreadValues({ "data-slot": "combobox-group" }, props));
|
|
218
|
+
}
|
|
219
|
+
function ComboboxGroupLabel(_a) {
|
|
220
|
+
var _b = _a, {
|
|
221
|
+
className
|
|
222
|
+
} = _b, props = __objRest(_b, [
|
|
223
|
+
"className"
|
|
224
|
+
]);
|
|
225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
226
|
+
import_combobox.Combobox.GroupLabel,
|
|
227
|
+
__spreadValues({
|
|
228
|
+
"data-slot": "combobox-group-label",
|
|
229
|
+
className: `text-label-small ${cn("px-2 py-1.5 uppercase text-muted-foreground", className)}`
|
|
230
|
+
}, props)
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
function ComboboxSeparator(_a) {
|
|
234
|
+
var _b = _a, {
|
|
235
|
+
className
|
|
236
|
+
} = _b, props = __objRest(_b, [
|
|
237
|
+
"className"
|
|
238
|
+
]);
|
|
239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
240
|
+
"div",
|
|
241
|
+
__spreadValues({
|
|
242
|
+
role: "separator",
|
|
243
|
+
"data-slot": "combobox-separator",
|
|
244
|
+
className: cn("pointer-events-none -mx-1 my-1 h-px bg-border", className)
|
|
245
|
+
}, props)
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
249
|
+
0 && (module.exports = {
|
|
250
|
+
Combobox,
|
|
251
|
+
ComboboxContent,
|
|
252
|
+
ComboboxEmpty,
|
|
253
|
+
ComboboxGroup,
|
|
254
|
+
ComboboxGroupLabel,
|
|
255
|
+
ComboboxInput,
|
|
256
|
+
ComboboxItem,
|
|
257
|
+
ComboboxList,
|
|
258
|
+
ComboboxSeparator,
|
|
259
|
+
ComboboxTrigger,
|
|
260
|
+
ComboboxValue
|
|
261
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Combobox,
|
|
3
|
+
ComboboxContent,
|
|
4
|
+
ComboboxEmpty,
|
|
5
|
+
ComboboxGroup,
|
|
6
|
+
ComboboxGroupLabel,
|
|
7
|
+
ComboboxInput,
|
|
8
|
+
ComboboxItem,
|
|
9
|
+
ComboboxList,
|
|
10
|
+
ComboboxSeparator,
|
|
11
|
+
ComboboxTrigger,
|
|
12
|
+
ComboboxValue
|
|
13
|
+
} from "../../chunk-YBXCIF5Q.mjs";
|
|
14
|
+
import "../../chunk-V7CNWJT3.mjs";
|
|
15
|
+
import "../../chunk-FWCSY2DS.mjs";
|
|
16
|
+
export {
|
|
17
|
+
Combobox,
|
|
18
|
+
ComboboxContent,
|
|
19
|
+
ComboboxEmpty,
|
|
20
|
+
ComboboxGroup,
|
|
21
|
+
ComboboxGroupLabel,
|
|
22
|
+
ComboboxInput,
|
|
23
|
+
ComboboxItem,
|
|
24
|
+
ComboboxList,
|
|
25
|
+
ComboboxSeparator,
|
|
26
|
+
ComboboxTrigger,
|
|
27
|
+
ComboboxValue
|
|
28
|
+
};
|
|
@@ -272,6 +272,7 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
272
272
|
asChild = false,
|
|
273
273
|
loading = false,
|
|
274
274
|
disabled,
|
|
275
|
+
type = "button",
|
|
275
276
|
children
|
|
276
277
|
} = _b, props = __objRest(_b, [
|
|
277
278
|
"className",
|
|
@@ -280,6 +281,7 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
280
281
|
"asChild",
|
|
281
282
|
"loading",
|
|
282
283
|
"disabled",
|
|
284
|
+
"type",
|
|
283
285
|
"children"
|
|
284
286
|
]);
|
|
285
287
|
const Comp = asChild ? Slot : "button";
|
|
@@ -292,7 +294,8 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
292
294
|
"data-slot": "button",
|
|
293
295
|
"data-variant": variant,
|
|
294
296
|
disabled: loading || disabled,
|
|
295
|
-
ref
|
|
297
|
+
ref,
|
|
298
|
+
type
|
|
296
299
|
}, props), {
|
|
297
300
|
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
298
301
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
DataTableSkeleton,
|
|
7
7
|
DataTableToolbar,
|
|
8
8
|
getSelectionColumn
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-HS7TFG7V.mjs";
|
|
9
|
+
} from "../../chunk-CJ46PDXE.mjs";
|
|
11
10
|
import "../../chunk-BGP2N52Z.mjs";
|
|
12
11
|
import "../../chunk-VZ2NR7L3.mjs";
|
|
13
|
-
import "../../chunk-MJIEMGRD.mjs";
|
|
14
12
|
import "../../chunk-DS2AMHN2.mjs";
|
|
13
|
+
import "../../chunk-MJIEMGRD.mjs";
|
|
14
|
+
import "../../chunk-HS7TFG7V.mjs";
|
|
15
15
|
import "../../chunk-JF4PHPD5.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-4AJ5HWHD.mjs";
|
|
17
17
|
import "../../chunk-DBHJ5KC3.mjs";
|
|
18
18
|
import "../../chunk-OXQQNQZI.mjs";
|
|
19
19
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
@@ -167,6 +167,7 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
167
167
|
asChild = false,
|
|
168
168
|
loading = false,
|
|
169
169
|
disabled,
|
|
170
|
+
type = "button",
|
|
170
171
|
children
|
|
171
172
|
} = _b, props = __objRest(_b, [
|
|
172
173
|
"className",
|
|
@@ -175,6 +176,7 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
175
176
|
"asChild",
|
|
176
177
|
"loading",
|
|
177
178
|
"disabled",
|
|
179
|
+
"type",
|
|
178
180
|
"children"
|
|
179
181
|
]);
|
|
180
182
|
const Comp = asChild ? Slot : "button";
|
|
@@ -187,7 +189,8 @@ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
|
|
|
187
189
|
"data-slot": "button",
|
|
188
190
|
"data-variant": variant,
|
|
189
191
|
disabled: loading || disabled,
|
|
190
|
-
ref
|
|
192
|
+
ref,
|
|
193
|
+
type
|
|
191
194
|
}, props), {
|
|
192
195
|
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
193
196
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DatePicker
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-FHNT55I5.mjs";
|
|
5
5
|
import "../../chunk-MQ72DIBH.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-3NQGYJEZ.mjs";
|
|
7
|
+
import "../../chunk-4AJ5HWHD.mjs";
|
|
8
8
|
import "../../chunk-DBHJ5KC3.mjs";
|
|
9
9
|
import "../../chunk-OXQQNQZI.mjs";
|
|
10
10
|
import "../../chunk-QOJ2DQD6.mjs";
|
|
@@ -182,6 +182,7 @@ var Button = (0, import_react2.forwardRef)(function Button2(_a, ref) {
|
|
|
182
182
|
asChild = false,
|
|
183
183
|
loading = false,
|
|
184
184
|
disabled,
|
|
185
|
+
type = "button",
|
|
185
186
|
children
|
|
186
187
|
} = _b, props = __objRest(_b, [
|
|
187
188
|
"className",
|
|
@@ -190,6 +191,7 @@ var Button = (0, import_react2.forwardRef)(function Button2(_a, ref) {
|
|
|
190
191
|
"asChild",
|
|
191
192
|
"loading",
|
|
192
193
|
"disabled",
|
|
194
|
+
"type",
|
|
193
195
|
"children"
|
|
194
196
|
]);
|
|
195
197
|
const Comp = asChild ? Slot : "button";
|
|
@@ -202,7 +204,8 @@ var Button = (0, import_react2.forwardRef)(function Button2(_a, ref) {
|
|
|
202
204
|
"data-slot": "button",
|
|
203
205
|
"data-variant": variant,
|
|
204
206
|
disabled: loading || disabled,
|
|
205
|
-
ref
|
|
207
|
+
ref,
|
|
208
|
+
type
|
|
206
209
|
}, props), {
|
|
207
210
|
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
208
211
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
DialogPortal,
|
|
10
10
|
DialogTitle,
|
|
11
11
|
DialogTrigger
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-DKZRJOMF.mjs";
|
|
13
|
+
import "../../chunk-4AJ5HWHD.mjs";
|
|
14
14
|
import "../../chunk-DBHJ5KC3.mjs";
|
|
15
15
|
import "../../chunk-OXQQNQZI.mjs";
|
|
16
16
|
import "../../chunk-QOJ2DQD6.mjs";
|