@festo-ui/react 3.2.1 → 4.0.0-pre-20220920.1
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/{index.esm.css → index.css} +3 -20
- package/{index.esm.js → index.js} +398 -383
- package/lib/components/buttons/button/Button.d.ts +0 -1
- package/lib/components/loading-indicator/LoadingIndicator.d.ts +3 -4
- package/lib/components/snackbar/Snackbar.d.ts +1 -0
- package/lib/components/snackbar/SnackbarContext.d.ts +2 -2
- package/package.json +11 -9
- package/index.umd.css +0 -3228
- package/index.umd.js +0 -5213
|
@@ -7,7 +7,6 @@ import { usePopper } from 'react-popper';
|
|
|
7
7
|
import Draggable from 'react-draggable';
|
|
8
8
|
import flatpickr from 'flatpickr';
|
|
9
9
|
import rangePlugin from 'flatpickr/dist/plugins/rangePlugin';
|
|
10
|
-
import Quill from 'quill';
|
|
11
10
|
import ReactDOM from 'react-dom';
|
|
12
11
|
|
|
13
12
|
/*! *****************************************************************************
|
|
@@ -73,8 +72,8 @@ const Accordion = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
73
72
|
className: classNames('fr-accordion', className)
|
|
74
73
|
}, props, {
|
|
75
74
|
children: children
|
|
76
|
-
})
|
|
77
|
-
})
|
|
75
|
+
}))
|
|
76
|
+
}));
|
|
78
77
|
});
|
|
79
78
|
|
|
80
79
|
const AccordionHeader = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -89,7 +88,7 @@ const AccordionHeader = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
89
88
|
className: classNames('fr-accordion-header', className)
|
|
90
89
|
}, props, {
|
|
91
90
|
children: children
|
|
92
|
-
})
|
|
91
|
+
}));
|
|
93
92
|
});
|
|
94
93
|
|
|
95
94
|
function setRef(ref, value) {
|
|
@@ -178,9 +177,9 @@ const AccordionItemBody = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
178
177
|
}, props, {
|
|
179
178
|
children: [children, jsx("div", {
|
|
180
179
|
className: "fr-accordion-item-body-spacer-bottom"
|
|
181
|
-
}
|
|
182
|
-
})
|
|
183
|
-
})
|
|
180
|
+
})]
|
|
181
|
+
}))
|
|
182
|
+
}));
|
|
184
183
|
});
|
|
185
184
|
|
|
186
185
|
const AccordionItemHeader = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -204,7 +203,7 @@ const AccordionItemHeader = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
204
203
|
onClick: toggle
|
|
205
204
|
}, props, {
|
|
206
205
|
children: children
|
|
207
|
-
})
|
|
206
|
+
}));
|
|
208
207
|
});
|
|
209
208
|
|
|
210
209
|
function useControlled({
|
|
@@ -281,9 +280,9 @@ const AccordionItem = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
281
280
|
className: "fr-accordion-item-link"
|
|
282
281
|
}, {
|
|
283
282
|
children: linkText
|
|
284
|
-
})
|
|
285
|
-
})
|
|
286
|
-
})
|
|
283
|
+
}))]
|
|
284
|
+
}))
|
|
285
|
+
}));
|
|
287
286
|
});
|
|
288
287
|
|
|
289
288
|
/**
|
|
@@ -316,15 +315,15 @@ function Breadcrumb({
|
|
|
316
315
|
onClick: e => onClick ? onClick(e) : undefined
|
|
317
316
|
}, {
|
|
318
317
|
children: location.label
|
|
319
|
-
})
|
|
318
|
+
})), index + 1 < locations.length && jsx("i", {
|
|
320
319
|
className: "fwe-icon fwe-icon-arrows-right-2"
|
|
321
|
-
}
|
|
320
|
+
})]
|
|
322
321
|
}, location.url)) : childrenList.map((child, index) => jsxs(React.Fragment, {
|
|
323
322
|
children: [child, " ", index + 1 < childrenList.length && jsx("i", {
|
|
324
323
|
className: "fwe-icon fwe-icon-arrows-right-2"
|
|
325
|
-
}
|
|
324
|
+
})]
|
|
326
325
|
}, child.props.children))
|
|
327
|
-
})
|
|
326
|
+
}));
|
|
328
327
|
}
|
|
329
328
|
|
|
330
329
|
function Button({
|
|
@@ -354,12 +353,10 @@ function Button({
|
|
|
354
353
|
}, {
|
|
355
354
|
children: [icon && jsx("i", {
|
|
356
355
|
className: `fwe-icon fwe-icon-${icon}`
|
|
357
|
-
}
|
|
358
|
-
className: "fr-button-text"
|
|
359
|
-
}, {
|
|
356
|
+
}), !iconOnly && jsx("div", {
|
|
360
357
|
children: children
|
|
361
|
-
})
|
|
362
|
-
})
|
|
358
|
+
})]
|
|
359
|
+
}));
|
|
363
360
|
}
|
|
364
361
|
|
|
365
362
|
function Card({
|
|
@@ -370,7 +367,7 @@ function Card({
|
|
|
370
367
|
className: classNames('fwe-card', className)
|
|
371
368
|
}, {
|
|
372
369
|
children: children
|
|
373
|
-
})
|
|
370
|
+
}));
|
|
374
371
|
}
|
|
375
372
|
|
|
376
373
|
function CardBody({
|
|
@@ -385,8 +382,8 @@ function CardBody({
|
|
|
385
382
|
className: "fwe-card-text"
|
|
386
383
|
}, {
|
|
387
384
|
children: text
|
|
388
|
-
})
|
|
389
|
-
})
|
|
385
|
+
})), children]
|
|
386
|
+
}));
|
|
390
387
|
}
|
|
391
388
|
|
|
392
389
|
function CardHeader({
|
|
@@ -403,11 +400,11 @@ function CardHeader({
|
|
|
403
400
|
}, {
|
|
404
401
|
children: [jsx("h5", {
|
|
405
402
|
children: title
|
|
406
|
-
}
|
|
403
|
+
}), subtitle && jsx("p", {
|
|
407
404
|
children: subtitle
|
|
408
|
-
}
|
|
409
|
-
})
|
|
410
|
-
})
|
|
405
|
+
})]
|
|
406
|
+
})), action]
|
|
407
|
+
}));
|
|
411
408
|
}
|
|
412
409
|
|
|
413
410
|
function CardNotification({
|
|
@@ -422,16 +419,16 @@ function CardNotification({
|
|
|
422
419
|
}, {
|
|
423
420
|
children: [jsx("i", {
|
|
424
421
|
className: `fwe-icon fwe-icon-${iconName} fwe-icon-lg`
|
|
425
|
-
}
|
|
422
|
+
}), jsxs("div", Object.assign({
|
|
426
423
|
className: "fwe-card-title"
|
|
427
424
|
}, {
|
|
428
425
|
children: [jsx("h6", {
|
|
429
426
|
children: title
|
|
430
|
-
}
|
|
427
|
+
}), message && jsx("p", {
|
|
431
428
|
children: message
|
|
432
|
-
}
|
|
433
|
-
})
|
|
434
|
-
})
|
|
429
|
+
})]
|
|
430
|
+
}))]
|
|
431
|
+
}));
|
|
435
432
|
}
|
|
436
433
|
|
|
437
434
|
function ChipContainer({
|
|
@@ -446,7 +443,7 @@ function ChipContainer({
|
|
|
446
443
|
className: classes
|
|
447
444
|
}, {
|
|
448
445
|
children: children
|
|
449
|
-
})
|
|
446
|
+
}));
|
|
450
447
|
}
|
|
451
448
|
|
|
452
449
|
var ChipType;
|
|
@@ -488,11 +485,11 @@ function Chip({
|
|
|
488
485
|
children: [icon && jsx("i", {
|
|
489
486
|
onClick: e => onClick ? onClick(e) : undefined,
|
|
490
487
|
className: `fwe-icon fwe-icon-${icon}`
|
|
491
|
-
}
|
|
488
|
+
}), children, type === ChipType.Category && jsx("i", {
|
|
492
489
|
onClick: e => onClick ? onClick(e) : undefined,
|
|
493
490
|
className: "fwe-icon fwe-icon-menu-close"
|
|
494
|
-
}
|
|
495
|
-
})
|
|
491
|
+
})]
|
|
492
|
+
}));
|
|
496
493
|
}
|
|
497
494
|
|
|
498
495
|
function LinkButton({
|
|
@@ -514,36 +511,48 @@ function LinkButton({
|
|
|
514
511
|
}, {
|
|
515
512
|
children: [jsx("i", {
|
|
516
513
|
className: `fwe-icon fwe-icon-${icon}`
|
|
517
|
-
}
|
|
518
|
-
})
|
|
514
|
+
}), !iconOnly && children]
|
|
515
|
+
}));
|
|
519
516
|
}
|
|
520
517
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
518
|
+
const LoadingIndicator = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
519
|
+
var {
|
|
520
|
+
size = 'large',
|
|
521
|
+
children,
|
|
522
|
+
className
|
|
523
|
+
} = _a,
|
|
524
|
+
props = __rest(_a, ["size", "children", "className"]);
|
|
525
|
+
|
|
526
526
|
const classes = classNames('fwe-waiting-indicator', {
|
|
527
527
|
'fwe-waiting-indicator-md': size === 'medium'
|
|
528
528
|
}, {
|
|
529
529
|
'fwe-waiting-indicator-sm': size === 'small'
|
|
530
|
-
}
|
|
530
|
+
});
|
|
531
531
|
return jsxs("div", Object.assign({
|
|
532
|
-
className:
|
|
533
|
-
|
|
532
|
+
className: classNames('fwe-waiting-container', {
|
|
533
|
+
'fwe-waiting-container-sm': size === 'small'
|
|
534
|
+
}, className),
|
|
535
|
+
ref: ref
|
|
536
|
+
}, props, {
|
|
534
537
|
children: [jsxs("div", Object.assign({
|
|
535
538
|
className: classes
|
|
536
539
|
}, {
|
|
537
540
|
children: [jsx("div", {
|
|
538
541
|
className: "fwe-waiting-circle-1"
|
|
539
|
-
}
|
|
542
|
+
}), jsx("div", {
|
|
540
543
|
className: "fwe-waiting-circle-2"
|
|
541
|
-
}
|
|
544
|
+
}), jsx("div", {
|
|
542
545
|
className: "fwe-waiting-circle-3"
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
546
|
+
}), jsx("div", {
|
|
547
|
+
className: "fwe-waiting-circle-4"
|
|
548
|
+
})]
|
|
549
|
+
})), jsx("div", Object.assign({
|
|
550
|
+
className: "fwe-waiting-content-container"
|
|
551
|
+
}, {
|
|
552
|
+
children: children
|
|
553
|
+
}))]
|
|
554
|
+
}));
|
|
555
|
+
});
|
|
547
556
|
|
|
548
557
|
const Modal = /*#__PURE__*/forwardRef(({
|
|
549
558
|
head,
|
|
@@ -570,8 +579,8 @@ const Modal = /*#__PURE__*/forwardRef(({
|
|
|
570
579
|
children: jsx("div", {
|
|
571
580
|
ref: backdropRef,
|
|
572
581
|
className: "fr-modal-backdrop fwe-modal-backdrop"
|
|
573
|
-
}
|
|
574
|
-
})
|
|
582
|
+
})
|
|
583
|
+
})), jsx(OutsideClickHandler, Object.assign({
|
|
575
584
|
onOutsideClick: () => onClose ? onClose() : undefined
|
|
576
585
|
}, {
|
|
577
586
|
children: jsx(CSSTransition, Object.assign({
|
|
@@ -600,25 +609,25 @@ const Modal = /*#__PURE__*/forwardRef(({
|
|
|
600
609
|
children: [jsx("i", {
|
|
601
610
|
"aria-hidden": "true",
|
|
602
611
|
className: "fwe-icon fwe-icon-close-small"
|
|
603
|
-
}
|
|
612
|
+
}), jsx("span", Object.assign({
|
|
604
613
|
className: "fwe-sr-only"
|
|
605
614
|
}, {
|
|
606
615
|
children: "Close"
|
|
607
|
-
})
|
|
608
|
-
})
|
|
609
|
-
})
|
|
616
|
+
}))]
|
|
617
|
+
}))
|
|
618
|
+
})), jsx("div", Object.assign({
|
|
610
619
|
className: "fwe-modal-header"
|
|
611
620
|
}, {
|
|
612
621
|
children: head
|
|
613
|
-
})
|
|
622
|
+
})), jsx("div", Object.assign({
|
|
614
623
|
className: "fwe-modal-body"
|
|
615
624
|
}, {
|
|
616
625
|
children: body
|
|
617
|
-
})
|
|
618
|
-
})
|
|
619
|
-
})
|
|
620
|
-
})
|
|
621
|
-
}
|
|
626
|
+
})), children]
|
|
627
|
+
}))
|
|
628
|
+
}))
|
|
629
|
+
}))]
|
|
630
|
+
});
|
|
622
631
|
});
|
|
623
632
|
|
|
624
633
|
const ModalFooter = /*#__PURE__*/forwardRef(({
|
|
@@ -633,8 +642,8 @@ const ModalFooter = /*#__PURE__*/forwardRef(({
|
|
|
633
642
|
className: classNames('fwe-modal-buttons')
|
|
634
643
|
}, {
|
|
635
644
|
children: children
|
|
636
|
-
})
|
|
637
|
-
})
|
|
645
|
+
}))
|
|
646
|
+
}));
|
|
638
647
|
});
|
|
639
648
|
|
|
640
649
|
function AlertModal(_a) {
|
|
@@ -670,8 +679,8 @@ function AlertModal(_a) {
|
|
|
670
679
|
'fwe-icon-status-failure': alertType === 'error',
|
|
671
680
|
'fwe-icon-status-check-status': alertType === 'info'
|
|
672
681
|
})
|
|
673
|
-
}
|
|
674
|
-
})
|
|
682
|
+
}), subtitle]
|
|
683
|
+
})), jsxs("h1", Object.assign({
|
|
675
684
|
className: "fwe-modal-h1"
|
|
676
685
|
}, {
|
|
677
686
|
children: [jsx("i", {
|
|
@@ -681,12 +690,12 @@ function AlertModal(_a) {
|
|
|
681
690
|
'fwe-icon-status-failure': alertType === 'error',
|
|
682
691
|
'fwe-icon-status-check-status': alertType === 'info'
|
|
683
692
|
})
|
|
684
|
-
}
|
|
685
|
-
})
|
|
686
|
-
}
|
|
693
|
+
}), title]
|
|
694
|
+
}))]
|
|
695
|
+
}),
|
|
687
696
|
body: jsx("p", {
|
|
688
697
|
children: body
|
|
689
|
-
}
|
|
698
|
+
})
|
|
690
699
|
}, props, {
|
|
691
700
|
children: (cancel || ok) && jsxs(ModalFooter, {
|
|
692
701
|
children: [cancel && jsx("button", Object.assign({
|
|
@@ -698,7 +707,7 @@ function AlertModal(_a) {
|
|
|
698
707
|
onClick: onCancel
|
|
699
708
|
}, {
|
|
700
709
|
children: cancel
|
|
701
|
-
})
|
|
710
|
+
})), ok && jsx("button", Object.assign({
|
|
702
711
|
type: "button",
|
|
703
712
|
"aria-label": "Ok",
|
|
704
713
|
className: classNames('fwe-btn fwe-btn-lg', {
|
|
@@ -707,9 +716,9 @@ function AlertModal(_a) {
|
|
|
707
716
|
onClick: onOk
|
|
708
717
|
}, {
|
|
709
718
|
children: ok
|
|
710
|
-
})
|
|
711
|
-
}
|
|
712
|
-
})
|
|
719
|
+
}))]
|
|
720
|
+
})
|
|
721
|
+
}));
|
|
713
722
|
}
|
|
714
723
|
|
|
715
724
|
function ConfirmModal(_a) {
|
|
@@ -736,15 +745,15 @@ function ConfirmModal(_a) {
|
|
|
736
745
|
className: "fwe-modal-h2"
|
|
737
746
|
}, {
|
|
738
747
|
children: subtitle
|
|
739
|
-
})
|
|
748
|
+
})), jsx("h1", Object.assign({
|
|
740
749
|
className: "fwe-modal-h1"
|
|
741
750
|
}, {
|
|
742
751
|
children: title
|
|
743
|
-
})
|
|
744
|
-
}
|
|
752
|
+
}))]
|
|
753
|
+
}),
|
|
745
754
|
body: jsx("p", {
|
|
746
755
|
children: body
|
|
747
|
-
}
|
|
756
|
+
}),
|
|
748
757
|
isOpen: isOpen
|
|
749
758
|
}, props, {
|
|
750
759
|
children: (cancel || ok) && jsxs(ModalFooter, {
|
|
@@ -755,16 +764,16 @@ function ConfirmModal(_a) {
|
|
|
755
764
|
onClick: onCancel
|
|
756
765
|
}, {
|
|
757
766
|
children: cancel
|
|
758
|
-
})
|
|
767
|
+
})), ok && jsx("button", Object.assign({
|
|
759
768
|
type: "button",
|
|
760
769
|
"aria-label": "Ok",
|
|
761
770
|
className: "fwe-btn fwe-btn-hero fwe-btn-lg",
|
|
762
771
|
onClick: onOk
|
|
763
772
|
}, {
|
|
764
773
|
children: ok
|
|
765
|
-
})
|
|
766
|
-
}
|
|
767
|
-
})
|
|
774
|
+
}))]
|
|
775
|
+
})
|
|
776
|
+
}));
|
|
768
777
|
}
|
|
769
778
|
|
|
770
779
|
const TextInput = _a => {
|
|
@@ -823,20 +832,20 @@ const TextInput = _a => {
|
|
|
823
832
|
onInput: onInput,
|
|
824
833
|
type: innerType,
|
|
825
834
|
value: innerValue
|
|
826
|
-
}, props)
|
|
835
|
+
}, props)), jsx("span", Object.assign({
|
|
827
836
|
className: "fwe-input-text-label"
|
|
828
837
|
}, {
|
|
829
838
|
children: label
|
|
830
|
-
})
|
|
839
|
+
})), hint && jsx("span", Object.assign({
|
|
831
840
|
className: hintClasses
|
|
832
841
|
}, {
|
|
833
842
|
children: hint
|
|
834
|
-
})
|
|
843
|
+
})), error && jsx("span", Object.assign({
|
|
835
844
|
className: "fwe-input-text-invalid"
|
|
836
845
|
}, {
|
|
837
846
|
children: error
|
|
838
|
-
})
|
|
839
|
-
})
|
|
847
|
+
}))]
|
|
848
|
+
}));
|
|
840
849
|
};
|
|
841
850
|
|
|
842
851
|
function Prompt(_a) {
|
|
@@ -873,18 +882,18 @@ function Prompt(_a) {
|
|
|
873
882
|
className: "fwe-modal-h2"
|
|
874
883
|
}, {
|
|
875
884
|
children: subtitle
|
|
876
|
-
})
|
|
885
|
+
})), jsx("h1", Object.assign({
|
|
877
886
|
className: "fwe-modal-h1"
|
|
878
887
|
}, {
|
|
879
888
|
children: title
|
|
880
|
-
})
|
|
881
|
-
}
|
|
889
|
+
}))]
|
|
890
|
+
}),
|
|
882
891
|
body: jsx(TextInput, {
|
|
883
892
|
onChange: handleChange,
|
|
884
893
|
label: label,
|
|
885
894
|
hint: hint,
|
|
886
895
|
value: innerValue
|
|
887
|
-
}
|
|
896
|
+
})
|
|
888
897
|
}, props, {
|
|
889
898
|
children: (cancel || ok) && jsxs(ModalFooter, {
|
|
890
899
|
children: [cancel && jsx("button", Object.assign({
|
|
@@ -894,16 +903,16 @@ function Prompt(_a) {
|
|
|
894
903
|
onClick: onCancel
|
|
895
904
|
}, {
|
|
896
905
|
children: cancel
|
|
897
|
-
})
|
|
906
|
+
})), ok && jsx("button", Object.assign({
|
|
898
907
|
type: "button",
|
|
899
908
|
"aria-label": "Ok",
|
|
900
909
|
className: "fwe-btn fwe-btn-hero",
|
|
901
910
|
onClick: () => onOk(innerValue)
|
|
902
911
|
}, {
|
|
903
912
|
children: ok
|
|
904
|
-
})
|
|
905
|
-
}
|
|
906
|
-
})
|
|
913
|
+
}))]
|
|
914
|
+
})
|
|
915
|
+
}));
|
|
907
916
|
}
|
|
908
917
|
|
|
909
918
|
var PaginationType;
|
|
@@ -980,17 +989,17 @@ function Pagination(props) {
|
|
|
980
989
|
onClick: onBtnDown,
|
|
981
990
|
type: "button",
|
|
982
991
|
"aria-label": "navigate-btn-down"
|
|
983
|
-
}
|
|
992
|
+
}), type === PaginationType.Numeric && jsxs(Fragment, {
|
|
984
993
|
children: [jsx("span", Object.assign({
|
|
985
994
|
className: "fwe-page-current"
|
|
986
995
|
}, {
|
|
987
996
|
children: innerPageCurrent
|
|
988
|
-
})
|
|
997
|
+
})), jsx("span", Object.assign({
|
|
989
998
|
className: "fwe-page-max"
|
|
990
999
|
}, {
|
|
991
1000
|
children: pageMax
|
|
992
|
-
})
|
|
993
|
-
}
|
|
1001
|
+
}))]
|
|
1002
|
+
}), jsx("button", {
|
|
994
1003
|
className: classNames('fwe-navigate-btn-up', {
|
|
995
1004
|
'fwe-disabled': innerPageCurrent >= pageMax,
|
|
996
1005
|
'fwe-ml-4': type === PaginationType.Simple
|
|
@@ -998,8 +1007,8 @@ function Pagination(props) {
|
|
|
998
1007
|
onClick: onBtnUp,
|
|
999
1008
|
type: "button",
|
|
1000
1009
|
"aria-label": "navigate-btn-up"
|
|
1001
|
-
}
|
|
1002
|
-
})
|
|
1010
|
+
})]
|
|
1011
|
+
})), type === PaginationType.Dots && jsx("div", Object.assign({
|
|
1003
1012
|
className: classNames('fwe-p-m', {
|
|
1004
1013
|
'fwe-d-none': pageMax < 2
|
|
1005
1014
|
}, className)
|
|
@@ -1017,9 +1026,9 @@ function Pagination(props) {
|
|
|
1017
1026
|
"aria-label": "page-dot",
|
|
1018
1027
|
onKeyPress: e => handleKeyPress(e, index)
|
|
1019
1028
|
}, index))
|
|
1020
|
-
})
|
|
1021
|
-
})
|
|
1022
|
-
}
|
|
1029
|
+
}))
|
|
1030
|
+
}))]
|
|
1031
|
+
});
|
|
1023
1032
|
}
|
|
1024
1033
|
|
|
1025
1034
|
function Popover({
|
|
@@ -1088,7 +1097,7 @@ function Popover({
|
|
|
1088
1097
|
onClick: e => handleChange(e, !showPopper)
|
|
1089
1098
|
}, {
|
|
1090
1099
|
children: children
|
|
1091
|
-
})
|
|
1100
|
+
}));
|
|
1092
1101
|
|
|
1093
1102
|
return jsxs(OutsideClickHandler, Object.assign({
|
|
1094
1103
|
display: "inline",
|
|
@@ -1104,13 +1113,13 @@ function Popover({
|
|
|
1104
1113
|
className: "fwe-popover"
|
|
1105
1114
|
}, {
|
|
1106
1115
|
children: popoverContent
|
|
1107
|
-
})
|
|
1116
|
+
})), arrow && jsx("div", {
|
|
1108
1117
|
ref: setArrowElement,
|
|
1109
1118
|
style: styles.arrow,
|
|
1110
1119
|
id: "arrow"
|
|
1111
|
-
}
|
|
1112
|
-
})
|
|
1113
|
-
})
|
|
1120
|
+
})]
|
|
1121
|
+
}))]
|
|
1122
|
+
}));
|
|
1114
1123
|
}
|
|
1115
1124
|
|
|
1116
1125
|
function PopoverMenu(_a) {
|
|
@@ -1144,12 +1153,12 @@ function PopoverMenu(_a) {
|
|
|
1144
1153
|
}, {
|
|
1145
1154
|
children: [jsx("i", {
|
|
1146
1155
|
className: `fwe-icon fwe-pr-0 ${item.icon}`
|
|
1147
|
-
}
|
|
1156
|
+
}), jsx("span", {
|
|
1148
1157
|
children: item.text
|
|
1149
|
-
}
|
|
1150
|
-
})
|
|
1158
|
+
})]
|
|
1159
|
+
}))
|
|
1151
1160
|
}), item.icon + item.text))
|
|
1152
|
-
})
|
|
1161
|
+
}));
|
|
1153
1162
|
|
|
1154
1163
|
return jsx("div", Object.assign({
|
|
1155
1164
|
className: classNames('fwe-popover-menu', className)
|
|
@@ -1166,10 +1175,10 @@ function PopoverMenu(_a) {
|
|
|
1166
1175
|
}, {
|
|
1167
1176
|
children: jsx("i", {
|
|
1168
1177
|
className: `fwe-icon fwe-pr-0 ${icon}`
|
|
1169
|
-
}
|
|
1170
|
-
})
|
|
1171
|
-
})
|
|
1172
|
-
})
|
|
1178
|
+
})
|
|
1179
|
+
}))
|
|
1180
|
+
}))
|
|
1181
|
+
}));
|
|
1173
1182
|
}
|
|
1174
1183
|
|
|
1175
1184
|
function Tooltip({
|
|
@@ -1212,7 +1221,7 @@ function Tooltip({
|
|
|
1212
1221
|
onMouseLeave: () => setShowPopper(false)
|
|
1213
1222
|
}, {
|
|
1214
1223
|
children: children
|
|
1215
|
-
})
|
|
1224
|
+
})), showPopper && jsxs("div", Object.assign({
|
|
1216
1225
|
className: "fwe-popover-container",
|
|
1217
1226
|
id: "tooltip",
|
|
1218
1227
|
ref: setPopperElement,
|
|
@@ -1222,13 +1231,13 @@ function Tooltip({
|
|
|
1222
1231
|
ref: setArrowElement,
|
|
1223
1232
|
style: styles.arrow,
|
|
1224
1233
|
id: "arrow"
|
|
1225
|
-
}
|
|
1234
|
+
}), jsx("div", Object.assign({
|
|
1226
1235
|
className: "fwe-popover"
|
|
1227
1236
|
}, {
|
|
1228
1237
|
children: title
|
|
1229
|
-
})
|
|
1230
|
-
})
|
|
1231
|
-
}
|
|
1238
|
+
}))]
|
|
1239
|
+
}))]
|
|
1240
|
+
});
|
|
1232
1241
|
}
|
|
1233
1242
|
|
|
1234
1243
|
function Progress({
|
|
@@ -1257,8 +1266,8 @@ function Progress({
|
|
|
1257
1266
|
"aria-valuemin": 0,
|
|
1258
1267
|
"aria-valuemax": 100,
|
|
1259
1268
|
"aria-label": "progressbar"
|
|
1260
|
-
}
|
|
1261
|
-
})
|
|
1269
|
+
})
|
|
1270
|
+
}));
|
|
1262
1271
|
}
|
|
1263
1272
|
|
|
1264
1273
|
function Snackbar(props) {
|
|
@@ -1325,16 +1334,16 @@ function Snackbar(props) {
|
|
|
1325
1334
|
'fwe-icon-status-warning': (data === null || data === void 0 ? void 0 : data.type) === 'warning',
|
|
1326
1335
|
'fwe-icon-status-failure': (data === null || data === void 0 ? void 0 : data.type) === 'error'
|
|
1327
1336
|
})
|
|
1328
|
-
}
|
|
1337
|
+
}), jsx("span", {
|
|
1329
1338
|
children: data === null || data === void 0 ? void 0 : data.text
|
|
1330
|
-
}
|
|
1339
|
+
}), (data === null || data === void 0 ? void 0 : data.action) && jsx("button", Object.assign({
|
|
1331
1340
|
"aria-label": "UserAction",
|
|
1332
1341
|
type: "button",
|
|
1333
1342
|
className: "fwe-btn fwe-btn-link",
|
|
1334
1343
|
onClick: () => onAction ? onAction() : undefined
|
|
1335
1344
|
}, {
|
|
1336
1345
|
children: data === null || data === void 0 ? void 0 : data.action
|
|
1337
|
-
})
|
|
1346
|
+
})), (data === null || data === void 0 ? void 0 : data.showClose) && jsxs("button", Object.assign({
|
|
1338
1347
|
"aria-label": "Close",
|
|
1339
1348
|
type: "button",
|
|
1340
1349
|
className: "fwe-btn fwe-btn-link",
|
|
@@ -1343,18 +1352,18 @@ function Snackbar(props) {
|
|
|
1343
1352
|
children: [jsx("i", {
|
|
1344
1353
|
"aria-hidden": true,
|
|
1345
1354
|
className: "fwe-icon fwe-icon-close-small"
|
|
1346
|
-
}
|
|
1355
|
+
}), jsx("span", Object.assign({
|
|
1347
1356
|
className: "fwe-sr-only"
|
|
1348
1357
|
}, {
|
|
1349
1358
|
children: "Close"
|
|
1350
|
-
})
|
|
1351
|
-
})
|
|
1352
|
-
})
|
|
1353
|
-
})
|
|
1354
|
-
})
|
|
1359
|
+
}))]
|
|
1360
|
+
}))]
|
|
1361
|
+
}))
|
|
1362
|
+
}))
|
|
1363
|
+
}));
|
|
1355
1364
|
}
|
|
1356
1365
|
|
|
1357
|
-
var SnackbarContext = /*#__PURE__*/React.createContext(
|
|
1366
|
+
var SnackbarContext = /*#__PURE__*/React.createContext(null);
|
|
1358
1367
|
|
|
1359
1368
|
function SnackbarProvider(props) {
|
|
1360
1369
|
const {
|
|
@@ -1367,17 +1376,21 @@ function SnackbarProvider(props) {
|
|
|
1367
1376
|
const [snacks, setSnacks] = useState([]);
|
|
1368
1377
|
|
|
1369
1378
|
function addSnackbar(snackData, onAction, onClose) {
|
|
1379
|
+
var _a;
|
|
1380
|
+
|
|
1381
|
+
const key = (_a = snackData.key) !== null && _a !== void 0 ? _a : new Date().getTime() + Math.random();
|
|
1370
1382
|
setSnacks(prevSnacks => [{
|
|
1371
1383
|
data: Object.assign(Object.assign({}, config), snackData),
|
|
1372
1384
|
onAction,
|
|
1373
1385
|
onClose,
|
|
1374
|
-
key:
|
|
1386
|
+
key: key,
|
|
1375
1387
|
first: prevSnacks.length === 0
|
|
1376
1388
|
}, ...prevSnacks]);
|
|
1389
|
+
return key;
|
|
1377
1390
|
}
|
|
1378
1391
|
|
|
1379
1392
|
function closeSnackbar(key) {
|
|
1380
|
-
if (key) {
|
|
1393
|
+
if (key !== undefined) {
|
|
1381
1394
|
setSnacks(prevSnacks => prevSnacks.filter(snack => snack.key !== key));
|
|
1382
1395
|
}
|
|
1383
1396
|
}
|
|
@@ -1406,8 +1419,8 @@ function SnackbarProvider(props) {
|
|
|
1406
1419
|
onClose: () => handleClose(snack),
|
|
1407
1420
|
first: snack.first
|
|
1408
1421
|
}, snack.key))
|
|
1409
|
-
})
|
|
1410
|
-
})
|
|
1422
|
+
}))]
|
|
1423
|
+
}));
|
|
1411
1424
|
}
|
|
1412
1425
|
|
|
1413
1426
|
var useSnackbar = (() => useContext(SnackbarContext));
|
|
@@ -1430,8 +1443,8 @@ const StepHorizontal = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1430
1443
|
className: "fr-moving-container"
|
|
1431
1444
|
}, {
|
|
1432
1445
|
children: children
|
|
1433
|
-
})
|
|
1434
|
-
})
|
|
1446
|
+
}))
|
|
1447
|
+
}));
|
|
1435
1448
|
});
|
|
1436
1449
|
|
|
1437
1450
|
const StepperHorizontal = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -1476,15 +1489,15 @@ const StepperHorizontal = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1476
1489
|
className: "fwe-step-no"
|
|
1477
1490
|
}, {
|
|
1478
1491
|
children: i + 1
|
|
1479
|
-
})
|
|
1492
|
+
})), jsx("div", Object.assign({
|
|
1480
1493
|
className: "fwe-step-name"
|
|
1481
1494
|
}, {
|
|
1482
1495
|
children: step.props.title
|
|
1483
|
-
})
|
|
1484
|
-
})
|
|
1496
|
+
}))]
|
|
1497
|
+
}))
|
|
1485
1498
|
}), i))
|
|
1486
|
-
})
|
|
1487
|
-
}
|
|
1499
|
+
})), stepComponents]
|
|
1500
|
+
});
|
|
1488
1501
|
});
|
|
1489
1502
|
|
|
1490
1503
|
const StepVertical = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -1533,12 +1546,12 @@ const StepVertical = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1533
1546
|
className: "fwe-step-no"
|
|
1534
1547
|
}, {
|
|
1535
1548
|
children: index + 1
|
|
1536
|
-
})
|
|
1549
|
+
})), jsx("div", Object.assign({
|
|
1537
1550
|
className: "fwe-step-name"
|
|
1538
1551
|
}, {
|
|
1539
1552
|
children: title
|
|
1540
|
-
})
|
|
1541
|
-
})
|
|
1553
|
+
}))]
|
|
1554
|
+
})), jsx("div", Object.assign({
|
|
1542
1555
|
ref: containerRef,
|
|
1543
1556
|
className: "fwe-step-content-container"
|
|
1544
1557
|
}, {
|
|
@@ -1547,9 +1560,9 @@ const StepVertical = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1547
1560
|
className: "fwe-step-content"
|
|
1548
1561
|
}, {
|
|
1549
1562
|
children: children
|
|
1550
|
-
})
|
|
1551
|
-
})
|
|
1552
|
-
})
|
|
1563
|
+
}))
|
|
1564
|
+
}))]
|
|
1565
|
+
}));
|
|
1553
1566
|
});
|
|
1554
1567
|
|
|
1555
1568
|
const StepperVertical = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -1583,7 +1596,7 @@ const StepperVertical = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1583
1596
|
className: classNames('fwe-stepper-vertical', className)
|
|
1584
1597
|
}, props, {
|
|
1585
1598
|
children: stepComponents
|
|
1586
|
-
})
|
|
1599
|
+
}));
|
|
1587
1600
|
});
|
|
1588
1601
|
|
|
1589
1602
|
function TabPane({
|
|
@@ -1604,7 +1617,7 @@ function TabPane({
|
|
|
1604
1617
|
className: tabPaneClasses
|
|
1605
1618
|
}, {
|
|
1606
1619
|
children: children
|
|
1607
|
-
})
|
|
1620
|
+
}));
|
|
1608
1621
|
}
|
|
1609
1622
|
|
|
1610
1623
|
const useTabScroll = (tabLength, componentId, refs) => {
|
|
@@ -1993,10 +2006,10 @@ const Tabs = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
1993
2006
|
}, {
|
|
1994
2007
|
children: [jsx("i", {
|
|
1995
2008
|
className: `fwe-icon ${icon}`
|
|
1996
|
-
}
|
|
2009
|
+
}), jsx("span", {
|
|
1997
2010
|
children: name
|
|
1998
|
-
}
|
|
1999
|
-
})
|
|
2011
|
+
})]
|
|
2012
|
+
})) : jsx("a", Object.assign({
|
|
2000
2013
|
id: tabId,
|
|
2001
2014
|
className: "fwe-legacy-tab-link",
|
|
2002
2015
|
role: "tab",
|
|
@@ -2004,15 +2017,15 @@ const Tabs = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
2004
2017
|
"aria-selected": active
|
|
2005
2018
|
}, {
|
|
2006
2019
|
children: name
|
|
2007
|
-
})
|
|
2020
|
+
}))
|
|
2008
2021
|
}), tabId);
|
|
2009
2022
|
})
|
|
2010
|
-
})
|
|
2023
|
+
})), jsx("div", Object.assign({
|
|
2011
2024
|
className: "fwe-legacy-tab-panel-content"
|
|
2012
2025
|
}, {
|
|
2013
2026
|
children: innerChildren
|
|
2014
|
-
})
|
|
2015
|
-
})
|
|
2027
|
+
}))]
|
|
2028
|
+
})) : jsxs("div", Object.assign({
|
|
2016
2029
|
className: "fr-tab-bar",
|
|
2017
2030
|
role: "tablist",
|
|
2018
2031
|
ref: combinedRef
|
|
@@ -2058,29 +2071,29 @@ const Tabs = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
2058
2071
|
className: "fr-tab-text-label"
|
|
2059
2072
|
}, {
|
|
2060
2073
|
children: name
|
|
2061
|
-
})
|
|
2062
|
-
})
|
|
2074
|
+
}))
|
|
2075
|
+
})), jsx("span", Object.assign({
|
|
2063
2076
|
className: classNames('fr-tab-indicator', {
|
|
2064
2077
|
'fr-tab-indicator--active': active
|
|
2065
2078
|
})
|
|
2066
2079
|
}, {
|
|
2067
2080
|
children: jsx("span", {
|
|
2068
2081
|
className: "fr-tab-indicator-content fr-tab-indicator-content--underline"
|
|
2069
|
-
}
|
|
2070
|
-
})
|
|
2082
|
+
})
|
|
2083
|
+
}))]
|
|
2071
2084
|
}), tabId);
|
|
2072
2085
|
}), jsx("div", {
|
|
2073
2086
|
className: "fr-tab-scroller-divider-line"
|
|
2074
|
-
}
|
|
2075
|
-
})
|
|
2076
|
-
})
|
|
2077
|
-
})
|
|
2087
|
+
})]
|
|
2088
|
+
}))
|
|
2089
|
+
}))
|
|
2090
|
+
})), jsx("div", Object.assign({
|
|
2078
2091
|
className: "fr-tab-panel-content"
|
|
2079
2092
|
}, {
|
|
2080
2093
|
children: innerChildren
|
|
2081
|
-
})
|
|
2082
|
-
})
|
|
2083
|
-
}
|
|
2094
|
+
}))]
|
|
2095
|
+
}))
|
|
2096
|
+
})
|
|
2084
2097
|
);
|
|
2085
2098
|
});
|
|
2086
2099
|
|
|
@@ -2099,7 +2112,7 @@ const TableHeaderCell = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
2099
2112
|
}, props.className),
|
|
2100
2113
|
onClick: handleClick,
|
|
2101
2114
|
ref: ref
|
|
2102
|
-
})
|
|
2115
|
+
}));
|
|
2103
2116
|
});
|
|
2104
2117
|
|
|
2105
2118
|
function Checkbox(_a) {
|
|
@@ -2162,20 +2175,20 @@ function Checkbox(_a) {
|
|
|
2162
2175
|
id: id,
|
|
2163
2176
|
disabled: disabled,
|
|
2164
2177
|
onChange: () => handleChange()
|
|
2165
|
-
}, props)
|
|
2178
|
+
}, props)), jsxs("div", Object.assign({
|
|
2166
2179
|
className: "fwe-checkbox-indicator-container"
|
|
2167
2180
|
}, {
|
|
2168
2181
|
children: [jsx("div", {
|
|
2169
2182
|
className: "fwe-checkbox-indicator-background"
|
|
2170
|
-
}
|
|
2183
|
+
}), !isIndeterminate && isChecked && (large ? jsx("svg", Object.assign({
|
|
2171
2184
|
width: "24px",
|
|
2172
2185
|
height: "24px"
|
|
2173
2186
|
}, {
|
|
2174
2187
|
children: jsx("path", {
|
|
2175
2188
|
d: "M17.5 7L10 14.5 7.501 12l-1.5 1.501L10 17.5l9-9z",
|
|
2176
2189
|
fill: "#fff"
|
|
2177
|
-
}
|
|
2178
|
-
})
|
|
2190
|
+
})
|
|
2191
|
+
})) : jsx("svg", Object.assign({
|
|
2179
2192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2180
2193
|
width: "16",
|
|
2181
2194
|
height: "16"
|
|
@@ -2183,16 +2196,16 @@ function Checkbox(_a) {
|
|
|
2183
2196
|
children: jsx("path", {
|
|
2184
2197
|
d: "M6 12L3 9l1.25-1.25L6 9.5l5.75-5.75L13 5l-7 7z",
|
|
2185
2198
|
fill: "#fff"
|
|
2186
|
-
}
|
|
2187
|
-
})
|
|
2199
|
+
})
|
|
2200
|
+
}))), isIndeterminate && !isChecked && jsx("div", {
|
|
2188
2201
|
className: "fwe-indeterminate-indicator"
|
|
2189
|
-
}
|
|
2190
|
-
})
|
|
2202
|
+
})]
|
|
2203
|
+
})), jsx("div", Object.assign({
|
|
2191
2204
|
className: "fwe-checkbox-title"
|
|
2192
2205
|
}, {
|
|
2193
2206
|
children: children
|
|
2194
|
-
})
|
|
2195
|
-
})
|
|
2207
|
+
}))]
|
|
2208
|
+
}));
|
|
2196
2209
|
}
|
|
2197
2210
|
|
|
2198
2211
|
function ColorIndicator({
|
|
@@ -2245,30 +2258,30 @@ function ColorIndicator({
|
|
|
2245
2258
|
height: "2",
|
|
2246
2259
|
stroke: "none",
|
|
2247
2260
|
fill: "#ffffff"
|
|
2248
|
-
}
|
|
2261
|
+
}), jsx("rect", {
|
|
2249
2262
|
x: "2",
|
|
2250
2263
|
y: "0",
|
|
2251
2264
|
width: "2",
|
|
2252
2265
|
height: "2",
|
|
2253
2266
|
stroke: "none",
|
|
2254
2267
|
fill: "#e5e8eb"
|
|
2255
|
-
}
|
|
2268
|
+
}), jsx("rect", {
|
|
2256
2269
|
x: "0",
|
|
2257
2270
|
y: "2",
|
|
2258
2271
|
width: "2",
|
|
2259
2272
|
height: "2",
|
|
2260
2273
|
stroke: "none",
|
|
2261
2274
|
fill: "#e5e8eb"
|
|
2262
|
-
}
|
|
2275
|
+
}), jsx("rect", {
|
|
2263
2276
|
x: "2",
|
|
2264
2277
|
y: "2",
|
|
2265
2278
|
width: "2",
|
|
2266
2279
|
height: "2",
|
|
2267
2280
|
stroke: "none",
|
|
2268
2281
|
fill: "#ffffff"
|
|
2269
|
-
}
|
|
2270
|
-
})
|
|
2271
|
-
}
|
|
2282
|
+
})]
|
|
2283
|
+
}))
|
|
2284
|
+
}), jsx("rect", {
|
|
2272
2285
|
x: "0",
|
|
2273
2286
|
y: "0",
|
|
2274
2287
|
rx: "0",
|
|
@@ -2277,9 +2290,9 @@ function ColorIndicator({
|
|
|
2277
2290
|
height: "18",
|
|
2278
2291
|
fill: "url(#bwsquare2px)",
|
|
2279
2292
|
strokeWidth: "0"
|
|
2280
|
-
}
|
|
2281
|
-
})
|
|
2282
|
-
})
|
|
2293
|
+
})]
|
|
2294
|
+
}))
|
|
2295
|
+
}));
|
|
2283
2296
|
|
|
2284
2297
|
const wrapper = wrapperChildren => jsxs("div", Object.assign({
|
|
2285
2298
|
className: classes,
|
|
@@ -2292,16 +2305,16 @@ function ColorIndicator({
|
|
|
2292
2305
|
className: "fwe-color-label"
|
|
2293
2306
|
}, {
|
|
2294
2307
|
children: label
|
|
2295
|
-
})
|
|
2308
|
+
})), jsxs("div", Object.assign({
|
|
2296
2309
|
className: "fwe-color-container"
|
|
2297
2310
|
}, {
|
|
2298
2311
|
children: [wrapperChildren, " ", text && jsx("div", Object.assign({
|
|
2299
2312
|
className: "fwe-color-indicator-text"
|
|
2300
2313
|
}, {
|
|
2301
2314
|
children: text
|
|
2302
|
-
})
|
|
2303
|
-
})
|
|
2304
|
-
})
|
|
2315
|
+
})), ' ']
|
|
2316
|
+
}))]
|
|
2317
|
+
}));
|
|
2305
2318
|
|
|
2306
2319
|
return showPopOver ? jsx(Popover, Object.assign({
|
|
2307
2320
|
containerClassName: "fwe-popover-container--color-indicator",
|
|
@@ -2314,9 +2327,9 @@ function ColorIndicator({
|
|
|
2314
2327
|
stopPropagation: true
|
|
2315
2328
|
}, {
|
|
2316
2329
|
children: colorBox
|
|
2317
|
-
})
|
|
2330
|
+
})) : jsx(Fragment, {
|
|
2318
2331
|
children: wrapper(colorBox)
|
|
2319
|
-
}
|
|
2332
|
+
});
|
|
2320
2333
|
}
|
|
2321
2334
|
|
|
2322
2335
|
class ColorHelper {
|
|
@@ -2736,7 +2749,7 @@ function ColorPicker({
|
|
|
2736
2749
|
style: {
|
|
2737
2750
|
backgroundImage: getSaturationGradient()
|
|
2738
2751
|
}
|
|
2739
|
-
}
|
|
2752
|
+
}), jsx("div", {
|
|
2740
2753
|
onClick: ({
|
|
2741
2754
|
nativeEvent: {
|
|
2742
2755
|
offsetX,
|
|
@@ -2744,7 +2757,7 @@ function ColorPicker({
|
|
|
2744
2757
|
}
|
|
2745
2758
|
}) => updateGradient(offsetX, offsetY),
|
|
2746
2759
|
className: "fwe-brightness-gradient"
|
|
2747
|
-
}
|
|
2760
|
+
}), jsx(Draggable, Object.assign({
|
|
2748
2761
|
position: {
|
|
2749
2762
|
x: saturationKnobOffset,
|
|
2750
2763
|
y: valueKnobOffset
|
|
@@ -2754,9 +2767,9 @@ function ColorPicker({
|
|
|
2754
2767
|
}, {
|
|
2755
2768
|
children: jsx("div", {
|
|
2756
2769
|
className: "fwe-knob"
|
|
2757
|
-
}
|
|
2758
|
-
})
|
|
2759
|
-
})
|
|
2770
|
+
})
|
|
2771
|
+
}))]
|
|
2772
|
+
})), jsxs("div", Object.assign({
|
|
2760
2773
|
className: "fwe-hue-picker"
|
|
2761
2774
|
}, {
|
|
2762
2775
|
children: [jsx("div", {
|
|
@@ -2766,7 +2779,7 @@ function ColorPicker({
|
|
|
2766
2779
|
offsetY
|
|
2767
2780
|
}
|
|
2768
2781
|
}) => updateHue(offsetY)
|
|
2769
|
-
}
|
|
2782
|
+
}), jsx(Draggable, Object.assign({
|
|
2770
2783
|
position: {
|
|
2771
2784
|
x: 3,
|
|
2772
2785
|
y: hueKnobOffset
|
|
@@ -2779,9 +2792,9 @@ function ColorPicker({
|
|
|
2779
2792
|
style: {
|
|
2780
2793
|
background: `hsl(${hsv.h * 360}, 100%, 50%)`
|
|
2781
2794
|
}
|
|
2782
|
-
}
|
|
2783
|
-
})
|
|
2784
|
-
})
|
|
2795
|
+
})
|
|
2796
|
+
}))]
|
|
2797
|
+
})), useAlpha && jsxs("div", Object.assign({
|
|
2785
2798
|
className: "fwe-alpha-picker"
|
|
2786
2799
|
}, {
|
|
2787
2800
|
children: [jsxs("svg", Object.assign({
|
|
@@ -2807,30 +2820,30 @@ function ColorPicker({
|
|
|
2807
2820
|
height: "2",
|
|
2808
2821
|
stroke: "none",
|
|
2809
2822
|
fill: "#ffffff"
|
|
2810
|
-
}
|
|
2823
|
+
}), jsx("rect", {
|
|
2811
2824
|
x: "2",
|
|
2812
2825
|
y: "0",
|
|
2813
2826
|
width: "2",
|
|
2814
2827
|
height: "2",
|
|
2815
2828
|
stroke: "none",
|
|
2816
2829
|
fill: "#e5e8eb"
|
|
2817
|
-
}
|
|
2830
|
+
}), jsx("rect", {
|
|
2818
2831
|
x: "0",
|
|
2819
2832
|
y: "2",
|
|
2820
2833
|
width: "2",
|
|
2821
2834
|
height: "2",
|
|
2822
2835
|
stroke: "none",
|
|
2823
2836
|
fill: "#e5e8eb"
|
|
2824
|
-
}
|
|
2837
|
+
}), jsx("rect", {
|
|
2825
2838
|
x: "2",
|
|
2826
2839
|
y: "2",
|
|
2827
2840
|
width: "2",
|
|
2828
2841
|
height: "2",
|
|
2829
2842
|
stroke: "none",
|
|
2830
2843
|
fill: "#ffffff"
|
|
2831
|
-
}
|
|
2832
|
-
})
|
|
2833
|
-
}
|
|
2844
|
+
})]
|
|
2845
|
+
}))
|
|
2846
|
+
}), jsx("rect", {
|
|
2834
2847
|
x: "0",
|
|
2835
2848
|
y: "0",
|
|
2836
2849
|
rx: "4",
|
|
@@ -2839,8 +2852,8 @@ function ColorPicker({
|
|
|
2839
2852
|
height: "184",
|
|
2840
2853
|
fill: "url(#bwsquare2px)",
|
|
2841
2854
|
strokeWidth: "0"
|
|
2842
|
-
}
|
|
2843
|
-
})
|
|
2855
|
+
})]
|
|
2856
|
+
})), jsx("div", {
|
|
2844
2857
|
onClick: ({
|
|
2845
2858
|
nativeEvent: {
|
|
2846
2859
|
offsetY
|
|
@@ -2850,7 +2863,7 @@ function ColorPicker({
|
|
|
2850
2863
|
style: {
|
|
2851
2864
|
backgroundImage: `linear-gradient( ${innerColor}, transparent)`
|
|
2852
2865
|
}
|
|
2853
|
-
}
|
|
2866
|
+
}), jsx(Draggable, Object.assign({
|
|
2854
2867
|
position: {
|
|
2855
2868
|
x: 3,
|
|
2856
2869
|
y: alphaKnobOffset
|
|
@@ -2860,10 +2873,10 @@ function ColorPicker({
|
|
|
2860
2873
|
}, {
|
|
2861
2874
|
children: jsx("div", {
|
|
2862
2875
|
className: "fwe-knob"
|
|
2863
|
-
}
|
|
2864
|
-
})
|
|
2865
|
-
})
|
|
2866
|
-
})
|
|
2876
|
+
})
|
|
2877
|
+
}))]
|
|
2878
|
+
}))]
|
|
2879
|
+
})), !paletteOnly && jsxs("div", Object.assign({
|
|
2867
2880
|
className: "fwe-mt-s"
|
|
2868
2881
|
}, {
|
|
2869
2882
|
children: [jsxs("div", Object.assign({
|
|
@@ -2877,10 +2890,10 @@ function ColorPicker({
|
|
|
2877
2890
|
className: "fwe-input-type"
|
|
2878
2891
|
}, {
|
|
2879
2892
|
children: inputType
|
|
2880
|
-
})
|
|
2893
|
+
})), jsx("i", {
|
|
2881
2894
|
className: "fwe-icon fwe-icon-arrows-collapse"
|
|
2882
|
-
}
|
|
2883
|
-
})
|
|
2895
|
+
})]
|
|
2896
|
+
})), selectOpen && jsxs("div", Object.assign({
|
|
2884
2897
|
className: "fwe-popover"
|
|
2885
2898
|
}, {
|
|
2886
2899
|
children: [jsxs("div", Object.assign({
|
|
@@ -2891,8 +2904,8 @@ function ColorPicker({
|
|
|
2891
2904
|
}, {
|
|
2892
2905
|
children: [jsx("i", {
|
|
2893
2906
|
className: "fwe-icon fwe-icon-menu-check"
|
|
2894
|
-
}
|
|
2895
|
-
})
|
|
2907
|
+
}), " HEX"]
|
|
2908
|
+
})), jsxs("div", Object.assign({
|
|
2896
2909
|
className: classNames('fwe-type-item', {
|
|
2897
2910
|
'fwe-selected': inputType === 'RGB'
|
|
2898
2911
|
}),
|
|
@@ -2900,10 +2913,10 @@ function ColorPicker({
|
|
|
2900
2913
|
}, {
|
|
2901
2914
|
children: [jsx("i", {
|
|
2902
2915
|
className: "fwe-icon fwe-icon-menu-check"
|
|
2903
|
-
}
|
|
2904
|
-
})
|
|
2905
|
-
})
|
|
2906
|
-
})
|
|
2916
|
+
}), " RGB"]
|
|
2917
|
+
}))]
|
|
2918
|
+
}))]
|
|
2919
|
+
})), jsxs("div", Object.assign({
|
|
2907
2920
|
className: "fwe-d-flex"
|
|
2908
2921
|
}, {
|
|
2909
2922
|
children: [inputType === 'HEX' && jsx("label", Object.assign({
|
|
@@ -2914,8 +2927,8 @@ function ColorPicker({
|
|
|
2914
2927
|
value: hexInputColor,
|
|
2915
2928
|
onBlur: onHexBlur,
|
|
2916
2929
|
onChange: onHexInput
|
|
2917
|
-
}
|
|
2918
|
-
})
|
|
2930
|
+
})
|
|
2931
|
+
})), inputType === 'RGB' && jsxs(Fragment, {
|
|
2919
2932
|
children: [jsx("label", Object.assign({
|
|
2920
2933
|
className: "fwe-input-text fwe-red-input"
|
|
2921
2934
|
}, {
|
|
@@ -2924,8 +2937,8 @@ function ColorPicker({
|
|
|
2924
2937
|
value: redInput,
|
|
2925
2938
|
onBlur: () => onRgbBlur('r'),
|
|
2926
2939
|
onChange: e => onRgbInput(e.target.value, 'r')
|
|
2927
|
-
}
|
|
2928
|
-
})
|
|
2940
|
+
})
|
|
2941
|
+
})), jsx("label", Object.assign({
|
|
2929
2942
|
className: "fwe-input-text fwe-green-input"
|
|
2930
2943
|
}, {
|
|
2931
2944
|
children: jsx("input", {
|
|
@@ -2933,8 +2946,8 @@ function ColorPicker({
|
|
|
2933
2946
|
value: greenInput,
|
|
2934
2947
|
onBlur: () => onRgbBlur('g'),
|
|
2935
2948
|
onChange: e => onRgbInput(e.target.value, 'g')
|
|
2936
|
-
}
|
|
2937
|
-
})
|
|
2949
|
+
})
|
|
2950
|
+
})), jsx("label", Object.assign({
|
|
2938
2951
|
className: "fwe-input-text fwe-green-input"
|
|
2939
2952
|
}, {
|
|
2940
2953
|
children: jsx("input", {
|
|
@@ -2942,9 +2955,9 @@ function ColorPicker({
|
|
|
2942
2955
|
value: blueInput,
|
|
2943
2956
|
onBlur: () => onRgbBlur('b'),
|
|
2944
2957
|
onChange: e => onRgbInput(e.target.value, 'b')
|
|
2945
|
-
}
|
|
2946
|
-
})
|
|
2947
|
-
}
|
|
2958
|
+
})
|
|
2959
|
+
}))]
|
|
2960
|
+
}), useAlpha && jsx("label", Object.assign({
|
|
2948
2961
|
className: "fwe-input-text fwe-alpha-input fwe-ml-auto"
|
|
2949
2962
|
}, {
|
|
2950
2963
|
children: jsxs("span", {
|
|
@@ -2955,15 +2968,15 @@ function ColorPicker({
|
|
|
2955
2968
|
value: innerAlpha,
|
|
2956
2969
|
onBlur: () => onAlphaBlur(),
|
|
2957
2970
|
onChange: e => onAlphaInput(e.target.value)
|
|
2958
|
-
}
|
|
2971
|
+
}), jsx("span", Object.assign({
|
|
2959
2972
|
className: "fwe-percent-char"
|
|
2960
2973
|
}, {
|
|
2961
2974
|
children: "%"
|
|
2962
|
-
})
|
|
2963
|
-
}
|
|
2964
|
-
})
|
|
2965
|
-
})
|
|
2966
|
-
})
|
|
2975
|
+
}))]
|
|
2976
|
+
})
|
|
2977
|
+
}))]
|
|
2978
|
+
}))]
|
|
2979
|
+
})), jsxs("div", Object.assign({
|
|
2967
2980
|
className: "fwe-mt-xs fwe-color-grid"
|
|
2968
2981
|
}, {
|
|
2969
2982
|
children: [jsxs("div", Object.assign({
|
|
@@ -2993,30 +3006,30 @@ function ColorPicker({
|
|
|
2993
3006
|
height: "2",
|
|
2994
3007
|
stroke: "none",
|
|
2995
3008
|
fill: "#ffffff"
|
|
2996
|
-
}
|
|
3009
|
+
}), jsx("rect", {
|
|
2997
3010
|
x: "2",
|
|
2998
3011
|
y: "0",
|
|
2999
3012
|
width: "2",
|
|
3000
3013
|
height: "2",
|
|
3001
3014
|
stroke: "none",
|
|
3002
3015
|
fill: "#e5e8eb"
|
|
3003
|
-
}
|
|
3016
|
+
}), jsx("rect", {
|
|
3004
3017
|
x: "0",
|
|
3005
3018
|
y: "2",
|
|
3006
3019
|
width: "2",
|
|
3007
3020
|
height: "2",
|
|
3008
3021
|
stroke: "none",
|
|
3009
3022
|
fill: "#e5e8eb"
|
|
3010
|
-
}
|
|
3023
|
+
}), jsx("rect", {
|
|
3011
3024
|
x: "2",
|
|
3012
3025
|
y: "2",
|
|
3013
3026
|
width: "2",
|
|
3014
3027
|
height: "2",
|
|
3015
3028
|
stroke: "none",
|
|
3016
3029
|
fill: "#ffffff"
|
|
3017
|
-
}
|
|
3018
|
-
})
|
|
3019
|
-
}
|
|
3030
|
+
})]
|
|
3031
|
+
}))
|
|
3032
|
+
}), jsx("rect", {
|
|
3020
3033
|
x: "0",
|
|
3021
3034
|
y: "0",
|
|
3022
3035
|
rx: "0",
|
|
@@ -3025,13 +3038,13 @@ function ColorPicker({
|
|
|
3025
3038
|
height: "18",
|
|
3026
3039
|
fill: "url(#bwsquare2px)",
|
|
3027
3040
|
strokeWidth: "0"
|
|
3028
|
-
}
|
|
3029
|
-
})
|
|
3041
|
+
})]
|
|
3042
|
+
})), jsx("i", {
|
|
3030
3043
|
className: classNames('fwe-icon fwe-icon-menu-check', {
|
|
3031
3044
|
'fwe-color-text': !innerColor
|
|
3032
3045
|
})
|
|
3033
|
-
}
|
|
3034
|
-
})
|
|
3046
|
+
})]
|
|
3047
|
+
})), palette.map(colorItem => {
|
|
3035
3048
|
const itemClasses = classNames('fwe-color-item', {
|
|
3036
3049
|
'fwe-white-item': colorItem.toUpperCase() === '#FFFFFF'
|
|
3037
3050
|
});
|
|
@@ -3044,11 +3057,11 @@ function ColorPicker({
|
|
|
3044
3057
|
}, {
|
|
3045
3058
|
children: innerColor === colorItem.toUpperCase() && jsx("i", {
|
|
3046
3059
|
className: "fwe-icon fwe-icon-menu-check"
|
|
3047
|
-
}
|
|
3060
|
+
})
|
|
3048
3061
|
}), colorItem);
|
|
3049
3062
|
})]
|
|
3050
|
-
})
|
|
3051
|
-
})
|
|
3063
|
+
}))]
|
|
3064
|
+
}));
|
|
3052
3065
|
}
|
|
3053
3066
|
|
|
3054
3067
|
function DatePicker({
|
|
@@ -3134,7 +3147,7 @@ function DatePicker({
|
|
|
3134
3147
|
'fwe-color-hero': open && !disabled,
|
|
3135
3148
|
'fwe-color-control-disabled': disabled
|
|
3136
3149
|
})
|
|
3137
|
-
}
|
|
3150
|
+
}), jsx("input", {
|
|
3138
3151
|
ref: datePickerRef,
|
|
3139
3152
|
"aria-label": "picked date",
|
|
3140
3153
|
type: "text",
|
|
@@ -3144,20 +3157,20 @@ function DatePicker({
|
|
|
3144
3157
|
'fwe-border-hero': open && !disabled
|
|
3145
3158
|
}),
|
|
3146
3159
|
disabled: disabled
|
|
3147
|
-
}
|
|
3160
|
+
}), jsx("span", Object.assign({
|
|
3148
3161
|
className: "fwe-input-text-label"
|
|
3149
3162
|
}, {
|
|
3150
3163
|
children: children
|
|
3151
|
-
})
|
|
3164
|
+
})), hint && jsx("span", Object.assign({
|
|
3152
3165
|
className: "fwe-input-text-info"
|
|
3153
3166
|
}, {
|
|
3154
3167
|
children: hint
|
|
3155
|
-
})
|
|
3168
|
+
})), error && jsx("span", Object.assign({
|
|
3156
3169
|
className: "fwe-input-text-invalid"
|
|
3157
3170
|
}, {
|
|
3158
3171
|
children: error
|
|
3159
|
-
})
|
|
3160
|
-
})
|
|
3172
|
+
}))]
|
|
3173
|
+
}));
|
|
3161
3174
|
}
|
|
3162
3175
|
|
|
3163
3176
|
function DateRangePicker({
|
|
@@ -3239,7 +3252,7 @@ function DateRangePicker({
|
|
|
3239
3252
|
'fwe-color-hero': open && !disabled,
|
|
3240
3253
|
'fwe-color-control-disabled': disabled
|
|
3241
3254
|
})
|
|
3242
|
-
}
|
|
3255
|
+
}), jsxs("div", Object.assign({
|
|
3243
3256
|
ref: containerRef,
|
|
3244
3257
|
className: "fr-date-range-picker-inputs"
|
|
3245
3258
|
}, {
|
|
@@ -3253,7 +3266,7 @@ function DateRangePicker({
|
|
|
3253
3266
|
'fwe-border-hero': open && !disabled
|
|
3254
3267
|
}),
|
|
3255
3268
|
disabled: disabled
|
|
3256
|
-
}
|
|
3269
|
+
}), jsx("input", {
|
|
3257
3270
|
ref: input2Ref,
|
|
3258
3271
|
"aria-label": "picked end date",
|
|
3259
3272
|
type: "text",
|
|
@@ -3263,24 +3276,24 @@ function DateRangePicker({
|
|
|
3263
3276
|
'fwe-border-hero': open && !disabled
|
|
3264
3277
|
}),
|
|
3265
3278
|
disabled: disabled
|
|
3266
|
-
}
|
|
3267
|
-
})
|
|
3279
|
+
})]
|
|
3280
|
+
})), jsx("span", Object.assign({
|
|
3268
3281
|
className: classNames('fwe-input-text-label', {
|
|
3269
3282
|
'fwe-color-text-disabled': disabled
|
|
3270
3283
|
})
|
|
3271
3284
|
}, {
|
|
3272
3285
|
children: children
|
|
3273
|
-
})
|
|
3286
|
+
})), hint && jsx("span", Object.assign({
|
|
3274
3287
|
className: "fwe-input-text-info"
|
|
3275
3288
|
}, {
|
|
3276
3289
|
children: hint
|
|
3277
|
-
})
|
|
3290
|
+
})), error && jsx("span", Object.assign({
|
|
3278
3291
|
className: "fwe-input-text-invalid"
|
|
3279
3292
|
}, {
|
|
3280
3293
|
children: error
|
|
3281
|
-
})
|
|
3282
|
-
})
|
|
3283
|
-
})
|
|
3294
|
+
}))]
|
|
3295
|
+
}))
|
|
3296
|
+
}));
|
|
3284
3297
|
}
|
|
3285
3298
|
|
|
3286
3299
|
const RadioGroupContext = /*#__PURE__*/createContext({});
|
|
@@ -3327,14 +3340,14 @@ function RadioButton({
|
|
|
3327
3340
|
onChange: () => onChange(value),
|
|
3328
3341
|
disabled: disabled || groupDisabled,
|
|
3329
3342
|
required: required || groupRequired
|
|
3330
|
-
}
|
|
3343
|
+
}), jsx("div", {
|
|
3331
3344
|
className: "fwe-radio-checkmark"
|
|
3332
|
-
}
|
|
3345
|
+
}), " ", jsx("div", Object.assign({
|
|
3333
3346
|
className: "fwe-radio-label-content"
|
|
3334
3347
|
}, {
|
|
3335
3348
|
children: children
|
|
3336
|
-
})
|
|
3337
|
-
})
|
|
3349
|
+
}))]
|
|
3350
|
+
}));
|
|
3338
3351
|
}
|
|
3339
3352
|
|
|
3340
3353
|
const defaultConfig$1 = {
|
|
@@ -3393,7 +3406,7 @@ function Segment(props) {
|
|
|
3393
3406
|
className: "fwe-sr-only fwe-d-inline-block"
|
|
3394
3407
|
}, {
|
|
3395
3408
|
children: legend
|
|
3396
|
-
})
|
|
3409
|
+
})), jsx("div", Object.assign({
|
|
3397
3410
|
className: "fwe-segment-group"
|
|
3398
3411
|
}, {
|
|
3399
3412
|
children: React.Children.map(children, child => {
|
|
@@ -3410,8 +3423,8 @@ function Segment(props) {
|
|
|
3410
3423
|
checked: child.props.value === value
|
|
3411
3424
|
});
|
|
3412
3425
|
})
|
|
3413
|
-
})
|
|
3414
|
-
})
|
|
3426
|
+
}))]
|
|
3427
|
+
}));
|
|
3415
3428
|
}
|
|
3416
3429
|
|
|
3417
3430
|
function SegmentControl(props) {
|
|
@@ -3456,7 +3469,7 @@ function SegmentControl(props) {
|
|
|
3456
3469
|
checked: checked,
|
|
3457
3470
|
disabled: disabled,
|
|
3458
3471
|
onChange: e => handleChange(e)
|
|
3459
|
-
}
|
|
3472
|
+
}), jsxs("label", Object.assign({
|
|
3460
3473
|
className: classNames('fwe-segment-label', className),
|
|
3461
3474
|
htmlFor: id
|
|
3462
3475
|
}, {
|
|
@@ -3465,18 +3478,18 @@ function SegmentControl(props) {
|
|
|
3465
3478
|
className: "fwe-sr-only"
|
|
3466
3479
|
}, {
|
|
3467
3480
|
children: label
|
|
3468
|
-
})
|
|
3481
|
+
})), jsx("i", {
|
|
3469
3482
|
"aria-hidden": "true",
|
|
3470
3483
|
className: classNames('fwe-icon', innerIcon)
|
|
3471
|
-
}
|
|
3472
|
-
}
|
|
3484
|
+
})]
|
|
3485
|
+
}), viewMode === 'text' && label, viewMode === 'icon-text' && jsxs(Fragment, {
|
|
3473
3486
|
children: [jsx("i", {
|
|
3474
3487
|
"aria-hidden": "true",
|
|
3475
3488
|
className: classNames('fwe-icon', innerIcon)
|
|
3476
|
-
}
|
|
3477
|
-
}
|
|
3478
|
-
})
|
|
3479
|
-
}
|
|
3489
|
+
}), label]
|
|
3490
|
+
})]
|
|
3491
|
+
}))]
|
|
3492
|
+
});
|
|
3480
3493
|
}
|
|
3481
3494
|
|
|
3482
3495
|
const SelectOption = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -3491,7 +3504,7 @@ const SelectOption = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3491
3504
|
className: className
|
|
3492
3505
|
}, props, {
|
|
3493
3506
|
children: children
|
|
3494
|
-
})
|
|
3507
|
+
}));
|
|
3495
3508
|
});
|
|
3496
3509
|
|
|
3497
3510
|
function calcVirtualScrollHeight(config, itemLength) {
|
|
@@ -3715,7 +3728,7 @@ const Select = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3715
3728
|
className: "fwe-select-option-content"
|
|
3716
3729
|
}, {
|
|
3717
3730
|
children: option.label
|
|
3718
|
-
})
|
|
3731
|
+
}))
|
|
3719
3732
|
}), option.data)), childrenList.map((child, i) => {
|
|
3720
3733
|
const _a = child.props,
|
|
3721
3734
|
{
|
|
@@ -3734,10 +3747,10 @@ const Select = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3734
3747
|
onKeyDown: e => handleListKeyDown(e, option, i),
|
|
3735
3748
|
tabIndex: 0
|
|
3736
3749
|
}, {
|
|
3737
|
-
children: jsx(SelectOption, Object.assign({}, propsWithoutOption)
|
|
3750
|
+
children: jsx(SelectOption, Object.assign({}, propsWithoutOption))
|
|
3738
3751
|
}), option.data);
|
|
3739
3752
|
})]
|
|
3740
|
-
}
|
|
3753
|
+
});
|
|
3741
3754
|
}
|
|
3742
3755
|
|
|
3743
3756
|
return jsx(OutsideClickHandler, Object.assign({
|
|
@@ -3764,7 +3777,7 @@ const Select = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3764
3777
|
}, {
|
|
3765
3778
|
children: option.label
|
|
3766
3779
|
}), option.data))
|
|
3767
|
-
})
|
|
3780
|
+
})), jsx("div", Object.assign({
|
|
3768
3781
|
role: "button",
|
|
3769
3782
|
tabIndex: 0,
|
|
3770
3783
|
className: selectClassName,
|
|
@@ -3776,25 +3789,25 @@ const Select = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3776
3789
|
className: "fwe-select-content"
|
|
3777
3790
|
}, {
|
|
3778
3791
|
children: selectedOptionLabel
|
|
3779
|
-
})
|
|
3780
|
-
})
|
|
3792
|
+
}))
|
|
3793
|
+
})), jsx("label", Object.assign({
|
|
3781
3794
|
className: classNames('fwe-select-label', {
|
|
3782
3795
|
'fwe-sr-only': config === null || config === void 0 ? void 0 : config.hideLabel
|
|
3783
3796
|
}),
|
|
3784
3797
|
htmlFor: id
|
|
3785
3798
|
}, {
|
|
3786
3799
|
children: label || ''
|
|
3787
|
-
})
|
|
3800
|
+
})), jsx("div", {
|
|
3788
3801
|
className: "fwe-select-underline"
|
|
3789
|
-
}
|
|
3802
|
+
}), hint && !error && jsx("div", Object.assign({
|
|
3790
3803
|
className: "fwe-select-description"
|
|
3791
3804
|
}, {
|
|
3792
3805
|
children: hint
|
|
3793
|
-
})
|
|
3806
|
+
})), error && jsxs("div", Object.assign({
|
|
3794
3807
|
className: "fwe-select-invalid"
|
|
3795
3808
|
}, {
|
|
3796
3809
|
children: [" ", error, " "]
|
|
3797
|
-
})
|
|
3810
|
+
})), jsx("ul", Object.assign({
|
|
3798
3811
|
className: `fwe-select-options-container${optionsWrapper.isFocused ? '' : ' fwe-d-none'}`
|
|
3799
3812
|
}, {
|
|
3800
3813
|
children: (scroll === null || scroll === void 0 ? void 0 : scroll.enabled) ? jsx("div", Object.assign({
|
|
@@ -3804,10 +3817,10 @@ const Select = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
3804
3817
|
}
|
|
3805
3818
|
}, {
|
|
3806
3819
|
children: renderOptions()
|
|
3807
|
-
})
|
|
3808
|
-
})
|
|
3809
|
-
})
|
|
3810
|
-
})
|
|
3820
|
+
})) : renderOptions()
|
|
3821
|
+
}))]
|
|
3822
|
+
}))
|
|
3823
|
+
}));
|
|
3811
3824
|
});
|
|
3812
3825
|
|
|
3813
3826
|
function Slider({
|
|
@@ -3875,7 +3888,7 @@ function Slider({
|
|
|
3875
3888
|
}, {
|
|
3876
3889
|
children: [label && jsx("span", {
|
|
3877
3890
|
children: label
|
|
3878
|
-
}
|
|
3891
|
+
}), jsx("input", {
|
|
3879
3892
|
className: "fwe-slider-input",
|
|
3880
3893
|
type: "range",
|
|
3881
3894
|
disabled: disabled,
|
|
@@ -3887,15 +3900,15 @@ function Slider({
|
|
|
3887
3900
|
onKeyUp: handleAfterChange,
|
|
3888
3901
|
onMouseUp: handleAfterChange,
|
|
3889
3902
|
onTouchEnd: handleAfterChange
|
|
3890
|
-
}
|
|
3903
|
+
}), showValue && left !== null && jsx("span", Object.assign({
|
|
3891
3904
|
className: "fr-slider-value",
|
|
3892
3905
|
style: {
|
|
3893
3906
|
left: `${left}px`
|
|
3894
3907
|
}
|
|
3895
3908
|
}, {
|
|
3896
3909
|
children: innerValue
|
|
3897
|
-
})
|
|
3898
|
-
})
|
|
3910
|
+
}))]
|
|
3911
|
+
}));
|
|
3899
3912
|
}
|
|
3900
3913
|
|
|
3901
3914
|
function Switch({
|
|
@@ -3934,14 +3947,14 @@ function Switch({
|
|
|
3934
3947
|
disabled: disabled,
|
|
3935
3948
|
checked: currentValue,
|
|
3936
3949
|
onChange: () => handleChange()
|
|
3937
|
-
}
|
|
3950
|
+
}), jsx("div", {
|
|
3938
3951
|
className: "fwe-switch-track"
|
|
3939
|
-
}
|
|
3952
|
+
}), jsx("div", Object.assign({
|
|
3940
3953
|
className: "fwe-switch-label-content"
|
|
3941
3954
|
}, {
|
|
3942
3955
|
children: title
|
|
3943
|
-
})
|
|
3944
|
-
})
|
|
3956
|
+
}))]
|
|
3957
|
+
}));
|
|
3945
3958
|
}
|
|
3946
3959
|
|
|
3947
3960
|
function TextArea({
|
|
@@ -4013,7 +4026,7 @@ function TextArea({
|
|
|
4013
4026
|
maxLength: maxLength,
|
|
4014
4027
|
defaultValue: innerValue,
|
|
4015
4028
|
value: innerValue
|
|
4016
|
-
}
|
|
4029
|
+
}), jsx("textarea", {
|
|
4017
4030
|
style: {
|
|
4018
4031
|
visibility: 'hidden',
|
|
4019
4032
|
position: 'absolute',
|
|
@@ -4026,24 +4039,24 @@ function TextArea({
|
|
|
4026
4039
|
},
|
|
4027
4040
|
ref: shadowRef,
|
|
4028
4041
|
readOnly: true
|
|
4029
|
-
}
|
|
4042
|
+
}), jsx("span", Object.assign({
|
|
4030
4043
|
className: "fwe-input-text-label"
|
|
4031
4044
|
}, {
|
|
4032
4045
|
children: label
|
|
4033
|
-
})
|
|
4046
|
+
})), hint && jsx("span", Object.assign({
|
|
4034
4047
|
className: hintClasses
|
|
4035
4048
|
}, {
|
|
4036
4049
|
children: hint
|
|
4037
|
-
})
|
|
4050
|
+
})), error !== undefined && jsx("span", Object.assign({
|
|
4038
4051
|
className: "fwe-input-text-invalid"
|
|
4039
4052
|
}, {
|
|
4040
4053
|
children: error
|
|
4041
|
-
})
|
|
4054
|
+
})), maxLength > 0 && jsxs("span", Object.assign({
|
|
4042
4055
|
className: "fwe-input-text-count"
|
|
4043
4056
|
}, {
|
|
4044
4057
|
children: [innerValue.length, " /", maxLength]
|
|
4045
|
-
})
|
|
4046
|
-
})
|
|
4058
|
+
}))]
|
|
4059
|
+
}));
|
|
4047
4060
|
}
|
|
4048
4061
|
|
|
4049
4062
|
function TextEditorButton({
|
|
@@ -4108,7 +4121,7 @@ function TextEditorButton({
|
|
|
4108
4121
|
}),
|
|
4109
4122
|
"aria-hidden": "true",
|
|
4110
4123
|
value: value
|
|
4111
|
-
}
|
|
4124
|
+
}), jsxs("button", Object.assign({
|
|
4112
4125
|
type: "button",
|
|
4113
4126
|
className: classNames('fwe-btn', {
|
|
4114
4127
|
'fwe-btn-toolbar-list': list
|
|
@@ -4122,11 +4135,11 @@ function TextEditorButton({
|
|
|
4122
4135
|
className: `fr-button-text fwe-text-${type}`
|
|
4123
4136
|
}, {
|
|
4124
4137
|
children: label
|
|
4125
|
-
})
|
|
4138
|
+
})), icon && jsx("i", {
|
|
4126
4139
|
className: classNames('fwe-icon fwe-icon-toolbar-list', `fwe-icon-${icon}`, 'fwe-pr-0')
|
|
4127
|
-
}
|
|
4128
|
-
})
|
|
4129
|
-
}
|
|
4140
|
+
})]
|
|
4141
|
+
}))]
|
|
4142
|
+
});
|
|
4130
4143
|
}
|
|
4131
4144
|
|
|
4132
4145
|
const xss = require('xss');
|
|
@@ -4166,7 +4179,9 @@ function TextEditor({
|
|
|
4166
4179
|
toolbar: Object.assign(Object.assign({}, defaultConfig.toolbar), configProps === null || configProps === void 0 ? void 0 : configProps.toolbar)
|
|
4167
4180
|
};
|
|
4168
4181
|
useEffect(() => {
|
|
4169
|
-
if (editorRef && editor === null) {
|
|
4182
|
+
if (editorRef && editor === null && typeof window === 'object') {
|
|
4183
|
+
const Quill = require('quill');
|
|
4184
|
+
|
|
4170
4185
|
const newEditor = new Quill(editorRef.current, {
|
|
4171
4186
|
modules: {
|
|
4172
4187
|
toolbar: `#editor-toolbar-${id}`
|
|
@@ -4277,18 +4292,18 @@ function TextEditor({
|
|
|
4277
4292
|
children: [jsx("option", {
|
|
4278
4293
|
value: "small",
|
|
4279
4294
|
"aria-label": "small"
|
|
4280
|
-
}
|
|
4295
|
+
}), jsx("option", {
|
|
4281
4296
|
selected: true,
|
|
4282
4297
|
"aria-label": "selected"
|
|
4283
|
-
}
|
|
4298
|
+
}), jsx("option", {
|
|
4284
4299
|
value: "large",
|
|
4285
4300
|
"aria-label": "large"
|
|
4286
|
-
}
|
|
4301
|
+
}), jsx("option", {
|
|
4287
4302
|
value: "huge",
|
|
4288
4303
|
"aria-label": "huge"
|
|
4289
|
-
}
|
|
4290
|
-
})
|
|
4291
|
-
})
|
|
4304
|
+
})]
|
|
4305
|
+
}))
|
|
4306
|
+
})), jsxs("span", Object.assign({
|
|
4292
4307
|
className: "ql-formats fwe-mr-3"
|
|
4293
4308
|
}, {
|
|
4294
4309
|
children: [((_a = config === null || config === void 0 ? void 0 : config.toolbar) === null || _a === void 0 ? void 0 : _a.bold) && jsx(TextEditorButton, {
|
|
@@ -4296,18 +4311,18 @@ function TextEditor({
|
|
|
4296
4311
|
type: "bold",
|
|
4297
4312
|
className: "fwe-mr-3",
|
|
4298
4313
|
label: "B"
|
|
4299
|
-
}
|
|
4314
|
+
}), ((_b = config === null || config === void 0 ? void 0 : config.toolbar) === null || _b === void 0 ? void 0 : _b.italic) && jsx(TextEditorButton, {
|
|
4300
4315
|
disabled: disabled,
|
|
4301
4316
|
type: "italic",
|
|
4302
4317
|
className: "fwe-mr-3",
|
|
4303
4318
|
label: "I"
|
|
4304
|
-
}
|
|
4319
|
+
}), ((_c = config === null || config === void 0 ? void 0 : config.toolbar) === null || _c === void 0 ? void 0 : _c.underline) && jsx(TextEditorButton, {
|
|
4305
4320
|
disabled: disabled,
|
|
4306
4321
|
type: "underline",
|
|
4307
4322
|
label: "U"
|
|
4308
|
-
}
|
|
4323
|
+
}), !hideDivider('typo') && jsx("div", {
|
|
4309
4324
|
className: "fwe-divider-y fwe-d-inline-flex fwe-mx-4"
|
|
4310
|
-
}
|
|
4325
|
+
}), ((_d = config === null || config === void 0 ? void 0 : config.toolbar) === null || _d === void 0 ? void 0 : _d.alignCenter) && jsx(TextEditorButton, {
|
|
4311
4326
|
disabled: disabled,
|
|
4312
4327
|
category: "align",
|
|
4313
4328
|
type: "align-center",
|
|
@@ -4318,7 +4333,7 @@ function TextEditor({
|
|
|
4318
4333
|
className: classNames('fwe-btn-toolbar-list fwe-btn-toolbar-list-alignments', {
|
|
4319
4334
|
'fwe-mr-3': (_e = config === null || config === void 0 ? void 0 : config.toolbar) === null || _e === void 0 ? void 0 : _e.alignRight
|
|
4320
4335
|
})
|
|
4321
|
-
}
|
|
4336
|
+
}), ((_f = config === null || config === void 0 ? void 0 : config.toolbar) === null || _f === void 0 ? void 0 : _f.alignRight) && jsx(TextEditorButton, {
|
|
4322
4337
|
disabled: disabled,
|
|
4323
4338
|
category: "align",
|
|
4324
4339
|
type: "align-right",
|
|
@@ -4327,42 +4342,42 @@ function TextEditor({
|
|
|
4327
4342
|
}),
|
|
4328
4343
|
value: "right",
|
|
4329
4344
|
className: "fwe-btn-toolbar-list fwe-btn-toolbar-list-alignments"
|
|
4330
|
-
}
|
|
4345
|
+
}), !hideDivider('text-align') && jsx("div", {
|
|
4331
4346
|
className: "fwe-divider-y fwe-d-inline-flex fwe-mx-4"
|
|
4332
|
-
}
|
|
4347
|
+
}), ((_g = config === null || config === void 0 ? void 0 : config.toolbar) === null || _g === void 0 ? void 0 : _g.bulletList) && jsx(TextEditorButton, {
|
|
4333
4348
|
disabled: disabled,
|
|
4334
4349
|
className: "fwe-mr-3",
|
|
4335
4350
|
type: "ul",
|
|
4336
4351
|
list: true,
|
|
4337
4352
|
icon: "list-list-view",
|
|
4338
4353
|
value: "bullet"
|
|
4339
|
-
}
|
|
4354
|
+
}), ((_h = config === null || config === void 0 ? void 0 : config.toolbar) === null || _h === void 0 ? void 0 : _h.orderedList) && jsx(TextEditorButton, {
|
|
4340
4355
|
disabled: disabled,
|
|
4341
4356
|
type: "ol",
|
|
4342
4357
|
list: true,
|
|
4343
4358
|
icon: "enumeration",
|
|
4344
4359
|
value: "ordered"
|
|
4345
|
-
}
|
|
4360
|
+
}), ((_j = config === null || config === void 0 ? void 0 : config.toolbar) === null || _j === void 0 ? void 0 : _j.image) && jsxs(Fragment, {
|
|
4346
4361
|
children: [jsx("div", {
|
|
4347
4362
|
className: "fwe-divider-y fwe-d-inline-flex fwe-mx-4"
|
|
4348
|
-
}
|
|
4363
|
+
}), jsx(TextEditorButton, {
|
|
4349
4364
|
disabled: disabled,
|
|
4350
4365
|
type: "image",
|
|
4351
4366
|
icon: "image-image",
|
|
4352
4367
|
noAction: true
|
|
4353
|
-
}
|
|
4354
|
-
}
|
|
4368
|
+
})]
|
|
4369
|
+
}), ((_k = config === null || config === void 0 ? void 0 : config.toolbar) === null || _k === void 0 ? void 0 : _k.link) && jsxs(Fragment, {
|
|
4355
4370
|
children: [jsx("div", {
|
|
4356
4371
|
className: "fwe-divider-y fwe-d-inline-flex fwe-mx-4"
|
|
4357
|
-
}
|
|
4372
|
+
}), jsx(TextEditorButton, {
|
|
4358
4373
|
disabled: disabled,
|
|
4359
4374
|
type: "link",
|
|
4360
4375
|
icon: "file-link",
|
|
4361
4376
|
noAction: true
|
|
4362
|
-
}
|
|
4363
|
-
}
|
|
4364
|
-
})
|
|
4365
|
-
})
|
|
4377
|
+
})]
|
|
4378
|
+
})]
|
|
4379
|
+
}))]
|
|
4380
|
+
})), jsx("div", Object.assign({
|
|
4366
4381
|
className: classNames('fwe-editor-container', {
|
|
4367
4382
|
'fwe-editor-container--error': error
|
|
4368
4383
|
}),
|
|
@@ -4371,26 +4386,26 @@ function TextEditor({
|
|
|
4371
4386
|
children: jsx("div", {
|
|
4372
4387
|
className: "fwe-editor",
|
|
4373
4388
|
ref: editorRef
|
|
4374
|
-
}
|
|
4375
|
-
})
|
|
4389
|
+
})
|
|
4390
|
+
})), jsx("span", Object.assign({
|
|
4376
4391
|
className: "fwe-input-text-label",
|
|
4377
4392
|
id: `editor-label-${id}`
|
|
4378
4393
|
}, {
|
|
4379
4394
|
children: label
|
|
4380
|
-
})
|
|
4395
|
+
})), error && jsx("span", Object.assign({
|
|
4381
4396
|
className: "fwe-text-editor-invalid"
|
|
4382
4397
|
}, {
|
|
4383
4398
|
children: error
|
|
4384
|
-
})
|
|
4399
|
+
})), hint && jsx("span", Object.assign({
|
|
4385
4400
|
className: "fwe-text-editor-info"
|
|
4386
4401
|
}, {
|
|
4387
4402
|
children: hint
|
|
4388
|
-
})
|
|
4403
|
+
})), maxLength && maxLength > 0 && value != null && jsx("span", Object.assign({
|
|
4389
4404
|
className: "fwe-input-text-count"
|
|
4390
4405
|
}, {
|
|
4391
4406
|
children: `${currentLength()} / ${maxLength}`
|
|
4392
|
-
})
|
|
4393
|
-
})
|
|
4407
|
+
}))]
|
|
4408
|
+
}));
|
|
4394
4409
|
}
|
|
4395
4410
|
|
|
4396
4411
|
function useOnClickOutside(ref, callback, ref2) {
|
|
@@ -4540,8 +4555,8 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4540
4555
|
children: jsx("i", {
|
|
4541
4556
|
"aria-hidden": true,
|
|
4542
4557
|
className: "fwe-icon fwe-icon-arrows-expand"
|
|
4543
|
-
}
|
|
4544
|
-
})
|
|
4558
|
+
})
|
|
4559
|
+
})), jsx("input", {
|
|
4545
4560
|
"aria-label": "hours value",
|
|
4546
4561
|
className: "fwe-timepicker-hide-spinners",
|
|
4547
4562
|
type: "number",
|
|
@@ -4551,7 +4566,7 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4551
4566
|
max: hourMax,
|
|
4552
4567
|
onInput: handleHourChange,
|
|
4553
4568
|
ref: hoursRef
|
|
4554
|
-
}
|
|
4569
|
+
}), jsx("button", Object.assign({
|
|
4555
4570
|
type: "button",
|
|
4556
4571
|
"aria-label": "hour down",
|
|
4557
4572
|
className: "fwe-btn fwe-btn-link fwe-dark",
|
|
@@ -4560,9 +4575,9 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4560
4575
|
children: jsx("i", {
|
|
4561
4576
|
"aria-hidden": true,
|
|
4562
4577
|
className: "fwe-icon fwe-icon-arrows-collapse"
|
|
4563
|
-
}
|
|
4564
|
-
})
|
|
4565
|
-
})
|
|
4578
|
+
})
|
|
4579
|
+
}))]
|
|
4580
|
+
})), jsxs("div", Object.assign({
|
|
4566
4581
|
className: "fwe-timepicker-spinners-minutes"
|
|
4567
4582
|
}, {
|
|
4568
4583
|
children: [jsx("button", Object.assign({
|
|
@@ -4574,8 +4589,8 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4574
4589
|
children: jsx("i", {
|
|
4575
4590
|
"aria-hidden": true,
|
|
4576
4591
|
className: "fwe-icon fwe-icon-arrows-expand"
|
|
4577
|
-
}
|
|
4578
|
-
})
|
|
4592
|
+
})
|
|
4593
|
+
})), jsx("input", {
|
|
4579
4594
|
"aria-label": "minutes value",
|
|
4580
4595
|
className: "fwe-timepicker-hide-spinners",
|
|
4581
4596
|
type: "number",
|
|
@@ -4584,7 +4599,7 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4584
4599
|
value: tmpMinutes !== null && tmpMinutes !== void 0 ? tmpMinutes : (innerDate.getMinutes() < 10 ? '0' : '') + innerDate.getMinutes(),
|
|
4585
4600
|
max: minutesSecondsMax,
|
|
4586
4601
|
onInput: handleMinuteChange
|
|
4587
|
-
}
|
|
4602
|
+
}), jsx("button", Object.assign({
|
|
4588
4603
|
type: "button",
|
|
4589
4604
|
"aria-label": "minute down",
|
|
4590
4605
|
className: "fwe-btn fwe-btn-link fwe-dark",
|
|
@@ -4593,9 +4608,9 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4593
4608
|
children: jsx("i", {
|
|
4594
4609
|
"aria-hidden": true,
|
|
4595
4610
|
className: "fwe-icon fwe-icon-arrows-collapse"
|
|
4596
|
-
}
|
|
4597
|
-
})
|
|
4598
|
-
})
|
|
4611
|
+
})
|
|
4612
|
+
}))]
|
|
4613
|
+
})), showSeconds && jsxs("div", Object.assign({
|
|
4599
4614
|
className: "fwe-timepicker-spinners-seconds"
|
|
4600
4615
|
}, {
|
|
4601
4616
|
children: [jsx("button", Object.assign({
|
|
@@ -4607,8 +4622,8 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4607
4622
|
children: jsx("i", {
|
|
4608
4623
|
"aria-hidden": true,
|
|
4609
4624
|
className: "fwe-icon fwe-icon-arrows-expand"
|
|
4610
|
-
}
|
|
4611
|
-
})
|
|
4625
|
+
})
|
|
4626
|
+
})), jsx("input", {
|
|
4612
4627
|
"aria-label": "seconds value",
|
|
4613
4628
|
className: "fwe-timepicker-hide-spinners",
|
|
4614
4629
|
type: "number",
|
|
@@ -4617,7 +4632,7 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4617
4632
|
value: tmpSeconds !== null && tmpSeconds !== void 0 ? tmpSeconds : (innerDate.getSeconds() < 10 ? '0' : '') + innerDate.getSeconds(),
|
|
4618
4633
|
max: minutesSecondsMax,
|
|
4619
4634
|
onInput: handleSecondChange
|
|
4620
|
-
}
|
|
4635
|
+
}), jsx("button", Object.assign({
|
|
4621
4636
|
type: "button",
|
|
4622
4637
|
"aria-label": "minute down",
|
|
4623
4638
|
className: "fwe-btn fwe-btn-link fwe-dark",
|
|
@@ -4626,15 +4641,15 @@ const TimePickerDropdown = /*#__PURE__*/forwardRef(({
|
|
|
4626
4641
|
children: jsx("i", {
|
|
4627
4642
|
"aria-hidden": true,
|
|
4628
4643
|
className: "fwe-icon fwe-icon-arrows-collapse"
|
|
4629
|
-
}
|
|
4630
|
-
})
|
|
4631
|
-
})
|
|
4632
|
-
})
|
|
4644
|
+
})
|
|
4645
|
+
}))]
|
|
4646
|
+
}))]
|
|
4647
|
+
})), timeFormat === '12' && jsx("span", Object.assign({
|
|
4633
4648
|
className: "fwe-badge fwe-badge-control"
|
|
4634
4649
|
}, {
|
|
4635
4650
|
children: innerDate.getHours() >= 12 ? 'PM' : 'AM'
|
|
4636
|
-
})
|
|
4637
|
-
})
|
|
4651
|
+
}))]
|
|
4652
|
+
}));
|
|
4638
4653
|
});
|
|
4639
4654
|
|
|
4640
4655
|
const TimePicker = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
@@ -4740,7 +4755,7 @@ const TimePicker = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
4740
4755
|
'fwe-color-hero': open,
|
|
4741
4756
|
'fwe-color-control-disabled': disabled
|
|
4742
4757
|
})
|
|
4743
|
-
}
|
|
4758
|
+
}), jsx("input", {
|
|
4744
4759
|
"aria-label": "picked time",
|
|
4745
4760
|
type: "text",
|
|
4746
4761
|
readOnly: true,
|
|
@@ -4750,20 +4765,20 @@ const TimePicker = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
4750
4765
|
}),
|
|
4751
4766
|
value: innerFormatDate(innerValue),
|
|
4752
4767
|
disabled: disabled
|
|
4753
|
-
}
|
|
4768
|
+
}), jsx("span", Object.assign({
|
|
4754
4769
|
className: "fwe-input-text-label"
|
|
4755
4770
|
}, {
|
|
4756
4771
|
children: children
|
|
4757
|
-
})
|
|
4772
|
+
})), hint && jsx("span", Object.assign({
|
|
4758
4773
|
className: "fwe-input-text-info"
|
|
4759
4774
|
}, {
|
|
4760
4775
|
children: hint
|
|
4761
|
-
})
|
|
4776
|
+
})), error && jsx("span", Object.assign({
|
|
4762
4777
|
className: "fwe-input-text-invalid"
|
|
4763
4778
|
}, {
|
|
4764
4779
|
children: error
|
|
4765
|
-
})
|
|
4766
|
-
})
|
|
4780
|
+
}))]
|
|
4781
|
+
})), open && /*#__PURE__*/ReactDOM.createPortal(jsx(TimePickerDropdown, Object.assign({
|
|
4767
4782
|
ref: combinedTimePickerRef,
|
|
4768
4783
|
onClose: handleClose,
|
|
4769
4784
|
onDateChange: handleDateChange,
|
|
@@ -4773,8 +4788,8 @@ const TimePicker = /*#__PURE__*/forwardRef((_a, ref) => {
|
|
|
4773
4788
|
style: Object.assign(Object.assign({}, styles.popper), {
|
|
4774
4789
|
minWidth: (_d = labelRef === null || labelRef === void 0 ? void 0 : labelRef.current) === null || _d === void 0 ? void 0 : _d.scrollWidth
|
|
4775
4790
|
})
|
|
4776
|
-
}, attributes.popper)
|
|
4777
|
-
}
|
|
4791
|
+
}, attributes.popper)), container.body)]
|
|
4792
|
+
});
|
|
4778
4793
|
});
|
|
4779
4794
|
|
|
4780
4795
|
export { Accordion, AccordionHeader, AccordionItem, AccordionItemBody, AccordionItemHeader, AlertModal, Breadcrumb, Button, Card, CardBody, CardHeader, CardNotification, Checkbox, Chip, ChipContainer, ChipType, ColorIndicator, ColorPicker, ConfirmModal, DatePicker, DateRangePicker, LinkButton, LoadingIndicator, Pagination, Popover, PopoverMenu, Progress, Prompt, RadioButton, RadioButton as RadioGroup, Segment, SegmentControl, Select, Slider, Snackbar, SnackbarProvider, StepHorizontal, StepVertical, StepperHorizontal, StepperVertical, Switch, TabPane, TableHeaderCell, Tabs, TextArea, TextEditor, TextInput, TimePicker, Tooltip, useSnackbar };
|