@sawport/react-sdk 1.2.5-alpha.3 → 1.2.5-alpha.4
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/README.md +121 -57
- package/dist/index.js +571 -331
- package/dist/index.standalone.js +6 -6
- package/dist/index.umd.js +6 -6
- package/dist/react-sdk.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,14 +99,14 @@ function requireClassnames() {
|
|
|
99
99
|
}
|
|
100
100
|
var classnamesExports = requireClassnames();
|
|
101
101
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
102
|
-
function _extends$
|
|
103
|
-
return _extends$
|
|
102
|
+
function _extends$l() {
|
|
103
|
+
return _extends$l = Object.assign ? Object.assign.bind() : function(n2) {
|
|
104
104
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
105
105
|
var t2 = arguments[e2];
|
|
106
106
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
107
107
|
}
|
|
108
108
|
return n2;
|
|
109
|
-
}, _extends$
|
|
109
|
+
}, _extends$l.apply(null, arguments);
|
|
110
110
|
}
|
|
111
111
|
function _typeof(o2) {
|
|
112
112
|
"@babel/helpers - typeof";
|
|
@@ -1126,7 +1126,7 @@ function ResizeObserver$1(props, ref2) {
|
|
|
1126
1126
|
var childNodes = typeof children === "function" ? [children] : toArray$8(children);
|
|
1127
1127
|
return childNodes.map(function(child, index2) {
|
|
1128
1128
|
var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index2);
|
|
1129
|
-
return /* @__PURE__ */ React.createElement(RefSingleObserver, _extends$
|
|
1129
|
+
return /* @__PURE__ */ React.createElement(RefSingleObserver, _extends$l({}, props, {
|
|
1130
1130
|
key,
|
|
1131
1131
|
ref: index2 === 0 ? ref2 : void 0
|
|
1132
1132
|
}), child);
|
|
@@ -2685,7 +2685,7 @@ function useStyleRegister(info, styleFn) {
|
|
|
2685
2685
|
if (!ssrInline || isMergedClientSide || !defaultCache) {
|
|
2686
2686
|
styleNode = /* @__PURE__ */ React.createElement(Empty$2, null);
|
|
2687
2687
|
} else {
|
|
2688
|
-
styleNode = /* @__PURE__ */ React.createElement("style", _extends$
|
|
2688
|
+
styleNode = /* @__PURE__ */ React.createElement("style", _extends$l({}, _defineProperty$1(_defineProperty$1({}, ATTR_TOKEN, cachedTokenKey), ATTR_MARK, cachedStyleId), {
|
|
2689
2689
|
dangerouslySetInnerHTML: {
|
|
2690
2690
|
__html: cachedStyleStr
|
|
2691
2691
|
}
|
|
@@ -6026,7 +6026,7 @@ function genCSSMotionList(transitionSupport) {
|
|
|
6026
6026
|
return /* @__PURE__ */ React.createElement(Component, restProps, keyEntities.map(function(_ref2, index2) {
|
|
6027
6027
|
var status = _ref2.status, eventProps = _objectWithoutProperties(_ref2, _excluded2$7);
|
|
6028
6028
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
|
6029
|
-
return /* @__PURE__ */ React.createElement(CSSMotion$1, _extends$
|
|
6029
|
+
return /* @__PURE__ */ React.createElement(CSSMotion$1, _extends$l({}, motionProps, {
|
|
6030
6030
|
key: eventProps.key,
|
|
6031
6031
|
visible,
|
|
6032
6032
|
eventProps,
|
|
@@ -6623,7 +6623,7 @@ var Icon$4 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
6623
6623
|
transform: "rotate(".concat(rotate, "deg)")
|
|
6624
6624
|
} : void 0;
|
|
6625
6625
|
var _normalizeTwoToneColo = normalizeTwoToneColors$1(twoToneColor), _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2), primaryColor = _normalizeTwoToneColo2[0], secondaryColor = _normalizeTwoToneColo2[1];
|
|
6626
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
6626
|
+
return /* @__PURE__ */ React.createElement("span", _extends$l({
|
|
6627
6627
|
role: "img",
|
|
6628
6628
|
"aria-label": icon.name
|
|
6629
6629
|
}, restProps, {
|
|
@@ -6642,44 +6642,44 @@ Icon$4.displayName = "AntdIcon";
|
|
|
6642
6642
|
Icon$4.getTwoToneColor = getTwoToneColor$1;
|
|
6643
6643
|
Icon$4.setTwoToneColor = setTwoToneColor$1;
|
|
6644
6644
|
var CheckCircleFilled = function CheckCircleFilled2(props, ref2) {
|
|
6645
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
6645
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
6646
6646
|
ref: ref2,
|
|
6647
6647
|
icon: CheckCircleFilled$1
|
|
6648
6648
|
}));
|
|
6649
6649
|
};
|
|
6650
|
-
var RefIcon$
|
|
6650
|
+
var RefIcon$v = /* @__PURE__ */ React.forwardRef(CheckCircleFilled);
|
|
6651
6651
|
var CloseCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
6652
6652
|
var CloseCircleFilled = function CloseCircleFilled2(props, ref2) {
|
|
6653
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
6653
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
6654
6654
|
ref: ref2,
|
|
6655
6655
|
icon: CloseCircleFilled$1
|
|
6656
6656
|
}));
|
|
6657
6657
|
};
|
|
6658
|
-
var RefIcon$
|
|
6658
|
+
var RefIcon$u = /* @__PURE__ */ React.forwardRef(CloseCircleFilled);
|
|
6659
6659
|
var CloseOutlined$3 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
|
|
6660
6660
|
var CloseOutlined$2 = function CloseOutlined2(props, ref2) {
|
|
6661
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
6661
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
6662
6662
|
ref: ref2,
|
|
6663
6663
|
icon: CloseOutlined$3
|
|
6664
6664
|
}));
|
|
6665
6665
|
};
|
|
6666
|
-
var RefIcon$
|
|
6666
|
+
var RefIcon$t = /* @__PURE__ */ React.forwardRef(CloseOutlined$2);
|
|
6667
6667
|
var ExclamationCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
|
|
6668
6668
|
var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref2) {
|
|
6669
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
6669
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
6670
6670
|
ref: ref2,
|
|
6671
6671
|
icon: ExclamationCircleFilled$1
|
|
6672
6672
|
}));
|
|
6673
6673
|
};
|
|
6674
|
-
var RefIcon$
|
|
6674
|
+
var RefIcon$s = /* @__PURE__ */ React.forwardRef(ExclamationCircleFilled);
|
|
6675
6675
|
var InfoCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "info-circle", "theme": "filled" };
|
|
6676
6676
|
var InfoCircleFilled = function InfoCircleFilled2(props, ref2) {
|
|
6677
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
6677
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
6678
6678
|
ref: ref2,
|
|
6679
6679
|
icon: InfoCircleFilled$1
|
|
6680
6680
|
}));
|
|
6681
6681
|
};
|
|
6682
|
-
var RefIcon$
|
|
6682
|
+
var RefIcon$r = /* @__PURE__ */ React.forwardRef(InfoCircleFilled);
|
|
6683
6683
|
var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap";
|
|
6684
6684
|
var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError";
|
|
6685
6685
|
var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/);
|
|
@@ -6912,10 +6912,10 @@ var __rest$E = function(s2, e2) {
|
|
|
6912
6912
|
return t2;
|
|
6913
6913
|
};
|
|
6914
6914
|
const iconMapFilled = {
|
|
6915
|
-
success: RefIcon$
|
|
6916
|
-
info: RefIcon$
|
|
6917
|
-
error: RefIcon$
|
|
6918
|
-
warning: RefIcon$
|
|
6915
|
+
success: RefIcon$v,
|
|
6916
|
+
info: RefIcon$r,
|
|
6917
|
+
error: RefIcon$u,
|
|
6918
|
+
warning: RefIcon$s
|
|
6919
6919
|
};
|
|
6920
6920
|
const IconNode = (props) => {
|
|
6921
6921
|
const {
|
|
@@ -6943,7 +6943,7 @@ const CloseIconNode = (props) => {
|
|
|
6943
6943
|
handleClose,
|
|
6944
6944
|
ariaProps
|
|
6945
6945
|
} = props;
|
|
6946
|
-
const mergedCloseIcon = closeIcon2 === true || closeIcon2 === void 0 ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
6946
|
+
const mergedCloseIcon = closeIcon2 === true || closeIcon2 === void 0 ? /* @__PURE__ */ React.createElement(RefIcon$t, null) : closeIcon2;
|
|
6947
6947
|
return isClosable ? /* @__PURE__ */ React.createElement("button", Object.assign({
|
|
6948
6948
|
type: "button",
|
|
6949
6949
|
onClick: handleClose,
|
|
@@ -7379,12 +7379,12 @@ var KeyCode = {
|
|
|
7379
7379
|
};
|
|
7380
7380
|
var LoadingOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, "name": "loading", "theme": "outlined" };
|
|
7381
7381
|
var LoadingOutlined = function LoadingOutlined2(props, ref2) {
|
|
7382
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
7382
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
7383
7383
|
ref: ref2,
|
|
7384
7384
|
icon: LoadingOutlined$1
|
|
7385
7385
|
}));
|
|
7386
7386
|
};
|
|
7387
|
-
var RefIcon$
|
|
7387
|
+
var RefIcon$q = /* @__PURE__ */ React.forwardRef(LoadingOutlined);
|
|
7388
7388
|
const zIndexContext = /* @__PURE__ */ React__default.createContext(void 0);
|
|
7389
7389
|
const CONTAINER_OFFSET = 100;
|
|
7390
7390
|
const CONTAINER_OFFSET_MAX_COUNT = 10;
|
|
@@ -8404,7 +8404,7 @@ const InnerLoadingIcon = /* @__PURE__ */ forwardRef((props, ref2) => {
|
|
|
8404
8404
|
className: mergedIconCls,
|
|
8405
8405
|
style: style2,
|
|
8406
8406
|
ref: ref2
|
|
8407
|
-
}, /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
8407
|
+
}, /* @__PURE__ */ React__default.createElement(RefIcon$q, {
|
|
8408
8408
|
className: iconClassName
|
|
8409
8409
|
}));
|
|
8410
8410
|
});
|
|
@@ -8694,12 +8694,12 @@ let AggregationColor = /* @__PURE__ */ (function() {
|
|
|
8694
8694
|
})();
|
|
8695
8695
|
var RightOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
|
|
8696
8696
|
var RightOutlined = function RightOutlined2(props, ref2) {
|
|
8697
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
8697
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
8698
8698
|
ref: ref2,
|
|
8699
8699
|
icon: RightOutlined$1
|
|
8700
8700
|
}));
|
|
8701
8701
|
};
|
|
8702
|
-
var RefIcon$
|
|
8702
|
+
var RefIcon$p = /* @__PURE__ */ React.forwardRef(RightOutlined);
|
|
8703
8703
|
const genCollapseMotion = (token2) => ({
|
|
8704
8704
|
[token2.componentCls]: {
|
|
8705
8705
|
// For common/openAnimation
|
|
@@ -10657,7 +10657,7 @@ var Panel = /* @__PURE__ */ React__default.forwardRef(function(props, ref2) {
|
|
|
10657
10657
|
}, [closable, closeIcon2, prefixCls]);
|
|
10658
10658
|
var ariaProps = pickAttrs(closableObj, true);
|
|
10659
10659
|
var closeBtnIsDisabled = _typeof(closable) === "object" && closable.disabled;
|
|
10660
|
-
var closerNode = closable ? /* @__PURE__ */ React__default.createElement("button", _extends$
|
|
10660
|
+
var closerNode = closable ? /* @__PURE__ */ React__default.createElement("button", _extends$l({
|
|
10661
10661
|
type: "button",
|
|
10662
10662
|
onClick: onClose,
|
|
10663
10663
|
"aria-label": "Close"
|
|
@@ -10668,7 +10668,7 @@ var Panel = /* @__PURE__ */ React__default.forwardRef(function(props, ref2) {
|
|
|
10668
10668
|
var content = /* @__PURE__ */ React__default.createElement("div", {
|
|
10669
10669
|
className: classNames("".concat(prefixCls, "-content"), modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.content),
|
|
10670
10670
|
style: modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.content
|
|
10671
|
-
}, closerNode, headerNode, /* @__PURE__ */ React__default.createElement("div", _extends$
|
|
10671
|
+
}, closerNode, headerNode, /* @__PURE__ */ React__default.createElement("div", _extends$l({
|
|
10672
10672
|
className: classNames("".concat(prefixCls, "-body"), modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.body),
|
|
10673
10673
|
style: _objectSpread2(_objectSpread2({}, bodyStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.body)
|
|
10674
10674
|
}, bodyProps), children), footerNode);
|
|
@@ -10717,7 +10717,7 @@ var Content = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
10717
10717
|
ref: dialogRef
|
|
10718
10718
|
}, function(_ref, motionRef) {
|
|
10719
10719
|
var motionClassName = _ref.className, motionStyle = _ref.style;
|
|
10720
|
-
return /* @__PURE__ */ React.createElement(Panel, _extends$
|
|
10720
|
+
return /* @__PURE__ */ React.createElement(Panel, _extends$l({}, props, {
|
|
10721
10721
|
ref: ref2,
|
|
10722
10722
|
title,
|
|
10723
10723
|
ariaId,
|
|
@@ -10738,7 +10738,7 @@ var Mask$1 = function Mask(props) {
|
|
|
10738
10738
|
leavedClassName: "".concat(prefixCls, "-mask-hidden")
|
|
10739
10739
|
}, function(_ref, ref2) {
|
|
10740
10740
|
var motionClassName = _ref.className, motionStyle = _ref.style;
|
|
10741
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
10741
|
+
return /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
10742
10742
|
ref: ref2,
|
|
10743
10743
|
style: _objectSpread2(_objectSpread2({}, motionStyle), style2),
|
|
10744
10744
|
className: classNames("".concat(prefixCls, "-mask"), motionClassName, className)
|
|
@@ -10833,7 +10833,7 @@ var Dialog = function Dialog2(props) {
|
|
|
10833
10833
|
}, wrapStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.wrapper), {}, {
|
|
10834
10834
|
display: !animatedVisible ? "none" : null
|
|
10835
10835
|
});
|
|
10836
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
10836
|
+
return /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
10837
10837
|
className: classNames("".concat(prefixCls, "-root"), rootClassName)
|
|
10838
10838
|
}, pickAttrs(props, {
|
|
10839
10839
|
data: true
|
|
@@ -10846,14 +10846,14 @@ var Dialog = function Dialog2(props) {
|
|
|
10846
10846
|
}, maskStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.mask),
|
|
10847
10847
|
maskProps,
|
|
10848
10848
|
className: modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.mask
|
|
10849
|
-
}), /* @__PURE__ */ React.createElement("div", _extends$
|
|
10849
|
+
}), /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
10850
10850
|
tabIndex: -1,
|
|
10851
10851
|
onKeyDown: onWrapperKeyDown,
|
|
10852
10852
|
className: classNames("".concat(prefixCls, "-wrap"), wrapClassName, modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.wrapper),
|
|
10853
10853
|
ref: wrapperRef,
|
|
10854
10854
|
onClick: onWrapperClick,
|
|
10855
10855
|
style: mergedStyle
|
|
10856
|
-
}, wrapProps), /* @__PURE__ */ React.createElement(Content, _extends$
|
|
10856
|
+
}, wrapProps), /* @__PURE__ */ React.createElement(Content, _extends$l({}, props, {
|
|
10857
10857
|
onMouseDown: onContentMouseDown,
|
|
10858
10858
|
onMouseUp: onContentMouseUp,
|
|
10859
10859
|
ref: contentRef,
|
|
@@ -10889,7 +10889,7 @@ var DialogWrap = function DialogWrap2(props) {
|
|
|
10889
10889
|
autoDestroy: false,
|
|
10890
10890
|
getContainer: getContainer2,
|
|
10891
10891
|
autoLock: visible || animatedVisible
|
|
10892
|
-
}, /* @__PURE__ */ React.createElement(Dialog, _extends$
|
|
10892
|
+
}, /* @__PURE__ */ React.createElement(Dialog, _extends$l({}, props, {
|
|
10893
10893
|
destroyOnClose,
|
|
10894
10894
|
afterClose: function afterClose() {
|
|
10895
10895
|
_afterClose === null || _afterClose === void 0 || _afterClose();
|
|
@@ -12793,7 +12793,7 @@ function WrapperField(_ref6) {
|
|
|
12793
12793
|
if (!isMergedListField) {
|
|
12794
12794
|
key = "_".concat((namePath || []).join("_"));
|
|
12795
12795
|
}
|
|
12796
|
-
return /* @__PURE__ */ React.createElement(Field, _extends$
|
|
12796
|
+
return /* @__PURE__ */ React.createElement(Field, _extends$l({
|
|
12797
12797
|
key,
|
|
12798
12798
|
name: namePath,
|
|
12799
12799
|
isListField: isMergedListField
|
|
@@ -13889,7 +13889,7 @@ var Form$2 = function Form(_ref, ref2) {
|
|
|
13889
13889
|
if (Component === false) {
|
|
13890
13890
|
return wrapperNode;
|
|
13891
13891
|
}
|
|
13892
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
13892
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$l({}, restProps, {
|
|
13893
13893
|
ref: nativeElementRef,
|
|
13894
13894
|
onSubmit: function onSubmit(event) {
|
|
13895
13895
|
event.preventDefault();
|
|
@@ -14082,7 +14082,7 @@ function useClosable(propCloseCollection, contextCloseCollection, fallbackCloseC
|
|
|
14082
14082
|
const [contextLocale] = useLocale$1("global", localeValues.global);
|
|
14083
14083
|
const closeBtnIsDisabled = typeof propCloseConfig !== "boolean" ? !!(propCloseConfig === null || propCloseConfig === void 0 ? void 0 : propCloseConfig.disabled) : false;
|
|
14084
14084
|
const mergedFallbackCloseCollection = React__default.useMemo(() => Object.assign({
|
|
14085
|
-
closeIcon: /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
14085
|
+
closeIcon: /* @__PURE__ */ React__default.createElement(RefIcon$t, null)
|
|
14086
14086
|
}, fallbackCloseCollection), [fallbackCloseCollection]);
|
|
14087
14087
|
const mergedClosableConfig = React__default.useMemo(() => {
|
|
14088
14088
|
if (propCloseConfig === false) {
|
|
@@ -14804,7 +14804,7 @@ const NormalOkBtn = () => {
|
|
|
14804
14804
|
function renderCloseIcon(prefixCls, closeIcon2) {
|
|
14805
14805
|
return /* @__PURE__ */ React__default.createElement("span", {
|
|
14806
14806
|
className: `${prefixCls}-close-x`
|
|
14807
|
-
}, closeIcon2 || /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
14807
|
+
}, closeIcon2 || /* @__PURE__ */ React__default.createElement(RefIcon$t, {
|
|
14808
14808
|
className: `${prefixCls}-close-icon`
|
|
14809
14809
|
}));
|
|
14810
14810
|
}
|
|
@@ -15388,7 +15388,7 @@ const Modal$1 = (props) => {
|
|
|
15388
15388
|
})) : null;
|
|
15389
15389
|
const [mergedClosable, mergedCloseIcon, closeBtnIsDisabled, ariaProps] = useClosable(pickClosable(props), pickClosable(modalContext), {
|
|
15390
15390
|
closable: true,
|
|
15391
|
-
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$
|
|
15391
|
+
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$t, {
|
|
15392
15392
|
className: `${prefixCls}-close-icon`
|
|
15393
15393
|
}),
|
|
15394
15394
|
closeIconRender: (icon) => renderCloseIcon(prefixCls, icon)
|
|
@@ -15576,16 +15576,16 @@ function ConfirmContent(props) {
|
|
|
15576
15576
|
if (!icon && icon !== null) {
|
|
15577
15577
|
switch (type4) {
|
|
15578
15578
|
case "info":
|
|
15579
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
15579
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$r, null);
|
|
15580
15580
|
break;
|
|
15581
15581
|
case "success":
|
|
15582
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
15582
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$v, null);
|
|
15583
15583
|
break;
|
|
15584
15584
|
case "error":
|
|
15585
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
15585
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$u, null);
|
|
15586
15586
|
break;
|
|
15587
15587
|
default:
|
|
15588
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
15588
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$s, null);
|
|
15589
15589
|
}
|
|
15590
15590
|
}
|
|
15591
15591
|
const mergedOkCancel = okCancel !== null && okCancel !== void 0 ? okCancel : type4 === "confirm";
|
|
@@ -16259,7 +16259,7 @@ function InternalItem(props, ref2) {
|
|
|
16259
16259
|
if (mergedHidden) {
|
|
16260
16260
|
overflowProps["aria-hidden"] = true;
|
|
16261
16261
|
}
|
|
16262
|
-
var itemNode = /* @__PURE__ */ React.createElement(Component, _extends$
|
|
16262
|
+
var itemNode = /* @__PURE__ */ React.createElement(Component, _extends$l({
|
|
16263
16263
|
className: classNames(!invalidate && prefixCls, className),
|
|
16264
16264
|
style: _objectSpread2(_objectSpread2({}, overflowStyle), style2)
|
|
16265
16265
|
}, overflowProps, restProps, {
|
|
@@ -16322,7 +16322,7 @@ var InternalRawItem = function InternalRawItem2(props, ref2) {
|
|
|
16322
16322
|
var context = React.useContext(OverflowContext);
|
|
16323
16323
|
if (!context) {
|
|
16324
16324
|
var _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _restProps = _objectWithoutProperties(props, _excluded$t);
|
|
16325
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
16325
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$l({}, _restProps, {
|
|
16326
16326
|
ref: ref2
|
|
16327
16327
|
}));
|
|
16328
16328
|
}
|
|
@@ -16330,7 +16330,7 @@ var InternalRawItem = function InternalRawItem2(props, ref2) {
|
|
|
16330
16330
|
var className = props.className, restProps = _objectWithoutProperties(props, _excluded3$1);
|
|
16331
16331
|
return /* @__PURE__ */ React.createElement(OverflowContext.Provider, {
|
|
16332
16332
|
value: null
|
|
16333
|
-
}, /* @__PURE__ */ React.createElement(Item$2, _extends$
|
|
16333
|
+
}, /* @__PURE__ */ React.createElement(Item$2, _extends$l({
|
|
16334
16334
|
ref: ref2,
|
|
16335
16335
|
className: classNames(contextClassName, className)
|
|
16336
16336
|
}, restContext, restProps)));
|
|
@@ -16499,7 +16499,7 @@ function Overflow(props, ref2) {
|
|
|
16499
16499
|
}, renderRawItem(item, index2));
|
|
16500
16500
|
} : function(item, index2) {
|
|
16501
16501
|
var key = getKey2(item, index2);
|
|
16502
|
-
return /* @__PURE__ */ React.createElement(Item$2, _extends$
|
|
16502
|
+
return /* @__PURE__ */ React.createElement(Item$2, _extends$l({}, itemSharedProps, {
|
|
16503
16503
|
order: index2,
|
|
16504
16504
|
key,
|
|
16505
16505
|
item,
|
|
@@ -16518,12 +16518,12 @@ function Overflow(props, ref2) {
|
|
|
16518
16518
|
var mergedRenderRest = renderRest || defaultRenderRest;
|
|
16519
16519
|
var restNode = renderRawRest ? /* @__PURE__ */ React.createElement(OverflowContext.Provider, {
|
|
16520
16520
|
value: _objectSpread2(_objectSpread2({}, itemSharedProps), restContextProps)
|
|
16521
|
-
}, renderRawRest(omittedItems)) : /* @__PURE__ */ React.createElement(Item$2, _extends$
|
|
16522
|
-
var overflowNode = /* @__PURE__ */ React.createElement(Component, _extends$
|
|
16521
|
+
}, renderRawRest(omittedItems)) : /* @__PURE__ */ React.createElement(Item$2, _extends$l({}, itemSharedProps, restContextProps), typeof mergedRenderRest === "function" ? mergedRenderRest(omittedItems) : mergedRenderRest);
|
|
16522
|
+
var overflowNode = /* @__PURE__ */ React.createElement(Component, _extends$l({
|
|
16523
16523
|
className: classNames(!invalidate && prefixCls, className),
|
|
16524
16524
|
style: style2,
|
|
16525
16525
|
ref: ref2
|
|
16526
|
-
}, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /* @__PURE__ */ React.createElement(Item$2, _extends$
|
|
16526
|
+
}, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /* @__PURE__ */ React.createElement(Item$2, _extends$l({}, itemSharedProps, {
|
|
16527
16527
|
responsive: isResponsive,
|
|
16528
16528
|
responsiveDisabled: !shouldResponsive,
|
|
16529
16529
|
order: mergedDisplayCount,
|
|
@@ -16924,7 +16924,7 @@ var Selector = function Selector2(props, ref2) {
|
|
|
16924
16924
|
onInputCompositionEnd,
|
|
16925
16925
|
onInputBlur
|
|
16926
16926
|
};
|
|
16927
|
-
var selectNode = mode === "multiple" || mode === "tags" ? /* @__PURE__ */ React.createElement(SelectSelector, _extends$
|
|
16927
|
+
var selectNode = mode === "multiple" || mode === "tags" ? /* @__PURE__ */ React.createElement(SelectSelector, _extends$l({}, props, sharedProps)) : /* @__PURE__ */ React.createElement(SingleSelector$1, _extends$l({}, props, sharedProps));
|
|
16928
16928
|
return /* @__PURE__ */ React.createElement("div", {
|
|
16929
16929
|
ref: domRef,
|
|
16930
16930
|
className: "".concat(prefixCls, "-selector"),
|
|
@@ -16979,7 +16979,7 @@ function Mask2(props) {
|
|
|
16979
16979
|
if (!mask) {
|
|
16980
16980
|
return null;
|
|
16981
16981
|
}
|
|
16982
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
16982
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$l({}, motion, {
|
|
16983
16983
|
motionAppear: true,
|
|
16984
16984
|
visible: open2,
|
|
16985
16985
|
removeOnLeave: true
|
|
@@ -17073,7 +17073,7 @@ var Popup$2 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
17073
17073
|
onResize: onAlign,
|
|
17074
17074
|
disabled: !open2
|
|
17075
17075
|
}, function(resizeObserverRef) {
|
|
17076
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
17076
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$l({
|
|
17077
17077
|
motionAppear: true,
|
|
17078
17078
|
motionEnter: true,
|
|
17079
17079
|
motionLeave: true,
|
|
@@ -18137,7 +18137,7 @@ var SelectTrigger = function SelectTrigger2(props, ref2) {
|
|
|
18137
18137
|
}
|
|
18138
18138
|
};
|
|
18139
18139
|
});
|
|
18140
|
-
return /* @__PURE__ */ React.createElement(Trigger, _extends$
|
|
18140
|
+
return /* @__PURE__ */ React.createElement(Trigger, _extends$l({}, restProps, {
|
|
18141
18141
|
showAction: onPopupVisibleChange ? ["click"] : [],
|
|
18142
18142
|
hideAction: onPopupVisibleChange ? ["click"] : [],
|
|
18143
18143
|
popupPlacement: placement || (direction === "rtl" ? "bottomRight" : "bottomLeft"),
|
|
@@ -18626,7 +18626,7 @@ var BaseSelect = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
18626
18626
|
onPopupMouseEnter
|
|
18627
18627
|
}, customizeRawInputElement ? /* @__PURE__ */ React.cloneElement(customizeRawInputElement, {
|
|
18628
18628
|
ref: customizeRawInputRef
|
|
18629
|
-
}) : /* @__PURE__ */ React.createElement(ForwardSelector, _extends$
|
|
18629
|
+
}) : /* @__PURE__ */ React.createElement(ForwardSelector, _extends$l({}, props, {
|
|
18630
18630
|
domRef: selectorDomRef,
|
|
18631
18631
|
prefixCls,
|
|
18632
18632
|
inputElement: customizeInputElement,
|
|
@@ -18653,7 +18653,7 @@ var BaseSelect = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
18653
18653
|
if (customizeRawInputElement) {
|
|
18654
18654
|
renderNode = selectorNode;
|
|
18655
18655
|
} else {
|
|
18656
|
-
renderNode = /* @__PURE__ */ React.createElement("div", _extends$
|
|
18656
|
+
renderNode = /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
18657
18657
|
className: mergedClassName
|
|
18658
18658
|
}, domProps, {
|
|
18659
18659
|
ref: containerRef,
|
|
@@ -18705,7 +18705,7 @@ var Filler = /* @__PURE__ */ React.forwardRef(function(_ref, ref2) {
|
|
|
18705
18705
|
onInnerResize();
|
|
18706
18706
|
}
|
|
18707
18707
|
}
|
|
18708
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
18708
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
18709
18709
|
style: innerStyle,
|
|
18710
18710
|
className: classNames(_defineProperty$1({}, "".concat(prefixCls, "-holder-inner"), prefixCls)),
|
|
18711
18711
|
ref: ref2
|
|
@@ -19822,7 +19822,7 @@ function RawList(props, ref2) {
|
|
|
19822
19822
|
if (isRTL) {
|
|
19823
19823
|
containerProps.dir = "rtl";
|
|
19824
19824
|
}
|
|
19825
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
19825
|
+
return /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
19826
19826
|
ref: containerRef,
|
|
19827
19827
|
style: _objectSpread2(_objectSpread2({}, style2), {}, {
|
|
19828
19828
|
position: "relative"
|
|
@@ -20075,7 +20075,7 @@ var OptionList = function OptionList2(_2, ref2) {
|
|
|
20075
20075
|
var group = item.group;
|
|
20076
20076
|
var attrs = pickAttrs(itemData, true);
|
|
20077
20077
|
var mergedLabel = getLabel(item);
|
|
20078
|
-
return item ? /* @__PURE__ */ React.createElement("div", _extends$
|
|
20078
|
+
return item ? /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
20079
20079
|
"aria-label": typeof mergedLabel === "string" && !group ? mergedLabel : null
|
|
20080
20080
|
}, attrs, {
|
|
20081
20081
|
key: index2
|
|
@@ -20087,7 +20087,7 @@ var OptionList = function OptionList2(_2, ref2) {
|
|
|
20087
20087
|
role: "listbox",
|
|
20088
20088
|
id: "".concat(id2, "_list")
|
|
20089
20089
|
};
|
|
20090
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, virtual && /* @__PURE__ */ React.createElement("div", _extends$
|
|
20090
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, virtual && /* @__PURE__ */ React.createElement("div", _extends$l({}, a11yProps, {
|
|
20091
20091
|
style: {
|
|
20092
20092
|
height: 0,
|
|
20093
20093
|
width: 0,
|
|
@@ -20131,7 +20131,7 @@ var OptionList = function OptionList2(_2, ref2) {
|
|
|
20131
20131
|
if (title !== void 0) {
|
|
20132
20132
|
optionTitle = title;
|
|
20133
20133
|
}
|
|
20134
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
20134
|
+
return /* @__PURE__ */ React.createElement("div", _extends$l({}, pickAttrs(passedProps), !virtual ? getItemAriaProps(item, itemIndex) : {}, {
|
|
20135
20135
|
"aria-selected": isAriaSelected(value),
|
|
20136
20136
|
className: optionClassName,
|
|
20137
20137
|
title: optionTitle,
|
|
@@ -20640,7 +20640,7 @@ var Select$1 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
20640
20640
|
}, [maxCount, parsedOptions, displayOptions, onActiveValue, mergedDefaultActiveFirstOption, onInternalSelect, menuItemSelectedIcon, rawValues, mergedFieldNames, virtual, dropdownMatchSelectWidth, direction, listHeight, listItemHeight, childrenAsData, optionRender]);
|
|
20641
20641
|
return /* @__PURE__ */ React.createElement(SelectContext.Provider, {
|
|
20642
20642
|
value: selectContext
|
|
20643
|
-
}, /* @__PURE__ */ React.createElement(BaseSelect, _extends$
|
|
20643
|
+
}, /* @__PURE__ */ React.createElement(BaseSelect, _extends$l({}, restProps, {
|
|
20644
20644
|
// >>> MISC
|
|
20645
20645
|
id: mergedId,
|
|
20646
20646
|
prefixCls,
|
|
@@ -22078,28 +22078,28 @@ const useSelectStyle = genStyleHooks("Select", (token2, {
|
|
|
22078
22078
|
});
|
|
22079
22079
|
var CheckOutlined$3 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
|
|
22080
22080
|
var CheckOutlined$2 = function CheckOutlined2(props, ref2) {
|
|
22081
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
22081
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
22082
22082
|
ref: ref2,
|
|
22083
22083
|
icon: CheckOutlined$3
|
|
22084
22084
|
}));
|
|
22085
22085
|
};
|
|
22086
|
-
var RefIcon$
|
|
22086
|
+
var RefIcon$o = /* @__PURE__ */ React.forwardRef(CheckOutlined$2);
|
|
22087
22087
|
var DownOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
22088
22088
|
var DownOutlined = function DownOutlined2(props, ref2) {
|
|
22089
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
22089
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
22090
22090
|
ref: ref2,
|
|
22091
22091
|
icon: DownOutlined$1
|
|
22092
22092
|
}));
|
|
22093
22093
|
};
|
|
22094
|
-
var RefIcon$
|
|
22094
|
+
var RefIcon$n = /* @__PURE__ */ React.forwardRef(DownOutlined);
|
|
22095
22095
|
var SearchOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
22096
22096
|
var SearchOutlined = function SearchOutlined2(props, ref2) {
|
|
22097
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
22097
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
22098
22098
|
ref: ref2,
|
|
22099
22099
|
icon: SearchOutlined$1
|
|
22100
22100
|
}));
|
|
22101
22101
|
};
|
|
22102
|
-
var RefIcon$
|
|
22102
|
+
var RefIcon$m = /* @__PURE__ */ React.forwardRef(SearchOutlined);
|
|
22103
22103
|
function useIcons$1({
|
|
22104
22104
|
suffixIcon,
|
|
22105
22105
|
clearIcon,
|
|
@@ -22114,7 +22114,7 @@ function useIcons$1({
|
|
|
22114
22114
|
showArrow,
|
|
22115
22115
|
componentName
|
|
22116
22116
|
}) {
|
|
22117
|
-
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ React.createElement(RefIcon$
|
|
22117
|
+
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ React.createElement(RefIcon$u, null);
|
|
22118
22118
|
const getSuffixIconNode = (arrowIcon) => {
|
|
22119
22119
|
if (suffixIcon === null && !hasFeedback && !showArrow) {
|
|
22120
22120
|
return null;
|
|
@@ -22125,7 +22125,7 @@ function useIcons$1({
|
|
|
22125
22125
|
if (suffixIcon !== void 0) {
|
|
22126
22126
|
mergedSuffixIcon = getSuffixIconNode(suffixIcon);
|
|
22127
22127
|
} else if (loading) {
|
|
22128
|
-
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
22128
|
+
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$q, {
|
|
22129
22129
|
spin: true
|
|
22130
22130
|
}));
|
|
22131
22131
|
} else {
|
|
@@ -22135,11 +22135,11 @@ function useIcons$1({
|
|
|
22135
22135
|
showSearch
|
|
22136
22136
|
}) => {
|
|
22137
22137
|
if (open2 && showSearch) {
|
|
22138
|
-
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
22138
|
+
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$m, {
|
|
22139
22139
|
className: iconCls
|
|
22140
22140
|
}));
|
|
22141
22141
|
}
|
|
22142
|
-
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
22142
|
+
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$n, {
|
|
22143
22143
|
className: iconCls
|
|
22144
22144
|
}));
|
|
22145
22145
|
};
|
|
@@ -22148,7 +22148,7 @@ function useIcons$1({
|
|
|
22148
22148
|
if (menuItemSelectedIcon !== void 0) {
|
|
22149
22149
|
mergedItemIcon = menuItemSelectedIcon;
|
|
22150
22150
|
} else if (multiple) {
|
|
22151
|
-
mergedItemIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
22151
|
+
mergedItemIcon = /* @__PURE__ */ React.createElement(RefIcon$o, null);
|
|
22152
22152
|
} else {
|
|
22153
22153
|
mergedItemIcon = null;
|
|
22154
22154
|
}
|
|
@@ -22156,7 +22156,7 @@ function useIcons$1({
|
|
|
22156
22156
|
if (removeIcon !== void 0) {
|
|
22157
22157
|
mergedRemoveIcon = removeIcon;
|
|
22158
22158
|
} else {
|
|
22159
|
-
mergedRemoveIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
22159
|
+
mergedRemoveIcon = /* @__PURE__ */ React.createElement(RefIcon$t, null);
|
|
22160
22160
|
}
|
|
22161
22161
|
return {
|
|
22162
22162
|
clearIcon: mergedClearIcon,
|
|
@@ -22896,7 +22896,7 @@ var Tooltip$1 = function Tooltip(props, ref2) {
|
|
|
22896
22896
|
});
|
|
22897
22897
|
return /* @__PURE__ */ React.cloneElement(children, childProps);
|
|
22898
22898
|
};
|
|
22899
|
-
return /* @__PURE__ */ React.createElement(Trigger, _extends$
|
|
22899
|
+
return /* @__PURE__ */ React.createElement(Trigger, _extends$l({
|
|
22900
22900
|
popupClassName: classNames(overlayClassName, tooltipClassNames === null || tooltipClassNames === void 0 ? void 0 : tooltipClassNames.root),
|
|
22901
22901
|
prefixCls,
|
|
22902
22902
|
popup: getPopupElement,
|
|
@@ -24062,12 +24062,12 @@ const Avatar = Avatar$1;
|
|
|
24062
24062
|
Avatar.Group = AvatarGroup;
|
|
24063
24063
|
var LeftOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" };
|
|
24064
24064
|
var LeftOutlined = function LeftOutlined2(props, ref2) {
|
|
24065
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
24065
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
24066
24066
|
ref: ref2,
|
|
24067
24067
|
icon: LeftOutlined$1
|
|
24068
24068
|
}));
|
|
24069
24069
|
};
|
|
24070
|
-
var RefIcon$
|
|
24070
|
+
var RefIcon$l = /* @__PURE__ */ React.forwardRef(LeftOutlined);
|
|
24071
24071
|
var ESC$1 = KeyCode.ESC, TAB = KeyCode.TAB;
|
|
24072
24072
|
function useAccessibility$1(_ref) {
|
|
24073
24073
|
var visible = _ref.visible, triggerRef = _ref.triggerRef, onVisibleChange = _ref.onVisibleChange, autoFocus = _ref.autoFocus, overlayRef = _ref.overlayRef;
|
|
@@ -24250,7 +24250,7 @@ function Dropdown$2(props, ref2) {
|
|
|
24250
24250
|
if (!triggerHideAction && trigger.indexOf("contextMenu") !== -1) {
|
|
24251
24251
|
triggerHideAction = ["click"];
|
|
24252
24252
|
}
|
|
24253
|
-
return /* @__PURE__ */ React__default.createElement(Trigger, _extends$
|
|
24253
|
+
return /* @__PURE__ */ React__default.createElement(Trigger, _extends$l({
|
|
24254
24254
|
builtinPlacements: placements2
|
|
24255
24255
|
}, otherProps, {
|
|
24256
24256
|
prefixCls,
|
|
@@ -24750,7 +24750,7 @@ var LegacyMenuItem = /* @__PURE__ */ (function(_React$Component) {
|
|
|
24750
24750
|
var _this$props = this.props, title = _this$props.title, attribute = _this$props.attribute, elementRef = _this$props.elementRef, restProps = _objectWithoutProperties(_this$props, _excluded$f);
|
|
24751
24751
|
var passedProps = omit(restProps, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
|
|
24752
24752
|
warningOnce(!attribute, "`attribute` of Menu.Item is deprecated. Please pass attribute directly.");
|
|
24753
|
-
return /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$
|
|
24753
|
+
return /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$l({}, attribute, {
|
|
24754
24754
|
title: typeof title === "string" ? title : void 0
|
|
24755
24755
|
}, passedProps, {
|
|
24756
24756
|
ref: elementRef
|
|
@@ -24809,7 +24809,7 @@ var InternalMenuItem = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
24809
24809
|
if (props.role === "option") {
|
|
24810
24810
|
optionRoleProps["aria-selected"] = selected;
|
|
24811
24811
|
}
|
|
24812
|
-
var renderNode = /* @__PURE__ */ React.createElement(LegacyMenuItem, _extends$
|
|
24812
|
+
var renderNode = /* @__PURE__ */ React.createElement(LegacyMenuItem, _extends$l({
|
|
24813
24813
|
ref: legacyMenuItemRef,
|
|
24814
24814
|
elementRef: mergedEleRef,
|
|
24815
24815
|
role: role === null ? "none" : role || "menuitem",
|
|
@@ -24851,7 +24851,7 @@ function MenuItem$1(props, ref2) {
|
|
|
24851
24851
|
if (measure) {
|
|
24852
24852
|
return null;
|
|
24853
24853
|
}
|
|
24854
|
-
return /* @__PURE__ */ React.createElement(InternalMenuItem, _extends$
|
|
24854
|
+
return /* @__PURE__ */ React.createElement(InternalMenuItem, _extends$l({}, props, {
|
|
24855
24855
|
ref: ref2
|
|
24856
24856
|
}));
|
|
24857
24857
|
}
|
|
@@ -24860,7 +24860,7 @@ var _excluded$e = ["className", "children"];
|
|
|
24860
24860
|
var InternalSubMenuList = function InternalSubMenuList2(_ref, ref2) {
|
|
24861
24861
|
var className = _ref.className, children = _ref.children, restProps = _objectWithoutProperties(_ref, _excluded$e);
|
|
24862
24862
|
var _React$useContext = React.useContext(MenuContext$1), prefixCls = _React$useContext.prefixCls, mode = _React$useContext.mode, rtl = _React$useContext.rtl;
|
|
24863
|
-
return /* @__PURE__ */ React.createElement("ul", _extends$
|
|
24863
|
+
return /* @__PURE__ */ React.createElement("ul", _extends$l({
|
|
24864
24864
|
className: classNames(prefixCls, rtl && "".concat(prefixCls, "-rtl"), "".concat(prefixCls, "-sub"), "".concat(prefixCls, "-").concat(mode === "inline" ? "inline" : "vertical"), className),
|
|
24865
24865
|
role: "menu"
|
|
24866
24866
|
}, restProps, {
|
|
@@ -25053,7 +25053,7 @@ function InlineSubMenuList(_ref) {
|
|
|
25053
25053
|
return /* @__PURE__ */ React.createElement(InheritableContextProvider, {
|
|
25054
25054
|
mode: fixedMode,
|
|
25055
25055
|
locked: !sameModeRef.current
|
|
25056
|
-
}, /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
25056
|
+
}, /* @__PURE__ */ React.createElement(CSSMotion, _extends$l({
|
|
25057
25057
|
visible: mergedOpen
|
|
25058
25058
|
}, mergedMotion, {
|
|
25059
25059
|
forceRender: forceSubMenuRender,
|
|
@@ -25155,7 +25155,7 @@ var InternalSubMenu = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
25155
25155
|
className: "".concat(subMenuPrefixCls, "-arrow")
|
|
25156
25156
|
}));
|
|
25157
25157
|
}, [mode, mergedExpandIcon, props, open2, subMenuPrefixCls]);
|
|
25158
|
-
var titleNode = /* @__PURE__ */ React.createElement("div", _extends$
|
|
25158
|
+
var titleNode = /* @__PURE__ */ React.createElement("div", _extends$l({
|
|
25159
25159
|
role: "menuitem",
|
|
25160
25160
|
style: directionStyle,
|
|
25161
25161
|
className: "".concat(subMenuPrefixCls, "-title"),
|
|
@@ -25199,7 +25199,7 @@ var InternalSubMenu = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
25199
25199
|
onVisibleChange: onPopupVisibleChange
|
|
25200
25200
|
}, titleNode);
|
|
25201
25201
|
}
|
|
25202
|
-
var listNode = /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$
|
|
25202
|
+
var listNode = /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$l({
|
|
25203
25203
|
ref: ref2,
|
|
25204
25204
|
role: "none"
|
|
25205
25205
|
}, restProps, {
|
|
@@ -25245,7 +25245,7 @@ var SubMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
25245
25245
|
if (measure) {
|
|
25246
25246
|
renderNode = childList;
|
|
25247
25247
|
} else {
|
|
25248
|
-
renderNode = /* @__PURE__ */ React.createElement(InternalSubMenu, _extends$
|
|
25248
|
+
renderNode = /* @__PURE__ */ React.createElement(InternalSubMenu, _extends$l({
|
|
25249
25249
|
ref: ref2
|
|
25250
25250
|
}, props), childList);
|
|
25251
25251
|
}
|
|
@@ -25273,7 +25273,7 @@ var InternalMenuItemGroup = /* @__PURE__ */ React.forwardRef(function(props, ref
|
|
|
25273
25273
|
var children = props.children, restProps = _objectWithoutProperties(props, _excluded$c);
|
|
25274
25274
|
var _React$useContext = React.useContext(MenuContext$1), prefixCls = _React$useContext.prefixCls;
|
|
25275
25275
|
var groupPrefixCls = "".concat(prefixCls, "-item-group");
|
|
25276
|
-
return /* @__PURE__ */ React.createElement("li", _extends$
|
|
25276
|
+
return /* @__PURE__ */ React.createElement("li", _extends$l({
|
|
25277
25277
|
ref: ref2,
|
|
25278
25278
|
role: "presentation"
|
|
25279
25279
|
}, restProps, {
|
|
@@ -25298,7 +25298,7 @@ var MenuItemGroup = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
25298
25298
|
if (measure) {
|
|
25299
25299
|
return childList;
|
|
25300
25300
|
}
|
|
25301
|
-
return /* @__PURE__ */ React.createElement(InternalMenuItemGroup, _extends$
|
|
25301
|
+
return /* @__PURE__ */ React.createElement(InternalMenuItemGroup, _extends$l({
|
|
25302
25302
|
ref: ref2
|
|
25303
25303
|
}, omit(props, ["warnKey"])), childList);
|
|
25304
25304
|
});
|
|
@@ -25311,24 +25311,24 @@ function convertItemsToNodes(list, components, prefixCls) {
|
|
|
25311
25311
|
var mergedKey = key !== null && key !== void 0 ? key : "tmp-".concat(index2);
|
|
25312
25312
|
if (children || type4 === "group") {
|
|
25313
25313
|
if (type4 === "group") {
|
|
25314
|
-
return /* @__PURE__ */ React.createElement(MergedMenuItemGroup, _extends$
|
|
25314
|
+
return /* @__PURE__ */ React.createElement(MergedMenuItemGroup, _extends$l({
|
|
25315
25315
|
key: mergedKey
|
|
25316
25316
|
}, restProps, {
|
|
25317
25317
|
title: label
|
|
25318
25318
|
}), convertItemsToNodes(children, components, prefixCls));
|
|
25319
25319
|
}
|
|
25320
|
-
return /* @__PURE__ */ React.createElement(MergedSubMenu, _extends$
|
|
25320
|
+
return /* @__PURE__ */ React.createElement(MergedSubMenu, _extends$l({
|
|
25321
25321
|
key: mergedKey
|
|
25322
25322
|
}, restProps, {
|
|
25323
25323
|
title: label
|
|
25324
25324
|
}), convertItemsToNodes(children, components, prefixCls));
|
|
25325
25325
|
}
|
|
25326
25326
|
if (type4 === "divider") {
|
|
25327
|
-
return /* @__PURE__ */ React.createElement(MergedDivider, _extends$
|
|
25327
|
+
return /* @__PURE__ */ React.createElement(MergedDivider, _extends$l({
|
|
25328
25328
|
key: mergedKey
|
|
25329
25329
|
}, restProps));
|
|
25330
25330
|
}
|
|
25331
|
-
return /* @__PURE__ */ React.createElement(MergedMenuItem, _extends$
|
|
25331
|
+
return /* @__PURE__ */ React.createElement(MergedMenuItem, _extends$l({
|
|
25332
25332
|
key: mergedKey
|
|
25333
25333
|
}, restProps, {
|
|
25334
25334
|
extra
|
|
@@ -25557,7 +25557,7 @@ var Menu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
25557
25557
|
);
|
|
25558
25558
|
})
|
|
25559
25559
|
);
|
|
25560
|
-
var container = /* @__PURE__ */ React.createElement(ForwardOverflow, _extends$
|
|
25560
|
+
var container = /* @__PURE__ */ React.createElement(ForwardOverflow, _extends$l({
|
|
25561
25561
|
id: id2,
|
|
25562
25562
|
ref: containerRef,
|
|
25563
25563
|
prefixCls: "".concat(prefixCls, "-overflow"),
|
|
@@ -25638,12 +25638,12 @@ ExportMenu.Divider = Divider;
|
|
|
25638
25638
|
const SiderContext = /* @__PURE__ */ React.createContext({});
|
|
25639
25639
|
var EllipsisOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "ellipsis", "theme": "outlined" };
|
|
25640
25640
|
var EllipsisOutlined = function EllipsisOutlined2(props, ref2) {
|
|
25641
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
25641
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
25642
25642
|
ref: ref2,
|
|
25643
25643
|
icon: EllipsisOutlined$1
|
|
25644
25644
|
}));
|
|
25645
25645
|
};
|
|
25646
|
-
var RefIcon$
|
|
25646
|
+
var RefIcon$k = /* @__PURE__ */ React.forwardRef(EllipsisOutlined);
|
|
25647
25647
|
const MenuContext = /* @__PURE__ */ createContext({
|
|
25648
25648
|
prefixCls: "",
|
|
25649
25649
|
firstLevel: true,
|
|
@@ -26931,7 +26931,7 @@ const InternalMenu = /* @__PURE__ */ forwardRef((props, ref2) => {
|
|
|
26931
26931
|
value: contextValue
|
|
26932
26932
|
}, /* @__PURE__ */ React.createElement(ExportMenu, Object.assign({
|
|
26933
26933
|
getPopupContainer,
|
|
26934
|
-
overflowedIndicator: /* @__PURE__ */ React.createElement(RefIcon$
|
|
26934
|
+
overflowedIndicator: /* @__PURE__ */ React.createElement(RefIcon$k, null),
|
|
26935
26935
|
overflowedIndicatorPopupClassName: classNames(prefixCls, `${prefixCls}-${theme}`, overflowedIndicatorPopupClassName),
|
|
26936
26936
|
mode: mergedMode,
|
|
26937
26937
|
selectable: mergedSelectable,
|
|
@@ -27397,9 +27397,9 @@ const Dropdown$1 = (props) => {
|
|
|
27397
27397
|
rootClassName: classNames(cssVarCls, rootCls),
|
|
27398
27398
|
expandIcon: /* @__PURE__ */ React.createElement("span", {
|
|
27399
27399
|
className: `${prefixCls}-menu-submenu-arrow`
|
|
27400
|
-
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
27400
|
+
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$l, {
|
|
27401
27401
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
27402
|
-
}) : /* @__PURE__ */ React.createElement(RefIcon$
|
|
27402
|
+
}) : /* @__PURE__ */ React.createElement(RefIcon$p, {
|
|
27403
27403
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
27404
27404
|
})),
|
|
27405
27405
|
mode: "vertical",
|
|
@@ -29910,7 +29910,7 @@ function DatePanel(props) {
|
|
|
29910
29910
|
clone2 = generateConfig2.addMonth(clone2, 1);
|
|
29911
29911
|
return generateConfig2.addDate(clone2, -1);
|
|
29912
29912
|
}
|
|
29913
|
-
}, monthYearNodes), /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
29913
|
+
}, monthYearNodes), /* @__PURE__ */ React.createElement(PanelBody, _extends$l({
|
|
29914
29914
|
titleFormat: locale2.fieldDateFormat
|
|
29915
29915
|
}, props, {
|
|
29916
29916
|
colNum: WEEK_DAY_COUNT,
|
|
@@ -30250,35 +30250,35 @@ function TimePanelBody(props) {
|
|
|
30250
30250
|
};
|
|
30251
30251
|
return /* @__PURE__ */ React.createElement("div", {
|
|
30252
30252
|
className: "".concat(prefixCls, "-content")
|
|
30253
|
-
}, showHour && /* @__PURE__ */ React.createElement(TimeColumn, _extends$
|
|
30253
|
+
}, showHour && /* @__PURE__ */ React.createElement(TimeColumn, _extends$l({
|
|
30254
30254
|
units: hourUnits,
|
|
30255
30255
|
value: hour,
|
|
30256
30256
|
optionalValue: pickerHour,
|
|
30257
30257
|
type: "hour",
|
|
30258
30258
|
onChange: onHourChange,
|
|
30259
30259
|
onHover: onHourHover
|
|
30260
|
-
}, sharedColumnProps)), showMinute && /* @__PURE__ */ React.createElement(TimeColumn, _extends$
|
|
30260
|
+
}, sharedColumnProps)), showMinute && /* @__PURE__ */ React.createElement(TimeColumn, _extends$l({
|
|
30261
30261
|
units: minuteUnits,
|
|
30262
30262
|
value: minute,
|
|
30263
30263
|
optionalValue: pickerMinute,
|
|
30264
30264
|
type: "minute",
|
|
30265
30265
|
onChange: onMinuteChange,
|
|
30266
30266
|
onHover: onMinuteHover
|
|
30267
|
-
}, sharedColumnProps)), showSecond && /* @__PURE__ */ React.createElement(TimeColumn, _extends$
|
|
30267
|
+
}, sharedColumnProps)), showSecond && /* @__PURE__ */ React.createElement(TimeColumn, _extends$l({
|
|
30268
30268
|
units: secondUnits,
|
|
30269
30269
|
value: second,
|
|
30270
30270
|
optionalValue: pickerSecond,
|
|
30271
30271
|
type: "second",
|
|
30272
30272
|
onChange: onSecondChange,
|
|
30273
30273
|
onHover: onSecondHover
|
|
30274
|
-
}, sharedColumnProps)), showMillisecond && /* @__PURE__ */ React.createElement(TimeColumn, _extends$
|
|
30274
|
+
}, sharedColumnProps)), showMillisecond && /* @__PURE__ */ React.createElement(TimeColumn, _extends$l({
|
|
30275
30275
|
units: millisecondUnits,
|
|
30276
30276
|
value: millisecond,
|
|
30277
30277
|
optionalValue: pickerMillisecond,
|
|
30278
30278
|
type: "millisecond",
|
|
30279
30279
|
onChange: onMillisecondChange,
|
|
30280
30280
|
onHover: onMillisecondHover
|
|
30281
|
-
}, sharedColumnProps)), showMeridiem && /* @__PURE__ */ React.createElement(TimeColumn, _extends$
|
|
30281
|
+
}, sharedColumnProps)), showMeridiem && /* @__PURE__ */ React.createElement(TimeColumn, _extends$l({
|
|
30282
30282
|
units: meridiemUnits,
|
|
30283
30283
|
value: meridiem2,
|
|
30284
30284
|
type: "meridiem",
|
|
@@ -30320,7 +30320,7 @@ function DateTimePanel(props) {
|
|
|
30320
30320
|
};
|
|
30321
30321
|
return /* @__PURE__ */ React.createElement("div", {
|
|
30322
30322
|
className: panelPrefixCls
|
|
30323
|
-
}, /* @__PURE__ */ React.createElement(DatePanel, _extends$
|
|
30323
|
+
}, /* @__PURE__ */ React.createElement(DatePanel, _extends$l({}, props, {
|
|
30324
30324
|
onSelect: onDateSelect,
|
|
30325
30325
|
onHover: onDateHover
|
|
30326
30326
|
})), /* @__PURE__ */ React.createElement(TimePanel, props));
|
|
@@ -30388,7 +30388,7 @@ function DecadePanel(props) {
|
|
|
30388
30388
|
onChange: onPickerValueChange,
|
|
30389
30389
|
getStart: getStartYear,
|
|
30390
30390
|
getEnd: getEndYear
|
|
30391
|
-
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
30391
|
+
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$l({}, props, {
|
|
30392
30392
|
disabledDate: mergedDisabledDate,
|
|
30393
30393
|
colNum: 3,
|
|
30394
30394
|
rowNum: 4,
|
|
@@ -30453,7 +30453,7 @@ function MonthPanel(props) {
|
|
|
30453
30453
|
getEnd: function getEnd(date4) {
|
|
30454
30454
|
return generateConfig2.setMonth(date4, 11);
|
|
30455
30455
|
}
|
|
30456
|
-
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
30456
|
+
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$l({}, props, {
|
|
30457
30457
|
disabledDate: mergedDisabledDate,
|
|
30458
30458
|
titleFormat: locale2.fieldMonthFormat,
|
|
30459
30459
|
colNum: 3,
|
|
@@ -30511,7 +30511,7 @@ function QuarterPanel(props) {
|
|
|
30511
30511
|
getEnd: function getEnd(date4) {
|
|
30512
30512
|
return generateConfig2.setMonth(date4, 11);
|
|
30513
30513
|
}
|
|
30514
|
-
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
30514
|
+
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$l({}, props, {
|
|
30515
30515
|
titleFormat: locale2.fieldQuarterFormat,
|
|
30516
30516
|
colNum: 4,
|
|
30517
30517
|
rowNum: 1,
|
|
@@ -30547,7 +30547,7 @@ function WeekPanel(props) {
|
|
|
30547
30547
|
rangeCls
|
|
30548
30548
|
);
|
|
30549
30549
|
};
|
|
30550
|
-
return /* @__PURE__ */ React.createElement(DatePanel, _extends$
|
|
30550
|
+
return /* @__PURE__ */ React.createElement(DatePanel, _extends$l({}, props, {
|
|
30551
30551
|
mode: "week",
|
|
30552
30552
|
panelName: "week",
|
|
30553
30553
|
rowClassName
|
|
@@ -30617,7 +30617,7 @@ function YearPanel(props) {
|
|
|
30617
30617
|
onChange: onPickerValueChange,
|
|
30618
30618
|
getStart: getStartYear,
|
|
30619
30619
|
getEnd: getEndYear
|
|
30620
|
-
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
30620
|
+
}, yearNode), /* @__PURE__ */ React.createElement(PanelBody, _extends$l({}, props, {
|
|
30621
30621
|
disabledDate: mergedDisabledDate,
|
|
30622
30622
|
titleFormat: locale2.fieldYearFormat,
|
|
30623
30623
|
colNum: 3,
|
|
@@ -30779,7 +30779,7 @@ function PickerPanel(props, ref2) {
|
|
|
30779
30779
|
ref: rootRef,
|
|
30780
30780
|
tabIndex,
|
|
30781
30781
|
className: classNames(panelCls, _defineProperty$1({}, "".concat(panelCls, "-rtl"), direction === "rtl"))
|
|
30782
|
-
}, /* @__PURE__ */ React.createElement(PanelComponent, _extends$
|
|
30782
|
+
}, /* @__PURE__ */ React.createElement(PanelComponent, _extends$l({}, panelProps, {
|
|
30783
30783
|
// Time
|
|
30784
30784
|
showTime: mergedShowTime,
|
|
30785
30785
|
prefixCls: mergedPrefixCls,
|
|
@@ -30840,7 +30840,7 @@ function PopupPanel(props) {
|
|
|
30840
30840
|
value: _objectSpread2(_objectSpread2({}, sharedContext), {}, {
|
|
30841
30841
|
hidePrev: true
|
|
30842
30842
|
})
|
|
30843
|
-
}, /* @__PURE__ */ React.createElement(RefPanelPicker, _extends$
|
|
30843
|
+
}, /* @__PURE__ */ React.createElement(RefPanelPicker, _extends$l({}, pickerProps, {
|
|
30844
30844
|
pickerValue: nextPickerValue,
|
|
30845
30845
|
onPickerValueChange: onSecondPickerValueChange
|
|
30846
30846
|
}))));
|
|
@@ -30955,9 +30955,9 @@ function Popup(props) {
|
|
|
30955
30955
|
presets,
|
|
30956
30956
|
onClick: onPresetSubmit,
|
|
30957
30957
|
onHover: onPresetHover
|
|
30958
|
-
}), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(PopupPanel, _extends$
|
|
30958
|
+
}), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(PopupPanel, _extends$l({}, props, {
|
|
30959
30959
|
value: popupPanelValue
|
|
30960
|
-
})), /* @__PURE__ */ React.createElement(Footer$1, _extends$
|
|
30960
|
+
})), /* @__PURE__ */ React.createElement(Footer$1, _extends$l({}, props, {
|
|
30961
30961
|
showNow: multiple ? false : showNow,
|
|
30962
30962
|
invalid: disableSubmit,
|
|
30963
30963
|
onSubmit: onFooterSubmit
|
|
@@ -31125,13 +31125,13 @@ var _excluded$9 = ["icon", "type"], _excluded2$1 = ["onClear"];
|
|
|
31125
31125
|
function Icon$2(props) {
|
|
31126
31126
|
var icon = props.icon, type4 = props.type, restProps = _objectWithoutProperties(props, _excluded$9);
|
|
31127
31127
|
var _React$useContext = React.useContext(PickerContext), prefixCls = _React$useContext.prefixCls;
|
|
31128
|
-
return icon ? /* @__PURE__ */ React.createElement("span", _extends$
|
|
31128
|
+
return icon ? /* @__PURE__ */ React.createElement("span", _extends$l({
|
|
31129
31129
|
className: "".concat(prefixCls, "-").concat(type4)
|
|
31130
31130
|
}, restProps), icon) : null;
|
|
31131
31131
|
}
|
|
31132
31132
|
function ClearIcon(_ref) {
|
|
31133
31133
|
var onClear = _ref.onClear, restProps = _objectWithoutProperties(_ref, _excluded2$1);
|
|
31134
|
-
return /* @__PURE__ */ React.createElement(Icon$2, _extends$
|
|
31134
|
+
return /* @__PURE__ */ React.createElement(Icon$2, _extends$l({}, restProps, {
|
|
31135
31135
|
type: "clear",
|
|
31136
31136
|
role: "button",
|
|
31137
31137
|
onMouseDown: function onMouseDown(e2) {
|
|
@@ -31453,7 +31453,7 @@ var Input$3 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
31453
31453
|
return /* @__PURE__ */ React.createElement("div", {
|
|
31454
31454
|
ref: holderRef,
|
|
31455
31455
|
className: classNames(inputPrefixCls, _defineProperty$1(_defineProperty$1({}, "".concat(inputPrefixCls, "-active"), active && showActiveCls), "".concat(inputPrefixCls, "-placeholder"), helped))
|
|
31456
|
-
}, /* @__PURE__ */ React.createElement(Component, _extends$
|
|
31456
|
+
}, /* @__PURE__ */ React.createElement(Component, _extends$l({
|
|
31457
31457
|
ref: inputRef,
|
|
31458
31458
|
"aria-invalid": invalid,
|
|
31459
31459
|
autoComplete: "off"
|
|
@@ -31570,7 +31570,7 @@ function RangeSelector(props, ref2) {
|
|
|
31570
31570
|
var endAutoFocus = autoFocus && !startAutoFocus && !disabled[1];
|
|
31571
31571
|
return /* @__PURE__ */ React.createElement(RefResizeObserver, {
|
|
31572
31572
|
onResize: syncActiveOffset
|
|
31573
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
31573
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$l({}, rootProps, {
|
|
31574
31574
|
className: classNames(prefixCls, "".concat(prefixCls, "-range"), _defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-focused"), focused), "".concat(prefixCls, "-disabled"), disabled.every(function(i2) {
|
|
31575
31575
|
return i2;
|
|
31576
31576
|
})), "".concat(prefixCls, "-invalid"), invalid.some(function(i2) {
|
|
@@ -31588,7 +31588,7 @@ function RangeSelector(props, ref2) {
|
|
|
31588
31588
|
}
|
|
31589
31589
|
}), prefix2 && /* @__PURE__ */ React.createElement("div", {
|
|
31590
31590
|
className: "".concat(prefixCls, "-prefix")
|
|
31591
|
-
}, prefix2), /* @__PURE__ */ React.createElement(Input$3, _extends$
|
|
31591
|
+
}, prefix2), /* @__PURE__ */ React.createElement(Input$3, _extends$l({
|
|
31592
31592
|
ref: inputStartRef
|
|
31593
31593
|
}, getInputProps(0), {
|
|
31594
31594
|
autoFocus: startAutoFocus,
|
|
@@ -31596,7 +31596,7 @@ function RangeSelector(props, ref2) {
|
|
|
31596
31596
|
"date-range": "start"
|
|
31597
31597
|
})), /* @__PURE__ */ React.createElement("div", {
|
|
31598
31598
|
className: "".concat(prefixCls, "-range-separator")
|
|
31599
|
-
}, separator), /* @__PURE__ */ React.createElement(Input$3, _extends$
|
|
31599
|
+
}, separator), /* @__PURE__ */ React.createElement(Input$3, _extends$l({
|
|
31600
31600
|
ref: inputEndRef
|
|
31601
31601
|
}, getInputProps(1), {
|
|
31602
31602
|
autoFocus: endAutoFocus,
|
|
@@ -31806,7 +31806,7 @@ function RangePicker$1(props, ref2) {
|
|
|
31806
31806
|
var restProps = omit(filledProps, [].concat(_toConsumableArray(Object.keys(domProps)), ["onChange", "onCalendarChange", "style", "className", "onPanelChange", "disabledTime"]));
|
|
31807
31807
|
return restProps;
|
|
31808
31808
|
}, [filledProps]);
|
|
31809
|
-
var panel = /* @__PURE__ */ React.createElement(Popup, _extends$
|
|
31809
|
+
var panel = /* @__PURE__ */ React.createElement(Popup, _extends$l({}, panelProps, {
|
|
31810
31810
|
showNow: mergedShowNow,
|
|
31811
31811
|
showTime: mergedShowTime,
|
|
31812
31812
|
range: true,
|
|
@@ -31907,7 +31907,7 @@ function RangePicker$1(props, ref2) {
|
|
|
31907
31907
|
}, [mergedOpen]);
|
|
31908
31908
|
return /* @__PURE__ */ React.createElement(PickerContext.Provider, {
|
|
31909
31909
|
value: context
|
|
31910
|
-
}, /* @__PURE__ */ React.createElement(PickerTrigger, _extends$
|
|
31910
|
+
}, /* @__PURE__ */ React.createElement(PickerTrigger, _extends$l({}, pickTriggerProps(filledProps), {
|
|
31911
31911
|
popupElement: panel,
|
|
31912
31912
|
popupStyle: styles2.popup,
|
|
31913
31913
|
popupClassName: classNames2.popup,
|
|
@@ -31916,7 +31916,7 @@ function RangePicker$1(props, ref2) {
|
|
|
31916
31916
|
range: true
|
|
31917
31917
|
}), /* @__PURE__ */ React.createElement(
|
|
31918
31918
|
RefRangeSelector,
|
|
31919
|
-
_extends$
|
|
31919
|
+
_extends$l({}, filledProps, {
|
|
31920
31920
|
// Ref
|
|
31921
31921
|
ref: selectorRef,
|
|
31922
31922
|
suffixIcon,
|
|
@@ -32079,7 +32079,7 @@ function SingleSelector2(props, ref2) {
|
|
|
32079
32079
|
}), showClear && /* @__PURE__ */ React.createElement(ClearIcon, {
|
|
32080
32080
|
icon: clearIcon,
|
|
32081
32081
|
onClear
|
|
32082
|
-
})) : /* @__PURE__ */ React.createElement(Input$3, _extends$
|
|
32082
|
+
})) : /* @__PURE__ */ React.createElement(Input$3, _extends$l({
|
|
32083
32083
|
ref: inputRef
|
|
32084
32084
|
}, getInputProps(), {
|
|
32085
32085
|
autoFocus,
|
|
@@ -32091,7 +32091,7 @@ function SingleSelector2(props, ref2) {
|
|
|
32091
32091
|
}),
|
|
32092
32092
|
showActiveCls: false
|
|
32093
32093
|
}));
|
|
32094
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
32094
|
+
return /* @__PURE__ */ React.createElement("div", _extends$l({}, rootProps, {
|
|
32095
32095
|
className: classNames(prefixCls, _defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-multiple"), multiple), "".concat(prefixCls, "-focused"), focused), "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-invalid"), invalid), "".concat(prefixCls, "-rtl"), rtl), className),
|
|
32096
32096
|
style: style2,
|
|
32097
32097
|
ref: rootRef,
|
|
@@ -32291,7 +32291,7 @@ function Picker(props, ref2) {
|
|
|
32291
32291
|
multiple: filledProps.multiple
|
|
32292
32292
|
});
|
|
32293
32293
|
}, [filledProps]);
|
|
32294
|
-
var panel = /* @__PURE__ */ React.createElement(Popup, _extends$
|
|
32294
|
+
var panel = /* @__PURE__ */ React.createElement(Popup, _extends$l({}, panelProps, {
|
|
32295
32295
|
showNow: mergedShowNow,
|
|
32296
32296
|
showTime,
|
|
32297
32297
|
disabledDate,
|
|
@@ -32369,7 +32369,7 @@ function Picker(props, ref2) {
|
|
|
32369
32369
|
}, [mergedOpen]);
|
|
32370
32370
|
return /* @__PURE__ */ React.createElement(PickerContext.Provider, {
|
|
32371
32371
|
value: context
|
|
32372
|
-
}, /* @__PURE__ */ React.createElement(PickerTrigger, _extends$
|
|
32372
|
+
}, /* @__PURE__ */ React.createElement(PickerTrigger, _extends$l({}, pickTriggerProps(filledProps), {
|
|
32373
32373
|
popupElement: panel,
|
|
32374
32374
|
popupStyle: styles2.popup,
|
|
32375
32375
|
popupClassName: classNames2.popup,
|
|
@@ -32377,7 +32377,7 @@ function Picker(props, ref2) {
|
|
|
32377
32377
|
onClose: onPopupClose
|
|
32378
32378
|
}), /* @__PURE__ */ React.createElement(
|
|
32379
32379
|
RefSingleSelector,
|
|
32380
|
-
_extends$
|
|
32380
|
+
_extends$l({}, filledProps, {
|
|
32381
32381
|
// Ref
|
|
32382
32382
|
ref: selectorRef,
|
|
32383
32383
|
suffixIcon,
|
|
@@ -35080,7 +35080,7 @@ var BaseInput = /* @__PURE__ */ React__default.forwardRef(function(props, ref2)
|
|
|
35080
35080
|
className: classNames("".concat(prefixCls, "-suffix"), classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.suffix),
|
|
35081
35081
|
style: styles2 === null || styles2 === void 0 ? void 0 : styles2.suffix
|
|
35082
35082
|
}, clearIcon, suffix);
|
|
35083
|
-
element = /* @__PURE__ */ React__default.createElement(AffixWrapperComponent, _extends$
|
|
35083
|
+
element = /* @__PURE__ */ React__default.createElement(AffixWrapperComponent, _extends$l({
|
|
35084
35084
|
className: affixWrapperCls,
|
|
35085
35085
|
style: styles2 === null || styles2 === void 0 ? void 0 : styles2.affixWrapper,
|
|
35086
35086
|
onClick: onInputClick
|
|
@@ -35270,7 +35270,7 @@ var Input$2 = /* @__PURE__ */ forwardRef(function(props, ref2) {
|
|
|
35270
35270
|
"classNames",
|
|
35271
35271
|
"onClear"
|
|
35272
35272
|
]);
|
|
35273
|
-
return /* @__PURE__ */ React__default.createElement("input", _extends$
|
|
35273
|
+
return /* @__PURE__ */ React__default.createElement("input", _extends$l({
|
|
35274
35274
|
autoComplete
|
|
35275
35275
|
}, otherProps, {
|
|
35276
35276
|
onChange: onInternalChange,
|
|
@@ -35305,7 +35305,7 @@ var Input$2 = /* @__PURE__ */ forwardRef(function(props, ref2) {
|
|
|
35305
35305
|
}
|
|
35306
35306
|
return null;
|
|
35307
35307
|
};
|
|
35308
|
-
return /* @__PURE__ */ React__default.createElement(BaseInput, _extends$
|
|
35308
|
+
return /* @__PURE__ */ React__default.createElement(BaseInput, _extends$l({}, rest, {
|
|
35309
35309
|
prefixCls,
|
|
35310
35310
|
className: classNames(className, outOfRangeCls),
|
|
35311
35311
|
handleReset,
|
|
@@ -35326,7 +35326,7 @@ const getAllowClear = (allowClear) => {
|
|
|
35326
35326
|
mergedAllowClear = allowClear;
|
|
35327
35327
|
} else if (allowClear) {
|
|
35328
35328
|
mergedAllowClear = {
|
|
35329
|
-
clearIcon: /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
35329
|
+
clearIcon: /* @__PURE__ */ React__default.createElement(RefIcon$u, null)
|
|
35330
35330
|
};
|
|
35331
35331
|
}
|
|
35332
35332
|
return mergedAllowClear;
|
|
@@ -35484,28 +35484,28 @@ const Input$1 = /* @__PURE__ */ forwardRef((props, ref2) => {
|
|
|
35484
35484
|
});
|
|
35485
35485
|
var CalendarOutlined$3 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" } }] }, "name": "calendar", "theme": "outlined" };
|
|
35486
35486
|
var CalendarOutlined$2 = function CalendarOutlined2(props, ref2) {
|
|
35487
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
35487
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
35488
35488
|
ref: ref2,
|
|
35489
35489
|
icon: CalendarOutlined$3
|
|
35490
35490
|
}));
|
|
35491
35491
|
};
|
|
35492
|
-
var RefIcon$
|
|
35492
|
+
var RefIcon$j = /* @__PURE__ */ React.forwardRef(CalendarOutlined$2);
|
|
35493
35493
|
var ClockCircleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, "name": "clock-circle", "theme": "outlined" };
|
|
35494
35494
|
var ClockCircleOutlined = function ClockCircleOutlined2(props, ref2) {
|
|
35495
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
35495
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
35496
35496
|
ref: ref2,
|
|
35497
35497
|
icon: ClockCircleOutlined$1
|
|
35498
35498
|
}));
|
|
35499
35499
|
};
|
|
35500
|
-
var RefIcon$
|
|
35500
|
+
var RefIcon$i = /* @__PURE__ */ React.forwardRef(ClockCircleOutlined);
|
|
35501
35501
|
var SwapRightOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" } }] }, "name": "swap-right", "theme": "outlined" };
|
|
35502
35502
|
var SwapRightOutlined = function SwapRightOutlined2(props, ref2) {
|
|
35503
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
35503
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
35504
35504
|
ref: ref2,
|
|
35505
35505
|
icon: SwapRightOutlined$1
|
|
35506
35506
|
}));
|
|
35507
35507
|
};
|
|
35508
|
-
var RefIcon$
|
|
35508
|
+
var RefIcon$h = /* @__PURE__ */ React.forwardRef(SwapRightOutlined);
|
|
35509
35509
|
function getPlaceholder(locale2, picker2, customizePlaceholder) {
|
|
35510
35510
|
if (customizePlaceholder !== void 0) {
|
|
35511
35511
|
return customizePlaceholder;
|
|
@@ -35727,7 +35727,7 @@ const generateRangePicker = (generateConfig2) => {
|
|
|
35727
35727
|
status: contextStatus,
|
|
35728
35728
|
feedbackIcon
|
|
35729
35729
|
} = formItemContext;
|
|
35730
|
-
const suffixNode = /* @__PURE__ */ React.createElement(React.Fragment, null, picker2 === TIME ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
35730
|
+
const suffixNode = /* @__PURE__ */ React.createElement(React.Fragment, null, picker2 === TIME ? /* @__PURE__ */ React.createElement(RefIcon$i, null) : /* @__PURE__ */ React.createElement(RefIcon$j, null), hasFeedback && feedbackIcon);
|
|
35731
35731
|
useImperativeHandle(ref2, () => innerRef.current);
|
|
35732
35732
|
const [contextLocale] = useLocale$1("Calendar", locale$1);
|
|
35733
35733
|
const locale2 = Object.assign(Object.assign({}, contextLocale), props.locale);
|
|
@@ -35738,7 +35738,7 @@ const generateRangePicker = (generateConfig2) => {
|
|
|
35738
35738
|
separator: /* @__PURE__ */ React.createElement("span", {
|
|
35739
35739
|
"aria-label": "to",
|
|
35740
35740
|
className: `${prefixCls}-separator`
|
|
35741
|
-
}, /* @__PURE__ */ React.createElement(RefIcon$
|
|
35741
|
+
}, /* @__PURE__ */ React.createElement(RefIcon$h, null)),
|
|
35742
35742
|
disabled: mergedDisabled,
|
|
35743
35743
|
ref: innerRef,
|
|
35744
35744
|
placement,
|
|
@@ -35865,7 +35865,7 @@ const generatePicker$1 = (generateConfig2) => {
|
|
|
35865
35865
|
status: contextStatus,
|
|
35866
35866
|
feedbackIcon
|
|
35867
35867
|
} = formItemContext;
|
|
35868
|
-
const suffixNode = /* @__PURE__ */ React.createElement(React.Fragment, null, mergedPicker === "time" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
35868
|
+
const suffixNode = /* @__PURE__ */ React.createElement(React.Fragment, null, mergedPicker === "time" ? /* @__PURE__ */ React.createElement(RefIcon$i, null) : /* @__PURE__ */ React.createElement(RefIcon$j, null), hasFeedback && feedbackIcon);
|
|
35869
35869
|
const [contextLocale] = useLocale$1("DatePicker", locale$1);
|
|
35870
35870
|
const locale2 = Object.assign(Object.assign({}, contextLocale), props.locale);
|
|
35871
35871
|
const [zIndex] = useZIndex("DatePicker", (_a = mergedStyles.popup.root) === null || _a === void 0 ? void 0 : _a.zIndex);
|
|
@@ -36118,7 +36118,7 @@ const DropdownButton = (props) => {
|
|
|
36118
36118
|
placement,
|
|
36119
36119
|
getPopupContainer,
|
|
36120
36120
|
href,
|
|
36121
|
-
icon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
36121
|
+
icon = /* @__PURE__ */ React.createElement(RefIcon$k, null),
|
|
36122
36122
|
title,
|
|
36123
36123
|
buttonsRender = (buttons) => buttons,
|
|
36124
36124
|
mouseEnterDelay,
|
|
@@ -36848,12 +36848,12 @@ function useFormInstance() {
|
|
|
36848
36848
|
}
|
|
36849
36849
|
var EyeOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
|
|
36850
36850
|
var EyeOutlined = function EyeOutlined2(props, ref2) {
|
|
36851
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
36851
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
36852
36852
|
ref: ref2,
|
|
36853
36853
|
icon: EyeOutlined$1
|
|
36854
36854
|
}));
|
|
36855
36855
|
};
|
|
36856
|
-
var RefIcon$
|
|
36856
|
+
var RefIcon$g = /* @__PURE__ */ React.forwardRef(EyeOutlined);
|
|
36857
36857
|
const Group = (props) => {
|
|
36858
36858
|
const {
|
|
36859
36859
|
getPrefixCls,
|
|
@@ -37197,12 +37197,12 @@ const OTP = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
37197
37197
|
});
|
|
37198
37198
|
var EyeInvisibleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
|
|
37199
37199
|
var EyeInvisibleOutlined = function EyeInvisibleOutlined2(props, ref2) {
|
|
37200
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
37200
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
37201
37201
|
ref: ref2,
|
|
37202
37202
|
icon: EyeInvisibleOutlined$1
|
|
37203
37203
|
}));
|
|
37204
37204
|
};
|
|
37205
|
-
var RefIcon$
|
|
37205
|
+
var RefIcon$f = /* @__PURE__ */ React.forwardRef(EyeInvisibleOutlined);
|
|
37206
37206
|
var __rest$d = function(s2, e2) {
|
|
37207
37207
|
var t2 = {};
|
|
37208
37208
|
for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0) t2[p2] = s2[p2];
|
|
@@ -37211,7 +37211,7 @@ var __rest$d = function(s2, e2) {
|
|
|
37211
37211
|
}
|
|
37212
37212
|
return t2;
|
|
37213
37213
|
};
|
|
37214
|
-
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
37214
|
+
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ React.createElement(RefIcon$g, null) : /* @__PURE__ */ React.createElement(RefIcon$f, null);
|
|
37215
37215
|
const actionMap = {
|
|
37216
37216
|
click: "onClick",
|
|
37217
37217
|
hover: "onMouseOver"
|
|
@@ -37363,7 +37363,7 @@ const Search = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
37363
37363
|
customOnPressEnter === null || customOnPressEnter === void 0 ? void 0 : customOnPressEnter(e2);
|
|
37364
37364
|
onSearch(e2);
|
|
37365
37365
|
};
|
|
37366
|
-
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
37366
|
+
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ React.createElement(RefIcon$m, null) : null;
|
|
37367
37367
|
const btnClassName = `${prefixCls}-button`;
|
|
37368
37368
|
let button;
|
|
37369
37369
|
const enterButtonAsElement = enterButton || {};
|
|
@@ -37596,7 +37596,7 @@ var ResizableTextArea = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
37596
37596
|
return /* @__PURE__ */ React.createElement(RefResizeObserver, {
|
|
37597
37597
|
onResize: onInternalResize,
|
|
37598
37598
|
disabled: !(autoSize || onResize2)
|
|
37599
|
-
}, /* @__PURE__ */ React.createElement("textarea", _extends$
|
|
37599
|
+
}, /* @__PURE__ */ React.createElement("textarea", _extends$l({}, restProps, {
|
|
37600
37600
|
ref: textareaRef,
|
|
37601
37601
|
style: mergedStyle,
|
|
37602
37602
|
className: classNames(prefixCls, className, _defineProperty$1({}, "".concat(prefixCls, "-disabled"), disabled)),
|
|
@@ -37747,7 +37747,7 @@ var TextArea$1 = /* @__PURE__ */ React__default.forwardRef(function(_ref, ref2)
|
|
|
37747
37747
|
hidden,
|
|
37748
37748
|
readOnly,
|
|
37749
37749
|
onClear
|
|
37750
|
-
}, /* @__PURE__ */ React__default.createElement(ResizableTextArea, _extends$
|
|
37750
|
+
}, /* @__PURE__ */ React__default.createElement(ResizableTextArea, _extends$l({}, rest, {
|
|
37751
37751
|
autoSize,
|
|
37752
37752
|
maxLength,
|
|
37753
37753
|
onKeyDown: handleKeyDown,
|
|
@@ -38685,7 +38685,7 @@ const Overlay = (props) => {
|
|
|
38685
38685
|
cancelText,
|
|
38686
38686
|
okText,
|
|
38687
38687
|
okType = "primary",
|
|
38688
|
-
icon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
38688
|
+
icon = /* @__PURE__ */ React.createElement(RefIcon$s, null),
|
|
38689
38689
|
showCancel = true,
|
|
38690
38690
|
close,
|
|
38691
38691
|
onConfirm,
|
|
@@ -38763,7 +38763,7 @@ const InternalPopconfirm = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
38763
38763
|
placement = "top",
|
|
38764
38764
|
trigger = "click",
|
|
38765
38765
|
okType = "primary",
|
|
38766
|
-
icon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
38766
|
+
icon = /* @__PURE__ */ React.createElement(RefIcon$s, null),
|
|
38767
38767
|
children,
|
|
38768
38768
|
overlayClassName,
|
|
38769
38769
|
onOpenChange,
|
|
@@ -39054,7 +39054,7 @@ var Circle$1 = function Circle2(props) {
|
|
|
39054
39054
|
});
|
|
39055
39055
|
});
|
|
39056
39056
|
};
|
|
39057
|
-
return /* @__PURE__ */ React.createElement("svg", _extends$
|
|
39057
|
+
return /* @__PURE__ */ React.createElement("svg", _extends$l({
|
|
39058
39058
|
className: classNames("".concat(prefixCls, "-circle"), className),
|
|
39059
39059
|
viewBox: "0 0 ".concat(VIEW_BOX_SIZE, " ").concat(VIEW_BOX_SIZE),
|
|
39060
39060
|
style: style2,
|
|
@@ -39740,9 +39740,9 @@ const Progress = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
39740
39740
|
if (infoPosition === "inner" || format3 || progressStatus !== "exception" && progressStatus !== "success") {
|
|
39741
39741
|
text = textFormatter(validProgress(percent), validProgress(successPercent));
|
|
39742
39742
|
} else if (progressStatus === "exception") {
|
|
39743
|
-
text = isLineType ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
39743
|
+
text = isLineType ? /* @__PURE__ */ React.createElement(RefIcon$u, null) : /* @__PURE__ */ React.createElement(RefIcon$t, null);
|
|
39744
39744
|
} else if (progressStatus === "success") {
|
|
39745
|
-
text = isLineType ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
39745
|
+
text = isLineType ? /* @__PURE__ */ React.createElement(RefIcon$v, null) : /* @__PURE__ */ React.createElement(RefIcon$o, null);
|
|
39746
39746
|
}
|
|
39747
39747
|
return /* @__PURE__ */ React.createElement("span", {
|
|
39748
39748
|
className: classNames(`${prefixCls}-text`, {
|
|
@@ -39798,12 +39798,12 @@ const Progress = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
39798
39798
|
});
|
|
39799
39799
|
var StarFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" };
|
|
39800
39800
|
var StarFilled = function StarFilled2(props, ref2) {
|
|
39801
|
-
return /* @__PURE__ */ React.createElement(Icon$4, _extends$
|
|
39801
|
+
return /* @__PURE__ */ React.createElement(Icon$4, _extends$l({}, props, {
|
|
39802
39802
|
ref: ref2,
|
|
39803
39803
|
icon: StarFilled$1
|
|
39804
39804
|
}));
|
|
39805
39805
|
};
|
|
39806
|
-
var RefIcon$
|
|
39806
|
+
var RefIcon$e = /* @__PURE__ */ React.forwardRef(StarFilled);
|
|
39807
39807
|
function Star(props, ref2) {
|
|
39808
39808
|
var disabled = props.disabled, prefixCls = props.prefixCls, character2 = props.character, characterRender = props.characterRender, index2 = props.index, count = props.count, value = props.value, allowHalf = props.allowHalf, focused = props.focused, onHover = props.onHover, onClick = props.onClick;
|
|
39809
39809
|
var onInternalHover = function onInternalHover2(e2) {
|
|
@@ -40035,7 +40035,7 @@ function Rate$1(props, ref2) {
|
|
|
40035
40035
|
});
|
|
40036
40036
|
});
|
|
40037
40037
|
var classString = classNames(prefixCls, className, _defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-rtl"), direction === "rtl"));
|
|
40038
|
-
return /* @__PURE__ */ React__default.createElement("ul", _extends$
|
|
40038
|
+
return /* @__PURE__ */ React__default.createElement("ul", _extends$l({
|
|
40039
40039
|
className: classString,
|
|
40040
40040
|
onMouseLeave: onMouseLeaveCallback,
|
|
40041
40041
|
tabIndex: disabled ? -1 : tabIndex,
|
|
@@ -40153,7 +40153,7 @@ const Rate = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
40153
40153
|
rootClassName,
|
|
40154
40154
|
style: style2,
|
|
40155
40155
|
tooltips,
|
|
40156
|
-
character: character2 = /* @__PURE__ */ React.createElement(RefIcon$
|
|
40156
|
+
character: character2 = /* @__PURE__ */ React.createElement(RefIcon$e, null),
|
|
40157
40157
|
disabled: customDisabled
|
|
40158
40158
|
} = props, rest = __rest$4(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character", "disabled"]);
|
|
40159
40159
|
const characterRender = (node2, {
|
|
@@ -53577,8 +53577,8 @@ function requireHoistNonReactStatics_cjs() {
|
|
|
53577
53577
|
return hoistNonReactStatics_cjs;
|
|
53578
53578
|
}
|
|
53579
53579
|
requireHoistNonReactStatics_cjs();
|
|
53580
|
-
function _extends$
|
|
53581
|
-
_extends$
|
|
53580
|
+
function _extends$k() {
|
|
53581
|
+
_extends$k = Object.assign || function(target) {
|
|
53582
53582
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
53583
53583
|
var source = arguments[i2];
|
|
53584
53584
|
for (var key in source) {
|
|
@@ -53589,7 +53589,7 @@ function _extends$f() {
|
|
|
53589
53589
|
}
|
|
53590
53590
|
return target;
|
|
53591
53591
|
};
|
|
53592
|
-
return _extends$
|
|
53592
|
+
return _extends$k.apply(this, arguments);
|
|
53593
53593
|
}
|
|
53594
53594
|
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
53595
53595
|
if (source == null) return {};
|
|
@@ -53695,60 +53695,60 @@ function setNestedObjectValues(object4, value, visited, response) {
|
|
|
53695
53695
|
function formikReducer(state, msg) {
|
|
53696
53696
|
switch (msg.type) {
|
|
53697
53697
|
case "SET_VALUES":
|
|
53698
|
-
return _extends$
|
|
53698
|
+
return _extends$k({}, state, {
|
|
53699
53699
|
values: msg.payload
|
|
53700
53700
|
});
|
|
53701
53701
|
case "SET_TOUCHED":
|
|
53702
|
-
return _extends$
|
|
53702
|
+
return _extends$k({}, state, {
|
|
53703
53703
|
touched: msg.payload
|
|
53704
53704
|
});
|
|
53705
53705
|
case "SET_ERRORS":
|
|
53706
53706
|
if (isEqual(state.errors, msg.payload)) {
|
|
53707
53707
|
return state;
|
|
53708
53708
|
}
|
|
53709
|
-
return _extends$
|
|
53709
|
+
return _extends$k({}, state, {
|
|
53710
53710
|
errors: msg.payload
|
|
53711
53711
|
});
|
|
53712
53712
|
case "SET_STATUS":
|
|
53713
|
-
return _extends$
|
|
53713
|
+
return _extends$k({}, state, {
|
|
53714
53714
|
status: msg.payload
|
|
53715
53715
|
});
|
|
53716
53716
|
case "SET_ISSUBMITTING":
|
|
53717
|
-
return _extends$
|
|
53717
|
+
return _extends$k({}, state, {
|
|
53718
53718
|
isSubmitting: msg.payload
|
|
53719
53719
|
});
|
|
53720
53720
|
case "SET_ISVALIDATING":
|
|
53721
|
-
return _extends$
|
|
53721
|
+
return _extends$k({}, state, {
|
|
53722
53722
|
isValidating: msg.payload
|
|
53723
53723
|
});
|
|
53724
53724
|
case "SET_FIELD_VALUE":
|
|
53725
|
-
return _extends$
|
|
53725
|
+
return _extends$k({}, state, {
|
|
53726
53726
|
values: setIn(state.values, msg.payload.field, msg.payload.value)
|
|
53727
53727
|
});
|
|
53728
53728
|
case "SET_FIELD_TOUCHED":
|
|
53729
|
-
return _extends$
|
|
53729
|
+
return _extends$k({}, state, {
|
|
53730
53730
|
touched: setIn(state.touched, msg.payload.field, msg.payload.value)
|
|
53731
53731
|
});
|
|
53732
53732
|
case "SET_FIELD_ERROR":
|
|
53733
|
-
return _extends$
|
|
53733
|
+
return _extends$k({}, state, {
|
|
53734
53734
|
errors: setIn(state.errors, msg.payload.field, msg.payload.value)
|
|
53735
53735
|
});
|
|
53736
53736
|
case "RESET_FORM":
|
|
53737
|
-
return _extends$
|
|
53737
|
+
return _extends$k({}, state, msg.payload);
|
|
53738
53738
|
case "SET_FORMIK_STATE":
|
|
53739
53739
|
return msg.payload(state);
|
|
53740
53740
|
case "SUBMIT_ATTEMPT":
|
|
53741
|
-
return _extends$
|
|
53741
|
+
return _extends$k({}, state, {
|
|
53742
53742
|
touched: setNestedObjectValues(state.values, true),
|
|
53743
53743
|
isSubmitting: true,
|
|
53744
53744
|
submitCount: state.submitCount + 1
|
|
53745
53745
|
});
|
|
53746
53746
|
case "SUBMIT_FAILURE":
|
|
53747
|
-
return _extends$
|
|
53747
|
+
return _extends$k({}, state, {
|
|
53748
53748
|
isSubmitting: false
|
|
53749
53749
|
});
|
|
53750
53750
|
case "SUBMIT_SUCCESS":
|
|
53751
|
-
return _extends$
|
|
53751
|
+
return _extends$k({}, state, {
|
|
53752
53752
|
isSubmitting: false
|
|
53753
53753
|
});
|
|
53754
53754
|
default:
|
|
@@ -53759,7 +53759,7 @@ var emptyErrors = {};
|
|
|
53759
53759
|
var emptyTouched = {};
|
|
53760
53760
|
function useFormik(_ref) {
|
|
53761
53761
|
var _ref$validateOnChange = _ref.validateOnChange, validateOnChange = _ref$validateOnChange === void 0 ? true : _ref$validateOnChange, _ref$validateOnBlur = _ref.validateOnBlur, validateOnBlur = _ref$validateOnBlur === void 0 ? true : _ref$validateOnBlur, _ref$validateOnMount = _ref.validateOnMount, validateOnMount = _ref$validateOnMount === void 0 ? false : _ref$validateOnMount, isInitialValid = _ref.isInitialValid, _ref$enableReinitiali = _ref.enableReinitialize, enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali, onSubmit = _ref.onSubmit, rest = _objectWithoutPropertiesLoose$1(_ref, ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"]);
|
|
53762
|
-
var props = _extends$
|
|
53762
|
+
var props = _extends$k({
|
|
53763
53763
|
validateOnChange,
|
|
53764
53764
|
validateOnBlur,
|
|
53765
53765
|
validateOnMount,
|
|
@@ -54294,7 +54294,7 @@ function useFormik(_ref) {
|
|
|
54294
54294
|
var isValid2 = useMemo$2(function() {
|
|
54295
54295
|
return typeof isInitialValid !== "undefined" ? dirty ? state.errors && Object.keys(state.errors).length === 0 : isInitialValid !== false && isFunction$1(isInitialValid) ? isInitialValid(props) : isInitialValid : state.errors && Object.keys(state.errors).length === 0;
|
|
54296
54296
|
}, [isInitialValid, dirty, state.errors, props]);
|
|
54297
|
-
var ctx = _extends$
|
|
54297
|
+
var ctx = _extends$k({}, state, {
|
|
54298
54298
|
initialValues: initialValues.current,
|
|
54299
54299
|
initialErrors: initialErrors.current,
|
|
54300
54300
|
initialTouched: initialTouched.current,
|
|
@@ -54458,7 +54458,7 @@ var Form2 = /* @__PURE__ */ forwardRef(function(props, ref2) {
|
|
|
54458
54458
|
var action = props.action, rest = _objectWithoutPropertiesLoose$1(props, ["action"]);
|
|
54459
54459
|
var _action = action != null ? action : "#";
|
|
54460
54460
|
var _useFormikContext = useFormikContext(), handleReset = _useFormikContext.handleReset, handleSubmit = _useFormikContext.handleSubmit;
|
|
54461
|
-
return createElement("form", _extends$
|
|
54461
|
+
return createElement("form", _extends$k({
|
|
54462
54462
|
onSubmit: handleSubmit,
|
|
54463
54463
|
ref: ref2,
|
|
54464
54464
|
onReset: handleReset,
|
|
@@ -55546,8 +55546,8 @@ class Condition {
|
|
|
55546
55546
|
function toArray$1(value) {
|
|
55547
55547
|
return value == null ? [] : [].concat(value);
|
|
55548
55548
|
}
|
|
55549
|
-
function _extends$
|
|
55550
|
-
_extends$
|
|
55549
|
+
function _extends$j() {
|
|
55550
|
+
_extends$j = Object.assign || function(target) {
|
|
55551
55551
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
55552
55552
|
var source = arguments[i2];
|
|
55553
55553
|
for (var key in source) {
|
|
@@ -55558,13 +55558,13 @@ function _extends$e() {
|
|
|
55558
55558
|
}
|
|
55559
55559
|
return target;
|
|
55560
55560
|
};
|
|
55561
|
-
return _extends$
|
|
55561
|
+
return _extends$j.apply(this, arguments);
|
|
55562
55562
|
}
|
|
55563
55563
|
let strReg = /\$\{\s*(\w+)\s*\}/g;
|
|
55564
55564
|
class ValidationError extends Error {
|
|
55565
55565
|
static formatError(message, params) {
|
|
55566
55566
|
const path2 = params.label || params.path || "this";
|
|
55567
|
-
if (path2 !== params.path) params = _extends$
|
|
55567
|
+
if (path2 !== params.path) params = _extends$j({}, params, {
|
|
55568
55568
|
path: path2
|
|
55569
55569
|
});
|
|
55570
55570
|
if (typeof message === "string") return message.replace(strReg, (_2, key) => printValue(params[key]));
|
|
@@ -56967,8 +56967,8 @@ class Reference {
|
|
|
56967
56967
|
}
|
|
56968
56968
|
}
|
|
56969
56969
|
Reference.prototype.__isYupRef = true;
|
|
56970
|
-
function _extends$
|
|
56971
|
-
_extends$
|
|
56970
|
+
function _extends$i() {
|
|
56971
|
+
_extends$i = Object.assign || function(target) {
|
|
56972
56972
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
56973
56973
|
var source = arguments[i2];
|
|
56974
56974
|
for (var key in source) {
|
|
@@ -56979,7 +56979,7 @@ function _extends$d() {
|
|
|
56979
56979
|
}
|
|
56980
56980
|
return target;
|
|
56981
56981
|
};
|
|
56982
|
-
return _extends$
|
|
56982
|
+
return _extends$i.apply(this, arguments);
|
|
56983
56983
|
}
|
|
56984
56984
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
56985
56985
|
if (source == null) return {};
|
|
@@ -57017,7 +57017,7 @@ function createValidation(config) {
|
|
|
57017
57017
|
return Reference.isRef(item) ? item.getValue(value, parent, context) : item;
|
|
57018
57018
|
}
|
|
57019
57019
|
function createError(overrides = {}) {
|
|
57020
|
-
const nextParams = mapValues(_extends$
|
|
57020
|
+
const nextParams = mapValues(_extends$i({
|
|
57021
57021
|
value,
|
|
57022
57022
|
originalValue,
|
|
57023
57023
|
label,
|
|
@@ -57027,7 +57027,7 @@ function createValidation(config) {
|
|
|
57027
57027
|
error.params = nextParams;
|
|
57028
57028
|
return error;
|
|
57029
57029
|
}
|
|
57030
|
-
let ctx = _extends$
|
|
57030
|
+
let ctx = _extends$i({
|
|
57031
57031
|
path: path2,
|
|
57032
57032
|
parent,
|
|
57033
57033
|
type: name,
|
|
@@ -57148,8 +57148,8 @@ class ReferenceSet {
|
|
|
57148
57148
|
return next2;
|
|
57149
57149
|
}
|
|
57150
57150
|
}
|
|
57151
|
-
function _extends$
|
|
57152
|
-
_extends$
|
|
57151
|
+
function _extends$h() {
|
|
57152
|
+
_extends$h = Object.assign || function(target) {
|
|
57153
57153
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
57154
57154
|
var source = arguments[i2];
|
|
57155
57155
|
for (var key in source) {
|
|
@@ -57160,7 +57160,7 @@ function _extends$c() {
|
|
|
57160
57160
|
}
|
|
57161
57161
|
return target;
|
|
57162
57162
|
};
|
|
57163
|
-
return _extends$
|
|
57163
|
+
return _extends$h.apply(this, arguments);
|
|
57164
57164
|
}
|
|
57165
57165
|
class BaseSchema {
|
|
57166
57166
|
constructor(options) {
|
|
@@ -57180,7 +57180,7 @@ class BaseSchema {
|
|
|
57180
57180
|
this.typeError(mixed.notType);
|
|
57181
57181
|
});
|
|
57182
57182
|
this.type = (options == null ? void 0 : options.type) || "mixed";
|
|
57183
|
-
this.spec = _extends$
|
|
57183
|
+
this.spec = _extends$h({
|
|
57184
57184
|
strip: false,
|
|
57185
57185
|
strict: false,
|
|
57186
57186
|
abortEarly: true,
|
|
@@ -57208,12 +57208,12 @@ class BaseSchema {
|
|
|
57208
57208
|
next2._blacklistError = this._blacklistError;
|
|
57209
57209
|
next2._whitelist = this._whitelist.clone();
|
|
57210
57210
|
next2._blacklist = this._blacklist.clone();
|
|
57211
|
-
next2.exclusiveTests = _extends$
|
|
57211
|
+
next2.exclusiveTests = _extends$h({}, this.exclusiveTests);
|
|
57212
57212
|
next2.deps = [...this.deps];
|
|
57213
57213
|
next2.conditions = [...this.conditions];
|
|
57214
57214
|
next2.tests = [...this.tests];
|
|
57215
57215
|
next2.transforms = [...this.transforms];
|
|
57216
|
-
next2.spec = clone$2(_extends$
|
|
57216
|
+
next2.spec = clone$2(_extends$h({}, this.spec, spec));
|
|
57217
57217
|
return next2;
|
|
57218
57218
|
}
|
|
57219
57219
|
label(label) {
|
|
@@ -57246,7 +57246,7 @@ class BaseSchema {
|
|
|
57246
57246
|
if (schema.type !== this.type && this.type !== "mixed") throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${schema.type}`);
|
|
57247
57247
|
let base = this;
|
|
57248
57248
|
let combined = schema.clone();
|
|
57249
|
-
const mergedSpec = _extends$
|
|
57249
|
+
const mergedSpec = _extends$h({}, base.spec, combined.spec);
|
|
57250
57250
|
combined.spec = mergedSpec;
|
|
57251
57251
|
combined._typeError || (combined._typeError = base._typeError);
|
|
57252
57252
|
combined._whitelistError || (combined._whitelistError = base._whitelistError);
|
|
@@ -57286,7 +57286,7 @@ class BaseSchema {
|
|
|
57286
57286
|
* @param {*=} options.context
|
|
57287
57287
|
*/
|
|
57288
57288
|
cast(value, options = {}) {
|
|
57289
|
-
let resolvedSchema = this.resolve(_extends$
|
|
57289
|
+
let resolvedSchema = this.resolve(_extends$h({
|
|
57290
57290
|
value
|
|
57291
57291
|
}, options));
|
|
57292
57292
|
let result = resolvedSchema._cast(value, options);
|
|
@@ -57318,7 +57318,7 @@ attempted value: ${formattedValue}
|
|
|
57318
57318
|
} = options;
|
|
57319
57319
|
let value = _value;
|
|
57320
57320
|
if (!strict) {
|
|
57321
|
-
value = this._cast(value, _extends$
|
|
57321
|
+
value = this._cast(value, _extends$h({
|
|
57322
57322
|
assert: false
|
|
57323
57323
|
}, options));
|
|
57324
57324
|
}
|
|
@@ -57356,7 +57356,7 @@ attempted value: ${formattedValue}
|
|
|
57356
57356
|
});
|
|
57357
57357
|
}
|
|
57358
57358
|
validate(value, options, maybeCb) {
|
|
57359
|
-
let schema = this.resolve(_extends$
|
|
57359
|
+
let schema = this.resolve(_extends$h({}, options, {
|
|
57360
57360
|
value
|
|
57361
57361
|
}));
|
|
57362
57362
|
return typeof maybeCb === "function" ? schema._validate(value, options, maybeCb) : new Promise((resolve, reject) => schema._validate(value, options, (err, value2) => {
|
|
@@ -57365,11 +57365,11 @@ attempted value: ${formattedValue}
|
|
|
57365
57365
|
}));
|
|
57366
57366
|
}
|
|
57367
57367
|
validateSync(value, options) {
|
|
57368
|
-
let schema = this.resolve(_extends$
|
|
57368
|
+
let schema = this.resolve(_extends$h({}, options, {
|
|
57369
57369
|
value
|
|
57370
57370
|
}));
|
|
57371
57371
|
let result;
|
|
57372
|
-
schema._validate(value, _extends$
|
|
57372
|
+
schema._validate(value, _extends$h({}, options, {
|
|
57373
57373
|
sync: true
|
|
57374
57374
|
}), (err, value2) => {
|
|
57375
57375
|
if (err) throw err;
|
|
@@ -57621,7 +57621,7 @@ for (const method4 of ["validate", "validateSync"]) BaseSchema.prototype[`${meth
|
|
|
57621
57621
|
parentPath,
|
|
57622
57622
|
schema
|
|
57623
57623
|
} = getIn(this, path2, value, options.context);
|
|
57624
|
-
return schema[method4](parent && parent[parentPath], _extends$
|
|
57624
|
+
return schema[method4](parent && parent[parentPath], _extends$h({}, options, {
|
|
57625
57625
|
parent,
|
|
57626
57626
|
path: path2
|
|
57627
57627
|
}));
|
|
@@ -58583,8 +58583,8 @@ function sortByKeyOrder(keys2) {
|
|
|
58583
58583
|
return findIndex(keys2, a2) - findIndex(keys2, b2);
|
|
58584
58584
|
};
|
|
58585
58585
|
}
|
|
58586
|
-
function _extends$
|
|
58587
|
-
_extends$
|
|
58586
|
+
function _extends$g() {
|
|
58587
|
+
_extends$g = Object.assign || function(target) {
|
|
58588
58588
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
58589
58589
|
var source = arguments[i2];
|
|
58590
58590
|
for (var key in source) {
|
|
@@ -58595,7 +58595,7 @@ function _extends$b() {
|
|
|
58595
58595
|
}
|
|
58596
58596
|
return target;
|
|
58597
58597
|
};
|
|
58598
|
-
return _extends$
|
|
58598
|
+
return _extends$g.apply(this, arguments);
|
|
58599
58599
|
}
|
|
58600
58600
|
let isObject$1 = (obj) => Object.prototype.toString.call(obj) === "[object Object]";
|
|
58601
58601
|
function unknown(ctx, value) {
|
|
@@ -58641,7 +58641,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
58641
58641
|
let strip = (_options$stripUnknown = options.stripUnknown) != null ? _options$stripUnknown : this.spec.noUnknown;
|
|
58642
58642
|
let props = this._nodes.concat(Object.keys(value).filter((v2) => this._nodes.indexOf(v2) === -1));
|
|
58643
58643
|
let intermediateValue = {};
|
|
58644
|
-
let innerOptions = _extends$
|
|
58644
|
+
let innerOptions = _extends$g({}, options, {
|
|
58645
58645
|
parent: intermediateValue,
|
|
58646
58646
|
__validating: options.__validating || false
|
|
58647
58647
|
});
|
|
@@ -58712,7 +58712,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
58712
58712
|
let path2 = key.indexOf(".") === -1 ? (opts.path ? `${opts.path}.` : "") + key : `${opts.path || ""}["${key}"]`;
|
|
58713
58713
|
let field = this.fields[key];
|
|
58714
58714
|
if (field && "validate" in field) {
|
|
58715
|
-
field.validate(value[key], _extends$
|
|
58715
|
+
field.validate(value[key], _extends$g({}, opts, {
|
|
58716
58716
|
// @ts-ignore
|
|
58717
58717
|
path: path2,
|
|
58718
58718
|
from: from2,
|
|
@@ -58739,7 +58739,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
58739
58739
|
}
|
|
58740
58740
|
clone(spec) {
|
|
58741
58741
|
const next2 = super.clone(spec);
|
|
58742
|
-
next2.fields = _extends$
|
|
58742
|
+
next2.fields = _extends$g({}, this.fields);
|
|
58743
58743
|
next2._nodes = this._nodes;
|
|
58744
58744
|
next2._excludedEdges = this._excludedEdges;
|
|
58745
58745
|
next2._sortErrors = this._sortErrors;
|
|
@@ -58812,7 +58812,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
58812
58812
|
if (obj == null) return obj;
|
|
58813
58813
|
let newObj = obj;
|
|
58814
58814
|
if (has$1(obj, from2)) {
|
|
58815
|
-
newObj = _extends$
|
|
58815
|
+
newObj = _extends$g({}, obj);
|
|
58816
58816
|
if (!alias) delete newObj[from2];
|
|
58817
58817
|
newObj[to2] = fromGetter(obj);
|
|
58818
58818
|
}
|
|
@@ -103557,8 +103557,8 @@ function getTwoToneColor() {
|
|
|
103557
103557
|
}
|
|
103558
103558
|
return [colors.primaryColor, colors.secondaryColor];
|
|
103559
103559
|
}
|
|
103560
|
-
function _extends$
|
|
103561
|
-
_extends$
|
|
103560
|
+
function _extends$f() {
|
|
103561
|
+
_extends$f = Object.assign ? Object.assign.bind() : function(target) {
|
|
103562
103562
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103563
103563
|
var source = arguments[i2];
|
|
103564
103564
|
for (var key in source) {
|
|
@@ -103569,7 +103569,7 @@ function _extends$a() {
|
|
|
103569
103569
|
}
|
|
103570
103570
|
return target;
|
|
103571
103571
|
};
|
|
103572
|
-
return _extends$
|
|
103572
|
+
return _extends$f.apply(this, arguments);
|
|
103573
103573
|
}
|
|
103574
103574
|
setTwoToneColor(blue.primary);
|
|
103575
103575
|
const Icon$1 = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
@@ -103603,7 +103603,7 @@ const Icon$1 = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
103603
103603
|
transform: `rotate(${rotate}deg)`
|
|
103604
103604
|
} : void 0;
|
|
103605
103605
|
const [primaryColor, secondaryColor] = normalizeTwoToneColors(twoToneColor);
|
|
103606
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
103606
|
+
return /* @__PURE__ */ React.createElement("span", _extends$f({
|
|
103607
103607
|
role: "img",
|
|
103608
103608
|
"aria-label": icon.name
|
|
103609
103609
|
}, restProps, {
|
|
@@ -103633,8 +103633,8 @@ function requireCalendarOutlined() {
|
|
|
103633
103633
|
}
|
|
103634
103634
|
var CalendarOutlinedExports = /* @__PURE__ */ requireCalendarOutlined();
|
|
103635
103635
|
const CalendarOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CalendarOutlinedExports);
|
|
103636
|
-
function _extends$
|
|
103637
|
-
_extends$
|
|
103636
|
+
function _extends$e() {
|
|
103637
|
+
_extends$e = Object.assign ? Object.assign.bind() : function(target) {
|
|
103638
103638
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103639
103639
|
var source = arguments[i2];
|
|
103640
103640
|
for (var key in source) {
|
|
@@ -103645,13 +103645,13 @@ function _extends$9() {
|
|
|
103645
103645
|
}
|
|
103646
103646
|
return target;
|
|
103647
103647
|
};
|
|
103648
|
-
return _extends$
|
|
103648
|
+
return _extends$e.apply(this, arguments);
|
|
103649
103649
|
}
|
|
103650
|
-
const CalendarOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$
|
|
103650
|
+
const CalendarOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$e({}, props, {
|
|
103651
103651
|
ref: ref2,
|
|
103652
103652
|
icon: CalendarOutlinedSvg
|
|
103653
103653
|
}));
|
|
103654
|
-
const RefIcon$
|
|
103654
|
+
const RefIcon$d = /* @__PURE__ */ React.forwardRef(CalendarOutlined);
|
|
103655
103655
|
var CheckOutlined$1 = {};
|
|
103656
103656
|
var hasRequiredCheckOutlined;
|
|
103657
103657
|
function requireCheckOutlined() {
|
|
@@ -103664,8 +103664,8 @@ function requireCheckOutlined() {
|
|
|
103664
103664
|
}
|
|
103665
103665
|
var CheckOutlinedExports = /* @__PURE__ */ requireCheckOutlined();
|
|
103666
103666
|
const CheckOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CheckOutlinedExports);
|
|
103667
|
-
function _extends$
|
|
103668
|
-
_extends$
|
|
103667
|
+
function _extends$d() {
|
|
103668
|
+
_extends$d = Object.assign ? Object.assign.bind() : function(target) {
|
|
103669
103669
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103670
103670
|
var source = arguments[i2];
|
|
103671
103671
|
for (var key in source) {
|
|
@@ -103676,13 +103676,13 @@ function _extends$8() {
|
|
|
103676
103676
|
}
|
|
103677
103677
|
return target;
|
|
103678
103678
|
};
|
|
103679
|
-
return _extends$
|
|
103679
|
+
return _extends$d.apply(this, arguments);
|
|
103680
103680
|
}
|
|
103681
|
-
const CheckOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$
|
|
103681
|
+
const CheckOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$d({}, props, {
|
|
103682
103682
|
ref: ref2,
|
|
103683
103683
|
icon: CheckOutlinedSvg
|
|
103684
103684
|
}));
|
|
103685
|
-
const RefIcon$
|
|
103685
|
+
const RefIcon$c = /* @__PURE__ */ React.forwardRef(CheckOutlined);
|
|
103686
103686
|
var CloseCircleOutlined$1 = {};
|
|
103687
103687
|
var hasRequiredCloseCircleOutlined;
|
|
103688
103688
|
function requireCloseCircleOutlined() {
|
|
@@ -103695,8 +103695,8 @@ function requireCloseCircleOutlined() {
|
|
|
103695
103695
|
}
|
|
103696
103696
|
var CloseCircleOutlinedExports = /* @__PURE__ */ requireCloseCircleOutlined();
|
|
103697
103697
|
const CloseCircleOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CloseCircleOutlinedExports);
|
|
103698
|
-
function _extends$
|
|
103699
|
-
_extends$
|
|
103698
|
+
function _extends$c() {
|
|
103699
|
+
_extends$c = Object.assign ? Object.assign.bind() : function(target) {
|
|
103700
103700
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103701
103701
|
var source = arguments[i2];
|
|
103702
103702
|
for (var key in source) {
|
|
@@ -103707,13 +103707,13 @@ function _extends$7() {
|
|
|
103707
103707
|
}
|
|
103708
103708
|
return target;
|
|
103709
103709
|
};
|
|
103710
|
-
return _extends$
|
|
103710
|
+
return _extends$c.apply(this, arguments);
|
|
103711
103711
|
}
|
|
103712
|
-
const CloseCircleOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$
|
|
103712
|
+
const CloseCircleOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$c({}, props, {
|
|
103713
103713
|
ref: ref2,
|
|
103714
103714
|
icon: CloseCircleOutlinedSvg
|
|
103715
103715
|
}));
|
|
103716
|
-
const RefIcon$
|
|
103716
|
+
const RefIcon$b = /* @__PURE__ */ React.forwardRef(CloseCircleOutlined);
|
|
103717
103717
|
var CloseOutlined$1 = {};
|
|
103718
103718
|
var hasRequiredCloseOutlined;
|
|
103719
103719
|
function requireCloseOutlined() {
|
|
@@ -103726,8 +103726,8 @@ function requireCloseOutlined() {
|
|
|
103726
103726
|
}
|
|
103727
103727
|
var CloseOutlinedExports = /* @__PURE__ */ requireCloseOutlined();
|
|
103728
103728
|
const CloseOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CloseOutlinedExports);
|
|
103729
|
-
function _extends$
|
|
103730
|
-
_extends$
|
|
103729
|
+
function _extends$b() {
|
|
103730
|
+
_extends$b = Object.assign ? Object.assign.bind() : function(target) {
|
|
103731
103731
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103732
103732
|
var source = arguments[i2];
|
|
103733
103733
|
for (var key in source) {
|
|
@@ -103738,13 +103738,44 @@ function _extends$6() {
|
|
|
103738
103738
|
}
|
|
103739
103739
|
return target;
|
|
103740
103740
|
};
|
|
103741
|
-
return _extends$
|
|
103741
|
+
return _extends$b.apply(this, arguments);
|
|
103742
103742
|
}
|
|
103743
|
-
const CloseOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$
|
|
103743
|
+
const CloseOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$b({}, props, {
|
|
103744
103744
|
ref: ref2,
|
|
103745
103745
|
icon: CloseOutlinedSvg
|
|
103746
103746
|
}));
|
|
103747
|
-
const RefIcon$
|
|
103747
|
+
const RefIcon$a = /* @__PURE__ */ React.forwardRef(CloseOutlined);
|
|
103748
|
+
var DeleteOutlined$1 = {};
|
|
103749
|
+
var hasRequiredDeleteOutlined;
|
|
103750
|
+
function requireDeleteOutlined() {
|
|
103751
|
+
if (hasRequiredDeleteOutlined) return DeleteOutlined$1;
|
|
103752
|
+
hasRequiredDeleteOutlined = 1;
|
|
103753
|
+
Object.defineProperty(DeleteOutlined$1, "__esModule", { value: true });
|
|
103754
|
+
var DeleteOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
103755
|
+
DeleteOutlined$1.default = DeleteOutlined2;
|
|
103756
|
+
return DeleteOutlined$1;
|
|
103757
|
+
}
|
|
103758
|
+
var DeleteOutlinedExports = /* @__PURE__ */ requireDeleteOutlined();
|
|
103759
|
+
const DeleteOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(DeleteOutlinedExports);
|
|
103760
|
+
function _extends$a() {
|
|
103761
|
+
_extends$a = Object.assign ? Object.assign.bind() : function(target) {
|
|
103762
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103763
|
+
var source = arguments[i2];
|
|
103764
|
+
for (var key in source) {
|
|
103765
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
103766
|
+
target[key] = source[key];
|
|
103767
|
+
}
|
|
103768
|
+
}
|
|
103769
|
+
}
|
|
103770
|
+
return target;
|
|
103771
|
+
};
|
|
103772
|
+
return _extends$a.apply(this, arguments);
|
|
103773
|
+
}
|
|
103774
|
+
const DeleteOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$a({}, props, {
|
|
103775
|
+
ref: ref2,
|
|
103776
|
+
icon: DeleteOutlinedSvg
|
|
103777
|
+
}));
|
|
103778
|
+
const RefIcon$9 = /* @__PURE__ */ React.forwardRef(DeleteOutlined);
|
|
103748
103779
|
var EditOutlined$1 = {};
|
|
103749
103780
|
var hasRequiredEditOutlined;
|
|
103750
103781
|
function requireEditOutlined() {
|
|
@@ -103757,8 +103788,8 @@ function requireEditOutlined() {
|
|
|
103757
103788
|
}
|
|
103758
103789
|
var EditOutlinedExports = /* @__PURE__ */ requireEditOutlined();
|
|
103759
103790
|
const EditOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(EditOutlinedExports);
|
|
103760
|
-
function _extends$
|
|
103761
|
-
_extends$
|
|
103791
|
+
function _extends$9() {
|
|
103792
|
+
_extends$9 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103762
103793
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103763
103794
|
var source = arguments[i2];
|
|
103764
103795
|
for (var key in source) {
|
|
@@ -103769,13 +103800,13 @@ function _extends$5() {
|
|
|
103769
103800
|
}
|
|
103770
103801
|
return target;
|
|
103771
103802
|
};
|
|
103772
|
-
return _extends$
|
|
103803
|
+
return _extends$9.apply(this, arguments);
|
|
103773
103804
|
}
|
|
103774
|
-
const EditOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$
|
|
103805
|
+
const EditOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$9({}, props, {
|
|
103775
103806
|
ref: ref2,
|
|
103776
103807
|
icon: EditOutlinedSvg
|
|
103777
103808
|
}));
|
|
103778
|
-
const RefIcon$
|
|
103809
|
+
const RefIcon$8 = /* @__PURE__ */ React.forwardRef(EditOutlined);
|
|
103779
103810
|
var ExpandAltOutlined$1 = {};
|
|
103780
103811
|
var hasRequiredExpandAltOutlined;
|
|
103781
103812
|
function requireExpandAltOutlined() {
|
|
@@ -103788,6 +103819,130 @@ function requireExpandAltOutlined() {
|
|
|
103788
103819
|
}
|
|
103789
103820
|
var ExpandAltOutlinedExports = /* @__PURE__ */ requireExpandAltOutlined();
|
|
103790
103821
|
const ExpandAltOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(ExpandAltOutlinedExports);
|
|
103822
|
+
function _extends$8() {
|
|
103823
|
+
_extends$8 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103824
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103825
|
+
var source = arguments[i2];
|
|
103826
|
+
for (var key in source) {
|
|
103827
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
103828
|
+
target[key] = source[key];
|
|
103829
|
+
}
|
|
103830
|
+
}
|
|
103831
|
+
}
|
|
103832
|
+
return target;
|
|
103833
|
+
};
|
|
103834
|
+
return _extends$8.apply(this, arguments);
|
|
103835
|
+
}
|
|
103836
|
+
const ExpandAltOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$8({}, props, {
|
|
103837
|
+
ref: ref2,
|
|
103838
|
+
icon: ExpandAltOutlinedSvg
|
|
103839
|
+
}));
|
|
103840
|
+
const RefIcon$7 = /* @__PURE__ */ React.forwardRef(ExpandAltOutlined);
|
|
103841
|
+
var FileImageOutlined$1 = {};
|
|
103842
|
+
var hasRequiredFileImageOutlined;
|
|
103843
|
+
function requireFileImageOutlined() {
|
|
103844
|
+
if (hasRequiredFileImageOutlined) return FileImageOutlined$1;
|
|
103845
|
+
hasRequiredFileImageOutlined = 1;
|
|
103846
|
+
Object.defineProperty(FileImageOutlined$1, "__esModule", { value: true });
|
|
103847
|
+
var FileImageOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, "name": "file-image", "theme": "outlined" };
|
|
103848
|
+
FileImageOutlined$1.default = FileImageOutlined2;
|
|
103849
|
+
return FileImageOutlined$1;
|
|
103850
|
+
}
|
|
103851
|
+
var FileImageOutlinedExports = /* @__PURE__ */ requireFileImageOutlined();
|
|
103852
|
+
const FileImageOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(FileImageOutlinedExports);
|
|
103853
|
+
function _extends$7() {
|
|
103854
|
+
_extends$7 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103855
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103856
|
+
var source = arguments[i2];
|
|
103857
|
+
for (var key in source) {
|
|
103858
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
103859
|
+
target[key] = source[key];
|
|
103860
|
+
}
|
|
103861
|
+
}
|
|
103862
|
+
}
|
|
103863
|
+
return target;
|
|
103864
|
+
};
|
|
103865
|
+
return _extends$7.apply(this, arguments);
|
|
103866
|
+
}
|
|
103867
|
+
const FileImageOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$7({}, props, {
|
|
103868
|
+
ref: ref2,
|
|
103869
|
+
icon: FileImageOutlinedSvg
|
|
103870
|
+
}));
|
|
103871
|
+
const RefIcon$6 = /* @__PURE__ */ React.forwardRef(FileImageOutlined);
|
|
103872
|
+
var FileOutlined$1 = {};
|
|
103873
|
+
var hasRequiredFileOutlined;
|
|
103874
|
+
function requireFileOutlined() {
|
|
103875
|
+
if (hasRequiredFileOutlined) return FileOutlined$1;
|
|
103876
|
+
hasRequiredFileOutlined = 1;
|
|
103877
|
+
Object.defineProperty(FileOutlined$1, "__esModule", { value: true });
|
|
103878
|
+
var FileOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, "name": "file", "theme": "outlined" };
|
|
103879
|
+
FileOutlined$1.default = FileOutlined2;
|
|
103880
|
+
return FileOutlined$1;
|
|
103881
|
+
}
|
|
103882
|
+
var FileOutlinedExports = /* @__PURE__ */ requireFileOutlined();
|
|
103883
|
+
const FileOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(FileOutlinedExports);
|
|
103884
|
+
function _extends$6() {
|
|
103885
|
+
_extends$6 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103886
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103887
|
+
var source = arguments[i2];
|
|
103888
|
+
for (var key in source) {
|
|
103889
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
103890
|
+
target[key] = source[key];
|
|
103891
|
+
}
|
|
103892
|
+
}
|
|
103893
|
+
}
|
|
103894
|
+
return target;
|
|
103895
|
+
};
|
|
103896
|
+
return _extends$6.apply(this, arguments);
|
|
103897
|
+
}
|
|
103898
|
+
const FileOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$6({}, props, {
|
|
103899
|
+
ref: ref2,
|
|
103900
|
+
icon: FileOutlinedSvg
|
|
103901
|
+
}));
|
|
103902
|
+
const RefIcon$5 = /* @__PURE__ */ React.forwardRef(FileOutlined);
|
|
103903
|
+
var FilePdfOutlined$1 = {};
|
|
103904
|
+
var hasRequiredFilePdfOutlined;
|
|
103905
|
+
function requireFilePdfOutlined() {
|
|
103906
|
+
if (hasRequiredFilePdfOutlined) return FilePdfOutlined$1;
|
|
103907
|
+
hasRequiredFilePdfOutlined = 1;
|
|
103908
|
+
Object.defineProperty(FilePdfOutlined$1, "__esModule", { value: true });
|
|
103909
|
+
var FilePdfOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, "name": "file-pdf", "theme": "outlined" };
|
|
103910
|
+
FilePdfOutlined$1.default = FilePdfOutlined2;
|
|
103911
|
+
return FilePdfOutlined$1;
|
|
103912
|
+
}
|
|
103913
|
+
var FilePdfOutlinedExports = /* @__PURE__ */ requireFilePdfOutlined();
|
|
103914
|
+
const FilePdfOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(FilePdfOutlinedExports);
|
|
103915
|
+
function _extends$5() {
|
|
103916
|
+
_extends$5 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103917
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
103918
|
+
var source = arguments[i2];
|
|
103919
|
+
for (var key in source) {
|
|
103920
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
103921
|
+
target[key] = source[key];
|
|
103922
|
+
}
|
|
103923
|
+
}
|
|
103924
|
+
}
|
|
103925
|
+
return target;
|
|
103926
|
+
};
|
|
103927
|
+
return _extends$5.apply(this, arguments);
|
|
103928
|
+
}
|
|
103929
|
+
const FilePdfOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$5({}, props, {
|
|
103930
|
+
ref: ref2,
|
|
103931
|
+
icon: FilePdfOutlinedSvg
|
|
103932
|
+
}));
|
|
103933
|
+
const RefIcon$4 = /* @__PURE__ */ React.forwardRef(FilePdfOutlined);
|
|
103934
|
+
var FileTextOutlined$1 = {};
|
|
103935
|
+
var hasRequiredFileTextOutlined;
|
|
103936
|
+
function requireFileTextOutlined() {
|
|
103937
|
+
if (hasRequiredFileTextOutlined) return FileTextOutlined$1;
|
|
103938
|
+
hasRequiredFileTextOutlined = 1;
|
|
103939
|
+
Object.defineProperty(FileTextOutlined$1, "__esModule", { value: true });
|
|
103940
|
+
var FileTextOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z" } }] }, "name": "file-text", "theme": "outlined" };
|
|
103941
|
+
FileTextOutlined$1.default = FileTextOutlined2;
|
|
103942
|
+
return FileTextOutlined$1;
|
|
103943
|
+
}
|
|
103944
|
+
var FileTextOutlinedExports = /* @__PURE__ */ requireFileTextOutlined();
|
|
103945
|
+
const FileTextOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(FileTextOutlinedExports);
|
|
103791
103946
|
function _extends$4() {
|
|
103792
103947
|
_extends$4 = Object.assign ? Object.assign.bind() : function(target) {
|
|
103793
103948
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -103802,11 +103957,11 @@ function _extends$4() {
|
|
|
103802
103957
|
};
|
|
103803
103958
|
return _extends$4.apply(this, arguments);
|
|
103804
103959
|
}
|
|
103805
|
-
const
|
|
103960
|
+
const FileTextOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$4({}, props, {
|
|
103806
103961
|
ref: ref2,
|
|
103807
|
-
icon:
|
|
103962
|
+
icon: FileTextOutlinedSvg
|
|
103808
103963
|
}));
|
|
103809
|
-
const RefIcon$3 = /* @__PURE__ */ React.forwardRef(
|
|
103964
|
+
const RefIcon$3 = /* @__PURE__ */ React.forwardRef(FileTextOutlined);
|
|
103810
103965
|
var MenuOutlined$1 = {};
|
|
103811
103966
|
var hasRequiredMenuOutlined;
|
|
103812
103967
|
function requireMenuOutlined() {
|
|
@@ -104127,7 +104282,7 @@ const Icon = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
104127
104282
|
Icon.displayName = "AntdIcon";
|
|
104128
104283
|
const EmptySchedule = ({ brandColor = "#1A4C9D" }) => {
|
|
104129
104284
|
return /* @__PURE__ */ jsxs(Col, { className: `${styles$2.emptyState} mt-4`, children: [
|
|
104130
|
-
/* @__PURE__ */ jsx("div", { className: styles$2.schIconCon, children: /* @__PURE__ */ jsx(RefIcon$
|
|
104285
|
+
/* @__PURE__ */ jsx("div", { className: styles$2.schIconCon, children: /* @__PURE__ */ jsx(RefIcon$d, { style: { color: brandColor, fontSize: 18 } }) }),
|
|
104131
104286
|
/* @__PURE__ */ jsx("p", { className: styles$2.schTitle, children: "No Scheduled Meetings" }),
|
|
104132
104287
|
/* @__PURE__ */ jsx("p", { className: styles$2.schSubtitle, children: "You have no upcoming virtual meetings yet." })
|
|
104133
104288
|
] });
|
|
@@ -105027,7 +105182,7 @@ const Offline = memo(
|
|
|
105027
105182
|
lineHeight: 0,
|
|
105028
105183
|
color: "rgba(255, 255, 255, 0.95)"
|
|
105029
105184
|
},
|
|
105030
|
-
children: /* @__PURE__ */ jsx(RefIcon$
|
|
105185
|
+
children: /* @__PURE__ */ jsx(RefIcon$b, { style: { fontSize: 22 } })
|
|
105031
105186
|
}
|
|
105032
105187
|
),
|
|
105033
105188
|
/* @__PURE__ */ jsxs("div", { style: { padding: "20px 32px 28px 32px", textAlign: "left" }, children: [
|
|
@@ -105507,7 +105662,7 @@ function WidgetInitForm({
|
|
|
105507
105662
|
if (fields[key].show === true || fields[key].show === void 0) {
|
|
105508
105663
|
if (key === "mobile") {
|
|
105509
105664
|
return /* @__PURE__ */ jsxs("div", { className: "mb-2", children: [
|
|
105510
|
-
/* @__PURE__ */ jsx(Col, { style: { marginBottom: "18px", paddingLeft: "0px" }, children: /* @__PURE__ */ jsx("label", { className: "", htmlFor: key, children: /* @__PURE__ */ jsx("span", { className: "bg-white font-bold text-gray-900 pt-1 pl-2 pr-2", children: fields[key].label || capitalizeFirstLetters(key) }) }) }),
|
|
105665
|
+
/* @__PURE__ */ jsx(Col, { style: { marginBottom: "18px", paddingLeft: "0px" }, children: /* @__PURE__ */ jsx("label", { className: "", htmlFor: key, children: /* @__PURE__ */ jsx("span", { className: "bg-white font-bold text-gray-900 pt-1 pl-2 pr-2", children: String(key) === "bvn" ? "ID No" : fields[key].label || capitalizeFirstLetters(key) }) }) }),
|
|
105511
105666
|
/* @__PURE__ */ jsx("div", { className: "mt-[-1rem]", children: /* @__PURE__ */ jsx(
|
|
105512
105667
|
PhoneInput,
|
|
105513
105668
|
{
|
|
@@ -105536,7 +105691,7 @@ function WidgetInitForm({
|
|
|
105536
105691
|
return /* @__PURE__ */ jsx(
|
|
105537
105692
|
FInput,
|
|
105538
105693
|
{
|
|
105539
|
-
label: fields[key].label || capitalizeFirstLetters(key),
|
|
105694
|
+
label: String(key) === "bvn" ? "ID No." : fields[key].label || capitalizeFirstLetters(key),
|
|
105540
105695
|
name: key,
|
|
105541
105696
|
required: fields[key].required,
|
|
105542
105697
|
type: fields[key].type,
|
|
@@ -105935,14 +106090,14 @@ const SenderMessage = ({
|
|
|
105935
106090
|
Button,
|
|
105936
106091
|
{
|
|
105937
106092
|
type: "primary",
|
|
105938
|
-
icon: /* @__PURE__ */ jsx(RefIcon$
|
|
106093
|
+
icon: /* @__PURE__ */ jsx(RefIcon$c, {}),
|
|
105939
106094
|
disabled: !hasChanges || loading,
|
|
105940
106095
|
loading,
|
|
105941
106096
|
onClick: handleUpdate,
|
|
105942
106097
|
children: "Update"
|
|
105943
106098
|
}
|
|
105944
106099
|
),
|
|
105945
|
-
/* @__PURE__ */ jsx(Button, { icon: /* @__PURE__ */ jsx(RefIcon$
|
|
106100
|
+
/* @__PURE__ */ jsx(Button, { icon: /* @__PURE__ */ jsx(RefIcon$a, {}), onClick: handleCancel, children: "Cancel" })
|
|
105946
106101
|
] })
|
|
105947
106102
|
] }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
105948
106103
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
@@ -105951,7 +106106,7 @@ const SenderMessage = ({
|
|
|
105951
106106
|
{
|
|
105952
106107
|
onClick: () => setIsEditing(true),
|
|
105953
106108
|
className: "bg-white border rounded-full px-1 shadow hover:bg-gray-100 text-[#083147]",
|
|
105954
|
-
children: /* @__PURE__ */ jsx(RefIcon$
|
|
106109
|
+
children: /* @__PURE__ */ jsx(RefIcon$8, {})
|
|
105955
106110
|
}
|
|
105956
106111
|
) }),
|
|
105957
106112
|
/* @__PURE__ */ jsx("p", { className: "widget-chat-send", children: cleanMessageText(msg.message) })
|
|
@@ -106045,7 +106200,7 @@ const ViewDocument = ({ fileURL, open: open2, setPDFState }) => {
|
|
|
106045
106200
|
cancelButtonProps: { style: { display: "none" } },
|
|
106046
106201
|
okButtonProps: { style: { display: "none" } },
|
|
106047
106202
|
onCancel: handleCancel,
|
|
106048
|
-
closeIcon: /* @__PURE__ */ jsx(RefIcon$
|
|
106203
|
+
closeIcon: /* @__PURE__ */ jsx(RefIcon$b, {}),
|
|
106049
106204
|
centered: true,
|
|
106050
106205
|
width: "90vw",
|
|
106051
106206
|
style: {
|
|
@@ -106106,12 +106261,101 @@ const WatchVideoFile = ({ fileURL, open: open2, setVideoState }) => {
|
|
|
106106
106261
|
cancelButtonProps: { style: { display: "none" } },
|
|
106107
106262
|
okButtonProps: { style: { display: "none" } },
|
|
106108
106263
|
onCancel: handleCancel,
|
|
106109
|
-
closeIcon: /* @__PURE__ */ jsx(RefIcon$
|
|
106264
|
+
closeIcon: /* @__PURE__ */ jsx(RefIcon$b, {}),
|
|
106110
106265
|
className: "flex items-center justify-center",
|
|
106111
106266
|
children: /* @__PURE__ */ jsx("video", { controls: true, src: videoSrc, width: "100%", autoPlay: true })
|
|
106112
106267
|
}
|
|
106113
106268
|
);
|
|
106114
106269
|
};
|
|
106270
|
+
const getFileIcon = (fileType) => {
|
|
106271
|
+
if (fileType.startsWith("image/")) {
|
|
106272
|
+
return /* @__PURE__ */ jsx(RefIcon$6, {});
|
|
106273
|
+
}
|
|
106274
|
+
if (fileType.includes("pdf")) {
|
|
106275
|
+
return /* @__PURE__ */ jsx(RefIcon$4, {});
|
|
106276
|
+
}
|
|
106277
|
+
if (fileType.startsWith("video/")) {
|
|
106278
|
+
return /* @__PURE__ */ jsx(RefIcon$5, {});
|
|
106279
|
+
}
|
|
106280
|
+
if (fileType.includes("word") || fileType.includes("document")) {
|
|
106281
|
+
return /* @__PURE__ */ jsx(RefIcon$3, {});
|
|
106282
|
+
}
|
|
106283
|
+
return /* @__PURE__ */ jsx(RefIcon$5, {});
|
|
106284
|
+
};
|
|
106285
|
+
const formatFileSize = (bytes) => {
|
|
106286
|
+
if (bytes === 0) return "0 Bytes";
|
|
106287
|
+
const k2 = 1024;
|
|
106288
|
+
const sizes2 = ["Bytes", "KB", "MB", "GB"];
|
|
106289
|
+
const i2 = Math.floor(Math.log(bytes) / Math.log(k2));
|
|
106290
|
+
return Math.round(bytes / Math.pow(k2, i2) * 100) / 100 + " " + sizes2[i2];
|
|
106291
|
+
};
|
|
106292
|
+
const FilePreview = memo(function({ file, onRemove }) {
|
|
106293
|
+
const preview = useMemo$2(() => {
|
|
106294
|
+
if (!file) return null;
|
|
106295
|
+
const isImage = file.type.startsWith("image/");
|
|
106296
|
+
const fileSize = formatFileSize(file.size);
|
|
106297
|
+
if (isImage) {
|
|
106298
|
+
const reader = new FileReader();
|
|
106299
|
+
let dataUrl = "";
|
|
106300
|
+
reader.onload = (e2) => {
|
|
106301
|
+
var _a;
|
|
106302
|
+
dataUrl = (_a = e2.target) == null ? void 0 : _a.result;
|
|
106303
|
+
};
|
|
106304
|
+
reader.readAsDataURL(file);
|
|
106305
|
+
return /* @__PURE__ */ jsxs("div", { className: "file-preview-container flex items-center gap-2 px-2 py-1.5 bg-gray-50 rounded-lg border border-gray-200 max-w-xs", children: [
|
|
106306
|
+
/* @__PURE__ */ jsx("div", { className: "file-preview-thumbnail relative flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
106307
|
+
"img",
|
|
106308
|
+
{
|
|
106309
|
+
src: dataUrl || "",
|
|
106310
|
+
alt: file.name,
|
|
106311
|
+
className: "w-10 h-10 object-cover rounded",
|
|
106312
|
+
onLoad: (e2) => {
|
|
106313
|
+
const reader2 = new FileReader();
|
|
106314
|
+
reader2.onload = (evt) => {
|
|
106315
|
+
var _a;
|
|
106316
|
+
const img = e2.target;
|
|
106317
|
+
img.src = (_a = evt.target) == null ? void 0 : _a.result;
|
|
106318
|
+
};
|
|
106319
|
+
reader2.readAsDataURL(file);
|
|
106320
|
+
}
|
|
106321
|
+
}
|
|
106322
|
+
) }),
|
|
106323
|
+
/* @__PURE__ */ jsxs("div", { className: "file-preview-info flex-grow min-w-0", children: [
|
|
106324
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-medium truncate text-gray-900", children: file.name }),
|
|
106325
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500", children: fileSize })
|
|
106326
|
+
] }),
|
|
106327
|
+
onRemove && /* @__PURE__ */ jsx(
|
|
106328
|
+
"button",
|
|
106329
|
+
{
|
|
106330
|
+
onClick: onRemove,
|
|
106331
|
+
className: "flex-shrink-0 p-0.5 hover:bg-gray-200 rounded transition-colors",
|
|
106332
|
+
title: "Remove file",
|
|
106333
|
+
type: "button",
|
|
106334
|
+
children: /* @__PURE__ */ jsx(RefIcon$9, { className: "text-xs text-red-500" })
|
|
106335
|
+
}
|
|
106336
|
+
)
|
|
106337
|
+
] });
|
|
106338
|
+
}
|
|
106339
|
+
return /* @__PURE__ */ jsxs("div", { className: "file-preview-container flex items-center gap-2 px-2 py-1.5 bg-gray-50 rounded-lg border border-gray-200 max-w-xs", children: [
|
|
106340
|
+
/* @__PURE__ */ jsx("div", { className: "file-preview-icon flex-shrink-0 text-base text-blue-500", children: getFileIcon(file.type) }),
|
|
106341
|
+
/* @__PURE__ */ jsxs("div", { className: "file-preview-info flex-grow min-w-0", children: [
|
|
106342
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-medium truncate text-gray-900", children: file.name }),
|
|
106343
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500", children: fileSize })
|
|
106344
|
+
] }),
|
|
106345
|
+
onRemove && /* @__PURE__ */ jsx(
|
|
106346
|
+
"button",
|
|
106347
|
+
{
|
|
106348
|
+
onClick: onRemove,
|
|
106349
|
+
className: "flex-shrink-0 p-0.5 hover:bg-gray-200 rounded transition-colors",
|
|
106350
|
+
title: "Remove file",
|
|
106351
|
+
type: "button",
|
|
106352
|
+
children: /* @__PURE__ */ jsx(RefIcon$9, { className: "text-xs text-red-500" })
|
|
106353
|
+
}
|
|
106354
|
+
)
|
|
106355
|
+
] });
|
|
106356
|
+
}, [file, onRemove]);
|
|
106357
|
+
return preview;
|
|
106358
|
+
});
|
|
106115
106359
|
function ChatWidgetScreen({
|
|
106116
106360
|
welcome_message,
|
|
106117
106361
|
callUtilsRef,
|
|
@@ -106442,75 +106686,83 @@ const ChatInput = memo(function({ company }) {
|
|
|
106442
106686
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
106443
106687
|
/* @__PURE__ */ jsxs("div", { className: "widget-chat-form-container w-full justify-between items-center", children: [
|
|
106444
106688
|
agentConnected && /* @__PURE__ */ jsx(Notice, { agentDetails, transferredAgent }),
|
|
106445
|
-
/* @__PURE__ */ jsxs("div", { className: "flex w-full pt-4", children: [
|
|
106446
|
-
/* @__PURE__ */ jsx(
|
|
106447
|
-
|
|
106448
|
-
"div",
|
|
106689
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col w-full pt-4 gap-2", children: [
|
|
106690
|
+
chatFiles && /* @__PURE__ */ jsx(
|
|
106691
|
+
FilePreview,
|
|
106449
106692
|
{
|
|
106450
|
-
|
|
106451
|
-
|
|
106452
|
-
children: [
|
|
106453
|
-
/* @__PURE__ */ jsx(
|
|
106454
|
-
"input",
|
|
106455
|
-
{
|
|
106456
|
-
className: "widget-file-upload-input",
|
|
106457
|
-
type: "file",
|
|
106458
|
-
onChange: handleFileUpload,
|
|
106459
|
-
id: "widget-file-upload-input",
|
|
106460
|
-
accept: ".docx, .pdf, .rtf, .txt, .doc, .jpeg, .png, .gif, .svg, .mp4, .webm, .mov, .wav, .mp3",
|
|
106461
|
-
max: "4194304"
|
|
106462
|
-
}
|
|
106463
|
-
),
|
|
106464
|
-
/* @__PURE__ */ jsx(
|
|
106465
|
-
"img",
|
|
106466
|
-
{
|
|
106467
|
-
src: attachmentIcon,
|
|
106468
|
-
className: "widget-file-upload-button flex justify-between items-center",
|
|
106469
|
-
alt: "attach file",
|
|
106470
|
-
width: "20px"
|
|
106471
|
-
}
|
|
106472
|
-
)
|
|
106473
|
-
]
|
|
106693
|
+
file: chatFiles,
|
|
106694
|
+
onRemove: () => setState({ chatFiles: null, messageText: "" })
|
|
106474
106695
|
}
|
|
106475
106696
|
),
|
|
106476
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
106477
|
-
/* @__PURE__ */
|
|
106478
|
-
"
|
|
106697
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-full gap-2 items-center", children: [
|
|
106698
|
+
/* @__PURE__ */ jsxs(
|
|
106699
|
+
"div",
|
|
106479
106700
|
{
|
|
106480
|
-
|
|
106481
|
-
|
|
106482
|
-
|
|
106483
|
-
|
|
106484
|
-
|
|
106485
|
-
|
|
106486
|
-
|
|
106487
|
-
|
|
106488
|
-
|
|
106701
|
+
style: { backgroundColor: colors.colorPrimary },
|
|
106702
|
+
className: "p-1 rounded-full relative flex justify-between items-center",
|
|
106703
|
+
children: [
|
|
106704
|
+
/* @__PURE__ */ jsx(
|
|
106705
|
+
"input",
|
|
106706
|
+
{
|
|
106707
|
+
className: "widget-file-upload-input",
|
|
106708
|
+
type: "file",
|
|
106709
|
+
onChange: handleFileUpload,
|
|
106710
|
+
id: "widget-file-upload-input",
|
|
106711
|
+
accept: ".docx, .pdf, .rtf, .txt, .doc, .jpeg, .png, .gif, .svg, .mp4, .webm, .mov, .wav, .mp3",
|
|
106712
|
+
max: "4194304"
|
|
106713
|
+
}
|
|
106714
|
+
),
|
|
106715
|
+
/* @__PURE__ */ jsx(
|
|
106716
|
+
"img",
|
|
106717
|
+
{
|
|
106718
|
+
src: attachmentIcon,
|
|
106719
|
+
className: "widget-file-upload-button flex justify-between items-center",
|
|
106720
|
+
alt: "attach file",
|
|
106721
|
+
width: "20px"
|
|
106722
|
+
}
|
|
106723
|
+
)
|
|
106724
|
+
]
|
|
106489
106725
|
}
|
|
106490
106726
|
),
|
|
106727
|
+
/* @__PURE__ */ jsxs("div", { className: "widget-chat-input-container flex-grow flex justify-between items-center", children: [
|
|
106728
|
+
/* @__PURE__ */ jsx(
|
|
106729
|
+
"input",
|
|
106730
|
+
{
|
|
106731
|
+
className: "text-gray-900",
|
|
106732
|
+
type: "text",
|
|
106733
|
+
onChange,
|
|
106734
|
+
onKeyDown: handleEnterKeypress,
|
|
106735
|
+
placeholder: "Type here...",
|
|
106736
|
+
id: "widget-chat-input-field",
|
|
106737
|
+
autoComplete: "off",
|
|
106738
|
+
autoFocus: true,
|
|
106739
|
+
disabled: isSending
|
|
106740
|
+
}
|
|
106741
|
+
),
|
|
106742
|
+
/* @__PURE__ */ jsx(
|
|
106743
|
+
RefIcon$1,
|
|
106744
|
+
{
|
|
106745
|
+
onClick: chatFiles ? sendFile : sendMessage,
|
|
106746
|
+
className: "rounded-xl",
|
|
106747
|
+
title: "send message",
|
|
106748
|
+
width: "16px",
|
|
106749
|
+
height: "20px",
|
|
106750
|
+
style: { color: colors.colorPrimary }
|
|
106751
|
+
}
|
|
106752
|
+
)
|
|
106753
|
+
] }),
|
|
106491
106754
|
/* @__PURE__ */ jsx(
|
|
106492
|
-
|
|
106755
|
+
Popconfirm,
|
|
106493
106756
|
{
|
|
106494
|
-
|
|
106495
|
-
|
|
106496
|
-
|
|
106497
|
-
|
|
106498
|
-
|
|
106499
|
-
|
|
106757
|
+
placement: "left",
|
|
106758
|
+
title: "Wait time too long?",
|
|
106759
|
+
description: "Schedule a call with an agent.",
|
|
106760
|
+
open: popupVisible,
|
|
106761
|
+
onConfirm: handleOk,
|
|
106762
|
+
onCancel: handleCancel
|
|
106500
106763
|
}
|
|
106501
106764
|
)
|
|
106502
|
-
] })
|
|
106503
|
-
/* @__PURE__ */ jsx(
|
|
106504
|
-
Popconfirm,
|
|
106505
|
-
{
|
|
106506
|
-
placement: "left",
|
|
106507
|
-
title: "Wait time too long?",
|
|
106508
|
-
description: "Schedule a call with an agent.",
|
|
106509
|
-
open: popupVisible,
|
|
106510
|
-
onConfirm: handleOk,
|
|
106511
|
-
onCancel: handleCancel
|
|
106512
|
-
}
|
|
106513
|
-
)
|
|
106765
|
+
] })
|
|
106514
106766
|
] })
|
|
106515
106767
|
] }),
|
|
106516
106768
|
/* @__PURE__ */ jsx("span", { style: { fontStyle: "italic", fontSize: "10px" }, children: agentDetails && typingEvent ? `${agentDetails == null ? void 0 : agentDetails.first_name} is typing...` : "" })
|
|
@@ -106584,7 +106836,7 @@ function WidgetOnlineHeader({ company }) {
|
|
|
106584
106836
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center w-full", children: [
|
|
106585
106837
|
company.logo && /* @__PURE__ */ jsx("img", { src: company == null ? void 0 : company.logo, className: "w-14 h-14 mt-2", alt: "logo" }),
|
|
106586
106838
|
/* @__PURE__ */ jsxs("p", { className: "my-0 pb-0 ml-4", style: { fontSize: 24, fontWeight: "bold" }, children: [
|
|
106587
|
-
"Virtual
|
|
106839
|
+
"Virtual Branch",
|
|
106588
106840
|
/* @__PURE__ */ jsxs("span", { className: "flex items-center ml-0", style: { fontSize: 16, fontWeight: "normal" }, children: [
|
|
106589
106841
|
/* @__PURE__ */ jsx(
|
|
106590
106842
|
"span",
|
|
@@ -106625,7 +106877,7 @@ function WidgetOnlineHeader({ company }) {
|
|
|
106625
106877
|
/* @__PURE__ */ jsxs("p", { className: "my-1", style: { fontSize: 13 }, children: [
|
|
106626
106878
|
"Please fill out the form below to start virtual ",
|
|
106627
106879
|
/* @__PURE__ */ jsx("br", {}),
|
|
106628
|
-
"
|
|
106880
|
+
" engagement with the next available agent"
|
|
106629
106881
|
] })
|
|
106630
106882
|
]
|
|
106631
106883
|
}
|
|
@@ -106823,7 +107075,7 @@ function WidgetOfflineHeader({ company }) {
|
|
|
106823
107075
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center w-full", children: [
|
|
106824
107076
|
company.logo && /* @__PURE__ */ jsx("img", { className: "w-14 h-14 mt-2", src: company == null ? void 0 : company.logo, alt: "logo" }),
|
|
106825
107077
|
/* @__PURE__ */ jsxs("p", { className: "my-0 pb-0 ml-4", style: { fontSize: 24, fontWeight: "bold" }, children: [
|
|
106826
|
-
"Virtual
|
|
107078
|
+
"Virtual Branch",
|
|
106827
107079
|
/* @__PURE__ */ jsxs("span", { className: "flex items-center ml-0", style: { fontSize: 16, fontWeight: "normal" }, children: [
|
|
106828
107080
|
/* @__PURE__ */ jsx(
|
|
106829
107081
|
"span",
|
|
@@ -107633,7 +107885,7 @@ const CallInviteModal = ({
|
|
|
107633
107885
|
lineHeight: 0,
|
|
107634
107886
|
color: "rgba(255, 255, 255, 0.95)"
|
|
107635
107887
|
},
|
|
107636
|
-
children: /* @__PURE__ */ jsx(RefIcon$
|
|
107888
|
+
children: /* @__PURE__ */ jsx(RefIcon$b, { style: { fontSize: 22 } })
|
|
107637
107889
|
}
|
|
107638
107890
|
),
|
|
107639
107891
|
/* @__PURE__ */ jsx(
|
|
@@ -107652,23 +107904,11 @@ const CallInviteModal = ({
|
|
|
107652
107904
|
}
|
|
107653
107905
|
),
|
|
107654
107906
|
/* @__PURE__ */ jsxs("div", { style: { padding: "20px 32px 28px 32px", textAlign: "left" }, children: [
|
|
107655
|
-
/* @__PURE__ */ jsxs(
|
|
107656
|
-
"
|
|
107657
|
-
{
|
|
107658
|
-
|
|
107659
|
-
|
|
107660
|
-
color: "#222",
|
|
107661
|
-
marginBottom: 16,
|
|
107662
|
-
fontWeight: 500,
|
|
107663
|
-
lineHeight: 1.4
|
|
107664
|
-
},
|
|
107665
|
-
children: [
|
|
107666
|
-
"Invite someone to join this call session",
|
|
107667
|
-
/* @__PURE__ */ jsx("br", {}),
|
|
107668
|
-
"by sending them an invitation link."
|
|
107669
|
-
]
|
|
107670
|
-
}
|
|
107671
|
-
),
|
|
107907
|
+
/* @__PURE__ */ jsxs("div", { className: "text-sm sm:text-base text-[#222] mb-4 font-medium leading-snug", children: [
|
|
107908
|
+
"Invite someone to join this call session",
|
|
107909
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
107910
|
+
"by sending them an invitation link."
|
|
107911
|
+
] }),
|
|
107672
107912
|
/* @__PURE__ */ jsx(
|
|
107673
107913
|
FInput,
|
|
107674
107914
|
{
|
|
@@ -108118,14 +108358,14 @@ const WidgetInitOnlineHeader = ({
|
|
|
108118
108358
|
{
|
|
108119
108359
|
key: "1",
|
|
108120
108360
|
label: /* @__PURE__ */ jsxs("span", { className: "w-full h-full", children: [
|
|
108121
|
-
/* @__PURE__ */ jsx(RefIcon$
|
|
108361
|
+
/* @__PURE__ */ jsx(RefIcon$7, {}),
|
|
108122
108362
|
" Minimize"
|
|
108123
108363
|
] })
|
|
108124
108364
|
},
|
|
108125
108365
|
{
|
|
108126
108366
|
key: "2",
|
|
108127
108367
|
label: /* @__PURE__ */ jsxs("span", { className: "w-full h-full text-red-500", children: [
|
|
108128
|
-
/* @__PURE__ */ jsx(RefIcon$
|
|
108368
|
+
/* @__PURE__ */ jsx(RefIcon$a, {}),
|
|
108129
108369
|
" End Chat"
|
|
108130
108370
|
] })
|
|
108131
108371
|
},
|