@luscii-healthtech/web-ui 2.47.7 → 2.47.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +1 -0
- package/dist/web-ui.cjs.development.js +43 -38
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +43 -38
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -2806,7 +2806,12 @@ var ConfirmationDialogMessage = function ConfirmationDialogMessage(props) {
|
|
|
2806
2806
|
}));
|
|
2807
2807
|
};
|
|
2808
2808
|
|
|
2809
|
-
var
|
|
2809
|
+
var _excluded$a = ["dataTestId"];
|
|
2810
|
+
var ConfirmationDialog = function ConfirmationDialog(_ref) {
|
|
2811
|
+
var _ref$dataTestId = _ref.dataTestId,
|
|
2812
|
+
dataTestId = _ref$dataTestId === void 0 ? "confirmation-dialog-modal" : _ref$dataTestId,
|
|
2813
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
2814
|
+
|
|
2810
2815
|
var choices = props.choices;
|
|
2811
2816
|
|
|
2812
2817
|
var _useState = React.useState(choices == null ? void 0 : choices.options.find(function (choice) {
|
|
@@ -2837,7 +2842,7 @@ var ConfirmationDialog = function ConfirmationDialog(props) {
|
|
|
2837
2842
|
|
|
2838
2843
|
return /*#__PURE__*/React__default.createElement(ModalBase, {
|
|
2839
2844
|
size: "small",
|
|
2840
|
-
dataTestId:
|
|
2845
|
+
dataTestId: dataTestId,
|
|
2841
2846
|
isOpen: props.isOpen,
|
|
2842
2847
|
withExtraMarginTop: true,
|
|
2843
2848
|
onCloseClick: handleOnCloseClick,
|
|
@@ -2869,7 +2874,7 @@ var ConfirmationDialog = function ConfirmationDialog(props) {
|
|
|
2869
2874
|
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}";
|
|
2870
2875
|
styleInject(css_248z$b);
|
|
2871
2876
|
|
|
2872
|
-
var _excluded$
|
|
2877
|
+
var _excluded$b = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
|
|
2873
2878
|
|
|
2874
2879
|
var Datepicker = /*#__PURE__*/function (_Component) {
|
|
2875
2880
|
_inheritsLoose(Datepicker, _Component);
|
|
@@ -2924,7 +2929,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
|
|
|
2924
2929
|
_this$props2$isDisabl = _this$props2.isDisabled,
|
|
2925
2930
|
isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
|
|
2926
2931
|
selected = _this$props2.selected,
|
|
2927
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$
|
|
2932
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$b);
|
|
2928
2933
|
|
|
2929
2934
|
var dateFormat = this.getDateFormat();
|
|
2930
2935
|
var pickerClassName = classNames("cweb-datepicker text-slate-800 text-sm", className);
|
|
@@ -2985,7 +2990,7 @@ var img$g = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
|
|
|
2985
2990
|
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}";
|
|
2986
2991
|
styleInject(css_248z$c);
|
|
2987
2992
|
|
|
2988
|
-
var _excluded$
|
|
2993
|
+
var _excluded$c = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
|
|
2989
2994
|
var ITEM_QUERY_FIELD_NAMES = {
|
|
2990
2995
|
ID: "id",
|
|
2991
2996
|
HIGHLIGHT_INDEX: "highlightIndex"
|
|
@@ -3257,7 +3262,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
3257
3262
|
_this$props$placehold = _this$props.placeholder,
|
|
3258
3263
|
placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
|
|
3259
3264
|
className = _this$props.className,
|
|
3260
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$
|
|
3265
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$c);
|
|
3261
3266
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
3262
3267
|
|
|
3263
3268
|
|
|
@@ -3352,7 +3357,7 @@ Dropdown.propTypes = {
|
|
|
3352
3357
|
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}";
|
|
3353
3358
|
styleInject(css_248z$d);
|
|
3354
3359
|
|
|
3355
|
-
var _excluded$
|
|
3360
|
+
var _excluded$d = ["message", "className"];
|
|
3356
3361
|
ErrorBlock.propTypes = {
|
|
3357
3362
|
message: PropTypes.string.isRequired,
|
|
3358
3363
|
className: PropTypes.string
|
|
@@ -3362,7 +3367,7 @@ function ErrorBlock(_ref) {
|
|
|
3362
3367
|
var message = _ref.message,
|
|
3363
3368
|
_ref$className = _ref.className,
|
|
3364
3369
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3365
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3370
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
3366
3371
|
|
|
3367
3372
|
var containerClassName = classNames("cweb-error-block", className);
|
|
3368
3373
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -3696,7 +3701,7 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
|
|
|
3696
3701
|
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}";
|
|
3697
3702
|
styleInject(css_248z$f);
|
|
3698
3703
|
|
|
3699
|
-
var _excluded$
|
|
3704
|
+
var _excluded$e = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
|
|
3700
3705
|
|
|
3701
3706
|
function generateCustomStyles(hasError, isIE11) {
|
|
3702
3707
|
return {
|
|
@@ -3817,7 +3822,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
3817
3822
|
width = _ref$width === void 0 ? "full" : _ref$width,
|
|
3818
3823
|
isMulti = _ref.isMulti,
|
|
3819
3824
|
className = _ref.className,
|
|
3820
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3825
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
3821
3826
|
|
|
3822
3827
|
var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
|
|
3823
3828
|
var customStyles = generateCustomStyles(isError, isIE11);
|
|
@@ -4015,7 +4020,7 @@ var TableFooter = function TableFooter(props) {
|
|
|
4015
4020
|
}, props.paginationMenuProps)))));
|
|
4016
4021
|
};
|
|
4017
4022
|
|
|
4018
|
-
var _excluded$
|
|
4023
|
+
var _excluded$f = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
|
|
4019
4024
|
function Table(_ref) {
|
|
4020
4025
|
var items = _ref.items,
|
|
4021
4026
|
fieldConfigurations = _ref.fieldConfigurations,
|
|
@@ -4029,7 +4034,7 @@ function Table(_ref) {
|
|
|
4029
4034
|
onRowClick = _ref.onRowClick,
|
|
4030
4035
|
className = _ref.className,
|
|
4031
4036
|
dataTestId = _ref.dataTestId,
|
|
4032
|
-
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4037
|
+
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
4033
4038
|
|
|
4034
4039
|
// For not displaying empty view at creation
|
|
4035
4040
|
var _useState = React.useState(true),
|
|
@@ -4983,7 +4988,7 @@ Page.propTypes = {
|
|
|
4983
4988
|
navLayoutProps: PropTypes.object
|
|
4984
4989
|
};
|
|
4985
4990
|
|
|
4986
|
-
var _excluded$
|
|
4991
|
+
var _excluded$g = ["text", "type", "className"];
|
|
4987
4992
|
var TITLE_TYPE_OPTIONS = {
|
|
4988
4993
|
DEFAULT: "default",
|
|
4989
4994
|
BIG: "big",
|
|
@@ -5002,7 +5007,7 @@ function LegacyTitle(_ref) {
|
|
|
5002
5007
|
type = _ref.type,
|
|
5003
5008
|
_ref$className = _ref.className,
|
|
5004
5009
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
5005
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5010
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
5006
5011
|
|
|
5007
5012
|
var ContainerElement;
|
|
5008
5013
|
var containerClassName = classNames("cweb-title", className, {
|
|
@@ -5389,7 +5394,7 @@ Radio.propTypes = {
|
|
|
5389
5394
|
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}";
|
|
5390
5395
|
styleInject(css_248z$m);
|
|
5391
5396
|
|
|
5392
|
-
var _excluded$
|
|
5397
|
+
var _excluded$h = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
|
|
5393
5398
|
/**
|
|
5394
5399
|
* @deprecated: use RadioV2 instead
|
|
5395
5400
|
*/
|
|
@@ -5404,7 +5409,7 @@ function RadioGroup(_ref) {
|
|
|
5404
5409
|
onChange = _ref.onChange,
|
|
5405
5410
|
error = _ref.error,
|
|
5406
5411
|
isDisabled = _ref.isDisabled,
|
|
5407
|
-
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5412
|
+
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
5408
5413
|
|
|
5409
5414
|
var containerClassName = classNames("cweb-radio-group", {
|
|
5410
5415
|
vertical: isVertical
|
|
@@ -5450,7 +5455,7 @@ RadioGroup.propTypes = {
|
|
|
5450
5455
|
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}";
|
|
5451
5456
|
styleInject(css_248z$n);
|
|
5452
5457
|
|
|
5453
|
-
var _excluded$
|
|
5458
|
+
var _excluded$i = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
|
|
5454
5459
|
function Section(_ref) {
|
|
5455
5460
|
var title = _ref.title,
|
|
5456
5461
|
buttons = _ref.buttons,
|
|
@@ -5460,7 +5465,7 @@ function Section(_ref) {
|
|
|
5460
5465
|
_ref$isLoading = _ref.isLoading,
|
|
5461
5466
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
5462
5467
|
loadingIndicatorProps = _ref.loadingIndicatorProps,
|
|
5463
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5468
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
5464
5469
|
|
|
5465
5470
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, restProps, {
|
|
5466
5471
|
className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
|
|
@@ -5491,12 +5496,12 @@ function Section(_ref) {
|
|
|
5491
5496
|
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}";
|
|
5492
5497
|
styleInject(css_248z$o);
|
|
5493
5498
|
|
|
5494
|
-
var _excluded$
|
|
5499
|
+
var _excluded$j = ["children", "className", "onClick"];
|
|
5495
5500
|
var SectionItem = function SectionItem(props) {
|
|
5496
5501
|
var children = props.children,
|
|
5497
5502
|
className = props.className,
|
|
5498
5503
|
onClick = props.onClick,
|
|
5499
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
5504
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$j);
|
|
5500
5505
|
|
|
5501
5506
|
var classes = classNames("cweb-list-item", className, {
|
|
5502
5507
|
"cweb-list-item-clickable": !!onClick
|
|
@@ -5507,7 +5512,7 @@ var SectionItem = function SectionItem(props) {
|
|
|
5507
5512
|
}, rest), children);
|
|
5508
5513
|
};
|
|
5509
5514
|
|
|
5510
|
-
var _excluded$
|
|
5515
|
+
var _excluded$k = ["text", "icon", "className", "iconClass", "onClick"];
|
|
5511
5516
|
|
|
5512
5517
|
function SectionItemWithContent(props) {
|
|
5513
5518
|
var text = props.text,
|
|
@@ -5515,7 +5520,7 @@ function SectionItemWithContent(props) {
|
|
|
5515
5520
|
className = props.className,
|
|
5516
5521
|
iconClass = props.iconClass,
|
|
5517
5522
|
onClick = props.onClick,
|
|
5518
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
5523
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$k);
|
|
5519
5524
|
|
|
5520
5525
|
var mergedClasses = classNames("cweb-section-text-item", className);
|
|
5521
5526
|
var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
|
|
@@ -5754,7 +5759,7 @@ Switcher.propTypes = {
|
|
|
5754
5759
|
|
|
5755
5760
|
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";
|
|
5756
5761
|
|
|
5757
|
-
var _excluded$
|
|
5762
|
+
var _excluded$l = ["src", "className", "children", "onClick", "showIconOnFailure"];
|
|
5758
5763
|
|
|
5759
5764
|
var Image$1 = function Image(_ref) {
|
|
5760
5765
|
var src = _ref.src,
|
|
@@ -5764,7 +5769,7 @@ var Image$1 = function Image(_ref) {
|
|
|
5764
5769
|
onClick = _ref.onClick,
|
|
5765
5770
|
_ref$showIconOnFailur = _ref.showIconOnFailure,
|
|
5766
5771
|
showIconOnFailure = _ref$showIconOnFailur === void 0 ? true : _ref$showIconOnFailur,
|
|
5767
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5772
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
5768
5773
|
|
|
5769
5774
|
var _useState = React.useState(false),
|
|
5770
5775
|
isError = _useState[0],
|
|
@@ -6300,7 +6305,7 @@ var TagGroup = function TagGroup(_ref) {
|
|
|
6300
6305
|
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}";
|
|
6301
6306
|
styleInject(css_248z$q);
|
|
6302
6307
|
|
|
6303
|
-
var _excluded$
|
|
6308
|
+
var _excluded$m = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
|
|
6304
6309
|
var RESIZE_TYPES = {
|
|
6305
6310
|
NONE: "none",
|
|
6306
6311
|
BOTH: "both",
|
|
@@ -6344,7 +6349,7 @@ function Textarea(props) {
|
|
|
6344
6349
|
onKeyPress = props.onKeyPress,
|
|
6345
6350
|
_onKeyDown = props.onKeyDown,
|
|
6346
6351
|
onCtrlEnter = props.onCtrlEnter,
|
|
6347
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6352
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$m);
|
|
6348
6353
|
|
|
6349
6354
|
var style;
|
|
6350
6355
|
|
|
@@ -6527,7 +6532,7 @@ var Timeline = function Timeline(props) {
|
|
|
6527
6532
|
}, props.loadMoreButtonProps)));
|
|
6528
6533
|
};
|
|
6529
6534
|
|
|
6530
|
-
var _excluded$
|
|
6535
|
+
var _excluded$n = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
|
|
6531
6536
|
function ViewItem(_ref) {
|
|
6532
6537
|
var titleProps = _ref.titleProps,
|
|
6533
6538
|
title = _ref.title,
|
|
@@ -6538,7 +6543,7 @@ function ViewItem(_ref) {
|
|
|
6538
6543
|
defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
|
|
6539
6544
|
className = _ref.className,
|
|
6540
6545
|
buttons = _ref.buttons,
|
|
6541
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6546
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
6542
6547
|
|
|
6543
6548
|
var titlePropsMerged = titleProps != null ? titleProps : {
|
|
6544
6549
|
text: title != null ? title : defaultContent
|
|
@@ -6641,7 +6646,7 @@ var isRequired = function isRequired(options) {
|
|
|
6641
6646
|
return !!(options && "required" in options);
|
|
6642
6647
|
};
|
|
6643
6648
|
|
|
6644
|
-
var _excluded$
|
|
6649
|
+
var _excluded$o = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
6645
6650
|
/**
|
|
6646
6651
|
* Input field that can be used in any react-hook-form context.
|
|
6647
6652
|
*/
|
|
@@ -6655,7 +6660,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
6655
6660
|
label = _ref.label,
|
|
6656
6661
|
info = _ref.info,
|
|
6657
6662
|
decoratorClassname = _ref.decoratorClassname,
|
|
6658
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6663
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
6659
6664
|
|
|
6660
6665
|
return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
|
|
6661
6666
|
name: name,
|
|
@@ -6678,7 +6683,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
6678
6683
|
}));
|
|
6679
6684
|
});
|
|
6680
6685
|
|
|
6681
|
-
var _excluded$
|
|
6686
|
+
var _excluded$p = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
6682
6687
|
/**
|
|
6683
6688
|
* Radio Group that can be used in any react-hook-form context.
|
|
6684
6689
|
*/
|
|
@@ -6692,7 +6697,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
6692
6697
|
label = _ref.label,
|
|
6693
6698
|
info = _ref.info,
|
|
6694
6699
|
decoratorClassname = _ref.decoratorClassname,
|
|
6695
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6700
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
6696
6701
|
|
|
6697
6702
|
return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
|
|
6698
6703
|
name: name,
|
|
@@ -6719,7 +6724,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
6719
6724
|
}));
|
|
6720
6725
|
});
|
|
6721
6726
|
|
|
6722
|
-
var _excluded$
|
|
6727
|
+
var _excluded$q = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
6723
6728
|
|
|
6724
6729
|
var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
6725
6730
|
var control = _ref.control,
|
|
@@ -6730,7 +6735,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
6730
6735
|
label = _ref.label,
|
|
6731
6736
|
info = _ref.info,
|
|
6732
6737
|
decoratorClassname = _ref.decoratorClassname,
|
|
6733
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6738
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
6734
6739
|
|
|
6735
6740
|
return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
|
|
6736
6741
|
name: name,
|
|
@@ -6752,7 +6757,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
6752
6757
|
}));
|
|
6753
6758
|
});
|
|
6754
6759
|
|
|
6755
|
-
var _excluded$
|
|
6760
|
+
var _excluded$r = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
6756
6761
|
|
|
6757
6762
|
var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
6758
6763
|
var control = _ref.control,
|
|
@@ -6763,7 +6768,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
|
|
|
6763
6768
|
label = _ref.label,
|
|
6764
6769
|
info = _ref.info,
|
|
6765
6770
|
decoratorClassname = _ref.decoratorClassname,
|
|
6766
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6771
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
6767
6772
|
|
|
6768
6773
|
return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
|
|
6769
6774
|
name: name,
|
|
@@ -7902,10 +7907,10 @@ var Icons = {
|
|
|
7902
7907
|
StatusColoredIcon: StatusColoredIcon
|
|
7903
7908
|
};
|
|
7904
7909
|
|
|
7905
|
-
var _excluded$
|
|
7910
|
+
var _excluded$s = ["name"];
|
|
7906
7911
|
var Icon = function Icon(_ref) {
|
|
7907
7912
|
var name = _ref.name,
|
|
7908
|
-
iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7913
|
+
iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
7909
7914
|
|
|
7910
7915
|
return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
|
|
7911
7916
|
};
|