@luscii-healthtech/web-ui 2.48.1 → 2.48.2

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.
@@ -2422,7 +2422,41 @@ var List = function List(_ref) {
2422
2422
  var css_248z$5 = ".input::-ms-clear {\n display: none;\n}";
2423
2423
  styleInject(css_248z$5);
2424
2424
 
2425
- var _excluded$3 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
2425
+ var _excluded$3 = ["name"],
2426
+ _excluded2 = ["name"];
2427
+ var Icon = function Icon(_ref) {
2428
+ var name = _ref.name,
2429
+ iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2430
+
2431
+ return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
2432
+ };
2433
+ /**
2434
+ * This is a temporary component to transition the way we pass icons to components.
2435
+ * Once all components are passed an IconKey instead of a function component we can replace it with the Icon component.
2436
+ */
2437
+
2438
+ var IconComponentOrKey = function IconComponentOrKey(props) {
2439
+ var name = props.name,
2440
+ iconProps = _objectWithoutPropertiesLoose(props, _excluded2);
2441
+
2442
+ if (isIconKey(name)) {
2443
+ return /*#__PURE__*/React__default.createElement(Icon, _extends({
2444
+ name: name
2445
+ }, iconProps));
2446
+ }
2447
+
2448
+ return /*#__PURE__*/React__default.createElement(name, iconProps);
2449
+ };
2450
+
2451
+ function isIconKey(key) {
2452
+ if (typeof key === "string") {
2453
+ return key in Icons;
2454
+ }
2455
+
2456
+ return false;
2457
+ }
2458
+
2459
+ var _excluded$4 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
2426
2460
  // Don't know why yet but it can be fixed later.
2427
2461
 
2428
2462
  var INPUT_TYPES = {
@@ -2452,7 +2486,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2452
2486
  onChange = _ref.onChange,
2453
2487
  isError = _ref.isError,
2454
2488
  asFormField = _ref.asFormField,
2455
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2489
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$4);
2456
2490
 
2457
2491
  var hasNoExtraContent = withPrefix === "" && withSuffix === "";
2458
2492
 
@@ -2512,8 +2546,9 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2512
2546
  style: {
2513
2547
  transform: "translateY(-50%)"
2514
2548
  }
2515
- }, /*#__PURE__*/React__default.createElement(icon, {
2516
- className: "w-6 h-6 text-slate-300 "
2549
+ }, /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
2550
+ name: icon,
2551
+ className: "w-6 h-6 text-slate-300"
2517
2552
  })), /*#__PURE__*/React__default.createElement("input", _extends({}, otherProps, {
2518
2553
  "data-test-id": "input-" + name,
2519
2554
  name: name,
@@ -2566,7 +2601,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2566
2601
 
2567
2602
  var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
2568
2603
  return /*#__PURE__*/React__default.createElement(Input, _extends({}, props, {
2569
- icon: SearchIcon,
2604
+ icon: "SearchIcon",
2570
2605
  type: "text",
2571
2606
  width: "xl",
2572
2607
  clearable: true,
@@ -2594,7 +2629,7 @@ var Spinner = function Spinner(props) {
2594
2629
  }));
2595
2630
  };
2596
2631
 
2597
- var _excluded$4 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
2632
+ var _excluded$5 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
2598
2633
  var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
2599
2634
  var onClick = _ref.onClick,
2600
2635
  text = _ref.text,
@@ -2604,7 +2639,7 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
2604
2639
  isDisabled = _ref.isDisabled,
2605
2640
  isPending = _ref.isPending,
2606
2641
  className = _ref.className,
2607
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$4);
2642
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2608
2643
 
2609
2644
  function handleClick(event) {
2610
2645
  event.stopPropagation();
@@ -2633,7 +2668,8 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
2633
2668
  onClick: handleClick,
2634
2669
  disabled: isDisabled,
2635
2670
  "aria-disabled": isDisabled
2636
- }), icon && !isPending && /*#__PURE__*/React__default.createElement(icon, {
2671
+ }), icon && !isPending && /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
2672
+ name: icon,
2637
2673
  className: "w-6 h-6 " + textColorClass
2638
2674
  }), isPending && /*#__PURE__*/React__default.createElement("span", {
2639
2675
  className: "opacity-100",
@@ -2735,7 +2771,7 @@ var img$5 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
2735
2771
  var css_248z$6 = ".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}";
2736
2772
  styleInject(css_248z$6);
2737
2773
 
2738
- var _excluded$5 = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
2774
+ var _excluded$6 = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
2739
2775
  function LoadingIndicator(_ref) {
2740
2776
  var _ref$asModal = _ref.asModal,
2741
2777
  asModal = _ref$asModal === void 0 ? false : _ref$asModal,
@@ -2747,7 +2783,7 @@ function LoadingIndicator(_ref) {
2747
2783
  spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
2748
2784
  _ref$dataTestId = _ref.dataTestId,
2749
2785
  dataTestId = _ref$dataTestId === void 0 ? "loading-indicator" : _ref$dataTestId,
2750
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2786
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2751
2787
 
2752
2788
  var spinnerToRender = spinnerColor === "blue" ? img$4 : img$5;
2753
2789
  var containerClassName = classNames("cweb-loading", className, {
@@ -2766,7 +2802,7 @@ function LoadingIndicator(_ref) {
2766
2802
  }));
2767
2803
  }
2768
2804
 
2769
- var _excluded$6 = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
2805
+ var _excluded$7 = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
2770
2806
  var AccordionList = function AccordionList(_ref) {
2771
2807
  var _ref$localisations = _ref.localisations,
2772
2808
  title = _ref$localisations.title,
@@ -2780,7 +2816,7 @@ var AccordionList = function AccordionList(_ref) {
2780
2816
  isSearchEnabled = _ref$isSearchEnabled === void 0 ? false : _ref$isSearchEnabled,
2781
2817
  _ref$isLoading = _ref.isLoading,
2782
2818
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
2783
- accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2819
+ accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2784
2820
 
2785
2821
  var _useState = useState(""),
2786
2822
  searchString = _useState[0],
@@ -3095,7 +3131,7 @@ var BUTTON_ROLES = {
3095
3131
  ICON: "icon"
3096
3132
  };
3097
3133
 
3098
- var _excluded$7 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
3134
+ var _excluded$8 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
3099
3135
 
3100
3136
  function Button(props) {
3101
3137
  var _props$text = props.text,
@@ -3120,7 +3156,7 @@ function Button(props) {
3120
3156
  _props$hasIcon = props.hasIcon,
3121
3157
  hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
3122
3158
  dynamicIcon = props.dynamicIcon,
3123
- otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$7);
3159
+ otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$8);
3124
3160
 
3125
3161
  var hasAddIcon = className.includes("add-button");
3126
3162
  var hasEditIcon = className.includes("edit-button");
@@ -3490,7 +3526,8 @@ var ConfirmationDialogTitle = function ConfirmationDialogTitle(props) {
3490
3526
  className: classNames("flex flex-col space-y-2 text-center", {
3491
3527
  "items-center justify-center": (_props$title = props.title) == null ? void 0 : _props$title.icon
3492
3528
  })
3493
- }, props.title.icon && /*#__PURE__*/React__default.createElement(props.title.icon, {
3529
+ }, props.title.icon && /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
3530
+ name: props.title.icon,
3494
3531
  className: "text-blue-800 dialog-header-icon h-12 w-12"
3495
3532
  }), /*#__PURE__*/React__default.createElement(Title, {
3496
3533
  text: props.title.title,
@@ -3596,7 +3633,7 @@ NotificationBanner.defaultProps = {
3596
3633
  var css_248z$a = ".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";
3597
3634
  styleInject(css_248z$a);
3598
3635
 
3599
- var _excluded$8 = ["text", "info", "isError", "innerRef", "className", "name"];
3636
+ var _excluded$9 = ["text", "info", "isError", "innerRef", "className", "name"];
3600
3637
 
3601
3638
  function RadioInner(_ref) {
3602
3639
  var text = _ref.text,
@@ -3605,7 +3642,7 @@ function RadioInner(_ref) {
3605
3642
  innerRef = _ref.innerRef,
3606
3643
  className = _ref.className,
3607
3644
  name = _ref.name,
3608
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
3645
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3609
3646
 
3610
3647
  var value = otherProps.value,
3611
3648
  disabled = otherProps.disabled;
@@ -3658,14 +3695,14 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
3658
3695
  }));
3659
3696
  });
3660
3697
 
3661
- var _excluded$9 = ["innerRef", "options", "defaultValue", "title"];
3698
+ var _excluded$a = ["innerRef", "options", "defaultValue", "title"];
3662
3699
 
3663
3700
  function RadioGroupInner(_ref) {
3664
3701
  var innerRef = _ref.innerRef,
3665
3702
  options = _ref.options,
3666
3703
  defaultValue = _ref.defaultValue,
3667
3704
  title = _ref.title,
3668
- registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3705
+ registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
3669
3706
 
3670
3707
  return /*#__PURE__*/React__default.createElement("div", {
3671
3708
  className: classNames("flex flex-col space-y-2"),
@@ -3738,11 +3775,11 @@ var ConfirmationDialogMessage = function ConfirmationDialogMessage(props) {
3738
3775
  }));
3739
3776
  };
3740
3777
 
3741
- var _excluded$a = ["dataTestId"];
3778
+ var _excluded$b = ["dataTestId"];
3742
3779
  var ConfirmationDialog = function ConfirmationDialog(_ref) {
3743
3780
  var _ref$dataTestId = _ref.dataTestId,
3744
3781
  dataTestId = _ref$dataTestId === void 0 ? "confirmation-dialog-modal" : _ref$dataTestId,
3745
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
3782
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
3746
3783
 
3747
3784
  var choices = props.choices;
3748
3785
 
@@ -3806,7 +3843,7 @@ var ConfirmationDialog = function ConfirmationDialog(_ref) {
3806
3843
  var css_248z$b = ".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: #1e293b;\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: #1e293b;\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: #1e293b;\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}";
3807
3844
  styleInject(css_248z$b);
3808
3845
 
3809
- var _excluded$b = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
3846
+ var _excluded$c = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
3810
3847
 
3811
3848
  var Datepicker = /*#__PURE__*/function (_Component) {
3812
3849
  _inheritsLoose(Datepicker, _Component);
@@ -3861,7 +3898,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
3861
3898
  _this$props2$isDisabl = _this$props2.isDisabled,
3862
3899
  isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
3863
3900
  selected = _this$props2.selected,
3864
- otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$b);
3901
+ otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$c);
3865
3902
 
3866
3903
  var dateFormat = this.getDateFormat();
3867
3904
  var pickerClassName = classNames("cweb-datepicker text-slate-800 text-sm", className);
@@ -3922,7 +3959,7 @@ var img$g = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
3922
3959
  var css_248z$c = ".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}";
3923
3960
  styleInject(css_248z$c);
3924
3961
 
3925
- var _excluded$c = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
3962
+ var _excluded$d = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
3926
3963
  var ITEM_QUERY_FIELD_NAMES = {
3927
3964
  ID: "id",
3928
3965
  HIGHLIGHT_INDEX: "highlightIndex"
@@ -4194,7 +4231,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
4194
4231
  _this$props$placehold = _this$props.placeholder,
4195
4232
  placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
4196
4233
  className = _this$props.className,
4197
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$c);
4234
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$d);
4198
4235
  /* eslint-enable @typescript-eslint/no-unused-vars */
4199
4236
 
4200
4237
 
@@ -4289,7 +4326,7 @@ Dropdown.propTypes = {
4289
4326
  var css_248z$d = ".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}";
4290
4327
  styleInject(css_248z$d);
4291
4328
 
4292
- var _excluded$d = ["message", "className"];
4329
+ var _excluded$e = ["message", "className"];
4293
4330
  ErrorBlock.propTypes = {
4294
4331
  message: PropTypes.string.isRequired,
4295
4332
  className: PropTypes.string
@@ -4299,7 +4336,7 @@ function ErrorBlock(_ref) {
4299
4336
  var message = _ref.message,
4300
4337
  _ref$className = _ref.className,
4301
4338
  className = _ref$className === void 0 ? "" : _ref$className,
4302
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4339
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4303
4340
 
4304
4341
  var containerClassName = classNames("cweb-error-block", className);
4305
4342
  return /*#__PURE__*/React__default.createElement("div", {
@@ -4633,7 +4670,7 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
4633
4670
  var css_248z$f = ".customized-select [class*=IndicatorsContainer] {\n background: 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 center;\n opacity: 0.5;\n transition: opacity 0.3s ease-in-out;\n margin-right: 0.75rem;\n}\n\n.customized-select [class*=IndicatorsContainer] svg {\n display: none;\n}\n\n.customized-select [class*=MenuList] [class*=option]::after {\n position: absolute;\n content: \"\";\n background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2216%22 height%3D%2216%22 viewBox%3D%220 0 16 16%22%3E %3Cg transform%3D%22translate(1.5%2C 0.5)%22%3E %3Cpath fill%3D%22none%22 fill-rule%3D%22evenodd%22 stroke%3D%22%230074DD%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22 stroke-width%3D%222%22 d%3D%22M12.643 3.357L6.03 9.97l-2.674 2.674L0 9.286%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\") no-repeat center;\n right: 12px;\n height: 1rem;\n width: 1rem;\n}";
4634
4671
  styleInject(css_248z$f);
4635
4672
 
4636
- var _excluded$e = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
4673
+ var _excluded$f = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
4637
4674
 
4638
4675
  function generateCustomStyles(hasError, isIE11) {
4639
4676
  return {
@@ -4754,7 +4791,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
4754
4791
  width = _ref$width === void 0 ? "full" : _ref$width,
4755
4792
  isMulti = _ref.isMulti,
4756
4793
  className = _ref.className,
4757
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4794
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
4758
4795
 
4759
4796
  var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
4760
4797
  var customStyles = generateCustomStyles(isError, isIE11);
@@ -4952,7 +4989,7 @@ var TableFooter = function TableFooter(props) {
4952
4989
  }, props.paginationMenuProps)))));
4953
4990
  };
4954
4991
 
4955
- var _excluded$f = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
4992
+ var _excluded$g = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
4956
4993
  function Table(_ref) {
4957
4994
  var items = _ref.items,
4958
4995
  fieldConfigurations = _ref.fieldConfigurations,
@@ -4966,7 +5003,7 @@ function Table(_ref) {
4966
5003
  onRowClick = _ref.onRowClick,
4967
5004
  className = _ref.className,
4968
5005
  dataTestId = _ref.dataTestId,
4969
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$f);
5006
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$g);
4970
5007
 
4971
5008
  // For not displaying empty view at creation
4972
5009
  var _useState = useState(true),
@@ -5920,7 +5957,7 @@ Page.propTypes = {
5920
5957
  navLayoutProps: PropTypes.object
5921
5958
  };
5922
5959
 
5923
- var _excluded$g = ["text", "type", "className"];
5960
+ var _excluded$h = ["text", "type", "className"];
5924
5961
  var TITLE_TYPE_OPTIONS = {
5925
5962
  DEFAULT: "default",
5926
5963
  BIG: "big",
@@ -5939,7 +5976,7 @@ function LegacyTitle(_ref) {
5939
5976
  type = _ref.type,
5940
5977
  _ref$className = _ref.className,
5941
5978
  className = _ref$className === void 0 ? "" : _ref$className,
5942
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
5979
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$h);
5943
5980
 
5944
5981
  var ContainerElement;
5945
5982
  var containerClassName = classNames("cweb-title", className, {
@@ -6326,7 +6363,7 @@ Radio.propTypes = {
6326
6363
  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}";
6327
6364
  styleInject(css_248z$m);
6328
6365
 
6329
- var _excluded$h = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
6366
+ var _excluded$i = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
6330
6367
  /**
6331
6368
  * @deprecated: use RadioV2 instead
6332
6369
  */
@@ -6341,7 +6378,7 @@ function RadioGroup(_ref) {
6341
6378
  onChange = _ref.onChange,
6342
6379
  error = _ref.error,
6343
6380
  isDisabled = _ref.isDisabled,
6344
- otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6381
+ otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6345
6382
 
6346
6383
  var containerClassName = classNames("cweb-radio-group", {
6347
6384
  vertical: isVertical
@@ -6387,7 +6424,7 @@ RadioGroup.propTypes = {
6387
6424
  var css_248z$n = ".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}";
6388
6425
  styleInject(css_248z$n);
6389
6426
 
6390
- var _excluded$i = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
6427
+ var _excluded$j = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
6391
6428
  function Section(_ref) {
6392
6429
  var title = _ref.title,
6393
6430
  buttons = _ref.buttons,
@@ -6397,7 +6434,7 @@ function Section(_ref) {
6397
6434
  _ref$isLoading = _ref.isLoading,
6398
6435
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
6399
6436
  loadingIndicatorProps = _ref.loadingIndicatorProps,
6400
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6437
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6401
6438
 
6402
6439
  return /*#__PURE__*/React__default.createElement("div", _extends({}, restProps, {
6403
6440
  className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
@@ -6428,12 +6465,12 @@ function Section(_ref) {
6428
6465
  var css_248z$o = ".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}";
6429
6466
  styleInject(css_248z$o);
6430
6467
 
6431
- var _excluded$j = ["children", "className", "onClick"];
6468
+ var _excluded$k = ["children", "className", "onClick"];
6432
6469
  var SectionItem = function SectionItem(props) {
6433
6470
  var children = props.children,
6434
6471
  className = props.className,
6435
6472
  onClick = props.onClick,
6436
- rest = _objectWithoutPropertiesLoose(props, _excluded$j);
6473
+ rest = _objectWithoutPropertiesLoose(props, _excluded$k);
6437
6474
 
6438
6475
  var classes = classNames("cweb-list-item", className, {
6439
6476
  "cweb-list-item-clickable": !!onClick
@@ -6444,7 +6481,7 @@ var SectionItem = function SectionItem(props) {
6444
6481
  }, rest), children);
6445
6482
  };
6446
6483
 
6447
- var _excluded$k = ["text", "icon", "className", "iconClass", "onClick"];
6484
+ var _excluded$l = ["text", "icon", "className", "iconClass", "onClick"];
6448
6485
 
6449
6486
  function SectionItemWithContent(props) {
6450
6487
  var text = props.text,
@@ -6452,7 +6489,7 @@ function SectionItemWithContent(props) {
6452
6489
  className = props.className,
6453
6490
  iconClass = props.iconClass,
6454
6491
  onClick = props.onClick,
6455
- rest = _objectWithoutPropertiesLoose(props, _excluded$k);
6492
+ rest = _objectWithoutPropertiesLoose(props, _excluded$l);
6456
6493
 
6457
6494
  var mergedClasses = classNames("cweb-section-text-item", className);
6458
6495
  var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
@@ -6691,7 +6728,7 @@ Switcher.propTypes = {
6691
6728
 
6692
6729
  var img$i = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3e%3cpath d='M18 16V2C18 0.9 17.1 0 16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16ZM5.9 10.98L8 13.51L11.1 9.52C11.3 9.26 11.7 9.26 11.9 9.53L15.41 14.21C15.66 14.54 15.42 15.01 15.01 15.01H3.02C2.6 15.01 2.37 14.53 2.63 14.2L5.12 11C5.31 10.74 5.69 10.73 5.9 10.98Z' fill='%23D1D5DB'/%3e%3c/svg%3e";
6693
6730
 
6694
- var _excluded$l = ["src", "className", "children", "onClick", "showIconOnFailure"];
6731
+ var _excluded$m = ["src", "className", "children", "onClick", "showIconOnFailure"];
6695
6732
 
6696
6733
  var Image$1 = function Image(_ref) {
6697
6734
  var src = _ref.src,
@@ -6701,7 +6738,7 @@ var Image$1 = function Image(_ref) {
6701
6738
  onClick = _ref.onClick,
6702
6739
  _ref$showIconOnFailur = _ref.showIconOnFailure,
6703
6740
  showIconOnFailure = _ref$showIconOnFailur === void 0 ? true : _ref$showIconOnFailur,
6704
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6741
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6705
6742
 
6706
6743
  var _useState = useState(false),
6707
6744
  isError = _useState[0],
@@ -7237,7 +7274,7 @@ var TagGroup = function TagGroup(_ref) {
7237
7274
  var css_248z$q = ".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}";
7238
7275
  styleInject(css_248z$q);
7239
7276
 
7240
- var _excluded$m = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
7277
+ var _excluded$n = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
7241
7278
  var RESIZE_TYPES = {
7242
7279
  NONE: "none",
7243
7280
  BOTH: "both",
@@ -7281,7 +7318,7 @@ function Textarea(props) {
7281
7318
  onKeyPress = props.onKeyPress,
7282
7319
  _onKeyDown = props.onKeyDown,
7283
7320
  onCtrlEnter = props.onCtrlEnter,
7284
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$m);
7321
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$n);
7285
7322
 
7286
7323
  var style;
7287
7324
 
@@ -7464,7 +7501,7 @@ var Timeline = function Timeline(props) {
7464
7501
  }, props.loadMoreButtonProps)));
7465
7502
  };
7466
7503
 
7467
- var _excluded$n = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
7504
+ var _excluded$o = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
7468
7505
  function ViewItem(_ref) {
7469
7506
  var titleProps = _ref.titleProps,
7470
7507
  title = _ref.title,
@@ -7475,7 +7512,7 @@ function ViewItem(_ref) {
7475
7512
  defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
7476
7513
  className = _ref.className,
7477
7514
  buttons = _ref.buttons,
7478
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7515
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7479
7516
 
7480
7517
  var titlePropsMerged = titleProps != null ? titleProps : {
7481
7518
  text: title != null ? title : defaultContent
@@ -7578,7 +7615,7 @@ var isRequired = function isRequired(options) {
7578
7615
  return !!(options && "required" in options);
7579
7616
  };
7580
7617
 
7581
- var _excluded$o = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7618
+ var _excluded$p = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7582
7619
  /**
7583
7620
  * Input field that can be used in any react-hook-form context.
7584
7621
  */
@@ -7592,7 +7629,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
7592
7629
  label = _ref.label,
7593
7630
  info = _ref.info,
7594
7631
  decoratorClassname = _ref.decoratorClassname,
7595
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7632
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7596
7633
 
7597
7634
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7598
7635
  name: name,
@@ -7615,7 +7652,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
7615
7652
  }));
7616
7653
  });
7617
7654
 
7618
- var _excluded$p = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7655
+ var _excluded$q = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7619
7656
  /**
7620
7657
  * Radio Group that can be used in any react-hook-form context.
7621
7658
  */
@@ -7629,7 +7666,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
7629
7666
  label = _ref.label,
7630
7667
  info = _ref.info,
7631
7668
  decoratorClassname = _ref.decoratorClassname,
7632
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7669
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7633
7670
 
7634
7671
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7635
7672
  name: name,
@@ -7656,7 +7693,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
7656
7693
  }));
7657
7694
  });
7658
7695
 
7659
- var _excluded$q = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7696
+ var _excluded$r = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7660
7697
 
7661
7698
  var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7662
7699
  var control = _ref.control,
@@ -7667,7 +7704,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
7667
7704
  label = _ref.label,
7668
7705
  info = _ref.info,
7669
7706
  decoratorClassname = _ref.decoratorClassname,
7670
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7707
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7671
7708
 
7672
7709
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7673
7710
  name: name,
@@ -7689,7 +7726,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
7689
7726
  }));
7690
7727
  });
7691
7728
 
7692
- var _excluded$r = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7729
+ var _excluded$s = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7693
7730
 
7694
7731
  var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7695
7732
  var control = _ref.control,
@@ -7700,7 +7737,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
7700
7737
  label = _ref.label,
7701
7738
  info = _ref.info,
7702
7739
  decoratorClassname = _ref.decoratorClassname,
7703
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7740
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7704
7741
 
7705
7742
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7706
7743
  name: name,
@@ -7739,7 +7776,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
7739
7776
  }));
7740
7777
  });
7741
7778
 
7742
- var _excluded$s = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7779
+ var _excluded$t = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7743
7780
  var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7744
7781
  var control = _ref.control,
7745
7782
  name = _ref.name,
@@ -7749,7 +7786,7 @@ var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, i
7749
7786
  label = _ref.label,
7750
7787
  info = _ref.info,
7751
7788
  decoratorClassname = _ref.decoratorClassname,
7752
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7789
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7753
7790
 
7754
7791
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7755
7792
  name: name,
@@ -7931,14 +7968,6 @@ function FormFieldMapper(formFieldProps, useFormReturn) {
7931
7968
  }
7932
7969
  }
7933
7970
 
7934
- var _excluded$t = ["name"];
7935
- var Icon = function Icon(_ref) {
7936
- var name = _ref.name,
7937
- iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7938
-
7939
- return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
7940
- };
7941
-
7942
7971
  var FullPageModalHeader = function FullPageModalHeader(_ref) {
7943
7972
  var primaryButtonProps = _ref.primaryButtonProps,
7944
7973
  title = _ref.title;