jy-headless 0.0.27 → 0.0.29
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/components/accordion/Accordion.d.ts +16 -0
- package/dist/components/accordion/AccordionContext.d.ts +6 -0
- package/dist/components/dropdown/Dropdown.d.ts +2 -0
- package/dist/components/icons/CallIcon.d.ts +1 -2
- package/dist/components/icons/DownArrowIcon.d.ts +1 -2
- package/dist/components/icons/UpArrowIcon.d.ts +1 -2
- package/dist/components/input/DesktopKeyboardInput.d.ts +2 -2
- package/dist/components/tabs/Tab.d.ts +12 -8
- package/dist/components/tabs/TabContext.d.ts +6 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.esm.js +765 -170
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +764 -170
- package/dist/index.js.map +1 -1
- package/package.json +64 -55
package/dist/index.esm.js
CHANGED
|
@@ -35,7 +35,732 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
35
35
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
var jsxRuntime = {exports: {}};
|
|
39
|
+
|
|
40
|
+
var reactJsxRuntime_production = {};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @license React
|
|
44
|
+
* react-jsx-runtime.production.js
|
|
45
|
+
*
|
|
46
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the MIT license found in the
|
|
49
|
+
* LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
var hasRequiredReactJsxRuntime_production;
|
|
53
|
+
|
|
54
|
+
function requireReactJsxRuntime_production () {
|
|
55
|
+
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
56
|
+
hasRequiredReactJsxRuntime_production = 1;
|
|
57
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
58
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
59
|
+
function jsxProd(type, config, maybeKey) {
|
|
60
|
+
var key = null;
|
|
61
|
+
undefined !== maybeKey && (key = "" + maybeKey);
|
|
62
|
+
undefined !== config.key && (key = "" + config.key);
|
|
63
|
+
if ("key" in config) {
|
|
64
|
+
maybeKey = {};
|
|
65
|
+
for (var propName in config)
|
|
66
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
67
|
+
} else maybeKey = config;
|
|
68
|
+
config = maybeKey.ref;
|
|
69
|
+
return {
|
|
70
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
71
|
+
type: type,
|
|
72
|
+
key: key,
|
|
73
|
+
ref: undefined !== config ? config : null,
|
|
74
|
+
props: maybeKey
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
78
|
+
reactJsxRuntime_production.jsx = jsxProd;
|
|
79
|
+
reactJsxRuntime_production.jsxs = jsxProd;
|
|
80
|
+
return reactJsxRuntime_production;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var reactJsxRuntime_development = {};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @license React
|
|
87
|
+
* react-jsx-runtime.development.js
|
|
88
|
+
*
|
|
89
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
90
|
+
*
|
|
91
|
+
* This source code is licensed under the MIT license found in the
|
|
92
|
+
* LICENSE file in the root directory of this source tree.
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
var hasRequiredReactJsxRuntime_development;
|
|
96
|
+
|
|
97
|
+
function requireReactJsxRuntime_development () {
|
|
98
|
+
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
99
|
+
hasRequiredReactJsxRuntime_development = 1;
|
|
100
|
+
"production" !== process.env.NODE_ENV &&
|
|
101
|
+
(function () {
|
|
102
|
+
function getComponentNameFromType(type) {
|
|
103
|
+
if (null == type) return null;
|
|
104
|
+
if ("function" === typeof type)
|
|
105
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
106
|
+
? null
|
|
107
|
+
: type.displayName || type.name || null;
|
|
108
|
+
if ("string" === typeof type) return type;
|
|
109
|
+
switch (type) {
|
|
110
|
+
case REACT_FRAGMENT_TYPE:
|
|
111
|
+
return "Fragment";
|
|
112
|
+
case REACT_PORTAL_TYPE:
|
|
113
|
+
return "Portal";
|
|
114
|
+
case REACT_PROFILER_TYPE:
|
|
115
|
+
return "Profiler";
|
|
116
|
+
case REACT_STRICT_MODE_TYPE:
|
|
117
|
+
return "StrictMode";
|
|
118
|
+
case REACT_SUSPENSE_TYPE:
|
|
119
|
+
return "Suspense";
|
|
120
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
121
|
+
return "SuspenseList";
|
|
122
|
+
}
|
|
123
|
+
if ("object" === typeof type)
|
|
124
|
+
switch (
|
|
125
|
+
("number" === typeof type.tag &&
|
|
126
|
+
console.error(
|
|
127
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
128
|
+
),
|
|
129
|
+
type.$$typeof)
|
|
130
|
+
) {
|
|
131
|
+
case REACT_CONTEXT_TYPE:
|
|
132
|
+
return (type.displayName || "Context") + ".Provider";
|
|
133
|
+
case REACT_CONSUMER_TYPE:
|
|
134
|
+
return (type._context.displayName || "Context") + ".Consumer";
|
|
135
|
+
case REACT_FORWARD_REF_TYPE:
|
|
136
|
+
var innerType = type.render;
|
|
137
|
+
type = type.displayName;
|
|
138
|
+
type ||
|
|
139
|
+
((type = innerType.displayName || innerType.name || ""),
|
|
140
|
+
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
141
|
+
return type;
|
|
142
|
+
case REACT_MEMO_TYPE:
|
|
143
|
+
return (
|
|
144
|
+
(innerType = type.displayName || null),
|
|
145
|
+
null !== innerType
|
|
146
|
+
? innerType
|
|
147
|
+
: getComponentNameFromType(type.type) || "Memo"
|
|
148
|
+
);
|
|
149
|
+
case REACT_LAZY_TYPE:
|
|
150
|
+
innerType = type._payload;
|
|
151
|
+
type = type._init;
|
|
152
|
+
try {
|
|
153
|
+
return getComponentNameFromType(type(innerType));
|
|
154
|
+
} catch (x) {}
|
|
155
|
+
}
|
|
156
|
+
return null;
|
|
157
|
+
}
|
|
158
|
+
function testStringCoercion(value) {
|
|
159
|
+
return "" + value;
|
|
160
|
+
}
|
|
161
|
+
function checkKeyStringCoercion(value) {
|
|
162
|
+
try {
|
|
163
|
+
testStringCoercion(value);
|
|
164
|
+
var JSCompiler_inline_result = !1;
|
|
165
|
+
} catch (e) {
|
|
166
|
+
JSCompiler_inline_result = true;
|
|
167
|
+
}
|
|
168
|
+
if (JSCompiler_inline_result) {
|
|
169
|
+
JSCompiler_inline_result = console;
|
|
170
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
171
|
+
var JSCompiler_inline_result$jscomp$0 =
|
|
172
|
+
("function" === typeof Symbol &&
|
|
173
|
+
Symbol.toStringTag &&
|
|
174
|
+
value[Symbol.toStringTag]) ||
|
|
175
|
+
value.constructor.name ||
|
|
176
|
+
"Object";
|
|
177
|
+
JSCompiler_temp_const.call(
|
|
178
|
+
JSCompiler_inline_result,
|
|
179
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
180
|
+
JSCompiler_inline_result$jscomp$0
|
|
181
|
+
);
|
|
182
|
+
return testStringCoercion(value);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function disabledLog() {}
|
|
186
|
+
function disableLogs() {
|
|
187
|
+
if (0 === disabledDepth) {
|
|
188
|
+
prevLog = console.log;
|
|
189
|
+
prevInfo = console.info;
|
|
190
|
+
prevWarn = console.warn;
|
|
191
|
+
prevError = console.error;
|
|
192
|
+
prevGroup = console.group;
|
|
193
|
+
prevGroupCollapsed = console.groupCollapsed;
|
|
194
|
+
prevGroupEnd = console.groupEnd;
|
|
195
|
+
var props = {
|
|
196
|
+
configurable: true,
|
|
197
|
+
enumerable: true,
|
|
198
|
+
value: disabledLog,
|
|
199
|
+
writable: true
|
|
200
|
+
};
|
|
201
|
+
Object.defineProperties(console, {
|
|
202
|
+
info: props,
|
|
203
|
+
log: props,
|
|
204
|
+
warn: props,
|
|
205
|
+
error: props,
|
|
206
|
+
group: props,
|
|
207
|
+
groupCollapsed: props,
|
|
208
|
+
groupEnd: props
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
disabledDepth++;
|
|
212
|
+
}
|
|
213
|
+
function reenableLogs() {
|
|
214
|
+
disabledDepth--;
|
|
215
|
+
if (0 === disabledDepth) {
|
|
216
|
+
var props = { configurable: true, enumerable: true, writable: true };
|
|
217
|
+
Object.defineProperties(console, {
|
|
218
|
+
log: assign({}, props, { value: prevLog }),
|
|
219
|
+
info: assign({}, props, { value: prevInfo }),
|
|
220
|
+
warn: assign({}, props, { value: prevWarn }),
|
|
221
|
+
error: assign({}, props, { value: prevError }),
|
|
222
|
+
group: assign({}, props, { value: prevGroup }),
|
|
223
|
+
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
224
|
+
groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
0 > disabledDepth &&
|
|
228
|
+
console.error(
|
|
229
|
+
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
function describeBuiltInComponentFrame(name) {
|
|
233
|
+
if (undefined === prefix)
|
|
234
|
+
try {
|
|
235
|
+
throw Error();
|
|
236
|
+
} catch (x) {
|
|
237
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
238
|
+
prefix = (match && match[1]) || "";
|
|
239
|
+
suffix =
|
|
240
|
+
-1 < x.stack.indexOf("\n at")
|
|
241
|
+
? " (<anonymous>)"
|
|
242
|
+
: -1 < x.stack.indexOf("@")
|
|
243
|
+
? "@unknown:0:0"
|
|
244
|
+
: "";
|
|
245
|
+
}
|
|
246
|
+
return "\n" + prefix + name + suffix;
|
|
247
|
+
}
|
|
248
|
+
function describeNativeComponentFrame(fn, construct) {
|
|
249
|
+
if (!fn || reentry) return "";
|
|
250
|
+
var frame = componentFrameCache.get(fn);
|
|
251
|
+
if (undefined !== frame) return frame;
|
|
252
|
+
reentry = true;
|
|
253
|
+
frame = Error.prepareStackTrace;
|
|
254
|
+
Error.prepareStackTrace = undefined;
|
|
255
|
+
var previousDispatcher = null;
|
|
256
|
+
previousDispatcher = ReactSharedInternals.H;
|
|
257
|
+
ReactSharedInternals.H = null;
|
|
258
|
+
disableLogs();
|
|
259
|
+
try {
|
|
260
|
+
var RunInRootFrame = {
|
|
261
|
+
DetermineComponentFrameRoot: function () {
|
|
262
|
+
try {
|
|
263
|
+
if (construct) {
|
|
264
|
+
var Fake = function () {
|
|
265
|
+
throw Error();
|
|
266
|
+
};
|
|
267
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
268
|
+
set: function () {
|
|
269
|
+
throw Error();
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
273
|
+
try {
|
|
274
|
+
Reflect.construct(Fake, []);
|
|
275
|
+
} catch (x) {
|
|
276
|
+
var control = x;
|
|
277
|
+
}
|
|
278
|
+
Reflect.construct(fn, [], Fake);
|
|
279
|
+
} else {
|
|
280
|
+
try {
|
|
281
|
+
Fake.call();
|
|
282
|
+
} catch (x$0) {
|
|
283
|
+
control = x$0;
|
|
284
|
+
}
|
|
285
|
+
fn.call(Fake.prototype);
|
|
286
|
+
}
|
|
287
|
+
} else {
|
|
288
|
+
try {
|
|
289
|
+
throw Error();
|
|
290
|
+
} catch (x$1) {
|
|
291
|
+
control = x$1;
|
|
292
|
+
}
|
|
293
|
+
(Fake = fn()) &&
|
|
294
|
+
"function" === typeof Fake.catch &&
|
|
295
|
+
Fake.catch(function () {});
|
|
296
|
+
}
|
|
297
|
+
} catch (sample) {
|
|
298
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
299
|
+
return [sample.stack, control.stack];
|
|
300
|
+
}
|
|
301
|
+
return [null, null];
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
305
|
+
"DetermineComponentFrameRoot";
|
|
306
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
307
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
308
|
+
"name"
|
|
309
|
+
);
|
|
310
|
+
namePropDescriptor &&
|
|
311
|
+
namePropDescriptor.configurable &&
|
|
312
|
+
Object.defineProperty(
|
|
313
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
314
|
+
"name",
|
|
315
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
316
|
+
);
|
|
317
|
+
var _RunInRootFrame$Deter =
|
|
318
|
+
RunInRootFrame.DetermineComponentFrameRoot(),
|
|
319
|
+
sampleStack = _RunInRootFrame$Deter[0],
|
|
320
|
+
controlStack = _RunInRootFrame$Deter[1];
|
|
321
|
+
if (sampleStack && controlStack) {
|
|
322
|
+
var sampleLines = sampleStack.split("\n"),
|
|
323
|
+
controlLines = controlStack.split("\n");
|
|
324
|
+
for (
|
|
325
|
+
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
326
|
+
namePropDescriptor < sampleLines.length &&
|
|
327
|
+
!sampleLines[namePropDescriptor].includes(
|
|
328
|
+
"DetermineComponentFrameRoot"
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
)
|
|
332
|
+
namePropDescriptor++;
|
|
333
|
+
for (
|
|
334
|
+
;
|
|
335
|
+
_RunInRootFrame$Deter < controlLines.length &&
|
|
336
|
+
!controlLines[_RunInRootFrame$Deter].includes(
|
|
337
|
+
"DetermineComponentFrameRoot"
|
|
338
|
+
);
|
|
339
|
+
|
|
340
|
+
)
|
|
341
|
+
_RunInRootFrame$Deter++;
|
|
342
|
+
if (
|
|
343
|
+
namePropDescriptor === sampleLines.length ||
|
|
344
|
+
_RunInRootFrame$Deter === controlLines.length
|
|
345
|
+
)
|
|
346
|
+
for (
|
|
347
|
+
namePropDescriptor = sampleLines.length - 1,
|
|
348
|
+
_RunInRootFrame$Deter = controlLines.length - 1;
|
|
349
|
+
1 <= namePropDescriptor &&
|
|
350
|
+
0 <= _RunInRootFrame$Deter &&
|
|
351
|
+
sampleLines[namePropDescriptor] !==
|
|
352
|
+
controlLines[_RunInRootFrame$Deter];
|
|
353
|
+
|
|
354
|
+
)
|
|
355
|
+
_RunInRootFrame$Deter--;
|
|
356
|
+
for (
|
|
357
|
+
;
|
|
358
|
+
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
359
|
+
namePropDescriptor--, _RunInRootFrame$Deter--
|
|
360
|
+
)
|
|
361
|
+
if (
|
|
362
|
+
sampleLines[namePropDescriptor] !==
|
|
363
|
+
controlLines[_RunInRootFrame$Deter]
|
|
364
|
+
) {
|
|
365
|
+
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
366
|
+
do
|
|
367
|
+
if (
|
|
368
|
+
(namePropDescriptor--,
|
|
369
|
+
_RunInRootFrame$Deter--,
|
|
370
|
+
0 > _RunInRootFrame$Deter ||
|
|
371
|
+
sampleLines[namePropDescriptor] !==
|
|
372
|
+
controlLines[_RunInRootFrame$Deter])
|
|
373
|
+
) {
|
|
374
|
+
var _frame =
|
|
375
|
+
"\n" +
|
|
376
|
+
sampleLines[namePropDescriptor].replace(
|
|
377
|
+
" at new ",
|
|
378
|
+
" at "
|
|
379
|
+
);
|
|
380
|
+
fn.displayName &&
|
|
381
|
+
_frame.includes("<anonymous>") &&
|
|
382
|
+
(_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
383
|
+
"function" === typeof fn &&
|
|
384
|
+
componentFrameCache.set(fn, _frame);
|
|
385
|
+
return _frame;
|
|
386
|
+
}
|
|
387
|
+
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
388
|
+
}
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
} finally {
|
|
393
|
+
(reentry = false),
|
|
394
|
+
(ReactSharedInternals.H = previousDispatcher),
|
|
395
|
+
reenableLogs(),
|
|
396
|
+
(Error.prepareStackTrace = frame);
|
|
397
|
+
}
|
|
398
|
+
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
399
|
+
? describeBuiltInComponentFrame(sampleLines)
|
|
400
|
+
: "";
|
|
401
|
+
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
402
|
+
return sampleLines;
|
|
403
|
+
}
|
|
404
|
+
function describeUnknownElementTypeFrameInDEV(type) {
|
|
405
|
+
if (null == type) return "";
|
|
406
|
+
if ("function" === typeof type) {
|
|
407
|
+
var prototype = type.prototype;
|
|
408
|
+
return describeNativeComponentFrame(
|
|
409
|
+
type,
|
|
410
|
+
!(!prototype || !prototype.isReactComponent)
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
414
|
+
switch (type) {
|
|
415
|
+
case REACT_SUSPENSE_TYPE:
|
|
416
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
417
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
418
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
419
|
+
}
|
|
420
|
+
if ("object" === typeof type)
|
|
421
|
+
switch (type.$$typeof) {
|
|
422
|
+
case REACT_FORWARD_REF_TYPE:
|
|
423
|
+
return (type = describeNativeComponentFrame(type.render, false)), type;
|
|
424
|
+
case REACT_MEMO_TYPE:
|
|
425
|
+
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
426
|
+
case REACT_LAZY_TYPE:
|
|
427
|
+
prototype = type._payload;
|
|
428
|
+
type = type._init;
|
|
429
|
+
try {
|
|
430
|
+
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
431
|
+
} catch (x) {}
|
|
432
|
+
}
|
|
433
|
+
return "";
|
|
434
|
+
}
|
|
435
|
+
function getOwner() {
|
|
436
|
+
var dispatcher = ReactSharedInternals.A;
|
|
437
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
438
|
+
}
|
|
439
|
+
function hasValidKey(config) {
|
|
440
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
441
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
442
|
+
if (getter && getter.isReactWarning) return false;
|
|
443
|
+
}
|
|
444
|
+
return undefined !== config.key;
|
|
445
|
+
}
|
|
446
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
447
|
+
function warnAboutAccessingKey() {
|
|
448
|
+
specialPropKeyWarningShown ||
|
|
449
|
+
((specialPropKeyWarningShown = true),
|
|
450
|
+
console.error(
|
|
451
|
+
"%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)",
|
|
452
|
+
displayName
|
|
453
|
+
));
|
|
454
|
+
}
|
|
455
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
456
|
+
Object.defineProperty(props, "key", {
|
|
457
|
+
get: warnAboutAccessingKey,
|
|
458
|
+
configurable: true
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
462
|
+
var componentName = getComponentNameFromType(this.type);
|
|
463
|
+
didWarnAboutElementRef[componentName] ||
|
|
464
|
+
((didWarnAboutElementRef[componentName] = true),
|
|
465
|
+
console.error(
|
|
466
|
+
"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."
|
|
467
|
+
));
|
|
468
|
+
componentName = this.props.ref;
|
|
469
|
+
return undefined !== componentName ? componentName : null;
|
|
470
|
+
}
|
|
471
|
+
function ReactElement(type, key, self, source, owner, props) {
|
|
472
|
+
self = props.ref;
|
|
473
|
+
type = {
|
|
474
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
475
|
+
type: type,
|
|
476
|
+
key: key,
|
|
477
|
+
props: props,
|
|
478
|
+
_owner: owner
|
|
479
|
+
};
|
|
480
|
+
null !== (undefined !== self ? self : null)
|
|
481
|
+
? Object.defineProperty(type, "ref", {
|
|
482
|
+
enumerable: false,
|
|
483
|
+
get: elementRefGetterWithDeprecationWarning
|
|
484
|
+
})
|
|
485
|
+
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
486
|
+
type._store = {};
|
|
487
|
+
Object.defineProperty(type._store, "validated", {
|
|
488
|
+
configurable: false,
|
|
489
|
+
enumerable: false,
|
|
490
|
+
writable: true,
|
|
491
|
+
value: 0
|
|
492
|
+
});
|
|
493
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
494
|
+
configurable: false,
|
|
495
|
+
enumerable: false,
|
|
496
|
+
writable: true,
|
|
497
|
+
value: null
|
|
498
|
+
});
|
|
499
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
500
|
+
return type;
|
|
501
|
+
}
|
|
502
|
+
function jsxDEVImpl(
|
|
503
|
+
type,
|
|
504
|
+
config,
|
|
505
|
+
maybeKey,
|
|
506
|
+
isStaticChildren,
|
|
507
|
+
source,
|
|
508
|
+
self
|
|
509
|
+
) {
|
|
510
|
+
if (
|
|
511
|
+
"string" === typeof type ||
|
|
512
|
+
"function" === typeof type ||
|
|
513
|
+
type === REACT_FRAGMENT_TYPE ||
|
|
514
|
+
type === REACT_PROFILER_TYPE ||
|
|
515
|
+
type === REACT_STRICT_MODE_TYPE ||
|
|
516
|
+
type === REACT_SUSPENSE_TYPE ||
|
|
517
|
+
type === REACT_SUSPENSE_LIST_TYPE ||
|
|
518
|
+
type === REACT_OFFSCREEN_TYPE ||
|
|
519
|
+
("object" === typeof type &&
|
|
520
|
+
null !== type &&
|
|
521
|
+
(type.$$typeof === REACT_LAZY_TYPE ||
|
|
522
|
+
type.$$typeof === REACT_MEMO_TYPE ||
|
|
523
|
+
type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
524
|
+
type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
525
|
+
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
526
|
+
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
527
|
+
undefined !== type.getModuleId))
|
|
528
|
+
) {
|
|
529
|
+
var children = config.children;
|
|
530
|
+
if (undefined !== children)
|
|
531
|
+
if (isStaticChildren)
|
|
532
|
+
if (isArrayImpl(children)) {
|
|
533
|
+
for (
|
|
534
|
+
isStaticChildren = 0;
|
|
535
|
+
isStaticChildren < children.length;
|
|
536
|
+
isStaticChildren++
|
|
537
|
+
)
|
|
538
|
+
validateChildKeys(children[isStaticChildren], type);
|
|
539
|
+
Object.freeze && Object.freeze(children);
|
|
540
|
+
} else
|
|
541
|
+
console.error(
|
|
542
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
543
|
+
);
|
|
544
|
+
else validateChildKeys(children, type);
|
|
545
|
+
} else {
|
|
546
|
+
children = "";
|
|
547
|
+
if (
|
|
548
|
+
undefined === type ||
|
|
549
|
+
("object" === typeof type &&
|
|
550
|
+
null !== type &&
|
|
551
|
+
0 === Object.keys(type).length)
|
|
552
|
+
)
|
|
553
|
+
children +=
|
|
554
|
+
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
555
|
+
null === type
|
|
556
|
+
? (isStaticChildren = "null")
|
|
557
|
+
: isArrayImpl(type)
|
|
558
|
+
? (isStaticChildren = "array")
|
|
559
|
+
: undefined !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
560
|
+
? ((isStaticChildren =
|
|
561
|
+
"<" +
|
|
562
|
+
(getComponentNameFromType(type.type) || "Unknown") +
|
|
563
|
+
" />"),
|
|
564
|
+
(children =
|
|
565
|
+
" Did you accidentally export a JSX literal instead of a component?"))
|
|
566
|
+
: (isStaticChildren = typeof type);
|
|
567
|
+
console.error(
|
|
568
|
+
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
569
|
+
isStaticChildren,
|
|
570
|
+
children
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
574
|
+
children = getComponentNameFromType(type);
|
|
575
|
+
var keys = Object.keys(config).filter(function (k) {
|
|
576
|
+
return "key" !== k;
|
|
577
|
+
});
|
|
578
|
+
isStaticChildren =
|
|
579
|
+
0 < keys.length
|
|
580
|
+
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
581
|
+
: "{key: someKey}";
|
|
582
|
+
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
583
|
+
((keys =
|
|
584
|
+
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
585
|
+
console.error(
|
|
586
|
+
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
587
|
+
isStaticChildren,
|
|
588
|
+
children,
|
|
589
|
+
keys,
|
|
590
|
+
children
|
|
591
|
+
),
|
|
592
|
+
(didWarnAboutKeySpread[children + isStaticChildren] = true));
|
|
593
|
+
}
|
|
594
|
+
children = null;
|
|
595
|
+
undefined !== maybeKey &&
|
|
596
|
+
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
597
|
+
hasValidKey(config) &&
|
|
598
|
+
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
599
|
+
if ("key" in config) {
|
|
600
|
+
maybeKey = {};
|
|
601
|
+
for (var propName in config)
|
|
602
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
603
|
+
} else maybeKey = config;
|
|
604
|
+
children &&
|
|
605
|
+
defineKeyPropWarningGetter(
|
|
606
|
+
maybeKey,
|
|
607
|
+
"function" === typeof type
|
|
608
|
+
? type.displayName || type.name || "Unknown"
|
|
609
|
+
: type
|
|
610
|
+
);
|
|
611
|
+
return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
612
|
+
}
|
|
613
|
+
function validateChildKeys(node, parentType) {
|
|
614
|
+
if (
|
|
615
|
+
"object" === typeof node &&
|
|
616
|
+
node &&
|
|
617
|
+
node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
618
|
+
)
|
|
619
|
+
if (isArrayImpl(node))
|
|
620
|
+
for (var i = 0; i < node.length; i++) {
|
|
621
|
+
var child = node[i];
|
|
622
|
+
isValidElement(child) && validateExplicitKey(child, parentType);
|
|
623
|
+
}
|
|
624
|
+
else if (isValidElement(node))
|
|
625
|
+
node._store && (node._store.validated = 1);
|
|
626
|
+
else if (
|
|
627
|
+
(null === node || "object" !== typeof node
|
|
628
|
+
? (i = null)
|
|
629
|
+
: ((i =
|
|
630
|
+
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
631
|
+
node["@@iterator"]),
|
|
632
|
+
(i = "function" === typeof i ? i : null)),
|
|
633
|
+
"function" === typeof i &&
|
|
634
|
+
i !== node.entries &&
|
|
635
|
+
((i = i.call(node)), i !== node))
|
|
636
|
+
)
|
|
637
|
+
for (; !(node = i.next()).done; )
|
|
638
|
+
isValidElement(node.value) &&
|
|
639
|
+
validateExplicitKey(node.value, parentType);
|
|
640
|
+
}
|
|
641
|
+
function isValidElement(object) {
|
|
642
|
+
return (
|
|
643
|
+
"object" === typeof object &&
|
|
644
|
+
null !== object &&
|
|
645
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
646
|
+
);
|
|
647
|
+
}
|
|
648
|
+
function validateExplicitKey(element, parentType) {
|
|
649
|
+
if (
|
|
650
|
+
element._store &&
|
|
651
|
+
!element._store.validated &&
|
|
652
|
+
null == element.key &&
|
|
653
|
+
((element._store.validated = 1),
|
|
654
|
+
(parentType = getCurrentComponentErrorInfo(parentType)),
|
|
655
|
+
!ownerHasKeyUseWarning[parentType])
|
|
656
|
+
) {
|
|
657
|
+
ownerHasKeyUseWarning[parentType] = true;
|
|
658
|
+
var childOwner = "";
|
|
659
|
+
element &&
|
|
660
|
+
null != element._owner &&
|
|
661
|
+
element._owner !== getOwner() &&
|
|
662
|
+
((childOwner = null),
|
|
663
|
+
"number" === typeof element._owner.tag
|
|
664
|
+
? (childOwner = getComponentNameFromType(element._owner.type))
|
|
665
|
+
: "string" === typeof element._owner.name &&
|
|
666
|
+
(childOwner = element._owner.name),
|
|
667
|
+
(childOwner = " It was passed a child from " + childOwner + "."));
|
|
668
|
+
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
669
|
+
ReactSharedInternals.getCurrentStack = function () {
|
|
670
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
671
|
+
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
672
|
+
return stack;
|
|
673
|
+
};
|
|
674
|
+
console.error(
|
|
675
|
+
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
676
|
+
parentType,
|
|
677
|
+
childOwner
|
|
678
|
+
);
|
|
679
|
+
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
function getCurrentComponentErrorInfo(parentType) {
|
|
683
|
+
var info = "",
|
|
684
|
+
owner = getOwner();
|
|
685
|
+
owner &&
|
|
686
|
+
(owner = getComponentNameFromType(owner.type)) &&
|
|
687
|
+
(info = "\n\nCheck the render method of `" + owner + "`.");
|
|
688
|
+
info ||
|
|
689
|
+
((parentType = getComponentNameFromType(parentType)) &&
|
|
690
|
+
(info =
|
|
691
|
+
"\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
692
|
+
return info;
|
|
693
|
+
}
|
|
694
|
+
var React$1 = React,
|
|
695
|
+
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
696
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
697
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
698
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
699
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
700
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
701
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
702
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
703
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
704
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
705
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
706
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
707
|
+
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
708
|
+
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
709
|
+
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
710
|
+
ReactSharedInternals =
|
|
711
|
+
React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
712
|
+
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
713
|
+
assign = Object.assign,
|
|
714
|
+
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
715
|
+
isArrayImpl = Array.isArray,
|
|
716
|
+
disabledDepth = 0,
|
|
717
|
+
prevLog,
|
|
718
|
+
prevInfo,
|
|
719
|
+
prevWarn,
|
|
720
|
+
prevError,
|
|
721
|
+
prevGroup,
|
|
722
|
+
prevGroupCollapsed,
|
|
723
|
+
prevGroupEnd;
|
|
724
|
+
disabledLog.__reactDisabledLog = true;
|
|
725
|
+
var prefix,
|
|
726
|
+
suffix,
|
|
727
|
+
reentry = false;
|
|
728
|
+
var componentFrameCache = new (
|
|
729
|
+
"function" === typeof WeakMap ? WeakMap : Map
|
|
730
|
+
)();
|
|
731
|
+
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
732
|
+
specialPropKeyWarningShown;
|
|
733
|
+
var didWarnAboutElementRef = {};
|
|
734
|
+
var didWarnAboutKeySpread = {},
|
|
735
|
+
ownerHasKeyUseWarning = {};
|
|
736
|
+
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
737
|
+
reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
|
|
738
|
+
return jsxDEVImpl(type, config, maybeKey, false, source, self);
|
|
739
|
+
};
|
|
740
|
+
reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
|
|
741
|
+
return jsxDEVImpl(type, config, maybeKey, true, source, self);
|
|
742
|
+
};
|
|
743
|
+
})();
|
|
744
|
+
return reactJsxRuntime_development;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
var hasRequiredJsxRuntime;
|
|
748
|
+
|
|
749
|
+
function requireJsxRuntime () {
|
|
750
|
+
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
751
|
+
hasRequiredJsxRuntime = 1;
|
|
752
|
+
|
|
753
|
+
if (process.env.NODE_ENV === 'production') {
|
|
754
|
+
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
755
|
+
} else {
|
|
756
|
+
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
757
|
+
}
|
|
758
|
+
return jsxRuntime.exports;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
var jsxRuntimeExports = requireJsxRuntime();
|
|
762
|
+
|
|
763
|
+
const Spin = () => (jsxRuntimeExports.jsx("style", { children: `@keyframes spin {
|
|
39
764
|
0% {
|
|
40
765
|
transform: rotate(0deg);
|
|
41
766
|
}
|
|
@@ -43,103 +768,21 @@ const Spin = () => (React.createElement("style", null, `@keyframes spin {
|
|
|
43
768
|
transform: rotate(360deg);
|
|
44
769
|
}
|
|
45
770
|
}
|
|
46
|
-
`));
|
|
771
|
+
` }));
|
|
47
772
|
const Spinner = ({ color = 'black', size = '1em', spinTime = '2s' }) => {
|
|
48
|
-
return (
|
|
49
|
-
React.createElement(Spin, null),
|
|
50
|
-
React.createElement("svg", { style: { animation: `spin ${spinTime} 0s linear infinite` }, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, xmlnsXlink: "http://www.w3.org/1999/xlink", fill: color },
|
|
51
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
52
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
53
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
54
|
-
React.createElement("title", null, "ic_fluent_spinner_ios_20_filled"),
|
|
55
|
-
React.createElement("desc", null, "Created with Sketch."),
|
|
56
|
-
React.createElement("g", { id: "\uD83D\uDD0D-System-Icons", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" },
|
|
57
|
-
React.createElement("g", { id: "ic_fluent_spinner_ios_20_filled", fill: color, fillRule: "nonzero" },
|
|
58
|
-
React.createElement("path", { d: "M10,3.5 C6.41015,3.5 3.5,6.41015 3.5,10 C3.5,10.4142 3.16421,10.75 2.75,10.75 C2.33579,10.75 2,10.4142 2,10 C2,5.58172 5.58172,2 10,2 C14.4183,2 18,5.58172 18,10 C18,14.4183 14.4183,18 10,18 C9.58579,18 9.25,17.6642 9.25,17.25 C9.25,16.8358 9.58579,16.5 10,16.5 C13.5899,16.5 16.5,13.5899 16.5,10 C16.5,6.41015 13.5899,3.5 10,3.5 Z", id: "\uD83C\uDFA8-Color" })))))));
|
|
773
|
+
return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Spin, {}), jsxRuntimeExports.jsxs("svg", { "data-testid": "spinner", style: { animation: `spin ${spinTime} 0s linear infinite` }, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, xmlnsXlink: "http://www.w3.org/1999/xlink", fill: color, children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsxs("g", { id: "SVGRepo_iconCarrier", children: [jsxRuntimeExports.jsx("title", { children: "ic_fluent_spinner_ios_20_filled" }), jsxRuntimeExports.jsx("desc", { children: "Created with Sketch." }), jsxRuntimeExports.jsx("g", { id: "\uD83D\uDD0D-System-Icons", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: jsxRuntimeExports.jsx("g", { id: "ic_fluent_spinner_ios_20_filled", fill: color, fillRule: "nonzero", children: jsxRuntimeExports.jsx("path", { d: "M10,3.5 C6.41015,3.5 3.5,6.41015 3.5,10 C3.5,10.4142 3.16421,10.75 2.75,10.75 C2.33579,10.75 2,10.4142 2,10 C2,5.58172 5.58172,2 10,2 C14.4183,2 18,5.58172 18,10 C18,14.4183 14.4183,18 10,18 C9.58579,18 9.25,17.6642 9.25,17.25 C9.25,16.8358 9.58579,16.5 10,16.5 C13.5899,16.5 16.5,13.5899 16.5,10 C16.5,6.41015 13.5899,3.5 10,3.5 Z", id: "\uD83C\uDFA8-Color" }) }) })] })] })] }));
|
|
59
774
|
};
|
|
60
775
|
|
|
61
776
|
const Button = (_a) => {
|
|
62
|
-
var { prefixElement, suffixElement, children, loading = false, spinner =
|
|
63
|
-
return (
|
|
64
|
-
prefixElement,
|
|
65
|
-
loading ? spinner : children,
|
|
66
|
-
suffixElement));
|
|
777
|
+
var { prefixElement, suffixElement, children, loading = false, spinner = jsxRuntimeExports.jsx(Spinner, { color: 'black', size: '1em' }), style } = _a, restProps = __rest(_a, ["prefixElement", "suffixElement", "children", "loading", "spinner", "style"]);
|
|
778
|
+
return (jsxRuntimeExports.jsxs("button", Object.assign({}, restProps, { style: Object.assign({ display: 'inline-flex', alignItems: 'center' }, style), children: [prefixElement, loading ? spinner : children, suffixElement] })));
|
|
67
779
|
};
|
|
68
780
|
|
|
69
781
|
const Input = (_a) => {
|
|
70
|
-
var _b;
|
|
782
|
+
var _b, _c;
|
|
71
783
|
var { prefixElement, suffixElement, className, style, containerStyle, containerClassName, showError = false, error, maxLength, showLimit = false } = _a, restProps = __rest(_a, ["prefixElement", "suffixElement", "className", "style", "containerStyle", "containerClassName", "showError", "error", "maxLength", "showLimit"]);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
setInputValue(e.target.value);
|
|
75
|
-
restProps.onChange(e);
|
|
76
|
-
};
|
|
77
|
-
return (React.createElement("span", { className: containerClassName, style: Object.assign({ position: 'relative', display: 'inline-flex', alignItems: 'center' }, containerStyle) },
|
|
78
|
-
prefixElement,
|
|
79
|
-
React.createElement("input", Object.assign({}, restProps, { value: inputValue, onChange: onChange, maxLength: maxLength, className: className, style: Object.assign({ all: 'unset' }, style) })),
|
|
80
|
-
showLimit && maxLength && (React.createElement("span", { className: 'max-length' }, (_b = (inputValue !== null && inputValue !== undefined ? inputValue : '').toString().length) !== null && _b !== undefined ? _b : 0,
|
|
81
|
-
"/",
|
|
82
|
-
maxLength)),
|
|
83
|
-
suffixElement,
|
|
84
|
-
showError &&
|
|
85
|
-
(typeof error === 'string' ? (React.createElement("span", { className: 'error-message', style: { position: 'absolute', top: '100%', left: 0 } }, error)) : (error))));
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
const UpArrowIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
89
|
-
return (React.createElement("svg", { width: size, height: size, fill: color, style: { backgroundColor: bgColor }, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
90
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
91
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
92
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
93
|
-
React.createElement("path", { d: "M3 19h18a1.002 1.002 0 0 0 .823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 0 0 3 19z" }))));
|
|
94
|
-
};
|
|
95
|
-
// COLLECTION: Boxicons Filled Icons
|
|
96
|
-
// LICENSE: CC Attribution License
|
|
97
|
-
// AUTHOR: boxicons
|
|
98
|
-
// https://www.svgrepo.com/svg/334957/up-arrow
|
|
99
|
-
|
|
100
|
-
const DownArrowIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
101
|
-
return (React.createElement("svg", { width: size, height: size, fill: color, style: { backgroundColor: bgColor }, viewBox: "0 0 24 24", transform: "matrix(1, 0, 0, -1, 0, 0)", xmlns: "http://www.w3.org/2000/svg" },
|
|
102
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
103
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
104
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
105
|
-
React.createElement("path", { d: "M3 19h18a1.002 1.002 0 0 0 .823-1.569l-9-13c-.373-.539-1.271-.539-1.645 0l-9 13A.999.999 0 0 0 3 19z" }))));
|
|
106
|
-
};
|
|
107
|
-
// COLLECTION: Boxicons Filled Icons
|
|
108
|
-
// LICENSE: CC Attribution License
|
|
109
|
-
// AUTHOR: boxicons
|
|
110
|
-
// https://www.svgrepo.com/svg/334957/up-arrow
|
|
111
|
-
|
|
112
|
-
const NumberInput = (_a) => {
|
|
113
|
-
var { increaseElement = React.createElement(UpArrowIcon, null), decreaseElement = React.createElement(DownArrowIcon, null), step = 1, min = -Infinity, max = Infinity, value, onChange } = _a, restProps = __rest(_a, ["increaseElement", "decreaseElement", "step", "min", "max", "value", "onChange"]);
|
|
114
|
-
const onNumberInput = (e) => {
|
|
115
|
-
const newValue = Number(e.target.value);
|
|
116
|
-
if (isNaN(newValue)) {
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
onChange(Object.assign(Object.assign({}, e), { target: Object.assign(Object.assign({}, e.target), { value: newValue.toString() }) }));
|
|
120
|
-
};
|
|
121
|
-
const onNumberChange = (dir) => {
|
|
122
|
-
if (isNaN(value)) {
|
|
123
|
-
onChange(null);
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
let newValue = (value !== null && value !== undefined ? value : 0) + dir * (step || 1);
|
|
127
|
-
if (newValue > max)
|
|
128
|
-
newValue = max;
|
|
129
|
-
if (newValue < min)
|
|
130
|
-
newValue = min;
|
|
131
|
-
const event = {
|
|
132
|
-
target: Object.assign(Object.assign({}, {}), { value: newValue.toString() }),
|
|
133
|
-
};
|
|
134
|
-
onChange(event);
|
|
135
|
-
};
|
|
136
|
-
const onIncrease = () => {
|
|
137
|
-
onNumberChange(1);
|
|
138
|
-
};
|
|
139
|
-
const onDecrease = () => {
|
|
140
|
-
onNumberChange(-1);
|
|
141
|
-
};
|
|
142
|
-
return (React.createElement(Input, Object.assign({}, restProps, { value: value, onChange: onNumberInput, prefixElement: React.cloneElement(decreaseElement, { onClick: onDecrease }), suffixElement: React.cloneElement(increaseElement, { onClick: onIncrease }) })));
|
|
784
|
+
return (jsxRuntimeExports.jsxs("span", { className: containerClassName, style: Object.assign({ position: 'relative', display: 'inline-flex', alignItems: 'center' }, containerStyle), children: [prefixElement, jsxRuntimeExports.jsx("input", Object.assign({}, restProps, { role: 'textbox', value: restProps.value, maxLength: maxLength, className: className, style: Object.assign({ all: 'unset' }, style) })), showLimit && maxLength && (jsxRuntimeExports.jsxs("span", { className: 'max-length', children: [(_c = ((_b = restProps.value) !== null && _b !== undefined ? _b : '').toString().length) !== null && _c !== undefined ? _c : 0, "/", maxLength] })), suffixElement, showError &&
|
|
785
|
+
(typeof error === 'string' ? (jsxRuntimeExports.jsx("span", { className: 'error-message', style: { position: 'absolute', top: '100%', left: 0 }, children: error })) : (error))] }));
|
|
143
786
|
};
|
|
144
787
|
|
|
145
788
|
const functionRow = [
|
|
@@ -357,15 +1000,9 @@ const DesktopKeyboardInput = ({ type = 'full-size', hasFunction = true, hasNumpa
|
|
|
357
1000
|
setIsShift(false);
|
|
358
1001
|
onKeyUp === null || onKeyUp === undefined ? undefined : onKeyUp(getKeyFromEvent(key.code));
|
|
359
1002
|
};
|
|
360
|
-
return row.map((key, idx) => (
|
|
1003
|
+
return row.map((key, idx) => (jsxRuntimeExports.jsx("div", Object.assign({ onMouseDown: () => onMouseDown(key), onMouseUp: () => onMouseUp(key) }, getCellStyle(key), { children: getLabel(key) }), `${key.code}-${idx}`)));
|
|
361
1004
|
};
|
|
362
|
-
return (
|
|
363
|
-
(['full-size', 'tenkeyless'].includes(type) || hasFunction) && (React.createElement("div", { style: { display: 'grid', gridTemplateColumns: `repeat(20, 1fr)`, gap: '2px' } }, renderRow(functionRow.flat()))),
|
|
364
|
-
React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' } }, renderRow(numberRow)),
|
|
365
|
-
React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(16, 1fr)', gap: '2px' } }, renderRow(qwertyRow)),
|
|
366
|
-
React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' } }, renderRow(homeRow)),
|
|
367
|
-
React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(14, 1fr)', gap: '2px' } }, renderRow(bottomRow)),
|
|
368
|
-
React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' } }, renderRow(spaceRow))));
|
|
1005
|
+
return (jsxRuntimeExports.jsxs("div", { style: style, className: className, children: [(['full-size', 'tenkeyless'].includes(type) || hasFunction) && (jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: `repeat(20, 1fr)`, gap: '2px' }, children: renderRow(functionRow.flat()) })), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(numberRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(16, 1fr)', gap: '2px' }, children: renderRow(qwertyRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(homeRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(14, 1fr)', gap: '2px' }, children: renderRow(bottomRow) }), jsxRuntimeExports.jsx("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(15, 1fr)', gap: '2px' }, children: renderRow(spaceRow) })] }));
|
|
369
1006
|
};
|
|
370
1007
|
|
|
371
1008
|
const RadioInput = (_a) => {
|
|
@@ -382,11 +1019,8 @@ const RadioInput = (_a) => {
|
|
|
382
1019
|
setSelected(result);
|
|
383
1020
|
onToggle === null || onToggle === undefined ? undefined : onToggle(Object.assign(Object.assign({}, e), { target: Object.assign(Object.assign({}, e.target), { id: uniqueId, checked: result, value: result }) }));
|
|
384
1021
|
};
|
|
385
|
-
return (
|
|
386
|
-
|
|
387
|
-
React.createElement("label", { htmlFor: uniqueId }, children),
|
|
388
|
-
showError &&
|
|
389
|
-
(typeof error === 'string' ? (React.createElement("span", { style: { position: 'absolute', top: '100%', left: 0 } }, error)) : (error))));
|
|
1022
|
+
return (jsxRuntimeExports.jsxs("span", { className: className, style: Object.assign({ position: 'relative' }, style), children: [jsxRuntimeExports.jsx("input", Object.assign({ id: uniqueId, type: 'radio', readOnly: true }, restProps, { checked: selected, onClick: onClick })), jsxRuntimeExports.jsx("label", { htmlFor: uniqueId, children: children }), showError &&
|
|
1023
|
+
(typeof error === 'string' ? (jsxRuntimeExports.jsx("span", { style: { position: 'absolute', top: '100%', left: 0 }, children: error })) : (error))] }));
|
|
390
1024
|
};
|
|
391
1025
|
|
|
392
1026
|
const RadioGroup = ({ title, style, className, children, value = [], onChange, clearable = false, allowMultiSelect = false, readOnly = false, disabled = false, showError = false, error, }) => {
|
|
@@ -414,27 +1048,24 @@ const RadioGroup = ({ title, style, className, children, value = [], onChange, c
|
|
|
414
1048
|
setSelectedValues(() => result);
|
|
415
1049
|
onChange === null || onChange === undefined ? undefined : onChange(result);
|
|
416
1050
|
};
|
|
417
|
-
return (
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
:
|
|
430
|
-
}),
|
|
431
|
-
showError &&
|
|
432
|
-
(typeof error === 'string' ? (React.createElement("span", { style: { position: 'absolute', top: '100%', left: 0 } }, error)) : (error))));
|
|
1051
|
+
return (jsxRuntimeExports.jsxs("span", { role: 'radiogroup', style: Object.assign({ position: 'relative' }, style), className: className, children: [typeof title === 'string' ? jsxRuntimeExports.jsx("h3", { children: title }) : title, React.Children.map(children, (child) => {
|
|
1052
|
+
const renderer = child;
|
|
1053
|
+
return React.isValidElement(renderer)
|
|
1054
|
+
? React.cloneElement(renderer, {
|
|
1055
|
+
selectedValues,
|
|
1056
|
+
onToggle,
|
|
1057
|
+
clearable,
|
|
1058
|
+
readOnly,
|
|
1059
|
+
disabled,
|
|
1060
|
+
})
|
|
1061
|
+
: null;
|
|
1062
|
+
}), showError &&
|
|
1063
|
+
(typeof error === 'string' ? (jsxRuntimeExports.jsx("span", { style: { position: 'absolute', top: '100%', left: 0 }, children: error })) : (error))] }));
|
|
433
1064
|
};
|
|
434
1065
|
const RadioGroupItem = (_a) => {
|
|
435
1066
|
var { selectedValues, onToggle, clearable, readOnly, disabled } = _a, restProps = __rest(_a, ["selectedValues", "onToggle", "clearable", "readOnly", "disabled"]);
|
|
436
1067
|
const uniqueId = useMemo(() => { var _a; return (_a = restProps.id) !== null && _a !== undefined ? _a : `radio-${crypto.randomUUID()}`; }, [restProps.id]);
|
|
437
|
-
return (
|
|
1068
|
+
return (jsxRuntimeExports.jsx(RadioInput, Object.assign({}, restProps, { clearable: clearable, readOnly: readOnly, disabled: disabled, id: uniqueId, checked: selectedValues === null || selectedValues === undefined ? undefined : selectedValues.includes(uniqueId), onToggle: (e) => {
|
|
438
1069
|
if (readOnly || disabled)
|
|
439
1070
|
return;
|
|
440
1071
|
onToggle === null || onToggle === undefined ? undefined : onToggle(e.target.id);
|
|
@@ -452,18 +1083,16 @@ const Modal = ({ opener, children, targetSelector = '#root', }) => {
|
|
|
452
1083
|
const onHandleShow = () => {
|
|
453
1084
|
setIsShow(true);
|
|
454
1085
|
};
|
|
455
|
-
return (
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
document.querySelector(targetSelector) &&
|
|
462
|
-
createPortal(children, document.querySelector(targetSelector))));
|
|
1086
|
+
return (jsxRuntimeExports.jsxs(ModalContext.Provider, { value: { isShow, setIsShow }, children: [React.isValidElement(opener) &&
|
|
1087
|
+
React.cloneElement(opener, {
|
|
1088
|
+
onClick: onHandleShow,
|
|
1089
|
+
}), isShow &&
|
|
1090
|
+
document.querySelector(targetSelector) &&
|
|
1091
|
+
createPortal(children, document.querySelector(targetSelector))] }));
|
|
463
1092
|
};
|
|
464
1093
|
const ModalOverlay = ({ backgroundColor = 'rgba(0,0,0,0.5)', children, style, className, zIndex = 999, }) => {
|
|
465
|
-
return (
|
|
466
|
-
backgroundColor }, style)
|
|
1094
|
+
return (jsxRuntimeExports.jsx("div", { className: className, style: Object.assign({ position: 'fixed', display: 'flex', justifyContent: 'center', alignItems: 'center', top: 0, right: 0, bottom: 0, left: 0, zIndex,
|
|
1095
|
+
backgroundColor }, style), children: children }));
|
|
467
1096
|
};
|
|
468
1097
|
const ModalCloseButton = (_a) => {
|
|
469
1098
|
var props = __rest(_a, []);
|
|
@@ -472,60 +1101,26 @@ const ModalCloseButton = (_a) => {
|
|
|
472
1101
|
throw new Error('ModalCloseButton must be used within a ModalContext.Provider');
|
|
473
1102
|
}
|
|
474
1103
|
const { setIsShow } = context;
|
|
475
|
-
return
|
|
1104
|
+
return jsxRuntimeExports.jsx(Button, Object.assign({}, props, { onClick: () => setIsShow(false) }));
|
|
476
1105
|
};
|
|
477
1106
|
Modal.Overlay = ModalOverlay;
|
|
478
1107
|
Modal.Closer = ModalCloseButton;
|
|
479
1108
|
|
|
480
1109
|
const CloseIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', }) => {
|
|
481
|
-
return (
|
|
482
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
483
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
484
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
485
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12 10.5858L17.2929 5.29289C17.6834 4.90237 18.3166 4.90237 18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L13.4142 12L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L12 13.4142L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289 17.2929L10.5858 12L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z", fill: color }))));
|
|
1110
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill: "none", style: { backgroundColor: bgColor }, xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12 10.5858L17.2929 5.29289C17.6834 4.90237 18.3166 4.90237 18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L13.4142 12L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L12 13.4142L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289 17.2929L10.5858 12L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z", fill: color }) })] }));
|
|
486
1111
|
};
|
|
487
|
-
// COLLECTION: Wave Oval Interface Icons
|
|
488
|
-
// LICENSE: PD License
|
|
489
|
-
// AUTHOR: Arthur Kazais
|
|
490
|
-
// https://www.svgrepo.com/svg/499592/close-x
|
|
491
1112
|
|
|
492
1113
|
const CallIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
493
|
-
return (
|
|
494
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
495
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
496
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
497
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.36343 6.36195C7.24343 5.43495 7.55443 5.17495 7.92943 5.05395C8.18895 4.98595 8.46112 4.98217 8.72243 5.04295C9.06643 5.14295 9.15743 5.21895 10.2854 6.34295C11.2764 7.32995 11.3754 7.43695 11.4704 7.62995C11.6521 7.96873 11.6805 8.36894 11.5484 8.72995C11.4484 9.00495 11.3064 9.18695 10.7054 9.78995L10.3134 10.183C10.2105 10.2876 10.1863 10.4464 10.2534 10.577C11.1244 12.0628 12.36 13.3019 13.8434 14.177C14.0142 14.2684 14.2245 14.2389 14.3634 14.104L14.7404 13.733C14.9734 13.4941 15.2202 13.2691 15.4794 13.059C15.8866 12.809 16.3939 12.7867 16.8214 13C17.0304 13.1 17.0994 13.162 18.1214 14.182C19.1754 15.233 19.2054 15.266 19.3214 15.507C19.5397 15.9059 19.5374 16.3891 19.3154 16.786C19.2024 17.01 19.1334 17.091 18.5404 17.697C18.1824 18.063 17.8454 18.397 17.7914 18.446C17.3022 18.851 16.6746 19.0497 16.0414 19C14.883 18.8944 13.7617 18.5363 12.7564 17.951C10.5296 16.7711 8.63383 15.0521 7.24243 12.951C6.93937 12.5112 6.66994 12.0492 6.43643 11.569C5.81001 10.4953 5.48653 9.27189 5.50043 8.02895C5.54825 7.37871 5.86008 6.77637 6.36343 6.36195Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }))));
|
|
1114
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 -0.5 25 25", width: size, height: size, fill: fill, style: { backgroundColor: bgColor }, xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.36343 6.36195C7.24343 5.43495 7.55443 5.17495 7.92943 5.05395C8.18895 4.98595 8.46112 4.98217 8.72243 5.04295C9.06643 5.14295 9.15743 5.21895 10.2854 6.34295C11.2764 7.32995 11.3754 7.43695 11.4704 7.62995C11.6521 7.96873 11.6805 8.36894 11.5484 8.72995C11.4484 9.00495 11.3064 9.18695 10.7054 9.78995L10.3134 10.183C10.2105 10.2876 10.1863 10.4464 10.2534 10.577C11.1244 12.0628 12.36 13.3019 13.8434 14.177C14.0142 14.2684 14.2245 14.2389 14.3634 14.104L14.7404 13.733C14.9734 13.4941 15.2202 13.2691 15.4794 13.059C15.8866 12.809 16.3939 12.7867 16.8214 13C17.0304 13.1 17.0994 13.162 18.1214 14.182C19.1754 15.233 19.2054 15.266 19.3214 15.507C19.5397 15.9059 19.5374 16.3891 19.3154 16.786C19.2024 17.01 19.1334 17.091 18.5404 17.697C18.1824 18.063 17.8454 18.397 17.7914 18.446C17.3022 18.851 16.6746 19.0497 16.0414 19C14.883 18.8944 13.7617 18.5363 12.7564 17.951C10.5296 16.7711 8.63383 15.0521 7.24243 12.951C6.93937 12.5112 6.66994 12.0492 6.43643 11.569C5.81001 10.4953 5.48653 9.27189 5.50043 8.02895C5.54825 7.37871 5.86008 6.77637 6.36343 6.36195Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })] }));
|
|
498
1115
|
};
|
|
499
|
-
// COLLECTION: Xnix Circular Interface Icons
|
|
500
|
-
// LICENSE: CC Attribution License
|
|
501
|
-
// AUTHOR: Ankush Syal
|
|
502
|
-
// https://www.svgrepo.com/svg/520583/call
|
|
503
1116
|
|
|
504
1117
|
const HomeIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
505
|
-
return (
|
|
506
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
507
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
508
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
509
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.867 15.8321L18.873 10.0391L14.75 5.92908C13.5057 4.69031 11.4942 4.69031 10.25 5.92908L6.13599 10.0291V15.8291C6.1393 17.5833 7.56377 19.0028 9.31799 19.0001H15.685C17.438 19.0029 18.862 17.5851 18.867 15.8321Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
510
|
-
React.createElement("path", { d: "M19.624 6.01807C19.624 5.60385 19.2882 5.26807 18.874 5.26807C18.4598 5.26807 18.124 5.60385 18.124 6.01807H19.624ZM18.874 10.0391H18.124C18.124 10.2384 18.2033 10.4295 18.3445 10.5702L18.874 10.0391ZM19.9705 12.1912C20.2638 12.4837 20.7387 12.4829 21.0311 12.1896C21.3236 11.8962 21.3229 11.4214 21.0295 11.1289L19.9705 12.1912ZM6.66552 10.5602C6.95886 10.2678 6.95959 9.79289 6.66714 9.49955C6.3747 9.20621 5.89982 9.20548 5.60648 9.49793L6.66552 10.5602ZM3.97048 11.1289C3.67714 11.4214 3.67641 11.8962 3.96886 12.1896C4.2613 12.4829 4.73618 12.4837 5.02952 12.1912L3.97048 11.1289ZM13.75 19.0001C13.75 19.4143 14.0858 19.7501 14.5 19.7501C14.9142 19.7501 15.25 19.4143 15.25 19.0001H13.75ZM9.75 19.0001C9.75 19.4143 10.0858 19.7501 10.5 19.7501C10.9142 19.7501 11.25 19.4143 11.25 19.0001H9.75ZM18.124 6.01807V10.0391H19.624V6.01807H18.124ZM18.3445 10.5702L19.9705 12.1912L21.0295 11.1289L19.4035 9.50792L18.3445 10.5702ZM5.60648 9.49793L3.97048 11.1289L5.02952 12.1912L6.66552 10.5602L5.60648 9.49793ZM15.25 19.0001V17.2201H13.75V19.0001H15.25ZM15.25 17.2201C15.25 15.7013 14.0188 14.4701 12.5 14.4701V15.9701C13.1904 15.9701 13.75 16.5297 13.75 17.2201H15.25ZM12.5 14.4701C10.9812 14.4701 9.75 15.7013 9.75 17.2201H11.25C11.25 16.5297 11.8096 15.9701 12.5 15.9701V14.4701ZM9.75 17.2201V19.0001H11.25V17.2201H9.75Z", fill: color }))));
|
|
1118
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 -0.5 25 25", width: size, height: size, fill: fill, style: { backgroundColor: bgColor }, xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsxs("g", { id: "SVGRepo_iconCarrier", children: [jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.867 15.8321L18.873 10.0391L14.75 5.92908C13.5057 4.69031 11.4942 4.69031 10.25 5.92908L6.13599 10.0291V15.8291C6.1393 17.5833 7.56377 19.0028 9.31799 19.0001H15.685C17.438 19.0029 18.862 17.5851 18.867 15.8321Z", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("path", { d: "M19.624 6.01807C19.624 5.60385 19.2882 5.26807 18.874 5.26807C18.4598 5.26807 18.124 5.60385 18.124 6.01807H19.624ZM18.874 10.0391H18.124C18.124 10.2384 18.2033 10.4295 18.3445 10.5702L18.874 10.0391ZM19.9705 12.1912C20.2638 12.4837 20.7387 12.4829 21.0311 12.1896C21.3236 11.8962 21.3229 11.4214 21.0295 11.1289L19.9705 12.1912ZM6.66552 10.5602C6.95886 10.2678 6.95959 9.79289 6.66714 9.49955C6.3747 9.20621 5.89982 9.20548 5.60648 9.49793L6.66552 10.5602ZM3.97048 11.1289C3.67714 11.4214 3.67641 11.8962 3.96886 12.1896C4.2613 12.4829 4.73618 12.4837 5.02952 12.1912L3.97048 11.1289ZM13.75 19.0001C13.75 19.4143 14.0858 19.7501 14.5 19.7501C14.9142 19.7501 15.25 19.4143 15.25 19.0001H13.75ZM9.75 19.0001C9.75 19.4143 10.0858 19.7501 10.5 19.7501C10.9142 19.7501 11.25 19.4143 11.25 19.0001H9.75ZM18.124 6.01807V10.0391H19.624V6.01807H18.124ZM18.3445 10.5702L19.9705 12.1912L21.0295 11.1289L19.4035 9.50792L18.3445 10.5702ZM5.60648 9.49793L3.97048 11.1289L5.02952 12.1912L6.66552 10.5602L5.60648 9.49793ZM15.25 19.0001V17.2201H13.75V19.0001H15.25ZM15.25 17.2201C15.25 15.7013 14.0188 14.4701 12.5 14.4701V15.9701C13.1904 15.9701 13.75 16.5297 13.75 17.2201H15.25ZM12.5 14.4701C10.9812 14.4701 9.75 15.7013 9.75 17.2201H11.25C11.25 16.5297 11.8096 15.9701 12.5 15.9701V14.4701ZM9.75 17.2201V19.0001H11.25V17.2201H9.75Z", fill: color })] })] }));
|
|
511
1119
|
};
|
|
512
|
-
// COLLECTION: Xnix Circular Interface Icons
|
|
513
|
-
// LICENSE: CC Attribution License
|
|
514
|
-
// AUTHOR: Ankush Syal
|
|
515
|
-
// https://www.svgrepo.com/svg/520794/home-20
|
|
516
1120
|
|
|
517
1121
|
const SearchIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fill = 'none', }) => {
|
|
518
|
-
return (
|
|
519
|
-
React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
|
|
520
|
-
React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
521
|
-
React.createElement("g", { id: "SVGRepo_iconCarrier" },
|
|
522
|
-
React.createElement("g", { id: "Interface / Search_Magnifying_Glass" },
|
|
523
|
-
React.createElement("path", { id: "Vector", d: "M15 15L21 21M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })))));
|
|
1122
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 24 24", width: size, height: size, fill: fill, style: { backgroundColor: bgColor }, xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntimeExports.jsx("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntimeExports.jsx("g", { id: "SVGRepo_iconCarrier", children: jsxRuntimeExports.jsx("g", { id: "Interface / Search_Magnifying_Glass", children: jsxRuntimeExports.jsx("path", { id: "Vector", d: "M15 15L21 21M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] }));
|
|
524
1123
|
};
|
|
525
|
-
// COLLECTION: Xnix Circular Interface Icons
|
|
526
|
-
// LICENSE: CC Attribution License
|
|
527
|
-
// AUTHOR: Ankush Syal
|
|
528
|
-
// https://www.svgrepo.com/svg/520583/call
|
|
529
1124
|
|
|
530
|
-
export { Button, CallIcon, CloseIcon, DesktopKeyboardInput, HomeIcon, Input, Modal,
|
|
1125
|
+
export { Button, CallIcon, CloseIcon, DesktopKeyboardInput, HomeIcon, Input, Modal, RadioGroup, RadioInput, SearchIcon, Spinner };
|
|
531
1126
|
//# sourceMappingURL=index.esm.js.map
|