shekel-fe-shared-lib 1.0.2 → 1.0.6
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/dist/index.cjs +19 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +489 -766
- package/dist/index.mjs.map +1 -1
- package/dist/types/components/Badge.d.ts +4 -4
- package/dist/types/components/Button.d.ts +4 -4
- package/dist/types/components/Card.d.ts +3 -3
- package/dist/types/components/Checkbox.d.ts +2 -2
- package/dist/types/components/Dropdown.d.ts +5 -5
- package/dist/types/components/Modal.d.ts +4 -4
- package/dist/types/components/Progress.d.ts +3 -3
- package/dist/types/components/SearchInput.d.ts +4 -4
- package/dist/types/components/Select.d.ts +2 -2
- package/dist/types/components/SelectedItemsList.d.ts +2 -2
- package/dist/types/components/StatCard.d.ts +2 -2
- package/dist/types/components/Steps.d.ts +3 -3
- package/dist/types/components/Table.d.ts +3 -3
- package/dist/types/components/TableTop.d.ts +4 -4
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1,305 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var K;
|
|
13
|
-
function ne() {
|
|
14
|
-
if (K) return A;
|
|
15
|
-
K = 1;
|
|
16
|
-
var s = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
|
|
17
|
-
function n(r, a, c) {
|
|
18
|
-
var u = null;
|
|
19
|
-
if (c !== void 0 && (u = "" + c), a.key !== void 0 && (u = "" + a.key), "key" in a) {
|
|
20
|
-
c = {};
|
|
21
|
-
for (var f in a)
|
|
22
|
-
f !== "key" && (c[f] = a[f]);
|
|
23
|
-
} else c = a;
|
|
24
|
-
return a = c.ref, {
|
|
25
|
-
$$typeof: s,
|
|
26
|
-
type: r,
|
|
27
|
-
key: u,
|
|
28
|
-
ref: a !== void 0 ? a : null,
|
|
29
|
-
props: c
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
return A.Fragment = l, A.jsx = n, A.jsxs = n, A;
|
|
33
|
-
}
|
|
34
|
-
var M = {};
|
|
35
|
-
/**
|
|
36
|
-
* @license React
|
|
37
|
-
* react-jsx-runtime.development.js
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
|
-
var ee;
|
|
45
|
-
function ae() {
|
|
46
|
-
return ee || (ee = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
|
-
function s(t) {
|
|
48
|
-
if (t == null) return null;
|
|
49
|
-
if (typeof t == "function")
|
|
50
|
-
return t.$$typeof === D ? null : t.displayName || t.name || null;
|
|
51
|
-
if (typeof t == "string") return t;
|
|
52
|
-
switch (t) {
|
|
53
|
-
case i:
|
|
54
|
-
return "Fragment";
|
|
55
|
-
case b:
|
|
56
|
-
return "Profiler";
|
|
57
|
-
case k:
|
|
58
|
-
return "StrictMode";
|
|
59
|
-
case T:
|
|
60
|
-
return "Suspense";
|
|
61
|
-
case S:
|
|
62
|
-
return "SuspenseList";
|
|
63
|
-
case W:
|
|
64
|
-
return "Activity";
|
|
65
|
-
}
|
|
66
|
-
if (typeof t == "object")
|
|
67
|
-
switch (typeof t.tag == "number" && console.error(
|
|
68
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
-
), t.$$typeof) {
|
|
70
|
-
case y:
|
|
71
|
-
return "Portal";
|
|
72
|
-
case $:
|
|
73
|
-
return t.displayName || "Context";
|
|
74
|
-
case N:
|
|
75
|
-
return (t._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case R:
|
|
77
|
-
var g = t.render;
|
|
78
|
-
return t = t.displayName, t || (t = g.displayName || g.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
79
|
-
case L:
|
|
80
|
-
return g = t.displayName || null, g !== null ? g : s(t.type) || "Memo";
|
|
81
|
-
case P:
|
|
82
|
-
g = t._payload, t = t._init;
|
|
83
|
-
try {
|
|
84
|
-
return s(t(g));
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
function l(t) {
|
|
91
|
-
return "" + t;
|
|
92
|
-
}
|
|
93
|
-
function n(t) {
|
|
94
|
-
try {
|
|
95
|
-
l(t);
|
|
96
|
-
var g = !1;
|
|
97
|
-
} catch {
|
|
98
|
-
g = !0;
|
|
99
|
-
}
|
|
100
|
-
if (g) {
|
|
101
|
-
g = console;
|
|
102
|
-
var w = g.error, C = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
103
|
-
return w.call(
|
|
104
|
-
g,
|
|
105
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
-
C
|
|
107
|
-
), l(t);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
function r(t) {
|
|
111
|
-
if (t === i) return "<>";
|
|
112
|
-
if (typeof t == "object" && t !== null && t.$$typeof === P)
|
|
113
|
-
return "<...>";
|
|
114
|
-
try {
|
|
115
|
-
var g = s(t);
|
|
116
|
-
return g ? "<" + g + ">" : "<...>";
|
|
117
|
-
} catch {
|
|
118
|
-
return "<...>";
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
function a() {
|
|
122
|
-
var t = B.A;
|
|
123
|
-
return t === null ? null : t.getOwner();
|
|
124
|
-
}
|
|
125
|
-
function c() {
|
|
126
|
-
return Error("react-stack-top-frame");
|
|
127
|
-
}
|
|
128
|
-
function u(t) {
|
|
129
|
-
if (j.call(t, "key")) {
|
|
130
|
-
var g = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
131
|
-
if (g && g.isReactWarning) return !1;
|
|
132
|
-
}
|
|
133
|
-
return t.key !== void 0;
|
|
134
|
-
}
|
|
135
|
-
function f(t, g) {
|
|
136
|
-
function w() {
|
|
137
|
-
G || (G = !0, console.error(
|
|
138
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
-
g
|
|
140
|
-
));
|
|
141
|
-
}
|
|
142
|
-
w.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
143
|
-
get: w,
|
|
144
|
-
configurable: !0
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function m() {
|
|
148
|
-
var t = s(this.type);
|
|
149
|
-
return H[t] || (H[t] = !0, console.error(
|
|
150
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
-
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
152
|
-
}
|
|
153
|
-
function h(t, g, w, C, F, U) {
|
|
154
|
-
var E = w.ref;
|
|
155
|
-
return t = {
|
|
156
|
-
$$typeof: o,
|
|
157
|
-
type: t,
|
|
158
|
-
key: g,
|
|
159
|
-
props: w,
|
|
160
|
-
_owner: C
|
|
161
|
-
}, (E !== void 0 ? E : null) !== null ? Object.defineProperty(t, "ref", {
|
|
162
|
-
enumerable: !1,
|
|
163
|
-
get: m
|
|
164
|
-
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
165
|
-
configurable: !1,
|
|
166
|
-
enumerable: !1,
|
|
167
|
-
writable: !0,
|
|
168
|
-
value: 0
|
|
169
|
-
}), Object.defineProperty(t, "_debugInfo", {
|
|
170
|
-
configurable: !1,
|
|
171
|
-
enumerable: !1,
|
|
172
|
-
writable: !0,
|
|
173
|
-
value: null
|
|
174
|
-
}), Object.defineProperty(t, "_debugStack", {
|
|
175
|
-
configurable: !1,
|
|
176
|
-
enumerable: !1,
|
|
177
|
-
writable: !0,
|
|
178
|
-
value: F
|
|
179
|
-
}), Object.defineProperty(t, "_debugTask", {
|
|
180
|
-
configurable: !1,
|
|
181
|
-
enumerable: !1,
|
|
182
|
-
writable: !0,
|
|
183
|
-
value: U
|
|
184
|
-
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
185
|
-
}
|
|
186
|
-
function v(t, g, w, C, F, U) {
|
|
187
|
-
var E = g.children;
|
|
188
|
-
if (E !== void 0)
|
|
189
|
-
if (C)
|
|
190
|
-
if (Y(E)) {
|
|
191
|
-
for (C = 0; C < E.length; C++)
|
|
192
|
-
p(E[C]);
|
|
193
|
-
Object.freeze && Object.freeze(E);
|
|
194
|
-
} else
|
|
195
|
-
console.error(
|
|
196
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
|
-
);
|
|
198
|
-
else p(E);
|
|
199
|
-
if (j.call(g, "key")) {
|
|
200
|
-
E = s(t);
|
|
201
|
-
var O = Object.keys(g).filter(function(re) {
|
|
202
|
-
return re !== "key";
|
|
203
|
-
});
|
|
204
|
-
C = 0 < O.length ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}", Z[E + C] || (O = 0 < O.length ? "{" + O.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
206
|
-
let props = %s;
|
|
207
|
-
<%s {...props} />
|
|
208
|
-
React keys must be passed directly to JSX without using spread:
|
|
209
|
-
let props = %s;
|
|
210
|
-
<%s key={someKey} {...props} />`,
|
|
211
|
-
C,
|
|
212
|
-
E,
|
|
213
|
-
O,
|
|
214
|
-
E
|
|
215
|
-
), Z[E + C] = !0);
|
|
216
|
-
}
|
|
217
|
-
if (E = null, w !== void 0 && (n(w), E = "" + w), u(g) && (n(g.key), E = "" + g.key), "key" in g) {
|
|
218
|
-
w = {};
|
|
219
|
-
for (var q in g)
|
|
220
|
-
q !== "key" && (w[q] = g[q]);
|
|
221
|
-
} else w = g;
|
|
222
|
-
return E && f(
|
|
223
|
-
w,
|
|
224
|
-
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
225
|
-
), h(
|
|
226
|
-
t,
|
|
227
|
-
E,
|
|
228
|
-
w,
|
|
229
|
-
a(),
|
|
230
|
-
F,
|
|
231
|
-
U
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
function p(t) {
|
|
235
|
-
d(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === P && (t._payload.status === "fulfilled" ? d(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
|
|
236
|
-
}
|
|
237
|
-
function d(t) {
|
|
238
|
-
return typeof t == "object" && t !== null && t.$$typeof === o;
|
|
239
|
-
}
|
|
240
|
-
var x = se, o = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), W = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), B = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, Y = Array.isArray, V = console.createTask ? console.createTask : function() {
|
|
241
|
-
return null;
|
|
242
|
-
};
|
|
243
|
-
x = {
|
|
244
|
-
react_stack_bottom_frame: function(t) {
|
|
245
|
-
return t();
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
var G, H = {}, X = x.react_stack_bottom_frame.bind(
|
|
249
|
-
x,
|
|
250
|
-
c
|
|
251
|
-
)(), Q = V(r(c)), Z = {};
|
|
252
|
-
M.Fragment = i, M.jsx = function(t, g, w) {
|
|
253
|
-
var C = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
254
|
-
return v(
|
|
255
|
-
t,
|
|
256
|
-
g,
|
|
257
|
-
w,
|
|
258
|
-
!1,
|
|
259
|
-
C ? Error("react-stack-top-frame") : X,
|
|
260
|
-
C ? V(r(t)) : Q
|
|
261
|
-
);
|
|
262
|
-
}, M.jsxs = function(t, g, w) {
|
|
263
|
-
var C = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return v(
|
|
265
|
-
t,
|
|
266
|
-
g,
|
|
267
|
-
w,
|
|
268
|
-
!0,
|
|
269
|
-
C ? Error("react-stack-top-frame") : X,
|
|
270
|
-
C ? V(r(t)) : Q
|
|
271
|
-
);
|
|
272
|
-
};
|
|
273
|
-
})()), M;
|
|
274
|
-
}
|
|
275
|
-
var te;
|
|
276
|
-
function le() {
|
|
277
|
-
return te || (te = 1, process.env.NODE_ENV === "production" ? I.exports = ne() : I.exports = ae()), I.exports;
|
|
278
|
-
}
|
|
279
|
-
var e = le();
|
|
280
|
-
const de = ({
|
|
1
|
+
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k, useRef as j, useEffect as M } from "react";
|
|
3
|
+
const D = ({
|
|
281
4
|
variant: s = "primary",
|
|
282
|
-
size:
|
|
283
|
-
fullWidth:
|
|
284
|
-
icon:
|
|
285
|
-
iconPosition:
|
|
286
|
-
loading:
|
|
287
|
-
hoverColor:
|
|
288
|
-
className:
|
|
289
|
-
children:
|
|
290
|
-
disabled:
|
|
5
|
+
size: a = "md",
|
|
6
|
+
fullWidth: o = !1,
|
|
7
|
+
icon: t,
|
|
8
|
+
iconPosition: c = "left",
|
|
9
|
+
loading: d = !1,
|
|
10
|
+
hoverColor: i,
|
|
11
|
+
className: g = "",
|
|
12
|
+
children: h,
|
|
13
|
+
disabled: m,
|
|
291
14
|
...v
|
|
292
15
|
}) => {
|
|
293
|
-
const p = "inline-flex items-center justify-center font-normal rounded-lg transition-all duration-300 ease-out focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed active:scale-95",
|
|
16
|
+
const p = "inline-flex items-center justify-center font-normal rounded-lg transition-all duration-300 ease-out focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed active:scale-95", l = {
|
|
294
17
|
primary: "bg-[#EC615B] hover:bg-[#D4554F] text-white focus:ring-[#EC615B] shadow-sm hover:shadow-md",
|
|
295
18
|
outlined: "border border-gray-300 bg-white hover:bg-gray-50 text-[#181918] focus:ring-gray-300",
|
|
296
19
|
ghost: "bg-gray-100 hover:bg-gray-200 text-[#181918] focus:ring-gray-300",
|
|
297
20
|
text: "text-[#181918] hover:bg-gray-100 focus:ring-gray-300"
|
|
298
|
-
},
|
|
21
|
+
}, u = {
|
|
299
22
|
sm: "px-3 py-1.5 text-sm gap-1.5",
|
|
300
23
|
md: "px-4 py-2 text-base gap-2",
|
|
301
24
|
lg: "px-6 py-3 text-lg gap-2.5"
|
|
302
|
-
},
|
|
25
|
+
}, r = o ? "w-full" : "", b = `${p} ${l[s]} ${u[a]} ${r} ${g}`, n = () => d ? /* @__PURE__ */ f(
|
|
303
26
|
"svg",
|
|
304
27
|
{
|
|
305
28
|
className: "animate-spin h-4 w-4",
|
|
@@ -307,7 +30,7 @@ const de = ({
|
|
|
307
30
|
fill: "none",
|
|
308
31
|
viewBox: "0 0 24 24",
|
|
309
32
|
children: [
|
|
310
|
-
/* @__PURE__ */ e
|
|
33
|
+
/* @__PURE__ */ e(
|
|
311
34
|
"circle",
|
|
312
35
|
{
|
|
313
36
|
className: "opacity-25",
|
|
@@ -318,7 +41,7 @@ const de = ({
|
|
|
318
41
|
strokeWidth: "4"
|
|
319
42
|
}
|
|
320
43
|
),
|
|
321
|
-
/* @__PURE__ */ e
|
|
44
|
+
/* @__PURE__ */ e(
|
|
322
45
|
"path",
|
|
323
46
|
{
|
|
324
47
|
className: "opacity-75",
|
|
@@ -328,54 +51,54 @@ const de = ({
|
|
|
328
51
|
)
|
|
329
52
|
]
|
|
330
53
|
}
|
|
331
|
-
) :
|
|
332
|
-
return /* @__PURE__ */
|
|
54
|
+
) : t;
|
|
55
|
+
return /* @__PURE__ */ f(
|
|
333
56
|
"button",
|
|
334
57
|
{
|
|
335
|
-
className:
|
|
336
|
-
disabled:
|
|
337
|
-
style:
|
|
338
|
-
"--hover-color":
|
|
58
|
+
className: b,
|
|
59
|
+
disabled: m || d,
|
|
60
|
+
style: i ? {
|
|
61
|
+
"--hover-color": i
|
|
339
62
|
} : void 0,
|
|
340
|
-
onMouseEnter: (
|
|
341
|
-
|
|
63
|
+
onMouseEnter: (N) => {
|
|
64
|
+
i && !m && !d && (N.currentTarget.style.backgroundColor = i);
|
|
342
65
|
},
|
|
343
|
-
onMouseLeave: (
|
|
344
|
-
|
|
66
|
+
onMouseLeave: (N) => {
|
|
67
|
+
i && !m && !d && (N.currentTarget.style.backgroundColor = "");
|
|
345
68
|
},
|
|
346
69
|
...v,
|
|
347
70
|
children: [
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
71
|
+
c === "left" && n(),
|
|
72
|
+
h,
|
|
73
|
+
c === "right" && n()
|
|
351
74
|
]
|
|
352
75
|
}
|
|
353
76
|
);
|
|
354
|
-
},
|
|
77
|
+
}, A = ({
|
|
355
78
|
label: s,
|
|
356
|
-
value:
|
|
357
|
-
selected:
|
|
358
|
-
onClick:
|
|
359
|
-
className:
|
|
79
|
+
value: a,
|
|
80
|
+
selected: o = !1,
|
|
81
|
+
onClick: t,
|
|
82
|
+
className: c = ""
|
|
360
83
|
}) => {
|
|
361
|
-
const
|
|
362
|
-
return /* @__PURE__ */
|
|
363
|
-
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */ e
|
|
366
|
-
/* @__PURE__ */ e
|
|
84
|
+
const g = `stat-card relative flex flex-col p-4 rounded-lg border transition-all duration-500 ease-in-out cursor-pointer overflow-hidden ${o ? "border-[#181918] bg-[#F4F4F4] shadow-sm scale-[1.02]" : "border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm"} ${c}`;
|
|
85
|
+
return /* @__PURE__ */ f("div", { className: g, onClick: t, children: [
|
|
86
|
+
o && /* @__PURE__ */ e("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-[#EC615B]/5 to-transparent animate-slide-in pointer-events-none" }),
|
|
87
|
+
/* @__PURE__ */ f("div", { className: "relative z-10 transition-transform duration-300 ease-out hover:scale-[0.98] active:scale-[0.96]", children: [
|
|
88
|
+
/* @__PURE__ */ e("span", { className: `text-sm font-normal mb-2 block transition-colors duration-500 ${o ? "text-gray-700" : "text-gray-600"}`, children: s }),
|
|
89
|
+
/* @__PURE__ */ e("span", { className: `text-3xl font-semibold stat-value block transition-all duration-500 ${o ? "text-[#181918] scale-105" : "text-[#181918]"}`, children: a })
|
|
367
90
|
] })
|
|
368
91
|
] });
|
|
369
|
-
},
|
|
92
|
+
}, V = ({
|
|
370
93
|
icon: s,
|
|
371
|
-
iconPosition:
|
|
372
|
-
size:
|
|
373
|
-
fullWidth:
|
|
374
|
-
className:
|
|
375
|
-
onIconClick:
|
|
376
|
-
...
|
|
94
|
+
iconPosition: a = "left",
|
|
95
|
+
size: o = "md",
|
|
96
|
+
fullWidth: t = !1,
|
|
97
|
+
className: c = "",
|
|
98
|
+
onIconClick: d,
|
|
99
|
+
...i
|
|
377
100
|
}) => {
|
|
378
|
-
const
|
|
101
|
+
const g = "relative inline-flex items-center", h = "border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-[#EC615B] focus:border-[#EC615B] transition-all duration-200 ease-in-out placeholder:text-gray-400", m = {
|
|
379
102
|
sm: "px-3 py-1.5 text-sm",
|
|
380
103
|
md: "px-4 py-2 text-base",
|
|
381
104
|
lg: "px-5 py-3 text-lg"
|
|
@@ -383,15 +106,15 @@ const de = ({
|
|
|
383
106
|
sm: "w-4 h-4",
|
|
384
107
|
md: "w-5 h-5",
|
|
385
108
|
lg: "w-6 h-6"
|
|
386
|
-
}, p =
|
|
109
|
+
}, p = a === "left" ? o === "sm" ? "pl-9" : o === "md" ? "pl-10" : "pl-12" : o === "sm" ? "pr-9" : o === "md" ? "pr-10" : "pr-12", l = t ? "w-full" : "", u = `${h} ${m[o]} ${s ? p : ""} ${l} ${c}`, r = a === "left" ? "left-3" : "right-3", b = /* @__PURE__ */ e(
|
|
387
110
|
"svg",
|
|
388
111
|
{
|
|
389
|
-
className: v[
|
|
112
|
+
className: v[o],
|
|
390
113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
391
114
|
fill: "none",
|
|
392
115
|
viewBox: "0 0 24 24",
|
|
393
116
|
stroke: "currentColor",
|
|
394
|
-
children: /* @__PURE__ */ e
|
|
117
|
+
children: /* @__PURE__ */ e(
|
|
395
118
|
"path",
|
|
396
119
|
{
|
|
397
120
|
strokeLinecap: "round",
|
|
@@ -402,28 +125,28 @@ const de = ({
|
|
|
402
125
|
)
|
|
403
126
|
}
|
|
404
127
|
);
|
|
405
|
-
return /* @__PURE__ */
|
|
406
|
-
s && /* @__PURE__ */ e
|
|
128
|
+
return /* @__PURE__ */ f("div", { className: `${g} ${l}`, children: [
|
|
129
|
+
s && /* @__PURE__ */ e(
|
|
407
130
|
"div",
|
|
408
131
|
{
|
|
409
|
-
className: `absolute ${
|
|
410
|
-
onClick:
|
|
411
|
-
children: s === !0 ?
|
|
132
|
+
className: `absolute ${r} text-gray-400 ${d ? "cursor-pointer hover:text-gray-600" : ""}`,
|
|
133
|
+
onClick: d,
|
|
134
|
+
children: s === !0 ? b : s
|
|
412
135
|
}
|
|
413
136
|
),
|
|
414
|
-
/* @__PURE__ */ e
|
|
137
|
+
/* @__PURE__ */ e("input", { type: "text", className: u, ...i })
|
|
415
138
|
] });
|
|
416
|
-
},
|
|
139
|
+
}, H = ({
|
|
417
140
|
padding: s = "md",
|
|
418
|
-
shadow:
|
|
419
|
-
hover:
|
|
420
|
-
bordered:
|
|
421
|
-
rounded:
|
|
422
|
-
className:
|
|
423
|
-
children:
|
|
424
|
-
...
|
|
141
|
+
shadow: a = "sm",
|
|
142
|
+
hover: o = !1,
|
|
143
|
+
bordered: t = !0,
|
|
144
|
+
rounded: c = "lg",
|
|
145
|
+
className: d = "",
|
|
146
|
+
children: i,
|
|
147
|
+
...g
|
|
425
148
|
}) => {
|
|
426
|
-
const
|
|
149
|
+
const h = "card bg-white transition-all duration-300 ease-out", m = {
|
|
427
150
|
none: "p-0",
|
|
428
151
|
sm: "p-3",
|
|
429
152
|
md: "p-4",
|
|
@@ -439,220 +162,220 @@ const de = ({
|
|
|
439
162
|
md: "rounded-md",
|
|
440
163
|
lg: "rounded-lg",
|
|
441
164
|
xl: "rounded-xl"
|
|
442
|
-
},
|
|
443
|
-
return /* @__PURE__ */ e
|
|
444
|
-
},
|
|
165
|
+
}, l = t ? "border border-gray-200" : "", u = o ? "cursor-pointer" : "", r = `${h} ${m[s]} ${v[a]} ${p[c]} ${l} ${u} ${d}`;
|
|
166
|
+
return /* @__PURE__ */ e("div", { className: r, ...g, children: /* @__PURE__ */ e("div", { className: o ? "transition-transform duration-300 ease-out hover:scale-[0.98] active:scale-[0.96]" : "", children: i }) });
|
|
167
|
+
}, Q = ({
|
|
445
168
|
items: s,
|
|
446
|
-
trigger:
|
|
447
|
-
placement:
|
|
448
|
-
children:
|
|
449
|
-
className:
|
|
450
|
-
overlayClassName:
|
|
451
|
-
disabled:
|
|
169
|
+
trigger: a = "click",
|
|
170
|
+
placement: o = "bottomLeft",
|
|
171
|
+
children: t,
|
|
172
|
+
className: c = "",
|
|
173
|
+
overlayClassName: d = "",
|
|
174
|
+
disabled: i = !1
|
|
452
175
|
}) => {
|
|
453
|
-
const [
|
|
454
|
-
|
|
455
|
-
const
|
|
456
|
-
|
|
176
|
+
const [g, h] = k(!1), m = j(null);
|
|
177
|
+
M(() => {
|
|
178
|
+
const n = (N) => {
|
|
179
|
+
m.current && !m.current.contains(N.target) && h(!1);
|
|
457
180
|
};
|
|
458
|
-
return
|
|
459
|
-
document.removeEventListener("mousedown",
|
|
181
|
+
return g && document.addEventListener("mousedown", n), () => {
|
|
182
|
+
document.removeEventListener("mousedown", n);
|
|
460
183
|
};
|
|
461
|
-
}, [
|
|
184
|
+
}, [g]);
|
|
462
185
|
const v = () => {
|
|
463
|
-
!
|
|
186
|
+
!i && a === "click" && h(!g);
|
|
464
187
|
}, p = () => {
|
|
465
|
-
!
|
|
466
|
-
},
|
|
467
|
-
!
|
|
468
|
-
},
|
|
469
|
-
!
|
|
470
|
-
},
|
|
188
|
+
!i && a === "hover" && h(!0);
|
|
189
|
+
}, l = () => {
|
|
190
|
+
!i && a === "hover" && h(!1);
|
|
191
|
+
}, u = (n) => {
|
|
192
|
+
!n.disabled && n.onClick && n.onClick(), h(!1);
|
|
193
|
+
}, r = {
|
|
471
194
|
bottomLeft: "top-full left-0 mt-1",
|
|
472
195
|
bottomRight: "top-full right-0 mt-1",
|
|
473
196
|
topLeft: "bottom-full left-0 mb-1",
|
|
474
197
|
topRight: "bottom-full right-0 mb-1"
|
|
475
|
-
},
|
|
476
|
-
return /* @__PURE__ */
|
|
198
|
+
}, b = o.startsWith("bottom") ? "dropdown-slide-down" : "dropdown-slide-up";
|
|
199
|
+
return /* @__PURE__ */ f(
|
|
477
200
|
"div",
|
|
478
201
|
{
|
|
479
|
-
ref:
|
|
480
|
-
className: `relative inline-block ${
|
|
202
|
+
ref: m,
|
|
203
|
+
className: `relative inline-block ${c}`,
|
|
481
204
|
onMouseEnter: p,
|
|
482
|
-
onMouseLeave:
|
|
205
|
+
onMouseLeave: l,
|
|
483
206
|
children: [
|
|
484
|
-
/* @__PURE__ */ e
|
|
207
|
+
/* @__PURE__ */ e(
|
|
485
208
|
"div",
|
|
486
209
|
{
|
|
487
210
|
onClick: v,
|
|
488
|
-
className: `inline-flex ${
|
|
489
|
-
children:
|
|
211
|
+
className: `inline-flex ${i ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`,
|
|
212
|
+
children: t
|
|
490
213
|
}
|
|
491
214
|
),
|
|
492
|
-
|
|
215
|
+
g && !i && /* @__PURE__ */ e(
|
|
493
216
|
"div",
|
|
494
217
|
{
|
|
495
|
-
className: `absolute ${o
|
|
496
|
-
children: /* @__PURE__ */ e
|
|
218
|
+
className: `absolute ${r[o]} ${b} z-50 min-w-[160px] ${d}`,
|
|
219
|
+
children: /* @__PURE__ */ e("div", { className: "dropdown-menu bg-white rounded-lg shadow-lg border border-gray-200 py-1 overflow-hidden", children: s.map((n) => /* @__PURE__ */ f(
|
|
497
220
|
"div",
|
|
498
221
|
{
|
|
499
|
-
onClick: () =>
|
|
222
|
+
onClick: () => u(n),
|
|
500
223
|
className: `
|
|
501
224
|
dropdown-menu-item
|
|
502
225
|
flex items-center gap-2 px-4 py-2 text-sm cursor-pointer transition-all duration-200 ease-out
|
|
503
|
-
${
|
|
504
|
-
${
|
|
226
|
+
${n.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-gray-50"}
|
|
227
|
+
${n.danger ? "text-red-600 hover:bg-red-50" : "text-gray-700"}
|
|
505
228
|
`,
|
|
506
229
|
children: [
|
|
507
|
-
|
|
508
|
-
/* @__PURE__ */ e
|
|
230
|
+
n.icon && /* @__PURE__ */ e("span", { className: "flex-shrink-0", children: n.icon }),
|
|
231
|
+
/* @__PURE__ */ e("span", { children: n.label })
|
|
509
232
|
]
|
|
510
233
|
},
|
|
511
|
-
|
|
234
|
+
n.key
|
|
512
235
|
)) })
|
|
513
236
|
}
|
|
514
237
|
)
|
|
515
238
|
]
|
|
516
239
|
}
|
|
517
240
|
);
|
|
518
|
-
},
|
|
241
|
+
}, P = ({
|
|
519
242
|
options: s,
|
|
520
|
-
value:
|
|
521
|
-
defaultValue:
|
|
522
|
-
placeholder:
|
|
523
|
-
onChange:
|
|
524
|
-
disabled:
|
|
525
|
-
size:
|
|
526
|
-
fullWidth:
|
|
527
|
-
className:
|
|
528
|
-
allowClear:
|
|
243
|
+
value: a,
|
|
244
|
+
defaultValue: o,
|
|
245
|
+
placeholder: t = "Select an option",
|
|
246
|
+
onChange: c,
|
|
247
|
+
disabled: d = !1,
|
|
248
|
+
size: i = "md",
|
|
249
|
+
fullWidth: g = !1,
|
|
250
|
+
className: h = "",
|
|
251
|
+
allowClear: m = !1,
|
|
529
252
|
showSearch: v = !1,
|
|
530
253
|
searchPlaceholder: p = "Search..."
|
|
531
254
|
}) => {
|
|
532
|
-
const [
|
|
533
|
-
|
|
534
|
-
), [
|
|
535
|
-
|
|
536
|
-
const
|
|
537
|
-
|
|
255
|
+
const [l, u] = k(!1), [r, b] = k(
|
|
256
|
+
o
|
|
257
|
+
), [n, N] = k(""), x = j(null), w = j(null), C = a !== void 0 ? a : r;
|
|
258
|
+
M(() => {
|
|
259
|
+
const y = (R) => {
|
|
260
|
+
x.current && !x.current.contains(R.target) && (u(!1), N(""));
|
|
538
261
|
};
|
|
539
|
-
return
|
|
540
|
-
document.removeEventListener("mousedown",
|
|
262
|
+
return l && (document.addEventListener("mousedown", y), v && w.current && w.current.focus()), () => {
|
|
263
|
+
document.removeEventListener("mousedown", y);
|
|
541
264
|
};
|
|
542
|
-
}, [
|
|
543
|
-
const
|
|
544
|
-
|
|
545
|
-
},
|
|
546
|
-
|
|
547
|
-
},
|
|
548
|
-
(
|
|
549
|
-
) : s,
|
|
265
|
+
}, [l, v]);
|
|
266
|
+
const $ = (y) => {
|
|
267
|
+
a === void 0 && b(y), c == null || c(y), u(!1), N("");
|
|
268
|
+
}, E = (y) => {
|
|
269
|
+
y.stopPropagation(), a === void 0 && b(void 0), c == null || c("");
|
|
270
|
+
}, L = s.find((y) => y.value === C), B = v ? s.filter(
|
|
271
|
+
(y) => y.label.toLowerCase().includes(n.toLowerCase())
|
|
272
|
+
) : s, S = {
|
|
550
273
|
sm: "px-3 py-1.5 text-sm",
|
|
551
274
|
md: "px-4 py-2 text-base",
|
|
552
275
|
lg: "px-5 py-3 text-lg"
|
|
553
|
-
},
|
|
276
|
+
}, F = g ? "w-full" : "min-w-[200px]", z = /* @__PURE__ */ e(
|
|
554
277
|
"svg",
|
|
555
278
|
{
|
|
556
|
-
className: `w-4 h-4 transition-transform duration-200 ease-out ${
|
|
279
|
+
className: `w-4 h-4 transition-transform duration-200 ease-out ${l ? "rotate-180" : ""}`,
|
|
557
280
|
fill: "none",
|
|
558
281
|
stroke: "currentColor",
|
|
559
282
|
viewBox: "0 0 24 24",
|
|
560
|
-
children: /* @__PURE__ */ e
|
|
283
|
+
children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" })
|
|
561
284
|
}
|
|
562
|
-
),
|
|
563
|
-
return /* @__PURE__ */
|
|
564
|
-
/* @__PURE__ */
|
|
285
|
+
), I = /* @__PURE__ */ e("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) });
|
|
286
|
+
return /* @__PURE__ */ f("div", { ref: x, className: `relative ${F} ${h}`, children: [
|
|
287
|
+
/* @__PURE__ */ f(
|
|
565
288
|
"div",
|
|
566
289
|
{
|
|
567
|
-
onClick: () => !
|
|
290
|
+
onClick: () => !d && u(!l),
|
|
568
291
|
className: `
|
|
569
292
|
select-trigger
|
|
570
293
|
flex items-center justify-between gap-2
|
|
571
294
|
border border-gray-300 rounded-lg
|
|
572
295
|
bg-white
|
|
573
296
|
transition-all duration-200 ease-out
|
|
574
|
-
${
|
|
575
|
-
${
|
|
576
|
-
${
|
|
297
|
+
${S[i]}
|
|
298
|
+
${d ? "opacity-50 cursor-not-allowed bg-gray-50" : "cursor-pointer hover:border-gray-400"}
|
|
299
|
+
${l ? "border-[#EC615B] ring-2 ring-[#EC615B] ring-opacity-20" : ""}
|
|
577
300
|
`,
|
|
578
301
|
children: [
|
|
579
|
-
/* @__PURE__ */ e
|
|
580
|
-
/* @__PURE__ */
|
|
581
|
-
|
|
302
|
+
/* @__PURE__ */ e("span", { className: L ? "text-gray-900" : "text-gray-400", children: L ? L.label : t }),
|
|
303
|
+
/* @__PURE__ */ f("div", { className: "flex items-center gap-1", children: [
|
|
304
|
+
m && C && !d && /* @__PURE__ */ e(
|
|
582
305
|
"span",
|
|
583
306
|
{
|
|
584
|
-
onClick:
|
|
307
|
+
onClick: E,
|
|
585
308
|
className: "text-gray-400 hover:text-gray-600 transition-colors duration-200 ease-out",
|
|
586
|
-
children:
|
|
309
|
+
children: I
|
|
587
310
|
}
|
|
588
311
|
),
|
|
589
|
-
/* @__PURE__ */ e
|
|
312
|
+
/* @__PURE__ */ e("span", { className: "text-gray-400", children: z })
|
|
590
313
|
] })
|
|
591
314
|
]
|
|
592
315
|
}
|
|
593
316
|
),
|
|
594
|
-
|
|
595
|
-
v && /* @__PURE__ */ e
|
|
317
|
+
l && !d && /* @__PURE__ */ e("div", { className: "absolute top-full left-0 right-0 mt-1 z-50 dropdown-slide-down", children: /* @__PURE__ */ f("div", { className: "select-dropdown bg-white rounded-lg shadow-lg border border-gray-200 py-1 max-h-[300px] overflow-auto", children: [
|
|
318
|
+
v && /* @__PURE__ */ e("div", { className: "px-2 py-2 border-b border-gray-200", children: /* @__PURE__ */ e(
|
|
596
319
|
"input",
|
|
597
320
|
{
|
|
598
|
-
ref:
|
|
321
|
+
ref: w,
|
|
599
322
|
type: "text",
|
|
600
|
-
value:
|
|
601
|
-
onChange: (
|
|
323
|
+
value: n,
|
|
324
|
+
onChange: (y) => N(y.target.value),
|
|
602
325
|
placeholder: p,
|
|
603
326
|
className: "w-full px-3 py-1.5 text-sm border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-[#EC615B] focus:border-[#EC615B] transition-all duration-200 ease-out",
|
|
604
|
-
onClick: (
|
|
327
|
+
onClick: (y) => y.stopPropagation()
|
|
605
328
|
}
|
|
606
329
|
) }),
|
|
607
|
-
|
|
330
|
+
B.length === 0 ? /* @__PURE__ */ e("div", { className: "px-4 py-3 text-sm text-gray-500 text-center", children: "No results found" }) : B.map((y) => /* @__PURE__ */ e(
|
|
608
331
|
"div",
|
|
609
332
|
{
|
|
610
|
-
onClick: () => !
|
|
333
|
+
onClick: () => !y.disabled && $(y.value),
|
|
611
334
|
className: `
|
|
612
335
|
select-option
|
|
613
336
|
px-4 py-2 text-sm cursor-pointer transition-all duration-200 ease-out
|
|
614
|
-
${
|
|
615
|
-
${
|
|
337
|
+
${y.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-gray-50"}
|
|
338
|
+
${y.value === C ? "bg-[#FCEAE9] text-[#EC615B] font-medium" : "text-[#181918]"}
|
|
616
339
|
`,
|
|
617
|
-
children:
|
|
340
|
+
children: y.label
|
|
618
341
|
},
|
|
619
|
-
|
|
342
|
+
y.value
|
|
620
343
|
))
|
|
621
344
|
] }) })
|
|
622
345
|
] });
|
|
623
|
-
},
|
|
346
|
+
}, q = ({
|
|
624
347
|
columns: s,
|
|
625
|
-
dataSource:
|
|
626
|
-
rowKey:
|
|
627
|
-
pagination:
|
|
628
|
-
loading:
|
|
629
|
-
onRow:
|
|
630
|
-
className:
|
|
631
|
-
bordered:
|
|
632
|
-
striped:
|
|
348
|
+
dataSource: a,
|
|
349
|
+
rowKey: o = "id",
|
|
350
|
+
pagination: t,
|
|
351
|
+
loading: c = !1,
|
|
352
|
+
onRow: d,
|
|
353
|
+
className: i = "",
|
|
354
|
+
bordered: g = !1,
|
|
355
|
+
striped: h = !1
|
|
633
356
|
}) => {
|
|
634
|
-
const [
|
|
635
|
-
|
|
636
|
-
), [p,
|
|
637
|
-
|
|
638
|
-
),
|
|
639
|
-
v(
|
|
640
|
-
},
|
|
641
|
-
|
|
357
|
+
const [m, v] = k(
|
|
358
|
+
t && typeof t == "object" && t.current || 1
|
|
359
|
+
), [p, l] = k(
|
|
360
|
+
t && typeof t == "object" && t.pageSize || 10
|
|
361
|
+
), u = (x, w) => typeof o == "function" ? o(x) : x[o] || String(w), r = (x, w) => w ? w.split(".").reduce((C, $) => C == null ? void 0 : C[$], x) : x, b = t === !1 ? a : a.slice((m - 1) * p, m * p), n = (x) => {
|
|
362
|
+
v(x), t && typeof t == "object" && t.onChange && t.onChange(x, p);
|
|
363
|
+
}, N = (x) => {
|
|
364
|
+
l(x), v(1), t && typeof t == "object" && t.onChange && t.onChange(1, x);
|
|
642
365
|
};
|
|
643
|
-
return /* @__PURE__ */
|
|
644
|
-
/* @__PURE__ */ e
|
|
645
|
-
/* @__PURE__ */ e
|
|
366
|
+
return /* @__PURE__ */ f("div", { className: "w-full", children: [
|
|
367
|
+
/* @__PURE__ */ e("div", { className: "overflow-x-auto rounded-2xl border border-[#EEEEEE]", children: /* @__PURE__ */ f("table", { className: `w-full ${g ? "border-collapse" : ""} ${i}`, children: [
|
|
368
|
+
/* @__PURE__ */ e("thead", { className: "bg-[#F5F6F7]", children: /* @__PURE__ */ e("tr", { children: s.map((x, w) => /* @__PURE__ */ e(
|
|
646
369
|
"th",
|
|
647
370
|
{
|
|
648
|
-
className: `px-4 py-3 text-left text-xs font-medium text-[#333333] uppercase tracking-wider ${
|
|
649
|
-
style: { width:
|
|
650
|
-
children:
|
|
371
|
+
className: `px-4 py-3 text-left text-xs font-medium text-[#333333] uppercase tracking-wider ${g && w !== s.length - 1 ? "border-r border-[#EEEEEE]" : ""} ${x.align === "center" ? "text-center" : x.align === "right" ? "text-right" : ""}`,
|
|
372
|
+
style: { width: x.width },
|
|
373
|
+
children: x.title
|
|
651
374
|
},
|
|
652
|
-
|
|
375
|
+
x.key
|
|
653
376
|
)) }) }),
|
|
654
|
-
/* @__PURE__ */ e
|
|
655
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ e("tbody", { className: "bg-white divide-y divide-gray-200", children: c ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: s.length, className: "px-4 py-8 text-center text-[#333333]", children: /* @__PURE__ */ f("div", { className: "flex justify-center items-center", children: [
|
|
378
|
+
/* @__PURE__ */ f(
|
|
656
379
|
"svg",
|
|
657
380
|
{
|
|
658
381
|
className: "animate-spin h-5 w-5 mr-2",
|
|
@@ -660,7 +383,7 @@ const de = ({
|
|
|
660
383
|
fill: "none",
|
|
661
384
|
viewBox: "0 0 24 24",
|
|
662
385
|
children: [
|
|
663
|
-
/* @__PURE__ */ e
|
|
386
|
+
/* @__PURE__ */ e(
|
|
664
387
|
"circle",
|
|
665
388
|
{
|
|
666
389
|
className: "opacity-25",
|
|
@@ -671,7 +394,7 @@ const de = ({
|
|
|
671
394
|
strokeWidth: "4"
|
|
672
395
|
}
|
|
673
396
|
),
|
|
674
|
-
/* @__PURE__ */ e
|
|
397
|
+
/* @__PURE__ */ e(
|
|
675
398
|
"path",
|
|
676
399
|
{
|
|
677
400
|
className: "opacity-75",
|
|
@@ -683,56 +406,56 @@ const de = ({
|
|
|
683
406
|
}
|
|
684
407
|
),
|
|
685
408
|
"Loading..."
|
|
686
|
-
] }) }) }) :
|
|
687
|
-
const
|
|
688
|
-
return /* @__PURE__ */ e
|
|
409
|
+
] }) }) }) : b.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: s.length, className: "px-4 py-8 text-center text-[#333333]", children: "No data" }) }) : b.map((x, w) => {
|
|
410
|
+
const C = d ? d(x, w) : {};
|
|
411
|
+
return /* @__PURE__ */ e(
|
|
689
412
|
"tr",
|
|
690
413
|
{
|
|
691
|
-
className: `${
|
|
692
|
-
|
|
693
|
-
children: s.map((
|
|
694
|
-
const
|
|
695
|
-
return /* @__PURE__ */ e
|
|
414
|
+
className: `${h && w % 2 === 1 ? "bg-[#F5F6F7]" : ""} hover:bg-gray-50 transition-colors duration-200 ease-out`,
|
|
415
|
+
...C,
|
|
416
|
+
children: s.map(($, E) => {
|
|
417
|
+
const L = r(x, $.dataIndex), B = $.render ? $.render(L, x, w) : L;
|
|
418
|
+
return /* @__PURE__ */ e(
|
|
696
419
|
"td",
|
|
697
420
|
{
|
|
698
|
-
className: `px-4 py-4 text-sm text-gray-900 ${
|
|
699
|
-
children:
|
|
421
|
+
className: `px-4 py-4 text-sm text-gray-900 ${g && E !== s.length - 1 ? "border-r border-[#EEEEEE]" : ""} ${$.align === "center" ? "text-center" : $.align === "right" ? "text-right" : ""}`,
|
|
422
|
+
children: B
|
|
700
423
|
},
|
|
701
|
-
|
|
424
|
+
$.key
|
|
702
425
|
);
|
|
703
426
|
})
|
|
704
427
|
},
|
|
705
|
-
x
|
|
428
|
+
u(x, w)
|
|
706
429
|
);
|
|
707
430
|
}) })
|
|
708
431
|
] }) }),
|
|
709
|
-
|
|
710
|
-
|
|
432
|
+
t !== !1 && /* @__PURE__ */ e(
|
|
433
|
+
T,
|
|
711
434
|
{
|
|
712
|
-
current:
|
|
435
|
+
current: m,
|
|
713
436
|
pageSize: p,
|
|
714
|
-
total:
|
|
715
|
-
onChange:
|
|
716
|
-
onPageSizeChange:
|
|
717
|
-
showSizeChanger:
|
|
718
|
-
pageSizeOptions:
|
|
719
|
-
showTotal:
|
|
720
|
-
size:
|
|
437
|
+
total: a.length,
|
|
438
|
+
onChange: n,
|
|
439
|
+
onPageSizeChange: N,
|
|
440
|
+
showSizeChanger: t && typeof t == "object" ? t.showSizeChanger : !0,
|
|
441
|
+
pageSizeOptions: t && typeof t == "object" ? t.pageSizeOptions : [10, 20, 50, 100],
|
|
442
|
+
showTotal: t && typeof t == "object" ? t.showTotal : !0,
|
|
443
|
+
size: t && typeof t == "object" ? t.size : "md"
|
|
721
444
|
}
|
|
722
445
|
)
|
|
723
446
|
] });
|
|
724
|
-
},
|
|
447
|
+
}, T = ({
|
|
725
448
|
current: s,
|
|
726
|
-
pageSize:
|
|
727
|
-
total:
|
|
728
|
-
onChange:
|
|
729
|
-
onPageSizeChange:
|
|
730
|
-
showSizeChanger:
|
|
731
|
-
pageSizeOptions:
|
|
732
|
-
showTotal:
|
|
733
|
-
size:
|
|
449
|
+
pageSize: a,
|
|
450
|
+
total: o,
|
|
451
|
+
onChange: t,
|
|
452
|
+
onPageSizeChange: c,
|
|
453
|
+
showSizeChanger: d = !0,
|
|
454
|
+
pageSizeOptions: i = [10, 20, 50, 100],
|
|
455
|
+
showTotal: g = !0,
|
|
456
|
+
size: h = "md"
|
|
734
457
|
}) => {
|
|
735
|
-
const
|
|
458
|
+
const m = Math.ceil(o / a), v = (s - 1) * a + 1, p = Math.min(s * a, o), l = {
|
|
736
459
|
sm: {
|
|
737
460
|
button: "px-2.5 py-1 text-xs",
|
|
738
461
|
icon: "h-3.5 w-3.5",
|
|
@@ -748,55 +471,55 @@ const de = ({
|
|
|
748
471
|
icon: "h-6 w-6",
|
|
749
472
|
nav: "px-3 py-3"
|
|
750
473
|
}
|
|
751
|
-
},
|
|
752
|
-
const
|
|
753
|
-
if (
|
|
754
|
-
for (let
|
|
755
|
-
|
|
474
|
+
}, u = () => {
|
|
475
|
+
const r = [];
|
|
476
|
+
if (m <= 7)
|
|
477
|
+
for (let n = 1; n <= m; n++)
|
|
478
|
+
r.push(n);
|
|
756
479
|
else if (s <= 3) {
|
|
757
|
-
for (let
|
|
758
|
-
|
|
759
|
-
} else if (s >=
|
|
760
|
-
|
|
761
|
-
for (let
|
|
480
|
+
for (let n = 1; n <= 5; n++) r.push(n);
|
|
481
|
+
r.push("..."), r.push(m);
|
|
482
|
+
} else if (s >= m - 2) {
|
|
483
|
+
r.push(1), r.push("...");
|
|
484
|
+
for (let n = m - 4; n <= m; n++) r.push(n);
|
|
762
485
|
} else {
|
|
763
|
-
|
|
764
|
-
for (let
|
|
765
|
-
|
|
486
|
+
r.push(1), r.push("...");
|
|
487
|
+
for (let n = s - 1; n <= s + 1; n++) r.push(n);
|
|
488
|
+
r.push("..."), r.push(m);
|
|
766
489
|
}
|
|
767
|
-
return
|
|
490
|
+
return r;
|
|
768
491
|
};
|
|
769
|
-
return /* @__PURE__ */
|
|
770
|
-
|
|
492
|
+
return /* @__PURE__ */ f("div", { className: "flex items-center justify-between px-4 py-3 border-t border-[#EEEEEE] sm:px-6 mt-4", children: [
|
|
493
|
+
g && /* @__PURE__ */ f("div", { className: "text-sm text-[#181918]", children: [
|
|
771
494
|
v,
|
|
772
495
|
"-",
|
|
773
496
|
p,
|
|
774
497
|
" of ",
|
|
775
|
-
|
|
498
|
+
o,
|
|
776
499
|
" items"
|
|
777
500
|
] }),
|
|
778
|
-
/* @__PURE__ */
|
|
779
|
-
|
|
780
|
-
|
|
501
|
+
/* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: [
|
|
502
|
+
d && /* @__PURE__ */ e(
|
|
503
|
+
P,
|
|
781
504
|
{
|
|
782
|
-
value:
|
|
783
|
-
onChange: (
|
|
784
|
-
options:
|
|
785
|
-
value:
|
|
786
|
-
label: `${
|
|
505
|
+
value: a.toString(),
|
|
506
|
+
onChange: (r) => c(Number(r)),
|
|
507
|
+
options: i.map((r) => ({
|
|
508
|
+
value: r.toString(),
|
|
509
|
+
label: `${r} / page`
|
|
787
510
|
})),
|
|
788
511
|
size: "sm",
|
|
789
512
|
className: "w-32"
|
|
790
513
|
}
|
|
791
514
|
),
|
|
792
|
-
/* @__PURE__ */
|
|
793
|
-
/* @__PURE__ */ e
|
|
515
|
+
/* @__PURE__ */ f("nav", { className: "inline-flex gap-1 items-center", "aria-label": "Pagination", children: [
|
|
516
|
+
/* @__PURE__ */ e(
|
|
794
517
|
"button",
|
|
795
518
|
{
|
|
796
|
-
onClick: () =>
|
|
519
|
+
onClick: () => t(s - 1),
|
|
797
520
|
disabled: s === 1,
|
|
798
|
-
className: `relative inline-flex items-center justify-center rounded-md ${
|
|
799
|
-
children: /* @__PURE__ */ e
|
|
521
|
+
className: `relative inline-flex items-center justify-center rounded-md ${l[h].nav} text-[#181918] hover:bg-gray-100 focus:z-20 disabled:opacity-30 disabled:cursor-not-allowed disabled:hover:bg-transparent transition-all duration-300 ease-out hover:scale-110 active:scale-95`,
|
|
522
|
+
children: /* @__PURE__ */ e("svg", { className: l[h].icon, viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ e(
|
|
800
523
|
"path",
|
|
801
524
|
{
|
|
802
525
|
strokeLinecap: "round",
|
|
@@ -807,29 +530,29 @@ const de = ({
|
|
|
807
530
|
) })
|
|
808
531
|
}
|
|
809
532
|
),
|
|
810
|
-
|
|
533
|
+
u().map((r, b) => r === "..." ? /* @__PURE__ */ e(
|
|
811
534
|
"span",
|
|
812
535
|
{
|
|
813
|
-
className: `relative inline-flex items-center justify-center ${
|
|
536
|
+
className: `relative inline-flex items-center justify-center ${l[h].button} font-normal text-[#181918]`,
|
|
814
537
|
children: "..."
|
|
815
538
|
},
|
|
816
|
-
`ellipsis-${
|
|
817
|
-
) : /* @__PURE__ */ e
|
|
539
|
+
`ellipsis-${b}`
|
|
540
|
+
) : /* @__PURE__ */ e(
|
|
818
541
|
"button",
|
|
819
542
|
{
|
|
820
|
-
onClick: () => r
|
|
821
|
-
className: `relative inline-flex items-center justify-center rounded-md ${
|
|
822
|
-
children:
|
|
543
|
+
onClick: () => t(r),
|
|
544
|
+
className: `relative inline-flex items-center justify-center rounded-md ${l[h].button} font-medium transition-all duration-300 ease-out focus:z-20 hover:scale-105 active:scale-95 ${s === r ? "bg-[#EC615B] text-white shadow-sm" : "text-[#181918] hover:bg-gray-100"}`,
|
|
545
|
+
children: r
|
|
823
546
|
},
|
|
824
|
-
|
|
547
|
+
r
|
|
825
548
|
)),
|
|
826
|
-
/* @__PURE__ */ e
|
|
549
|
+
/* @__PURE__ */ e(
|
|
827
550
|
"button",
|
|
828
551
|
{
|
|
829
|
-
onClick: () =>
|
|
830
|
-
disabled: s ===
|
|
831
|
-
className: `relative inline-flex items-center justify-center rounded-md ${
|
|
832
|
-
children: /* @__PURE__ */ e
|
|
552
|
+
onClick: () => t(s + 1),
|
|
553
|
+
disabled: s === m,
|
|
554
|
+
className: `relative inline-flex items-center justify-center rounded-md ${l[h].nav} text-[#181918] hover:bg-gray-100 focus:z-20 disabled:opacity-30 disabled:cursor-not-allowed disabled:hover:bg-transparent transition-all duration-300 ease-out hover:scale-110 active:scale-95`,
|
|
555
|
+
children: /* @__PURE__ */ e("svg", { className: l[h].icon, viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ e(
|
|
833
556
|
"path",
|
|
834
557
|
{
|
|
835
558
|
strokeLinecap: "round",
|
|
@@ -843,33 +566,33 @@ const de = ({
|
|
|
843
566
|
] })
|
|
844
567
|
] })
|
|
845
568
|
] });
|
|
846
|
-
},
|
|
569
|
+
}, G = ({
|
|
847
570
|
title: s,
|
|
848
|
-
description:
|
|
849
|
-
searchPlaceholder:
|
|
850
|
-
onSearch:
|
|
851
|
-
actions:
|
|
852
|
-
filters:
|
|
853
|
-
className:
|
|
571
|
+
description: a,
|
|
572
|
+
searchPlaceholder: o = "Search...",
|
|
573
|
+
onSearch: t,
|
|
574
|
+
actions: c,
|
|
575
|
+
filters: d,
|
|
576
|
+
className: i = ""
|
|
854
577
|
}) => {
|
|
855
|
-
const
|
|
856
|
-
|
|
578
|
+
const g = (h) => {
|
|
579
|
+
t == null || t(h.target.value);
|
|
857
580
|
};
|
|
858
|
-
return /* @__PURE__ */
|
|
859
|
-
(s ||
|
|
860
|
-
s && /* @__PURE__ */ e
|
|
861
|
-
|
|
581
|
+
return /* @__PURE__ */ f("div", { className: `space-y-4 mb-4 ${i}`, children: [
|
|
582
|
+
(s || a) && /* @__PURE__ */ f("div", { children: [
|
|
583
|
+
s && /* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-gray-900", children: s }),
|
|
584
|
+
a && /* @__PURE__ */ e("p", { className: "text-sm text-gray-500 mt-1", children: a })
|
|
862
585
|
] }),
|
|
863
|
-
/* @__PURE__ */
|
|
864
|
-
|
|
865
|
-
/* @__PURE__ */ e
|
|
586
|
+
/* @__PURE__ */ f("div", { className: "flex items-center justify-between gap-4", children: [
|
|
587
|
+
t && /* @__PURE__ */ e("div", { className: "flex-1 max-w-md", children: /* @__PURE__ */ f("div", { className: "relative", children: [
|
|
588
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none", children: /* @__PURE__ */ e(
|
|
866
589
|
"svg",
|
|
867
590
|
{
|
|
868
591
|
className: "h-5 w-5 text-gray-400",
|
|
869
592
|
fill: "none",
|
|
870
593
|
stroke: "currentColor",
|
|
871
594
|
viewBox: "0 0 24 24",
|
|
872
|
-
children: /* @__PURE__ */ e
|
|
595
|
+
children: /* @__PURE__ */ e(
|
|
873
596
|
"path",
|
|
874
597
|
{
|
|
875
598
|
strokeLinecap: "round",
|
|
@@ -880,90 +603,90 @@ const de = ({
|
|
|
880
603
|
)
|
|
881
604
|
}
|
|
882
605
|
) }),
|
|
883
|
-
/* @__PURE__ */ e
|
|
606
|
+
/* @__PURE__ */ e(
|
|
884
607
|
"input",
|
|
885
608
|
{
|
|
886
609
|
type: "text",
|
|
887
|
-
placeholder:
|
|
888
|
-
onChange:
|
|
610
|
+
placeholder: o,
|
|
611
|
+
onChange: g,
|
|
889
612
|
className: "block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm"
|
|
890
613
|
}
|
|
891
614
|
)
|
|
892
615
|
] }) }),
|
|
893
|
-
|
|
616
|
+
c && /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: c })
|
|
894
617
|
] }),
|
|
895
|
-
|
|
618
|
+
d && /* @__PURE__ */ e("div", { className: "flex items-center gap-3", children: d })
|
|
896
619
|
] });
|
|
897
|
-
},
|
|
620
|
+
}, J = ({
|
|
898
621
|
open: s,
|
|
899
|
-
onClose:
|
|
900
|
-
title:
|
|
901
|
-
children:
|
|
902
|
-
footer:
|
|
903
|
-
width:
|
|
904
|
-
closable:
|
|
905
|
-
maskClosable:
|
|
906
|
-
centered:
|
|
907
|
-
className:
|
|
622
|
+
onClose: a,
|
|
623
|
+
title: o,
|
|
624
|
+
children: t,
|
|
625
|
+
footer: c,
|
|
626
|
+
width: d = "520px",
|
|
627
|
+
closable: i = !0,
|
|
628
|
+
maskClosable: g = !0,
|
|
629
|
+
centered: h = !0,
|
|
630
|
+
className: m = ""
|
|
908
631
|
}) => {
|
|
909
|
-
const [v, p] =
|
|
910
|
-
if (
|
|
632
|
+
const [v, p] = k(!1), [l, u] = k(!1);
|
|
633
|
+
if (M(() => {
|
|
911
634
|
if (s)
|
|
912
|
-
p(!0), setTimeout(() =>
|
|
635
|
+
p(!0), setTimeout(() => u(!0), 10), document.body.style.overflow = "hidden";
|
|
913
636
|
else {
|
|
914
|
-
|
|
915
|
-
const
|
|
637
|
+
u(!1);
|
|
638
|
+
const n = setTimeout(() => {
|
|
916
639
|
p(!1);
|
|
917
640
|
}, 200);
|
|
918
|
-
return document.body.style.overflow = "unset", () => clearTimeout(
|
|
641
|
+
return document.body.style.overflow = "unset", () => clearTimeout(n);
|
|
919
642
|
}
|
|
920
|
-
}, [s]),
|
|
921
|
-
const
|
|
922
|
-
|
|
643
|
+
}, [s]), M(() => {
|
|
644
|
+
const n = (N) => {
|
|
645
|
+
N.key === "Escape" && i && s && a();
|
|
923
646
|
};
|
|
924
|
-
return s && document.addEventListener("keydown",
|
|
925
|
-
document.removeEventListener("keydown",
|
|
647
|
+
return s && document.addEventListener("keydown", n), () => {
|
|
648
|
+
document.removeEventListener("keydown", n);
|
|
926
649
|
};
|
|
927
|
-
}, [s,
|
|
928
|
-
const
|
|
929
|
-
|
|
930
|
-
},
|
|
931
|
-
|
|
650
|
+
}, [s, a, i]), !v) return null;
|
|
651
|
+
const r = () => {
|
|
652
|
+
g && a();
|
|
653
|
+
}, b = (n) => {
|
|
654
|
+
n.stopPropagation();
|
|
932
655
|
};
|
|
933
|
-
return /* @__PURE__ */
|
|
656
|
+
return /* @__PURE__ */ f(
|
|
934
657
|
"div",
|
|
935
658
|
{
|
|
936
659
|
className: "fixed inset-0 z-50 overflow-y-auto",
|
|
937
|
-
onClick:
|
|
660
|
+
onClick: r,
|
|
938
661
|
children: [
|
|
939
|
-
/* @__PURE__ */ e
|
|
662
|
+
/* @__PURE__ */ e(
|
|
940
663
|
"div",
|
|
941
664
|
{
|
|
942
|
-
className: `fixed inset-0 bg-black transition-opacity duration-200 ease-out ${
|
|
665
|
+
className: `fixed inset-0 bg-black transition-opacity duration-200 ease-out ${l ? "opacity-50" : "opacity-0"}`
|
|
943
666
|
}
|
|
944
667
|
),
|
|
945
|
-
/* @__PURE__ */ e
|
|
668
|
+
/* @__PURE__ */ e("div", { className: `flex min-h-full items-center justify-center p-4 ${h ? "items-center" : "items-start pt-20"}`, children: /* @__PURE__ */ f(
|
|
946
669
|
"div",
|
|
947
670
|
{
|
|
948
|
-
className: `relative bg-white rounded-lg shadow-xl transition-all duration-200 ease-out ${
|
|
949
|
-
style: { width:
|
|
950
|
-
onClick:
|
|
671
|
+
className: `relative bg-white rounded-lg shadow-xl transition-all duration-200 ease-out ${l ? "opacity-100 scale-100 translate-y-0" : "opacity-0 scale-95 -translate-y-4"} ${m}`,
|
|
672
|
+
style: { width: d, maxWidth: "90vw" },
|
|
673
|
+
onClick: b,
|
|
951
674
|
children: [
|
|
952
|
-
(
|
|
953
|
-
|
|
954
|
-
|
|
675
|
+
(o || i) && /* @__PURE__ */ f("div", { className: "flex items-center justify-between px-6 py-4 border-b border-gray-200", children: [
|
|
676
|
+
o && /* @__PURE__ */ e("h3", { className: "text-lg font-semibold text-gray-900", children: o }),
|
|
677
|
+
i && /* @__PURE__ */ e(
|
|
955
678
|
"button",
|
|
956
679
|
{
|
|
957
|
-
onClick:
|
|
680
|
+
onClick: a,
|
|
958
681
|
className: "text-gray-400 hover:text-gray-600 transition-colors duration-200 ease-out",
|
|
959
|
-
children: /* @__PURE__ */ e
|
|
682
|
+
children: /* @__PURE__ */ e(
|
|
960
683
|
"svg",
|
|
961
684
|
{
|
|
962
685
|
className: "w-5 h-5",
|
|
963
686
|
fill: "none",
|
|
964
687
|
stroke: "currentColor",
|
|
965
688
|
viewBox: "0 0 24 24",
|
|
966
|
-
children: /* @__PURE__ */ e
|
|
689
|
+
children: /* @__PURE__ */ e(
|
|
967
690
|
"path",
|
|
968
691
|
{
|
|
969
692
|
strokeLinecap: "round",
|
|
@@ -977,35 +700,35 @@ const de = ({
|
|
|
977
700
|
}
|
|
978
701
|
)
|
|
979
702
|
] }),
|
|
980
|
-
/* @__PURE__ */ e
|
|
981
|
-
|
|
703
|
+
/* @__PURE__ */ e("div", { className: "px-6 py-4 max-h-[70vh] overflow-y-auto", children: t }),
|
|
704
|
+
c && /* @__PURE__ */ e("div", { className: "px-6 py-4 border-t border-gray-200 flex justify-end gap-2", children: c })
|
|
982
705
|
]
|
|
983
706
|
}
|
|
984
707
|
) })
|
|
985
708
|
]
|
|
986
709
|
}
|
|
987
710
|
);
|
|
988
|
-
},
|
|
711
|
+
}, U = ({
|
|
989
712
|
children: s,
|
|
990
|
-
variant:
|
|
991
|
-
size:
|
|
992
|
-
dot:
|
|
993
|
-
icon:
|
|
994
|
-
iconPosition:
|
|
995
|
-
className:
|
|
713
|
+
variant: a = "default",
|
|
714
|
+
size: o = "md",
|
|
715
|
+
dot: t = !1,
|
|
716
|
+
icon: c,
|
|
717
|
+
iconPosition: d = "left",
|
|
718
|
+
className: i = ""
|
|
996
719
|
}) => {
|
|
997
|
-
const
|
|
720
|
+
const g = {
|
|
998
721
|
default: "bg-gray-100 text-[#181918]",
|
|
999
722
|
primary: "bg-[#FCEAE9] text-[#EC615B]",
|
|
1000
723
|
success: "bg-green-100 text-green-800",
|
|
1001
724
|
warning: "bg-yellow-100 text-yellow-800",
|
|
1002
725
|
danger: "bg-red-100 text-red-800",
|
|
1003
726
|
info: "bg-cyan-100 text-cyan-800"
|
|
1004
|
-
},
|
|
727
|
+
}, h = {
|
|
1005
728
|
sm: "px-2 py-0.5 text-xs",
|
|
1006
729
|
md: "px-2.5 py-1 text-sm",
|
|
1007
730
|
lg: "px-3 py-1.5 text-base"
|
|
1008
|
-
},
|
|
731
|
+
}, m = {
|
|
1009
732
|
sm: "w-1.5 h-1.5",
|
|
1010
733
|
md: "w-2 h-2",
|
|
1011
734
|
lg: "w-2.5 h-2.5"
|
|
@@ -1021,72 +744,72 @@ const de = ({
|
|
|
1021
744
|
md: "w-3.5 h-3.5",
|
|
1022
745
|
lg: "w-4 h-4"
|
|
1023
746
|
};
|
|
1024
|
-
return /* @__PURE__ */
|
|
747
|
+
return /* @__PURE__ */ f(
|
|
1025
748
|
"span",
|
|
1026
749
|
{
|
|
1027
|
-
className: `inline-flex items-center gap-1.5 font-medium rounded-full transition-all duration-200 ${
|
|
750
|
+
className: `inline-flex items-center gap-1.5 font-medium rounded-full transition-all duration-200 ${g[a]} ${h[o]} ${i}`,
|
|
1028
751
|
children: [
|
|
1029
|
-
|
|
1030
|
-
|
|
752
|
+
t && /* @__PURE__ */ e("span", { className: `rounded-full ${m[o]} ${v[a]}` }),
|
|
753
|
+
c && d === "left" && /* @__PURE__ */ e("span", { className: `inline-flex items-center ${p[o]}`, children: c }),
|
|
1031
754
|
s,
|
|
1032
|
-
|
|
755
|
+
c && d === "right" && /* @__PURE__ */ e("span", { className: `inline-flex items-center ${p[o]}`, children: c })
|
|
1033
756
|
]
|
|
1034
757
|
}
|
|
1035
758
|
);
|
|
1036
|
-
},
|
|
759
|
+
}, X = ({
|
|
1037
760
|
items: s,
|
|
1038
|
-
current:
|
|
1039
|
-
direction:
|
|
1040
|
-
size:
|
|
1041
|
-
variant:
|
|
1042
|
-
className:
|
|
761
|
+
current: a = 0,
|
|
762
|
+
direction: o = "vertical",
|
|
763
|
+
size: t = "md",
|
|
764
|
+
variant: c = "default",
|
|
765
|
+
className: d = ""
|
|
1043
766
|
}) => {
|
|
1044
|
-
const
|
|
767
|
+
const i = (l, u) => u.status ? u.status : l < a ? "finish" : l === a ? "process" : "wait", g = {
|
|
1045
768
|
sm: "w-6 h-6",
|
|
1046
769
|
md: "w-8 h-8",
|
|
1047
770
|
lg: "w-10 h-10"
|
|
1048
|
-
},
|
|
771
|
+
}, h = {
|
|
1049
772
|
sm: "text-sm",
|
|
1050
773
|
md: "text-base",
|
|
1051
774
|
lg: "text-lg"
|
|
1052
|
-
},
|
|
775
|
+
}, m = {
|
|
1053
776
|
sm: "text-xs",
|
|
1054
777
|
md: "text-sm",
|
|
1055
778
|
lg: "text-base"
|
|
1056
|
-
}, v = (
|
|
779
|
+
}, v = (l, u) => u || (l === "finish" ? /* @__PURE__ */ e("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e(
|
|
1057
780
|
"path",
|
|
1058
781
|
{
|
|
1059
782
|
fillRule: "evenodd",
|
|
1060
783
|
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
1061
784
|
clipRule: "evenodd"
|
|
1062
785
|
}
|
|
1063
|
-
) }) :
|
|
786
|
+
) }) : l === "error" ? /* @__PURE__ */ e("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e(
|
|
1064
787
|
"path",
|
|
1065
788
|
{
|
|
1066
789
|
fillRule: "evenodd",
|
|
1067
790
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
1068
791
|
clipRule: "evenodd"
|
|
1069
792
|
}
|
|
1070
|
-
) }) : null), p = (
|
|
1071
|
-
const
|
|
1072
|
-
switch (
|
|
793
|
+
) }) : null), p = (l) => {
|
|
794
|
+
const u = c === "outline";
|
|
795
|
+
switch (l) {
|
|
1073
796
|
case "finish":
|
|
1074
797
|
return {
|
|
1075
|
-
icon:
|
|
798
|
+
icon: u ? "bg-white text-green-500 border-green-500" : "bg-green-500 text-white border-green-500",
|
|
1076
799
|
title: "text-[#181918]",
|
|
1077
800
|
description: "text-gray-600",
|
|
1078
801
|
line: "bg-green-500"
|
|
1079
802
|
};
|
|
1080
803
|
case "process":
|
|
1081
804
|
return {
|
|
1082
|
-
icon:
|
|
805
|
+
icon: u ? "bg-white text-[#EC615B] border-[#EC615B]" : "bg-[#EC615B] text-white border-[#EC615B]",
|
|
1083
806
|
title: "text-[#181918] font-semibold",
|
|
1084
807
|
description: "text-gray-700",
|
|
1085
808
|
line: "bg-gray-300"
|
|
1086
809
|
};
|
|
1087
810
|
case "error":
|
|
1088
811
|
return {
|
|
1089
|
-
icon:
|
|
812
|
+
icon: u ? "bg-white text-red-500 border-red-500" : "bg-red-500 text-white border-red-500",
|
|
1090
813
|
title: "text-red-600",
|
|
1091
814
|
description: "text-red-500",
|
|
1092
815
|
line: "bg-gray-300"
|
|
@@ -1100,89 +823,89 @@ const de = ({
|
|
|
1100
823
|
};
|
|
1101
824
|
}
|
|
1102
825
|
};
|
|
1103
|
-
return
|
|
1104
|
-
const
|
|
1105
|
-
return /* @__PURE__ */
|
|
1106
|
-
/* @__PURE__ */
|
|
1107
|
-
/* @__PURE__ */ e
|
|
826
|
+
return o === "horizontal" ? /* @__PURE__ */ e("div", { className: `flex items-start ${d}`, children: s.map((l, u) => {
|
|
827
|
+
const r = i(u, l), b = p(r), n = u === s.length - 1;
|
|
828
|
+
return /* @__PURE__ */ f("div", { className: "flex flex-1 items-start", children: [
|
|
829
|
+
/* @__PURE__ */ f("div", { className: "flex flex-col items-center", children: [
|
|
830
|
+
/* @__PURE__ */ e(
|
|
1108
831
|
"div",
|
|
1109
832
|
{
|
|
1110
|
-
className: `flex items-center justify-center ${
|
|
1111
|
-
children: v(
|
|
833
|
+
className: `flex items-center justify-center ${g[t]} rounded-full border transition-all duration-300 ${b.icon}`,
|
|
834
|
+
children: v(r, l.icon)
|
|
1112
835
|
}
|
|
1113
836
|
),
|
|
1114
|
-
/* @__PURE__ */
|
|
1115
|
-
/* @__PURE__ */ e
|
|
837
|
+
/* @__PURE__ */ f("div", { className: "mt-2 text-center", children: [
|
|
838
|
+
/* @__PURE__ */ e(
|
|
1116
839
|
"div",
|
|
1117
840
|
{
|
|
1118
|
-
className: `${
|
|
1119
|
-
children:
|
|
841
|
+
className: `${h[t]} ${b.title} transition-colors duration-300`,
|
|
842
|
+
children: l.title
|
|
1120
843
|
}
|
|
1121
844
|
),
|
|
1122
|
-
|
|
845
|
+
l.description && /* @__PURE__ */ e(
|
|
1123
846
|
"div",
|
|
1124
847
|
{
|
|
1125
|
-
className: `${
|
|
1126
|
-
children:
|
|
848
|
+
className: `${m[t]} ${b.description} mt-1 transition-colors duration-300`,
|
|
849
|
+
children: l.description
|
|
1127
850
|
}
|
|
1128
851
|
)
|
|
1129
852
|
] })
|
|
1130
853
|
] }),
|
|
1131
|
-
!
|
|
854
|
+
!n && /* @__PURE__ */ e(
|
|
1132
855
|
"div",
|
|
1133
856
|
{
|
|
1134
|
-
className: `flex-1 h-0.5 mt-4 mx-2 ${
|
|
857
|
+
className: `flex-1 h-0.5 mt-4 mx-2 ${b.line} transition-colors duration-300`
|
|
1135
858
|
}
|
|
1136
859
|
)
|
|
1137
|
-
] },
|
|
1138
|
-
}) }) : /* @__PURE__ */ e
|
|
1139
|
-
const
|
|
1140
|
-
return /* @__PURE__ */
|
|
1141
|
-
/* @__PURE__ */
|
|
1142
|
-
/* @__PURE__ */ e
|
|
860
|
+
] }, u);
|
|
861
|
+
}) }) : /* @__PURE__ */ e("div", { className: `flex flex-col ${d}`, children: s.map((l, u) => {
|
|
862
|
+
const r = i(u, l), b = p(r), n = u === s.length - 1;
|
|
863
|
+
return /* @__PURE__ */ f("div", { className: "flex", children: [
|
|
864
|
+
/* @__PURE__ */ f("div", { className: "flex flex-col items-center mr-4", children: [
|
|
865
|
+
/* @__PURE__ */ e(
|
|
1143
866
|
"div",
|
|
1144
867
|
{
|
|
1145
|
-
className: `flex items-center justify-center ${
|
|
1146
|
-
children: v(
|
|
868
|
+
className: `flex items-center justify-center ${g[t]} rounded-full border transition-all duration-300 ${b.icon}`,
|
|
869
|
+
children: v(r, l.icon)
|
|
1147
870
|
}
|
|
1148
871
|
),
|
|
1149
|
-
!
|
|
872
|
+
!n && /* @__PURE__ */ e(
|
|
1150
873
|
"div",
|
|
1151
874
|
{
|
|
1152
|
-
className: `w-0.5 flex-1 my-1 ${
|
|
875
|
+
className: `w-0.5 flex-1 my-1 ${b.line} transition-colors duration-300`,
|
|
1153
876
|
style: { minHeight: "20px" }
|
|
1154
877
|
}
|
|
1155
878
|
)
|
|
1156
879
|
] }),
|
|
1157
|
-
/* @__PURE__ */
|
|
1158
|
-
/* @__PURE__ */ e
|
|
880
|
+
/* @__PURE__ */ f("div", { className: "flex-1 pb-6", children: [
|
|
881
|
+
/* @__PURE__ */ e(
|
|
1159
882
|
"div",
|
|
1160
883
|
{
|
|
1161
|
-
className: `${
|
|
1162
|
-
children:
|
|
884
|
+
className: `${h[t]} ${b.title} transition-colors duration-300`,
|
|
885
|
+
children: l.title
|
|
1163
886
|
}
|
|
1164
887
|
),
|
|
1165
|
-
|
|
888
|
+
l.description && /* @__PURE__ */ e(
|
|
1166
889
|
"div",
|
|
1167
890
|
{
|
|
1168
|
-
className: `${
|
|
1169
|
-
children:
|
|
891
|
+
className: `${m[t]} ${b.description} mt-1 transition-colors duration-300`,
|
|
892
|
+
children: l.description
|
|
1170
893
|
}
|
|
1171
894
|
)
|
|
1172
895
|
] })
|
|
1173
|
-
] },
|
|
896
|
+
] }, u);
|
|
1174
897
|
}) });
|
|
1175
|
-
},
|
|
898
|
+
}, Y = ({
|
|
1176
899
|
percent: s = 0,
|
|
1177
|
-
status:
|
|
1178
|
-
showInfo:
|
|
1179
|
-
strokeColor:
|
|
1180
|
-
strokeWidth:
|
|
1181
|
-
size:
|
|
1182
|
-
className:
|
|
1183
|
-
format:
|
|
900
|
+
status: a = "normal",
|
|
901
|
+
showInfo: o = !0,
|
|
902
|
+
strokeColor: t,
|
|
903
|
+
strokeWidth: c,
|
|
904
|
+
size: d = "md",
|
|
905
|
+
className: i = "",
|
|
906
|
+
format: g
|
|
1184
907
|
}) => {
|
|
1185
|
-
const
|
|
908
|
+
const h = Math.min(100, Math.max(0, s)), m = {
|
|
1186
909
|
sm: "h-1.5",
|
|
1187
910
|
md: "h-2",
|
|
1188
911
|
lg: "h-3"
|
|
@@ -1191,8 +914,8 @@ const de = ({
|
|
|
1191
914
|
md: "text-sm",
|
|
1192
915
|
lg: "text-base"
|
|
1193
916
|
}, p = () => {
|
|
1194
|
-
if (
|
|
1195
|
-
switch (
|
|
917
|
+
if (t) return t;
|
|
918
|
+
switch (a) {
|
|
1196
919
|
case "success":
|
|
1197
920
|
return "bg-green-500";
|
|
1198
921
|
case "exception":
|
|
@@ -1200,135 +923,135 @@ const de = ({
|
|
|
1200
923
|
case "active":
|
|
1201
924
|
return "bg-[#EC615B]";
|
|
1202
925
|
default:
|
|
1203
|
-
return
|
|
926
|
+
return h === 100 ? "bg-green-500" : "bg-[#EC615B]";
|
|
1204
927
|
}
|
|
1205
|
-
},
|
|
928
|
+
}, l = () => a === "success" || h === 100 ? /* @__PURE__ */ e("svg", { className: "w-4 h-4 text-green-500", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e(
|
|
1206
929
|
"path",
|
|
1207
930
|
{
|
|
1208
931
|
fillRule: "evenodd",
|
|
1209
932
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
|
|
1210
933
|
clipRule: "evenodd"
|
|
1211
934
|
}
|
|
1212
|
-
) }) :
|
|
935
|
+
) }) : a === "exception" ? /* @__PURE__ */ e("svg", { className: "w-4 h-4 text-red-500", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e(
|
|
1213
936
|
"path",
|
|
1214
937
|
{
|
|
1215
938
|
fillRule: "evenodd",
|
|
1216
939
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",
|
|
1217
940
|
clipRule: "evenodd"
|
|
1218
941
|
}
|
|
1219
|
-
) }) : null,
|
|
1220
|
-
return /* @__PURE__ */
|
|
1221
|
-
/* @__PURE__ */ e
|
|
942
|
+
) }) : null, u = () => g ? g(h) : `${Math.round(h)}%`, r = c ? `${c}px` : void 0;
|
|
943
|
+
return /* @__PURE__ */ f("div", { className: `flex items-center gap-2 ${i}`, children: [
|
|
944
|
+
/* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
|
|
1222
945
|
"div",
|
|
1223
946
|
{
|
|
1224
|
-
className: `w-full bg-gray-200 rounded-full overflow-hidden ${
|
|
1225
|
-
style: { height:
|
|
1226
|
-
children: /* @__PURE__ */ e
|
|
947
|
+
className: `w-full bg-gray-200 rounded-full overflow-hidden ${m[d]}`,
|
|
948
|
+
style: { height: r },
|
|
949
|
+
children: /* @__PURE__ */ e(
|
|
1227
950
|
"div",
|
|
1228
951
|
{
|
|
1229
|
-
className: `${p()} ${
|
|
952
|
+
className: `${p()} ${m[d]} rounded-full transition-all duration-300 ease-out ${a === "active" ? "progress-active" : ""}`,
|
|
1230
953
|
style: {
|
|
1231
|
-
width: `${
|
|
1232
|
-
height:
|
|
954
|
+
width: `${h}%`,
|
|
955
|
+
height: r
|
|
1233
956
|
}
|
|
1234
957
|
}
|
|
1235
958
|
)
|
|
1236
959
|
}
|
|
1237
960
|
) }),
|
|
1238
|
-
|
|
961
|
+
o && /* @__PURE__ */ e("div", { className: `flex items-center gap-1 ${v[d]} text-gray-600 font-normal`, children: l() || u() })
|
|
1239
962
|
] });
|
|
1240
|
-
},
|
|
963
|
+
}, Z = ({
|
|
1241
964
|
checked: s,
|
|
1242
|
-
defaultChecked:
|
|
1243
|
-
onChange:
|
|
1244
|
-
disabled:
|
|
1245
|
-
indeterminate:
|
|
1246
|
-
size:
|
|
1247
|
-
variant:
|
|
1248
|
-
className:
|
|
1249
|
-
id:
|
|
1250
|
-
name:
|
|
965
|
+
defaultChecked: a = !1,
|
|
966
|
+
onChange: o,
|
|
967
|
+
disabled: t = !1,
|
|
968
|
+
indeterminate: c = !1,
|
|
969
|
+
size: d = "md",
|
|
970
|
+
variant: i = "filled",
|
|
971
|
+
className: g = "",
|
|
972
|
+
id: h,
|
|
973
|
+
name: m,
|
|
1251
974
|
value: v
|
|
1252
975
|
}) => {
|
|
1253
|
-
const [p,
|
|
1254
|
-
if (
|
|
1255
|
-
const
|
|
1256
|
-
|
|
1257
|
-
},
|
|
976
|
+
const [p, l] = k(a), u = s !== void 0, r = u ? s : p, b = ($) => {
|
|
977
|
+
if (t) return;
|
|
978
|
+
const E = $.target.checked;
|
|
979
|
+
u || l(E), o == null || o(E);
|
|
980
|
+
}, n = {
|
|
1258
981
|
sm: "w-4 h-4",
|
|
1259
982
|
md: "w-5 h-5",
|
|
1260
983
|
lg: "w-6 h-6"
|
|
1261
|
-
},
|
|
984
|
+
}, N = {
|
|
1262
985
|
sm: "w-3 h-3",
|
|
1263
986
|
md: "w-3.5 h-3.5",
|
|
1264
987
|
lg: "w-4 h-4"
|
|
1265
|
-
},
|
|
1266
|
-
return /* @__PURE__ */
|
|
1267
|
-
/* @__PURE__ */ e
|
|
988
|
+
}, x = i === "filled", w = () => t ? "cursor-not-allowed opacity-50 border-gray-300 bg-gray-100" : x ? !r && !c ? "border-gray-300 bg-white hover:border-gray-400" : "border-[#EC615B] bg-[#EC615B] hover:bg-[#D4554F] hover:border-[#D4554F]" : !r && !c ? "border-gray-300 bg-white hover:border-gray-400" : "border-[#EC615B] bg-white hover:border-[#D4554F]", C = () => x ? "text-white" : "text-[#EC615B]";
|
|
989
|
+
return /* @__PURE__ */ f("div", { className: "inline-flex items-center", children: [
|
|
990
|
+
/* @__PURE__ */ e(
|
|
1268
991
|
"input",
|
|
1269
992
|
{
|
|
1270
993
|
type: "checkbox",
|
|
1271
|
-
id:
|
|
1272
|
-
name:
|
|
994
|
+
id: h,
|
|
995
|
+
name: m,
|
|
1273
996
|
value: v,
|
|
1274
|
-
checked:
|
|
1275
|
-
onChange:
|
|
1276
|
-
disabled:
|
|
997
|
+
checked: r,
|
|
998
|
+
onChange: b,
|
|
999
|
+
disabled: t,
|
|
1277
1000
|
className: "sr-only"
|
|
1278
1001
|
}
|
|
1279
1002
|
),
|
|
1280
|
-
/* @__PURE__ */
|
|
1003
|
+
/* @__PURE__ */ f(
|
|
1281
1004
|
"label",
|
|
1282
1005
|
{
|
|
1283
|
-
htmlFor:
|
|
1006
|
+
htmlFor: h,
|
|
1284
1007
|
className: `
|
|
1285
1008
|
relative flex items-center justify-center
|
|
1286
|
-
${
|
|
1287
|
-
${
|
|
1009
|
+
${n[d]}
|
|
1010
|
+
${i === "outline" ? "border" : "border-2"}
|
|
1288
1011
|
rounded
|
|
1289
1012
|
transition-all duration-200 ease-out
|
|
1290
1013
|
cursor-pointer
|
|
1291
|
-
${
|
|
1292
|
-
${
|
|
1014
|
+
${w()}
|
|
1015
|
+
${g}
|
|
1293
1016
|
`,
|
|
1294
1017
|
children: [
|
|
1295
|
-
|
|
1018
|
+
r && !c && /* @__PURE__ */ e(
|
|
1296
1019
|
"svg",
|
|
1297
1020
|
{
|
|
1298
|
-
className: `${
|
|
1021
|
+
className: `${N[d]} ${C()}`,
|
|
1299
1022
|
fill: "none",
|
|
1300
1023
|
stroke: "currentColor",
|
|
1301
1024
|
viewBox: "0 0 24 24",
|
|
1302
1025
|
strokeWidth: 3,
|
|
1303
|
-
children: /* @__PURE__ */ e
|
|
1026
|
+
children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 13l4 4L19 7" })
|
|
1304
1027
|
}
|
|
1305
1028
|
),
|
|
1306
|
-
|
|
1029
|
+
c && /* @__PURE__ */ e(
|
|
1307
1030
|
"svg",
|
|
1308
1031
|
{
|
|
1309
|
-
className: `${
|
|
1032
|
+
className: `${N[d]} ${C()}`,
|
|
1310
1033
|
fill: "currentColor",
|
|
1311
1034
|
viewBox: "0 0 24 24",
|
|
1312
|
-
children: /* @__PURE__ */ e
|
|
1035
|
+
children: /* @__PURE__ */ e("rect", { x: "4", y: "11", width: "16", height: "2", rx: "1" })
|
|
1313
1036
|
}
|
|
1314
1037
|
)
|
|
1315
1038
|
]
|
|
1316
1039
|
}
|
|
1317
1040
|
)
|
|
1318
1041
|
] });
|
|
1319
|
-
},
|
|
1042
|
+
}, _ = ({
|
|
1320
1043
|
items: s,
|
|
1321
|
-
onRemove:
|
|
1322
|
-
emptyMessage:
|
|
1323
|
-
className:
|
|
1324
|
-
itemClassName:
|
|
1325
|
-
maxHeight:
|
|
1326
|
-
}) => s.length === 0 ? /* @__PURE__ */ e
|
|
1044
|
+
onRemove: a,
|
|
1045
|
+
emptyMessage: o = "No items selected",
|
|
1046
|
+
className: t = "",
|
|
1047
|
+
itemClassName: c = "",
|
|
1048
|
+
maxHeight: d = "300px"
|
|
1049
|
+
}) => s.length === 0 ? /* @__PURE__ */ e("div", { className: `text-center py-8 text-gray-500 text-sm ${t}`, children: o }) : /* @__PURE__ */ e(
|
|
1327
1050
|
"div",
|
|
1328
1051
|
{
|
|
1329
|
-
className: `space-y-2 overflow-y-auto ${
|
|
1330
|
-
style: { maxHeight:
|
|
1331
|
-
children: s.map((
|
|
1052
|
+
className: `space-y-2 overflow-y-auto ${t}`,
|
|
1053
|
+
style: { maxHeight: d },
|
|
1054
|
+
children: s.map((i, g) => /* @__PURE__ */ f(
|
|
1332
1055
|
"div",
|
|
1333
1056
|
{
|
|
1334
1057
|
className: `
|
|
@@ -1337,20 +1060,20 @@ const de = ({
|
|
|
1337
1060
|
transition-all duration-300 ease-out
|
|
1338
1061
|
hover:bg-[#EBEBEB] hover:shadow-sm
|
|
1339
1062
|
animate-slide-in-item
|
|
1340
|
-
${
|
|
1063
|
+
${c}
|
|
1341
1064
|
`,
|
|
1342
1065
|
style: {
|
|
1343
|
-
animationDelay: `${
|
|
1066
|
+
animationDelay: `${g * 50}ms`
|
|
1344
1067
|
},
|
|
1345
1068
|
children: [
|
|
1346
|
-
/* @__PURE__ */
|
|
1347
|
-
|
|
1348
|
-
/* @__PURE__ */ e
|
|
1069
|
+
/* @__PURE__ */ f("div", { className: "flex-1 min-w-0", children: [
|
|
1070
|
+
i.sublabel && /* @__PURE__ */ e("div", { className: "text-xs text-gray-500 font-normal mb-0.5", children: i.sublabel }),
|
|
1071
|
+
/* @__PURE__ */ e("div", { className: "text-sm font-medium text-[#181918] truncate", children: i.label })
|
|
1349
1072
|
] }),
|
|
1350
|
-
/* @__PURE__ */ e
|
|
1073
|
+
/* @__PURE__ */ e(
|
|
1351
1074
|
"button",
|
|
1352
1075
|
{
|
|
1353
|
-
onClick: () =>
|
|
1076
|
+
onClick: () => a(i.id),
|
|
1354
1077
|
className: `
|
|
1355
1078
|
ml-3 flex-shrink-0
|
|
1356
1079
|
w-6 h-6 rounded-full
|
|
@@ -1361,15 +1084,15 @@ const de = ({
|
|
|
1361
1084
|
active:scale-95
|
|
1362
1085
|
focus:outline-none focus:ring-2 focus:ring-[#EC615B] focus:ring-opacity-50
|
|
1363
1086
|
`,
|
|
1364
|
-
"aria-label": `Remove ${
|
|
1365
|
-
children: /* @__PURE__ */ e
|
|
1087
|
+
"aria-label": `Remove ${i.label}`,
|
|
1088
|
+
children: /* @__PURE__ */ e(
|
|
1366
1089
|
"svg",
|
|
1367
1090
|
{
|
|
1368
1091
|
className: "w-4 h-4",
|
|
1369
1092
|
fill: "none",
|
|
1370
1093
|
stroke: "currentColor",
|
|
1371
1094
|
viewBox: "0 0 24 24",
|
|
1372
|
-
children: /* @__PURE__ */ e
|
|
1095
|
+
children: /* @__PURE__ */ e(
|
|
1373
1096
|
"path",
|
|
1374
1097
|
{
|
|
1375
1098
|
strokeLinecap: "round",
|
|
@@ -1384,24 +1107,24 @@ const de = ({
|
|
|
1384
1107
|
)
|
|
1385
1108
|
]
|
|
1386
1109
|
},
|
|
1387
|
-
|
|
1110
|
+
i.id
|
|
1388
1111
|
))
|
|
1389
1112
|
}
|
|
1390
1113
|
);
|
|
1391
1114
|
export {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1115
|
+
U as Badge,
|
|
1116
|
+
D as Button,
|
|
1117
|
+
H as Card,
|
|
1118
|
+
Z as Checkbox,
|
|
1119
|
+
Q as Dropdown,
|
|
1120
|
+
J as Modal,
|
|
1121
|
+
Y as Progress,
|
|
1122
|
+
V as SearchInput,
|
|
1123
|
+
P as Select,
|
|
1124
|
+
_ as SelectedItemsList,
|
|
1125
|
+
A as StatCard,
|
|
1126
|
+
X as Steps,
|
|
1127
|
+
q as Table,
|
|
1128
|
+
G as TableTop
|
|
1406
1129
|
};
|
|
1407
1130
|
//# sourceMappingURL=index.mjs.map
|