@sudobility/documents-components 1.0.11 → 2.0.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/dist/index.d.ts +0 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +253 -879
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/dist/cell-editor.d.ts +0 -33
- package/dist/cell-editor.d.ts.map +0 -1
- package/dist/column-resize.d.ts +0 -33
- package/dist/column-resize.d.ts.map +0 -1
- package/dist/file-browser.d.ts +0 -33
- package/dist/file-browser.d.ts.map +0 -1
- package/dist/file-icon.d.ts +0 -32
- package/dist/file-icon.d.ts.map +0 -1
- package/dist/file-preview.d.ts +0 -33
- package/dist/file-preview.d.ts.map +0 -1
- package/dist/file-tree.d.ts +0 -33
- package/dist/file-tree.d.ts.map +0 -1
- package/dist/key-value-pair.d.ts +0 -56
- package/dist/key-value-pair.d.ts.map +0 -1
- package/dist/markdown-renderer.d.ts +0 -33
- package/dist/markdown-renderer.d.ts.map +0 -1
- package/dist/qr-code-display.d.ts +0 -46
- package/dist/qr-code-display.d.ts.map +0 -1
- package/dist/wysiwyg-editor.d.ts +0 -8
- package/dist/wysiwyg-editor.d.ts.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,317 +1,271 @@
|
|
|
1
|
-
import
|
|
2
|
-
import oe, { useRef as ae, useEffect as ne } from "react";
|
|
1
|
+
import er from "react";
|
|
3
2
|
import { cn as g } from "@sudobility/components";
|
|
4
|
-
|
|
5
|
-
var A = { exports: {} }, _ = {};
|
|
3
|
+
var E = { exports: {} }, m = {};
|
|
6
4
|
var D;
|
|
7
|
-
function
|
|
8
|
-
if (D) return
|
|
5
|
+
function tr() {
|
|
6
|
+
if (D) return m;
|
|
9
7
|
D = 1;
|
|
10
|
-
var o = Symbol.for("react.transitional.element"),
|
|
11
|
-
function
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
|
|
15
|
-
for (var
|
|
16
|
-
|
|
17
|
-
} else
|
|
18
|
-
return
|
|
8
|
+
var o = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
9
|
+
function t(l, c, u) {
|
|
10
|
+
var f = null;
|
|
11
|
+
if (u !== void 0 && (f = "" + u), c.key !== void 0 && (f = "" + c.key), "key" in c) {
|
|
12
|
+
u = {};
|
|
13
|
+
for (var b in c)
|
|
14
|
+
b !== "key" && (u[b] = c[b]);
|
|
15
|
+
} else u = c;
|
|
16
|
+
return c = u.ref, {
|
|
19
17
|
$$typeof: o,
|
|
20
|
-
type:
|
|
21
|
-
key:
|
|
22
|
-
ref:
|
|
23
|
-
props:
|
|
18
|
+
type: l,
|
|
19
|
+
key: f,
|
|
20
|
+
ref: c !== void 0 ? c : null,
|
|
21
|
+
props: u
|
|
24
22
|
};
|
|
25
23
|
}
|
|
26
|
-
return
|
|
24
|
+
return m.Fragment = n, m.jsx = t, m.jsxs = t, m;
|
|
27
25
|
}
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
function
|
|
31
|
-
return
|
|
32
|
-
function o(
|
|
33
|
-
if (
|
|
34
|
-
if (typeof
|
|
35
|
-
return
|
|
36
|
-
if (typeof
|
|
37
|
-
switch (
|
|
38
|
-
case
|
|
26
|
+
var y = {};
|
|
27
|
+
var M;
|
|
28
|
+
function or() {
|
|
29
|
+
return M || (M = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
+
function o(r) {
|
|
31
|
+
if (r == null) return null;
|
|
32
|
+
if (typeof r == "function")
|
|
33
|
+
return r.$$typeof === Q ? null : r.displayName || r.name || null;
|
|
34
|
+
if (typeof r == "string") return r;
|
|
35
|
+
switch (r) {
|
|
36
|
+
case T:
|
|
39
37
|
return "Fragment";
|
|
40
|
-
case
|
|
38
|
+
case z:
|
|
41
39
|
return "Profiler";
|
|
42
|
-
case
|
|
40
|
+
case q:
|
|
43
41
|
return "StrictMode";
|
|
44
|
-
case G:
|
|
45
|
-
return "Suspense";
|
|
46
42
|
case X:
|
|
43
|
+
return "Suspense";
|
|
44
|
+
case B:
|
|
47
45
|
return "SuspenseList";
|
|
48
|
-
case
|
|
46
|
+
case Z:
|
|
49
47
|
return "Activity";
|
|
50
48
|
}
|
|
51
|
-
if (typeof
|
|
52
|
-
switch (typeof
|
|
49
|
+
if (typeof r == "object")
|
|
50
|
+
switch (typeof r.tag == "number" && console.error(
|
|
53
51
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
54
|
-
),
|
|
55
|
-
case
|
|
52
|
+
), r.$$typeof) {
|
|
53
|
+
case L:
|
|
56
54
|
return "Portal";
|
|
57
|
-
case
|
|
58
|
-
return
|
|
59
|
-
case Z:
|
|
60
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
55
|
+
case V:
|
|
56
|
+
return r.displayName || "Context";
|
|
61
57
|
case J:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return
|
|
66
|
-
case
|
|
67
|
-
|
|
58
|
+
return (r._context.displayName || "Context") + ".Consumer";
|
|
59
|
+
case G:
|
|
60
|
+
var e = r.render;
|
|
61
|
+
return r = r.displayName, r || (r = e.displayName || e.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
62
|
+
case H:
|
|
63
|
+
return e = r.displayName || null, e !== null ? e : o(r.type) || "Memo";
|
|
64
|
+
case U:
|
|
65
|
+
e = r._payload, r = r._init;
|
|
68
66
|
try {
|
|
69
|
-
return o(e
|
|
67
|
+
return o(r(e));
|
|
70
68
|
} catch {
|
|
71
69
|
}
|
|
72
70
|
}
|
|
73
71
|
return null;
|
|
74
72
|
}
|
|
75
|
-
function
|
|
76
|
-
return "" +
|
|
73
|
+
function n(r) {
|
|
74
|
+
return "" + r;
|
|
77
75
|
}
|
|
78
|
-
function r
|
|
76
|
+
function t(r) {
|
|
79
77
|
try {
|
|
80
|
-
|
|
81
|
-
var
|
|
78
|
+
n(r);
|
|
79
|
+
var e = !1;
|
|
82
80
|
} catch {
|
|
83
|
-
|
|
81
|
+
e = !0;
|
|
84
82
|
}
|
|
85
|
-
if (
|
|
86
|
-
|
|
87
|
-
var
|
|
88
|
-
return
|
|
89
|
-
|
|
83
|
+
if (e) {
|
|
84
|
+
e = console;
|
|
85
|
+
var a = e.error, s = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
86
|
+
return a.call(
|
|
87
|
+
e,
|
|
90
88
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
91
|
-
|
|
92
|
-
),
|
|
89
|
+
s
|
|
90
|
+
), n(r);
|
|
93
91
|
}
|
|
94
92
|
}
|
|
95
|
-
function
|
|
96
|
-
if (
|
|
97
|
-
if (typeof
|
|
93
|
+
function l(r) {
|
|
94
|
+
if (r === T) return "<>";
|
|
95
|
+
if (typeof r == "object" && r !== null && r.$$typeof === U)
|
|
98
96
|
return "<...>";
|
|
99
97
|
try {
|
|
100
|
-
var
|
|
101
|
-
return
|
|
98
|
+
var e = o(r);
|
|
99
|
+
return e ? "<" + e + ">" : "<...>";
|
|
102
100
|
} catch {
|
|
103
101
|
return "<...>";
|
|
104
102
|
}
|
|
105
103
|
}
|
|
106
|
-
function
|
|
107
|
-
var
|
|
108
|
-
return
|
|
104
|
+
function c() {
|
|
105
|
+
var r = j.A;
|
|
106
|
+
return r === null ? null : r.getOwner();
|
|
109
107
|
}
|
|
110
|
-
function
|
|
108
|
+
function u() {
|
|
111
109
|
return Error("react-stack-top-frame");
|
|
112
110
|
}
|
|
113
|
-
function
|
|
114
|
-
if (
|
|
115
|
-
var
|
|
116
|
-
if (
|
|
111
|
+
function f(r) {
|
|
112
|
+
if (N.call(r, "key")) {
|
|
113
|
+
var e = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
114
|
+
if (e && e.isReactWarning) return !1;
|
|
117
115
|
}
|
|
118
|
-
return
|
|
116
|
+
return r.key !== void 0;
|
|
119
117
|
}
|
|
120
|
-
function
|
|
121
|
-
function
|
|
122
|
-
|
|
118
|
+
function b(r, e) {
|
|
119
|
+
function a() {
|
|
120
|
+
P || (P = !0, console.error(
|
|
123
121
|
"%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)",
|
|
124
|
-
|
|
122
|
+
e
|
|
125
123
|
));
|
|
126
124
|
}
|
|
127
|
-
|
|
128
|
-
get:
|
|
125
|
+
a.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
126
|
+
get: a,
|
|
129
127
|
configurable: !0
|
|
130
128
|
});
|
|
131
129
|
}
|
|
132
|
-
function
|
|
133
|
-
var
|
|
134
|
-
return
|
|
130
|
+
function x() {
|
|
131
|
+
var r = o(this.type);
|
|
132
|
+
return Y[r] || (Y[r] = !0, console.error(
|
|
135
133
|
"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."
|
|
136
|
-
)),
|
|
134
|
+
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
137
135
|
}
|
|
138
|
-
function
|
|
139
|
-
var
|
|
140
|
-
return
|
|
141
|
-
$$typeof:
|
|
142
|
-
type:
|
|
143
|
-
key:
|
|
144
|
-
props:
|
|
145
|
-
_owner:
|
|
146
|
-
}, (
|
|
136
|
+
function R(r, e, a, s, w, C) {
|
|
137
|
+
var i = a.ref;
|
|
138
|
+
return r = {
|
|
139
|
+
$$typeof: S,
|
|
140
|
+
type: r,
|
|
141
|
+
key: e,
|
|
142
|
+
props: a,
|
|
143
|
+
_owner: s
|
|
144
|
+
}, (i !== void 0 ? i : null) !== null ? Object.defineProperty(r, "ref", {
|
|
147
145
|
enumerable: !1,
|
|
148
|
-
get:
|
|
149
|
-
}) : Object.defineProperty(
|
|
146
|
+
get: x
|
|
147
|
+
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
|
|
150
148
|
configurable: !1,
|
|
151
149
|
enumerable: !1,
|
|
152
150
|
writable: !0,
|
|
153
151
|
value: 0
|
|
154
|
-
}), Object.defineProperty(
|
|
152
|
+
}), Object.defineProperty(r, "_debugInfo", {
|
|
155
153
|
configurable: !1,
|
|
156
154
|
enumerable: !1,
|
|
157
155
|
writable: !0,
|
|
158
156
|
value: null
|
|
159
|
-
}), Object.defineProperty(
|
|
157
|
+
}), Object.defineProperty(r, "_debugStack", {
|
|
160
158
|
configurable: !1,
|
|
161
159
|
enumerable: !1,
|
|
162
160
|
writable: !0,
|
|
163
|
-
value:
|
|
164
|
-
}), Object.defineProperty(
|
|
161
|
+
value: w
|
|
162
|
+
}), Object.defineProperty(r, "_debugTask", {
|
|
165
163
|
configurable: !1,
|
|
166
164
|
enumerable: !1,
|
|
167
165
|
writable: !0,
|
|
168
|
-
value:
|
|
169
|
-
}), Object.freeze && (Object.freeze(
|
|
166
|
+
value: C
|
|
167
|
+
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
170
168
|
}
|
|
171
|
-
function
|
|
172
|
-
var
|
|
173
|
-
if (
|
|
174
|
-
if (
|
|
175
|
-
if (
|
|
176
|
-
for (
|
|
177
|
-
h(
|
|
178
|
-
Object.freeze && Object.freeze(
|
|
169
|
+
function k(r, e, a, s, w, C) {
|
|
170
|
+
var i = e.children;
|
|
171
|
+
if (i !== void 0)
|
|
172
|
+
if (s)
|
|
173
|
+
if (K(i)) {
|
|
174
|
+
for (s = 0; s < i.length; s++)
|
|
175
|
+
h(i[s]);
|
|
176
|
+
Object.freeze && Object.freeze(i);
|
|
179
177
|
} else
|
|
180
178
|
console.error(
|
|
181
179
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
182
180
|
);
|
|
183
|
-
else h(
|
|
184
|
-
if (
|
|
185
|
-
|
|
186
|
-
var
|
|
187
|
-
return
|
|
181
|
+
else h(i);
|
|
182
|
+
if (N.call(e, "key")) {
|
|
183
|
+
i = o(r);
|
|
184
|
+
var v = Object.keys(e).filter(function(rr) {
|
|
185
|
+
return rr !== "key";
|
|
188
186
|
});
|
|
189
|
-
|
|
187
|
+
s = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", F[i + s] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
190
188
|
`A props object containing a "key" prop is being spread into JSX:
|
|
191
189
|
let props = %s;
|
|
192
190
|
<%s {...props} />
|
|
193
191
|
React keys must be passed directly to JSX without using spread:
|
|
194
192
|
let props = %s;
|
|
195
193
|
<%s key={someKey} {...props} />`,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
),
|
|
194
|
+
s,
|
|
195
|
+
i,
|
|
196
|
+
v,
|
|
197
|
+
i
|
|
198
|
+
), F[i + s] = !0);
|
|
201
199
|
}
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
for (var
|
|
205
|
-
|
|
206
|
-
} else
|
|
207
|
-
return
|
|
208
|
-
|
|
209
|
-
typeof
|
|
210
|
-
),
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
200
|
+
if (i = null, a !== void 0 && (t(a), i = "" + a), f(e) && (t(e.key), i = "" + e.key), "key" in e) {
|
|
201
|
+
a = {};
|
|
202
|
+
for (var A in e)
|
|
203
|
+
A !== "key" && (a[A] = e[A]);
|
|
204
|
+
} else a = e;
|
|
205
|
+
return i && b(
|
|
206
|
+
a,
|
|
207
|
+
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
208
|
+
), R(
|
|
209
|
+
r,
|
|
210
|
+
i,
|
|
211
|
+
a,
|
|
212
|
+
c(),
|
|
213
|
+
w,
|
|
214
|
+
C
|
|
217
215
|
);
|
|
218
216
|
}
|
|
219
|
-
function h(
|
|
220
|
-
|
|
217
|
+
function h(r) {
|
|
218
|
+
_(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === U && (r._payload.status === "fulfilled" ? _(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
221
219
|
}
|
|
222
|
-
function
|
|
223
|
-
return typeof
|
|
220
|
+
function _(r) {
|
|
221
|
+
return typeof r == "object" && r !== null && r.$$typeof === S;
|
|
224
222
|
}
|
|
225
|
-
var p =
|
|
223
|
+
var p = er, S = Symbol.for("react.transitional.element"), L = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), X = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), j = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
226
224
|
return null;
|
|
227
225
|
};
|
|
228
226
|
p = {
|
|
229
|
-
react_stack_bottom_frame: function(
|
|
230
|
-
return
|
|
227
|
+
react_stack_bottom_frame: function(r) {
|
|
228
|
+
return r();
|
|
231
229
|
}
|
|
232
230
|
};
|
|
233
|
-
var
|
|
231
|
+
var P, Y = {}, $ = p.react_stack_bottom_frame.bind(
|
|
234
232
|
p,
|
|
235
|
-
|
|
236
|
-
)(),
|
|
237
|
-
|
|
238
|
-
var
|
|
239
|
-
return
|
|
233
|
+
u
|
|
234
|
+
)(), I = O(l(u)), F = {};
|
|
235
|
+
y.Fragment = T, y.jsx = function(r, e, a) {
|
|
236
|
+
var s = 1e4 > j.recentlyCreatedOwnerStacks++;
|
|
237
|
+
return k(
|
|
238
|
+
r,
|
|
240
239
|
e,
|
|
241
|
-
|
|
242
|
-
u,
|
|
240
|
+
a,
|
|
243
241
|
!1,
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
s ? Error("react-stack-top-frame") : $,
|
|
243
|
+
s ? O(l(r)) : I
|
|
246
244
|
);
|
|
247
|
-
},
|
|
248
|
-
var
|
|
249
|
-
return
|
|
245
|
+
}, y.jsxs = function(r, e, a) {
|
|
246
|
+
var s = 1e4 > j.recentlyCreatedOwnerStacks++;
|
|
247
|
+
return k(
|
|
248
|
+
r,
|
|
250
249
|
e,
|
|
251
|
-
|
|
252
|
-
u,
|
|
250
|
+
a,
|
|
253
251
|
!0,
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
s ? Error("react-stack-top-frame") : $,
|
|
253
|
+
s ? O(l(r)) : I
|
|
256
254
|
);
|
|
257
255
|
};
|
|
258
|
-
})()),
|
|
256
|
+
})()), y;
|
|
259
257
|
}
|
|
260
|
-
var
|
|
261
|
-
function
|
|
262
|
-
return
|
|
258
|
+
var W;
|
|
259
|
+
function ar() {
|
|
260
|
+
return W || (W = 1, process.env.NODE_ENV === "production" ? E.exports = tr() : E.exports = or()), E.exports;
|
|
263
261
|
}
|
|
264
|
-
var
|
|
265
|
-
const
|
|
266
|
-
className: o,
|
|
267
|
-
children: t,
|
|
268
|
-
disabled: r = !1,
|
|
269
|
-
onClick: a
|
|
270
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
271
|
-
"div",
|
|
272
|
-
{
|
|
273
|
-
className: g(
|
|
274
|
-
"p-4 rounded-lg border transition-colors",
|
|
275
|
-
"bg-white dark:bg-gray-900",
|
|
276
|
-
"border-gray-200 dark:border-gray-700",
|
|
277
|
-
"text-gray-900 dark:text-white",
|
|
278
|
-
r && "opacity-50 cursor-not-allowed",
|
|
279
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
280
|
-
o
|
|
281
|
-
),
|
|
282
|
-
onClick: r ? void 0 : a,
|
|
283
|
-
role: "region",
|
|
284
|
-
"aria-label": "UcellUeditor",
|
|
285
|
-
children: t || "UcellUeditor Component"
|
|
286
|
-
}
|
|
287
|
-
), Ae = ({
|
|
288
|
-
className: o,
|
|
289
|
-
children: t,
|
|
290
|
-
disabled: r = !1,
|
|
291
|
-
onClick: a
|
|
292
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
293
|
-
"div",
|
|
294
|
-
{
|
|
295
|
-
className: g(
|
|
296
|
-
"p-4 rounded-lg border transition-colors",
|
|
297
|
-
"bg-white dark:bg-gray-900",
|
|
298
|
-
"border-gray-200 dark:border-gray-700",
|
|
299
|
-
"text-gray-900 dark:text-white",
|
|
300
|
-
r && "opacity-50 cursor-not-allowed",
|
|
301
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
302
|
-
o
|
|
303
|
-
),
|
|
304
|
-
onClick: r ? void 0 : a,
|
|
305
|
-
role: "region",
|
|
306
|
-
"aria-label": "UcolumnUresize",
|
|
307
|
-
children: t || "UcolumnUresize Component"
|
|
308
|
-
}
|
|
309
|
-
), Oe = ({
|
|
262
|
+
var d = ar();
|
|
263
|
+
const sr = ({
|
|
310
264
|
className: o,
|
|
311
|
-
children:
|
|
312
|
-
disabled:
|
|
313
|
-
onClick:
|
|
314
|
-
}) => /* @__PURE__ */
|
|
265
|
+
children: n,
|
|
266
|
+
disabled: t = !1,
|
|
267
|
+
onClick: l
|
|
268
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
315
269
|
"div",
|
|
316
270
|
{
|
|
317
271
|
className: g(
|
|
@@ -319,21 +273,21 @@ const Ne = ({
|
|
|
319
273
|
"bg-white dark:bg-gray-900",
|
|
320
274
|
"border-gray-200 dark:border-gray-700",
|
|
321
275
|
"text-gray-900 dark:text-white",
|
|
322
|
-
|
|
276
|
+
t && "opacity-50 cursor-not-allowed",
|
|
323
277
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
324
278
|
o
|
|
325
279
|
),
|
|
326
|
-
onClick:
|
|
280
|
+
onClick: t ? void 0 : l,
|
|
327
281
|
role: "region",
|
|
328
282
|
"aria-label": "UcsvUimporter",
|
|
329
|
-
children:
|
|
283
|
+
children: n || "UcsvUimporter Component"
|
|
330
284
|
}
|
|
331
|
-
),
|
|
285
|
+
), ir = ({
|
|
332
286
|
className: o,
|
|
333
|
-
children:
|
|
334
|
-
disabled:
|
|
335
|
-
onClick:
|
|
336
|
-
}) => /* @__PURE__ */
|
|
287
|
+
children: n,
|
|
288
|
+
disabled: t = !1,
|
|
289
|
+
onClick: l
|
|
290
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
337
291
|
"div",
|
|
338
292
|
{
|
|
339
293
|
className: g(
|
|
@@ -341,21 +295,21 @@ const Ne = ({
|
|
|
341
295
|
"bg-white dark:bg-gray-900",
|
|
342
296
|
"border-gray-200 dark:border-gray-700",
|
|
343
297
|
"text-gray-900 dark:text-white",
|
|
344
|
-
|
|
298
|
+
t && "opacity-50 cursor-not-allowed",
|
|
345
299
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
346
300
|
o
|
|
347
301
|
),
|
|
348
|
-
onClick:
|
|
302
|
+
onClick: t ? void 0 : l,
|
|
349
303
|
role: "region",
|
|
350
304
|
"aria-label": "UdiffUviewer",
|
|
351
|
-
children:
|
|
305
|
+
children: n || "UdiffUviewer Component"
|
|
352
306
|
}
|
|
353
|
-
),
|
|
307
|
+
), cr = ({
|
|
354
308
|
className: o,
|
|
355
|
-
children:
|
|
356
|
-
disabled:
|
|
357
|
-
onClick:
|
|
358
|
-
}) => /* @__PURE__ */
|
|
309
|
+
children: n,
|
|
310
|
+
disabled: t = !1,
|
|
311
|
+
onClick: l
|
|
312
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
359
313
|
"div",
|
|
360
314
|
{
|
|
361
315
|
className: g(
|
|
@@ -363,390 +317,28 @@ const Ne = ({
|
|
|
363
317
|
"bg-white dark:bg-gray-900",
|
|
364
318
|
"border-gray-200 dark:border-gray-700",
|
|
365
319
|
"text-gray-900 dark:text-white",
|
|
366
|
-
|
|
320
|
+
t && "opacity-50 cursor-not-allowed",
|
|
367
321
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
368
322
|
o
|
|
369
323
|
),
|
|
370
|
-
onClick:
|
|
324
|
+
onClick: t ? void 0 : l,
|
|
371
325
|
role: "region",
|
|
372
326
|
"aria-label": "UexcelUuploader",
|
|
373
|
-
children:
|
|
327
|
+
children: n || "UexcelUuploader Component"
|
|
374
328
|
}
|
|
375
|
-
),
|
|
376
|
-
className: o,
|
|
377
|
-
children: t,
|
|
378
|
-
disabled: r = !1,
|
|
379
|
-
onClick: a
|
|
380
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
381
|
-
"div",
|
|
382
|
-
{
|
|
383
|
-
className: g(
|
|
384
|
-
"p-4 rounded-lg border transition-colors",
|
|
385
|
-
"bg-white dark:bg-gray-900",
|
|
386
|
-
"border-gray-200 dark:border-gray-700",
|
|
387
|
-
"text-gray-900 dark:text-white",
|
|
388
|
-
r && "opacity-50 cursor-not-allowed",
|
|
389
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
390
|
-
o
|
|
391
|
-
),
|
|
392
|
-
onClick: r ? void 0 : a,
|
|
393
|
-
role: "region",
|
|
394
|
-
"aria-label": "UfileUbrowser",
|
|
395
|
-
children: t || "UfileUbrowser Component"
|
|
396
|
-
}
|
|
397
|
-
);
|
|
398
|
-
function ie({
|
|
399
|
-
title: o,
|
|
400
|
-
titleId: t,
|
|
401
|
-
...r
|
|
402
|
-
}, a) {
|
|
403
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
404
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
405
|
-
fill: "none",
|
|
406
|
-
viewBox: "0 0 24 24",
|
|
407
|
-
strokeWidth: 1.5,
|
|
408
|
-
stroke: "currentColor",
|
|
409
|
-
"aria-hidden": "true",
|
|
410
|
-
"data-slot": "icon",
|
|
411
|
-
ref: a,
|
|
412
|
-
"aria-labelledby": t
|
|
413
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
414
|
-
id: t
|
|
415
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
416
|
-
strokeLinecap: "round",
|
|
417
|
-
strokeLinejoin: "round",
|
|
418
|
-
d: "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"
|
|
419
|
-
}));
|
|
420
|
-
}
|
|
421
|
-
const de = /* @__PURE__ */ s.forwardRef(ie);
|
|
422
|
-
function ue({
|
|
423
|
-
title: o,
|
|
424
|
-
titleId: t,
|
|
425
|
-
...r
|
|
426
|
-
}, a) {
|
|
427
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
428
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
429
|
-
fill: "none",
|
|
430
|
-
viewBox: "0 0 24 24",
|
|
431
|
-
strokeWidth: 1.5,
|
|
432
|
-
stroke: "currentColor",
|
|
433
|
-
"aria-hidden": "true",
|
|
434
|
-
"data-slot": "icon",
|
|
435
|
-
ref: a,
|
|
436
|
-
"aria-labelledby": t
|
|
437
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
438
|
-
id: t
|
|
439
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
440
|
-
strokeLinecap: "round",
|
|
441
|
-
strokeLinejoin: "round",
|
|
442
|
-
d: "M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"
|
|
443
|
-
}));
|
|
444
|
-
}
|
|
445
|
-
const ge = /* @__PURE__ */ s.forwardRef(ue);
|
|
446
|
-
function me({
|
|
447
|
-
title: o,
|
|
448
|
-
titleId: t,
|
|
449
|
-
...r
|
|
450
|
-
}, a) {
|
|
451
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
452
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
453
|
-
fill: "none",
|
|
454
|
-
viewBox: "0 0 24 24",
|
|
455
|
-
strokeWidth: 1.5,
|
|
456
|
-
stroke: "currentColor",
|
|
457
|
-
"aria-hidden": "true",
|
|
458
|
-
"data-slot": "icon",
|
|
459
|
-
ref: a,
|
|
460
|
-
"aria-labelledby": t
|
|
461
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
462
|
-
id: t
|
|
463
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
464
|
-
strokeLinecap: "round",
|
|
465
|
-
strokeLinejoin: "round",
|
|
466
|
-
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
467
|
-
}));
|
|
468
|
-
}
|
|
469
|
-
const fe = /* @__PURE__ */ s.forwardRef(me);
|
|
470
|
-
function be({
|
|
471
|
-
title: o,
|
|
472
|
-
titleId: t,
|
|
473
|
-
...r
|
|
474
|
-
}, a) {
|
|
475
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
476
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
477
|
-
fill: "none",
|
|
478
|
-
viewBox: "0 0 24 24",
|
|
479
|
-
strokeWidth: 1.5,
|
|
480
|
-
stroke: "currentColor",
|
|
481
|
-
"aria-hidden": "true",
|
|
482
|
-
"data-slot": "icon",
|
|
483
|
-
ref: a,
|
|
484
|
-
"aria-labelledby": t
|
|
485
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
486
|
-
id: t
|
|
487
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
488
|
-
strokeLinecap: "round",
|
|
489
|
-
strokeLinejoin: "round",
|
|
490
|
-
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
491
|
-
}));
|
|
492
|
-
}
|
|
493
|
-
const he = /* @__PURE__ */ s.forwardRef(be);
|
|
494
|
-
function ve({
|
|
495
|
-
title: o,
|
|
496
|
-
titleId: t,
|
|
497
|
-
...r
|
|
498
|
-
}, a) {
|
|
499
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
500
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
501
|
-
fill: "none",
|
|
502
|
-
viewBox: "0 0 24 24",
|
|
503
|
-
strokeWidth: 1.5,
|
|
504
|
-
stroke: "currentColor",
|
|
505
|
-
"aria-hidden": "true",
|
|
506
|
-
"data-slot": "icon",
|
|
507
|
-
ref: a,
|
|
508
|
-
"aria-labelledby": t
|
|
509
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
510
|
-
id: t
|
|
511
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
512
|
-
strokeLinecap: "round",
|
|
513
|
-
strokeLinejoin: "round",
|
|
514
|
-
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
515
|
-
}));
|
|
516
|
-
}
|
|
517
|
-
const pe = /* @__PURE__ */ s.forwardRef(ve);
|
|
518
|
-
function ye({
|
|
519
|
-
title: o,
|
|
520
|
-
titleId: t,
|
|
521
|
-
...r
|
|
522
|
-
}, a) {
|
|
523
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
524
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
525
|
-
fill: "none",
|
|
526
|
-
viewBox: "0 0 24 24",
|
|
527
|
-
strokeWidth: 1.5,
|
|
528
|
-
stroke: "currentColor",
|
|
529
|
-
"aria-hidden": "true",
|
|
530
|
-
"data-slot": "icon",
|
|
531
|
-
ref: a,
|
|
532
|
-
"aria-labelledby": t
|
|
533
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
534
|
-
id: t
|
|
535
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
536
|
-
strokeLinecap: "round",
|
|
537
|
-
strokeLinejoin: "round",
|
|
538
|
-
d: "M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h1.5C5.496 19.5 6 18.996 6 18.375m-3.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-1.5A1.125 1.125 0 0 1 18 18.375M20.625 4.5H3.375m17.25 0c.621 0 1.125.504 1.125 1.125M20.625 4.5h-1.5C18.504 4.5 18 5.004 18 5.625m3.75 0v1.5c0 .621-.504 1.125-1.125 1.125M3.375 4.5c-.621 0-1.125.504-1.125 1.125M3.375 4.5h1.5C5.496 4.5 6 5.004 6 5.625m-3.75 0v1.5c0 .621.504 1.125 1.125 1.125m0 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m1.5-3.75C5.496 8.25 6 7.746 6 7.125v-1.5M4.875 8.25C5.496 8.25 6 8.754 6 9.375v1.5m0-5.25v5.25m0-5.25C6 5.004 6.504 4.5 7.125 4.5h9.75c.621 0 1.125.504 1.125 1.125m1.125 2.625h1.5m-1.5 0A1.125 1.125 0 0 1 18 7.125v-1.5m1.125 2.625c-.621 0-1.125.504-1.125 1.125v1.5m2.625-2.625c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125M18 5.625v5.25M7.125 12h9.75m-9.75 0A1.125 1.125 0 0 1 6 10.875M7.125 12C6.504 12 6 12.504 6 13.125m0-2.25C6 11.496 5.496 12 4.875 12M18 10.875c0 .621-.504 1.125-1.125 1.125M18 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m-12 5.25v-5.25m0 5.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125m-12 0v-1.5c0-.621-.504-1.125-1.125-1.125M18 18.375v-5.25m0 5.25v-1.5c0-.621.504-1.125 1.125-1.125M18 13.125v1.5c0 .621.504 1.125 1.125 1.125M18 13.125c0-.621.504-1.125 1.125-1.125M6 13.125v1.5c0 .621-.504 1.125-1.125 1.125M6 13.125C6 12.504 5.496 12 4.875 12m-1.5 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M19.125 12h1.5m0 0c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h1.5m14.25 0h1.5"
|
|
539
|
-
}));
|
|
540
|
-
}
|
|
541
|
-
const ke = /* @__PURE__ */ s.forwardRef(ye);
|
|
542
|
-
function we({
|
|
543
|
-
title: o,
|
|
544
|
-
titleId: t,
|
|
545
|
-
...r
|
|
546
|
-
}, a) {
|
|
547
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
548
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
549
|
-
fill: "none",
|
|
550
|
-
viewBox: "0 0 24 24",
|
|
551
|
-
strokeWidth: 1.5,
|
|
552
|
-
stroke: "currentColor",
|
|
553
|
-
"aria-hidden": "true",
|
|
554
|
-
"data-slot": "icon",
|
|
555
|
-
ref: a,
|
|
556
|
-
"aria-labelledby": t
|
|
557
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
558
|
-
id: t
|
|
559
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
560
|
-
strokeLinecap: "round",
|
|
561
|
-
strokeLinejoin: "round",
|
|
562
|
-
d: "m9 9 10.5-3m0 6.553v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 1 1-.99-3.467l2.31-.66a2.25 2.25 0 0 0 1.632-2.163Zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 0 1-.99-3.467l2.31-.66A2.25 2.25 0 0 0 9 15.553Z"
|
|
563
|
-
}));
|
|
564
|
-
}
|
|
565
|
-
const xe = /* @__PURE__ */ s.forwardRef(we);
|
|
566
|
-
function Ee({
|
|
567
|
-
title: o,
|
|
568
|
-
titleId: t,
|
|
569
|
-
...r
|
|
570
|
-
}, a) {
|
|
571
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
572
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
573
|
-
fill: "none",
|
|
574
|
-
viewBox: "0 0 24 24",
|
|
575
|
-
strokeWidth: 1.5,
|
|
576
|
-
stroke: "currentColor",
|
|
577
|
-
"aria-hidden": "true",
|
|
578
|
-
"data-slot": "icon",
|
|
579
|
-
ref: a,
|
|
580
|
-
"aria-labelledby": t
|
|
581
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
582
|
-
id: t
|
|
583
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
584
|
-
strokeLinecap: "round",
|
|
585
|
-
strokeLinejoin: "round",
|
|
586
|
-
d: "m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"
|
|
587
|
-
}));
|
|
588
|
-
}
|
|
589
|
-
const je = /* @__PURE__ */ s.forwardRef(Ee);
|
|
590
|
-
function Re({
|
|
591
|
-
title: o,
|
|
592
|
-
titleId: t,
|
|
593
|
-
...r
|
|
594
|
-
}, a) {
|
|
595
|
-
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
596
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
597
|
-
fill: "none",
|
|
598
|
-
viewBox: "0 0 24 24",
|
|
599
|
-
strokeWidth: 1.5,
|
|
600
|
-
stroke: "currentColor",
|
|
601
|
-
"aria-hidden": "true",
|
|
602
|
-
"data-slot": "icon",
|
|
603
|
-
ref: a,
|
|
604
|
-
"aria-labelledby": t
|
|
605
|
-
}, r), o ? /* @__PURE__ */ s.createElement("title", {
|
|
606
|
-
id: t
|
|
607
|
-
}, o) : null, /* @__PURE__ */ s.createElement("path", {
|
|
608
|
-
strokeLinecap: "round",
|
|
609
|
-
strokeLinejoin: "round",
|
|
610
|
-
d: "M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5"
|
|
611
|
-
}));
|
|
612
|
-
}
|
|
613
|
-
const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
614
|
-
type: o,
|
|
615
|
-
size: t = "md",
|
|
616
|
-
colored: r = !0,
|
|
617
|
-
className: a
|
|
618
|
-
}) => {
|
|
619
|
-
const d = {
|
|
620
|
-
xs: "h-3 w-3",
|
|
621
|
-
sm: "h-4 w-4",
|
|
622
|
-
md: "h-5 w-5",
|
|
623
|
-
lg: "h-6 w-6",
|
|
624
|
-
xl: "h-8 w-8"
|
|
625
|
-
}, b = (k) => {
|
|
626
|
-
const l = k.toLowerCase();
|
|
627
|
-
return l.startsWith("image/") || [".jpg", ".jpeg", ".png", ".gif", ".svg", ".webp", ".ico"].some(
|
|
628
|
-
(c) => l.endsWith(c)
|
|
629
|
-
) ? {
|
|
630
|
-
Icon: je,
|
|
631
|
-
color: "text-blue-600 dark:text-blue-400"
|
|
632
|
-
} : l.startsWith("video/") || [".mp4", ".avi", ".mov", ".wmv", ".flv", ".webm"].some(
|
|
633
|
-
(c) => l.endsWith(c)
|
|
634
|
-
) ? {
|
|
635
|
-
Icon: ke,
|
|
636
|
-
color: "text-purple-600 dark:text-purple-400"
|
|
637
|
-
} : l.startsWith("audio/") || [".mp3", ".wav", ".ogg", ".m4a", ".flac"].some(
|
|
638
|
-
(c) => l.endsWith(c)
|
|
639
|
-
) ? {
|
|
640
|
-
Icon: xe,
|
|
641
|
-
color: "text-pink-600 dark:text-pink-400"
|
|
642
|
-
} : l.includes("pdf") || l.endsWith(".pdf") ? {
|
|
643
|
-
Icon: fe,
|
|
644
|
-
color: "text-red-600 dark:text-red-400"
|
|
645
|
-
} : l.includes("word") || l.includes("document") || [".doc", ".docx", ".odt"].some((c) => l.endsWith(c)) ? {
|
|
646
|
-
Icon: he,
|
|
647
|
-
color: "text-blue-700 dark:text-blue-300"
|
|
648
|
-
} : l.includes("excel") || l.includes("spreadsheet") || [".xls", ".xlsx", ".ods", ".csv"].some((c) => l.endsWith(c)) ? {
|
|
649
|
-
Icon: Ue,
|
|
650
|
-
color: "text-green-600 dark:text-green-400"
|
|
651
|
-
} : [
|
|
652
|
-
".js",
|
|
653
|
-
".ts",
|
|
654
|
-
".jsx",
|
|
655
|
-
".tsx",
|
|
656
|
-
".py",
|
|
657
|
-
".java",
|
|
658
|
-
".cpp",
|
|
659
|
-
".c",
|
|
660
|
-
".h",
|
|
661
|
-
".css",
|
|
662
|
-
".scss",
|
|
663
|
-
".html",
|
|
664
|
-
".json",
|
|
665
|
-
".xml",
|
|
666
|
-
".yaml",
|
|
667
|
-
".yml",
|
|
668
|
-
".sh",
|
|
669
|
-
".sql"
|
|
670
|
-
].some((c) => l.endsWith(c)) ? {
|
|
671
|
-
Icon: ge,
|
|
672
|
-
color: "text-gray-700 dark:text-gray-300"
|
|
673
|
-
} : l.includes("zip") || l.includes("compressed") || l.includes("archive") || [".zip", ".rar", ".7z", ".tar", ".gz", ".bz2"].some(
|
|
674
|
-
(c) => l.endsWith(c)
|
|
675
|
-
) ? {
|
|
676
|
-
Icon: de,
|
|
677
|
-
color: "text-yellow-600 dark:text-yellow-400"
|
|
678
|
-
} : {
|
|
679
|
-
Icon: pe,
|
|
680
|
-
color: "text-gray-600 dark:text-gray-400"
|
|
681
|
-
};
|
|
682
|
-
}, { Icon: v, color: y } = b(o);
|
|
683
|
-
return /* @__PURE__ */ i.jsx(
|
|
684
|
-
v,
|
|
685
|
-
{
|
|
686
|
-
className: g(
|
|
687
|
-
d[t],
|
|
688
|
-
r ? y : "text-gray-600 dark:text-gray-400",
|
|
689
|
-
a
|
|
690
|
-
)
|
|
691
|
-
}
|
|
692
|
-
);
|
|
693
|
-
}, We = ({
|
|
694
|
-
className: o,
|
|
695
|
-
children: t,
|
|
696
|
-
disabled: r = !1,
|
|
697
|
-
onClick: a
|
|
698
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
699
|
-
"div",
|
|
700
|
-
{
|
|
701
|
-
className: g(
|
|
702
|
-
"p-4 rounded-lg border transition-colors",
|
|
703
|
-
"bg-white dark:bg-gray-900",
|
|
704
|
-
"border-gray-200 dark:border-gray-700",
|
|
705
|
-
"text-gray-900 dark:text-white",
|
|
706
|
-
r && "opacity-50 cursor-not-allowed",
|
|
707
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
708
|
-
o
|
|
709
|
-
),
|
|
710
|
-
onClick: r ? void 0 : a,
|
|
711
|
-
role: "region",
|
|
712
|
-
"aria-label": "UfileUpreview",
|
|
713
|
-
children: t || "UfileUpreview Component"
|
|
714
|
-
}
|
|
715
|
-
), Ie = ({
|
|
716
|
-
className: o,
|
|
717
|
-
children: t,
|
|
718
|
-
disabled: r = !1,
|
|
719
|
-
onClick: a
|
|
720
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
721
|
-
"div",
|
|
722
|
-
{
|
|
723
|
-
className: g(
|
|
724
|
-
"p-4 rounded-lg border transition-colors",
|
|
725
|
-
"bg-white dark:bg-gray-900",
|
|
726
|
-
"border-gray-200 dark:border-gray-700",
|
|
727
|
-
"text-gray-900 dark:text-white",
|
|
728
|
-
r && "opacity-50 cursor-not-allowed",
|
|
729
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
730
|
-
o
|
|
731
|
-
),
|
|
732
|
-
onClick: r ? void 0 : a,
|
|
733
|
-
role: "region",
|
|
734
|
-
"aria-label": "UfileUtree",
|
|
735
|
-
children: t || "UfileUtree Component"
|
|
736
|
-
}
|
|
737
|
-
), Fe = ({
|
|
329
|
+
), ur = ({
|
|
738
330
|
icon: o,
|
|
739
|
-
"aria-label":
|
|
740
|
-
onClick:
|
|
741
|
-
size:
|
|
742
|
-
shape:
|
|
743
|
-
variant:
|
|
744
|
-
disabled:
|
|
745
|
-
type:
|
|
746
|
-
className:
|
|
747
|
-
title:
|
|
331
|
+
"aria-label": n,
|
|
332
|
+
onClick: t,
|
|
333
|
+
size: l = "md",
|
|
334
|
+
shape: c = "rounded",
|
|
335
|
+
variant: u = "default",
|
|
336
|
+
disabled: f = !1,
|
|
337
|
+
type: b = "button",
|
|
338
|
+
className: x,
|
|
339
|
+
title: R
|
|
748
340
|
}) => {
|
|
749
|
-
const
|
|
341
|
+
const k = {
|
|
750
342
|
xs: {
|
|
751
343
|
button: "p-1",
|
|
752
344
|
icon: "h-3 w-3"
|
|
@@ -771,41 +363,41 @@ const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
|
771
363
|
circle: "rounded-full",
|
|
772
364
|
square: "rounded-none",
|
|
773
365
|
rounded: "rounded-lg"
|
|
774
|
-
},
|
|
366
|
+
}, _ = {
|
|
775
367
|
default: "bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700",
|
|
776
368
|
primary: "bg-blue-600 text-white hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600",
|
|
777
369
|
secondary: "bg-purple-600 text-white hover:bg-purple-700 dark:bg-purple-500 dark:hover:bg-purple-600",
|
|
778
370
|
danger: "bg-red-600 text-white hover:bg-red-700 dark:bg-red-500 dark:hover:bg-red-600",
|
|
779
371
|
ghost: "bg-transparent text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800",
|
|
780
372
|
outline: "bg-transparent border-2 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800"
|
|
781
|
-
}, p =
|
|
782
|
-
return /* @__PURE__ */
|
|
373
|
+
}, p = k[l];
|
|
374
|
+
return /* @__PURE__ */ d.jsx(
|
|
783
375
|
"button",
|
|
784
376
|
{
|
|
785
|
-
type:
|
|
786
|
-
onClick:
|
|
787
|
-
disabled:
|
|
788
|
-
"aria-label":
|
|
789
|
-
title:
|
|
377
|
+
type: b,
|
|
378
|
+
onClick: t,
|
|
379
|
+
disabled: f,
|
|
380
|
+
"aria-label": n,
|
|
381
|
+
title: R || n,
|
|
790
382
|
className: g(
|
|
791
383
|
"inline-flex items-center justify-center",
|
|
792
384
|
"transition-all duration-200",
|
|
793
385
|
"focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
|
|
794
386
|
"disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-current",
|
|
795
387
|
p.button,
|
|
796
|
-
h[
|
|
797
|
-
|
|
798
|
-
|
|
388
|
+
h[c],
|
|
389
|
+
_[u],
|
|
390
|
+
x
|
|
799
391
|
),
|
|
800
|
-
children: /* @__PURE__ */
|
|
392
|
+
children: /* @__PURE__ */ d.jsx(o, { className: p.icon })
|
|
801
393
|
}
|
|
802
394
|
);
|
|
803
|
-
},
|
|
395
|
+
}, dr = ({
|
|
804
396
|
className: o,
|
|
805
|
-
children:
|
|
806
|
-
disabled:
|
|
807
|
-
onClick:
|
|
808
|
-
}) => /* @__PURE__ */
|
|
397
|
+
children: n,
|
|
398
|
+
disabled: t = !1,
|
|
399
|
+
onClick: l
|
|
400
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
809
401
|
"div",
|
|
810
402
|
{
|
|
811
403
|
className: g(
|
|
@@ -813,21 +405,21 @@ const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
|
813
405
|
"bg-white dark:bg-gray-900",
|
|
814
406
|
"border-gray-200 dark:border-gray-700",
|
|
815
407
|
"text-gray-900 dark:text-white",
|
|
816
|
-
|
|
408
|
+
t && "opacity-50 cursor-not-allowed",
|
|
817
409
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
818
410
|
o
|
|
819
411
|
),
|
|
820
|
-
onClick:
|
|
412
|
+
onClick: t ? void 0 : l,
|
|
821
413
|
role: "region",
|
|
822
414
|
"aria-label": "UimportUpreview",
|
|
823
|
-
children:
|
|
415
|
+
children: n || "UimportUpreview Component"
|
|
824
416
|
}
|
|
825
|
-
),
|
|
417
|
+
), gr = ({
|
|
826
418
|
className: o,
|
|
827
|
-
children:
|
|
828
|
-
disabled:
|
|
829
|
-
onClick:
|
|
830
|
-
}) => /* @__PURE__ */
|
|
419
|
+
children: n,
|
|
420
|
+
disabled: t = !1,
|
|
421
|
+
onClick: l
|
|
422
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
831
423
|
"div",
|
|
832
424
|
{
|
|
833
425
|
className: g(
|
|
@@ -835,21 +427,21 @@ const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
|
835
427
|
"bg-white dark:bg-gray-900",
|
|
836
428
|
"border-gray-200 dark:border-gray-700",
|
|
837
429
|
"text-gray-900 dark:text-white",
|
|
838
|
-
|
|
430
|
+
t && "opacity-50 cursor-not-allowed",
|
|
839
431
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
840
432
|
o
|
|
841
433
|
),
|
|
842
|
-
onClick:
|
|
434
|
+
onClick: t ? void 0 : l,
|
|
843
435
|
role: "region",
|
|
844
436
|
"aria-label": "UjsonUimporter",
|
|
845
|
-
children:
|
|
437
|
+
children: n || "UjsonUimporter Component"
|
|
846
438
|
}
|
|
847
|
-
),
|
|
439
|
+
), fr = ({
|
|
848
440
|
className: o,
|
|
849
|
-
children:
|
|
850
|
-
disabled:
|
|
851
|
-
onClick:
|
|
852
|
-
}) => /* @__PURE__ */
|
|
441
|
+
children: n,
|
|
442
|
+
disabled: t = !1,
|
|
443
|
+
onClick: l
|
|
444
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
853
445
|
"div",
|
|
854
446
|
{
|
|
855
447
|
className: g(
|
|
@@ -857,196 +449,21 @@ const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
|
857
449
|
"bg-white dark:bg-gray-900",
|
|
858
450
|
"border-gray-200 dark:border-gray-700",
|
|
859
451
|
"text-gray-900 dark:text-white",
|
|
860
|
-
|
|
452
|
+
t && "opacity-50 cursor-not-allowed",
|
|
861
453
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
862
454
|
o
|
|
863
455
|
),
|
|
864
|
-
onClick:
|
|
456
|
+
onClick: t ? void 0 : l,
|
|
865
457
|
role: "region",
|
|
866
458
|
"aria-label": "UjsonUviewer",
|
|
867
|
-
children:
|
|
459
|
+
children: n || "UjsonUviewer Component"
|
|
868
460
|
}
|
|
869
|
-
),
|
|
870
|
-
label: o,
|
|
871
|
-
value: t,
|
|
872
|
-
orientation: r = "vertical",
|
|
873
|
-
align: a = "start",
|
|
874
|
-
labelWidth: d = "auto",
|
|
875
|
-
size: b = "md",
|
|
876
|
-
separator: v = !1,
|
|
877
|
-
labelVariant: y = "muted",
|
|
878
|
-
valueVariant: k = "default",
|
|
879
|
-
className: l,
|
|
880
|
-
labelClassName: c,
|
|
881
|
-
valueClassName: h
|
|
882
|
-
}) => {
|
|
883
|
-
const E = {
|
|
884
|
-
sm: {
|
|
885
|
-
label: U.body.sm(),
|
|
886
|
-
value: U.body.sm(),
|
|
887
|
-
gap: "gap-1"
|
|
888
|
-
},
|
|
889
|
-
md: {
|
|
890
|
-
label: U.body.md(),
|
|
891
|
-
value: U.body.md(),
|
|
892
|
-
gap: "gap-2"
|
|
893
|
-
},
|
|
894
|
-
lg: {
|
|
895
|
-
label: U.body.lg(),
|
|
896
|
-
value: U.body.lg(),
|
|
897
|
-
gap: "gap-3"
|
|
898
|
-
}
|
|
899
|
-
}, p = {
|
|
900
|
-
auto: "",
|
|
901
|
-
sm: "w-24",
|
|
902
|
-
md: "w-32",
|
|
903
|
-
lg: "w-40"
|
|
904
|
-
}, w = {
|
|
905
|
-
start: "justify-start",
|
|
906
|
-
center: "justify-center",
|
|
907
|
-
between: "justify-between"
|
|
908
|
-
}, x = {
|
|
909
|
-
default: "text-gray-700 dark:text-gray-300",
|
|
910
|
-
muted: "text-gray-600 dark:text-gray-400",
|
|
911
|
-
strong: "text-gray-900 dark:text-gray-100 font-semibold"
|
|
912
|
-
}, j = {
|
|
913
|
-
default: "text-gray-900 dark:text-gray-100",
|
|
914
|
-
muted: "text-gray-600 dark:text-gray-400",
|
|
915
|
-
strong: "text-gray-900 dark:text-gray-100 font-semibold",
|
|
916
|
-
primary: "text-blue-600 dark:text-blue-400"
|
|
917
|
-
}, C = E[b];
|
|
918
|
-
return /* @__PURE__ */ i.jsxs(
|
|
919
|
-
"div",
|
|
920
|
-
{
|
|
921
|
-
className: g(
|
|
922
|
-
r === "horizontal" ? "flex items-center" : "flex flex-col",
|
|
923
|
-
r === "horizontal" && w[a],
|
|
924
|
-
C.gap,
|
|
925
|
-
v && "pb-3 mb-3 border-b border-gray-200 dark:border-gray-700",
|
|
926
|
-
l
|
|
927
|
-
),
|
|
928
|
-
children: [
|
|
929
|
-
/* @__PURE__ */ i.jsx(
|
|
930
|
-
"dt",
|
|
931
|
-
{
|
|
932
|
-
className: g(
|
|
933
|
-
C.label,
|
|
934
|
-
x[y],
|
|
935
|
-
r === "horizontal" && p[d],
|
|
936
|
-
r === "horizontal" && "flex-shrink-0",
|
|
937
|
-
c
|
|
938
|
-
),
|
|
939
|
-
children: o
|
|
940
|
-
}
|
|
941
|
-
),
|
|
942
|
-
/* @__PURE__ */ i.jsx(
|
|
943
|
-
"dd",
|
|
944
|
-
{
|
|
945
|
-
className: g(
|
|
946
|
-
C.value,
|
|
947
|
-
j[k],
|
|
948
|
-
r === "horizontal" && "flex-1",
|
|
949
|
-
h
|
|
950
|
-
),
|
|
951
|
-
children: t
|
|
952
|
-
}
|
|
953
|
-
)
|
|
954
|
-
]
|
|
955
|
-
}
|
|
956
|
-
);
|
|
957
|
-
}, Ye = ({
|
|
958
|
-
className: o,
|
|
959
|
-
children: t,
|
|
960
|
-
disabled: r = !1,
|
|
961
|
-
onClick: a
|
|
962
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
963
|
-
"div",
|
|
964
|
-
{
|
|
965
|
-
className: g(
|
|
966
|
-
"p-4 rounded-lg border transition-colors",
|
|
967
|
-
"bg-white dark:bg-gray-900",
|
|
968
|
-
"border-gray-200 dark:border-gray-700",
|
|
969
|
-
"text-gray-900 dark:text-white",
|
|
970
|
-
r && "opacity-50 cursor-not-allowed",
|
|
971
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
972
|
-
o
|
|
973
|
-
),
|
|
974
|
-
onClick: r ? void 0 : a,
|
|
975
|
-
role: "region",
|
|
976
|
-
"aria-label": "UmarkdownUrenderer",
|
|
977
|
-
children: t || "UmarkdownUrenderer Component"
|
|
978
|
-
}
|
|
979
|
-
), He = ({
|
|
980
|
-
value: o,
|
|
981
|
-
size: t = 200,
|
|
982
|
-
fgColor: r = "#000000",
|
|
983
|
-
bgColor: a = "#ffffff",
|
|
984
|
-
showDownload: d = !1,
|
|
985
|
-
className: b
|
|
986
|
-
}) => {
|
|
987
|
-
const v = ae(null);
|
|
988
|
-
ne(() => {
|
|
989
|
-
const k = v.current;
|
|
990
|
-
if (!k) return;
|
|
991
|
-
const l = k.getContext("2d");
|
|
992
|
-
if (!l) return;
|
|
993
|
-
l.fillStyle = a, l.fillRect(0, 0, t, t), l.fillStyle = r;
|
|
994
|
-
const c = 8, h = t / c, E = o.split("").reduce((w, x) => w + x.charCodeAt(0), 0);
|
|
995
|
-
for (let w = 0; w < c; w++)
|
|
996
|
-
for (let x = 0; x < c; x++)
|
|
997
|
-
(E + w * c + x) % 3 !== 0 && l.fillRect(x * h, w * h, h, h);
|
|
998
|
-
const p = h * 3;
|
|
999
|
-
[
|
|
1000
|
-
[0, 0],
|
|
1001
|
-
[t - p, 0],
|
|
1002
|
-
[0, t - p]
|
|
1003
|
-
].forEach(([w, x]) => {
|
|
1004
|
-
l.strokeStyle = r, l.lineWidth = h, l.strokeRect(
|
|
1005
|
-
w + h / 2,
|
|
1006
|
-
x + h / 2,
|
|
1007
|
-
p - h,
|
|
1008
|
-
p - h
|
|
1009
|
-
);
|
|
1010
|
-
});
|
|
1011
|
-
}, [o, t, r, a]);
|
|
1012
|
-
const y = () => {
|
|
1013
|
-
const k = v.current;
|
|
1014
|
-
if (!k) return;
|
|
1015
|
-
const l = k.toDataURL("image/png"), c = document.createElement("a");
|
|
1016
|
-
c.download = "qrcode.png", c.href = l, c.click();
|
|
1017
|
-
};
|
|
1018
|
-
return /* @__PURE__ */ i.jsxs("div", { className: g("inline-flex flex-col items-center gap-3", b), children: [
|
|
1019
|
-
/* @__PURE__ */ i.jsx(
|
|
1020
|
-
"canvas",
|
|
1021
|
-
{
|
|
1022
|
-
ref: v,
|
|
1023
|
-
width: t,
|
|
1024
|
-
height: t,
|
|
1025
|
-
className: "border-2 border-gray-200 dark:border-gray-700 rounded-lg"
|
|
1026
|
-
}
|
|
1027
|
-
),
|
|
1028
|
-
d && /* @__PURE__ */ i.jsx(
|
|
1029
|
-
"button",
|
|
1030
|
-
{
|
|
1031
|
-
onClick: y,
|
|
1032
|
-
className: g(
|
|
1033
|
-
"px-4 py-2 text-sm font-medium",
|
|
1034
|
-
"bg-blue-600 dark:bg-blue-500 text-white",
|
|
1035
|
-
"rounded-md",
|
|
1036
|
-
"hover:bg-blue-700 dark:hover:bg-blue-600",
|
|
1037
|
-
"transition-colors"
|
|
1038
|
-
),
|
|
1039
|
-
children: "Download QR Code"
|
|
1040
|
-
}
|
|
1041
|
-
),
|
|
1042
|
-
/* @__PURE__ */ i.jsx("p", { className: "text-xs text-gray-600 dark:text-gray-400 max-w-[200px] text-center break-all", children: o })
|
|
1043
|
-
] });
|
|
1044
|
-
}, Be = ({
|
|
461
|
+
), br = ({
|
|
1045
462
|
className: o,
|
|
1046
|
-
children:
|
|
1047
|
-
disabled:
|
|
1048
|
-
onClick:
|
|
1049
|
-
}) => /* @__PURE__ */
|
|
463
|
+
children: n,
|
|
464
|
+
disabled: t = !1,
|
|
465
|
+
onClick: l
|
|
466
|
+
}) => /* @__PURE__ */ d.jsx(
|
|
1050
467
|
"div",
|
|
1051
468
|
{
|
|
1052
469
|
className: g(
|
|
@@ -1054,66 +471,23 @@ const Ue = /* @__PURE__ */ s.forwardRef(Re), Le = ({
|
|
|
1054
471
|
"bg-white dark:bg-gray-900",
|
|
1055
472
|
"border-gray-200 dark:border-gray-700",
|
|
1056
473
|
"text-gray-900 dark:text-white",
|
|
1057
|
-
|
|
474
|
+
t && "opacity-50 cursor-not-allowed",
|
|
1058
475
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
1059
476
|
o
|
|
1060
477
|
),
|
|
1061
|
-
onClick:
|
|
478
|
+
onClick: t ? void 0 : l,
|
|
1062
479
|
role: "region",
|
|
1063
480
|
"aria-label": "UuploadUprogress",
|
|
1064
|
-
children:
|
|
1065
|
-
}
|
|
1066
|
-
), Ze = ({
|
|
1067
|
-
value: o,
|
|
1068
|
-
onChange: t,
|
|
1069
|
-
placeholder: r,
|
|
1070
|
-
className: a
|
|
1071
|
-
}) => /* @__PURE__ */ i.jsxs(
|
|
1072
|
-
"div",
|
|
1073
|
-
{
|
|
1074
|
-
className: g(
|
|
1075
|
-
"border border-gray-300 dark:border-gray-700 rounded-lg",
|
|
1076
|
-
a
|
|
1077
|
-
),
|
|
1078
|
-
children: [
|
|
1079
|
-
/* @__PURE__ */ i.jsx("div", { className: "flex gap-1 p-2 border-b border-gray-300 dark:border-gray-700", children: ["B", "I", "U", "H1", "H2", "List", "Link"].map((d) => /* @__PURE__ */ i.jsx(
|
|
1080
|
-
"button",
|
|
1081
|
-
{
|
|
1082
|
-
className: "px-3 py-1 hover:bg-gray-100 dark:hover:bg-gray-800 rounded text-sm font-semibold",
|
|
1083
|
-
children: d
|
|
1084
|
-
},
|
|
1085
|
-
d
|
|
1086
|
-
)) }),
|
|
1087
|
-
/* @__PURE__ */ i.jsx(
|
|
1088
|
-
"textarea",
|
|
1089
|
-
{
|
|
1090
|
-
value: o,
|
|
1091
|
-
onChange: (d) => t(d.target.value),
|
|
1092
|
-
placeholder: r,
|
|
1093
|
-
className: "w-full p-4 bg-white dark:bg-gray-900 text-gray-900 dark:text-white resize-none focus:outline-none",
|
|
1094
|
-
rows: 10
|
|
1095
|
-
}
|
|
1096
|
-
)
|
|
1097
|
-
]
|
|
481
|
+
children: n || "UuploadUprogress Component"
|
|
1098
482
|
}
|
|
1099
483
|
);
|
|
1100
484
|
export {
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
Se as UexcelUuploader,
|
|
1110
|
-
Pe as UfileUbrowser,
|
|
1111
|
-
We as UfileUpreview,
|
|
1112
|
-
Ie as UfileUtree,
|
|
1113
|
-
$e as UimportUpreview,
|
|
1114
|
-
ze as UjsonUimporter,
|
|
1115
|
-
Ve as UjsonUviewer,
|
|
1116
|
-
Ye as UmarkdownUrenderer,
|
|
1117
|
-
Be as UuploadUprogress,
|
|
1118
|
-
Ze as WysiwygEditor
|
|
485
|
+
ur as IconButton,
|
|
486
|
+
sr as UcsvUimporter,
|
|
487
|
+
ir as UdiffUviewer,
|
|
488
|
+
cr as UexcelUuploader,
|
|
489
|
+
dr as UimportUpreview,
|
|
490
|
+
gr as UjsonUimporter,
|
|
491
|
+
fr as UjsonUviewer,
|
|
492
|
+
br as UuploadUprogress
|
|
1119
493
|
};
|