@app-studio/web 0.8.60 → 0.8.61
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/Button/Button/Button.props.d.ts +3 -1
- package/dist/components/Icon/Icon.d.ts +5 -0
- package/dist/components/Text/Text/Text.props.d.ts +0 -1
- package/dist/components/Uploader/Uploader.d.ts +13 -0
- package/dist/components/Uploader/Uploader.props.d.ts +37 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/pages/upload.page.d.ts +3 -0
- package/dist/web.cjs.development.js +621 -186
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +616 -188
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +622 -190
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,9 @@ require('core-js/modules/es.string.includes.js');
|
|
|
18
18
|
require('core-js/modules/es.string.starts-with.js');
|
|
19
19
|
var format = _interopDefault(require('date-fns/format'));
|
|
20
20
|
var formik = require('formik');
|
|
21
|
+
require('core-js/modules/web.url.js');
|
|
22
|
+
require('core-js/modules/web.url.to-json.js');
|
|
23
|
+
require('core-js/modules/web.url-search-params.js');
|
|
21
24
|
var zustand = require('zustand');
|
|
22
25
|
|
|
23
26
|
var Top = props => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
@@ -81,7 +84,7 @@ var HeadingSizes = {
|
|
|
81
84
|
}
|
|
82
85
|
};
|
|
83
86
|
|
|
84
|
-
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "
|
|
87
|
+
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size"];
|
|
85
88
|
var TextContent = _ref => {
|
|
86
89
|
var {
|
|
87
90
|
children,
|
|
@@ -136,7 +139,6 @@ var TextView = _ref3 => {
|
|
|
136
139
|
isSub = false,
|
|
137
140
|
isSup = false,
|
|
138
141
|
isStriked = false,
|
|
139
|
-
isTruncated = false,
|
|
140
142
|
weight = 'normal',
|
|
141
143
|
size = 'md'
|
|
142
144
|
} = _ref3,
|
|
@@ -152,7 +154,7 @@ var TextView = _ref3 => {
|
|
|
152
154
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
153
155
|
fontWeight: appStudio.Typography.fontWeights[weight],
|
|
154
156
|
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
155
|
-
}, noLineBreak, headingStyles, props),
|
|
157
|
+
}, noLineBreak, headingStyles, props), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
156
158
|
text: children,
|
|
157
159
|
maxLines: maxLines
|
|
158
160
|
})) : (/*#__PURE__*/React__default.createElement(TextContent, Object.assign({
|
|
@@ -247,18 +249,18 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
247
249
|
_excluded22 = ["size", "color", "filled", "strokeWidth"],
|
|
248
250
|
_excluded23 = ["size", "color", "filled", "strokeWidth"],
|
|
249
251
|
_excluded24 = ["size", "color", "filled", "strokeWidth"],
|
|
250
|
-
_excluded25 = ["size", "color", "
|
|
252
|
+
_excluded25 = ["size", "color", "filled", "strokeWidth"],
|
|
251
253
|
_excluded26 = ["size", "color", "filled", "strokeWidth"],
|
|
252
|
-
_excluded27 = ["size", "color", "
|
|
254
|
+
_excluded27 = ["size", "color", "filled", "strokeWidth"],
|
|
253
255
|
_excluded28 = ["size", "color", "filled", "strokeWidth"],
|
|
254
|
-
_excluded29 = ["size", "color", "
|
|
255
|
-
_excluded30 = ["size", "color", "
|
|
256
|
-
_excluded31 = ["size", "color", "
|
|
257
|
-
_excluded32 = ["size", "color", "
|
|
256
|
+
_excluded29 = ["size", "color", "filled", "strokeWidth"],
|
|
257
|
+
_excluded30 = ["size", "color", "strokeWidth", "filled"],
|
|
258
|
+
_excluded31 = ["size", "color", "filled", "strokeWidth"],
|
|
259
|
+
_excluded32 = ["size", "color", "strokeWidth", "filled"],
|
|
258
260
|
_excluded33 = ["size", "color", "filled", "strokeWidth"],
|
|
259
|
-
_excluded34 = ["size", "color", "
|
|
261
|
+
_excluded34 = ["size", "color", "strokeWidth", "filled"],
|
|
260
262
|
_excluded35 = ["size", "color", "filled", "strokeWidth"],
|
|
261
|
-
_excluded36 = ["size", "color", "
|
|
263
|
+
_excluded36 = ["size", "color", "strokeWidth", "filled"],
|
|
262
264
|
_excluded37 = ["size", "color", "filled", "strokeWidth"],
|
|
263
265
|
_excluded38 = ["size", "color", "filled", "strokeWidth"],
|
|
264
266
|
_excluded39 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -266,13 +268,13 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
266
268
|
_excluded41 = ["size", "color", "filled", "strokeWidth"],
|
|
267
269
|
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
268
270
|
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
269
|
-
_excluded44 = ["size", "color", "
|
|
270
|
-
_excluded45 = ["size", "color", "
|
|
271
|
+
_excluded44 = ["size", "color", "filled", "strokeWidth"],
|
|
272
|
+
_excluded45 = ["size", "color", "filled", "strokeWidth"],
|
|
271
273
|
_excluded46 = ["size", "color", "filled", "strokeWidth"],
|
|
272
274
|
_excluded47 = ["size", "color", "filled", "strokeWidth"],
|
|
273
275
|
_excluded48 = ["size", "color", "filled", "strokeWidth"],
|
|
274
|
-
_excluded49 = ["size", "color", "
|
|
275
|
-
_excluded50 = ["size", "color", "
|
|
276
|
+
_excluded49 = ["size", "color", "strokeWidth", "filled"],
|
|
277
|
+
_excluded50 = ["size", "color", "strokeWidth", "filled"],
|
|
276
278
|
_excluded51 = ["size", "color", "filled", "strokeWidth"],
|
|
277
279
|
_excluded52 = ["size", "color", "filled", "strokeWidth"],
|
|
278
280
|
_excluded53 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -281,7 +283,12 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
281
283
|
_excluded56 = ["size", "color", "filled", "strokeWidth"],
|
|
282
284
|
_excluded57 = ["size", "color", "filled", "strokeWidth"],
|
|
283
285
|
_excluded58 = ["size", "color", "filled", "strokeWidth"],
|
|
284
|
-
_excluded59 = ["size", "color", "
|
|
286
|
+
_excluded59 = ["size", "color", "filled", "strokeWidth"],
|
|
287
|
+
_excluded60 = ["size", "color", "filled", "strokeWidth"],
|
|
288
|
+
_excluded61 = ["size", "color", "filled", "strokeWidth"],
|
|
289
|
+
_excluded62 = ["size", "color", "filled", "strokeWidth"],
|
|
290
|
+
_excluded63 = ["size", "color", "filled", "strokeWidth"],
|
|
291
|
+
_excluded64 = ["size", "color", "strokeWidth", "filled"];
|
|
285
292
|
// Default wrapper component for consistent sizing and styling
|
|
286
293
|
var IconWrapper = _ref => {
|
|
287
294
|
var {
|
|
@@ -371,7 +378,8 @@ var DragHandleIcon = _ref3 => {
|
|
|
371
378
|
r: "2"
|
|
372
379
|
}))));
|
|
373
380
|
};
|
|
374
|
-
|
|
381
|
+
// File Icon Component
|
|
382
|
+
var FileIcon = _ref4 => {
|
|
375
383
|
var {
|
|
376
384
|
size = 24,
|
|
377
385
|
color = 'currentColor',
|
|
@@ -387,13 +395,19 @@ var TwitterIcon = _ref4 => {
|
|
|
387
395
|
"aria-hidden": "true",
|
|
388
396
|
focusable: "false"
|
|
389
397
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
390
|
-
d: "
|
|
398
|
+
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
391
399
|
fill: filled ? color : 'none',
|
|
392
400
|
stroke: filled ? 'none' : color,
|
|
393
401
|
strokeWidth: filled ? 0 : strokeWidth
|
|
402
|
+
}), /*#__PURE__*/React__default.createElement("polyline", {
|
|
403
|
+
points: "14 2 14 8 20 8",
|
|
404
|
+
fill: "none",
|
|
405
|
+
stroke: color,
|
|
406
|
+
strokeWidth: strokeWidth
|
|
394
407
|
})));
|
|
395
408
|
};
|
|
396
|
-
|
|
409
|
+
// Video Icon Component
|
|
410
|
+
var VideoIcon = _ref5 => {
|
|
397
411
|
var {
|
|
398
412
|
size = 24,
|
|
399
413
|
color = 'currentColor',
|
|
@@ -408,6 +422,100 @@ var XIcon = _ref5 => {
|
|
|
408
422
|
viewBox: "0 0 24 24",
|
|
409
423
|
"aria-hidden": "true",
|
|
410
424
|
focusable: "false"
|
|
425
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("rect", {
|
|
426
|
+
x: "2",
|
|
427
|
+
y: "4",
|
|
428
|
+
width: "20",
|
|
429
|
+
height: "16",
|
|
430
|
+
rx: "2",
|
|
431
|
+
ry: "2",
|
|
432
|
+
fill: filled ? color : 'none',
|
|
433
|
+
stroke: filled ? 'none' : color,
|
|
434
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
435
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
436
|
+
points: "10 8 16 12 10 16 10 8",
|
|
437
|
+
fill: filled ? filled ? 'white' : color : 'none',
|
|
438
|
+
stroke: filled ? 'none' : color,
|
|
439
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
440
|
+
})));
|
|
441
|
+
};
|
|
442
|
+
// Image Icon Component
|
|
443
|
+
var ImageIcon = _ref6 => {
|
|
444
|
+
var {
|
|
445
|
+
size = 24,
|
|
446
|
+
color = 'currentColor',
|
|
447
|
+
filled = true,
|
|
448
|
+
strokeWidth = 1
|
|
449
|
+
} = _ref6,
|
|
450
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
451
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
452
|
+
size: size,
|
|
453
|
+
color: color
|
|
454
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
455
|
+
viewBox: "0 0 24 24",
|
|
456
|
+
"aria-hidden": "true",
|
|
457
|
+
focusable: "false"
|
|
458
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("rect", {
|
|
459
|
+
x: "2",
|
|
460
|
+
y: "2",
|
|
461
|
+
width: "20",
|
|
462
|
+
height: "20",
|
|
463
|
+
rx: "2",
|
|
464
|
+
ry: "2",
|
|
465
|
+
fill: filled ? color : 'none',
|
|
466
|
+
stroke: filled ? 'none' : color,
|
|
467
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
468
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
469
|
+
cx: "8.5",
|
|
470
|
+
cy: "8.5",
|
|
471
|
+
r: "1.5",
|
|
472
|
+
fill: filled ? filled ? 'white' : color : 'none',
|
|
473
|
+
stroke: filled ? 'none' : color,
|
|
474
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
475
|
+
}), /*#__PURE__*/React__default.createElement("polyline", {
|
|
476
|
+
points: "21 15 16 10 5 21",
|
|
477
|
+
fill: "none",
|
|
478
|
+
stroke: filled ? 'white' : color,
|
|
479
|
+
strokeWidth: strokeWidth
|
|
480
|
+
})));
|
|
481
|
+
};
|
|
482
|
+
var TwitterIcon = _ref7 => {
|
|
483
|
+
var {
|
|
484
|
+
size = 24,
|
|
485
|
+
color = 'currentColor',
|
|
486
|
+
filled = true,
|
|
487
|
+
strokeWidth = 1
|
|
488
|
+
} = _ref7,
|
|
489
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
490
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
491
|
+
size: size,
|
|
492
|
+
color: color
|
|
493
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
494
|
+
viewBox: "0 0 24 24",
|
|
495
|
+
"aria-hidden": "true",
|
|
496
|
+
focusable: "false"
|
|
497
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
498
|
+
d: "M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",
|
|
499
|
+
fill: filled ? color : 'none',
|
|
500
|
+
stroke: filled ? 'none' : color,
|
|
501
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
502
|
+
})));
|
|
503
|
+
};
|
|
504
|
+
var XIcon = _ref8 => {
|
|
505
|
+
var {
|
|
506
|
+
size = 24,
|
|
507
|
+
color = 'currentColor',
|
|
508
|
+
filled = true,
|
|
509
|
+
strokeWidth = 1
|
|
510
|
+
} = _ref8,
|
|
511
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
512
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
513
|
+
size: size,
|
|
514
|
+
color: color
|
|
515
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
516
|
+
viewBox: "0 0 24 24",
|
|
517
|
+
"aria-hidden": "true",
|
|
518
|
+
focusable: "false"
|
|
411
519
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
412
520
|
d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",
|
|
413
521
|
fill: filled ? color : 'none',
|
|
@@ -416,14 +524,14 @@ var XIcon = _ref5 => {
|
|
|
416
524
|
})));
|
|
417
525
|
};
|
|
418
526
|
// Example of a Twitch Icon
|
|
419
|
-
var TwitchIcon =
|
|
527
|
+
var TwitchIcon = _ref9 => {
|
|
420
528
|
var {
|
|
421
529
|
size = 24,
|
|
422
530
|
color = 'currentColor',
|
|
423
531
|
filled = true,
|
|
424
532
|
strokeWidth = 1
|
|
425
|
-
} =
|
|
426
|
-
props = _objectWithoutPropertiesLoose(
|
|
533
|
+
} = _ref9,
|
|
534
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
427
535
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
428
536
|
size: size,
|
|
429
537
|
color: color
|
|
@@ -444,14 +552,14 @@ var TwitchIcon = _ref6 => {
|
|
|
444
552
|
})));
|
|
445
553
|
};
|
|
446
554
|
// Example of another Icon: CloseIcon
|
|
447
|
-
var CloseIcon =
|
|
555
|
+
var CloseIcon = _ref10 => {
|
|
448
556
|
var {
|
|
449
557
|
size = 24,
|
|
450
558
|
color = 'currentColor',
|
|
451
559
|
filled = false,
|
|
452
560
|
strokeWidth = 1
|
|
453
|
-
} =
|
|
454
|
-
props = _objectWithoutPropertiesLoose(
|
|
561
|
+
} = _ref10,
|
|
562
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
455
563
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
456
564
|
size: size,
|
|
457
565
|
color: color
|
|
@@ -473,14 +581,14 @@ var CloseIcon = _ref7 => {
|
|
|
473
581
|
y2: "18"
|
|
474
582
|
})));
|
|
475
583
|
};
|
|
476
|
-
var InstagramIcon =
|
|
584
|
+
var InstagramIcon = _ref11 => {
|
|
477
585
|
var {
|
|
478
586
|
size = 24,
|
|
479
587
|
color = 'currentColor',
|
|
480
588
|
filled = false,
|
|
481
589
|
strokeWidth = 1
|
|
482
|
-
} =
|
|
483
|
-
props = _objectWithoutPropertiesLoose(
|
|
590
|
+
} = _ref11,
|
|
591
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
484
592
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
485
593
|
size: size,
|
|
486
594
|
color: color
|
|
@@ -504,14 +612,14 @@ var InstagramIcon = _ref8 => {
|
|
|
504
612
|
y2: "6.5"
|
|
505
613
|
})));
|
|
506
614
|
};
|
|
507
|
-
var YoutubeIcon =
|
|
615
|
+
var YoutubeIcon = _ref12 => {
|
|
508
616
|
var {
|
|
509
617
|
size = 24,
|
|
510
618
|
color = 'currentColor',
|
|
511
619
|
filled = true,
|
|
512
620
|
strokeWidth = 1
|
|
513
|
-
} =
|
|
514
|
-
props = _objectWithoutPropertiesLoose(
|
|
621
|
+
} = _ref12,
|
|
622
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
515
623
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
516
624
|
size: size,
|
|
517
625
|
color: color
|
|
@@ -532,14 +640,14 @@ var YoutubeIcon = _ref9 => {
|
|
|
532
640
|
strokeWidth: strokeWidth
|
|
533
641
|
})));
|
|
534
642
|
};
|
|
535
|
-
var FacebookIcon =
|
|
643
|
+
var FacebookIcon = _ref13 => {
|
|
536
644
|
var {
|
|
537
645
|
size = 24,
|
|
538
646
|
color = 'currentColor',
|
|
539
647
|
filled = true,
|
|
540
648
|
strokeWidth = 1
|
|
541
|
-
} =
|
|
542
|
-
props = _objectWithoutPropertiesLoose(
|
|
649
|
+
} = _ref13,
|
|
650
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
543
651
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
544
652
|
size: size,
|
|
545
653
|
color: color
|
|
@@ -554,14 +662,14 @@ var FacebookIcon = _ref10 => {
|
|
|
554
662
|
strokeWidth: filled ? 0 : strokeWidth
|
|
555
663
|
})));
|
|
556
664
|
};
|
|
557
|
-
var LinkedinIcon =
|
|
665
|
+
var LinkedinIcon = _ref14 => {
|
|
558
666
|
var {
|
|
559
667
|
size = 24,
|
|
560
668
|
color = 'currentColor',
|
|
561
669
|
filled = true,
|
|
562
670
|
strokeWidth = 1
|
|
563
|
-
} =
|
|
564
|
-
props = _objectWithoutPropertiesLoose(
|
|
671
|
+
} = _ref14,
|
|
672
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
565
673
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
566
674
|
size: size,
|
|
567
675
|
color: color
|
|
@@ -580,14 +688,14 @@ var LinkedinIcon = _ref11 => {
|
|
|
580
688
|
r: "2"
|
|
581
689
|
})));
|
|
582
690
|
};
|
|
583
|
-
var ThreadsIcon =
|
|
691
|
+
var ThreadsIcon = _ref15 => {
|
|
584
692
|
var {
|
|
585
693
|
size = 24,
|
|
586
694
|
color = 'currentColor',
|
|
587
695
|
filled = false,
|
|
588
696
|
strokeWidth = 1
|
|
589
|
-
} =
|
|
590
|
-
props = _objectWithoutPropertiesLoose(
|
|
697
|
+
} = _ref15,
|
|
698
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
591
699
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
592
700
|
size: size,
|
|
593
701
|
color: color
|
|
@@ -602,15 +710,15 @@ var ThreadsIcon = _ref12 => {
|
|
|
602
710
|
})));
|
|
603
711
|
};
|
|
604
712
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
605
|
-
var MinusIcon =
|
|
713
|
+
var MinusIcon = _ref16 => {
|
|
606
714
|
var {
|
|
607
715
|
size = 24,
|
|
608
716
|
color = 'currentColor',
|
|
609
717
|
filled = false,
|
|
610
718
|
// Assuming minus can be filled; adjust as needed
|
|
611
719
|
strokeWidth = 1
|
|
612
|
-
} =
|
|
613
|
-
props = _objectWithoutPropertiesLoose(
|
|
720
|
+
} = _ref16,
|
|
721
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
614
722
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
615
723
|
size: size,
|
|
616
724
|
color: color
|
|
@@ -627,14 +735,14 @@ var MinusIcon = _ref13 => {
|
|
|
627
735
|
})));
|
|
628
736
|
};
|
|
629
737
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
630
|
-
var InfoIcon =
|
|
738
|
+
var InfoIcon = _ref17 => {
|
|
631
739
|
var {
|
|
632
740
|
size = 24,
|
|
633
741
|
color = 'currentColor',
|
|
634
742
|
filled = false,
|
|
635
743
|
strokeWidth = 1
|
|
636
|
-
} =
|
|
637
|
-
props = _objectWithoutPropertiesLoose(
|
|
744
|
+
} = _ref17,
|
|
745
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
638
746
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
639
747
|
size: size,
|
|
640
748
|
color: color
|
|
@@ -648,14 +756,52 @@ var InfoIcon = _ref14 => {
|
|
|
648
756
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"
|
|
649
757
|
})));
|
|
650
758
|
};
|
|
651
|
-
var
|
|
759
|
+
var PlayIcon = _ref18 => {
|
|
652
760
|
var {
|
|
653
761
|
size = 24,
|
|
654
762
|
color = 'currentColor',
|
|
655
763
|
filled = true,
|
|
656
764
|
strokeWidth = 1
|
|
657
|
-
} =
|
|
658
|
-
props = _objectWithoutPropertiesLoose(
|
|
765
|
+
} = _ref18,
|
|
766
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
767
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
768
|
+
size: size,
|
|
769
|
+
color: color
|
|
770
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
771
|
+
viewBox: "0 0 24 24",
|
|
772
|
+
"aria-hidden": "false",
|
|
773
|
+
focusable: "false"
|
|
774
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
775
|
+
d: "M8 5v14l11-7z"
|
|
776
|
+
})));
|
|
777
|
+
};
|
|
778
|
+
var PauseIcon = _ref19 => {
|
|
779
|
+
var {
|
|
780
|
+
size = 24,
|
|
781
|
+
color = 'currentColor',
|
|
782
|
+
filled = true,
|
|
783
|
+
strokeWidth = 1
|
|
784
|
+
} = _ref19,
|
|
785
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
786
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
787
|
+
size: size,
|
|
788
|
+
color: color
|
|
789
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
790
|
+
viewBox: "0 0 24 24",
|
|
791
|
+
"aria-hidden": "false",
|
|
792
|
+
focusable: "false"
|
|
793
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
794
|
+
d: "M6 4h4v16H6V4zm8 0h4v16h-4V4z"
|
|
795
|
+
})));
|
|
796
|
+
};
|
|
797
|
+
var HeartIcon = _ref20 => {
|
|
798
|
+
var {
|
|
799
|
+
size = 24,
|
|
800
|
+
color = 'currentColor',
|
|
801
|
+
filled = true,
|
|
802
|
+
strokeWidth = 1
|
|
803
|
+
} = _ref20,
|
|
804
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
659
805
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
660
806
|
size: size,
|
|
661
807
|
color: color
|
|
@@ -667,14 +813,14 @@ var HeartIcon = _ref15 => {
|
|
|
667
813
|
d: "M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"
|
|
668
814
|
})));
|
|
669
815
|
};
|
|
670
|
-
var StarIcon =
|
|
816
|
+
var StarIcon = _ref21 => {
|
|
671
817
|
var {
|
|
672
818
|
size = 24,
|
|
673
819
|
color = 'currentColor',
|
|
674
820
|
filled = true,
|
|
675
821
|
strokeWidth = 1
|
|
676
|
-
} =
|
|
677
|
-
props = _objectWithoutPropertiesLoose(
|
|
822
|
+
} = _ref21,
|
|
823
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
678
824
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
679
825
|
size: size,
|
|
680
826
|
color: color
|
|
@@ -686,14 +832,14 @@ var StarIcon = _ref16 => {
|
|
|
686
832
|
points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
|
687
833
|
})));
|
|
688
834
|
};
|
|
689
|
-
var SaveIcon =
|
|
835
|
+
var SaveIcon = _ref22 => {
|
|
690
836
|
var {
|
|
691
837
|
size = 24,
|
|
692
838
|
color = 'currentColor',
|
|
693
839
|
filled = false,
|
|
694
840
|
strokeWidth = 1
|
|
695
|
-
} =
|
|
696
|
-
props = _objectWithoutPropertiesLoose(
|
|
841
|
+
} = _ref22,
|
|
842
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
697
843
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
698
844
|
size: size,
|
|
699
845
|
color: color
|
|
@@ -709,14 +855,14 @@ var SaveIcon = _ref17 => {
|
|
|
709
855
|
points: "7 3 7 8 15 8"
|
|
710
856
|
})));
|
|
711
857
|
};
|
|
712
|
-
var WarningIcon =
|
|
858
|
+
var WarningIcon = _ref23 => {
|
|
713
859
|
var {
|
|
714
860
|
size = 24,
|
|
715
861
|
color = 'currentColor',
|
|
716
862
|
filled = false,
|
|
717
863
|
strokeWidth = 1
|
|
718
|
-
} =
|
|
719
|
-
props = _objectWithoutPropertiesLoose(
|
|
864
|
+
} = _ref23,
|
|
865
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
720
866
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
721
867
|
size: size,
|
|
722
868
|
color: color
|
|
@@ -740,14 +886,14 @@ var WarningIcon = _ref18 => {
|
|
|
740
886
|
y2: "15"
|
|
741
887
|
})));
|
|
742
888
|
};
|
|
743
|
-
var BatteryIcon =
|
|
889
|
+
var BatteryIcon = _ref24 => {
|
|
744
890
|
var {
|
|
745
891
|
size = 24,
|
|
746
892
|
color = 'currentColor',
|
|
747
893
|
filled = true,
|
|
748
894
|
strokeWidth = 1
|
|
749
|
-
} =
|
|
750
|
-
props = _objectWithoutPropertiesLoose(
|
|
895
|
+
} = _ref24,
|
|
896
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
751
897
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
752
898
|
size: size,
|
|
753
899
|
color: color
|
|
@@ -759,14 +905,14 @@ var BatteryIcon = _ref19 => {
|
|
|
759
905
|
d: "M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"
|
|
760
906
|
})));
|
|
761
907
|
};
|
|
762
|
-
var BookmarkIcon =
|
|
908
|
+
var BookmarkIcon = _ref25 => {
|
|
763
909
|
var {
|
|
764
910
|
size = 24,
|
|
765
911
|
color = 'currentColor',
|
|
766
912
|
filled = false,
|
|
767
913
|
strokeWidth = 1
|
|
768
|
-
} =
|
|
769
|
-
props = _objectWithoutPropertiesLoose(
|
|
914
|
+
} = _ref25,
|
|
915
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
770
916
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
771
917
|
size: size,
|
|
772
918
|
color: color
|
|
@@ -778,14 +924,14 @@ var BookmarkIcon = _ref20 => {
|
|
|
778
924
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
779
925
|
})));
|
|
780
926
|
};
|
|
781
|
-
var CloudIcon =
|
|
927
|
+
var CloudIcon = _ref26 => {
|
|
782
928
|
var {
|
|
783
929
|
size = 24,
|
|
784
930
|
color = 'currentColor',
|
|
785
931
|
filled = true,
|
|
786
932
|
strokeWidth = 1
|
|
787
|
-
} =
|
|
788
|
-
props = _objectWithoutPropertiesLoose(
|
|
933
|
+
} = _ref26,
|
|
934
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
789
935
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
790
936
|
size: size,
|
|
791
937
|
color: color
|
|
@@ -797,14 +943,14 @@ var CloudIcon = _ref21 => {
|
|
|
797
943
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
798
944
|
})));
|
|
799
945
|
};
|
|
800
|
-
var CopyIcon =
|
|
946
|
+
var CopyIcon = _ref27 => {
|
|
801
947
|
var {
|
|
802
948
|
size = 24,
|
|
803
949
|
color = 'currentColor',
|
|
804
950
|
filled = false,
|
|
805
951
|
strokeWidth = 1
|
|
806
|
-
} =
|
|
807
|
-
props = _objectWithoutPropertiesLoose(
|
|
952
|
+
} = _ref27,
|
|
953
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
808
954
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
809
955
|
size: size,
|
|
810
956
|
color: color
|
|
@@ -823,14 +969,14 @@ var CopyIcon = _ref22 => {
|
|
|
823
969
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
824
970
|
})));
|
|
825
971
|
};
|
|
826
|
-
var DustBinIcon =
|
|
972
|
+
var DustBinIcon = _ref28 => {
|
|
827
973
|
var {
|
|
828
974
|
size = 24,
|
|
829
975
|
color = 'currentColor',
|
|
830
976
|
filled = false,
|
|
831
977
|
strokeWidth = 1
|
|
832
|
-
} =
|
|
833
|
-
props = _objectWithoutPropertiesLoose(
|
|
978
|
+
} = _ref28,
|
|
979
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
834
980
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
835
981
|
size: size,
|
|
836
982
|
color: color
|
|
@@ -842,14 +988,14 @@ var DustBinIcon = _ref23 => {
|
|
|
842
988
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
843
989
|
})));
|
|
844
990
|
};
|
|
845
|
-
var EditIcon =
|
|
991
|
+
var EditIcon = _ref29 => {
|
|
846
992
|
var {
|
|
847
993
|
size = 24,
|
|
848
994
|
color = 'currentColor',
|
|
849
995
|
filled = false,
|
|
850
996
|
strokeWidth = 1
|
|
851
|
-
} =
|
|
852
|
-
props = _objectWithoutPropertiesLoose(
|
|
997
|
+
} = _ref29,
|
|
998
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
853
999
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
854
1000
|
size: size,
|
|
855
1001
|
color: color
|
|
@@ -861,14 +1007,14 @@ var EditIcon = _ref24 => {
|
|
|
861
1007
|
d: "M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"
|
|
862
1008
|
})));
|
|
863
1009
|
};
|
|
864
|
-
var ErrorIcon =
|
|
1010
|
+
var ErrorIcon = _ref30 => {
|
|
865
1011
|
var {
|
|
866
1012
|
size = 24,
|
|
867
1013
|
color = 'currentColor',
|
|
868
1014
|
strokeWidth = 1,
|
|
869
1015
|
filled = true
|
|
870
|
-
} =
|
|
871
|
-
props = _objectWithoutPropertiesLoose(
|
|
1016
|
+
} = _ref30,
|
|
1017
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
872
1018
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
873
1019
|
size: size,
|
|
874
1020
|
color: color
|
|
@@ -894,14 +1040,14 @@ var ErrorIcon = _ref25 => {
|
|
|
894
1040
|
stroke: filled ? 'white' : color
|
|
895
1041
|
})));
|
|
896
1042
|
};
|
|
897
|
-
var DownloadIcon =
|
|
1043
|
+
var DownloadIcon = _ref31 => {
|
|
898
1044
|
var {
|
|
899
1045
|
size = 24,
|
|
900
1046
|
color = 'currentColor',
|
|
901
1047
|
filled = true,
|
|
902
1048
|
strokeWidth = 1
|
|
903
|
-
} =
|
|
904
|
-
props = _objectWithoutPropertiesLoose(
|
|
1049
|
+
} = _ref31,
|
|
1050
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
905
1051
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
906
1052
|
size: size,
|
|
907
1053
|
color: color
|
|
@@ -913,14 +1059,14 @@ var DownloadIcon = _ref26 => {
|
|
|
913
1059
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
914
1060
|
})));
|
|
915
1061
|
};
|
|
916
|
-
var MenuIcon =
|
|
1062
|
+
var MenuIcon = _ref32 => {
|
|
917
1063
|
var {
|
|
918
1064
|
size = 24,
|
|
919
1065
|
color = 'currentColor',
|
|
920
1066
|
strokeWidth = 1,
|
|
921
1067
|
filled = false
|
|
922
|
-
} =
|
|
923
|
-
props = _objectWithoutPropertiesLoose(
|
|
1068
|
+
} = _ref32,
|
|
1069
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
924
1070
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
925
1071
|
size: size,
|
|
926
1072
|
color: color
|
|
@@ -948,14 +1094,14 @@ var MenuIcon = _ref27 => {
|
|
|
948
1094
|
y2: "18"
|
|
949
1095
|
})));
|
|
950
1096
|
};
|
|
951
|
-
var ShareIcon =
|
|
1097
|
+
var ShareIcon = _ref33 => {
|
|
952
1098
|
var {
|
|
953
1099
|
size = 24,
|
|
954
1100
|
color = 'currentColor',
|
|
955
1101
|
filled = false,
|
|
956
1102
|
strokeWidth = 1
|
|
957
|
-
} =
|
|
958
|
-
props = _objectWithoutPropertiesLoose(
|
|
1103
|
+
} = _ref33,
|
|
1104
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
959
1105
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
960
1106
|
size: size,
|
|
961
1107
|
color: color
|
|
@@ -989,14 +1135,14 @@ var ShareIcon = _ref28 => {
|
|
|
989
1135
|
y2: "10.49"
|
|
990
1136
|
})));
|
|
991
1137
|
};
|
|
992
|
-
var RefreshIcon =
|
|
1138
|
+
var RefreshIcon = _ref34 => {
|
|
993
1139
|
var {
|
|
994
1140
|
size = 24,
|
|
995
1141
|
color = 'currentColor',
|
|
996
1142
|
strokeWidth = 1,
|
|
997
1143
|
filled = false
|
|
998
|
-
} =
|
|
999
|
-
props = _objectWithoutPropertiesLoose(
|
|
1144
|
+
} = _ref34,
|
|
1145
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1000
1146
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1001
1147
|
size: size,
|
|
1002
1148
|
color: color
|
|
@@ -1010,14 +1156,14 @@ var RefreshIcon = _ref29 => {
|
|
|
1010
1156
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
1011
1157
|
})));
|
|
1012
1158
|
};
|
|
1013
|
-
var PrintIcon =
|
|
1159
|
+
var PrintIcon = _ref35 => {
|
|
1014
1160
|
var {
|
|
1015
1161
|
size = 24,
|
|
1016
1162
|
color = 'currentColor',
|
|
1017
1163
|
filled = true,
|
|
1018
1164
|
strokeWidth = 1
|
|
1019
|
-
} =
|
|
1020
|
-
props = _objectWithoutPropertiesLoose(
|
|
1165
|
+
} = _ref35,
|
|
1166
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1021
1167
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1022
1168
|
size: size,
|
|
1023
1169
|
color: color
|
|
@@ -1030,14 +1176,14 @@ var PrintIcon = _ref30 => {
|
|
|
1030
1176
|
d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
|
|
1031
1177
|
})));
|
|
1032
1178
|
};
|
|
1033
|
-
var PanelIcon =
|
|
1179
|
+
var PanelIcon = _ref36 => {
|
|
1034
1180
|
var {
|
|
1035
1181
|
size = 24,
|
|
1036
1182
|
color = 'currentColor',
|
|
1037
1183
|
strokeWidth = 1,
|
|
1038
1184
|
filled = false
|
|
1039
|
-
} =
|
|
1040
|
-
props = _objectWithoutPropertiesLoose(
|
|
1185
|
+
} = _ref36,
|
|
1186
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1041
1187
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1042
1188
|
size: size,
|
|
1043
1189
|
color: color
|
|
@@ -1101,14 +1247,14 @@ var PanelIcon = _ref31 => {
|
|
|
1101
1247
|
y2: "16"
|
|
1102
1248
|
})));
|
|
1103
1249
|
};
|
|
1104
|
-
var FilterIcon =
|
|
1250
|
+
var FilterIcon = _ref37 => {
|
|
1105
1251
|
var {
|
|
1106
1252
|
size = 24,
|
|
1107
1253
|
color = 'currentColor',
|
|
1108
1254
|
filled = false,
|
|
1109
1255
|
strokeWidth = 1
|
|
1110
|
-
} =
|
|
1111
|
-
props = _objectWithoutPropertiesLoose(
|
|
1256
|
+
} = _ref37,
|
|
1257
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1112
1258
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1113
1259
|
size: size,
|
|
1114
1260
|
color: color
|
|
@@ -1120,14 +1266,14 @@ var FilterIcon = _ref32 => {
|
|
|
1120
1266
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
1121
1267
|
})));
|
|
1122
1268
|
};
|
|
1123
|
-
var HomeIcon =
|
|
1269
|
+
var HomeIcon = _ref38 => {
|
|
1124
1270
|
var {
|
|
1125
1271
|
size = 24,
|
|
1126
1272
|
color = 'currentColor',
|
|
1127
1273
|
filled = true,
|
|
1128
1274
|
strokeWidth = 1
|
|
1129
|
-
} =
|
|
1130
|
-
props = _objectWithoutPropertiesLoose(
|
|
1275
|
+
} = _ref38,
|
|
1276
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1131
1277
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1132
1278
|
size: size,
|
|
1133
1279
|
color: color
|
|
@@ -1139,14 +1285,14 @@ var HomeIcon = _ref33 => {
|
|
|
1139
1285
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
1140
1286
|
})));
|
|
1141
1287
|
};
|
|
1142
|
-
var LocationIcon =
|
|
1288
|
+
var LocationIcon = _ref39 => {
|
|
1143
1289
|
var {
|
|
1144
1290
|
size = 24,
|
|
1145
1291
|
color = 'currentColor',
|
|
1146
1292
|
filled = true,
|
|
1147
1293
|
strokeWidth = 1
|
|
1148
|
-
} =
|
|
1149
|
-
props = _objectWithoutPropertiesLoose(
|
|
1294
|
+
} = _ref39,
|
|
1295
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1150
1296
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1151
1297
|
size: size,
|
|
1152
1298
|
color: color
|
|
@@ -1158,14 +1304,14 @@ var LocationIcon = _ref34 => {
|
|
|
1158
1304
|
d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
|
|
1159
1305
|
})));
|
|
1160
1306
|
};
|
|
1161
|
-
var LockIcon =
|
|
1307
|
+
var LockIcon = _ref40 => {
|
|
1162
1308
|
var {
|
|
1163
1309
|
size = 24,
|
|
1164
1310
|
color = 'currentColor',
|
|
1165
1311
|
filled = false,
|
|
1166
1312
|
strokeWidth = 1
|
|
1167
|
-
} =
|
|
1168
|
-
props = _objectWithoutPropertiesLoose(
|
|
1313
|
+
} = _ref40,
|
|
1314
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1169
1315
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1170
1316
|
size: size,
|
|
1171
1317
|
color: color
|
|
@@ -1184,14 +1330,14 @@ var LockIcon = _ref35 => {
|
|
|
1184
1330
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1185
1331
|
})));
|
|
1186
1332
|
};
|
|
1187
|
-
var MicrophoneIcon =
|
|
1333
|
+
var MicrophoneIcon = _ref41 => {
|
|
1188
1334
|
var {
|
|
1189
1335
|
size = 24,
|
|
1190
1336
|
color = 'currentColor',
|
|
1191
1337
|
filled = false,
|
|
1192
1338
|
strokeWidth = 1
|
|
1193
|
-
} =
|
|
1194
|
-
props = _objectWithoutPropertiesLoose(
|
|
1339
|
+
} = _ref41,
|
|
1340
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1195
1341
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1196
1342
|
size: size,
|
|
1197
1343
|
color: color
|
|
@@ -1217,14 +1363,14 @@ var MicrophoneIcon = _ref36 => {
|
|
|
1217
1363
|
y2: "23"
|
|
1218
1364
|
})));
|
|
1219
1365
|
};
|
|
1220
|
-
var MoonIcon =
|
|
1366
|
+
var MoonIcon = _ref42 => {
|
|
1221
1367
|
var {
|
|
1222
1368
|
size = 24,
|
|
1223
1369
|
color = 'currentColor',
|
|
1224
1370
|
filled = true,
|
|
1225
1371
|
strokeWidth = 1
|
|
1226
|
-
} =
|
|
1227
|
-
props = _objectWithoutPropertiesLoose(
|
|
1372
|
+
} = _ref42,
|
|
1373
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1228
1374
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1229
1375
|
size: size,
|
|
1230
1376
|
color: color
|
|
@@ -1236,14 +1382,14 @@ var MoonIcon = _ref37 => {
|
|
|
1236
1382
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1237
1383
|
})));
|
|
1238
1384
|
};
|
|
1239
|
-
var NotificationIcon =
|
|
1385
|
+
var NotificationIcon = _ref43 => {
|
|
1240
1386
|
var {
|
|
1241
1387
|
size = 24,
|
|
1242
1388
|
color = 'currentColor',
|
|
1243
1389
|
filled = false,
|
|
1244
1390
|
strokeWidth = 1
|
|
1245
|
-
} =
|
|
1246
|
-
props = _objectWithoutPropertiesLoose(
|
|
1391
|
+
} = _ref43,
|
|
1392
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1247
1393
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1248
1394
|
size: size,
|
|
1249
1395
|
color: color
|
|
@@ -1257,14 +1403,14 @@ var NotificationIcon = _ref38 => {
|
|
|
1257
1403
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1258
1404
|
})));
|
|
1259
1405
|
};
|
|
1260
|
-
var OpenEyeIcon =
|
|
1406
|
+
var OpenEyeIcon = _ref44 => {
|
|
1261
1407
|
var {
|
|
1262
1408
|
size = 24,
|
|
1263
1409
|
color = 'currentColor',
|
|
1264
1410
|
filled = true,
|
|
1265
1411
|
strokeWidth = 1
|
|
1266
|
-
} =
|
|
1267
|
-
props = _objectWithoutPropertiesLoose(
|
|
1412
|
+
} = _ref44,
|
|
1413
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1268
1414
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1269
1415
|
size: size,
|
|
1270
1416
|
color: color
|
|
@@ -1276,14 +1422,14 @@ var OpenEyeIcon = _ref39 => {
|
|
|
1276
1422
|
d: "M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
|
|
1277
1423
|
})));
|
|
1278
1424
|
};
|
|
1279
|
-
var ProfileIcon =
|
|
1425
|
+
var ProfileIcon = _ref45 => {
|
|
1280
1426
|
var {
|
|
1281
1427
|
size = 24,
|
|
1282
1428
|
color = 'currentColor',
|
|
1283
1429
|
filled = true,
|
|
1284
1430
|
strokeWidth = 1
|
|
1285
|
-
} =
|
|
1286
|
-
props = _objectWithoutPropertiesLoose(
|
|
1431
|
+
} = _ref45,
|
|
1432
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1287
1433
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1288
1434
|
size: size,
|
|
1289
1435
|
color: color
|
|
@@ -1296,14 +1442,14 @@ var ProfileIcon = _ref40 => {
|
|
|
1296
1442
|
d: "M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"
|
|
1297
1443
|
}), ' '));
|
|
1298
1444
|
};
|
|
1299
|
-
var SettingsIcon =
|
|
1445
|
+
var SettingsIcon = _ref46 => {
|
|
1300
1446
|
var {
|
|
1301
1447
|
size = 24,
|
|
1302
1448
|
color = 'currentColor',
|
|
1303
1449
|
filled = false,
|
|
1304
1450
|
strokeWidth = 1
|
|
1305
|
-
} =
|
|
1306
|
-
props = _objectWithoutPropertiesLoose(
|
|
1451
|
+
} = _ref46,
|
|
1452
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1307
1453
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1308
1454
|
size: size,
|
|
1309
1455
|
color: color
|
|
@@ -1315,14 +1461,14 @@ var SettingsIcon = _ref41 => {
|
|
|
1315
1461
|
d: "M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"
|
|
1316
1462
|
})));
|
|
1317
1463
|
};
|
|
1318
|
-
var SuccessIcon =
|
|
1464
|
+
var SuccessIcon = _ref47 => {
|
|
1319
1465
|
var {
|
|
1320
1466
|
size = 24,
|
|
1321
1467
|
color = 'currentColor',
|
|
1322
1468
|
filled = true,
|
|
1323
1469
|
strokeWidth = 1
|
|
1324
|
-
} =
|
|
1325
|
-
props = _objectWithoutPropertiesLoose(
|
|
1470
|
+
} = _ref47,
|
|
1471
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1326
1472
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1327
1473
|
size: size,
|
|
1328
1474
|
color: color
|
|
@@ -1334,14 +1480,14 @@ var SuccessIcon = _ref42 => {
|
|
|
1334
1480
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
1335
1481
|
})));
|
|
1336
1482
|
};
|
|
1337
|
-
var UnLikeIcon =
|
|
1483
|
+
var UnLikeIcon = _ref48 => {
|
|
1338
1484
|
var {
|
|
1339
1485
|
size = 24,
|
|
1340
1486
|
color = 'currentColor',
|
|
1341
1487
|
filled = true,
|
|
1342
1488
|
strokeWidth = 1
|
|
1343
|
-
} =
|
|
1344
|
-
props = _objectWithoutPropertiesLoose(
|
|
1489
|
+
} = _ref48,
|
|
1490
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1345
1491
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1346
1492
|
size: size,
|
|
1347
1493
|
color: color
|
|
@@ -1353,14 +1499,14 @@ var UnLikeIcon = _ref43 => {
|
|
|
1353
1499
|
d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
|
|
1354
1500
|
})));
|
|
1355
1501
|
};
|
|
1356
|
-
var ClockIcon =
|
|
1502
|
+
var ClockIcon = _ref49 => {
|
|
1357
1503
|
var {
|
|
1358
1504
|
size = 24,
|
|
1359
1505
|
color = 'currentColor',
|
|
1360
1506
|
strokeWidth = 1,
|
|
1361
1507
|
filled = false
|
|
1362
|
-
} =
|
|
1363
|
-
props = _objectWithoutPropertiesLoose(
|
|
1508
|
+
} = _ref49,
|
|
1509
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1364
1510
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1365
1511
|
size: size,
|
|
1366
1512
|
color: color
|
|
@@ -1376,14 +1522,14 @@ var ClockIcon = _ref44 => {
|
|
|
1376
1522
|
points: "12 6 12 12 16 14"
|
|
1377
1523
|
})));
|
|
1378
1524
|
};
|
|
1379
|
-
var CameraIcon =
|
|
1525
|
+
var CameraIcon = _ref50 => {
|
|
1380
1526
|
var {
|
|
1381
1527
|
size = 24,
|
|
1382
1528
|
color = 'currentColor',
|
|
1383
1529
|
strokeWidth = 1,
|
|
1384
1530
|
filled = false
|
|
1385
|
-
} =
|
|
1386
|
-
props = _objectWithoutPropertiesLoose(
|
|
1531
|
+
} = _ref50,
|
|
1532
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1387
1533
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1388
1534
|
size: size,
|
|
1389
1535
|
color: color
|
|
@@ -1399,14 +1545,14 @@ var CameraIcon = _ref45 => {
|
|
|
1399
1545
|
r: "4"
|
|
1400
1546
|
})));
|
|
1401
1547
|
};
|
|
1402
|
-
var BluetoothIcon =
|
|
1548
|
+
var BluetoothIcon = _ref51 => {
|
|
1403
1549
|
var {
|
|
1404
1550
|
size = 24,
|
|
1405
1551
|
color = 'currentColor',
|
|
1406
1552
|
filled = true,
|
|
1407
1553
|
strokeWidth = 1
|
|
1408
|
-
} =
|
|
1409
|
-
props = _objectWithoutPropertiesLoose(
|
|
1554
|
+
} = _ref51,
|
|
1555
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1410
1556
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1411
1557
|
size: size,
|
|
1412
1558
|
color: color
|
|
@@ -1418,14 +1564,14 @@ var BluetoothIcon = _ref46 => {
|
|
|
1418
1564
|
d: "M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"
|
|
1419
1565
|
})));
|
|
1420
1566
|
};
|
|
1421
|
-
var LikeIcon =
|
|
1567
|
+
var LikeIcon = _ref52 => {
|
|
1422
1568
|
var {
|
|
1423
1569
|
size = 24,
|
|
1424
1570
|
color = 'currentColor',
|
|
1425
1571
|
filled = true,
|
|
1426
1572
|
strokeWidth = 1
|
|
1427
|
-
} =
|
|
1428
|
-
props = _objectWithoutPropertiesLoose(
|
|
1573
|
+
} = _ref52,
|
|
1574
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1429
1575
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1430
1576
|
size: size,
|
|
1431
1577
|
color: color
|
|
@@ -1437,14 +1583,14 @@ var LikeIcon = _ref47 => {
|
|
|
1437
1583
|
d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"
|
|
1438
1584
|
})));
|
|
1439
1585
|
};
|
|
1440
|
-
var UnlockIcon =
|
|
1586
|
+
var UnlockIcon = _ref53 => {
|
|
1441
1587
|
var {
|
|
1442
1588
|
size = 24,
|
|
1443
1589
|
color = 'currentColor',
|
|
1444
1590
|
filled = false,
|
|
1445
1591
|
strokeWidth = 1
|
|
1446
|
-
} =
|
|
1447
|
-
props = _objectWithoutPropertiesLoose(
|
|
1592
|
+
} = _ref53,
|
|
1593
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1448
1594
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1449
1595
|
size: size,
|
|
1450
1596
|
color: color
|
|
@@ -1463,14 +1609,14 @@ var UnlockIcon = _ref48 => {
|
|
|
1463
1609
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1464
1610
|
})));
|
|
1465
1611
|
};
|
|
1466
|
-
var WifiIcon =
|
|
1612
|
+
var WifiIcon = _ref54 => {
|
|
1467
1613
|
var {
|
|
1468
1614
|
size = 24,
|
|
1469
1615
|
color = 'currentColor',
|
|
1470
1616
|
filled = false,
|
|
1471
1617
|
strokeWidth = 1
|
|
1472
|
-
} =
|
|
1473
|
-
props = _objectWithoutPropertiesLoose(
|
|
1618
|
+
} = _ref54,
|
|
1619
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1474
1620
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1475
1621
|
size: size,
|
|
1476
1622
|
color: color
|
|
@@ -1482,14 +1628,14 @@ var WifiIcon = _ref49 => {
|
|
|
1482
1628
|
d: "M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"
|
|
1483
1629
|
})));
|
|
1484
1630
|
};
|
|
1485
|
-
var UploadIcon =
|
|
1631
|
+
var UploadIcon = _ref55 => {
|
|
1486
1632
|
var {
|
|
1487
1633
|
size = 24,
|
|
1488
1634
|
color = 'currentColor',
|
|
1489
1635
|
filled = false,
|
|
1490
1636
|
strokeWidth = 1
|
|
1491
|
-
} =
|
|
1492
|
-
props = _objectWithoutPropertiesLoose(
|
|
1637
|
+
} = _ref55,
|
|
1638
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1493
1639
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1494
1640
|
size: size,
|
|
1495
1641
|
color: color
|
|
@@ -1505,14 +1651,14 @@ var UploadIcon = _ref50 => {
|
|
|
1505
1651
|
d: "M12 12l0 9"
|
|
1506
1652
|
})));
|
|
1507
1653
|
};
|
|
1508
|
-
var SearchIcon =
|
|
1654
|
+
var SearchIcon = _ref56 => {
|
|
1509
1655
|
var {
|
|
1510
1656
|
size = 24,
|
|
1511
1657
|
color = 'currentColor',
|
|
1512
1658
|
filled = true,
|
|
1513
1659
|
strokeWidth = 1
|
|
1514
|
-
} =
|
|
1515
|
-
props = _objectWithoutPropertiesLoose(
|
|
1660
|
+
} = _ref56,
|
|
1661
|
+
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1516
1662
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1517
1663
|
size: size,
|
|
1518
1664
|
color: color
|
|
@@ -1524,14 +1670,14 @@ var SearchIcon = _ref51 => {
|
|
|
1524
1670
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
1525
1671
|
})));
|
|
1526
1672
|
};
|
|
1527
|
-
var CloseEyeIcon =
|
|
1673
|
+
var CloseEyeIcon = _ref57 => {
|
|
1528
1674
|
var {
|
|
1529
1675
|
size = 24,
|
|
1530
1676
|
color = 'currentColor',
|
|
1531
1677
|
filled = true,
|
|
1532
1678
|
strokeWidth = 1
|
|
1533
|
-
} =
|
|
1534
|
-
props = _objectWithoutPropertiesLoose(
|
|
1679
|
+
} = _ref57,
|
|
1680
|
+
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1535
1681
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1536
1682
|
size: size,
|
|
1537
1683
|
color: color
|
|
@@ -1544,14 +1690,14 @@ var CloseEyeIcon = _ref52 => {
|
|
|
1544
1690
|
fill: "currentColor"
|
|
1545
1691
|
})));
|
|
1546
1692
|
};
|
|
1547
|
-
var ExternalLinkIcon =
|
|
1693
|
+
var ExternalLinkIcon = _ref58 => {
|
|
1548
1694
|
var {
|
|
1549
1695
|
size = 24,
|
|
1550
1696
|
color = 'currentColor',
|
|
1551
1697
|
filled = true,
|
|
1552
1698
|
strokeWidth = 1
|
|
1553
|
-
} =
|
|
1554
|
-
props = _objectWithoutPropertiesLoose(
|
|
1699
|
+
} = _ref58,
|
|
1700
|
+
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1555
1701
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1556
1702
|
size: size,
|
|
1557
1703
|
color: color
|
|
@@ -1563,14 +1709,14 @@ var ExternalLinkIcon = _ref53 => {
|
|
|
1563
1709
|
d: "M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"
|
|
1564
1710
|
})));
|
|
1565
1711
|
};
|
|
1566
|
-
var PlusIcon =
|
|
1712
|
+
var PlusIcon = _ref59 => {
|
|
1567
1713
|
var {
|
|
1568
1714
|
size = 24,
|
|
1569
1715
|
color = 'currentColor',
|
|
1570
1716
|
filled = false,
|
|
1571
1717
|
strokeWidth = 1
|
|
1572
|
-
} =
|
|
1573
|
-
props = _objectWithoutPropertiesLoose(
|
|
1718
|
+
} = _ref59,
|
|
1719
|
+
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1574
1720
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1575
1721
|
size: size,
|
|
1576
1722
|
color: color
|
|
@@ -1592,14 +1738,14 @@ var PlusIcon = _ref54 => {
|
|
|
1592
1738
|
y2: "12"
|
|
1593
1739
|
})));
|
|
1594
1740
|
};
|
|
1595
|
-
var TickIcon =
|
|
1741
|
+
var TickIcon = _ref60 => {
|
|
1596
1742
|
var {
|
|
1597
1743
|
size = 24,
|
|
1598
1744
|
color = 'currentColor',
|
|
1599
1745
|
filled = false,
|
|
1600
1746
|
strokeWidth = 1
|
|
1601
|
-
} =
|
|
1602
|
-
props = _objectWithoutPropertiesLoose(
|
|
1747
|
+
} = _ref60,
|
|
1748
|
+
props = _objectWithoutPropertiesLoose(_ref60, _excluded60);
|
|
1603
1749
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1604
1750
|
size: size,
|
|
1605
1751
|
color: color
|
|
@@ -1613,14 +1759,14 @@ var TickIcon = _ref55 => {
|
|
|
1613
1759
|
strokeLinejoin: "round"
|
|
1614
1760
|
})));
|
|
1615
1761
|
};
|
|
1616
|
-
var BoldArrowIcon =
|
|
1762
|
+
var BoldArrowIcon = _ref61 => {
|
|
1617
1763
|
var {
|
|
1618
1764
|
size = 24,
|
|
1619
1765
|
color = 'currentColor',
|
|
1620
1766
|
filled = true,
|
|
1621
1767
|
strokeWidth = 1
|
|
1622
|
-
} =
|
|
1623
|
-
props = _objectWithoutPropertiesLoose(
|
|
1768
|
+
} = _ref61,
|
|
1769
|
+
props = _objectWithoutPropertiesLoose(_ref61, _excluded61);
|
|
1624
1770
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1625
1771
|
size: size,
|
|
1626
1772
|
color: color
|
|
@@ -1632,14 +1778,14 @@ var BoldArrowIcon = _ref56 => {
|
|
|
1632
1778
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1633
1779
|
})));
|
|
1634
1780
|
};
|
|
1635
|
-
var ArrowIcon =
|
|
1781
|
+
var ArrowIcon = _ref62 => {
|
|
1636
1782
|
var {
|
|
1637
1783
|
size = 24,
|
|
1638
1784
|
color = 'currentColor',
|
|
1639
1785
|
filled = false,
|
|
1640
1786
|
strokeWidth = 1
|
|
1641
|
-
} =
|
|
1642
|
-
props = _objectWithoutPropertiesLoose(
|
|
1787
|
+
} = _ref62,
|
|
1788
|
+
props = _objectWithoutPropertiesLoose(_ref62, _excluded62);
|
|
1643
1789
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1644
1790
|
size: size,
|
|
1645
1791
|
color: color
|
|
@@ -1657,14 +1803,14 @@ var ArrowIcon = _ref57 => {
|
|
|
1657
1803
|
points: "6 12 12 6 18 12"
|
|
1658
1804
|
})));
|
|
1659
1805
|
};
|
|
1660
|
-
var SpinnerIcon =
|
|
1806
|
+
var SpinnerIcon = _ref63 => {
|
|
1661
1807
|
var {
|
|
1662
1808
|
size = 24,
|
|
1663
1809
|
color = 'currentColor',
|
|
1664
1810
|
filled = false,
|
|
1665
1811
|
strokeWidth = 1
|
|
1666
|
-
} =
|
|
1667
|
-
props = _objectWithoutPropertiesLoose(
|
|
1812
|
+
} = _ref63,
|
|
1813
|
+
props = _objectWithoutPropertiesLoose(_ref63, _excluded63);
|
|
1668
1814
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1669
1815
|
size: size,
|
|
1670
1816
|
color: color
|
|
@@ -1682,14 +1828,14 @@ var SpinnerIcon = _ref58 => {
|
|
|
1682
1828
|
strokeOpacity: "1"
|
|
1683
1829
|
})));
|
|
1684
1830
|
};
|
|
1685
|
-
var CalendarIcon =
|
|
1831
|
+
var CalendarIcon = _ref64 => {
|
|
1686
1832
|
var {
|
|
1687
1833
|
size = 24,
|
|
1688
1834
|
color = 'currentColor',
|
|
1689
1835
|
strokeWidth = 1,
|
|
1690
1836
|
filled = false
|
|
1691
|
-
} =
|
|
1692
|
-
props = _objectWithoutPropertiesLoose(
|
|
1837
|
+
} = _ref64,
|
|
1838
|
+
props = _objectWithoutPropertiesLoose(_ref64, _excluded64);
|
|
1693
1839
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1694
1840
|
size: size,
|
|
1695
1841
|
color: color
|
|
@@ -1729,6 +1875,9 @@ var Icon = {
|
|
|
1729
1875
|
__proto__: null,
|
|
1730
1876
|
ChevronIcon: ChevronIcon,
|
|
1731
1877
|
DragHandleIcon: DragHandleIcon,
|
|
1878
|
+
FileIcon: FileIcon,
|
|
1879
|
+
VideoIcon: VideoIcon,
|
|
1880
|
+
ImageIcon: ImageIcon,
|
|
1732
1881
|
TwitterIcon: TwitterIcon,
|
|
1733
1882
|
XIcon: XIcon,
|
|
1734
1883
|
TwitchIcon: TwitchIcon,
|
|
@@ -1740,6 +1889,8 @@ var Icon = {
|
|
|
1740
1889
|
ThreadsIcon: ThreadsIcon,
|
|
1741
1890
|
MinusIcon: MinusIcon,
|
|
1742
1891
|
InfoIcon: InfoIcon,
|
|
1892
|
+
PlayIcon: PlayIcon,
|
|
1893
|
+
PauseIcon: PauseIcon,
|
|
1743
1894
|
HeartIcon: HeartIcon,
|
|
1744
1895
|
StarIcon: StarIcon,
|
|
1745
1896
|
SaveIcon: SaveIcon,
|
|
@@ -2562,7 +2713,7 @@ React__default.createElement(LoaderView, Object.assign({}, props)));
|
|
|
2562
2713
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
2563
2714
|
var Loader = LoaderComponent;
|
|
2564
2715
|
|
|
2565
|
-
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode"];
|
|
2716
|
+
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps"];
|
|
2566
2717
|
var contrast = /*#__PURE__*/require('contrast');
|
|
2567
2718
|
var ButtonView = _ref => {
|
|
2568
2719
|
var _props$onClick;
|
|
@@ -2597,7 +2748,9 @@ var ButtonView = _ref => {
|
|
|
2597
2748
|
isHovered,
|
|
2598
2749
|
setIsHovered = () => {},
|
|
2599
2750
|
isExternal = false,
|
|
2600
|
-
themeMode: elementMode
|
|
2751
|
+
themeMode: elementMode,
|
|
2752
|
+
containerProps,
|
|
2753
|
+
linkProps
|
|
2601
2754
|
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
2602
2755
|
} = _ref,
|
|
2603
2756
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
@@ -2660,7 +2813,11 @@ var ButtonView = _ref => {
|
|
|
2660
2813
|
var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
|
|
2661
2814
|
var content = /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
2662
2815
|
gap: 10
|
|
2663
|
-
}, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading &&
|
|
2816
|
+
}, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2817
|
+
animate: appStudio.Animation.jackInTheBox({})
|
|
2818
|
+
} : {}), icon)), children, icon && iconPosition === 'right' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2819
|
+
animate: appStudio.Animation.jackInTheBox({})
|
|
2820
|
+
} : {}), icon)), isLoading && loaderPosition === 'right' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)));
|
|
2664
2821
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
2665
2822
|
gap: 8,
|
|
2666
2823
|
as: "button",
|
|
@@ -2680,12 +2837,12 @@ var ButtonView = _ref => {
|
|
|
2680
2837
|
}, hovering && !props.isDisabled ? {
|
|
2681
2838
|
transition: 'transform 0.3s ease',
|
|
2682
2839
|
transform: 'translateY(-5px)'
|
|
2683
|
-
} : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, {
|
|
2840
|
+
} : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props, containerProps), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
|
|
2684
2841
|
to: to,
|
|
2685
2842
|
textDecorationColor: colorScheme,
|
|
2686
2843
|
colorScheme: colorScheme,
|
|
2687
2844
|
isExternal: isExternal
|
|
2688
|
-
}, content)) : content);
|
|
2845
|
+
}, linkProps), content)) : content);
|
|
2689
2846
|
};
|
|
2690
2847
|
|
|
2691
2848
|
// Importing a custom hook to manage the state specific to the button component.
|
|
@@ -6808,6 +6965,277 @@ var MessageLayout = _ref => {
|
|
|
6808
6965
|
return visible ? MessageContainer : null;
|
|
6809
6966
|
};
|
|
6810
6967
|
|
|
6968
|
+
var useUpload = _ref => {
|
|
6969
|
+
var {
|
|
6970
|
+
maxSize = 100 * 1024 * 1024,
|
|
6971
|
+
// 100MB default
|
|
6972
|
+
onFileSelect,
|
|
6973
|
+
validateFile,
|
|
6974
|
+
thumbnail,
|
|
6975
|
+
onError = error => {
|
|
6976
|
+
showMessage('error', 'Error', error);
|
|
6977
|
+
}
|
|
6978
|
+
} = _ref;
|
|
6979
|
+
var fileInputRef = React.useRef(null);
|
|
6980
|
+
var videoRef = React.useRef(null);
|
|
6981
|
+
var [selectedFile, setSelectedFile] = React.useState(null);
|
|
6982
|
+
var [errorMessage, setErrorMessage] = React.useState(null);
|
|
6983
|
+
var [previewUrl, setPreviewUrl] = React.useState(null);
|
|
6984
|
+
var [thumbnailUrl, setThumbnailUrl] = React.useState(thumbnail || null);
|
|
6985
|
+
var generateThumbnail = videoFile => {
|
|
6986
|
+
var video = document.createElement('video');
|
|
6987
|
+
video.preload = 'metadata';
|
|
6988
|
+
video.onloadedmetadata = () => {
|
|
6989
|
+
video.currentTime = 1;
|
|
6990
|
+
};
|
|
6991
|
+
video.oncanplay = () => {
|
|
6992
|
+
var canvas = document.createElement('canvas');
|
|
6993
|
+
canvas.width = video.videoWidth;
|
|
6994
|
+
canvas.height = video.videoHeight;
|
|
6995
|
+
var ctx = canvas.getContext('2d');
|
|
6996
|
+
if (ctx) {
|
|
6997
|
+
ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
|
|
6998
|
+
var thumbnailDataUrl = canvas.toDataURL('image/jpeg');
|
|
6999
|
+
setThumbnailUrl(thumbnailDataUrl);
|
|
7000
|
+
}
|
|
7001
|
+
URL.revokeObjectURL(video.src);
|
|
7002
|
+
};
|
|
7003
|
+
video.src = URL.createObjectURL(videoFile);
|
|
7004
|
+
};
|
|
7005
|
+
var handleFileChange = React.useCallback(event => {
|
|
7006
|
+
var _event$target$files;
|
|
7007
|
+
var file = (_event$target$files = event.target.files) == null ? void 0 : _event$target$files[0];
|
|
7008
|
+
setErrorMessage(null);
|
|
7009
|
+
if (!file) {
|
|
7010
|
+
onError('No file selected');
|
|
7011
|
+
setErrorMessage('No file selected');
|
|
7012
|
+
return;
|
|
7013
|
+
}
|
|
7014
|
+
if (file.size > maxSize) {
|
|
7015
|
+
onError("File exceeds " + Math.round(maxSize / (1024 * 1024)) + "MB.");
|
|
7016
|
+
setErrorMessage("File exceeds " + Math.round(maxSize / (1024 * 1024)) + "MB.");
|
|
7017
|
+
return;
|
|
7018
|
+
}
|
|
7019
|
+
if (validateFile) {
|
|
7020
|
+
var validationError = validateFile(file);
|
|
7021
|
+
if (validationError) {
|
|
7022
|
+
onError(validationError);
|
|
7023
|
+
setErrorMessage(validationError);
|
|
7024
|
+
return;
|
|
7025
|
+
}
|
|
7026
|
+
}
|
|
7027
|
+
setPreviewUrl(URL.createObjectURL(file));
|
|
7028
|
+
if (file.type.startsWith('video/')) {
|
|
7029
|
+
generateThumbnail(file);
|
|
7030
|
+
}
|
|
7031
|
+
if (onFileSelect) {
|
|
7032
|
+
setSelectedFile(file);
|
|
7033
|
+
onFileSelect(file);
|
|
7034
|
+
}
|
|
7035
|
+
}, [maxSize, onFileSelect, validateFile]);
|
|
7036
|
+
var handleClick = () => {
|
|
7037
|
+
var _fileInputRef$current;
|
|
7038
|
+
return (_fileInputRef$current = fileInputRef.current) == null ? void 0 : _fileInputRef$current.click();
|
|
7039
|
+
};
|
|
7040
|
+
React.useEffect(() => {
|
|
7041
|
+
return () => {
|
|
7042
|
+
if (previewUrl) URL.revokeObjectURL(previewUrl);
|
|
7043
|
+
if (thumbnailUrl) URL.revokeObjectURL(thumbnailUrl);
|
|
7044
|
+
};
|
|
7045
|
+
}, [previewUrl, thumbnailUrl]);
|
|
7046
|
+
return {
|
|
7047
|
+
previewUrl,
|
|
7048
|
+
thumbnailUrl,
|
|
7049
|
+
errorMessage,
|
|
7050
|
+
fileInputRef,
|
|
7051
|
+
videoRef,
|
|
7052
|
+
selectedFile,
|
|
7053
|
+
handleFileChange,
|
|
7054
|
+
handleClick
|
|
7055
|
+
};
|
|
7056
|
+
};
|
|
7057
|
+
var Uploader = _ref2 => {
|
|
7058
|
+
var {
|
|
7059
|
+
accept = '*/*',
|
|
7060
|
+
isLoading = false,
|
|
7061
|
+
progress = 0,
|
|
7062
|
+
icon,
|
|
7063
|
+
text,
|
|
7064
|
+
maxSize,
|
|
7065
|
+
onFileSelect,
|
|
7066
|
+
validateFile,
|
|
7067
|
+
containerProps,
|
|
7068
|
+
errorMessageProps,
|
|
7069
|
+
progressProps,
|
|
7070
|
+
videoProps,
|
|
7071
|
+
imageProps,
|
|
7072
|
+
iconProps,
|
|
7073
|
+
textProps,
|
|
7074
|
+
renderError = _ref3 => {
|
|
7075
|
+
var {
|
|
7076
|
+
errorMessage,
|
|
7077
|
+
errorMessageProps
|
|
7078
|
+
} = _ref3;
|
|
7079
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7080
|
+
color: "red",
|
|
7081
|
+
fontSize: 12,
|
|
7082
|
+
marginTop: 8
|
|
7083
|
+
}, errorMessageProps), errorMessage);
|
|
7084
|
+
},
|
|
7085
|
+
renderText = _ref4 => {
|
|
7086
|
+
var {
|
|
7087
|
+
text,
|
|
7088
|
+
textProps
|
|
7089
|
+
} = _ref4;
|
|
7090
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7091
|
+
marginTop: 8
|
|
7092
|
+
}, textProps), text);
|
|
7093
|
+
},
|
|
7094
|
+
renderFile = _ref5 => {
|
|
7095
|
+
var {
|
|
7096
|
+
selectedFile,
|
|
7097
|
+
textProps
|
|
7098
|
+
} = _ref5;
|
|
7099
|
+
return /*#__PURE__*/React__default.createElement(Center, {
|
|
7100
|
+
marginTop: 8,
|
|
7101
|
+
gap: 10,
|
|
7102
|
+
flexDirection: "column"
|
|
7103
|
+
}, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7104
|
+
maxLines: 2
|
|
7105
|
+
}, textProps), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps), "(", Math.round(selectedFile.size / 1024), " KB)"));
|
|
7106
|
+
},
|
|
7107
|
+
renderVideo = _ref6 => {
|
|
7108
|
+
var {
|
|
7109
|
+
selectedFile,
|
|
7110
|
+
thumbnailUrl,
|
|
7111
|
+
videoRef,
|
|
7112
|
+
videoProps,
|
|
7113
|
+
imageProps,
|
|
7114
|
+
iconProps
|
|
7115
|
+
} = _ref6;
|
|
7116
|
+
console.log('thumbnailUrl', thumbnailUrl);
|
|
7117
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7118
|
+
width: "100%",
|
|
7119
|
+
height: "100%",
|
|
7120
|
+
position: "relative"
|
|
7121
|
+
}, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7122
|
+
as: "video",
|
|
7123
|
+
width: 0,
|
|
7124
|
+
height: 0,
|
|
7125
|
+
src: selectedFile == null ? void 0 : selectedFile.name,
|
|
7126
|
+
style: {
|
|
7127
|
+
objectFit: 'cover'
|
|
7128
|
+
},
|
|
7129
|
+
ref: videoRef
|
|
7130
|
+
}, videoProps)), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7131
|
+
src: thumbnailUrl,
|
|
7132
|
+
alt: "Video Thumbnail",
|
|
7133
|
+
width: "100%",
|
|
7134
|
+
height: "100%",
|
|
7135
|
+
objectFit: "cover"
|
|
7136
|
+
}, imageProps)), /*#__PURE__*/React__default.createElement(PlayIcon, Object.assign({
|
|
7137
|
+
position: "absolute",
|
|
7138
|
+
top: "50%",
|
|
7139
|
+
left: "50%",
|
|
7140
|
+
color: "white",
|
|
7141
|
+
size: '20%',
|
|
7142
|
+
transform: "translate(-50%, -50%)"
|
|
7143
|
+
}, iconProps)));
|
|
7144
|
+
},
|
|
7145
|
+
renderImage = _ref7 => {
|
|
7146
|
+
var {
|
|
7147
|
+
previewUrl,
|
|
7148
|
+
imageProps
|
|
7149
|
+
} = _ref7;
|
|
7150
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7151
|
+
src: previewUrl,
|
|
7152
|
+
alt: "Preview",
|
|
7153
|
+
width: "100%",
|
|
7154
|
+
height: "100%",
|
|
7155
|
+
objectFit: "cover"
|
|
7156
|
+
}, imageProps));
|
|
7157
|
+
},
|
|
7158
|
+
renderProgress = _ref8 => {
|
|
7159
|
+
var {
|
|
7160
|
+
progress,
|
|
7161
|
+
progressProps
|
|
7162
|
+
} = _ref8;
|
|
7163
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7164
|
+
gap: 8,
|
|
7165
|
+
alignItems: "center"
|
|
7166
|
+
}, progressProps), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7167
|
+
height: 4,
|
|
7168
|
+
backgroundColor: "rgba(0,0,0,0.1)",
|
|
7169
|
+
width: "100%",
|
|
7170
|
+
borderRadius: 2
|
|
7171
|
+
}, /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7172
|
+
height: 4,
|
|
7173
|
+
width: progress + "%",
|
|
7174
|
+
borderRadius: 2
|
|
7175
|
+
})), /*#__PURE__*/React__default.createElement(appStudio.Text, {
|
|
7176
|
+
fontSize: 12
|
|
7177
|
+
}, progress, "%"));
|
|
7178
|
+
}
|
|
7179
|
+
} = _ref2;
|
|
7180
|
+
var {
|
|
7181
|
+
previewUrl,
|
|
7182
|
+
thumbnailUrl,
|
|
7183
|
+
errorMessage,
|
|
7184
|
+
videoRef,
|
|
7185
|
+
fileInputRef,
|
|
7186
|
+
selectedFile,
|
|
7187
|
+
handleFileChange,
|
|
7188
|
+
handleClick
|
|
7189
|
+
} = useUpload({
|
|
7190
|
+
accept,
|
|
7191
|
+
maxSize,
|
|
7192
|
+
onFileSelect,
|
|
7193
|
+
validateFile
|
|
7194
|
+
});
|
|
7195
|
+
var fileType = previewUrl && accept.includes('video') ? 'video' : previewUrl && accept.includes('image') ? 'image' : 'file';
|
|
7196
|
+
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
7197
|
+
onClick: handleClick,
|
|
7198
|
+
cursor: "pointer",
|
|
7199
|
+
border: "1px solid rgba(0,0,0,0.1)",
|
|
7200
|
+
borderRadius: 8,
|
|
7201
|
+
padding: 16,
|
|
7202
|
+
flexDirection: "column",
|
|
7203
|
+
overflow: "hidden",
|
|
7204
|
+
position: "relative"
|
|
7205
|
+
}, containerProps), progress == 100 && fileType == 'image' && previewUrl && renderImage({
|
|
7206
|
+
previewUrl,
|
|
7207
|
+
imageProps
|
|
7208
|
+
}), progress == 100 && fileType == 'video' && thumbnailUrl && renderVideo({
|
|
7209
|
+
thumbnailUrl,
|
|
7210
|
+
videoRef,
|
|
7211
|
+
videoProps,
|
|
7212
|
+
iconProps
|
|
7213
|
+
}), progress == 100 && fileType == 'file' && previewUrl && renderFile({
|
|
7214
|
+
selectedFile,
|
|
7215
|
+
textProps
|
|
7216
|
+
}), progress < 100 && (icon || /*#__PURE__*/React__default.createElement(UploadIcon, Object.assign({
|
|
7217
|
+
size: 32
|
|
7218
|
+
}, iconProps))), !selectedFile && text && renderText({
|
|
7219
|
+
text,
|
|
7220
|
+
textProps
|
|
7221
|
+
}), isLoading && renderProgress({
|
|
7222
|
+
progress,
|
|
7223
|
+
progressProps
|
|
7224
|
+
}), renderError({
|
|
7225
|
+
errorMessage,
|
|
7226
|
+
errorMessageProps
|
|
7227
|
+
}), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7228
|
+
as: "input",
|
|
7229
|
+
type: "file",
|
|
7230
|
+
ref: fileInputRef,
|
|
7231
|
+
onChange: handleFileChange,
|
|
7232
|
+
accept: accept,
|
|
7233
|
+
style: {
|
|
7234
|
+
display: 'none'
|
|
7235
|
+
}
|
|
7236
|
+
}));
|
|
7237
|
+
};
|
|
7238
|
+
|
|
6811
7239
|
var useModalStore = /*#__PURE__*/zustand.create(set => ({
|
|
6812
7240
|
modals: [],
|
|
6813
7241
|
onHide: name => name,
|
|
@@ -7690,6 +8118,7 @@ exports.EditIcon = EditIcon;
|
|
|
7690
8118
|
exports.ErrorIcon = ErrorIcon;
|
|
7691
8119
|
exports.ExternalLinkIcon = ExternalLinkIcon;
|
|
7692
8120
|
exports.FacebookIcon = FacebookIcon;
|
|
8121
|
+
exports.FileIcon = FileIcon;
|
|
7693
8122
|
exports.FileImage = FileImage;
|
|
7694
8123
|
exports.FileSVG = FileSVG;
|
|
7695
8124
|
exports.FilterIcon = FilterIcon;
|
|
@@ -7708,6 +8137,7 @@ exports.HomeIcon = HomeIcon;
|
|
|
7708
8137
|
exports.Horizontal = Horizontal;
|
|
7709
8138
|
exports.HorizontalBase = HorizontalBase;
|
|
7710
8139
|
exports.Icon = Icon;
|
|
8140
|
+
exports.ImageIcon = ImageIcon;
|
|
7711
8141
|
exports.InfoIcon = InfoIcon;
|
|
7712
8142
|
exports.Inline = Inline;
|
|
7713
8143
|
exports.InstagramIcon = InstagramIcon;
|
|
@@ -7729,6 +8159,8 @@ exports.NotificationIcon = NotificationIcon;
|
|
|
7729
8159
|
exports.OpenEyeIcon = OpenEyeIcon;
|
|
7730
8160
|
exports.PanelIcon = PanelIcon;
|
|
7731
8161
|
exports.Password = Password;
|
|
8162
|
+
exports.PauseIcon = PauseIcon;
|
|
8163
|
+
exports.PlayIcon = PlayIcon;
|
|
7732
8164
|
exports.PlusIcon = PlusIcon;
|
|
7733
8165
|
exports.PrintIcon = PrintIcon;
|
|
7734
8166
|
exports.ProfileIcon = ProfileIcon;
|
|
@@ -7758,8 +8190,10 @@ exports.TwitterIcon = TwitterIcon;
|
|
|
7758
8190
|
exports.UnLikeIcon = UnLikeIcon;
|
|
7759
8191
|
exports.UnlockIcon = UnlockIcon;
|
|
7760
8192
|
exports.UploadIcon = UploadIcon;
|
|
8193
|
+
exports.Uploader = Uploader;
|
|
7761
8194
|
exports.Vertical = Vertical;
|
|
7762
8195
|
exports.VerticalBase = VerticalBase;
|
|
8196
|
+
exports.VideoIcon = VideoIcon;
|
|
7763
8197
|
exports.View = View;
|
|
7764
8198
|
exports.WarningIcon = WarningIcon;
|
|
7765
8199
|
exports.WifiIcon = WifiIcon;
|
|
@@ -7771,4 +8205,5 @@ exports.showMessage = showMessage;
|
|
|
7771
8205
|
exports.showModal = showModal;
|
|
7772
8206
|
exports.useMessageStore = useMessageStore;
|
|
7773
8207
|
exports.useModalStore = useModalStore;
|
|
8208
|
+
exports.useUpload = useUpload;
|
|
7774
8209
|
//# sourceMappingURL=web.cjs.development.js.map
|