@luscii-healthtech/web-ui 2.56.0 → 2.56.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.
- package/dist/components/BaseList/BaseList.types.d.ts +1 -0
- package/dist/components/BaseList/index.d.ts +1 -0
- package/dist/components/BaseList/utils.d.ts +9 -2
- package/dist/components/List/index.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/web-ui.cjs.development.js +121 -68
- 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 +121 -69
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -2497,13 +2497,61 @@ function isIconKey(key) {
|
|
|
2497
2497
|
return false;
|
|
2498
2498
|
}
|
|
2499
2499
|
|
|
2500
|
-
|
|
2500
|
+
// You should be able to just use a non-registered Symbol as a key in a WeakMap
|
|
2501
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
|
|
2502
|
+
// TS doesn't allow it (registered and non-registered Symbols are both of type symbol), so we have to use an object
|
|
2503
|
+
var draggableListItemPropsPointer = {
|
|
2504
|
+
symbol: /*#__PURE__*/Symbol("draggable-list-item-props")
|
|
2505
|
+
};
|
|
2506
|
+
var createDraggableListProps = function createDraggableListProps(_ref) {
|
|
2507
|
+
var itemId = _ref.itemId,
|
|
2508
|
+
title = _ref.title,
|
|
2509
|
+
subtitle = _ref.subtitle,
|
|
2510
|
+
icon = _ref.icon,
|
|
2511
|
+
isDraggable = _ref.isDraggable,
|
|
2512
|
+
isSelected = _ref.isSelected;
|
|
2513
|
+
return new WeakMap([[draggableListItemPropsPointer, Object.freeze({
|
|
2514
|
+
itemId: itemId,
|
|
2515
|
+
title: title,
|
|
2516
|
+
subtitle: subtitle,
|
|
2517
|
+
icon: icon,
|
|
2518
|
+
isDraggable: isDraggable,
|
|
2519
|
+
isSelected: isSelected
|
|
2520
|
+
})]]);
|
|
2521
|
+
};
|
|
2522
|
+
|
|
2523
|
+
var isDraggableListItemProps = function isDraggableListItemProps(subject) {
|
|
2524
|
+
if (subject instanceof WeakMap) {
|
|
2525
|
+
return subject.has(draggableListItemPropsPointer);
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
return false;
|
|
2529
|
+
};
|
|
2530
|
+
|
|
2531
|
+
var draggableListPropsKey = "listItem";
|
|
2532
|
+
var getDndListItemProps = function getDndListItemProps(subject) {
|
|
2533
|
+
var _subject$data, _subject$data$current, _possibleDraggableLis;
|
|
2534
|
+
|
|
2535
|
+
var possibleDraggableListItemProps = (_subject$data = subject.data) == null ? void 0 : (_subject$data$current = _subject$data.current) == null ? void 0 : _subject$data$current[draggableListPropsKey];
|
|
2536
|
+
|
|
2537
|
+
if (!isDraggableListItemProps(possibleDraggableListItemProps)) {
|
|
2538
|
+
return null;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
return (_possibleDraggableLis = possibleDraggableListItemProps.get(draggableListItemPropsPointer)) != null ? _possibleDraggableLis : null;
|
|
2542
|
+
};
|
|
2543
|
+
|
|
2544
|
+
var _excluded$3 = ["draggableData"];
|
|
2545
|
+
var DraggableBaseListItem = function DraggableBaseListItem(_ref) {
|
|
2546
|
+
var _data;
|
|
2547
|
+
|
|
2548
|
+
var draggableData = _ref.draggableData,
|
|
2549
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2550
|
+
|
|
2501
2551
|
var _useDraggable = core.useDraggable({
|
|
2502
2552
|
id: props.draggableIdentifier,
|
|
2503
2553
|
disabled: !props.isDraggable,
|
|
2504
|
-
data: {
|
|
2505
|
-
item: props
|
|
2506
|
-
}
|
|
2554
|
+
data: (_data = {}, _data[draggableListPropsKey] = createDraggableListProps(props), _data.draggableData = draggableData, _data)
|
|
2507
2555
|
}),
|
|
2508
2556
|
setNodeRef = _useDraggable.setNodeRef,
|
|
2509
2557
|
listeners = _useDraggable.listeners,
|
|
@@ -2527,10 +2575,10 @@ var DraggableBaseListItem = function DraggableBaseListItem(props) {
|
|
|
2527
2575
|
}));
|
|
2528
2576
|
};
|
|
2529
2577
|
|
|
2530
|
-
var _excluded$
|
|
2578
|
+
var _excluded$4 = ["items"];
|
|
2531
2579
|
var DraggableBaseList = function DraggableBaseList(_ref) {
|
|
2532
2580
|
var items = _ref.items,
|
|
2533
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2581
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
2534
2582
|
|
|
2535
2583
|
return /*#__PURE__*/React__default.createElement(BaseList, _extends({}, props, {
|
|
2536
2584
|
items: items,
|
|
@@ -2538,7 +2586,7 @@ var DraggableBaseList = function DraggableBaseList(_ref) {
|
|
|
2538
2586
|
}));
|
|
2539
2587
|
};
|
|
2540
2588
|
|
|
2541
|
-
var _excluded$
|
|
2589
|
+
var _excluded$5 = ["draggableIdentifier", "disabled", "data", "dataTestId", "onClick"];
|
|
2542
2590
|
|
|
2543
2591
|
var DefaultState = function DefaultState(_ref) {
|
|
2544
2592
|
var icon = _ref.icon,
|
|
@@ -2600,7 +2648,7 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2600
2648
|
data = _ref3.data,
|
|
2601
2649
|
dataTestId = _ref3.dataTestId,
|
|
2602
2650
|
onClick = _ref3.onClick,
|
|
2603
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded$
|
|
2651
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded$5);
|
|
2604
2652
|
|
|
2605
2653
|
var _useDroppable = core.useDroppable({
|
|
2606
2654
|
id: identifier,
|
|
@@ -2629,13 +2677,17 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2629
2677
|
return presentation;
|
|
2630
2678
|
};
|
|
2631
2679
|
|
|
2632
|
-
var
|
|
2680
|
+
var _excluded$6 = ["draggableData"];
|
|
2681
|
+
var SortableBaseListItem = function SortableBaseListItem(_ref) {
|
|
2682
|
+
var _data;
|
|
2683
|
+
|
|
2684
|
+
var draggableData = _ref.draggableData,
|
|
2685
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
2686
|
+
|
|
2633
2687
|
var _useSortable = sortable.useSortable({
|
|
2634
2688
|
id: props.draggableIdentifier,
|
|
2635
2689
|
disabled: !props.isDraggable,
|
|
2636
|
-
data: {
|
|
2637
|
-
item: props
|
|
2638
|
-
}
|
|
2690
|
+
data: (_data = {}, _data[draggableListPropsKey] = createDraggableListProps(props), _data.draggableData = draggableData, _data)
|
|
2639
2691
|
}),
|
|
2640
2692
|
setNodeRef = _useSortable.setNodeRef,
|
|
2641
2693
|
listeners = _useSortable.listeners,
|
|
@@ -2697,11 +2749,11 @@ var SortableBaseListItem = function SortableBaseListItem(props) {
|
|
|
2697
2749
|
}));
|
|
2698
2750
|
};
|
|
2699
2751
|
|
|
2700
|
-
var _excluded$
|
|
2752
|
+
var _excluded$7 = ["draggableIdentifier", "items"];
|
|
2701
2753
|
var SortableBaseList = function SortableBaseList(_ref) {
|
|
2702
2754
|
var draggableIdentifier = _ref.draggableIdentifier,
|
|
2703
2755
|
items = _ref.items,
|
|
2704
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2756
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
2705
2757
|
|
|
2706
2758
|
return /*#__PURE__*/React__default.createElement(sortable.SortableContext, {
|
|
2707
2759
|
id: draggableIdentifier,
|
|
@@ -2724,13 +2776,13 @@ var ListItem = function ListItem(props) {
|
|
|
2724
2776
|
return /*#__PURE__*/React__default.createElement(BaseListItem, _extends({}, props));
|
|
2725
2777
|
};
|
|
2726
2778
|
|
|
2727
|
-
var _excluded$
|
|
2779
|
+
var _excluded$8 = ["items", "onDragEnd", "onAssetLoadError"];
|
|
2728
2780
|
|
|
2729
2781
|
var DefaultList = function DefaultList(_ref) {
|
|
2730
2782
|
var items = _ref.items,
|
|
2731
2783
|
onDragEnd = _ref.onDragEnd,
|
|
2732
2784
|
onAssetLoadError = _ref.onAssetLoadError,
|
|
2733
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2785
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
2734
2786
|
|
|
2735
2787
|
var listRef = React.useRef(null);
|
|
2736
2788
|
var dragulaRef = React.useRef(null);
|
|
@@ -2817,7 +2869,7 @@ var List = function List(props) {
|
|
|
2817
2869
|
var css_248z$5 = ".input::-ms-clear {\n display: none;\n}";
|
|
2818
2870
|
styleInject(css_248z$5);
|
|
2819
2871
|
|
|
2820
|
-
var _excluded$
|
|
2872
|
+
var _excluded$9 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
|
|
2821
2873
|
// Don't know why yet but it can be fixed later.
|
|
2822
2874
|
|
|
2823
2875
|
var INPUT_TYPES = {
|
|
@@ -2847,7 +2899,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
2847
2899
|
onChange = _ref.onChange,
|
|
2848
2900
|
isError = _ref.isError,
|
|
2849
2901
|
asFormField = _ref.asFormField,
|
|
2850
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2902
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2851
2903
|
|
|
2852
2904
|
var hasNoExtraContent = withPrefix === "" && withSuffix === "";
|
|
2853
2905
|
|
|
@@ -2990,7 +3042,7 @@ var Spinner = function Spinner(props) {
|
|
|
2990
3042
|
}));
|
|
2991
3043
|
};
|
|
2992
3044
|
|
|
2993
|
-
var _excluded$
|
|
3045
|
+
var _excluded$a = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
|
|
2994
3046
|
var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
2995
3047
|
var onClick = _ref.onClick,
|
|
2996
3048
|
text = _ref.text,
|
|
@@ -3000,7 +3052,7 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
3000
3052
|
isDisabled = _ref.isDisabled,
|
|
3001
3053
|
isPending = _ref.isPending,
|
|
3002
3054
|
className = _ref.className,
|
|
3003
|
-
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3055
|
+
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
3004
3056
|
|
|
3005
3057
|
function handleClick(event) {
|
|
3006
3058
|
event.stopPropagation();
|
|
@@ -3132,7 +3184,7 @@ var img$5 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
|
|
|
3132
3184
|
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}";
|
|
3133
3185
|
styleInject(css_248z$6);
|
|
3134
3186
|
|
|
3135
|
-
var _excluded$
|
|
3187
|
+
var _excluded$b = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
|
|
3136
3188
|
function LoadingIndicator(_ref) {
|
|
3137
3189
|
var _ref$asModal = _ref.asModal,
|
|
3138
3190
|
asModal = _ref$asModal === void 0 ? false : _ref$asModal,
|
|
@@ -3144,7 +3196,7 @@ function LoadingIndicator(_ref) {
|
|
|
3144
3196
|
spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
|
|
3145
3197
|
_ref$dataTestId = _ref.dataTestId,
|
|
3146
3198
|
dataTestId = _ref$dataTestId === void 0 ? "loading-indicator" : _ref$dataTestId,
|
|
3147
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3199
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
3148
3200
|
|
|
3149
3201
|
var spinnerToRender = spinnerColor === "blue" ? img$4 : img$5;
|
|
3150
3202
|
var containerClassName = classNames("cweb-loading", className, {
|
|
@@ -3163,7 +3215,7 @@ function LoadingIndicator(_ref) {
|
|
|
3163
3215
|
}));
|
|
3164
3216
|
}
|
|
3165
3217
|
|
|
3166
|
-
var _excluded$
|
|
3218
|
+
var _excluded$c = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
|
|
3167
3219
|
var AccordionList = function AccordionList(_ref) {
|
|
3168
3220
|
var _ref$localisations = _ref.localisations,
|
|
3169
3221
|
title = _ref$localisations.title,
|
|
@@ -3177,7 +3229,7 @@ var AccordionList = function AccordionList(_ref) {
|
|
|
3177
3229
|
isSearchEnabled = _ref$isSearchEnabled === void 0 ? false : _ref$isSearchEnabled,
|
|
3178
3230
|
_ref$isLoading = _ref.isLoading,
|
|
3179
3231
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
3180
|
-
accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3232
|
+
accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
3181
3233
|
|
|
3182
3234
|
var _useState = React.useState(""),
|
|
3183
3235
|
searchString = _useState[0],
|
|
@@ -3559,7 +3611,7 @@ var BUTTON_ROLES = {
|
|
|
3559
3611
|
ICON: "icon"
|
|
3560
3612
|
};
|
|
3561
3613
|
|
|
3562
|
-
var _excluded$
|
|
3614
|
+
var _excluded$d = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
|
|
3563
3615
|
|
|
3564
3616
|
function Button(props) {
|
|
3565
3617
|
var _props$text = props.text,
|
|
@@ -3584,7 +3636,7 @@ function Button(props) {
|
|
|
3584
3636
|
_props$hasIcon = props.hasIcon,
|
|
3585
3637
|
hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
|
|
3586
3638
|
dynamicIcon = props.dynamicIcon,
|
|
3587
|
-
otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$
|
|
3639
|
+
otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$d);
|
|
3588
3640
|
|
|
3589
3641
|
var hasAddIcon = className.includes("add-button");
|
|
3590
3642
|
var hasEditIcon = className.includes("edit-button");
|
|
@@ -4047,7 +4099,7 @@ NotificationBanner.defaultProps = {
|
|
|
4047
4099
|
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";
|
|
4048
4100
|
styleInject(css_248z$a);
|
|
4049
4101
|
|
|
4050
|
-
var _excluded$
|
|
4102
|
+
var _excluded$e = ["text", "info", "isError", "innerRef", "className", "name"];
|
|
4051
4103
|
|
|
4052
4104
|
function RadioInner(_ref) {
|
|
4053
4105
|
var text = _ref.text,
|
|
@@ -4056,7 +4108,7 @@ function RadioInner(_ref) {
|
|
|
4056
4108
|
innerRef = _ref.innerRef,
|
|
4057
4109
|
className = _ref.className,
|
|
4058
4110
|
name = _ref.name,
|
|
4059
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4111
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
4060
4112
|
|
|
4061
4113
|
var value = otherProps.value,
|
|
4062
4114
|
disabled = otherProps.disabled;
|
|
@@ -4109,14 +4161,14 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
4109
4161
|
}));
|
|
4110
4162
|
});
|
|
4111
4163
|
|
|
4112
|
-
var _excluded$
|
|
4164
|
+
var _excluded$f = ["innerRef", "options", "defaultValue", "title"];
|
|
4113
4165
|
|
|
4114
4166
|
function RadioGroupInner(_ref) {
|
|
4115
4167
|
var innerRef = _ref.innerRef,
|
|
4116
4168
|
options = _ref.options,
|
|
4117
4169
|
defaultValue = _ref.defaultValue,
|
|
4118
4170
|
title = _ref.title,
|
|
4119
|
-
registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4171
|
+
registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
4120
4172
|
|
|
4121
4173
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
4122
4174
|
className: classNames("flex flex-col space-y-2"),
|
|
@@ -4189,11 +4241,11 @@ var ConfirmationDialogMessage = function ConfirmationDialogMessage(props) {
|
|
|
4189
4241
|
}));
|
|
4190
4242
|
};
|
|
4191
4243
|
|
|
4192
|
-
var _excluded$
|
|
4244
|
+
var _excluded$g = ["dataTestId"];
|
|
4193
4245
|
var ConfirmationDialog = function ConfirmationDialog(_ref) {
|
|
4194
4246
|
var _ref$dataTestId = _ref.dataTestId,
|
|
4195
4247
|
dataTestId = _ref$dataTestId === void 0 ? "confirmation-dialog-modal" : _ref$dataTestId,
|
|
4196
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4248
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
4197
4249
|
|
|
4198
4250
|
var choices = props.choices;
|
|
4199
4251
|
|
|
@@ -4257,7 +4309,7 @@ var ConfirmationDialog = function ConfirmationDialog(_ref) {
|
|
|
4257
4309
|
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}";
|
|
4258
4310
|
styleInject(css_248z$b);
|
|
4259
4311
|
|
|
4260
|
-
var _excluded$
|
|
4312
|
+
var _excluded$h = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
|
|
4261
4313
|
|
|
4262
4314
|
var Datepicker = /*#__PURE__*/function (_Component) {
|
|
4263
4315
|
_inheritsLoose(Datepicker, _Component);
|
|
@@ -4312,7 +4364,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
|
|
|
4312
4364
|
_this$props2$isDisabl = _this$props2.isDisabled,
|
|
4313
4365
|
isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
|
|
4314
4366
|
selected = _this$props2.selected,
|
|
4315
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$
|
|
4367
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$h);
|
|
4316
4368
|
|
|
4317
4369
|
var dateFormat = this.getDateFormat();
|
|
4318
4370
|
var pickerClassName = classNames("cweb-datepicker text-slate-800 text-sm", className);
|
|
@@ -4373,7 +4425,7 @@ var img$g = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
|
|
|
4373
4425
|
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}";
|
|
4374
4426
|
styleInject(css_248z$c);
|
|
4375
4427
|
|
|
4376
|
-
var _excluded$
|
|
4428
|
+
var _excluded$i = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
|
|
4377
4429
|
var ITEM_QUERY_FIELD_NAMES = {
|
|
4378
4430
|
ID: "id",
|
|
4379
4431
|
HIGHLIGHT_INDEX: "highlightIndex"
|
|
@@ -4645,7 +4697,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
4645
4697
|
_this$props$placehold = _this$props.placeholder,
|
|
4646
4698
|
placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
|
|
4647
4699
|
className = _this$props.className,
|
|
4648
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$
|
|
4700
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$i);
|
|
4649
4701
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
4650
4702
|
|
|
4651
4703
|
|
|
@@ -4740,7 +4792,7 @@ Dropdown.propTypes = {
|
|
|
4740
4792
|
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}";
|
|
4741
4793
|
styleInject(css_248z$d);
|
|
4742
4794
|
|
|
4743
|
-
var _excluded$
|
|
4795
|
+
var _excluded$j = ["message", "className"];
|
|
4744
4796
|
ErrorBlock.propTypes = {
|
|
4745
4797
|
message: PropTypes.string.isRequired,
|
|
4746
4798
|
className: PropTypes.string
|
|
@@ -4750,7 +4802,7 @@ function ErrorBlock(_ref) {
|
|
|
4750
4802
|
var message = _ref.message,
|
|
4751
4803
|
_ref$className = _ref.className,
|
|
4752
4804
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
4753
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4805
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
4754
4806
|
|
|
4755
4807
|
var containerClassName = classNames("cweb-error-block", className);
|
|
4756
4808
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -5084,7 +5136,7 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
|
|
|
5084
5136
|
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}";
|
|
5085
5137
|
styleInject(css_248z$f);
|
|
5086
5138
|
|
|
5087
|
-
var _excluded$
|
|
5139
|
+
var _excluded$k = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
|
|
5088
5140
|
|
|
5089
5141
|
function generateCustomStyles(hasError, isIE11) {
|
|
5090
5142
|
return {
|
|
@@ -5205,7 +5257,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5205
5257
|
width = _ref$width === void 0 ? "full" : _ref$width,
|
|
5206
5258
|
isMulti = _ref.isMulti,
|
|
5207
5259
|
className = _ref.className,
|
|
5208
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5260
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
5209
5261
|
|
|
5210
5262
|
var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
|
|
5211
5263
|
var customStyles = generateCustomStyles(isError, isIE11);
|
|
@@ -5403,7 +5455,7 @@ var TableFooter = function TableFooter(props) {
|
|
|
5403
5455
|
}, props.paginationMenuProps)))));
|
|
5404
5456
|
};
|
|
5405
5457
|
|
|
5406
|
-
var _excluded$
|
|
5458
|
+
var _excluded$l = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
|
|
5407
5459
|
function Table(_ref) {
|
|
5408
5460
|
var items = _ref.items,
|
|
5409
5461
|
fieldConfigurations = _ref.fieldConfigurations,
|
|
@@ -5417,7 +5469,7 @@ function Table(_ref) {
|
|
|
5417
5469
|
onRowClick = _ref.onRowClick,
|
|
5418
5470
|
className = _ref.className,
|
|
5419
5471
|
dataTestId = _ref.dataTestId,
|
|
5420
|
-
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5472
|
+
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
5421
5473
|
|
|
5422
5474
|
// For not displaying empty view at creation
|
|
5423
5475
|
var _useState = React.useState(true),
|
|
@@ -6371,7 +6423,7 @@ Page.propTypes = {
|
|
|
6371
6423
|
navLayoutProps: PropTypes.object
|
|
6372
6424
|
};
|
|
6373
6425
|
|
|
6374
|
-
var _excluded$
|
|
6426
|
+
var _excluded$m = ["text", "type", "className"];
|
|
6375
6427
|
var TITLE_TYPE_OPTIONS = {
|
|
6376
6428
|
DEFAULT: "default",
|
|
6377
6429
|
BIG: "big",
|
|
@@ -6390,7 +6442,7 @@ function LegacyTitle(_ref) {
|
|
|
6390
6442
|
type = _ref.type,
|
|
6391
6443
|
_ref$className = _ref.className,
|
|
6392
6444
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
6393
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6445
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
|
6394
6446
|
|
|
6395
6447
|
var ContainerElement;
|
|
6396
6448
|
var containerClassName = classNames("cweb-title", className, {
|
|
@@ -6777,7 +6829,7 @@ Radio.propTypes = {
|
|
|
6777
6829
|
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}";
|
|
6778
6830
|
styleInject(css_248z$m);
|
|
6779
6831
|
|
|
6780
|
-
var _excluded$
|
|
6832
|
+
var _excluded$n = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
|
|
6781
6833
|
/**
|
|
6782
6834
|
* @deprecated: use RadioV2 instead
|
|
6783
6835
|
*/
|
|
@@ -6792,7 +6844,7 @@ function RadioGroup(_ref) {
|
|
|
6792
6844
|
onChange = _ref.onChange,
|
|
6793
6845
|
error = _ref.error,
|
|
6794
6846
|
isDisabled = _ref.isDisabled,
|
|
6795
|
-
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6847
|
+
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
6796
6848
|
|
|
6797
6849
|
var containerClassName = classNames("cweb-radio-group", {
|
|
6798
6850
|
vertical: isVertical
|
|
@@ -6838,7 +6890,7 @@ RadioGroup.propTypes = {
|
|
|
6838
6890
|
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}";
|
|
6839
6891
|
styleInject(css_248z$n);
|
|
6840
6892
|
|
|
6841
|
-
var _excluded$
|
|
6893
|
+
var _excluded$o = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
|
|
6842
6894
|
function Section(_ref) {
|
|
6843
6895
|
var title = _ref.title,
|
|
6844
6896
|
buttons = _ref.buttons,
|
|
@@ -6848,7 +6900,7 @@ function Section(_ref) {
|
|
|
6848
6900
|
_ref$isLoading = _ref.isLoading,
|
|
6849
6901
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
6850
6902
|
loadingIndicatorProps = _ref.loadingIndicatorProps,
|
|
6851
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6903
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
6852
6904
|
|
|
6853
6905
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, restProps, {
|
|
6854
6906
|
className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
|
|
@@ -6879,12 +6931,12 @@ function Section(_ref) {
|
|
|
6879
6931
|
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}";
|
|
6880
6932
|
styleInject(css_248z$o);
|
|
6881
6933
|
|
|
6882
|
-
var _excluded$
|
|
6934
|
+
var _excluded$p = ["children", "className", "onClick"];
|
|
6883
6935
|
var SectionItem = function SectionItem(props) {
|
|
6884
6936
|
var children = props.children,
|
|
6885
6937
|
className = props.className,
|
|
6886
6938
|
onClick = props.onClick,
|
|
6887
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6939
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$p);
|
|
6888
6940
|
|
|
6889
6941
|
var classes = classNames("cweb-list-item", className, {
|
|
6890
6942
|
"cweb-list-item-clickable": !!onClick
|
|
@@ -6895,7 +6947,7 @@ var SectionItem = function SectionItem(props) {
|
|
|
6895
6947
|
}, rest), children);
|
|
6896
6948
|
};
|
|
6897
6949
|
|
|
6898
|
-
var _excluded$
|
|
6950
|
+
var _excluded$q = ["text", "icon", "className", "iconClass", "onClick"];
|
|
6899
6951
|
|
|
6900
6952
|
function SectionItemWithContent(props) {
|
|
6901
6953
|
var text = props.text,
|
|
@@ -6903,7 +6955,7 @@ function SectionItemWithContent(props) {
|
|
|
6903
6955
|
className = props.className,
|
|
6904
6956
|
iconClass = props.iconClass,
|
|
6905
6957
|
onClick = props.onClick,
|
|
6906
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6958
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$q);
|
|
6907
6959
|
|
|
6908
6960
|
var mergedClasses = classNames("cweb-section-text-item", className);
|
|
6909
6961
|
var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
|
|
@@ -7142,7 +7194,7 @@ Switcher.propTypes = {
|
|
|
7142
7194
|
|
|
7143
7195
|
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";
|
|
7144
7196
|
|
|
7145
|
-
var _excluded$
|
|
7197
|
+
var _excluded$r = ["src", "className", "children", "onClick", "showIconOnFailure"];
|
|
7146
7198
|
|
|
7147
7199
|
var Image$1 = function Image(_ref) {
|
|
7148
7200
|
var src = _ref.src,
|
|
@@ -7152,7 +7204,7 @@ var Image$1 = function Image(_ref) {
|
|
|
7152
7204
|
onClick = _ref.onClick,
|
|
7153
7205
|
_ref$showIconOnFailur = _ref.showIconOnFailure,
|
|
7154
7206
|
showIconOnFailure = _ref$showIconOnFailur === void 0 ? true : _ref$showIconOnFailur,
|
|
7155
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7207
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
7156
7208
|
|
|
7157
7209
|
var _useState = React.useState(false),
|
|
7158
7210
|
isError = _useState[0],
|
|
@@ -7688,7 +7740,7 @@ var TagGroup = function TagGroup(_ref) {
|
|
|
7688
7740
|
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}";
|
|
7689
7741
|
styleInject(css_248z$q);
|
|
7690
7742
|
|
|
7691
|
-
var _excluded$
|
|
7743
|
+
var _excluded$s = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
|
|
7692
7744
|
var RESIZE_TYPES = {
|
|
7693
7745
|
NONE: "none",
|
|
7694
7746
|
BOTH: "both",
|
|
@@ -7732,7 +7784,7 @@ function Textarea(props) {
|
|
|
7732
7784
|
onKeyPress = props.onKeyPress,
|
|
7733
7785
|
_onKeyDown = props.onKeyDown,
|
|
7734
7786
|
onCtrlEnter = props.onCtrlEnter,
|
|
7735
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
7787
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$s);
|
|
7736
7788
|
|
|
7737
7789
|
var style;
|
|
7738
7790
|
|
|
@@ -7915,7 +7967,7 @@ var Timeline = function Timeline(props) {
|
|
|
7915
7967
|
}, props.loadMoreButtonProps)));
|
|
7916
7968
|
};
|
|
7917
7969
|
|
|
7918
|
-
var _excluded$
|
|
7970
|
+
var _excluded$t = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
|
|
7919
7971
|
function ViewItem(_ref) {
|
|
7920
7972
|
var titleProps = _ref.titleProps,
|
|
7921
7973
|
title = _ref.title,
|
|
@@ -7926,7 +7978,7 @@ function ViewItem(_ref) {
|
|
|
7926
7978
|
defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
|
|
7927
7979
|
className = _ref.className,
|
|
7928
7980
|
buttons = _ref.buttons,
|
|
7929
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7981
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
7930
7982
|
|
|
7931
7983
|
var titlePropsMerged = titleProps != null ? titleProps : {
|
|
7932
7984
|
text: title != null ? title : defaultContent
|
|
@@ -8029,7 +8081,7 @@ var isRequired = function isRequired(options) {
|
|
|
8029
8081
|
return !!(options && "required" in options);
|
|
8030
8082
|
};
|
|
8031
8083
|
|
|
8032
|
-
var _excluded$
|
|
8084
|
+
var _excluded$u = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8033
8085
|
/**
|
|
8034
8086
|
* Input field that can be used in any react-hook-form context.
|
|
8035
8087
|
*/
|
|
@@ -8043,7 +8095,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
8043
8095
|
label = _ref.label,
|
|
8044
8096
|
info = _ref.info,
|
|
8045
8097
|
decoratorClassname = _ref.decoratorClassname,
|
|
8046
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8098
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
8047
8099
|
|
|
8048
8100
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8049
8101
|
name: name,
|
|
@@ -8066,7 +8118,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
8066
8118
|
}));
|
|
8067
8119
|
});
|
|
8068
8120
|
|
|
8069
|
-
var _excluded$
|
|
8121
|
+
var _excluded$v = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8070
8122
|
/**
|
|
8071
8123
|
* Radio Group that can be used in any react-hook-form context.
|
|
8072
8124
|
*/
|
|
@@ -8080,7 +8132,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
8080
8132
|
label = _ref.label,
|
|
8081
8133
|
info = _ref.info,
|
|
8082
8134
|
decoratorClassname = _ref.decoratorClassname,
|
|
8083
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8135
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
8084
8136
|
|
|
8085
8137
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8086
8138
|
name: name,
|
|
@@ -8107,7 +8159,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
8107
8159
|
}));
|
|
8108
8160
|
});
|
|
8109
8161
|
|
|
8110
|
-
var _excluded$
|
|
8162
|
+
var _excluded$w = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8111
8163
|
|
|
8112
8164
|
var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8113
8165
|
var control = _ref.control,
|
|
@@ -8118,7 +8170,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
8118
8170
|
label = _ref.label,
|
|
8119
8171
|
info = _ref.info,
|
|
8120
8172
|
decoratorClassname = _ref.decoratorClassname,
|
|
8121
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8173
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
8122
8174
|
|
|
8123
8175
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8124
8176
|
name: name,
|
|
@@ -8140,7 +8192,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
8140
8192
|
}));
|
|
8141
8193
|
});
|
|
8142
8194
|
|
|
8143
|
-
var _excluded$
|
|
8195
|
+
var _excluded$x = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8144
8196
|
|
|
8145
8197
|
var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8146
8198
|
var control = _ref.control,
|
|
@@ -8151,7 +8203,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
|
|
|
8151
8203
|
label = _ref.label,
|
|
8152
8204
|
info = _ref.info,
|
|
8153
8205
|
decoratorClassname = _ref.decoratorClassname,
|
|
8154
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8206
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
8155
8207
|
|
|
8156
8208
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8157
8209
|
name: name,
|
|
@@ -8190,7 +8242,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
|
|
|
8190
8242
|
}));
|
|
8191
8243
|
});
|
|
8192
8244
|
|
|
8193
|
-
var _excluded$
|
|
8245
|
+
var _excluded$y = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8194
8246
|
var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8195
8247
|
var control = _ref.control,
|
|
8196
8248
|
name = _ref.name,
|
|
@@ -8200,7 +8252,7 @@ var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, i
|
|
|
8200
8252
|
label = _ref.label,
|
|
8201
8253
|
info = _ref.info,
|
|
8202
8254
|
decoratorClassname = _ref.decoratorClassname,
|
|
8203
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8255
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
8204
8256
|
|
|
8205
8257
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8206
8258
|
name: name,
|
|
@@ -8657,5 +8709,6 @@ exports.Title = Title;
|
|
|
8657
8709
|
exports.Toaster = Toaster;
|
|
8658
8710
|
exports.ViewItem = ViewItem;
|
|
8659
8711
|
exports.WarningIcon = WarningIcon;
|
|
8712
|
+
exports.getDndListItemProps = getDndListItemProps;
|
|
8660
8713
|
exports.toast = toast;
|
|
8661
8714
|
//# sourceMappingURL=web-ui.cjs.development.js.map
|