xmirror-components 1.0.0 → 1.0.2
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/LICENSE +21 -0
- package/build/LICENSE +21 -0
- package/{dist/index.es.js → build/dist/xmirror-components.js} +159 -182
- package/build/dist/xmirror-components.umd.cjs +31 -0
- package/build/es/Button/button.d.ts +6 -0
- package/build/es/Button/button.js +17 -0
- package/build/es/Button/index.d.ts +3 -0
- package/build/es/Button/index.js +2 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/lib/Button/button.js +22 -0
- package/build/lib/Button/index.js +7 -0
- package/build/lib/index.d.ts +1 -0
- package/build/lib/index.js +8 -0
- package/build/package.json +57 -0
- package/package.json +38 -21
- package/dist/index.umd.js +0 -31
- /package/{dist → build/dist}/vite.svg +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/build/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
1
|
+
import pe from "react";
|
|
2
|
+
import { Button as je } from "antd";
|
|
3
|
+
var k = { exports: {} }, y = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.js
|
|
@@ -11,28 +11,28 @@ var S = { exports: {} }, j = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var ie;
|
|
14
|
-
function
|
|
15
|
-
if (ie) return
|
|
14
|
+
function Ce() {
|
|
15
|
+
if (ie) return y;
|
|
16
16
|
ie = 1;
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
for (var
|
|
23
|
-
|
|
24
|
-
} else
|
|
25
|
-
return
|
|
26
|
-
$$typeof:
|
|
27
|
-
type:
|
|
28
|
-
key:
|
|
29
|
-
ref:
|
|
30
|
-
props:
|
|
17
|
+
var s = Symbol.for("react.transitional.element"), j = Symbol.for("react.fragment");
|
|
18
|
+
function x(C, f, i) {
|
|
19
|
+
var v = null;
|
|
20
|
+
if (i !== void 0 && (v = "" + i), f.key !== void 0 && (v = "" + f.key), "key" in f) {
|
|
21
|
+
i = {};
|
|
22
|
+
for (var _ in f)
|
|
23
|
+
_ !== "key" && (i[_] = f[_]);
|
|
24
|
+
} else i = f;
|
|
25
|
+
return f = i.ref, {
|
|
26
|
+
$$typeof: s,
|
|
27
|
+
type: C,
|
|
28
|
+
key: v,
|
|
29
|
+
ref: f !== void 0 ? f : null,
|
|
30
|
+
props: i
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return y.Fragment = j, y.jsx = x, y.jsxs = x, y;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var p = {};
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.development.js
|
|
@@ -42,56 +42,56 @@ var C = {};
|
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
function
|
|
45
|
+
var ce;
|
|
46
|
+
function he() {
|
|
47
|
+
return ce || (ce = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
function s(e) {
|
|
49
49
|
if (e == null) return null;
|
|
50
50
|
if (typeof e == "function")
|
|
51
51
|
return e.$$typeof === Re ? null : e.displayName || e.name || null;
|
|
52
52
|
if (typeof e == "string") return e;
|
|
53
53
|
switch (e) {
|
|
54
|
-
case
|
|
54
|
+
case P:
|
|
55
55
|
return "Fragment";
|
|
56
56
|
case Te:
|
|
57
57
|
return "Portal";
|
|
58
|
-
case L:
|
|
59
|
-
return "Profiler";
|
|
60
58
|
case F:
|
|
59
|
+
return "Profiler";
|
|
60
|
+
case X:
|
|
61
61
|
return "StrictMode";
|
|
62
62
|
case $:
|
|
63
63
|
return "Suspense";
|
|
64
|
-
case
|
|
64
|
+
case M:
|
|
65
65
|
return "SuspenseList";
|
|
66
66
|
}
|
|
67
67
|
if (typeof e == "object")
|
|
68
68
|
switch (typeof e.tag == "number" && console.error(
|
|
69
69
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
70
|
), e.$$typeof) {
|
|
71
|
-
case I:
|
|
72
|
-
return (e.displayName || "Context") + ".Provider";
|
|
73
71
|
case Z:
|
|
72
|
+
return (e.displayName || "Context") + ".Provider";
|
|
73
|
+
case L:
|
|
74
74
|
return (e._context.displayName || "Context") + ".Consumer";
|
|
75
|
-
case
|
|
75
|
+
case Y:
|
|
76
76
|
var r = e.render;
|
|
77
77
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
78
|
+
case W:
|
|
79
|
+
return r = e.displayName || null, r !== null ? r : s(e.type) || "Memo";
|
|
78
80
|
case U:
|
|
79
|
-
return r = e.displayName || null, r !== null ? r : c(e.type) || "Memo";
|
|
80
|
-
case q:
|
|
81
81
|
r = e._payload, e = e._init;
|
|
82
82
|
try {
|
|
83
|
-
return
|
|
83
|
+
return s(e(r));
|
|
84
84
|
} catch {
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
return null;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function j(e) {
|
|
90
90
|
return "" + e;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function x(e) {
|
|
93
93
|
try {
|
|
94
|
-
|
|
94
|
+
j(e);
|
|
95
95
|
var r = !1;
|
|
96
96
|
} catch {
|
|
97
97
|
r = !0;
|
|
@@ -103,18 +103,18 @@ function je() {
|
|
|
103
103
|
r,
|
|
104
104
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
105
105
|
n
|
|
106
|
-
),
|
|
106
|
+
), j(e);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function C() {
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
if (
|
|
113
|
-
|
|
111
|
+
function f() {
|
|
112
|
+
if (R === 0) {
|
|
113
|
+
K = console.log, D = console.info, ee = console.warn, re = console.error, te = console.group, oe = console.groupCollapsed, ne = console.groupEnd;
|
|
114
114
|
var e = {
|
|
115
115
|
configurable: !0,
|
|
116
116
|
enumerable: !0,
|
|
117
|
-
value:
|
|
117
|
+
value: C,
|
|
118
118
|
writable: !0
|
|
119
119
|
};
|
|
120
120
|
Object.defineProperties(console, {
|
|
@@ -127,83 +127,83 @@ function je() {
|
|
|
127
127
|
groupEnd: e
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
R++;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
if (
|
|
132
|
+
function i() {
|
|
133
|
+
if (R--, R === 0) {
|
|
134
134
|
var e = { configurable: !0, enumerable: !0, writable: !0 };
|
|
135
135
|
Object.defineProperties(console, {
|
|
136
|
-
log:
|
|
137
|
-
info:
|
|
138
|
-
warn:
|
|
139
|
-
error:
|
|
140
|
-
group:
|
|
141
|
-
groupCollapsed:
|
|
142
|
-
groupEnd:
|
|
136
|
+
log: m({}, e, { value: K }),
|
|
137
|
+
info: m({}, e, { value: D }),
|
|
138
|
+
warn: m({}, e, { value: ee }),
|
|
139
|
+
error: m({}, e, { value: re }),
|
|
140
|
+
group: m({}, e, { value: te }),
|
|
141
|
+
groupCollapsed: m({}, e, { value: oe }),
|
|
142
|
+
groupEnd: m({}, e, { value: ne })
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
0 >
|
|
145
|
+
0 > R && console.error(
|
|
146
146
|
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
150
|
-
if (
|
|
149
|
+
function v(e) {
|
|
150
|
+
if (J === void 0)
|
|
151
151
|
try {
|
|
152
152
|
throw Error();
|
|
153
153
|
} catch (t) {
|
|
154
154
|
var r = t.stack.trim().match(/\n( *(at )?)/);
|
|
155
|
-
|
|
155
|
+
J = r && r[1] || "", ae = -1 < t.stack.indexOf(`
|
|
156
156
|
at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
157
157
|
}
|
|
158
158
|
return `
|
|
159
|
-
` +
|
|
159
|
+
` + J + e + ae;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
if (!e ||
|
|
163
|
-
var t =
|
|
161
|
+
function _(e, r) {
|
|
162
|
+
if (!e || z) return "";
|
|
163
|
+
var t = B.get(e);
|
|
164
164
|
if (t !== void 0) return t;
|
|
165
|
-
|
|
165
|
+
z = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
166
166
|
var n = null;
|
|
167
|
-
n =
|
|
167
|
+
n = b.H, b.H = null, f();
|
|
168
168
|
try {
|
|
169
169
|
var u = {
|
|
170
170
|
DetermineComponentFrameRoot: function() {
|
|
171
171
|
try {
|
|
172
172
|
if (r) {
|
|
173
|
-
var
|
|
173
|
+
var d = function() {
|
|
174
174
|
throw Error();
|
|
175
175
|
};
|
|
176
|
-
if (Object.defineProperty(
|
|
176
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
177
177
|
set: function() {
|
|
178
178
|
throw Error();
|
|
179
179
|
}
|
|
180
180
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
181
181
|
try {
|
|
182
|
-
Reflect.construct(
|
|
183
|
-
} catch (
|
|
184
|
-
var
|
|
182
|
+
Reflect.construct(d, []);
|
|
183
|
+
} catch (E) {
|
|
184
|
+
var h = E;
|
|
185
185
|
}
|
|
186
|
-
Reflect.construct(e, [],
|
|
186
|
+
Reflect.construct(e, [], d);
|
|
187
187
|
} else {
|
|
188
188
|
try {
|
|
189
|
-
|
|
190
|
-
} catch (
|
|
191
|
-
|
|
189
|
+
d.call();
|
|
190
|
+
} catch (E) {
|
|
191
|
+
h = E;
|
|
192
192
|
}
|
|
193
|
-
e.call(
|
|
193
|
+
e.call(d.prototype);
|
|
194
194
|
}
|
|
195
195
|
} else {
|
|
196
196
|
try {
|
|
197
197
|
throw Error();
|
|
198
|
-
} catch (
|
|
199
|
-
|
|
198
|
+
} catch (E) {
|
|
199
|
+
h = E;
|
|
200
200
|
}
|
|
201
|
-
(
|
|
201
|
+
(d = e()) && typeof d.catch == "function" && d.catch(function() {
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
} catch (
|
|
205
|
-
if (
|
|
206
|
-
return [
|
|
204
|
+
} catch (E) {
|
|
205
|
+
if (E && h && typeof E.stack == "string")
|
|
206
|
+
return [E.stack, h.stack];
|
|
207
207
|
}
|
|
208
208
|
return [null, null];
|
|
209
209
|
}
|
|
@@ -218,80 +218,80 @@ function je() {
|
|
|
218
218
|
"name",
|
|
219
219
|
{ value: "DetermineComponentFrameRoot" }
|
|
220
220
|
);
|
|
221
|
-
var o = u.DetermineComponentFrameRoot(),
|
|
222
|
-
if (
|
|
223
|
-
var l =
|
|
224
|
-
`),
|
|
221
|
+
var o = u.DetermineComponentFrameRoot(), c = o[0], T = o[1];
|
|
222
|
+
if (c && T) {
|
|
223
|
+
var l = c.split(`
|
|
224
|
+
`), g = T.split(`
|
|
225
225
|
`);
|
|
226
226
|
for (o = a = 0; a < l.length && !l[a].includes(
|
|
227
227
|
"DetermineComponentFrameRoot"
|
|
228
228
|
); )
|
|
229
229
|
a++;
|
|
230
|
-
for (; o <
|
|
230
|
+
for (; o < g.length && !g[o].includes(
|
|
231
231
|
"DetermineComponentFrameRoot"
|
|
232
232
|
); )
|
|
233
233
|
o++;
|
|
234
|
-
if (a === l.length || o ===
|
|
235
|
-
for (a = l.length - 1, o =
|
|
234
|
+
if (a === l.length || o === g.length)
|
|
235
|
+
for (a = l.length - 1, o = g.length - 1; 1 <= a && 0 <= o && l[a] !== g[o]; )
|
|
236
236
|
o--;
|
|
237
237
|
for (; 1 <= a && 0 <= o; a--, o--)
|
|
238
|
-
if (l[a] !==
|
|
238
|
+
if (l[a] !== g[o]) {
|
|
239
239
|
if (a !== 1 || o !== 1)
|
|
240
240
|
do
|
|
241
|
-
if (a--, o--, 0 > o || l[a] !==
|
|
242
|
-
var
|
|
241
|
+
if (a--, o--, 0 > o || l[a] !== g[o]) {
|
|
242
|
+
var w = `
|
|
243
243
|
` + l[a].replace(
|
|
244
244
|
" at new ",
|
|
245
245
|
" at "
|
|
246
246
|
);
|
|
247
|
-
return e.displayName &&
|
|
247
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && B.set(e, w), w;
|
|
248
248
|
}
|
|
249
249
|
while (1 <= a && 0 <= o);
|
|
250
250
|
break;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
} finally {
|
|
254
|
-
|
|
254
|
+
z = !1, b.H = n, i(), Error.prepareStackTrace = t;
|
|
255
255
|
}
|
|
256
|
-
return l = (l = e ? e.displayName || e.name : "") ?
|
|
256
|
+
return l = (l = e ? e.displayName || e.name : "") ? v(l) : "", typeof e == "function" && B.set(e, l), l;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function O(e) {
|
|
259
259
|
if (e == null) return "";
|
|
260
260
|
if (typeof e == "function") {
|
|
261
261
|
var r = e.prototype;
|
|
262
|
-
return
|
|
262
|
+
return _(
|
|
263
263
|
e,
|
|
264
264
|
!(!r || !r.isReactComponent)
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
|
-
if (typeof e == "string") return
|
|
267
|
+
if (typeof e == "string") return v(e);
|
|
268
268
|
switch (e) {
|
|
269
269
|
case $:
|
|
270
|
-
return
|
|
271
|
-
case
|
|
272
|
-
return
|
|
270
|
+
return v("Suspense");
|
|
271
|
+
case M:
|
|
272
|
+
return v("SuspenseList");
|
|
273
273
|
}
|
|
274
274
|
if (typeof e == "object")
|
|
275
275
|
switch (e.$$typeof) {
|
|
276
|
-
case
|
|
277
|
-
return e =
|
|
276
|
+
case Y:
|
|
277
|
+
return e = _(e.render, !1), e;
|
|
278
|
+
case W:
|
|
279
|
+
return O(e.type);
|
|
278
280
|
case U:
|
|
279
|
-
return w(e.type);
|
|
280
|
-
case q:
|
|
281
281
|
r = e._payload, e = e._init;
|
|
282
282
|
try {
|
|
283
|
-
return
|
|
283
|
+
return O(e(r));
|
|
284
284
|
} catch {
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
return "";
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
var e =
|
|
289
|
+
function S() {
|
|
290
|
+
var e = b.A;
|
|
291
291
|
return e === null ? null : e.getOwner();
|
|
292
292
|
}
|
|
293
|
-
function
|
|
294
|
-
if (
|
|
293
|
+
function ve(e) {
|
|
294
|
+
if (Q.call(e, "key")) {
|
|
295
295
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
296
296
|
if (r && r.isReactWarning) return !1;
|
|
297
297
|
}
|
|
@@ -299,7 +299,7 @@ function je() {
|
|
|
299
299
|
}
|
|
300
300
|
function de(e, r) {
|
|
301
301
|
function t() {
|
|
302
|
-
|
|
302
|
+
ue || (ue = !0, console.error(
|
|
303
303
|
"%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)",
|
|
304
304
|
r
|
|
305
305
|
));
|
|
@@ -310,14 +310,14 @@ function je() {
|
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
312
|
function be() {
|
|
313
|
-
var e =
|
|
314
|
-
return
|
|
313
|
+
var e = s(this.type);
|
|
314
|
+
return le[e] || (le[e] = !0, console.error(
|
|
315
315
|
"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."
|
|
316
316
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
317
317
|
}
|
|
318
318
|
function me(e, r, t, n, u, a) {
|
|
319
319
|
return t = a.ref, e = {
|
|
320
|
-
$$typeof:
|
|
320
|
+
$$typeof: N,
|
|
321
321
|
type: e,
|
|
322
322
|
key: r,
|
|
323
323
|
props: a,
|
|
@@ -337,32 +337,32 @@ function je() {
|
|
|
337
337
|
value: null
|
|
338
338
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
339
339
|
}
|
|
340
|
-
function
|
|
341
|
-
if (typeof e == "string" || typeof e == "function" || e ===
|
|
340
|
+
function V(e, r, t, n, u, a) {
|
|
341
|
+
if (typeof e == "string" || typeof e == "function" || e === P || e === F || e === X || e === $ || e === M || e === xe || typeof e == "object" && e !== null && (e.$$typeof === U || e.$$typeof === W || e.$$typeof === Z || e.$$typeof === L || e.$$typeof === Y || e.$$typeof === we || e.getModuleId !== void 0)) {
|
|
342
342
|
var o = r.children;
|
|
343
343
|
if (o !== void 0)
|
|
344
344
|
if (n)
|
|
345
|
-
if (
|
|
345
|
+
if (q(o)) {
|
|
346
346
|
for (n = 0; n < o.length; n++)
|
|
347
|
-
|
|
347
|
+
G(o[n], e);
|
|
348
348
|
Object.freeze && Object.freeze(o);
|
|
349
349
|
} else
|
|
350
350
|
console.error(
|
|
351
351
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
352
352
|
);
|
|
353
|
-
else
|
|
353
|
+
else G(o, e);
|
|
354
354
|
} else
|
|
355
|
-
o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" :
|
|
355
|
+
o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : q(e) ? n = "array" : e !== void 0 && e.$$typeof === N ? (n = "<" + (s(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
|
|
356
356
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
357
357
|
n,
|
|
358
358
|
o
|
|
359
359
|
);
|
|
360
|
-
if (
|
|
361
|
-
o =
|
|
362
|
-
var
|
|
360
|
+
if (Q.call(r, "key")) {
|
|
361
|
+
o = s(e);
|
|
362
|
+
var c = Object.keys(r).filter(function(l) {
|
|
363
363
|
return l !== "key";
|
|
364
364
|
});
|
|
365
|
-
n = 0 <
|
|
365
|
+
n = 0 < c.length ? "{key: someKey, " + c.join(": ..., ") + ": ...}" : "{key: someKey}", se[o + n] || (c = 0 < c.length ? "{" + c.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
366
366
|
`A props object containing a "key" prop is being spread into JSX:
|
|
367
367
|
let props = %s;
|
|
368
368
|
<%s {...props} />
|
|
@@ -371,100 +371,77 @@ React keys must be passed directly to JSX without using spread:
|
|
|
371
371
|
<%s key={someKey} {...props} />`,
|
|
372
372
|
n,
|
|
373
373
|
o,
|
|
374
|
-
|
|
374
|
+
c,
|
|
375
375
|
o
|
|
376
|
-
),
|
|
376
|
+
), se[o + n] = !0);
|
|
377
377
|
}
|
|
378
|
-
if (o = null, t !== void 0 && (
|
|
378
|
+
if (o = null, t !== void 0 && (x(t), o = "" + t), ve(r) && (x(r.key), o = "" + r.key), "key" in r) {
|
|
379
379
|
t = {};
|
|
380
|
-
for (var
|
|
381
|
-
|
|
380
|
+
for (var T in r)
|
|
381
|
+
T !== "key" && (t[T] = r[T]);
|
|
382
382
|
} else t = r;
|
|
383
383
|
return o && de(
|
|
384
384
|
t,
|
|
385
385
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
386
|
-
), me(e, o, a, u,
|
|
386
|
+
), me(e, o, a, u, S(), t);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function G(e, r) {
|
|
389
389
|
if (typeof e == "object" && e && e.$$typeof !== ye) {
|
|
390
|
-
if (
|
|
390
|
+
if (q(e))
|
|
391
391
|
for (var t = 0; t < e.length; t++) {
|
|
392
392
|
var n = e[t];
|
|
393
|
-
|
|
393
|
+
A(n) && H(n, r);
|
|
394
394
|
}
|
|
395
|
-
else if (
|
|
395
|
+
else if (A(e))
|
|
396
396
|
e._store && (e._store.validated = 1);
|
|
397
|
-
else if (e === null || typeof e != "object" ? t = null : (t =
|
|
397
|
+
else if (e === null || typeof e != "object" ? t = null : (t = I && e[I] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
|
|
398
398
|
for (; !(e = t.next()).done; )
|
|
399
|
-
|
|
399
|
+
A(e.value) && H(e.value, r);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
402
|
+
function A(e) {
|
|
403
|
+
return typeof e == "object" && e !== null && e.$$typeof === N;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function H(e, r) {
|
|
406
406
|
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = ge(r), !fe[r])) {
|
|
407
407
|
fe[r] = !0;
|
|
408
408
|
var t = "";
|
|
409
|
-
e && e._owner != null && e._owner !==
|
|
410
|
-
var n =
|
|
411
|
-
|
|
412
|
-
var u =
|
|
409
|
+
e && e._owner != null && e._owner !== S() && (t = null, typeof e._owner.tag == "number" ? t = s(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
|
|
410
|
+
var n = b.getCurrentStack;
|
|
411
|
+
b.getCurrentStack = function() {
|
|
412
|
+
var u = O(e.type);
|
|
413
413
|
return n && (u += n() || ""), u;
|
|
414
414
|
}, console.error(
|
|
415
415
|
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
416
416
|
r,
|
|
417
417
|
t
|
|
418
|
-
),
|
|
418
|
+
), b.getCurrentStack = n;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
function ge(e) {
|
|
422
|
-
var r = "", t =
|
|
423
|
-
return t && (t =
|
|
422
|
+
var r = "", t = S();
|
|
423
|
+
return t && (t = s(t.type)) && (r = `
|
|
424
424
|
|
|
425
|
-
Check the render method of \`` + t + "`."), r || (e =
|
|
425
|
+
Check the render method of \`` + t + "`."), r || (e = s(e)) && (r = `
|
|
426
426
|
|
|
427
427
|
Check the top-level render call using <` + e + ">."), r;
|
|
428
428
|
}
|
|
429
|
-
var _e =
|
|
430
|
-
|
|
431
|
-
var
|
|
432
|
-
|
|
433
|
-
return
|
|
434
|
-
},
|
|
435
|
-
return
|
|
429
|
+
var _e = pe, N = Symbol.for("react.transitional.element"), Te = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), X = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), Z = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), xe = Symbol.for("react.offscreen"), I = Symbol.iterator, Re = Symbol.for("react.client.reference"), b = _e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, m = Object.assign, we = Symbol.for("react.client.reference"), q = Array.isArray, R = 0, K, D, ee, re, te, oe, ne;
|
|
430
|
+
C.__reactDisabledLog = !0;
|
|
431
|
+
var J, ae, z = !1, B = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"), ue, le = {}, se = {}, fe = {};
|
|
432
|
+
p.Fragment = P, p.jsx = function(e, r, t, n, u) {
|
|
433
|
+
return V(e, r, t, !1, n, u);
|
|
434
|
+
}, p.jsxs = function(e, r, t, n, u) {
|
|
435
|
+
return V(e, r, t, !0, n, u);
|
|
436
436
|
};
|
|
437
|
-
}()),
|
|
437
|
+
}()), p;
|
|
438
438
|
}
|
|
439
|
-
var
|
|
440
|
-
function
|
|
441
|
-
return
|
|
439
|
+
var Ee;
|
|
440
|
+
function ke() {
|
|
441
|
+
return Ee || (Ee = 1, process.env.NODE_ENV === "production" ? k.exports = Ce() : k.exports = he()), k.exports;
|
|
442
442
|
}
|
|
443
|
-
var Oe =
|
|
444
|
-
const Ne = ({
|
|
445
|
-
checked: c,
|
|
446
|
-
onChange: d,
|
|
447
|
-
trueValue: b = !0,
|
|
448
|
-
falseValue: R = !1,
|
|
449
|
-
trueLabel: s = "",
|
|
450
|
-
falseLabel: f = "",
|
|
451
|
-
children: i,
|
|
452
|
-
...m
|
|
453
|
-
}) => {
|
|
454
|
-
const w = c === b, k = ({ target: A }) => {
|
|
455
|
-
d == null || d(A.checked ? b : R);
|
|
456
|
-
};
|
|
457
|
-
return /* @__PURE__ */ Oe.jsx(
|
|
458
|
-
he,
|
|
459
|
-
{
|
|
460
|
-
className: "sadf",
|
|
461
|
-
checked: w,
|
|
462
|
-
onChange: k,
|
|
463
|
-
...m,
|
|
464
|
-
children: i || (w ? s : f)
|
|
465
|
-
}
|
|
466
|
-
);
|
|
467
|
-
};
|
|
443
|
+
var Oe = ke();
|
|
444
|
+
const Ne = (s) => /* @__PURE__ */ Oe.jsx(je, { ...s });
|
|
468
445
|
export {
|
|
469
|
-
Ne as
|
|
446
|
+
Ne as Button
|
|
470
447
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
(function(E,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react"),require("antd")):typeof define=="function"&&define.amd?define(["exports","react","antd"],y):(E=typeof globalThis<"u"?globalThis:E||self,y(E.XMirrorComponents={},E.React,E.antd))})(this,function(E,y,be){"use strict";var C={exports:{}},p={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var X;function me(){if(X)return p;X=1;var s=Symbol.for("react.transitional.element"),S=Symbol.for("react.fragment");function w(k,f,i){var v=null;if(i!==void 0&&(v=""+i),f.key!==void 0&&(v=""+f.key),"key"in f){i={};for(var _ in f)_!=="key"&&(i[_]=f[_])}else i=f;return f=i.ref,{$$typeof:s,type:k,key:v,ref:f!==void 0?f:null,props:i}}return p.Fragment=S,p.jsx=w,p.jsxs=w,p}var R={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var H;function ge(){return H||(H=1,process.env.NODE_ENV!=="production"&&function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ke?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case Ce:return"Portal";case K:return"Profiler";case Q:return"StrictMode";case $:return"Suspense";case U:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ee:return(e.displayName||"Context")+".Provider";case D:return(e._context.displayName||"Context")+".Consumer";case W:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case q:return r=e.displayName||null,r!==null?r:s(e.type)||"Memo";case J:r=e._payload,e=e._init;try{return s(e(r))}catch{}}return null}function S(e){return""+e}function w(e){try{S(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),S(e)}}function k(){}function f(){if(j===0){oe=console.log,ne=console.info,ae=console.warn,ue=console.error,le=console.group,se=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:k,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}function i(){if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:oe}),info:g({},e,{value:ne}),warn:g({},e,{value:ae}),error:g({},e,{value:ue}),group:g({},e,{value:le}),groupCollapsed:g({},e,{value:se}),groupEnd:g({},e,{value:fe})})}0>j&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function v(e){if(B===void 0)try{throw Error()}catch(t){var r=t.stack.trim().match(/\n( *(at )?)/);B=r&&r[1]||"",ie=-1<t.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+B+e+ie}function _(e,r){if(!e||V)return"";var t=G.get(e);if(t!==void 0)return t;V=!0,t=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=m.H,m.H=null,f();try{var u={DetermineComponentFrameRoot:function(){try{if(r){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(d){var O=d}Reflect.construct(e,[],b)}else{try{b.call()}catch(d){O=d}e.call(b.prototype)}}else{try{throw Error()}catch(d){O=d}(b=e())&&typeof b.catch=="function"&&b.catch(function(){})}}catch(d){if(d&&O&&typeof d.stack=="string")return[d.stack,O.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=u.DetermineComponentFrameRoot(),c=o[0],x=o[1];if(c&&x){var l=c.split(`
|
|
20
|
+
`),T=x.split(`
|
|
21
|
+
`);for(o=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;o<T.length&&!T[o].includes("DetermineComponentFrameRoot");)o++;if(a===l.length||o===T.length)for(a=l.length-1,o=T.length-1;1<=a&&0<=o&&l[a]!==T[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==T[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==T[o]){var h=`
|
|
22
|
+
`+l[a].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&G.set(e,h),h}while(1<=a&&0<=o);break}}}finally{V=!1,m.H=n,i(),Error.prepareStackTrace=t}return l=(l=e?e.displayName||e.name:"")?v(l):"",typeof e=="function"&&G.set(e,l),l}function A(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return _(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return v(e);switch(e){case $:return v("Suspense");case U:return v("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case W:return e=_(e.render,!1),e;case q:return A(e.type);case J:r=e._payload,e=e._init;try{return A(e(r))}catch{}}return""}function N(){var e=m.A;return e===null?null:e.getOwner()}function ye(e){if(te.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function pe(e,r){function t(){ce||(ce=!0,console.error("%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)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function Re(){var e=s(this.type);return de[e]||(de[e]=!0,console.error("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.")),e=this.props.ref,e!==void 0?e:null}function we(e,r,t,n,u,a){return t=a.ref,e={$$typeof:Y,type:e,key:r,props:a,_owner:u},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:Re}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function L(e,r,t,n,u,a){if(typeof e=="string"||typeof e=="function"||e===M||e===K||e===Q||e===$||e===U||e===Se||typeof e=="object"&&e!==null&&(e.$$typeof===J||e.$$typeof===q||e.$$typeof===ee||e.$$typeof===D||e.$$typeof===W||e.$$typeof===Oe||e.getModuleId!==void 0)){var o=r.children;if(o!==void 0)if(n)if(z(o)){for(n=0;n<o.length;n++)Z(o[n],e);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Z(o,e)}else o="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":z(e)?n="array":e!==void 0&&e.$$typeof===Y?(n="<"+(s(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,o);if(te.call(r,"key")){o=s(e);var c=Object.keys(r).filter(function(l){return l!=="key"});n=0<c.length?"{key: someKey, "+c.join(": ..., ")+": ...}":"{key: someKey}",Ee[o+n]||(c=0<c.length?"{"+c.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
23
|
+
let props = %s;
|
|
24
|
+
<%s {...props} />
|
|
25
|
+
React keys must be passed directly to JSX without using spread:
|
|
26
|
+
let props = %s;
|
|
27
|
+
<%s key={someKey} {...props} />`,n,o,c,o),Ee[o+n]=!0)}if(o=null,t!==void 0&&(w(t),o=""+t),ye(r)&&(w(r.key),o=""+r.key),"key"in r){t={};for(var x in r)x!=="key"&&(t[x]=r[x])}else t=r;return o&&pe(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),we(e,o,a,u,N(),t)}function Z(e,r){if(typeof e=="object"&&e&&e.$$typeof!==Ae){if(z(e))for(var t=0;t<e.length;t++){var n=e[t];P(n)&&I(n,r)}else if(P(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?t=null:(t=re&&e[re]||e["@@iterator"],t=typeof t=="function"?t:null),typeof t=="function"&&t!==e.entries&&(t=t.call(e),t!==e))for(;!(e=t.next()).done;)P(e.value)&&I(e.value,r)}}function P(e){return typeof e=="object"&&e!==null&&e.$$typeof===Y}function I(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=je(r),!ve[r])){ve[r]=!0;var t="";e&&e._owner!=null&&e._owner!==N()&&(t=null,typeof e._owner.tag=="number"?t=s(e._owner.type):typeof e._owner.name=="string"&&(t=e._owner.name),t=" It was passed a child from "+t+".");var n=m.getCurrentStack;m.getCurrentStack=function(){var u=A(e.type);return n&&(u+=n()||""),u},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,t),m.getCurrentStack=n}}function je(e){var r="",t=N();return t&&(t=s(t.type))&&(r=`
|
|
28
|
+
|
|
29
|
+
Check the render method of \``+t+"`."),r||(e=s(e))&&(r=`
|
|
30
|
+
|
|
31
|
+
Check the top-level render call using <`+e+">."),r}var he=y,Y=Symbol.for("react.transitional.element"),Ce=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),ee=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),Se=Symbol.for("react.offscreen"),re=Symbol.iterator,ke=Symbol.for("react.client.reference"),m=he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.prototype.hasOwnProperty,g=Object.assign,Oe=Symbol.for("react.client.reference"),z=Array.isArray,j=0,oe,ne,ae,ue,le,se,fe;k.__reactDisabledLog=!0;var B,ie,V=!1,G=new(typeof WeakMap=="function"?WeakMap:Map),Ae=Symbol.for("react.client.reference"),ce,de={},Ee={},ve={};R.Fragment=M,R.jsx=function(e,r,t,n,u){return L(e,r,t,!1,n,u)},R.jsxs=function(e,r,t,n,u){return L(e,r,t,!0,n,u)}}()),R}var F;function Te(){return F||(F=1,process.env.NODE_ENV==="production"?C.exports=me():C.exports=ge()),C.exports}var _e=Te();const xe=s=>_e.jsx(be.Button,{...s});E.Button=xe,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import { Button as AntButton } from 'antd';
|
|
14
|
+
var Button = function (props) {
|
|
15
|
+
return React.createElement(AntButton, __assign({}, props));
|
|
16
|
+
};
|
|
17
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './Button';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var antd_1 = require("antd");
|
|
19
|
+
var Button = function (props) {
|
|
20
|
+
return react_1.default.createElement(antd_1.Button, __assign({}, props));
|
|
21
|
+
};
|
|
22
|
+
exports.default = Button;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var button_1 = __importDefault(require("./button"));
|
|
7
|
+
exports.default = button_1.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Button = void 0;
|
|
7
|
+
var Button_1 = require("./Button");
|
|
8
|
+
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(Button_1).default; } });
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xmirror-components",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "build/lib/index.js",
|
|
6
|
+
"module": "build/es/index.js",
|
|
7
|
+
"types": "build/lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"build"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite",
|
|
13
|
+
"build": "npm run build:types && npm run build:es && npm run build:lib && npm run build:dist && npm run build:copy-files",
|
|
14
|
+
"build:copy-files": "cp package.json LICENSE build/",
|
|
15
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
16
|
+
"build:es": "tsc -p tsconfig.build.json --outDir build/es --module ESNext",
|
|
17
|
+
"build:lib": "tsc -p tsconfig.build.json --outDir build/lib --module CommonJS",
|
|
18
|
+
"build:dist": "vite build",
|
|
19
|
+
"lint": "eslint .",
|
|
20
|
+
"preview": "vite preview",
|
|
21
|
+
"prepublishOnly": "npm run build",
|
|
22
|
+
"publish:npm": "npm publish --access public"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": ">=16.9.0",
|
|
26
|
+
"react-dom": ">=16.9.0",
|
|
27
|
+
"antd": ">=5.0.0"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@ant-design/icons": "^5.6.1"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/node": "^22.13.10",
|
|
34
|
+
"@types/react": "^19.0.10",
|
|
35
|
+
"@types/react-dom": "^19.0.4",
|
|
36
|
+
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
37
|
+
"antd": "^5.24.3",
|
|
38
|
+
"eslint": "^9.21.0",
|
|
39
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
40
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
41
|
+
"globals": "^15.15.0",
|
|
42
|
+
"react": "^19.0.0",
|
|
43
|
+
"react-dom": "^19.0.0",
|
|
44
|
+
"typescript": "~5.7.2",
|
|
45
|
+
"typescript-eslint": "^8.24.1",
|
|
46
|
+
"vite": "^6.2.0",
|
|
47
|
+
"vite-plugin-dts": "^4.5.3"
|
|
48
|
+
},
|
|
49
|
+
"keywords": [
|
|
50
|
+
"react",
|
|
51
|
+
"antd",
|
|
52
|
+
"components",
|
|
53
|
+
"ui"
|
|
54
|
+
],
|
|
55
|
+
"author": "",
|
|
56
|
+
"license": "MIT"
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,40 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xmirror-components",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"license": "MIT",
|
|
3
|
+
"version": "1.0.2",
|
|
5
4
|
"type": "module",
|
|
6
|
-
"main": "
|
|
7
|
-
"module": "
|
|
8
|
-
"types": "
|
|
9
|
-
"description": "A component library based on ant-design secondary development",
|
|
5
|
+
"main": "build/lib/index.js",
|
|
6
|
+
"module": "build/es/index.js",
|
|
7
|
+
"types": "build/lib/index.d.ts",
|
|
10
8
|
"files": [
|
|
11
|
-
"
|
|
9
|
+
"build"
|
|
12
10
|
],
|
|
13
11
|
"scripts": {
|
|
14
12
|
"dev": "vite",
|
|
13
|
+
"build": "npm run build:types && npm run build:es && npm run build:lib && npm run build:dist && npm run build:copy-files",
|
|
14
|
+
"build:copy-files": "cp package.json LICENSE build/",
|
|
15
15
|
"build:types": "tsc -p tsconfig.build.json",
|
|
16
|
-
"build": "
|
|
16
|
+
"build:es": "tsc -p tsconfig.build.json --outDir build/es --module ESNext",
|
|
17
|
+
"build:lib": "tsc -p tsconfig.build.json --outDir build/lib --module CommonJS",
|
|
18
|
+
"build:dist": "vite build",
|
|
19
|
+
"lint": "eslint .",
|
|
17
20
|
"preview": "vite preview",
|
|
18
21
|
"prepublishOnly": "npm run build",
|
|
19
|
-
"
|
|
20
|
-
"lint:fix": "eslint 'src/**/*.{ts,tsx,js,jsx}' --fix"
|
|
22
|
+
"publish:npm": "npm publish --access public"
|
|
21
23
|
},
|
|
22
24
|
"peerDependencies": {
|
|
23
|
-
"
|
|
24
|
-
"react": "
|
|
25
|
-
"
|
|
25
|
+
"react": ">=16.9.0",
|
|
26
|
+
"react-dom": ">=16.9.0",
|
|
27
|
+
"antd": ">=5.0.0"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@ant-design/icons": "^5.6.1"
|
|
26
31
|
},
|
|
27
32
|
"devDependencies": {
|
|
28
|
-
"@types/node": "^22.13.
|
|
33
|
+
"@types/node": "^22.13.10",
|
|
29
34
|
"@types/react": "^19.0.10",
|
|
30
35
|
"@types/react-dom": "^19.0.4",
|
|
31
|
-
"@typescript-eslint/parser": "^8.26.0",
|
|
32
36
|
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
37
|
+
"antd": "^5.24.3",
|
|
33
38
|
"eslint": "^9.21.0",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
39
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
40
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
41
|
+
"globals": "^15.15.0",
|
|
42
|
+
"react": "^19.0.0",
|
|
43
|
+
"react-dom": "^19.0.0",
|
|
44
|
+
"typescript": "~5.7.2",
|
|
45
|
+
"typescript-eslint": "^8.24.1",
|
|
46
|
+
"vite": "^6.2.0",
|
|
47
|
+
"vite-plugin-dts": "^4.5.3"
|
|
48
|
+
},
|
|
49
|
+
"keywords": [
|
|
50
|
+
"react",
|
|
51
|
+
"antd",
|
|
52
|
+
"components",
|
|
53
|
+
"ui"
|
|
54
|
+
],
|
|
55
|
+
"author": "",
|
|
56
|
+
"license": "MIT"
|
|
40
57
|
}
|
package/dist/index.umd.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
(function(v,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react"),require("antd")):typeof define=="function"&&define.amd?define(["exports","react","antd"],k):(v=typeof globalThis<"u"?globalThis:v||self,k(v["xm-components"]={},v.React,v.antd))})(this,function(v,k,me){"use strict";var A={exports:{}},w={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var B;function ge(){if(B)return w;B=1;var c=Symbol.for("react.transitional.element"),b=Symbol.for("react.fragment");function m(p,s,f){var i=null;if(f!==void 0&&(i=""+f),s.key!==void 0&&(i=""+s.key),"key"in s){f={};for(var g in s)g!=="key"&&(f[g]=s[g])}else f=s;return s=f.ref,{$$typeof:c,type:p,key:i,ref:s!==void 0?s:null,props:f}}return w.Fragment=b,w.jsx=m,w.jsxs=m,w}var j={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var F;function _e(){return F||(F=1,process.env.NODE_ENV!=="production"&&function(){function c(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case je:return"Portal";case D:return"Profiler";case K:return"StrictMode";case U:return"Suspense";case q:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case re:return(e.displayName||"Context")+".Provider";case ee:return(e._context.displayName||"Context")+".Consumer";case $:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case J:return r=e.displayName||null,r!==null?r:c(e.type)||"Memo";case V:r=e._payload,e=e._init;try{return c(e(r))}catch{}}return null}function b(e){return""+e}function m(e){try{b(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),b(e)}}function p(){}function s(){if(S===0){ne=console.log,ae=console.info,ue=console.warn,le=console.error,se=console.group,ce=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}S++}function f(){if(S--,S===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:x({},e,{value:ne}),info:x({},e,{value:ae}),warn:x({},e,{value:ue}),error:x({},e,{value:le}),group:x({},e,{value:se}),groupCollapsed:x({},e,{value:ce}),groupEnd:x({},e,{value:fe})})}0>S&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function i(e){if(G===void 0)try{throw Error()}catch(t){var r=t.stack.trim().match(/\n( *(at )?)/);G=r&&r[1]||"",ie=-1<t.stack.indexOf(`
|
|
18
|
-
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
-
`+G+e+ie}function g(e,r){if(!e||H)return"";var t=X.get(e);if(t!==void 0)return t;H=!0,t=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=T.H,T.H=null,s();try{var u={DetermineComponentFrameRoot:function(){try{if(r){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(E){var N=E}Reflect.construct(e,[],_)}else{try{_.call()}catch(E){N=E}e.call(_.prototype)}}else{try{throw Error()}catch(E){N=E}(_=e())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(E){if(E&&N&&typeof E.stack=="string")return[E.stack,N.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=u.DetermineComponentFrameRoot(),d=o[0],h=o[1];if(d&&h){var l=d.split(`
|
|
20
|
-
`),y=h.split(`
|
|
21
|
-
`);for(o=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;o<y.length&&!y[o].includes("DetermineComponentFrameRoot");)o++;if(a===l.length||o===y.length)for(a=l.length-1,o=y.length-1;1<=a&&0<=o&&l[a]!==y[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==y[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==y[o]){var O=`
|
|
22
|
-
`+l[a].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,O),O}while(1<=a&&0<=o);break}}}finally{H=!1,T.H=n,f(),Error.prepareStackTrace=t}return l=(l=e?e.displayName||e.name:"")?i(l):"",typeof e=="function"&&X.set(e,l),l}function R(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return g(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return i(e);switch(e){case U:return i("Suspense");case q:return i("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case $:return e=g(e.render,!1),e;case J:return R(e.type);case V:r=e._payload,e=e._init;try{return R(e(r))}catch{}}return""}function C(){var e=T.A;return e===null?null:e.getOwner()}function P(e){if(oe.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function pe(e,r){function t(){de||(de=!0,console.error("%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)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function Re(){var e=c(this.type);return Ee[e]||(Ee[e]=!0,console.error("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.")),e=this.props.ref,e!==void 0?e:null}function he(e,r,t,n,u,a){return t=a.ref,e={$$typeof:M,type:e,key:r,props:a,_owner:u},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:Re}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function Z(e,r,t,n,u,a){if(typeof e=="string"||typeof e=="function"||e===W||e===D||e===K||e===U||e===q||e===Ce||typeof e=="object"&&e!==null&&(e.$$typeof===V||e.$$typeof===J||e.$$typeof===re||e.$$typeof===ee||e.$$typeof===$||e.$$typeof===Oe||e.getModuleId!==void 0)){var o=r.children;if(o!==void 0)if(n)if(z(o)){for(n=0;n<o.length;n++)I(o[n],e);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else I(o,e)}else o="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":z(e)?n="array":e!==void 0&&e.$$typeof===M?(n="<"+(c(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,o);if(oe.call(r,"key")){o=c(e);var d=Object.keys(r).filter(function(l){return l!=="key"});n=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",ve[o+n]||(d=0<d.length?"{"+d.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
23
|
-
let props = %s;
|
|
24
|
-
<%s {...props} />
|
|
25
|
-
React keys must be passed directly to JSX without using spread:
|
|
26
|
-
let props = %s;
|
|
27
|
-
<%s key={someKey} {...props} />`,n,o,d,o),ve[o+n]=!0)}if(o=null,t!==void 0&&(m(t),o=""+t),P(r)&&(m(r.key),o=""+r.key),"key"in r){t={};for(var h in r)h!=="key"&&(t[h]=r[h])}else t=r;return o&&pe(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),he(e,o,a,u,C(),t)}function I(e,r){if(typeof e=="object"&&e&&e.$$typeof!==Ae){if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Y(n)&&Q(n,r)}else if(Y(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?t=null:(t=te&&e[te]||e["@@iterator"],t=typeof t=="function"?t:null),typeof t=="function"&&t!==e.entries&&(t=t.call(e),t!==e))for(;!(e=t.next()).done;)Y(e.value)&&Q(e.value,r)}}function Y(e){return typeof e=="object"&&e!==null&&e.$$typeof===M}function Q(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=ke(r),!be[r])){be[r]=!0;var t="";e&&e._owner!=null&&e._owner!==C()&&(t=null,typeof e._owner.tag=="number"?t=c(e._owner.type):typeof e._owner.name=="string"&&(t=e._owner.name),t=" It was passed a child from "+t+".");var n=T.getCurrentStack;T.getCurrentStack=function(){var u=R(e.type);return n&&(u+=n()||""),u},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,t),T.getCurrentStack=n}}function ke(e){var r="",t=C();return t&&(t=c(t.type))&&(r=`
|
|
28
|
-
|
|
29
|
-
Check the render method of \``+t+"`."),r||(e=c(e))&&(r=`
|
|
30
|
-
|
|
31
|
-
Check the top-level render call using <`+e+">."),r}var we=k,M=Symbol.for("react.transitional.element"),je=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),re=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),Ce=Symbol.for("react.offscreen"),te=Symbol.iterator,Se=Symbol.for("react.client.reference"),T=we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=Object.prototype.hasOwnProperty,x=Object.assign,Oe=Symbol.for("react.client.reference"),z=Array.isArray,S=0,ne,ae,ue,le,se,ce,fe;p.__reactDisabledLog=!0;var G,ie,H=!1,X=new(typeof WeakMap=="function"?WeakMap:Map),Ae=Symbol.for("react.client.reference"),de,Ee={},ve={},be={};j.Fragment=W,j.jsx=function(e,r,t,n,u){return Z(e,r,t,!1,n,u)},j.jsxs=function(e,r,t,n,u){return Z(e,r,t,!0,n,u)}}()),j}var L;function Te(){return L||(L=1,process.env.NODE_ENV==="production"?A.exports=ge():A.exports=_e()),A.exports}var xe=Te();const ye=({checked:c,onChange:b,trueValue:m=!0,falseValue:p=!1,trueLabel:s="",falseLabel:f="",children:i,...g})=>{const R=c===m,C=({target:P})=>{b==null||b(P.checked?m:p)};return xe.jsx(me.Checkbox,{className:"sadf",checked:R,onChange:C,...g,children:i||(R?s:f)})};v.CheckboxValue=ye,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
|
|
File without changes
|