@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
package/dist/web-ui.esm.js
CHANGED
|
@@ -2489,13 +2489,61 @@ function isIconKey(key) {
|
|
|
2489
2489
|
return false;
|
|
2490
2490
|
}
|
|
2491
2491
|
|
|
2492
|
-
|
|
2492
|
+
// You should be able to just use a non-registered Symbol as a key in a WeakMap
|
|
2493
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
|
|
2494
|
+
// TS doesn't allow it (registered and non-registered Symbols are both of type symbol), so we have to use an object
|
|
2495
|
+
var draggableListItemPropsPointer = {
|
|
2496
|
+
symbol: /*#__PURE__*/Symbol("draggable-list-item-props")
|
|
2497
|
+
};
|
|
2498
|
+
var createDraggableListProps = function createDraggableListProps(_ref) {
|
|
2499
|
+
var itemId = _ref.itemId,
|
|
2500
|
+
title = _ref.title,
|
|
2501
|
+
subtitle = _ref.subtitle,
|
|
2502
|
+
icon = _ref.icon,
|
|
2503
|
+
isDraggable = _ref.isDraggable,
|
|
2504
|
+
isSelected = _ref.isSelected;
|
|
2505
|
+
return new WeakMap([[draggableListItemPropsPointer, Object.freeze({
|
|
2506
|
+
itemId: itemId,
|
|
2507
|
+
title: title,
|
|
2508
|
+
subtitle: subtitle,
|
|
2509
|
+
icon: icon,
|
|
2510
|
+
isDraggable: isDraggable,
|
|
2511
|
+
isSelected: isSelected
|
|
2512
|
+
})]]);
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2515
|
+
var isDraggableListItemProps = function isDraggableListItemProps(subject) {
|
|
2516
|
+
if (subject instanceof WeakMap) {
|
|
2517
|
+
return subject.has(draggableListItemPropsPointer);
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
return false;
|
|
2521
|
+
};
|
|
2522
|
+
|
|
2523
|
+
var draggableListPropsKey = "listItem";
|
|
2524
|
+
var getDndListItemProps = function getDndListItemProps(subject) {
|
|
2525
|
+
var _subject$data, _subject$data$current, _possibleDraggableLis;
|
|
2526
|
+
|
|
2527
|
+
var possibleDraggableListItemProps = (_subject$data = subject.data) == null ? void 0 : (_subject$data$current = _subject$data.current) == null ? void 0 : _subject$data$current[draggableListPropsKey];
|
|
2528
|
+
|
|
2529
|
+
if (!isDraggableListItemProps(possibleDraggableListItemProps)) {
|
|
2530
|
+
return null;
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
return (_possibleDraggableLis = possibleDraggableListItemProps.get(draggableListItemPropsPointer)) != null ? _possibleDraggableLis : null;
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2536
|
+
var _excluded$3 = ["draggableData"];
|
|
2537
|
+
var DraggableBaseListItem = function DraggableBaseListItem(_ref) {
|
|
2538
|
+
var _data;
|
|
2539
|
+
|
|
2540
|
+
var draggableData = _ref.draggableData,
|
|
2541
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2542
|
+
|
|
2493
2543
|
var _useDraggable = useDraggable({
|
|
2494
2544
|
id: props.draggableIdentifier,
|
|
2495
2545
|
disabled: !props.isDraggable,
|
|
2496
|
-
data: {
|
|
2497
|
-
item: props
|
|
2498
|
-
}
|
|
2546
|
+
data: (_data = {}, _data[draggableListPropsKey] = createDraggableListProps(props), _data.draggableData = draggableData, _data)
|
|
2499
2547
|
}),
|
|
2500
2548
|
setNodeRef = _useDraggable.setNodeRef,
|
|
2501
2549
|
listeners = _useDraggable.listeners,
|
|
@@ -2519,10 +2567,10 @@ var DraggableBaseListItem = function DraggableBaseListItem(props) {
|
|
|
2519
2567
|
}));
|
|
2520
2568
|
};
|
|
2521
2569
|
|
|
2522
|
-
var _excluded$
|
|
2570
|
+
var _excluded$4 = ["items"];
|
|
2523
2571
|
var DraggableBaseList = function DraggableBaseList(_ref) {
|
|
2524
2572
|
var items = _ref.items,
|
|
2525
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2573
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
2526
2574
|
|
|
2527
2575
|
return /*#__PURE__*/React__default.createElement(BaseList, _extends({}, props, {
|
|
2528
2576
|
items: items,
|
|
@@ -2530,7 +2578,7 @@ var DraggableBaseList = function DraggableBaseList(_ref) {
|
|
|
2530
2578
|
}));
|
|
2531
2579
|
};
|
|
2532
2580
|
|
|
2533
|
-
var _excluded$
|
|
2581
|
+
var _excluded$5 = ["draggableIdentifier", "disabled", "data", "dataTestId", "onClick"];
|
|
2534
2582
|
|
|
2535
2583
|
var DefaultState = function DefaultState(_ref) {
|
|
2536
2584
|
var icon = _ref.icon,
|
|
@@ -2592,7 +2640,7 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2592
2640
|
data = _ref3.data,
|
|
2593
2641
|
dataTestId = _ref3.dataTestId,
|
|
2594
2642
|
onClick = _ref3.onClick,
|
|
2595
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded$
|
|
2643
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded$5);
|
|
2596
2644
|
|
|
2597
2645
|
var _useDroppable = useDroppable({
|
|
2598
2646
|
id: identifier,
|
|
@@ -2621,13 +2669,17 @@ var Dropzone = function Dropzone(_ref3) {
|
|
|
2621
2669
|
return presentation;
|
|
2622
2670
|
};
|
|
2623
2671
|
|
|
2624
|
-
var
|
|
2672
|
+
var _excluded$6 = ["draggableData"];
|
|
2673
|
+
var SortableBaseListItem = function SortableBaseListItem(_ref) {
|
|
2674
|
+
var _data;
|
|
2675
|
+
|
|
2676
|
+
var draggableData = _ref.draggableData,
|
|
2677
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
2678
|
+
|
|
2625
2679
|
var _useSortable = useSortable({
|
|
2626
2680
|
id: props.draggableIdentifier,
|
|
2627
2681
|
disabled: !props.isDraggable,
|
|
2628
|
-
data: {
|
|
2629
|
-
item: props
|
|
2630
|
-
}
|
|
2682
|
+
data: (_data = {}, _data[draggableListPropsKey] = createDraggableListProps(props), _data.draggableData = draggableData, _data)
|
|
2631
2683
|
}),
|
|
2632
2684
|
setNodeRef = _useSortable.setNodeRef,
|
|
2633
2685
|
listeners = _useSortable.listeners,
|
|
@@ -2689,11 +2741,11 @@ var SortableBaseListItem = function SortableBaseListItem(props) {
|
|
|
2689
2741
|
}));
|
|
2690
2742
|
};
|
|
2691
2743
|
|
|
2692
|
-
var _excluded$
|
|
2744
|
+
var _excluded$7 = ["draggableIdentifier", "items"];
|
|
2693
2745
|
var SortableBaseList = function SortableBaseList(_ref) {
|
|
2694
2746
|
var draggableIdentifier = _ref.draggableIdentifier,
|
|
2695
2747
|
items = _ref.items,
|
|
2696
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2748
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
2697
2749
|
|
|
2698
2750
|
return /*#__PURE__*/React__default.createElement(SortableContext, {
|
|
2699
2751
|
id: draggableIdentifier,
|
|
@@ -2716,13 +2768,13 @@ var ListItem = function ListItem(props) {
|
|
|
2716
2768
|
return /*#__PURE__*/React__default.createElement(BaseListItem, _extends({}, props));
|
|
2717
2769
|
};
|
|
2718
2770
|
|
|
2719
|
-
var _excluded$
|
|
2771
|
+
var _excluded$8 = ["items", "onDragEnd", "onAssetLoadError"];
|
|
2720
2772
|
|
|
2721
2773
|
var DefaultList = function DefaultList(_ref) {
|
|
2722
2774
|
var items = _ref.items,
|
|
2723
2775
|
onDragEnd = _ref.onDragEnd,
|
|
2724
2776
|
onAssetLoadError = _ref.onAssetLoadError,
|
|
2725
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2777
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
2726
2778
|
|
|
2727
2779
|
var listRef = useRef(null);
|
|
2728
2780
|
var dragulaRef = useRef(null);
|
|
@@ -2809,7 +2861,7 @@ var List = function List(props) {
|
|
|
2809
2861
|
var css_248z$5 = ".input::-ms-clear {\n display: none;\n}";
|
|
2810
2862
|
styleInject(css_248z$5);
|
|
2811
2863
|
|
|
2812
|
-
var _excluded$
|
|
2864
|
+
var _excluded$9 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
|
|
2813
2865
|
// Don't know why yet but it can be fixed later.
|
|
2814
2866
|
|
|
2815
2867
|
var INPUT_TYPES = {
|
|
@@ -2839,7 +2891,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
2839
2891
|
onChange = _ref.onChange,
|
|
2840
2892
|
isError = _ref.isError,
|
|
2841
2893
|
asFormField = _ref.asFormField,
|
|
2842
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2894
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2843
2895
|
|
|
2844
2896
|
var hasNoExtraContent = withPrefix === "" && withSuffix === "";
|
|
2845
2897
|
|
|
@@ -2982,7 +3034,7 @@ var Spinner = function Spinner(props) {
|
|
|
2982
3034
|
}));
|
|
2983
3035
|
};
|
|
2984
3036
|
|
|
2985
|
-
var _excluded$
|
|
3037
|
+
var _excluded$a = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
|
|
2986
3038
|
var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
2987
3039
|
var onClick = _ref.onClick,
|
|
2988
3040
|
text = _ref.text,
|
|
@@ -2992,7 +3044,7 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
2992
3044
|
isDisabled = _ref.isDisabled,
|
|
2993
3045
|
isPending = _ref.isPending,
|
|
2994
3046
|
className = _ref.className,
|
|
2995
|
-
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3047
|
+
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
2996
3048
|
|
|
2997
3049
|
function handleClick(event) {
|
|
2998
3050
|
event.stopPropagation();
|
|
@@ -3124,7 +3176,7 @@ var img$5 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
|
|
|
3124
3176
|
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}";
|
|
3125
3177
|
styleInject(css_248z$6);
|
|
3126
3178
|
|
|
3127
|
-
var _excluded$
|
|
3179
|
+
var _excluded$b = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
|
|
3128
3180
|
function LoadingIndicator(_ref) {
|
|
3129
3181
|
var _ref$asModal = _ref.asModal,
|
|
3130
3182
|
asModal = _ref$asModal === void 0 ? false : _ref$asModal,
|
|
@@ -3136,7 +3188,7 @@ function LoadingIndicator(_ref) {
|
|
|
3136
3188
|
spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
|
|
3137
3189
|
_ref$dataTestId = _ref.dataTestId,
|
|
3138
3190
|
dataTestId = _ref$dataTestId === void 0 ? "loading-indicator" : _ref$dataTestId,
|
|
3139
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3191
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
3140
3192
|
|
|
3141
3193
|
var spinnerToRender = spinnerColor === "blue" ? img$4 : img$5;
|
|
3142
3194
|
var containerClassName = classNames("cweb-loading", className, {
|
|
@@ -3155,7 +3207,7 @@ function LoadingIndicator(_ref) {
|
|
|
3155
3207
|
}));
|
|
3156
3208
|
}
|
|
3157
3209
|
|
|
3158
|
-
var _excluded$
|
|
3210
|
+
var _excluded$c = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
|
|
3159
3211
|
var AccordionList = function AccordionList(_ref) {
|
|
3160
3212
|
var _ref$localisations = _ref.localisations,
|
|
3161
3213
|
title = _ref$localisations.title,
|
|
@@ -3169,7 +3221,7 @@ var AccordionList = function AccordionList(_ref) {
|
|
|
3169
3221
|
isSearchEnabled = _ref$isSearchEnabled === void 0 ? false : _ref$isSearchEnabled,
|
|
3170
3222
|
_ref$isLoading = _ref.isLoading,
|
|
3171
3223
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
3172
|
-
accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3224
|
+
accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
3173
3225
|
|
|
3174
3226
|
var _useState = useState(""),
|
|
3175
3227
|
searchString = _useState[0],
|
|
@@ -3551,7 +3603,7 @@ var BUTTON_ROLES = {
|
|
|
3551
3603
|
ICON: "icon"
|
|
3552
3604
|
};
|
|
3553
3605
|
|
|
3554
|
-
var _excluded$
|
|
3606
|
+
var _excluded$d = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
|
|
3555
3607
|
|
|
3556
3608
|
function Button(props) {
|
|
3557
3609
|
var _props$text = props.text,
|
|
@@ -3576,7 +3628,7 @@ function Button(props) {
|
|
|
3576
3628
|
_props$hasIcon = props.hasIcon,
|
|
3577
3629
|
hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
|
|
3578
3630
|
dynamicIcon = props.dynamicIcon,
|
|
3579
|
-
otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$
|
|
3631
|
+
otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$d);
|
|
3580
3632
|
|
|
3581
3633
|
var hasAddIcon = className.includes("add-button");
|
|
3582
3634
|
var hasEditIcon = className.includes("edit-button");
|
|
@@ -4039,7 +4091,7 @@ NotificationBanner.defaultProps = {
|
|
|
4039
4091
|
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";
|
|
4040
4092
|
styleInject(css_248z$a);
|
|
4041
4093
|
|
|
4042
|
-
var _excluded$
|
|
4094
|
+
var _excluded$e = ["text", "info", "isError", "innerRef", "className", "name"];
|
|
4043
4095
|
|
|
4044
4096
|
function RadioInner(_ref) {
|
|
4045
4097
|
var text = _ref.text,
|
|
@@ -4048,7 +4100,7 @@ function RadioInner(_ref) {
|
|
|
4048
4100
|
innerRef = _ref.innerRef,
|
|
4049
4101
|
className = _ref.className,
|
|
4050
4102
|
name = _ref.name,
|
|
4051
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4103
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
4052
4104
|
|
|
4053
4105
|
var value = otherProps.value,
|
|
4054
4106
|
disabled = otherProps.disabled;
|
|
@@ -4101,14 +4153,14 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
4101
4153
|
}));
|
|
4102
4154
|
});
|
|
4103
4155
|
|
|
4104
|
-
var _excluded$
|
|
4156
|
+
var _excluded$f = ["innerRef", "options", "defaultValue", "title"];
|
|
4105
4157
|
|
|
4106
4158
|
function RadioGroupInner(_ref) {
|
|
4107
4159
|
var innerRef = _ref.innerRef,
|
|
4108
4160
|
options = _ref.options,
|
|
4109
4161
|
defaultValue = _ref.defaultValue,
|
|
4110
4162
|
title = _ref.title,
|
|
4111
|
-
registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4163
|
+
registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
4112
4164
|
|
|
4113
4165
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
4114
4166
|
className: classNames("flex flex-col space-y-2"),
|
|
@@ -4181,11 +4233,11 @@ var ConfirmationDialogMessage = function ConfirmationDialogMessage(props) {
|
|
|
4181
4233
|
}));
|
|
4182
4234
|
};
|
|
4183
4235
|
|
|
4184
|
-
var _excluded$
|
|
4236
|
+
var _excluded$g = ["dataTestId"];
|
|
4185
4237
|
var ConfirmationDialog = function ConfirmationDialog(_ref) {
|
|
4186
4238
|
var _ref$dataTestId = _ref.dataTestId,
|
|
4187
4239
|
dataTestId = _ref$dataTestId === void 0 ? "confirmation-dialog-modal" : _ref$dataTestId,
|
|
4188
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4240
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
4189
4241
|
|
|
4190
4242
|
var choices = props.choices;
|
|
4191
4243
|
|
|
@@ -4249,7 +4301,7 @@ var ConfirmationDialog = function ConfirmationDialog(_ref) {
|
|
|
4249
4301
|
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}";
|
|
4250
4302
|
styleInject(css_248z$b);
|
|
4251
4303
|
|
|
4252
|
-
var _excluded$
|
|
4304
|
+
var _excluded$h = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
|
|
4253
4305
|
|
|
4254
4306
|
var Datepicker = /*#__PURE__*/function (_Component) {
|
|
4255
4307
|
_inheritsLoose(Datepicker, _Component);
|
|
@@ -4304,7 +4356,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
|
|
|
4304
4356
|
_this$props2$isDisabl = _this$props2.isDisabled,
|
|
4305
4357
|
isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
|
|
4306
4358
|
selected = _this$props2.selected,
|
|
4307
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$
|
|
4359
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$h);
|
|
4308
4360
|
|
|
4309
4361
|
var dateFormat = this.getDateFormat();
|
|
4310
4362
|
var pickerClassName = classNames("cweb-datepicker text-slate-800 text-sm", className);
|
|
@@ -4365,7 +4417,7 @@ var img$g = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
|
|
|
4365
4417
|
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}";
|
|
4366
4418
|
styleInject(css_248z$c);
|
|
4367
4419
|
|
|
4368
|
-
var _excluded$
|
|
4420
|
+
var _excluded$i = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
|
|
4369
4421
|
var ITEM_QUERY_FIELD_NAMES = {
|
|
4370
4422
|
ID: "id",
|
|
4371
4423
|
HIGHLIGHT_INDEX: "highlightIndex"
|
|
@@ -4637,7 +4689,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
4637
4689
|
_this$props$placehold = _this$props.placeholder,
|
|
4638
4690
|
placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
|
|
4639
4691
|
className = _this$props.className,
|
|
4640
|
-
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$
|
|
4692
|
+
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$i);
|
|
4641
4693
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
4642
4694
|
|
|
4643
4695
|
|
|
@@ -4732,7 +4784,7 @@ Dropdown.propTypes = {
|
|
|
4732
4784
|
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}";
|
|
4733
4785
|
styleInject(css_248z$d);
|
|
4734
4786
|
|
|
4735
|
-
var _excluded$
|
|
4787
|
+
var _excluded$j = ["message", "className"];
|
|
4736
4788
|
ErrorBlock.propTypes = {
|
|
4737
4789
|
message: PropTypes.string.isRequired,
|
|
4738
4790
|
className: PropTypes.string
|
|
@@ -4742,7 +4794,7 @@ function ErrorBlock(_ref) {
|
|
|
4742
4794
|
var message = _ref.message,
|
|
4743
4795
|
_ref$className = _ref.className,
|
|
4744
4796
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
4745
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4797
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
4746
4798
|
|
|
4747
4799
|
var containerClassName = classNames("cweb-error-block", className);
|
|
4748
4800
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -5076,7 +5128,7 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
|
|
|
5076
5128
|
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}";
|
|
5077
5129
|
styleInject(css_248z$f);
|
|
5078
5130
|
|
|
5079
|
-
var _excluded$
|
|
5131
|
+
var _excluded$k = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
|
|
5080
5132
|
|
|
5081
5133
|
function generateCustomStyles(hasError, isIE11) {
|
|
5082
5134
|
return {
|
|
@@ -5197,7 +5249,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5197
5249
|
width = _ref$width === void 0 ? "full" : _ref$width,
|
|
5198
5250
|
isMulti = _ref.isMulti,
|
|
5199
5251
|
className = _ref.className,
|
|
5200
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5252
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
5201
5253
|
|
|
5202
5254
|
var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
|
|
5203
5255
|
var customStyles = generateCustomStyles(isError, isIE11);
|
|
@@ -5395,7 +5447,7 @@ var TableFooter = function TableFooter(props) {
|
|
|
5395
5447
|
}, props.paginationMenuProps)))));
|
|
5396
5448
|
};
|
|
5397
5449
|
|
|
5398
|
-
var _excluded$
|
|
5450
|
+
var _excluded$l = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
|
|
5399
5451
|
function Table(_ref) {
|
|
5400
5452
|
var items = _ref.items,
|
|
5401
5453
|
fieldConfigurations = _ref.fieldConfigurations,
|
|
@@ -5409,7 +5461,7 @@ function Table(_ref) {
|
|
|
5409
5461
|
onRowClick = _ref.onRowClick,
|
|
5410
5462
|
className = _ref.className,
|
|
5411
5463
|
dataTestId = _ref.dataTestId,
|
|
5412
|
-
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5464
|
+
otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
5413
5465
|
|
|
5414
5466
|
// For not displaying empty view at creation
|
|
5415
5467
|
var _useState = useState(true),
|
|
@@ -6363,7 +6415,7 @@ Page.propTypes = {
|
|
|
6363
6415
|
navLayoutProps: PropTypes.object
|
|
6364
6416
|
};
|
|
6365
6417
|
|
|
6366
|
-
var _excluded$
|
|
6418
|
+
var _excluded$m = ["text", "type", "className"];
|
|
6367
6419
|
var TITLE_TYPE_OPTIONS = {
|
|
6368
6420
|
DEFAULT: "default",
|
|
6369
6421
|
BIG: "big",
|
|
@@ -6382,7 +6434,7 @@ function LegacyTitle(_ref) {
|
|
|
6382
6434
|
type = _ref.type,
|
|
6383
6435
|
_ref$className = _ref.className,
|
|
6384
6436
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
6385
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6437
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
|
6386
6438
|
|
|
6387
6439
|
var ContainerElement;
|
|
6388
6440
|
var containerClassName = classNames("cweb-title", className, {
|
|
@@ -6769,7 +6821,7 @@ Radio.propTypes = {
|
|
|
6769
6821
|
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}";
|
|
6770
6822
|
styleInject(css_248z$m);
|
|
6771
6823
|
|
|
6772
|
-
var _excluded$
|
|
6824
|
+
var _excluded$n = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
|
|
6773
6825
|
/**
|
|
6774
6826
|
* @deprecated: use RadioV2 instead
|
|
6775
6827
|
*/
|
|
@@ -6784,7 +6836,7 @@ function RadioGroup(_ref) {
|
|
|
6784
6836
|
onChange = _ref.onChange,
|
|
6785
6837
|
error = _ref.error,
|
|
6786
6838
|
isDisabled = _ref.isDisabled,
|
|
6787
|
-
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6839
|
+
otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
6788
6840
|
|
|
6789
6841
|
var containerClassName = classNames("cweb-radio-group", {
|
|
6790
6842
|
vertical: isVertical
|
|
@@ -6830,7 +6882,7 @@ RadioGroup.propTypes = {
|
|
|
6830
6882
|
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}";
|
|
6831
6883
|
styleInject(css_248z$n);
|
|
6832
6884
|
|
|
6833
|
-
var _excluded$
|
|
6885
|
+
var _excluded$o = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
|
|
6834
6886
|
function Section(_ref) {
|
|
6835
6887
|
var title = _ref.title,
|
|
6836
6888
|
buttons = _ref.buttons,
|
|
@@ -6840,7 +6892,7 @@ function Section(_ref) {
|
|
|
6840
6892
|
_ref$isLoading = _ref.isLoading,
|
|
6841
6893
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
6842
6894
|
loadingIndicatorProps = _ref.loadingIndicatorProps,
|
|
6843
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6895
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
6844
6896
|
|
|
6845
6897
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, restProps, {
|
|
6846
6898
|
className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
|
|
@@ -6871,12 +6923,12 @@ function Section(_ref) {
|
|
|
6871
6923
|
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}";
|
|
6872
6924
|
styleInject(css_248z$o);
|
|
6873
6925
|
|
|
6874
|
-
var _excluded$
|
|
6926
|
+
var _excluded$p = ["children", "className", "onClick"];
|
|
6875
6927
|
var SectionItem = function SectionItem(props) {
|
|
6876
6928
|
var children = props.children,
|
|
6877
6929
|
className = props.className,
|
|
6878
6930
|
onClick = props.onClick,
|
|
6879
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6931
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$p);
|
|
6880
6932
|
|
|
6881
6933
|
var classes = classNames("cweb-list-item", className, {
|
|
6882
6934
|
"cweb-list-item-clickable": !!onClick
|
|
@@ -6887,7 +6939,7 @@ var SectionItem = function SectionItem(props) {
|
|
|
6887
6939
|
}, rest), children);
|
|
6888
6940
|
};
|
|
6889
6941
|
|
|
6890
|
-
var _excluded$
|
|
6942
|
+
var _excluded$q = ["text", "icon", "className", "iconClass", "onClick"];
|
|
6891
6943
|
|
|
6892
6944
|
function SectionItemWithContent(props) {
|
|
6893
6945
|
var text = props.text,
|
|
@@ -6895,7 +6947,7 @@ function SectionItemWithContent(props) {
|
|
|
6895
6947
|
className = props.className,
|
|
6896
6948
|
iconClass = props.iconClass,
|
|
6897
6949
|
onClick = props.onClick,
|
|
6898
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6950
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$q);
|
|
6899
6951
|
|
|
6900
6952
|
var mergedClasses = classNames("cweb-section-text-item", className);
|
|
6901
6953
|
var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
|
|
@@ -7134,7 +7186,7 @@ Switcher.propTypes = {
|
|
|
7134
7186
|
|
|
7135
7187
|
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";
|
|
7136
7188
|
|
|
7137
|
-
var _excluded$
|
|
7189
|
+
var _excluded$r = ["src", "className", "children", "onClick", "showIconOnFailure"];
|
|
7138
7190
|
|
|
7139
7191
|
var Image$1 = function Image(_ref) {
|
|
7140
7192
|
var src = _ref.src,
|
|
@@ -7144,7 +7196,7 @@ var Image$1 = function Image(_ref) {
|
|
|
7144
7196
|
onClick = _ref.onClick,
|
|
7145
7197
|
_ref$showIconOnFailur = _ref.showIconOnFailure,
|
|
7146
7198
|
showIconOnFailure = _ref$showIconOnFailur === void 0 ? true : _ref$showIconOnFailur,
|
|
7147
|
-
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7199
|
+
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
7148
7200
|
|
|
7149
7201
|
var _useState = useState(false),
|
|
7150
7202
|
isError = _useState[0],
|
|
@@ -7680,7 +7732,7 @@ var TagGroup = function TagGroup(_ref) {
|
|
|
7680
7732
|
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}";
|
|
7681
7733
|
styleInject(css_248z$q);
|
|
7682
7734
|
|
|
7683
|
-
var _excluded$
|
|
7735
|
+
var _excluded$s = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
|
|
7684
7736
|
var RESIZE_TYPES = {
|
|
7685
7737
|
NONE: "none",
|
|
7686
7738
|
BOTH: "both",
|
|
@@ -7724,7 +7776,7 @@ function Textarea(props) {
|
|
|
7724
7776
|
onKeyPress = props.onKeyPress,
|
|
7725
7777
|
_onKeyDown = props.onKeyDown,
|
|
7726
7778
|
onCtrlEnter = props.onCtrlEnter,
|
|
7727
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
7779
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$s);
|
|
7728
7780
|
|
|
7729
7781
|
var style;
|
|
7730
7782
|
|
|
@@ -7907,7 +7959,7 @@ var Timeline = function Timeline(props) {
|
|
|
7907
7959
|
}, props.loadMoreButtonProps)));
|
|
7908
7960
|
};
|
|
7909
7961
|
|
|
7910
|
-
var _excluded$
|
|
7962
|
+
var _excluded$t = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
|
|
7911
7963
|
function ViewItem(_ref) {
|
|
7912
7964
|
var titleProps = _ref.titleProps,
|
|
7913
7965
|
title = _ref.title,
|
|
@@ -7918,7 +7970,7 @@ function ViewItem(_ref) {
|
|
|
7918
7970
|
defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
|
|
7919
7971
|
className = _ref.className,
|
|
7920
7972
|
buttons = _ref.buttons,
|
|
7921
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7973
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
7922
7974
|
|
|
7923
7975
|
var titlePropsMerged = titleProps != null ? titleProps : {
|
|
7924
7976
|
text: title != null ? title : defaultContent
|
|
@@ -8021,7 +8073,7 @@ var isRequired = function isRequired(options) {
|
|
|
8021
8073
|
return !!(options && "required" in options);
|
|
8022
8074
|
};
|
|
8023
8075
|
|
|
8024
|
-
var _excluded$
|
|
8076
|
+
var _excluded$u = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8025
8077
|
/**
|
|
8026
8078
|
* Input field that can be used in any react-hook-form context.
|
|
8027
8079
|
*/
|
|
@@ -8035,7 +8087,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
8035
8087
|
label = _ref.label,
|
|
8036
8088
|
info = _ref.info,
|
|
8037
8089
|
decoratorClassname = _ref.decoratorClassname,
|
|
8038
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8090
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
8039
8091
|
|
|
8040
8092
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8041
8093
|
name: name,
|
|
@@ -8058,7 +8110,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
8058
8110
|
}));
|
|
8059
8111
|
});
|
|
8060
8112
|
|
|
8061
|
-
var _excluded$
|
|
8113
|
+
var _excluded$v = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8062
8114
|
/**
|
|
8063
8115
|
* Radio Group that can be used in any react-hook-form context.
|
|
8064
8116
|
*/
|
|
@@ -8072,7 +8124,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
8072
8124
|
label = _ref.label,
|
|
8073
8125
|
info = _ref.info,
|
|
8074
8126
|
decoratorClassname = _ref.decoratorClassname,
|
|
8075
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8127
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
8076
8128
|
|
|
8077
8129
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8078
8130
|
name: name,
|
|
@@ -8099,7 +8151,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
|
|
|
8099
8151
|
}));
|
|
8100
8152
|
});
|
|
8101
8153
|
|
|
8102
|
-
var _excluded$
|
|
8154
|
+
var _excluded$w = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8103
8155
|
|
|
8104
8156
|
var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8105
8157
|
var control = _ref.control,
|
|
@@ -8110,7 +8162,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
8110
8162
|
label = _ref.label,
|
|
8111
8163
|
info = _ref.info,
|
|
8112
8164
|
decoratorClassname = _ref.decoratorClassname,
|
|
8113
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8165
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
8114
8166
|
|
|
8115
8167
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8116
8168
|
name: name,
|
|
@@ -8132,7 +8184,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
|
|
|
8132
8184
|
}));
|
|
8133
8185
|
});
|
|
8134
8186
|
|
|
8135
|
-
var _excluded$
|
|
8187
|
+
var _excluded$x = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8136
8188
|
|
|
8137
8189
|
var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8138
8190
|
var control = _ref.control,
|
|
@@ -8143,7 +8195,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
|
|
|
8143
8195
|
label = _ref.label,
|
|
8144
8196
|
info = _ref.info,
|
|
8145
8197
|
decoratorClassname = _ref.decoratorClassname,
|
|
8146
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8198
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
8147
8199
|
|
|
8148
8200
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8149
8201
|
name: name,
|
|
@@ -8182,7 +8234,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
|
|
|
8182
8234
|
}));
|
|
8183
8235
|
});
|
|
8184
8236
|
|
|
8185
|
-
var _excluded$
|
|
8237
|
+
var _excluded$y = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
|
|
8186
8238
|
var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
8187
8239
|
var control = _ref.control,
|
|
8188
8240
|
name = _ref.name,
|
|
@@ -8192,7 +8244,7 @@ var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, i
|
|
|
8192
8244
|
label = _ref.label,
|
|
8193
8245
|
info = _ref.info,
|
|
8194
8246
|
decoratorClassname = _ref.decoratorClassname,
|
|
8195
|
-
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8247
|
+
fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
8196
8248
|
|
|
8197
8249
|
return /*#__PURE__*/React__default.createElement(FormFieldLabeler, {
|
|
8198
8250
|
name: name,
|
|
@@ -8529,5 +8581,5 @@ var Card = function Card(_ref) {
|
|
|
8529
8581
|
}), children);
|
|
8530
8582
|
};
|
|
8531
8583
|
|
|
8532
|
-
export { AccordionList, AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Card, Carousel, CenteredHero, ChartIcon, ChartLineColoredIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, CheckboxListModal, ChevronDoubleIcon, ChevronDownIcon, ChevronRightIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, Divider, DownArrowIcon, DragIcon, Dropdown, Dropzone, EditIcon, EmptyIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, FlexColumn, FlexRow, Form, FullPageModal, GearColoredIcon, GearIcon, GenericForm, GroupColoredIcon, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, Icon, ImageIcon, ImagePicker, InfoBlock, InfoField, InfoIcon, Input, LeftArrowIcon, LightBulbIcon, Line, LinkIcon, List, ListItem, LoadingIndicator, LockIcon, Menu, MessagesIcon, Modal, MouseIcon, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, StatusColoredIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, WarningIcon, toast };
|
|
8584
|
+
export { AccordionList, AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Card, Carousel, CenteredHero, ChartIcon, ChartLineColoredIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, CheckboxListModal, ChevronDoubleIcon, ChevronDownIcon, ChevronRightIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, Divider, DownArrowIcon, DragIcon, Dropdown, Dropzone, EditIcon, EmptyIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, FlexColumn, FlexRow, Form, FullPageModal, GearColoredIcon, GearIcon, GenericForm, GroupColoredIcon, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, Icon, ImageIcon, ImagePicker, InfoBlock, InfoField, InfoIcon, Input, LeftArrowIcon, LightBulbIcon, Line, LinkIcon, List, ListItem, LoadingIndicator, LockIcon, Menu, MessagesIcon, Modal, MouseIcon, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, StatusColoredIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, WarningIcon, getDndListItemProps, toast };
|
|
8533
8585
|
//# sourceMappingURL=web-ui.esm.js.map
|