@luscii-healthtech/web-ui 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ import 'react-datepicker/dist/react-datepicker.css';
10
10
  import ClipboardJS from 'clipboard';
11
11
  import ReactSelect, { mergeStyles } from 'react-select';
12
12
  import dragula from 'react-dragula';
13
+ import groupBy from 'lodash-es/groupBy';
13
14
  import debounce from 'lodash.debounce';
14
15
  import ReactQuill from 'react-quill';
15
16
  import 'react-quill/dist/quill.snow.css';
@@ -21,6 +22,120 @@ import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
21
22
  import { Controller, useForm } from 'react-hook-form';
22
23
  import { ErrorMessage } from '@hookform/error-message';
23
24
 
25
+ function _extends() {
26
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
27
+ for (var i = 1; i < arguments.length; i++) {
28
+ var source = arguments[i];
29
+
30
+ for (var key in source) {
31
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
32
+ target[key] = source[key];
33
+ }
34
+ }
35
+ }
36
+
37
+ return target;
38
+ };
39
+ return _extends.apply(this, arguments);
40
+ }
41
+
42
+ function _inheritsLoose(subClass, superClass) {
43
+ subClass.prototype = Object.create(superClass.prototype);
44
+ subClass.prototype.constructor = subClass;
45
+
46
+ _setPrototypeOf(subClass, superClass);
47
+ }
48
+
49
+ function _setPrototypeOf(o, p) {
50
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
51
+ o.__proto__ = p;
52
+ return o;
53
+ };
54
+ return _setPrototypeOf(o, p);
55
+ }
56
+
57
+ function _objectWithoutPropertiesLoose(source, excluded) {
58
+ if (source == null) return {};
59
+ var target = {};
60
+ var sourceKeys = Object.keys(source);
61
+ var key, i;
62
+
63
+ for (i = 0; i < sourceKeys.length; i++) {
64
+ key = sourceKeys[i];
65
+ if (excluded.indexOf(key) >= 0) continue;
66
+ target[key] = source[key];
67
+ }
68
+
69
+ return target;
70
+ }
71
+
72
+ /**
73
+ * Container to be used for layouting instead of divs around the project.
74
+ * The spacing here has been coded according to our guidelines.
75
+ */
76
+
77
+ var FlexContainer = function FlexContainer(props) {
78
+ var children = props.children,
79
+ alignItems = props.alignItems,
80
+ verticallySpaced = props.verticallySpaced,
81
+ horitontallySpaced = props.horitontallySpaced,
82
+ justifyContent = props.justifyContent,
83
+ hasPadding = props.hasPadding,
84
+ type = props.type;
85
+ return /*#__PURE__*/React__default.createElement("div", {
86
+ className: classNames("flex w-full", {
87
+ "flex-row": type === "row",
88
+ "flex-col": type === "column",
89
+ "justify-center": justifyContent === "center",
90
+ "justify-start": justifyContent === "start",
91
+ "justify-end": justifyContent === "end",
92
+ "justify-between": justifyContent === "between",
93
+ "items-start": alignItems === "start",
94
+ "items-center": alignItems === "center",
95
+ "items-end": alignItems === "end",
96
+ "space-x-4": horitontallySpaced,
97
+ "space-y-4": verticallySpaced,
98
+ "p-4": hasPadding
99
+ })
100
+ }, children);
101
+ };
102
+
103
+ var _excluded = ["children", "spaced"];
104
+ /**
105
+ * Container to be used for layouting instead of divs around the project.
106
+ * The spacing here has been coded according to our guidelines.
107
+ */
108
+
109
+ var FlexColumn = function FlexColumn(props) {
110
+ var children = props.children,
111
+ _props$spaced = props.spaced,
112
+ spaced = _props$spaced === void 0 ? true : _props$spaced,
113
+ rest = _objectWithoutPropertiesLoose(props, _excluded);
114
+
115
+ return /*#__PURE__*/React__default.createElement(FlexContainer, Object.assign({}, rest, {
116
+ type: "column",
117
+ verticallySpaced: spaced
118
+ }), children);
119
+ };
120
+
121
+ var _excluded$1 = ["children", "spaced"];
122
+ /**
123
+ * Container to be used for layouting instead of divs around the project.
124
+ * The spacing here has been coded according to our guidelines.
125
+ */
126
+
127
+ var FlexRow = function FlexRow(props) {
128
+ var children = props.children,
129
+ _props$spaced = props.spaced,
130
+ spaced = _props$spaced === void 0 ? true : _props$spaced,
131
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1);
132
+
133
+ return /*#__PURE__*/React__default.createElement(FlexContainer, Object.assign({}, rest, {
134
+ type: "row",
135
+ horitontallySpaced: spaced
136
+ }), children);
137
+ };
138
+
24
139
  function styleInject(css, ref) {
25
140
  if ( ref === void 0 ) ref = {};
26
141
  var insertAt = ref.insertAt;
@@ -512,53 +627,6 @@ var Badge = function Badge(props) {
512
627
  }, props.badgeCount));
513
628
  };
514
629
 
515
- function _extends() {
516
- _extends = Object.assign ? Object.assign.bind() : function (target) {
517
- for (var i = 1; i < arguments.length; i++) {
518
- var source = arguments[i];
519
-
520
- for (var key in source) {
521
- if (Object.prototype.hasOwnProperty.call(source, key)) {
522
- target[key] = source[key];
523
- }
524
- }
525
- }
526
-
527
- return target;
528
- };
529
- return _extends.apply(this, arguments);
530
- }
531
-
532
- function _inheritsLoose(subClass, superClass) {
533
- subClass.prototype = Object.create(superClass.prototype);
534
- subClass.prototype.constructor = subClass;
535
-
536
- _setPrototypeOf(subClass, superClass);
537
- }
538
-
539
- function _setPrototypeOf(o, p) {
540
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
541
- o.__proto__ = p;
542
- return o;
543
- };
544
- return _setPrototypeOf(o, p);
545
- }
546
-
547
- function _objectWithoutPropertiesLoose(source, excluded) {
548
- if (source == null) return {};
549
- var target = {};
550
- var sourceKeys = Object.keys(source);
551
- var key, i;
552
-
553
- for (i = 0; i < sourceKeys.length; i++) {
554
- key = sourceKeys[i];
555
- if (excluded.indexOf(key) >= 0) continue;
556
- target[key] = source[key];
557
- }
558
-
559
- return target;
560
- }
561
-
562
630
  var Spinner = function Spinner(props) {
563
631
  return /*#__PURE__*/React__default.createElement("svg", {
564
632
  className: "w-5 h-5 animate-spin " + props.className,
@@ -579,7 +647,7 @@ var Spinner = function Spinner(props) {
579
647
  }));
580
648
  };
581
649
 
582
- var _excluded = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
650
+ var _excluded$2 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
583
651
  var ButtonV2 = function ButtonV2(_ref) {
584
652
  var onClick = _ref.onClick,
585
653
  text = _ref.text,
@@ -589,7 +657,7 @@ var ButtonV2 = function ButtonV2(_ref) {
589
657
  isDisabled = _ref.isDisabled,
590
658
  isPending = _ref.isPending,
591
659
  className = _ref.className,
592
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
660
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$2);
593
661
 
594
662
  function handleClick(event) {
595
663
  event.stopPropagation();
@@ -859,7 +927,7 @@ var BUTTON_ROLES = {
859
927
  ICON: "icon"
860
928
  };
861
929
 
862
- var _excluded$1 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
930
+ var _excluded$3 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
863
931
 
864
932
  function Button(props) {
865
933
  var _props$text = props.text,
@@ -884,7 +952,7 @@ function Button(props) {
884
952
  _props$hasIcon = props.hasIcon,
885
953
  hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
886
954
  dynamicIcon = props.dynamicIcon,
887
- otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$1);
955
+ otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$3);
888
956
 
889
957
  var hasAddIcon = className.includes("add-button");
890
958
  var hasEditIcon = className.includes("edit-button");
@@ -1360,13 +1428,13 @@ function Modal(_ref) {
1360
1428
  }, children) : null);
1361
1429
  }
1362
1430
 
1363
- var _excluded$2 = ["buttons", "buttonsAlignment", "children"];
1431
+ var _excluded$4 = ["buttons", "buttonsAlignment", "children"];
1364
1432
  var ModalWithButtons = function ModalWithButtons(props) {
1365
1433
  var buttons = props.buttons,
1366
1434
  _props$buttonsAlignme = props.buttonsAlignment,
1367
1435
  buttonsAlignment = _props$buttonsAlignme === void 0 ? "justify-between" : _props$buttonsAlignme,
1368
1436
  children = props.children,
1369
- rest = _objectWithoutPropertiesLoose(props, _excluded$2);
1437
+ rest = _objectWithoutPropertiesLoose(props, _excluded$4);
1370
1438
 
1371
1439
  return /*#__PURE__*/React__default.createElement(Modal, Object.assign({}, rest, {
1372
1440
  withPadding: false
@@ -1434,7 +1502,7 @@ ConfirmationDialog.defaultProps = {
1434
1502
  var css_248z$8 = ".cweb-box-shadow-default {\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-box-shadow-default {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.24), 0 0 2px 1px rgba(0, 0, 0, 0.12);\n }\n}\n\n.cweb-datepicker {\n width: 182px;\n height: 44px;\n border: 1px solid #cccccc;\n border-radius: 4px;\n background-color: #ffffff;\n outline: none;\n padding: 12px 12px 11px 12px;\n}\n\n.cweb-datepicker input.cweb-datepicker {\n font-size: 14px;\n}\n\n.cweb-datepicker:-ms-input-placeholder {\n color: #64748b;\n}\n\n.cweb-datepicker::placeholder {\n color: #64748b;\n}\n\n.cweb-datepicker:-ms-input-placeholder {\n color: #64748b !important;\n}\n\n.cweb-datepicker::-ms-input-placeholder {\n color: #64748b;\n}\n\n.react-datepicker-popper {\n z-index: 5;\n}\n\n.react-datepicker-popper[data-placement^=\"bottom\"] {\n margin-top: 4px;\n}\n\n.react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle {\n border-bottom-color: #ffffff;\n margin-top: -4px;\n}\n\n.react-datepicker-popper[data-placement^=\"top\"] {\n margin-bottom: 4px;\n}\n\n.react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle {\n border-top-color: #ffffff;\n margin-bottom: -4px;\n}\n\n.cweb-datepicker-calendar {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n padding: 0;\n border: 1px solid #cccccc;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-datepicker-calendar {\n box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.2);\n }\n}\n\n.cweb-datepicker-calendar .react-datepicker__triangle {\n left: 10px;\n border: 6px solid transparent;\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation {\n top: 19px;\n width: 19px;\n height: 10px;\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%227%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0 1.5L1.5 0 5 3.5 8.5 0 10 1.5l-5 5z%22 fill%3D%22%231D9BD8%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation.react-datepicker__navigation--previous {\n border: 0;\n transform: rotate(90deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation.react-datepicker__navigation--next {\n border: 0;\n transform: rotate(-90deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-box {\n width: auto;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list {\n overflow-x: hidden;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #334155;\n margin: 0;\n display: flex;\n justify-content: center;\n flex-direction: row;\n align-items: center;\n height: 40px !important;\n padding: 0 !important;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected {\n color: #ffffff;\n background-color: #0074dd !important;\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected:hover {\n background-color: #045baa !important;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected:before {\n content: \"\";\n position: absolute;\n bottom: -3px;\n right: 0;\n left: initial;\n top: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(-135deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__header {\n padding-top: 0;\n border: none;\n background-color: #ffffff;\n font-size: 14px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__current-month {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: 600;\n line-height: 19px;\n color: #2d2d2d;\n margin: 0;\n padding-top: 16px;\n padding-bottom: 16px;\n text-transform: capitalize;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__header__dropdown {\n margin-bottom: 15px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select,\n .cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #334155;\n margin: 0;\n height: 44px;\n padding-left: 12px;\n border-radius: 4px;\n background: #ffffff url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2214%22 viewBox%3D%220 0 8 14%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z%22 fill%3D%22%239CA3AF%22%2F%3E%3C%2Fsvg%3E\") no-repeat right 8px center;\n text-transform: capitalize;\n -webkit-appearance: none;\n -moz-appearance: none;\n border: 1px solid #cccccc;\n transition: all 0.4s ease;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select:hover, .cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select:focus,\n .cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select:hover,\n .cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select:focus {\n color: #0074dd;\n border-color: #0074dd;\n cursor: pointer;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select {\n min-width: 172px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select {\n min-width: 107px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header.react-datepicker__header--time {\n display: flex;\n justify-content: center;\n flex-direction: row;\n align-items: center;\n height: 52px;\n padding: 0;\n background-color: #f3f3f3;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-names,\n .cweb-datepicker-calendar .react-datepicker__month {\n margin: 0.4rem;\n}\n\n.cweb-datepicker-calendar .react-datepicker__month {\n padding-bottom: 8px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-names,\n .cweb-datepicker-calendar .react-datepicker__week {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-name,\n .cweb-datepicker-calendar .react-datepicker__day {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #334155;\n margin: 0;\n width: 41px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-name {\n height: 19px;\n text-transform: capitalize;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day {\n height: 30px;\n border-radius: 4px;\n transition: background-color 0.3s ease-in-out;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted {\n background-color: #ffffff;\n color: #0074dd;\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted:after {\n content: \"\";\n position: absolute;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: #0074dd;\n left: 0;\n right: 0;\n bottom: 2px;\n margin: 0 auto;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--selected:after, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--keyboard-selected:after, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--in-range:after {\n background-color: #ffffff;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--today {\n font-weight: bold;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-selecting-range {\n background-color: #e8f5fc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day:hover {\n background-color: #f8fafc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-range, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected {\n color: #ffffff;\n background-color: #0074dd;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-range:hover, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected:hover {\n background-color: #045baa;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--keyboard-selected {\n color: #ffffff;\n background-color: #045baa;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-start {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-start:before {\n content: \"\";\n position: absolute;\n top: -3px;\n left: 0;\n bottom: initial;\n right: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(45deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-end {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-end:before {\n content: \"\";\n position: absolute;\n bottom: -3px;\n right: 0;\n left: initial;\n top: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(-135deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--disabled {\n color: #cccccc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--disabled:hover {\n background-color: #ffffff;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--outside-month {\n color: #cccccc;\n}\n";
1435
1503
  styleInject(css_248z$8);
1436
1504
 
1437
- var _excluded$3 = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
1505
+ var _excluded$5 = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
1438
1506
 
1439
1507
  var Datepicker = /*#__PURE__*/function (_Component) {
1440
1508
  _inheritsLoose(Datepicker, _Component);
@@ -1489,7 +1557,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
1489
1557
  _this$props2$isDisabl = _this$props2.isDisabled,
1490
1558
  isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
1491
1559
  selected = _this$props2.selected,
1492
- otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$3);
1560
+ otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$5);
1493
1561
 
1494
1562
  var dateFormat = this.getDateFormat();
1495
1563
  var pickerClassName = classNames("cweb-datepicker text-slate-700 text-sm", className);
@@ -1550,7 +1618,7 @@ var img$a = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
1550
1618
  var css_248z$9 = ".cweb-box-shadow-default {\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-box-shadow-default {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.24), 0 0 2px 1px rgba(0, 0, 0, 0.12);\n }\n}\n\n.cweb-dropdown {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n align-items: flex-start;\n position: relative;\n outline: none;\n border-radius: 4px;\n}\n\n.cweb-dropdown:focus {\n outline: 4px solid rgba(0, 159, 227, 0.3);\n}\n\n.cweb-dropdown > .dropdown-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n height: 44px;\n border-radius: 4px;\n transition: all 0.4s ease;\n}\n\n.cweb-dropdown > .dropdown-header > .dropdown-header-icon {\n opacity: 0.5;\n transition: opacity 0.3s ease-in-out;\n}\n\n.cweb-dropdown > .dropdown-header:hover > .dropdown-header-icon {\n opacity: 1;\n}\n\n.cweb-dropdown > .dropdown-list {\n box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.56);\n display: none;\n position: absolute;\n top: 100%;\n z-index: 1;\n width: 100%;\n max-height: 360px;\n overflow-y: auto;\n align-self: stretch;\n margin-top: 8px;\n padding: 0;\n background-color: #ffffff;\n list-style: none;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n}\n\n.cweb-dropdown > .dropdown-list > .dropdown-list-item {\n cursor: pointer;\n}\n\n.cweb-dropdown > .dropdown-list > .dropdown-list-item-group > .dropdown-list-item {\n cursor: pointer;\n}\n\n.cweb-dropdown.is-open > .dropdown-list {\n display: block;\n margin-bottom: 32px;\n}\n\n.cweb-dropdown.is-open > .dropdown-list.wider {\n width: 200%;\n}\n";
1551
1619
  styleInject(css_248z$9);
1552
1620
 
1553
- var _excluded$4 = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
1621
+ var _excluded$6 = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
1554
1622
  var ITEM_QUERY_FIELD_NAMES = {
1555
1623
  ID: "id",
1556
1624
  HIGHLIGHT_INDEX: "highlightIndex"
@@ -1822,7 +1890,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
1822
1890
  _this$props$placehold = _this$props.placeholder,
1823
1891
  placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
1824
1892
  className = _this$props.className,
1825
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$4);
1893
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$6);
1826
1894
 
1827
1895
  var _this$state2 = this.state,
1828
1896
  selectedItem = _this$state2.selectedItem,
@@ -1945,7 +2013,7 @@ var EmptyListMessage = function EmptyListMessage(_ref) {
1945
2013
  var css_248z$a = ".cweb-error-block {\n position: relative;\n padding: 16px 16px 16px 56px;\n background-color: #fff1f1;\n border-radius: 8px;\n}\n\n.cweb-error-block:before {\n content: \"\";\n position: absolute;\n left: 16px;\n top: 14px;\n z-index: 1;\n width: 24px;\n height: 23px;\n background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E %3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Ccircle cx%3D%2212%22 cy%3D%2212%22 r%3D%2212%22 fill%3D%22%23FF6266%22%2F%3E %3Ccircle cx%3D%2212%22 cy%3D%2217%22 r%3D%222%22 fill%3D%22%23FFF%22%2F%3E %3Crect width%3D%224%22 height%3D%2210%22 x%3D%2210%22 y%3D%224%22 fill%3D%22%23FFF%22 rx%3D%222%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n";
1946
2014
  styleInject(css_248z$a);
1947
2015
 
1948
- var _excluded$5 = ["message", "className"];
2016
+ var _excluded$7 = ["message", "className"];
1949
2017
  ErrorBlock.propTypes = {
1950
2018
  message: PropTypes.string.isRequired,
1951
2019
  className: PropTypes.string
@@ -1955,7 +2023,7 @@ function ErrorBlock(_ref) {
1955
2023
  var message = _ref.message,
1956
2024
  _ref$className = _ref.className,
1957
2025
  className = _ref$className === void 0 ? "" : _ref$className,
1958
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2026
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
1959
2027
 
1960
2028
  var containerClassName = classNames("cweb-error-block", className);
1961
2029
  return /*#__PURE__*/React__default.createElement("div", {
@@ -2059,7 +2127,7 @@ InfoField.defaultProps = {
2059
2127
  var css_248z$c = ".input::-ms-clear {\n display: none;\n}";
2060
2128
  styleInject(css_248z$c);
2061
2129
 
2062
- var _excluded$6 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "icon", "name", "value", "onChange", "isError"];
2130
+ var _excluded$8 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "icon", "name", "value", "onChange", "isError"];
2063
2131
  // Don't know why yet but it can be fixed later.
2064
2132
 
2065
2133
  var INPUT_TYPES = {
@@ -2086,7 +2154,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2086
2154
  value = _ref$value === void 0 ? "" : _ref$value,
2087
2155
  onChange = _ref.onChange,
2088
2156
  isError = _ref.isError,
2089
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2157
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2090
2158
 
2091
2159
  var hasNoExtraContent = withPrefix === "" && withSuffix === "";
2092
2160
 
@@ -2254,7 +2322,7 @@ var img$g = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
2254
2322
  var css_248z$d = ".cweb-loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-loading .cweb-loading-text {\n margin-bottom: 24px;\n}\n\n.cweb-loading.as-modal {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 9999;\n background-color: rgba(255, 255, 255, 0.6);\n}\n\n.cweb-loading.as-modal .cweb-loading-panel {\n position: relative;\n width: 320px;\n min-height: 120px;\n border-radius: 4px;\n padding: 16px;\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.36);\n background-color: #ffffff;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n.cweb-loading.as-modal .cweb-loading-panel:before {\n position: absolute;\n content: \"\";\n top: 0;\n left: 0;\n right: 0;\n z-index: 1;\n height: 3px;\n background-color: #6abfa5;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n";
2255
2323
  styleInject(css_248z$d);
2256
2324
 
2257
- var _excluded$7 = ["asModal", "asSpinner", "className", "spinnerColor"];
2325
+ var _excluded$9 = ["asModal", "asSpinner", "className", "spinnerColor"];
2258
2326
  function LoadingIndicator(_ref) {
2259
2327
  var _ref$asModal = _ref.asModal,
2260
2328
  asModal = _ref$asModal === void 0 ? false : _ref$asModal,
@@ -2264,7 +2332,7 @@ function LoadingIndicator(_ref) {
2264
2332
  className = _ref$className === void 0 ? "" : _ref$className,
2265
2333
  _ref$spinnerColor = _ref.spinnerColor,
2266
2334
  spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
2267
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2335
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2268
2336
 
2269
2337
  var spinnerToRender = spinnerColor === "blue" ? img$f : img$g;
2270
2338
  var containerClassName = classNames("cweb-loading", className, {
@@ -2274,6 +2342,7 @@ function LoadingIndicator(_ref) {
2274
2342
  className: containerClassName
2275
2343
  }), /*#__PURE__*/React__default.createElement("img", {
2276
2344
  src: asSpinner ? spinnerToRender : img$e,
2345
+ "data-chromatic": "ignore",
2277
2346
  className: classNames("text-gray-600 fill-current stroke-current", {
2278
2347
  "h-4 w-4": asSpinner,
2279
2348
  "h-12 w-12": !asSpinner
@@ -2691,7 +2760,7 @@ var TableFooter = function TableFooter(props) {
2691
2760
  }, props.paginationMenuProps)))));
2692
2761
  };
2693
2762
 
2694
- var _excluded$8 = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className"];
2763
+ var _excluded$a = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className"];
2695
2764
  function Table(_ref) {
2696
2765
  var items = _ref.items,
2697
2766
  fieldConfigurations = _ref.fieldConfigurations,
@@ -2704,7 +2773,7 @@ function Table(_ref) {
2704
2773
  paginationMenuProps = _ref.paginationMenuProps,
2705
2774
  onRowClick = _ref.onRowClick,
2706
2775
  className = _ref.className,
2707
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2776
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2708
2777
 
2709
2778
  // For not displaying empty view at creation
2710
2779
  var _useState = useState(true),
@@ -2854,7 +2923,7 @@ var ImageIcon = function ImageIcon(props) {
2854
2923
  }));
2855
2924
  };
2856
2925
 
2857
- var _excluded$9 = ["icon", "subtitle", "title", "accessories", "tooltipId", "onAssetLoadError", "roundTop"];
2926
+ var _excluded$b = ["icon", "subtitle", "title", "accessories", "tooltipId", "onAssetLoadError", "roundTop"];
2858
2927
  var ListItem = function ListItem(_ref) {
2859
2928
  var icon = _ref.icon,
2860
2929
  subtitle = _ref.subtitle,
@@ -2863,7 +2932,7 @@ var ListItem = function ListItem(_ref) {
2863
2932
  tooltipId = _ref.tooltipId,
2864
2933
  onAssetLoadError = _ref.onAssetLoadError,
2865
2934
  roundTop = _ref.roundTop,
2866
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2935
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2867
2936
 
2868
2937
  var _useState = useState(false),
2869
2938
  loadIconError = _useState[0],
@@ -2905,6 +2974,7 @@ var ListItem = function ListItem(_ref) {
2905
2974
  className: "w-6 h-6"
2906
2975
  }), !loadIconError && icon && typeof icon === "string" && /*#__PURE__*/React__default.createElement("img", {
2907
2976
  src: icon,
2977
+ "data-chromatic": "ignore",
2908
2978
  alt: "list-item-icon",
2909
2979
  className: "w-6 h-6 text-sm",
2910
2980
  onLoad: onListItemIconLoad,
@@ -3270,7 +3340,7 @@ var CheckboxGroup = function CheckboxGroup(_ref) {
3270
3340
  type: "strong",
3271
3341
  text: groupTitle || "",
3272
3342
  className: " ml-4"
3273
- }), " ", ":"), /*#__PURE__*/React__default.createElement(Checkbox, {
3343
+ }), " "), /*#__PURE__*/React__default.createElement(Checkbox, {
3274
3344
  onChange: handleGroupClick,
3275
3345
  className: "ml-auto",
3276
3346
  isChecked: groupCheckboxState === CheckboxState.CHECKED,
@@ -3317,6 +3387,170 @@ var CheckboxList = function CheckboxList(_ref) {
3317
3387
  }));
3318
3388
  };
3319
3389
 
3390
+ var SearchIcon = function SearchIcon(props) {
3391
+ return /*#__PURE__*/React__default.createElement("svg", {
3392
+ className: props.className,
3393
+ onClick: props.onClick,
3394
+ role: props.onClick ? "button" : undefined,
3395
+ width: "24",
3396
+ height: "24",
3397
+ viewBox: "0 0 24 24",
3398
+ fill: "none",
3399
+ xmlns: "http://www.w3.org/2000/svg"
3400
+ }, /*#__PURE__*/React__default.createElement("path", {
3401
+ d: "M15.5 13.9996H14.71L14.43 13.7296C15.63 12.3296 16.25 10.4196 15.91 8.38965C15.44 5.60965 13.12 3.38965 10.32 3.04965C6.09001 2.52965 2.53002 6.08965 3.05002 10.3196C3.39002 13.1196 5.61002 15.4396 8.39002 15.9096C10.42 16.2496 12.33 15.6296 13.73 14.4296L14 14.7096V15.4996L18.25 19.7496C18.66 20.1596 19.33 20.1596 19.74 19.7496C20.15 19.3396 20.15 18.6696 19.74 18.2596L15.5 13.9996ZM9.50002 13.9996C7.01002 13.9996 5.00002 11.9896 5.00002 9.49965C5.00002 7.00965 7.01002 4.99965 9.50002 4.99965C11.99 4.99965 14 7.00965 14 9.49965C14 11.9896 11.99 13.9996 9.50002 13.9996Z",
3402
+ fill: "currentColor"
3403
+ }));
3404
+ };
3405
+
3406
+ var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
3407
+ return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, props, {
3408
+ icon: SearchIcon,
3409
+ type: "text",
3410
+ clearable: true,
3411
+ ref: ref
3412
+ }));
3413
+ });
3414
+
3415
+ var transformToGroups = function transformToGroups(items) {
3416
+ var pinned = items.find(function (option) {
3417
+ return option.isPinned;
3418
+ });
3419
+ var itemsWithGroup = items.filter(function (option) {
3420
+ return option.group;
3421
+ });
3422
+ var groups = Object.entries(groupBy(itemsWithGroup, "group")).map(function (group) {
3423
+ return {
3424
+ title: group[0],
3425
+ items: group[1].sort(function (a, b) {
3426
+ return a.label > b.label ? 1 : b.label > a.label ? -1 : 0;
3427
+ })
3428
+ };
3429
+ });
3430
+ var itemsWithoutGroup = items.filter(function (option) {
3431
+ return !option.group;
3432
+ });
3433
+ var restGroup = {
3434
+ name: undefined,
3435
+ items: itemsWithoutGroup
3436
+ };
3437
+
3438
+ if (pinned) {
3439
+ var myGroup = {
3440
+ items: [pinned]
3441
+ };
3442
+ return [myGroup].concat(groups, [restGroup]);
3443
+ }
3444
+
3445
+ return [].concat(groups, [restGroup]);
3446
+ };
3447
+
3448
+ var CheckboxListModal = function CheckboxListModal(_ref) {
3449
+ var texts = _ref.texts,
3450
+ initialItems = _ref.initialItems,
3451
+ isLoadingInitialItems = _ref.isLoadingInitialItems,
3452
+ isOpen = _ref.isOpen,
3453
+ onSave = _ref.onSave,
3454
+ onCloseClick = _ref.onCloseClick,
3455
+ _ref$filterItem = _ref.filterItem,
3456
+ filterItem = _ref$filterItem === void 0 ? function () {
3457
+ return true;
3458
+ } : _ref$filterItem,
3459
+ className = _ref.className,
3460
+ _ref$hasSearch = _ref.hasSearch,
3461
+ hasSearch = _ref$hasSearch === void 0 ? false : _ref$hasSearch;
3462
+ var containerClassName = classNames(className);
3463
+
3464
+ var _useState = useState([]),
3465
+ items = _useState[0],
3466
+ setItems = _useState[1];
3467
+
3468
+ var _useState2 = useState([]),
3469
+ visibleItems = _useState2[0],
3470
+ setVisibleItems = _useState2[1];
3471
+
3472
+ var _useState3 = useState([]),
3473
+ groups = _useState3[0],
3474
+ setGroups = _useState3[1];
3475
+
3476
+ var _useState4 = useState(""),
3477
+ search = _useState4[0],
3478
+ setSearch = _useState4[1];
3479
+
3480
+ useEffect(function () {
3481
+ setItems(initialItems);
3482
+ }, [initialItems]);
3483
+ useEffect(function () {
3484
+ setVisibleItems(items.filter(function (item) {
3485
+ return filterItem(item, search);
3486
+ }));
3487
+ }, [items, search]);
3488
+ useEffect(function () {
3489
+ setGroups(transformToGroups(visibleItems));
3490
+ }, [visibleItems]);
3491
+
3492
+ var handleOnItemChange = function handleOnItemChange(event) {
3493
+ var updatedItems = [].concat(items);
3494
+ var index = updatedItems.findIndex(function (item) {
3495
+ return item.id === event.id;
3496
+ });
3497
+ updatedItems[index].isChecked = event.newCheckedValue;
3498
+ setItems(updatedItems);
3499
+ };
3500
+
3501
+ var handleOnCloseClick = function handleOnCloseClick(event) {
3502
+ event.stopPropagation();
3503
+ onCloseClick();
3504
+ };
3505
+
3506
+ var handleOnSaveClick = function handleOnSaveClick() {
3507
+ onSave(items.filter(function (item) {
3508
+ return item.isChecked;
3509
+ }));
3510
+ onCloseClick();
3511
+ };
3512
+
3513
+ var handleOnSearchChange = function handleOnSearchChange(event) {
3514
+ var _event$currentTarget$;
3515
+
3516
+ setSearch((_event$currentTarget$ = event.currentTarget.value) != null ? _event$currentTarget$ : "");
3517
+ };
3518
+
3519
+ var closeButton = /*#__PURE__*/createElement(SecondaryButton, {
3520
+ text: texts.cancelLabel,
3521
+ onClick: handleOnCloseClick,
3522
+ key: "close-checkbox-list-modal",
3523
+ className: "mr-2"
3524
+ });
3525
+ var saveButton = /*#__PURE__*/createElement(PrimaryButton, {
3526
+ text: texts.confirmLabel,
3527
+ onClick: handleOnSaveClick,
3528
+ key: "save-selected-checkbox-list-items"
3529
+ });
3530
+ return /*#__PURE__*/createElement(ModalWithButtons, {
3531
+ isOpen: isOpen,
3532
+ title: texts.title,
3533
+ onCloseClick: handleOnCloseClick,
3534
+ withPadding: true,
3535
+ shouldCloseOnOverlayClick: true,
3536
+ className: containerClassName,
3537
+ buttons: [closeButton, saveButton],
3538
+ buttonsAlignment: "justify-end"
3539
+ }, /*#__PURE__*/createElement("div", {
3540
+ className: "max-h-135 overflow-y-auto pr-4"
3541
+ }, isLoadingInitialItems && /*#__PURE__*/createElement(LoadingIndicator, null), hasSearch && !isLoadingInitialItems && /*#__PURE__*/createElement(SearchInput, {
3542
+ className: "w-130 mb-2",
3543
+ value: search,
3544
+ placeholder: texts.searchPlaceHolder,
3545
+ onChange: handleOnSearchChange
3546
+ }), !isLoadingInitialItems && (items == null ? void 0 : items.length) > 0 && /*#__PURE__*/createElement(CheckboxList, {
3547
+ groups: groups,
3548
+ onChange: handleOnItemChange
3549
+ }), !isLoadingInitialItems && (items == null ? void 0 : items.length) === 0 && /*#__PURE__*/createElement(Text, {
3550
+ text: texts.emptyState
3551
+ })));
3552
+ };
3553
+
3320
3554
  var TEXT_TYPE_OPTIONS = {
3321
3555
  DEFAULT: "default",
3322
3556
  STRONG: "strong",
@@ -3800,7 +4034,7 @@ Page.propTypes = {
3800
4034
  navLayoutProps: PropTypes.object
3801
4035
  };
3802
4036
 
3803
- var _excluded$a = ["text", "type", "className"];
4037
+ var _excluded$c = ["text", "type", "className"];
3804
4038
  var TITLE_TYPE_OPTIONS = {
3805
4039
  DEFAULT: "default",
3806
4040
  BIG: "big",
@@ -3819,7 +4053,7 @@ function LegacyTitle(_ref) {
3819
4053
  type = _ref.type,
3820
4054
  _ref$className = _ref.className,
3821
4055
  className = _ref$className === void 0 ? "" : _ref$className,
3822
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
4056
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
3823
4057
 
3824
4058
  var ContainerElement;
3825
4059
  var containerClassName = classNames("cweb-title", className, {
@@ -4204,7 +4438,7 @@ Radio.propTypes = {
4204
4438
  var css_248z$m = ".cweb-radio-group {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n align-items: center;\n}\n\n.cweb-radio-group > .cweb-radio {\n flex: 0 0 auto;\n margin-right: 8px;\n}\n\n.cweb-radio-group .cweb-form-field {\n margin-bottom: 12px;\n}\n\n.cweb-radio-group .cweb-form-info-text {\n margin-left: 1.5rem;\n}\n\n.cweb-radio-group.vertical {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n align-items: flex-start;\n}\n\n.cweb-radio-group.vertical .cweb-form-field:not(:last-child) {\n margin-bottom: 8px;\n}\n\n.cweb-radio-group.vertical > .cweb-radio {\n flex: 0 0 auto;\n margin-bottom: 8px;\n}\n\n.cweb-radio-group.hasError > .cweb-radio .cweb-radio-icon-container {\n border: 1px solid #ff6266 !important;\n}\n";
4205
4439
  styleInject(css_248z$m);
4206
4440
 
4207
- var _excluded$b = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
4441
+ var _excluded$d = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
4208
4442
  /**
4209
4443
  * @deprecated: use RadioV2 instead
4210
4444
  */
@@ -4219,7 +4453,7 @@ function RadioGroup(_ref) {
4219
4453
  onChange = _ref.onChange,
4220
4454
  error = _ref.error,
4221
4455
  isDisabled = _ref.isDisabled,
4222
- otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$b);
4456
+ otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4223
4457
 
4224
4458
  var containerClassName = classNames("cweb-radio-group", {
4225
4459
  vertical: isVertical
@@ -4265,7 +4499,7 @@ RadioGroup.propTypes = {
4265
4499
  var css_248z$n = ".radio-form-field-label input[type=\"radio\"]:checked + .radio-circle {\n --bg-opacity: 1;\n background-color: #0074DD;\n background-color: rgba(0, 116, 221, var(--bg-opacity));\n}\n\n.radio-form-field-label[data-has-error=\"true\"] .radio-circle {\n --border-opacity: 1;\n border-color: #c53030;\n border-color: rgba(197, 48, 48, var(--border-opacity));\n outline: 4px solid rgba(255, 98, 102, 0.3);\n outline-offset: 0;\n}\n\n.radio-form-field-label\n input[type=\"radio\"]:checked\n + .radio-circle\n .radio-inner-circle {\n --bg-opacity: 1;\n background-color: #fff;\n background-color: rgba(255, 255, 255, var(--bg-opacity));\n}\n";
4266
4500
  styleInject(css_248z$n);
4267
4501
 
4268
- var _excluded$c = ["text", "info", "isError", "innerRef", "className"];
4502
+ var _excluded$e = ["text", "info", "isError", "innerRef", "className"];
4269
4503
 
4270
4504
  function RadioInner(_ref) {
4271
4505
  var text = _ref.text,
@@ -4273,7 +4507,7 @@ function RadioInner(_ref) {
4273
4507
  isError = _ref.isError,
4274
4508
  innerRef = _ref.innerRef,
4275
4509
  className = _ref.className,
4276
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
4510
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4277
4511
 
4278
4512
  var value = otherProps.value,
4279
4513
  disabled = otherProps.disabled;
@@ -4324,12 +4558,12 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
4324
4558
  }));
4325
4559
  });
4326
4560
 
4327
- var _excluded$d = ["innerRef", "options"];
4561
+ var _excluded$f = ["innerRef", "options"];
4328
4562
 
4329
4563
  function RadioGroupInner(_ref) {
4330
4564
  var innerRef = _ref.innerRef,
4331
4565
  options = _ref.options,
4332
- registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4566
+ registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
4333
4567
 
4334
4568
  return /*#__PURE__*/React__default.createElement("div", {
4335
4569
  className: classNames("flex flex-col space-y-2")
@@ -4351,7 +4585,7 @@ var RadioGroupV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref)
4351
4585
  var css_248z$o = ".cweb-section .cweb-button:last-of-type {\n margin-right: 24px;\n}\n\n.cweb-section .cweb-button:not(:last-of-type) {\n margin-right: 8px;\n}\n\n.cweb-section .cweb-button.add-button, .cweb-section .cweb-button.edit-button, .cweb-section .cweb-button.delete-button {\n margin-left: auto;\n width: 32px;\n height: 32px;\n}\n\n.cweb-section .cweb-button.add-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle cx%3D%2222%22 cy%3D%2222%22 r%3D%2222%22 fill%3D%22white%22%2F%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23009FE3%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M22 32C23.1046 32 24 31.1046 24 30L24 24H30C31.1046 24 32 23.1046 32 22C32 20.8954 31.1046 20 30 20H24L24 14C24 12.8954 23.1046 12 22 12C20.8954 12 20 12.8954 20 14L20 20H14C12.8954 20 12 20.8954 12 22C12 23.1046 12.8954 24 14 24H20L20 30C20 31.1046 20.8954 32 22 32Z%22 fill%3D%22%23009FE3%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.add-button:hover, .cweb-section .cweb-button.add-button:active, .cweb-section .cweb-button.add-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%230A78B2%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M21 12C19.8954 12 19 12.8954 19 14V19L14 19C12.8954 19 12 19.8954 12 21V23C12 24.1046 12.8954 25 14 25H19V30C19 31.1046 19.8954 32 21 32H23C24.1046 32 25 31.1046 25 30V25H30C31.1046 25 32 24.1046 32 23V21C32 19.8954 31.1046 19 30 19L25 19V14C25 12.8954 24.1046 12 23 12H21Z%22 fill%3D%22%23007BBB%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.edit-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M13.5643 27.1001C13.4169 26.9527 13.1433 27.0159 13.1012 27.2266L12.0065 31.6507C11.9644 31.8614 12.1328 32.051 12.3433 31.9878L16.7851 30.9134C16.9956 30.8712 17.0799 30.5973 16.9114 30.4499L13.5643 27.1001Z%22 fill%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M26.2161 14.1222C26.1109 14.0169 25.9214 14.0169 25.8161 14.1222L14.4484 25.4987C14.3432 25.604 14.3432 25.7936 14.4484 25.8989L18.1114 29.5647C18.2166 29.67 18.4061 29.67 18.5113 29.5647L29.879 18.1882C29.9843 18.0829 29.9843 17.8933 29.879 17.788L26.2161 14.1222Z%22 fill%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M31.1633 12.8374C30.0475 11.7209 28.2161 11.7209 27.1004 12.8374C27.0583 12.8796 27.0583 12.9217 27.1004 12.9638L31.037 16.9035C31.0791 16.9456 31.1212 16.9456 31.1633 16.9035C32.279 15.7869 32.279 13.954 31.1633 12.8374Z%22 fill%3D%22%23009FE3%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.edit-button:hover, .cweb-section .cweb-button.edit-button:active, .cweb-section .cweb-button.edit-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23007BBB%22%2F%3E%3Cpath d%3D%22M13.5643 27.1001C13.4169 26.9527 13.1433 27.0159 13.1012 27.2266L12.0065 31.6507C11.9644 31.8614 12.1328 32.051 12.3433 31.9878L16.7851 30.9134C16.9956 30.8712 17.0799 30.5973 16.9114 30.4499L13.5643 27.1001Z%22 fill%3D%22%230A78B2%22%2F%3E%3Cpath d%3D%22M26.2161 14.1222C26.1109 14.0169 25.9214 14.0169 25.8161 14.1222L14.4484 25.4987C14.3432 25.604 14.3432 25.7936 14.4484 25.8989L18.1114 29.5647C18.2166 29.67 18.4061 29.67 18.5113 29.5647L29.879 18.1882C29.9843 18.0829 29.9843 17.8933 29.879 17.788L26.2161 14.1222Z%22 fill%3D%22%230A78B2%22%2F%3E%3Cpath d%3D%22M31.1633 12.8374C30.0475 11.7209 28.2161 11.7209 27.1004 12.8374C27.0583 12.8796 27.0583 12.9217 27.1004 12.9638L31.037 16.9035C31.0791 16.9456 31.1212 16.9456 31.1633 16.9035C32.279 15.7869 32.279 13.954 31.1633 12.8374Z%22 fill%3D%22%230A78B2%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.delete-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23FF6266%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M13 12C12.4477 12 12 12.4477 12 13C12 13.5523 12.4477 14 13 14H31C31.5523 14 32 13.5523 32 13C32 12.4477 31.5523 12 31 12H13ZM14 16H30V30C30 31.1046 29.1046 32 28 32H16C14.8954 32 14 31.1046 14 30V16ZM17 18H19V30H17V18ZM21 18H23V30H21V18ZM27 18H25V30H27V18Z%22 fill%3D%22%23FF6266%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.delete-button:hover, .cweb-section .cweb-button.delete-button:active, .cweb-section .cweb-button.delete-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M13 12C12.4477 12 12 12.4477 12 13C12 13.5523 12.4477 14 13 14H31C31.5523 14 32 13.5523 32 13C32 12.4477 31.5523 12 31 12H13ZM14 16H30V30C30 31.1046 29.1046 32 28 32H16C14.8954 32 14 31.1046 14 30V16ZM17 18H19V30H17V18ZM21 18H23V30H21V18ZM27 18H25V30H27V18Z%22 fill%3D%22%23FC494E%22%2F%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23FC494E%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section > .cweb-section-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n border-bottom: 1px solid #eeeeee;\n width: 100%;\n padding: 18px 24px;\n}\n\n.cweb-section > .cweb-section-footer {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n border-top: 1px solid #eeeeee;\n width: 100%;\n padding: 1rem 24px 1rem 24px;\n}\n\n.cweb-section > .cweb-section-footer img {\n width: 32px;\n height: 32px;\n}\n";
4352
4586
  styleInject(css_248z$o);
4353
4587
 
4354
- var _excluded$e = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
4588
+ var _excluded$g = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
4355
4589
  function Section(_ref) {
4356
4590
  var title = _ref.title,
4357
4591
  buttons = _ref.buttons,
@@ -4361,7 +4595,7 @@ function Section(_ref) {
4361
4595
  _ref$isLoading = _ref.isLoading,
4362
4596
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
4363
4597
  loadingIndicatorProps = _ref.loadingIndicatorProps,
4364
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4598
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
4365
4599
 
4366
4600
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, restProps, {
4367
4601
  className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
@@ -4392,12 +4626,12 @@ function Section(_ref) {
4392
4626
  var css_248z$p = ".cweb-list-item {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n align-items: center;\n padding: 16px 0 16px 0;\n border-bottom: 1px solid #eeeeee;\n}\n\n.cweb-list-item:last-child {\n border-bottom: none;\n}\n\n.cweb-list-item.cweb-list-item-clickable {\n cursor: pointer;\n}\n\n.cweb-list-item.cweb-list-item-clickable:hover {\n background-color: #f2fafd;\n}\n";
4393
4627
  styleInject(css_248z$p);
4394
4628
 
4395
- var _excluded$f = ["children", "className", "onClick"];
4629
+ var _excluded$h = ["children", "className", "onClick"];
4396
4630
  var SectionItem = function SectionItem(props) {
4397
4631
  var children = props.children,
4398
4632
  className = props.className,
4399
4633
  onClick = props.onClick,
4400
- rest = _objectWithoutPropertiesLoose(props, _excluded$f);
4634
+ rest = _objectWithoutPropertiesLoose(props, _excluded$h);
4401
4635
 
4402
4636
  var classes = classNames("cweb-list-item", className, {
4403
4637
  "cweb-list-item-clickable": !!onClick
@@ -4408,7 +4642,7 @@ var SectionItem = function SectionItem(props) {
4408
4642
  }, rest), children);
4409
4643
  };
4410
4644
 
4411
- var _excluded$g = ["text", "icon", "className", "iconClass", "onClick"];
4645
+ var _excluded$i = ["text", "icon", "className", "iconClass", "onClick"];
4412
4646
 
4413
4647
  function SectionItemWithContent(props) {
4414
4648
  var text = props.text,
@@ -4416,7 +4650,7 @@ function SectionItemWithContent(props) {
4416
4650
  className = props.className,
4417
4651
  iconClass = props.iconClass,
4418
4652
  onClick = props.onClick,
4419
- rest = _objectWithoutPropertiesLoose(props, _excluded$g);
4653
+ rest = _objectWithoutPropertiesLoose(props, _excluded$i);
4420
4654
 
4421
4655
  var mergedClasses = classNames("cweb-section-text-item", className);
4422
4656
  var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
@@ -4432,7 +4666,7 @@ function SectionItemWithContent(props) {
4432
4666
  }));
4433
4667
  }
4434
4668
 
4435
- var _excluded$h = ["isError", "styles", "options", "onChange", "value", "isMulti", "className"];
4669
+ var _excluded$j = ["isError", "styles", "options", "onChange", "value", "isMulti", "className"];
4436
4670
 
4437
4671
  function generateCustomStyles$1(hasError, isIE11) {
4438
4672
  return {
@@ -4537,7 +4771,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
4537
4771
  value = _ref.value,
4538
4772
  isMulti = _ref.isMulti,
4539
4773
  className = _ref.className,
4540
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$h);
4774
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
4541
4775
 
4542
4776
  var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
4543
4777
  var customStyles = generateCustomStyles$1(isError, isIE11);
@@ -5019,7 +5253,7 @@ var TagGroup = function TagGroup(_ref) {
5019
5253
  var css_248z$r = ".cweb-textarea {\n border: 1px solid #cccccc;\n border-radius: 4px;\n outline: none;\n background-color: #ffffff;\n resize: none;\n}\n\n.cweb-textarea.has-icon {\n background-size: 24px;\n background-position: 10px 10px;\n background-repeat: no-repeat;\n padding-left: 44px;\n}\n\n.cweb-textarea.resizable {\n resize: both;\n}\n\n.cweb-textarea.resizable-x {\n resize: horizontal;\n}\n\n.cweb-textarea.resizable-y {\n resize: vertical;\n}\n\n.cweb-textarea:-ms-input-placeholder {\n color: #737373;\n}\n\n.cweb-textarea::placeholder {\n color: #737373;\n}\n\n.cweb-textarea:-ms-input-placeholder {\n color: #64748b !important;\n}\n\n.cweb-textarea::-ms-input-placeholder {\n color: #64748b;\n}\n\n.cweb-textarea:focus {\n border-color: #0074dd;\n}\n\n.cweb-textarea:disabled {\n cursor: not-allowed;\n}\n\n.cweb-textarea.has-error {\n border: 1px solid #ff6266;\n color: #ff6266;\n}\n";
5020
5254
  styleInject(css_248z$r);
5021
5255
 
5022
- var _excluded$i = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
5256
+ var _excluded$k = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
5023
5257
  var RESIZE_TYPES = {
5024
5258
  NONE: "none",
5025
5259
  BOTH: "both",
@@ -5063,7 +5297,7 @@ function Textarea(props) {
5063
5297
  onKeyPress = props.onKeyPress,
5064
5298
  _onKeyDown = props.onKeyDown,
5065
5299
  onCtrlEnter = props.onCtrlEnter,
5066
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$i);
5300
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$k);
5067
5301
 
5068
5302
  var style;
5069
5303
 
@@ -5239,7 +5473,7 @@ var Timeline = function Timeline(props) {
5239
5473
  }, props.loadMoreButtonProps)));
5240
5474
  };
5241
5475
 
5242
- var _excluded$j = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
5476
+ var _excluded$l = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
5243
5477
  function ViewItem(_ref) {
5244
5478
  var titleProps = _ref.titleProps,
5245
5479
  title = _ref.title,
@@ -5250,7 +5484,7 @@ function ViewItem(_ref) {
5250
5484
  defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
5251
5485
  className = _ref.className,
5252
5486
  buttons = _ref.buttons,
5253
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
5487
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
5254
5488
 
5255
5489
  var titlePropsMerged = titleProps != null ? titleProps : {
5256
5490
  text: title != null ? title : defaultContent
@@ -5286,31 +5520,6 @@ function ViewItem(_ref) {
5286
5520
  })));
5287
5521
  }
5288
5522
 
5289
- var SearchIcon = function SearchIcon(props) {
5290
- return /*#__PURE__*/React__default.createElement("svg", {
5291
- className: props.className,
5292
- onClick: props.onClick,
5293
- role: props.onClick ? "button" : undefined,
5294
- width: "24",
5295
- height: "24",
5296
- viewBox: "0 0 24 24",
5297
- fill: "none",
5298
- xmlns: "http://www.w3.org/2000/svg"
5299
- }, /*#__PURE__*/React__default.createElement("path", {
5300
- d: "M15.5 13.9996H14.71L14.43 13.7296C15.63 12.3296 16.25 10.4196 15.91 8.38965C15.44 5.60965 13.12 3.38965 10.32 3.04965C6.09001 2.52965 2.53002 6.08965 3.05002 10.3196C3.39002 13.1196 5.61002 15.4396 8.39002 15.9096C10.42 16.2496 12.33 15.6296 13.73 14.4296L14 14.7096V15.4996L18.25 19.7496C18.66 20.1596 19.33 20.1596 19.74 19.7496C20.15 19.3396 20.15 18.6696 19.74 18.2596L15.5 13.9996ZM9.50002 13.9996C7.01002 13.9996 5.00002 11.9896 5.00002 9.49965C5.00002 7.00965 7.01002 4.99965 9.50002 4.99965C11.99 4.99965 14 7.00965 14 9.49965C14 11.9896 11.99 13.9996 9.50002 13.9996Z",
5301
- fill: "currentColor"
5302
- }));
5303
- };
5304
-
5305
- var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
5306
- return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, props, {
5307
- icon: SearchIcon,
5308
- type: "text",
5309
- clearable: true,
5310
- ref: ref
5311
- }));
5312
- });
5313
-
5314
5523
  /**
5315
5524
  * Decorator for any input component. Adds a label and additional information to be shown.
5316
5525
  *
@@ -5368,7 +5577,7 @@ var isRequired = function isRequired(options) {
5368
5577
  return !!(options && "required" in options);
5369
5578
  };
5370
5579
 
5371
- var _excluded$k = ["name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5580
+ var _excluded$m = ["name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5372
5581
  /**
5373
5582
  * Input field that can be used in any react-hook-form context.
5374
5583
  */
@@ -5380,7 +5589,7 @@ var FormInputInner = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
5380
5589
  label = _ref.label,
5381
5590
  info = _ref.info,
5382
5591
  decoratorClassname = _ref.decoratorClassname,
5383
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$k);
5592
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5384
5593
 
5385
5594
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5386
5595
  name: name,
@@ -5401,7 +5610,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
5401
5610
  }));
5402
5611
  });
5403
5612
 
5404
- var _excluded$l = ["innerRef", "name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5613
+ var _excluded$n = ["innerRef", "name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5405
5614
  /**
5406
5615
  * Input field that can be used in any react-hook-form context.
5407
5616
  */
@@ -5414,7 +5623,7 @@ function FormRadioGroupInner(_ref) {
5414
5623
  label = _ref.label,
5415
5624
  info = _ref.info,
5416
5625
  decoratorClassname = _ref.decoratorClassname,
5417
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
5626
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5418
5627
 
5419
5628
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5420
5629
  name: name,
@@ -5436,7 +5645,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (props, ref
5436
5645
  }));
5437
5646
  });
5438
5647
 
5439
- var _excluded$m = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5648
+ var _excluded$o = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5440
5649
 
5441
5650
  var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
5442
5651
  var control = _ref.control,
@@ -5447,7 +5656,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
5447
5656
  label = _ref.label,
5448
5657
  info = _ref.info,
5449
5658
  decoratorClassname = _ref.decoratorClassname,
5450
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5659
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5451
5660
 
5452
5661
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5453
5662
  name: name,
@@ -5470,7 +5679,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
5470
5679
  }));
5471
5680
  });
5472
5681
 
5473
- var _excluded$n = ["type", "name", "options", "fieldProps"];
5682
+ var _excluded$p = ["type", "name", "options", "fieldProps"];
5474
5683
  /**
5475
5684
  * Create a straight forward Form, which takes away the 'overhead' of react-hook-form.
5476
5685
  *
@@ -5535,7 +5744,7 @@ function FormFieldMapper(formFieldProps, useFormReturn) {
5535
5744
  options = formFieldProps.options,
5536
5745
  _formFieldProps$field = formFieldProps.fieldProps,
5537
5746
  fieldProps = _formFieldProps$field === void 0 ? {} : _formFieldProps$field,
5538
- decoratorProps = _objectWithoutPropertiesLoose(formFieldProps, _excluded$n);
5747
+ decoratorProps = _objectWithoutPropertiesLoose(formFieldProps, _excluded$p);
5539
5748
 
5540
5749
  var register = useFormReturn.register,
5541
5750
  control = useFormReturn.control,
@@ -6333,5 +6542,5 @@ var SearchCancelIcon = function SearchCancelIcon(props) {
6333
6542
  }));
6334
6543
  };
6335
6544
 
6336
- export { AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Carousel, CenteredHero, ChartIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, ChevronDoubleIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, DownArrowIcon, DragIcon, Dropdown, EditIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, Form, GearIcon, GenericForm, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, InfoBlock, InfoField, Input, LeftArrowIcon, LightBulbIcon, Line, List, LoadingIndicator, LockIcon, Menu, MessagesIcon, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, toast };
6545
+ export { AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Carousel, CenteredHero, ChartIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, CheckboxListModal, ChevronDoubleIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, DownArrowIcon, DragIcon, Dropdown, EditIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, FlexColumn, FlexRow, Form, GearIcon, GenericForm, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, InfoBlock, InfoField, Input, LeftArrowIcon, LightBulbIcon, Line, List, LoadingIndicator, LockIcon, Menu, MessagesIcon, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, toast };
6337
6546
  //# sourceMappingURL=web-ui.esm.js.map