@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.
@@ -18,6 +18,7 @@ var ClipboardJS = _interopDefault(require('clipboard'));
18
18
  var ReactSelect = require('react-select');
19
19
  var ReactSelect__default = _interopDefault(ReactSelect);
20
20
  var dragula = _interopDefault(require('react-dragula'));
21
+ var groupBy = _interopDefault(require('lodash/groupBy'));
21
22
  var debounce = _interopDefault(require('lodash.debounce'));
22
23
  var ReactQuill = _interopDefault(require('react-quill'));
23
24
  require('react-quill/dist/quill.snow.css');
@@ -29,6 +30,120 @@ require('react-draft-wysiwyg/dist/react-draft-wysiwyg.css');
29
30
  var reactHookForm = require('react-hook-form');
30
31
  var errorMessage = require('@hookform/error-message');
31
32
 
33
+ function _extends() {
34
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
35
+ for (var i = 1; i < arguments.length; i++) {
36
+ var source = arguments[i];
37
+
38
+ for (var key in source) {
39
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
40
+ target[key] = source[key];
41
+ }
42
+ }
43
+ }
44
+
45
+ return target;
46
+ };
47
+ return _extends.apply(this, arguments);
48
+ }
49
+
50
+ function _inheritsLoose(subClass, superClass) {
51
+ subClass.prototype = Object.create(superClass.prototype);
52
+ subClass.prototype.constructor = subClass;
53
+
54
+ _setPrototypeOf(subClass, superClass);
55
+ }
56
+
57
+ function _setPrototypeOf(o, p) {
58
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
59
+ o.__proto__ = p;
60
+ return o;
61
+ };
62
+ return _setPrototypeOf(o, p);
63
+ }
64
+
65
+ function _objectWithoutPropertiesLoose(source, excluded) {
66
+ if (source == null) return {};
67
+ var target = {};
68
+ var sourceKeys = Object.keys(source);
69
+ var key, i;
70
+
71
+ for (i = 0; i < sourceKeys.length; i++) {
72
+ key = sourceKeys[i];
73
+ if (excluded.indexOf(key) >= 0) continue;
74
+ target[key] = source[key];
75
+ }
76
+
77
+ return target;
78
+ }
79
+
80
+ /**
81
+ * Container to be used for layouting instead of divs around the project.
82
+ * The spacing here has been coded according to our guidelines.
83
+ */
84
+
85
+ var FlexContainer = function FlexContainer(props) {
86
+ var children = props.children,
87
+ alignItems = props.alignItems,
88
+ verticallySpaced = props.verticallySpaced,
89
+ horitontallySpaced = props.horitontallySpaced,
90
+ justifyContent = props.justifyContent,
91
+ hasPadding = props.hasPadding,
92
+ type = props.type;
93
+ return /*#__PURE__*/React__default.createElement("div", {
94
+ className: classNames("flex w-full", {
95
+ "flex-row": type === "row",
96
+ "flex-col": type === "column",
97
+ "justify-center": justifyContent === "center",
98
+ "justify-start": justifyContent === "start",
99
+ "justify-end": justifyContent === "end",
100
+ "justify-between": justifyContent === "between",
101
+ "items-start": alignItems === "start",
102
+ "items-center": alignItems === "center",
103
+ "items-end": alignItems === "end",
104
+ "space-x-4": horitontallySpaced,
105
+ "space-y-4": verticallySpaced,
106
+ "p-4": hasPadding
107
+ })
108
+ }, children);
109
+ };
110
+
111
+ var _excluded = ["children", "spaced"];
112
+ /**
113
+ * Container to be used for layouting instead of divs around the project.
114
+ * The spacing here has been coded according to our guidelines.
115
+ */
116
+
117
+ var FlexColumn = function FlexColumn(props) {
118
+ var children = props.children,
119
+ _props$spaced = props.spaced,
120
+ spaced = _props$spaced === void 0 ? true : _props$spaced,
121
+ rest = _objectWithoutPropertiesLoose(props, _excluded);
122
+
123
+ return /*#__PURE__*/React__default.createElement(FlexContainer, Object.assign({}, rest, {
124
+ type: "column",
125
+ verticallySpaced: spaced
126
+ }), children);
127
+ };
128
+
129
+ var _excluded$1 = ["children", "spaced"];
130
+ /**
131
+ * Container to be used for layouting instead of divs around the project.
132
+ * The spacing here has been coded according to our guidelines.
133
+ */
134
+
135
+ var FlexRow = function FlexRow(props) {
136
+ var children = props.children,
137
+ _props$spaced = props.spaced,
138
+ spaced = _props$spaced === void 0 ? true : _props$spaced,
139
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1);
140
+
141
+ return /*#__PURE__*/React__default.createElement(FlexContainer, Object.assign({}, rest, {
142
+ type: "row",
143
+ horitontallySpaced: spaced
144
+ }), children);
145
+ };
146
+
32
147
  function styleInject(css, ref) {
33
148
  if ( ref === void 0 ) ref = {};
34
149
  var insertAt = ref.insertAt;
@@ -520,53 +635,6 @@ var Badge = function Badge(props) {
520
635
  }, props.badgeCount));
521
636
  };
522
637
 
523
- function _extends() {
524
- _extends = Object.assign ? Object.assign.bind() : function (target) {
525
- for (var i = 1; i < arguments.length; i++) {
526
- var source = arguments[i];
527
-
528
- for (var key in source) {
529
- if (Object.prototype.hasOwnProperty.call(source, key)) {
530
- target[key] = source[key];
531
- }
532
- }
533
- }
534
-
535
- return target;
536
- };
537
- return _extends.apply(this, arguments);
538
- }
539
-
540
- function _inheritsLoose(subClass, superClass) {
541
- subClass.prototype = Object.create(superClass.prototype);
542
- subClass.prototype.constructor = subClass;
543
-
544
- _setPrototypeOf(subClass, superClass);
545
- }
546
-
547
- function _setPrototypeOf(o, p) {
548
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
549
- o.__proto__ = p;
550
- return o;
551
- };
552
- return _setPrototypeOf(o, p);
553
- }
554
-
555
- function _objectWithoutPropertiesLoose(source, excluded) {
556
- if (source == null) return {};
557
- var target = {};
558
- var sourceKeys = Object.keys(source);
559
- var key, i;
560
-
561
- for (i = 0; i < sourceKeys.length; i++) {
562
- key = sourceKeys[i];
563
- if (excluded.indexOf(key) >= 0) continue;
564
- target[key] = source[key];
565
- }
566
-
567
- return target;
568
- }
569
-
570
638
  var Spinner = function Spinner(props) {
571
639
  return /*#__PURE__*/React__default.createElement("svg", {
572
640
  className: "w-5 h-5 animate-spin " + props.className,
@@ -587,7 +655,7 @@ var Spinner = function Spinner(props) {
587
655
  }));
588
656
  };
589
657
 
590
- var _excluded = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
658
+ var _excluded$2 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
591
659
  var ButtonV2 = function ButtonV2(_ref) {
592
660
  var onClick = _ref.onClick,
593
661
  text = _ref.text,
@@ -597,7 +665,7 @@ var ButtonV2 = function ButtonV2(_ref) {
597
665
  isDisabled = _ref.isDisabled,
598
666
  isPending = _ref.isPending,
599
667
  className = _ref.className,
600
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
668
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$2);
601
669
 
602
670
  function handleClick(event) {
603
671
  event.stopPropagation();
@@ -867,7 +935,7 @@ var BUTTON_ROLES = {
867
935
  ICON: "icon"
868
936
  };
869
937
 
870
- var _excluded$1 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
938
+ var _excluded$3 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
871
939
 
872
940
  function Button(props) {
873
941
  var _props$text = props.text,
@@ -892,7 +960,7 @@ function Button(props) {
892
960
  _props$hasIcon = props.hasIcon,
893
961
  hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
894
962
  dynamicIcon = props.dynamicIcon,
895
- otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$1);
963
+ otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$3);
896
964
 
897
965
  var hasAddIcon = className.includes("add-button");
898
966
  var hasEditIcon = className.includes("edit-button");
@@ -1368,13 +1436,13 @@ function Modal(_ref) {
1368
1436
  }, children) : null);
1369
1437
  }
1370
1438
 
1371
- var _excluded$2 = ["buttons", "buttonsAlignment", "children"];
1439
+ var _excluded$4 = ["buttons", "buttonsAlignment", "children"];
1372
1440
  var ModalWithButtons = function ModalWithButtons(props) {
1373
1441
  var buttons = props.buttons,
1374
1442
  _props$buttonsAlignme = props.buttonsAlignment,
1375
1443
  buttonsAlignment = _props$buttonsAlignme === void 0 ? "justify-between" : _props$buttonsAlignme,
1376
1444
  children = props.children,
1377
- rest = _objectWithoutPropertiesLoose(props, _excluded$2);
1445
+ rest = _objectWithoutPropertiesLoose(props, _excluded$4);
1378
1446
 
1379
1447
  return /*#__PURE__*/React__default.createElement(Modal, Object.assign({}, rest, {
1380
1448
  withPadding: false
@@ -1442,7 +1510,7 @@ ConfirmationDialog.defaultProps = {
1442
1510
  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";
1443
1511
  styleInject(css_248z$8);
1444
1512
 
1445
- var _excluded$3 = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
1513
+ var _excluded$5 = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
1446
1514
 
1447
1515
  var Datepicker = /*#__PURE__*/function (_Component) {
1448
1516
  _inheritsLoose(Datepicker, _Component);
@@ -1497,7 +1565,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
1497
1565
  _this$props2$isDisabl = _this$props2.isDisabled,
1498
1566
  isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
1499
1567
  selected = _this$props2.selected,
1500
- otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$3);
1568
+ otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$5);
1501
1569
 
1502
1570
  var dateFormat = this.getDateFormat();
1503
1571
  var pickerClassName = classNames("cweb-datepicker text-slate-700 text-sm", className);
@@ -1558,7 +1626,7 @@ var img$a = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
1558
1626
  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";
1559
1627
  styleInject(css_248z$9);
1560
1628
 
1561
- var _excluded$4 = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
1629
+ var _excluded$6 = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
1562
1630
  var ITEM_QUERY_FIELD_NAMES = {
1563
1631
  ID: "id",
1564
1632
  HIGHLIGHT_INDEX: "highlightIndex"
@@ -1830,7 +1898,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
1830
1898
  _this$props$placehold = _this$props.placeholder,
1831
1899
  placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
1832
1900
  className = _this$props.className,
1833
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$4);
1901
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$6);
1834
1902
 
1835
1903
  var _this$state2 = this.state,
1836
1904
  selectedItem = _this$state2.selectedItem,
@@ -1953,7 +2021,7 @@ var EmptyListMessage = function EmptyListMessage(_ref) {
1953
2021
  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";
1954
2022
  styleInject(css_248z$a);
1955
2023
 
1956
- var _excluded$5 = ["message", "className"];
2024
+ var _excluded$7 = ["message", "className"];
1957
2025
  ErrorBlock.propTypes = {
1958
2026
  message: PropTypes.string.isRequired,
1959
2027
  className: PropTypes.string
@@ -1963,7 +2031,7 @@ function ErrorBlock(_ref) {
1963
2031
  var message = _ref.message,
1964
2032
  _ref$className = _ref.className,
1965
2033
  className = _ref$className === void 0 ? "" : _ref$className,
1966
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2034
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
1967
2035
 
1968
2036
  var containerClassName = classNames("cweb-error-block", className);
1969
2037
  return /*#__PURE__*/React__default.createElement("div", {
@@ -2067,7 +2135,7 @@ InfoField.defaultProps = {
2067
2135
  var css_248z$c = ".input::-ms-clear {\n display: none;\n}";
2068
2136
  styleInject(css_248z$c);
2069
2137
 
2070
- var _excluded$6 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "icon", "name", "value", "onChange", "isError"];
2138
+ var _excluded$8 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "icon", "name", "value", "onChange", "isError"];
2071
2139
  // Don't know why yet but it can be fixed later.
2072
2140
 
2073
2141
  var INPUT_TYPES = {
@@ -2094,7 +2162,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2094
2162
  value = _ref$value === void 0 ? "" : _ref$value,
2095
2163
  onChange = _ref.onChange,
2096
2164
  isError = _ref.isError,
2097
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2165
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2098
2166
 
2099
2167
  var hasNoExtraContent = withPrefix === "" && withSuffix === "";
2100
2168
 
@@ -2262,7 +2330,7 @@ var img$g = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
2262
2330
  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";
2263
2331
  styleInject(css_248z$d);
2264
2332
 
2265
- var _excluded$7 = ["asModal", "asSpinner", "className", "spinnerColor"];
2333
+ var _excluded$9 = ["asModal", "asSpinner", "className", "spinnerColor"];
2266
2334
  function LoadingIndicator(_ref) {
2267
2335
  var _ref$asModal = _ref.asModal,
2268
2336
  asModal = _ref$asModal === void 0 ? false : _ref$asModal,
@@ -2272,7 +2340,7 @@ function LoadingIndicator(_ref) {
2272
2340
  className = _ref$className === void 0 ? "" : _ref$className,
2273
2341
  _ref$spinnerColor = _ref.spinnerColor,
2274
2342
  spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
2275
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2343
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2276
2344
 
2277
2345
  var spinnerToRender = spinnerColor === "blue" ? img$f : img$g;
2278
2346
  var containerClassName = classNames("cweb-loading", className, {
@@ -2282,6 +2350,7 @@ function LoadingIndicator(_ref) {
2282
2350
  className: containerClassName
2283
2351
  }), /*#__PURE__*/React__default.createElement("img", {
2284
2352
  src: asSpinner ? spinnerToRender : img$e,
2353
+ "data-chromatic": "ignore",
2285
2354
  className: classNames("text-gray-600 fill-current stroke-current", {
2286
2355
  "h-4 w-4": asSpinner,
2287
2356
  "h-12 w-12": !asSpinner
@@ -2699,7 +2768,7 @@ var TableFooter = function TableFooter(props) {
2699
2768
  }, props.paginationMenuProps)))));
2700
2769
  };
2701
2770
 
2702
- var _excluded$8 = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className"];
2771
+ var _excluded$a = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className"];
2703
2772
  function Table(_ref) {
2704
2773
  var items = _ref.items,
2705
2774
  fieldConfigurations = _ref.fieldConfigurations,
@@ -2712,7 +2781,7 @@ function Table(_ref) {
2712
2781
  paginationMenuProps = _ref.paginationMenuProps,
2713
2782
  onRowClick = _ref.onRowClick,
2714
2783
  className = _ref.className,
2715
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2784
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2716
2785
 
2717
2786
  // For not displaying empty view at creation
2718
2787
  var _useState = React.useState(true),
@@ -2862,7 +2931,7 @@ var ImageIcon = function ImageIcon(props) {
2862
2931
  }));
2863
2932
  };
2864
2933
 
2865
- var _excluded$9 = ["icon", "subtitle", "title", "accessories", "tooltipId", "onAssetLoadError", "roundTop"];
2934
+ var _excluded$b = ["icon", "subtitle", "title", "accessories", "tooltipId", "onAssetLoadError", "roundTop"];
2866
2935
  var ListItem = function ListItem(_ref) {
2867
2936
  var icon = _ref.icon,
2868
2937
  subtitle = _ref.subtitle,
@@ -2871,7 +2940,7 @@ var ListItem = function ListItem(_ref) {
2871
2940
  tooltipId = _ref.tooltipId,
2872
2941
  onAssetLoadError = _ref.onAssetLoadError,
2873
2942
  roundTop = _ref.roundTop,
2874
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2943
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2875
2944
 
2876
2945
  var _useState = React.useState(false),
2877
2946
  loadIconError = _useState[0],
@@ -2913,6 +2982,7 @@ var ListItem = function ListItem(_ref) {
2913
2982
  className: "w-6 h-6"
2914
2983
  }), !loadIconError && icon && typeof icon === "string" && /*#__PURE__*/React__default.createElement("img", {
2915
2984
  src: icon,
2985
+ "data-chromatic": "ignore",
2916
2986
  alt: "list-item-icon",
2917
2987
  className: "w-6 h-6 text-sm",
2918
2988
  onLoad: onListItemIconLoad,
@@ -3278,7 +3348,7 @@ var CheckboxGroup = function CheckboxGroup(_ref) {
3278
3348
  type: "strong",
3279
3349
  text: groupTitle || "",
3280
3350
  className: " ml-4"
3281
- }), " ", ":"), /*#__PURE__*/React__default.createElement(Checkbox, {
3351
+ }), " "), /*#__PURE__*/React__default.createElement(Checkbox, {
3282
3352
  onChange: handleGroupClick,
3283
3353
  className: "ml-auto",
3284
3354
  isChecked: groupCheckboxState === CheckboxState.CHECKED,
@@ -3325,6 +3395,170 @@ var CheckboxList = function CheckboxList(_ref) {
3325
3395
  }));
3326
3396
  };
3327
3397
 
3398
+ var SearchIcon = function SearchIcon(props) {
3399
+ return /*#__PURE__*/React__default.createElement("svg", {
3400
+ className: props.className,
3401
+ onClick: props.onClick,
3402
+ role: props.onClick ? "button" : undefined,
3403
+ width: "24",
3404
+ height: "24",
3405
+ viewBox: "0 0 24 24",
3406
+ fill: "none",
3407
+ xmlns: "http://www.w3.org/2000/svg"
3408
+ }, /*#__PURE__*/React__default.createElement("path", {
3409
+ 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",
3410
+ fill: "currentColor"
3411
+ }));
3412
+ };
3413
+
3414
+ var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
3415
+ return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, props, {
3416
+ icon: SearchIcon,
3417
+ type: "text",
3418
+ clearable: true,
3419
+ ref: ref
3420
+ }));
3421
+ });
3422
+
3423
+ var transformToGroups = function transformToGroups(items) {
3424
+ var pinned = items.find(function (option) {
3425
+ return option.isPinned;
3426
+ });
3427
+ var itemsWithGroup = items.filter(function (option) {
3428
+ return option.group;
3429
+ });
3430
+ var groups = Object.entries(groupBy(itemsWithGroup, "group")).map(function (group) {
3431
+ return {
3432
+ title: group[0],
3433
+ items: group[1].sort(function (a, b) {
3434
+ return a.label > b.label ? 1 : b.label > a.label ? -1 : 0;
3435
+ })
3436
+ };
3437
+ });
3438
+ var itemsWithoutGroup = items.filter(function (option) {
3439
+ return !option.group;
3440
+ });
3441
+ var restGroup = {
3442
+ name: undefined,
3443
+ items: itemsWithoutGroup
3444
+ };
3445
+
3446
+ if (pinned) {
3447
+ var myGroup = {
3448
+ items: [pinned]
3449
+ };
3450
+ return [myGroup].concat(groups, [restGroup]);
3451
+ }
3452
+
3453
+ return [].concat(groups, [restGroup]);
3454
+ };
3455
+
3456
+ var CheckboxListModal = function CheckboxListModal(_ref) {
3457
+ var texts = _ref.texts,
3458
+ initialItems = _ref.initialItems,
3459
+ isLoadingInitialItems = _ref.isLoadingInitialItems,
3460
+ isOpen = _ref.isOpen,
3461
+ onSave = _ref.onSave,
3462
+ onCloseClick = _ref.onCloseClick,
3463
+ _ref$filterItem = _ref.filterItem,
3464
+ filterItem = _ref$filterItem === void 0 ? function () {
3465
+ return true;
3466
+ } : _ref$filterItem,
3467
+ className = _ref.className,
3468
+ _ref$hasSearch = _ref.hasSearch,
3469
+ hasSearch = _ref$hasSearch === void 0 ? false : _ref$hasSearch;
3470
+ var containerClassName = classNames(className);
3471
+
3472
+ var _useState = React.useState([]),
3473
+ items = _useState[0],
3474
+ setItems = _useState[1];
3475
+
3476
+ var _useState2 = React.useState([]),
3477
+ visibleItems = _useState2[0],
3478
+ setVisibleItems = _useState2[1];
3479
+
3480
+ var _useState3 = React.useState([]),
3481
+ groups = _useState3[0],
3482
+ setGroups = _useState3[1];
3483
+
3484
+ var _useState4 = React.useState(""),
3485
+ search = _useState4[0],
3486
+ setSearch = _useState4[1];
3487
+
3488
+ React.useEffect(function () {
3489
+ setItems(initialItems);
3490
+ }, [initialItems]);
3491
+ React.useEffect(function () {
3492
+ setVisibleItems(items.filter(function (item) {
3493
+ return filterItem(item, search);
3494
+ }));
3495
+ }, [items, search]);
3496
+ React.useEffect(function () {
3497
+ setGroups(transformToGroups(visibleItems));
3498
+ }, [visibleItems]);
3499
+
3500
+ var handleOnItemChange = function handleOnItemChange(event) {
3501
+ var updatedItems = [].concat(items);
3502
+ var index = updatedItems.findIndex(function (item) {
3503
+ return item.id === event.id;
3504
+ });
3505
+ updatedItems[index].isChecked = event.newCheckedValue;
3506
+ setItems(updatedItems);
3507
+ };
3508
+
3509
+ var handleOnCloseClick = function handleOnCloseClick(event) {
3510
+ event.stopPropagation();
3511
+ onCloseClick();
3512
+ };
3513
+
3514
+ var handleOnSaveClick = function handleOnSaveClick() {
3515
+ onSave(items.filter(function (item) {
3516
+ return item.isChecked;
3517
+ }));
3518
+ onCloseClick();
3519
+ };
3520
+
3521
+ var handleOnSearchChange = function handleOnSearchChange(event) {
3522
+ var _event$currentTarget$;
3523
+
3524
+ setSearch((_event$currentTarget$ = event.currentTarget.value) != null ? _event$currentTarget$ : "");
3525
+ };
3526
+
3527
+ var closeButton = /*#__PURE__*/React.createElement(SecondaryButton, {
3528
+ text: texts.cancelLabel,
3529
+ onClick: handleOnCloseClick,
3530
+ key: "close-checkbox-list-modal",
3531
+ className: "mr-2"
3532
+ });
3533
+ var saveButton = /*#__PURE__*/React.createElement(PrimaryButton, {
3534
+ text: texts.confirmLabel,
3535
+ onClick: handleOnSaveClick,
3536
+ key: "save-selected-checkbox-list-items"
3537
+ });
3538
+ return /*#__PURE__*/React.createElement(ModalWithButtons, {
3539
+ isOpen: isOpen,
3540
+ title: texts.title,
3541
+ onCloseClick: handleOnCloseClick,
3542
+ withPadding: true,
3543
+ shouldCloseOnOverlayClick: true,
3544
+ className: containerClassName,
3545
+ buttons: [closeButton, saveButton],
3546
+ buttonsAlignment: "justify-end"
3547
+ }, /*#__PURE__*/React.createElement("div", {
3548
+ className: "max-h-135 overflow-y-auto pr-4"
3549
+ }, isLoadingInitialItems && /*#__PURE__*/React.createElement(LoadingIndicator, null), hasSearch && !isLoadingInitialItems && /*#__PURE__*/React.createElement(SearchInput, {
3550
+ className: "w-130 mb-2",
3551
+ value: search,
3552
+ placeholder: texts.searchPlaceHolder,
3553
+ onChange: handleOnSearchChange
3554
+ }), !isLoadingInitialItems && (items == null ? void 0 : items.length) > 0 && /*#__PURE__*/React.createElement(CheckboxList, {
3555
+ groups: groups,
3556
+ onChange: handleOnItemChange
3557
+ }), !isLoadingInitialItems && (items == null ? void 0 : items.length) === 0 && /*#__PURE__*/React.createElement(Text, {
3558
+ text: texts.emptyState
3559
+ })));
3560
+ };
3561
+
3328
3562
  var TEXT_TYPE_OPTIONS = {
3329
3563
  DEFAULT: "default",
3330
3564
  STRONG: "strong",
@@ -3808,7 +4042,7 @@ Page.propTypes = {
3808
4042
  navLayoutProps: PropTypes.object
3809
4043
  };
3810
4044
 
3811
- var _excluded$a = ["text", "type", "className"];
4045
+ var _excluded$c = ["text", "type", "className"];
3812
4046
  var TITLE_TYPE_OPTIONS = {
3813
4047
  DEFAULT: "default",
3814
4048
  BIG: "big",
@@ -3827,7 +4061,7 @@ function LegacyTitle(_ref) {
3827
4061
  type = _ref.type,
3828
4062
  _ref$className = _ref.className,
3829
4063
  className = _ref$className === void 0 ? "" : _ref$className,
3830
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
4064
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
3831
4065
 
3832
4066
  var ContainerElement;
3833
4067
  var containerClassName = classNames("cweb-title", className, {
@@ -4212,7 +4446,7 @@ Radio.propTypes = {
4212
4446
  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";
4213
4447
  styleInject(css_248z$m);
4214
4448
 
4215
- var _excluded$b = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
4449
+ var _excluded$d = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
4216
4450
  /**
4217
4451
  * @deprecated: use RadioV2 instead
4218
4452
  */
@@ -4227,7 +4461,7 @@ function RadioGroup(_ref) {
4227
4461
  onChange = _ref.onChange,
4228
4462
  error = _ref.error,
4229
4463
  isDisabled = _ref.isDisabled,
4230
- otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$b);
4464
+ otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4231
4465
 
4232
4466
  var containerClassName = classNames("cweb-radio-group", {
4233
4467
  vertical: isVertical
@@ -4273,7 +4507,7 @@ RadioGroup.propTypes = {
4273
4507
  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";
4274
4508
  styleInject(css_248z$n);
4275
4509
 
4276
- var _excluded$c = ["text", "info", "isError", "innerRef", "className"];
4510
+ var _excluded$e = ["text", "info", "isError", "innerRef", "className"];
4277
4511
 
4278
4512
  function RadioInner(_ref) {
4279
4513
  var text = _ref.text,
@@ -4281,7 +4515,7 @@ function RadioInner(_ref) {
4281
4515
  isError = _ref.isError,
4282
4516
  innerRef = _ref.innerRef,
4283
4517
  className = _ref.className,
4284
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
4518
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4285
4519
 
4286
4520
  var value = otherProps.value,
4287
4521
  disabled = otherProps.disabled;
@@ -4332,12 +4566,12 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
4332
4566
  }));
4333
4567
  });
4334
4568
 
4335
- var _excluded$d = ["innerRef", "options"];
4569
+ var _excluded$f = ["innerRef", "options"];
4336
4570
 
4337
4571
  function RadioGroupInner(_ref) {
4338
4572
  var innerRef = _ref.innerRef,
4339
4573
  options = _ref.options,
4340
- registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4574
+ registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
4341
4575
 
4342
4576
  return /*#__PURE__*/React__default.createElement("div", {
4343
4577
  className: classNames("flex flex-col space-y-2")
@@ -4359,7 +4593,7 @@ var RadioGroupV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref)
4359
4593
  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";
4360
4594
  styleInject(css_248z$o);
4361
4595
 
4362
- var _excluded$e = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
4596
+ var _excluded$g = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
4363
4597
  function Section(_ref) {
4364
4598
  var title = _ref.title,
4365
4599
  buttons = _ref.buttons,
@@ -4369,7 +4603,7 @@ function Section(_ref) {
4369
4603
  _ref$isLoading = _ref.isLoading,
4370
4604
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
4371
4605
  loadingIndicatorProps = _ref.loadingIndicatorProps,
4372
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4606
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
4373
4607
 
4374
4608
  return /*#__PURE__*/React__default.createElement("div", Object.assign({}, restProps, {
4375
4609
  className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
@@ -4400,12 +4634,12 @@ function Section(_ref) {
4400
4634
  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";
4401
4635
  styleInject(css_248z$p);
4402
4636
 
4403
- var _excluded$f = ["children", "className", "onClick"];
4637
+ var _excluded$h = ["children", "className", "onClick"];
4404
4638
  var SectionItem = function SectionItem(props) {
4405
4639
  var children = props.children,
4406
4640
  className = props.className,
4407
4641
  onClick = props.onClick,
4408
- rest = _objectWithoutPropertiesLoose(props, _excluded$f);
4642
+ rest = _objectWithoutPropertiesLoose(props, _excluded$h);
4409
4643
 
4410
4644
  var classes = classNames("cweb-list-item", className, {
4411
4645
  "cweb-list-item-clickable": !!onClick
@@ -4416,7 +4650,7 @@ var SectionItem = function SectionItem(props) {
4416
4650
  }, rest), children);
4417
4651
  };
4418
4652
 
4419
- var _excluded$g = ["text", "icon", "className", "iconClass", "onClick"];
4653
+ var _excluded$i = ["text", "icon", "className", "iconClass", "onClick"];
4420
4654
 
4421
4655
  function SectionItemWithContent(props) {
4422
4656
  var text = props.text,
@@ -4424,7 +4658,7 @@ function SectionItemWithContent(props) {
4424
4658
  className = props.className,
4425
4659
  iconClass = props.iconClass,
4426
4660
  onClick = props.onClick,
4427
- rest = _objectWithoutPropertiesLoose(props, _excluded$g);
4661
+ rest = _objectWithoutPropertiesLoose(props, _excluded$i);
4428
4662
 
4429
4663
  var mergedClasses = classNames("cweb-section-text-item", className);
4430
4664
  var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
@@ -4440,7 +4674,7 @@ function SectionItemWithContent(props) {
4440
4674
  }));
4441
4675
  }
4442
4676
 
4443
- var _excluded$h = ["isError", "styles", "options", "onChange", "value", "isMulti", "className"];
4677
+ var _excluded$j = ["isError", "styles", "options", "onChange", "value", "isMulti", "className"];
4444
4678
 
4445
4679
  function generateCustomStyles$1(hasError, isIE11) {
4446
4680
  return {
@@ -4545,7 +4779,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
4545
4779
  value = _ref.value,
4546
4780
  isMulti = _ref.isMulti,
4547
4781
  className = _ref.className,
4548
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$h);
4782
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
4549
4783
 
4550
4784
  var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
4551
4785
  var customStyles = generateCustomStyles$1(isError, isIE11);
@@ -5027,7 +5261,7 @@ var TagGroup = function TagGroup(_ref) {
5027
5261
  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";
5028
5262
  styleInject(css_248z$r);
5029
5263
 
5030
- var _excluded$i = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
5264
+ var _excluded$k = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
5031
5265
  var RESIZE_TYPES = {
5032
5266
  NONE: "none",
5033
5267
  BOTH: "both",
@@ -5071,7 +5305,7 @@ function Textarea(props) {
5071
5305
  onKeyPress = props.onKeyPress,
5072
5306
  _onKeyDown = props.onKeyDown,
5073
5307
  onCtrlEnter = props.onCtrlEnter,
5074
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$i);
5308
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$k);
5075
5309
 
5076
5310
  var style;
5077
5311
 
@@ -5247,7 +5481,7 @@ var Timeline = function Timeline(props) {
5247
5481
  }, props.loadMoreButtonProps)));
5248
5482
  };
5249
5483
 
5250
- var _excluded$j = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
5484
+ var _excluded$l = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
5251
5485
  function ViewItem(_ref) {
5252
5486
  var titleProps = _ref.titleProps,
5253
5487
  title = _ref.title,
@@ -5258,7 +5492,7 @@ function ViewItem(_ref) {
5258
5492
  defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
5259
5493
  className = _ref.className,
5260
5494
  buttons = _ref.buttons,
5261
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
5495
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
5262
5496
 
5263
5497
  var titlePropsMerged = titleProps != null ? titleProps : {
5264
5498
  text: title != null ? title : defaultContent
@@ -5294,31 +5528,6 @@ function ViewItem(_ref) {
5294
5528
  })));
5295
5529
  }
5296
5530
 
5297
- var SearchIcon = function SearchIcon(props) {
5298
- return /*#__PURE__*/React__default.createElement("svg", {
5299
- className: props.className,
5300
- onClick: props.onClick,
5301
- role: props.onClick ? "button" : undefined,
5302
- width: "24",
5303
- height: "24",
5304
- viewBox: "0 0 24 24",
5305
- fill: "none",
5306
- xmlns: "http://www.w3.org/2000/svg"
5307
- }, /*#__PURE__*/React__default.createElement("path", {
5308
- 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",
5309
- fill: "currentColor"
5310
- }));
5311
- };
5312
-
5313
- var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
5314
- return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, props, {
5315
- icon: SearchIcon,
5316
- type: "text",
5317
- clearable: true,
5318
- ref: ref
5319
- }));
5320
- });
5321
-
5322
5531
  /**
5323
5532
  * Decorator for any input component. Adds a label and additional information to be shown.
5324
5533
  *
@@ -5376,7 +5585,7 @@ var isRequired = function isRequired(options) {
5376
5585
  return !!(options && "required" in options);
5377
5586
  };
5378
5587
 
5379
- var _excluded$k = ["name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5588
+ var _excluded$m = ["name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5380
5589
  /**
5381
5590
  * Input field that can be used in any react-hook-form context.
5382
5591
  */
@@ -5388,7 +5597,7 @@ var FormInputInner = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
5388
5597
  label = _ref.label,
5389
5598
  info = _ref.info,
5390
5599
  decoratorClassname = _ref.decoratorClassname,
5391
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$k);
5600
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5392
5601
 
5393
5602
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5394
5603
  name: name,
@@ -5409,7 +5618,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
5409
5618
  }));
5410
5619
  });
5411
5620
 
5412
- var _excluded$l = ["innerRef", "name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5621
+ var _excluded$n = ["innerRef", "name", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5413
5622
  /**
5414
5623
  * Input field that can be used in any react-hook-form context.
5415
5624
  */
@@ -5422,7 +5631,7 @@ function FormRadioGroupInner(_ref) {
5422
5631
  label = _ref.label,
5423
5632
  info = _ref.info,
5424
5633
  decoratorClassname = _ref.decoratorClassname,
5425
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
5634
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5426
5635
 
5427
5636
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5428
5637
  name: name,
@@ -5444,7 +5653,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (props, ref
5444
5653
  }));
5445
5654
  });
5446
5655
 
5447
- var _excluded$m = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5656
+ var _excluded$o = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
5448
5657
 
5449
5658
  var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
5450
5659
  var control = _ref.control,
@@ -5455,7 +5664,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
5455
5664
  label = _ref.label,
5456
5665
  info = _ref.info,
5457
5666
  decoratorClassname = _ref.decoratorClassname,
5458
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5667
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5459
5668
 
5460
5669
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
5461
5670
  name: name,
@@ -5478,7 +5687,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
5478
5687
  }));
5479
5688
  });
5480
5689
 
5481
- var _excluded$n = ["type", "name", "options", "fieldProps"];
5690
+ var _excluded$p = ["type", "name", "options", "fieldProps"];
5482
5691
  /**
5483
5692
  * Create a straight forward Form, which takes away the 'overhead' of react-hook-form.
5484
5693
  *
@@ -5543,7 +5752,7 @@ function FormFieldMapper(formFieldProps, useFormReturn) {
5543
5752
  options = formFieldProps.options,
5544
5753
  _formFieldProps$field = formFieldProps.fieldProps,
5545
5754
  fieldProps = _formFieldProps$field === void 0 ? {} : _formFieldProps$field,
5546
- decoratorProps = _objectWithoutPropertiesLoose(formFieldProps, _excluded$n);
5755
+ decoratorProps = _objectWithoutPropertiesLoose(formFieldProps, _excluded$p);
5547
5756
 
5548
5757
  var register = useFormReturn.register,
5549
5758
  control = useFormReturn.control,
@@ -6355,6 +6564,7 @@ exports.ChatBoxIcon = ChatBoxIcon;
6355
6564
  exports.CheckIcon = CheckIcon;
6356
6565
  exports.Checkbox = Checkbox;
6357
6566
  exports.CheckboxList = CheckboxList;
6567
+ exports.CheckboxListModal = CheckboxListModal;
6358
6568
  exports.ChevronDoubleIcon = ChevronDoubleIcon;
6359
6569
  exports.ConfirmationDialog = ConfirmationDialog;
6360
6570
  exports.CrossIcon = CrossIcon;
@@ -6369,6 +6579,8 @@ exports.EmptyStateDashboardIcon = EmptyStateDashboardIcon;
6369
6579
  exports.ErrorBlock = ErrorBlock;
6370
6580
  exports.ExclamationMarkIcon = ExclamationMarkIcon;
6371
6581
  exports.EyeIcon = EyeIcon;
6582
+ exports.FlexColumn = FlexColumn;
6583
+ exports.FlexRow = FlexRow;
6372
6584
  exports.Form = Form;
6373
6585
  exports.GearIcon = GearIcon;
6374
6586
  exports.GenericForm = GenericForm;