antd-mobile 5.41.0-alpha.1 → 5.41.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2x/bundle/antd-mobile.cjs.development.js +1346 -1312
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +285 -251
- package/2x/bundle/antd-mobile.es.js +3611 -3583
- package/2x/bundle/antd-mobile.umd.development.js +1346 -1312
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/cjs/components/ellipsis/useMeasure.js +4 -3
- package/2x/cjs/components/input/input.d.ts +1 -1
- package/2x/cjs/components/input/input.js +1 -3
- package/2x/cjs/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/2x/cjs/components/input/useInputHandleKeyDown.js +1 -12
- package/2x/cjs/components/number-keyboard/number-keyboard.js +21 -12
- package/2x/cjs/components/picker/index.d.ts +4 -2
- package/2x/cjs/components/text-area/text-area.d.ts +1 -1
- package/2x/cjs/components/text-area/text-area.js +6 -7
- package/2x/es/components/ellipsis/useMeasure.js +4 -3
- package/2x/es/components/input/input.d.ts +1 -1
- package/2x/es/components/input/input.js +1 -3
- package/2x/es/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/2x/es/components/input/useInputHandleKeyDown.js +1 -12
- package/2x/es/components/number-keyboard/number-keyboard.js +21 -12
- package/2x/es/components/picker/index.d.ts +4 -2
- package/2x/es/components/text-area/text-area.d.ts +1 -1
- package/2x/es/components/text-area/text-area.js +6 -7
- package/2x/package.json +1 -1
- package/bundle/antd-mobile.cjs.development.js +1346 -1312
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +285 -251
- package/bundle/antd-mobile.es.js +3611 -3583
- package/bundle/antd-mobile.umd.development.js +1346 -1312
- package/bundle/antd-mobile.umd.js +7 -7
- package/cjs/components/ellipsis/useMeasure.js +4 -3
- package/cjs/components/input/input.d.ts +1 -1
- package/cjs/components/input/input.js +1 -3
- package/cjs/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/cjs/components/input/useInputHandleKeyDown.js +1 -12
- package/cjs/components/number-keyboard/number-keyboard.js +21 -12
- package/cjs/components/picker/index.d.ts +4 -2
- package/cjs/components/text-area/text-area.d.ts +1 -1
- package/cjs/components/text-area/text-area.js +6 -7
- package/es/components/ellipsis/useMeasure.js +4 -3
- package/es/components/input/input.d.ts +1 -1
- package/es/components/input/input.js +1 -3
- package/es/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/es/components/input/useInputHandleKeyDown.js +1 -12
- package/es/components/number-keyboard/number-keyboard.js +21 -12
- package/es/components/picker/index.d.ts +4 -2
- package/es/components/text-area/text-area.d.ts +1 -1
- package/es/components/text-area/text-area.js +6 -7
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React$
|
|
2
|
-
import React__default, { useContext, useRef, useMemo as useMemo$2, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$
|
|
1
|
+
import * as React$3 from "react";
|
|
2
|
+
import React__default, { useContext, useRef, useMemo as useMemo$2, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$3, forwardRef, useImperativeHandle, memo, version as version$1, isValidElement, createContext, cloneElement } from "react";
|
|
3
3
|
import * as ReactDOM$1 from "react-dom";
|
|
4
4
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
|
|
5
|
-
const canUseDom$
|
|
6
|
-
if (canUseDom$
|
|
5
|
+
const canUseDom$3 = !!(typeof window !== "undefined" && typeof document !== "undefined" && window.document && window.document.createElement);
|
|
6
|
+
if (canUseDom$3) {
|
|
7
7
|
document.addEventListener("touchstart", () => {
|
|
8
8
|
}, true);
|
|
9
9
|
}
|
|
@@ -1781,7 +1781,7 @@ function useInViewport(target, options) {
|
|
|
1781
1781
|
}, [options === null || options === void 0 ? void 0 : options.rootMargin, options === null || options === void 0 ? void 0 : options.threshold], target);
|
|
1782
1782
|
return [state, ratio];
|
|
1783
1783
|
}
|
|
1784
|
-
var useIsomorphicLayoutEffect$2 = isBrowser$3 ? useLayoutEffect$
|
|
1784
|
+
var useIsomorphicLayoutEffect$2 = isBrowser$3 ? useLayoutEffect$3 : useEffect;
|
|
1785
1785
|
const useIsomorphicLayoutEffect$3 = useIsomorphicLayoutEffect$2;
|
|
1786
1786
|
function useLockFn(fn) {
|
|
1787
1787
|
var _this = this;
|
|
@@ -2341,7 +2341,7 @@ var index$j = function() {
|
|
|
2341
2341
|
}
|
|
2342
2342
|
return ResizeObserver$1;
|
|
2343
2343
|
}();
|
|
2344
|
-
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$
|
|
2344
|
+
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$3);
|
|
2345
2345
|
const useLayoutEffectWithTarget = useEffectWithTarget;
|
|
2346
2346
|
var useIsomorphicLayoutEffectWithTarget = isBrowser$3 ? useLayoutEffectWithTarget : useEffectWithTarget$2;
|
|
2347
2347
|
const useIsomorphicLayoutEffectWithTarget$1 = useIsomorphicLayoutEffectWithTarget;
|
|
@@ -2476,7 +2476,7 @@ function useTouch() {
|
|
|
2476
2476
|
isHorizontal
|
|
2477
2477
|
};
|
|
2478
2478
|
}
|
|
2479
|
-
const defaultRoot = canUseDom$
|
|
2479
|
+
const defaultRoot = canUseDom$3 ? window : void 0;
|
|
2480
2480
|
const overflowStylePatterns = ["scroll", "auto", "overlay"];
|
|
2481
2481
|
function isElement$1(node) {
|
|
2482
2482
|
const ELEMENT_NODE_TYPE = 1;
|
|
@@ -2499,7 +2499,7 @@ function getScrollParent(el, root2 = defaultRoot) {
|
|
|
2499
2499
|
return root2;
|
|
2500
2500
|
}
|
|
2501
2501
|
let supportsPassive = false;
|
|
2502
|
-
if (canUseDom$
|
|
2502
|
+
if (canUseDom$3) {
|
|
2503
2503
|
try {
|
|
2504
2504
|
const opts = {};
|
|
2505
2505
|
Object.defineProperty(opts, "passive", {
|
|
@@ -3449,7 +3449,7 @@ function deprecateDirectCall() {
|
|
|
3449
3449
|
function isAnimatedString(value) {
|
|
3450
3450
|
return is.str(value) && (value[0] == "#" || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
|
|
3451
3451
|
}
|
|
3452
|
-
const useIsomorphicLayoutEffect$1 = isSSR() ? useEffect : useLayoutEffect$
|
|
3452
|
+
const useIsomorphicLayoutEffect$1 = isSSR() ? useEffect : useLayoutEffect$3;
|
|
3453
3453
|
const useIsMounted = () => {
|
|
3454
3454
|
const isMounted = useRef(false);
|
|
3455
3455
|
useIsomorphicLayoutEffect$1(() => {
|
|
@@ -3750,7 +3750,7 @@ const withAnimated = (Component, host2) => {
|
|
|
3750
3750
|
each(observer2.deps, (dep) => removeFluidObserver(dep, observer2));
|
|
3751
3751
|
});
|
|
3752
3752
|
const usedProps = host2.getComponentProps(props.getValue());
|
|
3753
|
-
return React$
|
|
3753
|
+
return React$3.createElement(Component, _extends$3({}, usedProps, {
|
|
3754
3754
|
ref: ref2
|
|
3755
3755
|
}));
|
|
3756
3756
|
});
|
|
@@ -5290,7 +5290,7 @@ const SpringContext = (_ref) => {
|
|
|
5290
5290
|
const {
|
|
5291
5291
|
Provider
|
|
5292
5292
|
} = ctx;
|
|
5293
|
-
return React$
|
|
5293
|
+
return React$3.createElement(Provider, {
|
|
5294
5294
|
value: props
|
|
5295
5295
|
}, children);
|
|
5296
5296
|
};
|
|
@@ -5298,7 +5298,7 @@ const ctx = makeContext(SpringContext, {});
|
|
|
5298
5298
|
SpringContext.Provider = ctx.Provider;
|
|
5299
5299
|
SpringContext.Consumer = ctx.Consumer;
|
|
5300
5300
|
function makeContext(target, init) {
|
|
5301
|
-
Object.assign(target, React$
|
|
5301
|
+
Object.assign(target, React$3.createContext(init));
|
|
5302
5302
|
target.Provider._context = target;
|
|
5303
5303
|
target.Consumer._context = target;
|
|
5304
5304
|
return target;
|
|
@@ -5778,7 +5778,7 @@ function resolveContainer(getContainer) {
|
|
|
5778
5778
|
return container || document.body;
|
|
5779
5779
|
}
|
|
5780
5780
|
function renderToContainer(getContainer, node) {
|
|
5781
|
-
if (canUseDom$
|
|
5781
|
+
if (canUseDom$3 && getContainer) {
|
|
5782
5782
|
const container = resolveContainer(getContainer);
|
|
5783
5783
|
return createPortal(node, container);
|
|
5784
5784
|
}
|
|
@@ -5912,7 +5912,7 @@ const Mask = (p) => {
|
|
|
5912
5912
|
}, renderToContainer(props.getContainer, node));
|
|
5913
5913
|
};
|
|
5914
5914
|
function AddOutline(props) {
|
|
5915
|
-
return /* @__PURE__ */ React$
|
|
5915
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5916
5916
|
width: "1em",
|
|
5917
5917
|
height: "1em",
|
|
5918
5918
|
viewBox: "0 0 48 48",
|
|
@@ -5923,15 +5923,15 @@ function AddOutline(props) {
|
|
|
5923
5923
|
verticalAlign: "-0.125em"
|
|
5924
5924
|
}, props.style),
|
|
5925
5925
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5926
|
-
}), /* @__PURE__ */ React$
|
|
5926
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5927
5927
|
id: "AddOutline-AddOutline",
|
|
5928
5928
|
stroke: "none",
|
|
5929
5929
|
strokeWidth: 1,
|
|
5930
5930
|
fill: "none",
|
|
5931
5931
|
fillRule: "evenodd"
|
|
5932
|
-
}, /* @__PURE__ */ React$
|
|
5932
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
5933
5933
|
id: "AddOutline-add"
|
|
5934
|
-
}, /* @__PURE__ */ React$
|
|
5934
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
5935
5935
|
id: "AddOutline-矩形",
|
|
5936
5936
|
fill: "#FFFFFF",
|
|
5937
5937
|
opacity: 0,
|
|
@@ -5939,7 +5939,7 @@ function AddOutline(props) {
|
|
|
5939
5939
|
y: 0,
|
|
5940
5940
|
width: 48,
|
|
5941
5941
|
height: 48
|
|
5942
|
-
}), /* @__PURE__ */ React$
|
|
5942
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
5943
5943
|
d: "M25.1,6.5 C25.3209139,6.5 25.5,6.6790861 25.5,6.9 L25.5,22.5 L41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L25.5,25.5 L25.5,41.1 C25.5,41.3209139 25.3209139,41.5 25.1,41.5 L22.9,41.5 C22.6790861,41.5 22.5,41.3209139 22.5,41.1 L22.5,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L22.5,22.5 L22.5,6.9 C22.5,6.6790861 22.6790861,6.5 22.9,6.5 L25.1,6.5 Z",
|
|
5944
5944
|
id: "AddOutline-路径",
|
|
5945
5945
|
fill: "currentColor",
|
|
@@ -5947,7 +5947,7 @@ function AddOutline(props) {
|
|
|
5947
5947
|
}))));
|
|
5948
5948
|
}
|
|
5949
5949
|
function CheckCircleFill(props) {
|
|
5950
|
-
return /* @__PURE__ */ React$
|
|
5950
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5951
5951
|
width: "1em",
|
|
5952
5952
|
height: "1em",
|
|
5953
5953
|
viewBox: "0 0 48 48",
|
|
@@ -5958,15 +5958,15 @@ function CheckCircleFill(props) {
|
|
|
5958
5958
|
verticalAlign: "-0.125em"
|
|
5959
5959
|
}, props.style),
|
|
5960
5960
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5961
|
-
}), /* @__PURE__ */ React$
|
|
5961
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5962
5962
|
id: "CheckCircleFill-CheckCircleFill",
|
|
5963
5963
|
stroke: "none",
|
|
5964
5964
|
strokeWidth: 1,
|
|
5965
5965
|
fill: "none",
|
|
5966
5966
|
fillRule: "evenodd"
|
|
5967
|
-
}, /* @__PURE__ */ React$
|
|
5967
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
5968
5968
|
id: "CheckCircleFill-编组"
|
|
5969
|
-
}, /* @__PURE__ */ React$
|
|
5969
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
5970
5970
|
id: "CheckCircleFill-矩形",
|
|
5971
5971
|
fill: "#FFFFFF",
|
|
5972
5972
|
opacity: 0,
|
|
@@ -5974,7 +5974,7 @@ function CheckCircleFill(props) {
|
|
|
5974
5974
|
y: 0,
|
|
5975
5975
|
width: 48,
|
|
5976
5976
|
height: 48
|
|
5977
|
-
}), /* @__PURE__ */ React$
|
|
5977
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
5978
5978
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M35.8202936,17 L32.7086692,17 C32.6025922,17 32.500859,17.0421352 32.4258461,17.1171378 L32.4258461,17.1171378 L21.3922352,28.1492247 L16.3591562,23.1163755 C16.2841422,23.0413649 16.1824034,22.9992247 16.0763199,22.9992247 L16.0763199,22.9992247 L12.9653996,22.9992247 C12.859342,22.9992247 12.7576259,23.0413445 12.6826161,23.1163228 C12.5263737,23.2724998 12.5263207,23.5257658 12.6824977,23.6820082 C12.8583452,23.8579294 13.0341927,24.0338505 13.2100402,24.2097716 C13.2577488,24.2575002 13.3065097,24.3063074 13.3562592,24.3561283 L13.6661084,24.6666997 C14.3074913,25.3100963 15.0728595,26.0807873 15.8520136,26.8666654 L16.4372421,27.4571699 C18.2552812,29.2922548 19.9983838,31.0574343 20.2666114,31.3285298 L20.301004,31.3632341 C20.8867904,31.9490205 21.8365379,31.9490205 22.4223243,31.3632341 L22.4223243,31.3632341 L36.1031319,17.6828471 C36.1781492,17.6078322 36.2202936,17.5060887 36.2202936,17.4 C36.2202936,17.1790861 36.0412075,17 35.8202936,17 L35.8202936,17 Z",
|
|
5979
5979
|
id: "CheckCircleFill-形状结合",
|
|
5980
5980
|
fill: "currentColor",
|
|
@@ -5982,7 +5982,7 @@ function CheckCircleFill(props) {
|
|
|
5982
5982
|
}))));
|
|
5983
5983
|
}
|
|
5984
5984
|
function CheckOutline(props) {
|
|
5985
|
-
return /* @__PURE__ */ React$
|
|
5985
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5986
5986
|
width: "1em",
|
|
5987
5987
|
height: "1em",
|
|
5988
5988
|
viewBox: "0 0 48 48",
|
|
@@ -5993,15 +5993,15 @@ function CheckOutline(props) {
|
|
|
5993
5993
|
verticalAlign: "-0.125em"
|
|
5994
5994
|
}, props.style),
|
|
5995
5995
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5996
|
-
}), /* @__PURE__ */ React$
|
|
5996
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5997
5997
|
id: "CheckOutline-CheckOutline",
|
|
5998
5998
|
stroke: "none",
|
|
5999
5999
|
strokeWidth: 1,
|
|
6000
6000
|
fill: "none",
|
|
6001
6001
|
fillRule: "evenodd"
|
|
6002
|
-
}, /* @__PURE__ */ React$
|
|
6002
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6003
6003
|
id: "CheckOutline-编组"
|
|
6004
|
-
}, /* @__PURE__ */ React$
|
|
6004
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6005
6005
|
id: "CheckOutline-矩形",
|
|
6006
6006
|
fill: "#FFFFFF",
|
|
6007
6007
|
opacity: 0,
|
|
@@ -6009,7 +6009,7 @@ function CheckOutline(props) {
|
|
|
6009
6009
|
y: 0,
|
|
6010
6010
|
width: 48,
|
|
6011
6011
|
height: 48
|
|
6012
|
-
}), /* @__PURE__ */ React$
|
|
6012
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6013
6013
|
d: "M44.309608,12.6841286 L21.2180499,35.5661955 L21.2180499,35.5661955 C20.6343343,36.1446015 19.6879443,36.1446015 19.1042286,35.5661955 C19.0538201,35.5162456 19.0077648,35.4636155 18.9660627,35.4087682 C18.9113105,35.368106 18.8584669,35.3226694 18.808302,35.2729607 L3.6903839,20.2920499 C3.53346476,20.1365529 3.53231192,19.8832895 3.68780898,19.7263704 C3.7629255,19.6505669 3.86521855,19.6079227 3.97193622,19.6079227 L7.06238923,19.6079227 C7.16784214,19.6079227 7.26902895,19.6495648 7.34393561,19.7237896 L20.160443,32.4236157 L20.160443,32.4236157 L40.656066,12.115858 C40.7309719,12.0416387 40.8321549,12 40.9376034,12 L44.0280571,12 C44.248971,12 44.4280571,12.1790861 44.4280571,12.4 C44.4280571,12.5067183 44.3854124,12.609012 44.309608,12.6841286 Z",
|
|
6014
6014
|
id: "CheckOutline-路径",
|
|
6015
6015
|
fill: "currentColor",
|
|
@@ -6017,7 +6017,7 @@ function CheckOutline(props) {
|
|
|
6017
6017
|
}))));
|
|
6018
6018
|
}
|
|
6019
6019
|
function ClockCircleFill(props) {
|
|
6020
|
-
return /* @__PURE__ */ React$
|
|
6020
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6021
6021
|
width: "1em",
|
|
6022
6022
|
height: "1em",
|
|
6023
6023
|
viewBox: "0 0 48 48",
|
|
@@ -6028,15 +6028,15 @@ function ClockCircleFill(props) {
|
|
|
6028
6028
|
verticalAlign: "-0.125em"
|
|
6029
6029
|
}, props.style),
|
|
6030
6030
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6031
|
-
}), /* @__PURE__ */ React$
|
|
6031
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6032
6032
|
id: "ClockCircleFill-ClockCircleFill",
|
|
6033
6033
|
stroke: "none",
|
|
6034
6034
|
strokeWidth: 1,
|
|
6035
6035
|
fill: "none",
|
|
6036
6036
|
fillRule: "evenodd"
|
|
6037
|
-
}, /* @__PURE__ */ React$
|
|
6037
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6038
6038
|
id: "ClockCircleFill-编组"
|
|
6039
|
-
}, /* @__PURE__ */ React$
|
|
6039
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6040
6040
|
id: "ClockCircleFill-矩形",
|
|
6041
6041
|
fill: "#FFFFFF",
|
|
6042
6042
|
opacity: 0,
|
|
@@ -6044,7 +6044,7 @@ function ClockCircleFill(props) {
|
|
|
6044
6044
|
y: 0,
|
|
6045
6045
|
width: 48,
|
|
6046
6046
|
height: 48
|
|
6047
|
-
}), /* @__PURE__ */ React$
|
|
6047
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6048
6048
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24.6,14 L22.4,14 C22.1790861,14 22,14.1790861 22,14.4 L22,14.4 L22,23.1715729 L22.0065089,23.3850222 C22.0584325,24.2354066 22.4192395,25.0405598 23.0251263,25.6464466 L23.0251263,25.6464466 L31.1564971,33.7778175 C31.3127068,33.9340272 31.5659728,33.9340272 31.7221825,33.7778175 L31.7221825,33.7778175 L33.2778175,32.2221825 C33.4340272,32.0659728 33.4340272,31.8127068 33.2778175,31.6564971 L33.2778175,31.6564971 L25.1464466,23.5251263 L25.0952092,23.4650801 C25.0337142,23.38027 25,23.2776595 25,23.1715729 L25,23.1715729 L25,14.4 C25,14.1790861 24.8209139,14 24.6,14 L24.6,14 Z",
|
|
6049
6049
|
id: "ClockCircleFill-形状结合",
|
|
6050
6050
|
fill: "currentColor",
|
|
@@ -6052,7 +6052,7 @@ function ClockCircleFill(props) {
|
|
|
6052
6052
|
}))));
|
|
6053
6053
|
}
|
|
6054
6054
|
function CloseCircleFill(props) {
|
|
6055
|
-
return /* @__PURE__ */ React$
|
|
6055
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6056
6056
|
width: "1em",
|
|
6057
6057
|
height: "1em",
|
|
6058
6058
|
viewBox: "0 0 48 48",
|
|
@@ -6063,15 +6063,15 @@ function CloseCircleFill(props) {
|
|
|
6063
6063
|
verticalAlign: "-0.125em"
|
|
6064
6064
|
}, props.style),
|
|
6065
6065
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6066
|
-
}), /* @__PURE__ */ React$
|
|
6066
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6067
6067
|
id: "CloseCircleFill-CloseCircleFill",
|
|
6068
6068
|
stroke: "none",
|
|
6069
6069
|
strokeWidth: 1,
|
|
6070
6070
|
fill: "none",
|
|
6071
6071
|
fillRule: "evenodd"
|
|
6072
|
-
}, /* @__PURE__ */ React$
|
|
6072
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6073
6073
|
id: "CloseCircleFill-编组"
|
|
6074
|
-
}, /* @__PURE__ */ React$
|
|
6074
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6075
6075
|
id: "CloseCircleFill-矩形",
|
|
6076
6076
|
fill: "#FFFFFF",
|
|
6077
6077
|
opacity: 0,
|
|
@@ -6079,7 +6079,7 @@ function CloseCircleFill(props) {
|
|
|
6079
6079
|
y: 0,
|
|
6080
6080
|
width: 48,
|
|
6081
6081
|
height: 48
|
|
6082
|
-
}), /* @__PURE__ */ React$
|
|
6082
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6083
6083
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M18.6753876,16 L15.5637812,16 C15.4576916,16 15.3559474,16.0421451 15.2809323,16.1171635 C15.124726,16.2733766 15.1247316,16.5266426 15.2809447,16.6828489 L15.2809447,16.6828489 L22.299066,23.7006641 L14.6828159,31.3171619 C14.6078042,31.3921761 14.5656632,31.4939157 14.5656632,31.6 C14.5656632,31.8209139 14.7447493,32 14.9656632,32 L14.9656632,32 L18.0753284,32 C18.1814068,32 18.2831412,31.9578638 18.3581544,31.8828594 L18.3581544,31.8828594 L24.420066,25.8216641 L30.4818451,31.8828564 C30.5568585,31.9578626 30.6585942,32 30.7646741,32 L30.7646741,32 L33.8763476,32 C33.9824309,32 34.0841695,31.9578599 34.1591835,31.8828496 C34.315397,31.7266436 34.3154031,31.4733776 34.1591972,31.3171641 L34.1591972,31.3171641 L26.542066,23.6996641 L33.5591874,16.6828489 C33.6342057,16.6078338 33.6763508,16.5060896 33.6763508,16.4 C33.6763508,16.1790861 33.4972647,16 33.2763508,16 L33.2763508,16 L30.1637654,16 C30.0576705,16 29.9559218,16.0421493 29.8809058,16.1171741 L29.8809058,16.1171741 L24.420066,21.5786641 L18.9582218,16.1171488 C18.883208,16.0421394 18.7814701,16 18.6753876,16 L18.6753876,16 Z",
|
|
6084
6084
|
id: "CloseCircleFill-形状结合",
|
|
6085
6085
|
fill: "currentColor",
|
|
@@ -6087,7 +6087,7 @@ function CloseCircleFill(props) {
|
|
|
6087
6087
|
}))));
|
|
6088
6088
|
}
|
|
6089
6089
|
function CloseOutline(props) {
|
|
6090
|
-
return /* @__PURE__ */ React$
|
|
6090
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6091
6091
|
width: "1em",
|
|
6092
6092
|
height: "1em",
|
|
6093
6093
|
viewBox: "0 0 48 48",
|
|
@@ -6098,15 +6098,15 @@ function CloseOutline(props) {
|
|
|
6098
6098
|
verticalAlign: "-0.125em"
|
|
6099
6099
|
}, props.style),
|
|
6100
6100
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6101
|
-
}), /* @__PURE__ */ React$
|
|
6101
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6102
6102
|
id: "CloseOutline-CloseOutline",
|
|
6103
6103
|
stroke: "none",
|
|
6104
6104
|
strokeWidth: 1,
|
|
6105
6105
|
fill: "none",
|
|
6106
6106
|
fillRule: "evenodd"
|
|
6107
|
-
}, /* @__PURE__ */ React$
|
|
6107
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6108
6108
|
id: "CloseOutline-编组"
|
|
6109
|
-
}, /* @__PURE__ */ React$
|
|
6109
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6110
6110
|
id: "CloseOutline-矩形",
|
|
6111
6111
|
fill: "#FFFFFF",
|
|
6112
6112
|
opacity: 0,
|
|
@@ -6114,7 +6114,7 @@ function CloseOutline(props) {
|
|
|
6114
6114
|
y: 0,
|
|
6115
6115
|
width: 48,
|
|
6116
6116
|
height: 48
|
|
6117
|
-
}), /* @__PURE__ */ React$
|
|
6117
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6118
6118
|
d: "M10.6085104,8.11754663 L24.1768397,21.8195031 L24.1768397,21.8195031 L37.7443031,8.1175556 C37.8194278,8.04168616 37.9217669,7.999 38.0285372,7.999 L41.1040268,7.999 C41.3249407,7.999 41.5040268,8.1780861 41.5040268,8.399 C41.5040268,8.50440471 41.4624226,8.60554929 41.3882578,8.68044752 L26.2773302,23.9408235 L26.2773302,23.9408235 L41.5021975,39.3175645 C41.65763,39.4745475 41.6563731,39.7278104 41.4993901,39.8832429 C41.4244929,39.9574004 41.3233534,39.999 41.2179546,39.999 L38.1434012,39.999 C38.0366291,39.999 37.9342885,39.9563124 37.8591634,39.8804408 L24.1768397,26.0621438 L24.1768397,26.0621438 L10.4936501,39.8804497 C10.4185257,39.9563159 10.3161889,39.999 10.2094212,39.999 L7.13584526,39.999 C6.91493136,39.999 6.73584526,39.8199139 6.73584526,39.599 C6.73584526,39.4936017 6.77744443,39.3924627 6.85160121,39.3175656 L22.0763492,23.9408235 L22.0763492,23.9408235 L6.96554081,8.68044639 C6.81010226,8.52346929 6.81134951,8.27020637 6.9683266,8.11476782 C7.04322474,8.04060377 7.14436883,7.999 7.24977299,7.999 L10.3242852,7.999 C10.4310511,7.999 10.5333863,8.04168267 10.6085104,8.11754663 Z",
|
|
6119
6119
|
id: "CloseOutline-路径",
|
|
6120
6120
|
fill: "currentColor",
|
|
@@ -6122,7 +6122,7 @@ function CloseOutline(props) {
|
|
|
6122
6122
|
}))));
|
|
6123
6123
|
}
|
|
6124
6124
|
function DownFill(props) {
|
|
6125
|
-
return /* @__PURE__ */ React$
|
|
6125
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6126
6126
|
width: "1em",
|
|
6127
6127
|
height: "1em",
|
|
6128
6128
|
viewBox: "0 0 48 48",
|
|
@@ -6133,15 +6133,15 @@ function DownFill(props) {
|
|
|
6133
6133
|
verticalAlign: "-0.125em"
|
|
6134
6134
|
}, props.style),
|
|
6135
6135
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6136
|
-
}), /* @__PURE__ */ React$
|
|
6136
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6137
6137
|
id: "DownFill-DownFill",
|
|
6138
6138
|
stroke: "none",
|
|
6139
6139
|
strokeWidth: 1,
|
|
6140
6140
|
fill: "none",
|
|
6141
6141
|
fillRule: "evenodd"
|
|
6142
|
-
}, /* @__PURE__ */ React$
|
|
6142
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6143
6143
|
id: "DownFill-编组"
|
|
6144
|
-
}, /* @__PURE__ */ React$
|
|
6144
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6145
6145
|
id: "DownFill-矩形",
|
|
6146
6146
|
fill: "#FFFFFF",
|
|
6147
6147
|
opacity: 0,
|
|
@@ -6149,7 +6149,7 @@ function DownFill(props) {
|
|
|
6149
6149
|
y: 0,
|
|
6150
6150
|
width: 48,
|
|
6151
6151
|
height: 48
|
|
6152
|
-
}), /* @__PURE__ */ React$
|
|
6152
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6153
6153
|
d: "M40.6640052,13 L7.34128264,13 C6.57572302,13 5.83336217,13.2619065 5.23947349,13.7351762 C3.80578911,14.8838891 3.58308085,16.9699517 4.74301968,18.3897608 L21.404381,38.7725222 C21.5528531,38.9517214 21.7152446,39.1171361 21.9008348,39.2641713 C23.3345192,40.4128842 25.4363283,40.1923313 26.6009069,38.7725222 L43.2576284,18.3897608 C43.740163,17.8016198 44,17.0664436 44,16.3082931 C44.004629,14.4795422 42.505988,13 40.6640052,13 Z",
|
|
6154
6154
|
id: "DownFill-路径",
|
|
6155
6155
|
fill: "currentColor",
|
|
@@ -6157,7 +6157,7 @@ function DownFill(props) {
|
|
|
6157
6157
|
}))));
|
|
6158
6158
|
}
|
|
6159
6159
|
function DownOutline(props) {
|
|
6160
|
-
return /* @__PURE__ */ React$
|
|
6160
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6161
6161
|
width: "1em",
|
|
6162
6162
|
height: "1em",
|
|
6163
6163
|
viewBox: "0 0 48 48",
|
|
@@ -6168,13 +6168,13 @@ function DownOutline(props) {
|
|
|
6168
6168
|
verticalAlign: "-0.125em"
|
|
6169
6169
|
}, props.style),
|
|
6170
6170
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6171
|
-
}), /* @__PURE__ */ React$
|
|
6171
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6172
6172
|
id: "DownOutline-DownOutline",
|
|
6173
6173
|
stroke: "none",
|
|
6174
6174
|
strokeWidth: 1,
|
|
6175
6175
|
fill: "none",
|
|
6176
6176
|
fillRule: "evenodd"
|
|
6177
|
-
}, /* @__PURE__ */ React$
|
|
6177
|
+
}, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6178
6178
|
id: "DownOutline-矩形",
|
|
6179
6179
|
fill: "#FFFFFF",
|
|
6180
6180
|
opacity: 0,
|
|
@@ -6182,7 +6182,7 @@ function DownOutline(props) {
|
|
|
6182
6182
|
y: 0,
|
|
6183
6183
|
width: 48,
|
|
6184
6184
|
height: 48
|
|
6185
|
-
}), /* @__PURE__ */ React$
|
|
6185
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6186
6186
|
d: "M5.11219264,16.3947957 L22.6612572,34.5767382 L22.6612572,34.5767382 C23.2125856,35.1304785 24.0863155,35.1630514 24.6755735,34.6744571 L24.7825775,34.5767382 L42.8834676,16.3956061 C42.9580998,16.320643 43,16.2191697 43,16.1133896 L43,12.9866673 C43,12.7657534 42.8209139,12.5866673 42.6,12.5866673 C42.4936115,12.5866673 42.391606,12.6290496 42.316542,12.7044413 L23.7816937,31.3201933 L23.7816937,31.3201933 L5.6866816,12.7237117 C5.53262122,12.5653818 5.27937888,12.5619207 5.121049,12.7159811 C5.04365775,12.7912854 5,12.8946805 5,13.0026627 L5,16.1170064 C5,16.2206403 5.04022164,16.3202292 5.11219264,16.3947957 Z",
|
|
6187
6187
|
id: "DownOutline-down",
|
|
6188
6188
|
fill: "currentColor",
|
|
@@ -6190,7 +6190,7 @@ function DownOutline(props) {
|
|
|
6190
6190
|
}))));
|
|
6191
6191
|
}
|
|
6192
6192
|
function ExclamationCircleFill(props) {
|
|
6193
|
-
return /* @__PURE__ */ React$
|
|
6193
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6194
6194
|
width: "1em",
|
|
6195
6195
|
height: "1em",
|
|
6196
6196
|
viewBox: "0 0 48 48",
|
|
@@ -6201,13 +6201,13 @@ function ExclamationCircleFill(props) {
|
|
|
6201
6201
|
verticalAlign: "-0.125em"
|
|
6202
6202
|
}, props.style),
|
|
6203
6203
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6204
|
-
}), /* @__PURE__ */ React$
|
|
6204
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6205
6205
|
id: "ExclamationCircleFill-ExclamationCircleFill",
|
|
6206
6206
|
stroke: "none",
|
|
6207
6207
|
strokeWidth: 1,
|
|
6208
6208
|
fill: "none",
|
|
6209
6209
|
fillRule: "evenodd"
|
|
6210
|
-
}, /* @__PURE__ */ React$
|
|
6210
|
+
}, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6211
6211
|
id: "ExclamationCircleFill-矩形",
|
|
6212
6212
|
fill: "#D76060",
|
|
6213
6213
|
opacity: 0,
|
|
@@ -6215,7 +6215,7 @@ function ExclamationCircleFill(props) {
|
|
|
6215
6215
|
y: 0,
|
|
6216
6216
|
width: 48,
|
|
6217
6217
|
height: 48
|
|
6218
|
-
}), /* @__PURE__ */ React$
|
|
6218
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6219
6219
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.1,31 L22.9,31 C22.6790861,31 22.5,31.1790861 22.5,31.4 L22.5,31.4 L22.5,33.6 C22.5,33.8209139 22.6790861,34 22.9,34 L22.9,34 L25.1,34 C25.3209139,34 25.5,33.8209139 25.5,33.6 L25.5,33.6 L25.5,31.4 C25.5,31.1790861 25.3209139,31 25.1,31 L25.1,31 Z M25.1,14 L22.9,14 C22.6790861,14 22.5,14.1790861 22.5,14.4 L22.5,14.4 L22.5,27.6 C22.5,27.8209139 22.6790861,28 22.9,28 L22.9,28 L25.1,28 C25.3209139,28 25.5,27.8209139 25.5,27.6 L25.5,27.6 L25.5,14.4 C25.5,14.1790861 25.3209139,14 25.1,14 L25.1,14 Z",
|
|
6220
6220
|
id: "ExclamationCircleFill-形状结合",
|
|
6221
6221
|
fill: "currentColor",
|
|
@@ -6223,7 +6223,7 @@ function ExclamationCircleFill(props) {
|
|
|
6223
6223
|
}))));
|
|
6224
6224
|
}
|
|
6225
6225
|
function InformationCircleFill(props) {
|
|
6226
|
-
return /* @__PURE__ */ React$
|
|
6226
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6227
6227
|
width: "1em",
|
|
6228
6228
|
height: "1em",
|
|
6229
6229
|
viewBox: "0 0 48 48",
|
|
@@ -6234,15 +6234,15 @@ function InformationCircleFill(props) {
|
|
|
6234
6234
|
verticalAlign: "-0.125em"
|
|
6235
6235
|
}, props.style),
|
|
6236
6236
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6237
|
-
}), /* @__PURE__ */ React$
|
|
6237
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6238
6238
|
id: "InformationCircleFill-InformationCircleFill",
|
|
6239
6239
|
stroke: "none",
|
|
6240
6240
|
strokeWidth: 1,
|
|
6241
6241
|
fill: "none",
|
|
6242
6242
|
fillRule: "evenodd"
|
|
6243
|
-
}, /* @__PURE__ */ React$
|
|
6243
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6244
6244
|
id: "InformationCircleFill-编组"
|
|
6245
|
-
}, /* @__PURE__ */ React$
|
|
6245
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6246
6246
|
id: "InformationCircleFill-矩形",
|
|
6247
6247
|
fill: "#FFFFFF",
|
|
6248
6248
|
opacity: 0,
|
|
@@ -6250,7 +6250,7 @@ function InformationCircleFill(props) {
|
|
|
6250
6250
|
y: 0,
|
|
6251
6251
|
width: 48,
|
|
6252
6252
|
height: 48
|
|
6253
|
-
}), /* @__PURE__ */ React$
|
|
6253
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6254
6254
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.6,20 L21.4,20 C21.1790861,20 21,20.1790861 21,20.4 L21,20.4 L21,22.6 C21,22.8209139 21.1790861,23 21.4,23 L21.4,23 L22.6,23 C22.8209139,23 23,23.1790861 23,23.4 L23,23.4 L23,34.6 C23,34.8209139 23.1790861,35 23.4,35 L23.4,35 L25.6,35 C25.8209139,35 26,34.8209139 26,34.6 L26,34.6 L26,20.4 C26,20.1790861 25.8209139,20 25.6,20 L25.6,20 Z M25.6,14 L23.4,14 C23.1790861,14 23,14.1790861 23,14.4 L23,14.4 L23,16.6 C23,16.8209139 23.1790861,17 23.4,17 L23.4,17 L25.6,17 C25.8209139,17 26,16.8209139 26,16.6 L26,16.6 L26,14.4 C26,14.1790861 25.8209139,14 25.6,14 L25.6,14 Z",
|
|
6255
6255
|
id: "InformationCircleFill-形状结合",
|
|
6256
6256
|
fill: "currentColor",
|
|
@@ -6258,7 +6258,7 @@ function InformationCircleFill(props) {
|
|
|
6258
6258
|
}))));
|
|
6259
6259
|
}
|
|
6260
6260
|
function LeftOutline(props) {
|
|
6261
|
-
return /* @__PURE__ */ React$
|
|
6261
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6262
6262
|
width: "1em",
|
|
6263
6263
|
height: "1em",
|
|
6264
6264
|
viewBox: "0 0 48 48",
|
|
@@ -6269,15 +6269,15 @@ function LeftOutline(props) {
|
|
|
6269
6269
|
verticalAlign: "-0.125em"
|
|
6270
6270
|
}, props.style),
|
|
6271
6271
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6272
|
-
}), /* @__PURE__ */ React$
|
|
6272
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6273
6273
|
id: "LeftOutline-LeftOutline",
|
|
6274
6274
|
stroke: "none",
|
|
6275
6275
|
strokeWidth: 1,
|
|
6276
6276
|
fill: "none",
|
|
6277
6277
|
fillRule: "evenodd"
|
|
6278
|
-
}, /* @__PURE__ */ React$
|
|
6278
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6279
6279
|
id: "LeftOutline-编组"
|
|
6280
|
-
}, /* @__PURE__ */ React$
|
|
6280
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6281
6281
|
id: "LeftOutline-矩形",
|
|
6282
6282
|
fill: "#FFFFFF",
|
|
6283
6283
|
opacity: 0,
|
|
@@ -6285,7 +6285,7 @@ function LeftOutline(props) {
|
|
|
6285
6285
|
y: 0,
|
|
6286
6286
|
width: 48,
|
|
6287
6287
|
height: 48
|
|
6288
|
-
}), /* @__PURE__ */ React$
|
|
6288
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6289
6289
|
d: "M31.7053818,5.11219264 L13.5234393,22.6612572 L13.5234393,22.6612572 C12.969699,23.2125856 12.9371261,24.0863155 13.4257204,24.6755735 L13.5234393,24.7825775 L31.7045714,42.8834676 C31.7795345,42.9580998 31.8810078,43 31.9867879,43 L35.1135102,43 C35.3344241,43 35.5135102,42.8209139 35.5135102,42.6 C35.5135102,42.4936115 35.4711279,42.391606 35.3957362,42.316542 L16.7799842,23.7816937 L16.7799842,23.7816937 L35.3764658,5.6866816 C35.5347957,5.53262122 35.5382568,5.27937888 35.3841964,5.121049 C35.3088921,5.04365775 35.205497,5 35.0975148,5 L31.9831711,5 C31.8795372,5 31.7799483,5.04022164 31.7053818,5.11219264 Z",
|
|
6290
6290
|
id: "LeftOutline-路径",
|
|
6291
6291
|
fill: "currentColor",
|
|
@@ -6293,7 +6293,7 @@ function LeftOutline(props) {
|
|
|
6293
6293
|
}))));
|
|
6294
6294
|
}
|
|
6295
6295
|
function MinusOutline(props) {
|
|
6296
|
-
return /* @__PURE__ */ React$
|
|
6296
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6297
6297
|
width: "1em",
|
|
6298
6298
|
height: "1em",
|
|
6299
6299
|
viewBox: "0 0 48 48",
|
|
@@ -6304,15 +6304,15 @@ function MinusOutline(props) {
|
|
|
6304
6304
|
verticalAlign: "-0.125em"
|
|
6305
6305
|
}, props.style),
|
|
6306
6306
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6307
|
-
}), /* @__PURE__ */ React$
|
|
6307
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6308
6308
|
id: "MinusOutline-MinusOutline",
|
|
6309
6309
|
stroke: "none",
|
|
6310
6310
|
strokeWidth: 1,
|
|
6311
6311
|
fill: "none",
|
|
6312
6312
|
fillRule: "evenodd"
|
|
6313
|
-
}, /* @__PURE__ */ React$
|
|
6313
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6314
6314
|
id: "MinusOutline-add"
|
|
6315
|
-
}, /* @__PURE__ */ React$
|
|
6315
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6316
6316
|
id: "MinusOutline-矩形",
|
|
6317
6317
|
fill: "#FFFFFF",
|
|
6318
6318
|
opacity: 0,
|
|
@@ -6320,7 +6320,7 @@ function MinusOutline(props) {
|
|
|
6320
6320
|
y: 0,
|
|
6321
6321
|
width: 48,
|
|
6322
6322
|
height: 48
|
|
6323
|
-
}), /* @__PURE__ */ React$
|
|
6323
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6324
6324
|
d: "M41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L41.1,22.5 Z",
|
|
6325
6325
|
id: "MinusOutline-路径",
|
|
6326
6326
|
fill: "currentColor",
|
|
@@ -6328,7 +6328,7 @@ function MinusOutline(props) {
|
|
|
6328
6328
|
}))));
|
|
6329
6329
|
}
|
|
6330
6330
|
function QuestionCircleOutline(props) {
|
|
6331
|
-
return /* @__PURE__ */ React$
|
|
6331
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6332
6332
|
width: "1em",
|
|
6333
6333
|
height: "1em",
|
|
6334
6334
|
viewBox: "0 0 48 48",
|
|
@@ -6339,15 +6339,15 @@ function QuestionCircleOutline(props) {
|
|
|
6339
6339
|
verticalAlign: "-0.125em"
|
|
6340
6340
|
}, props.style),
|
|
6341
6341
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6342
|
-
}), /* @__PURE__ */ React$
|
|
6342
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6343
6343
|
id: "QuestionCircleOutline-QuestionCircleOutline",
|
|
6344
6344
|
stroke: "none",
|
|
6345
6345
|
strokeWidth: 1,
|
|
6346
6346
|
fill: "none",
|
|
6347
6347
|
fillRule: "evenodd"
|
|
6348
|
-
}, /* @__PURE__ */ React$
|
|
6348
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6349
6349
|
id: "QuestionCircleOutline-编组"
|
|
6350
|
-
}, /* @__PURE__ */ React$
|
|
6350
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6351
6351
|
id: "QuestionCircleOutline-矩形",
|
|
6352
6352
|
fill: "#FFFFFF",
|
|
6353
6353
|
opacity: 0,
|
|
@@ -6355,7 +6355,7 @@ function QuestionCircleOutline(props) {
|
|
|
6355
6355
|
y: 0,
|
|
6356
6356
|
width: 48,
|
|
6357
6357
|
height: 48
|
|
6358
|
-
}), /* @__PURE__ */ React$
|
|
6358
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6359
6359
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24,5 C13.5065898,5 5,13.5065898 5,24 C5,34.4934102 13.5065898,43 24,43 C34.4934102,43 43,34.4934102 43,24 C43,13.5065898 34.4934102,5 24,5 Z M26,32.4 L26,34.6 C26,34.8209139 25.8209139,35 25.6,35 L23.4,35 C23.1790861,35 23,34.8209139 23,34.6 L23,32.4 C23,32.1790861 23.1790861,32 23.4,32 L25.6,32 C25.8209139,32 26,32.1790861 26,32.4 Z M24,12 C27.8659932,12 31,15.1340068 31,19 C31,22.1706393 28.8919961,24.8489278 26.0010432,25.7098107 L26.0001268,28.6 C25.9999299,28.8208643 25.8208644,28.9998731 25.6,29 L23.4,29 C23.1790861,29 23,28.8209139 23,28.6 L23,23.4 C23,23.1790861 23.1790861,23 23.4,23 L24,23 L24,23 C26.209139,23 28,21.209139 28,19 C28,16.790861 26.209139,15 24,15 C21.790861,15 20,16.790861 20,19 L17,19 C17,15.1340068 20.1340068,12 24,12 Z",
|
|
6360
6360
|
id: "QuestionCircleOutline-形状",
|
|
6361
6361
|
fill: "currentColor",
|
|
@@ -6363,7 +6363,7 @@ function QuestionCircleOutline(props) {
|
|
|
6363
6363
|
}))));
|
|
6364
6364
|
}
|
|
6365
6365
|
function RightOutline(props) {
|
|
6366
|
-
return /* @__PURE__ */ React$
|
|
6366
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6367
6367
|
width: "1em",
|
|
6368
6368
|
height: "1em",
|
|
6369
6369
|
viewBox: "0 0 48 48",
|
|
@@ -6374,15 +6374,15 @@ function RightOutline(props) {
|
|
|
6374
6374
|
verticalAlign: "-0.125em"
|
|
6375
6375
|
}, props.style),
|
|
6376
6376
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6377
|
-
}), /* @__PURE__ */ React$
|
|
6377
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6378
6378
|
id: "RightOutline-RightOutline",
|
|
6379
6379
|
stroke: "none",
|
|
6380
6380
|
strokeWidth: 1,
|
|
6381
6381
|
fill: "none",
|
|
6382
6382
|
fillRule: "evenodd"
|
|
6383
|
-
}, /* @__PURE__ */ React$
|
|
6383
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6384
6384
|
id: "RightOutline-RightOutlined"
|
|
6385
|
-
}, /* @__PURE__ */ React$
|
|
6385
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6386
6386
|
id: "RightOutline-矩形",
|
|
6387
6387
|
fill: "#FFFFFF",
|
|
6388
6388
|
opacity: 0,
|
|
@@ -6390,7 +6390,7 @@ function RightOutline(props) {
|
|
|
6390
6390
|
y: 0,
|
|
6391
6391
|
width: 48,
|
|
6392
6392
|
height: 48
|
|
6393
|
-
}), /* @__PURE__ */ React$
|
|
6393
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6394
6394
|
d: "M17.3947957,5.11219264 L35.5767382,22.6612572 L35.5767382,22.6612572 C36.1304785,23.2125856 36.1630514,24.0863155 35.6744571,24.6755735 L35.5767382,24.7825775 L17.3956061,42.8834676 C17.320643,42.9580998 17.2191697,43 17.1133896,43 L13.9866673,43 C13.7657534,43 13.5866673,42.8209139 13.5866673,42.6 C13.5866673,42.4936115 13.6290496,42.391606 13.7044413,42.316542 L32.3201933,23.7816937 L32.3201933,23.7816937 L13.7237117,5.6866816 C13.5653818,5.53262122 13.5619207,5.27937888 13.7159811,5.121049 C13.7912854,5.04365775 13.8946805,5 14.0026627,5 L17.1170064,5 C17.2206403,5 17.3202292,5.04022164 17.3947957,5.11219264 Z",
|
|
6395
6395
|
id: "RightOutline-right",
|
|
6396
6396
|
fill: "currentColor",
|
|
@@ -6398,7 +6398,7 @@ function RightOutline(props) {
|
|
|
6398
6398
|
}))));
|
|
6399
6399
|
}
|
|
6400
6400
|
function SearchOutline(props) {
|
|
6401
|
-
return /* @__PURE__ */ React$
|
|
6401
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6402
6402
|
width: "1em",
|
|
6403
6403
|
height: "1em",
|
|
6404
6404
|
viewBox: "0 0 48 48",
|
|
@@ -6409,15 +6409,15 @@ function SearchOutline(props) {
|
|
|
6409
6409
|
verticalAlign: "-0.125em"
|
|
6410
6410
|
}, props.style),
|
|
6411
6411
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6412
|
-
}), /* @__PURE__ */ React$
|
|
6412
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6413
6413
|
id: "SearchOutline-SearchOutline",
|
|
6414
6414
|
stroke: "none",
|
|
6415
6415
|
strokeWidth: 1,
|
|
6416
6416
|
fill: "none",
|
|
6417
6417
|
fillRule: "evenodd"
|
|
6418
|
-
}, /* @__PURE__ */ React$
|
|
6418
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6419
6419
|
id: "SearchOutline-编组"
|
|
6420
|
-
}, /* @__PURE__ */ React$
|
|
6420
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6421
6421
|
id: "SearchOutline-矩形",
|
|
6422
6422
|
fill: "#FFFFFF",
|
|
6423
6423
|
opacity: 0,
|
|
@@ -6425,7 +6425,7 @@ function SearchOutline(props) {
|
|
|
6425
6425
|
y: 0,
|
|
6426
6426
|
width: 48,
|
|
6427
6427
|
height: 48
|
|
6428
|
-
}), /* @__PURE__ */ React$
|
|
6428
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6429
6429
|
d: "M10.2434135,10.1505371 C17.2346315,3.28315429 28.5696354,3.28315429 35.5608534,10.1505371 C42.3159331,16.7859644 42.5440954,27.4048667 36.2453405,34.3093889 L43.7095294,41.6422249 C43.8671196,41.7970419 43.8693677,42.0502979 43.7145508,42.2078881 C43.7128864,42.2095822 43.7112069,42.2112616 43.7095126,42.2129259 L42.1705322,43.7246464 C42.014915,43.8775072 41.7655181,43.8775006 41.6099089,43.7246316 L34.0775268,36.3248916 L34.0775268,36.3248916 C27.0485579,41.8551751 16.7593545,41.4200547 10.2434135,35.0195303 C3.25219551,28.1521474 3.25219551,17.0179199 10.2434135,10.1505371 Z M12.3532001,12.2229532 C6.52718516,17.9457722 6.52718516,27.2242951 12.3532001,32.9471142 C18.1792151,38.6699332 27.6250517,38.6699332 33.4510667,32.9471142 C39.2770817,27.2242951 39.2770817,17.9457722 33.4510667,12.2229532 C27.6250517,6.50013419 18.1792151,6.50013419 12.3532001,12.2229532 Z",
|
|
6430
6430
|
id: "SearchOutline-形状",
|
|
6431
6431
|
fill: "currentColor",
|
|
@@ -6433,7 +6433,7 @@ function SearchOutline(props) {
|
|
|
6433
6433
|
}))));
|
|
6434
6434
|
}
|
|
6435
6435
|
function SoundOutline(props) {
|
|
6436
|
-
return /* @__PURE__ */ React$
|
|
6436
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6437
6437
|
width: "1em",
|
|
6438
6438
|
height: "1em",
|
|
6439
6439
|
viewBox: "0 0 48 48",
|
|
@@ -6444,15 +6444,15 @@ function SoundOutline(props) {
|
|
|
6444
6444
|
verticalAlign: "-0.125em"
|
|
6445
6445
|
}, props.style),
|
|
6446
6446
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6447
|
-
}), /* @__PURE__ */ React$
|
|
6447
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6448
6448
|
id: "SoundOutline-SoundOutline",
|
|
6449
6449
|
stroke: "none",
|
|
6450
6450
|
strokeWidth: 1,
|
|
6451
6451
|
fill: "none",
|
|
6452
6452
|
fillRule: "evenodd"
|
|
6453
|
-
}, /* @__PURE__ */ React$
|
|
6453
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6454
6454
|
id: "SoundOutline-编组"
|
|
6455
|
-
}, /* @__PURE__ */ React$
|
|
6455
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6456
6456
|
id: "SoundOutline-矩形",
|
|
6457
6457
|
fill: "#FFFFFF",
|
|
6458
6458
|
opacity: 0,
|
|
@@ -6460,7 +6460,7 @@ function SoundOutline(props) {
|
|
|
6460
6460
|
y: 0,
|
|
6461
6461
|
width: 48,
|
|
6462
6462
|
height: 48
|
|
6463
|
-
}), /* @__PURE__ */ React$
|
|
6463
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6464
6464
|
d: "M28.267333,7.42364522 C28.6217345,7.94869119 28.8108515,8.56559899 28.8108515,9.19662571 L28.8108515,38.803714 C28.8108515,40.568974 27.3619563,42 25.5746535,42 C24.9357472,42 24.311136,41.8132153 23.7795338,41.4631847 L13.5176584,34.7058449 L8.3149307,34.706256 C5.93186028,34.706256 4,32.7982213 4,30.4445413 L4,17.6593971 C4,15.3057171 5.93186028,13.3976824 8.3149307,13.3976824 L13.3601634,13.3972713 L23.7795338,6.53715498 C25.2666597,5.55796489 27.2759158,5.95486009 28.267333,7.42364522 Z M40.4649231,8.99868666 C40.5511218,9.17742383 40.619996,9.32223121 40.6715457,9.43310881 C42.8085201,14.0295034 44,19.1437027 44,24.532755 C44,29.7837404 42.8687892,34.7737758 40.8339269,39.2781083 C40.7469512,39.4706362 40.6237802,39.7330988 40.4644141,40.0654961 C40.3689469,40.2647533 40.1300031,40.3488277 39.9307715,40.2533072 C39.9306414,40.2532448 39.9305113,40.2531824 39.9303812,40.2531198 C39.6706542,40.1282492 39.4751102,40.0342363 39.3437492,39.9710811 C38.9410401,39.777468 38.6130663,39.619786 38.3598279,39.498035 C38.2070716,39.4245934 38.0007263,39.3253875 37.740792,39.2004172 C37.5419104,39.104853 37.4580092,38.8662856 37.5532468,38.6672473 C37.7034937,38.3532445 37.8197479,38.104744 37.9020095,37.9217457 C39.7416376,33.8293278 40.763802,29.2989389 40.763802,24.532755 C40.763802,19.6931433 39.7099001,15.0966478 37.8164042,10.9549334 C37.7526807,10.8155487 37.6652043,10.6300308 37.5539748,10.3983796 C37.4585265,10.1993116 37.5423279,9.96050973 37.7412949,9.8648511 C37.9298799,9.7741839 38.0818373,9.70112639 38.1971671,9.64567856 C38.5403397,9.48068928 39.0100918,9.2548436 39.6064234,8.9681415 C39.6867211,8.9295363 39.7949893,8.87748349 39.9312282,8.81198307 C40.1301627,8.71623553 40.3690201,8.79982709 40.4649231,8.99868666 Z M24.954689,9.60481048 L14.4401642,16.5275765 C14.3748695,16.5705665 14.2984086,16.5934809 14.2202323,16.5934873 L8.3149307,16.5939685 L8.3149307,16.5939685 C7.76171792,16.5939685 7.30576856,17.0052668 7.24345545,17.5351457 L7.23619803,17.6593971 L7.23619803,30.4445413 C7.23619803,30.9909313 7.65263219,31.4412574 8.18892037,31.502802 L8.31467178,31.50997 L14.3775506,31.5094909 C14.4557573,31.5094847 14.5322502,31.5324045 14.5975676,31.5754153 L24.9546682,38.39546 C25.139173,38.5169545 25.3872345,38.4658746 25.508729,38.2813698 C25.5517339,38.2160614 25.5746535,38.1395804 25.5746535,38.0613845 L25.5746535,9.93889975 C25.5746535,9.71798585 25.3955674,9.53889975 25.1746535,9.53889975 C25.0964661,9.53889975 25.019993,9.56181436 24.954689,9.60481048 Z M34.6436115,11.798648 C34.7547335,12.030794 34.8419854,12.2167889 34.9053671,12.3566328 C36.590502,16.0746763 37.5276039,20.1956294 37.5276039,24.532755 C37.5276039,28.7641394 36.635639,32.7897635 35.0272837,36.4362183 C34.9380427,36.6385449 34.8101552,36.9146706 34.6436211,37.2645952 C34.5486602,37.4640326 34.3100191,37.5487723 34.1105639,37.4538487 C34.1101091,37.4536323 34.1096547,37.453415 34.1092007,37.4531968 C33.9190573,37.3618222 33.7721424,37.2912213 33.6684561,37.2413942 C33.186467,37.0097713 32.80073,36.824403 32.5112451,36.6852892 C32.3647538,36.6148919 32.1675294,36.5201144 31.9195719,36.4009569 C31.7210538,36.3055358 31.6370188,36.067582 31.7316042,35.8686644 C31.8690322,35.5796464 31.9753727,35.3500122 32.0506255,35.1797617 C33.4919206,31.9190071 34.2914059,28.3180945 34.2914059,24.532755 C34.2914059,20.6930477 33.46879,17.0431031 31.9881259,13.7454591 C31.9261905,13.6075203 31.840749,13.424362 31.7318014,13.1959842 C31.636885,12.9969991 31.7208632,12.7587263 31.919573,12.6632348 C32.0929373,12.5799233 32.2332164,12.5125112 32.3404102,12.4609985 C32.6888449,12.2935556 33.1655706,12.0644616 33.7705875,11.7737163 C33.8540198,11.7336223 33.9670458,11.6793068 34.1096655,11.6107699 C34.3087736,11.5152168 34.5476881,11.5990382 34.6433466,11.7980956 C34.643435,11.7982797 34.6435233,11.7984638 34.6436115,11.798648 Z",
|
|
6465
6465
|
id: "SoundOutline-形状",
|
|
6466
6466
|
fill: "currentColor",
|
|
@@ -6468,7 +6468,7 @@ function SoundOutline(props) {
|
|
|
6468
6468
|
}))));
|
|
6469
6469
|
}
|
|
6470
6470
|
function TextDeletionOutline(props) {
|
|
6471
|
-
return /* @__PURE__ */ React$
|
|
6471
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6472
6472
|
width: "1em",
|
|
6473
6473
|
height: "1em",
|
|
6474
6474
|
viewBox: "0 0 48 48",
|
|
@@ -6479,15 +6479,15 @@ function TextDeletionOutline(props) {
|
|
|
6479
6479
|
verticalAlign: "-0.125em"
|
|
6480
6480
|
}, props.style),
|
|
6481
6481
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6482
|
-
}), /* @__PURE__ */ React$
|
|
6482
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6483
6483
|
id: "TextDeletionOutline-TextDeletionOutline",
|
|
6484
6484
|
stroke: "none",
|
|
6485
6485
|
strokeWidth: 1,
|
|
6486
6486
|
fill: "none",
|
|
6487
6487
|
fillRule: "evenodd"
|
|
6488
|
-
}, /* @__PURE__ */ React$
|
|
6488
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6489
6489
|
id: "TextDeletionOutline-编组"
|
|
6490
|
-
}, /* @__PURE__ */ React$
|
|
6490
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6491
6491
|
id: "TextDeletionOutline-矩形",
|
|
6492
6492
|
fill: "#FFFFFF",
|
|
6493
6493
|
opacity: 0,
|
|
@@ -6495,7 +6495,7 @@ function TextDeletionOutline(props) {
|
|
|
6495
6495
|
y: 0,
|
|
6496
6496
|
width: 48,
|
|
6497
6497
|
height: 48
|
|
6498
|
-
}), /* @__PURE__ */ React$
|
|
6498
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6499
6499
|
d: "M38.5492302,6 C41.5596051,6 44,8.46240906 44,11.499981 L44,35.5 C44,38.5375742 41.5596051,41.000013 38.54923,41.000013 L17.3058462,41.000013 C14.6665152,41.000013 12.2347138,39.555982 10.9529738,37.2279238 L4.91451284,27.0612608 C3.6951623,24.8464932 3.6951623,22.1535354 4.91451335,19.9387516 L10.9529743,9.77208856 C12.234697,7.44403098 14.6665154,6 17.3058464,6 L38.5492302,6 Z M38.5492273,8.74994707 L17.3058465,8.74994707 C15.7329163,8.74994707 14.2719651,9.57120176 13.4439762,10.9206455 L13.3349608,11.1076457 L7.29739408,21.2743087 C6.57566975,22.5850072 6.53495505,24.1690434 7.18837846,25.5157286 L7.29739386,25.7265623 L13.3349605,35.8932253 C14.0992225,37.2803788 15.5202936,38.1698544 17.0914483,38.2444783 L17.3058454,38.2499783 L38.5492292,38.2499783 C39.9923716,38.2499783 41.1854088,37.114979 41.2700704,35.6613101 L41.2746127,35.4999769 L41.2746127,11.4999513 C41.2746127,10.0436198 40.1496291,8.83987037 38.7089651,8.75452144 L38.5492273,8.74994707 Z M22.3492842,17 C22.4547968,17 22.556036,17.0416892 22.6309531,17.1159883 L26.757,21.208 L30.8830469,17.1159883 C30.957964,17.0416892 31.0592032,17 31.1647158,17 L34.2719196,17 C34.4928335,17 34.6719196,17.1790861 34.6719196,17.4 C34.6719196,17.5067321 34.6292639,17.6090378 34.5534423,17.6841566 L28.879,23.306 L34.8245071,29.1968543 C34.9814364,29.3523411 34.9826059,29.6056044 34.8271191,29.7625337 C34.7520011,29.8383486 34.6497001,29.881 34.5429734,29.881 L31.4366959,29.881 C31.331195,29.881 31.2299662,29.8393201 31.1550512,29.7650357 L26.758,25.405 L22.3599432,29.7650669 C22.2850309,29.8393322 22.1838155,29.881 22.07833,29.881 L18.9720266,29.881 C18.7511127,29.881 18.5720266,29.7019139 18.5720266,29.481 C18.5720266,29.3742733 18.614678,29.2719723 18.6904929,29.1968543 L24.636,23.306 L18.9624269,17.6841345 C18.8055037,17.5286415 18.8043444,17.2753782 18.9598374,17.118455 C19.0349545,17.042647 19.1372506,17 19.2439719,17 L22.3492842,17 Z",
|
|
6500
6500
|
id: "TextDeletionOutline-形状结合",
|
|
6501
6501
|
fill: "currentColor",
|
|
@@ -8482,7 +8482,7 @@ Object.defineProperty(warning$3, "__esModule", {
|
|
|
8482
8482
|
value: true
|
|
8483
8483
|
});
|
|
8484
8484
|
warning$3.call = call$1;
|
|
8485
|
-
var default_1$
|
|
8485
|
+
var default_1$2 = warning$3.default = void 0;
|
|
8486
8486
|
warning$3.note = note$1;
|
|
8487
8487
|
warning$3.noteOnce = noteOnce$1;
|
|
8488
8488
|
warning$3.preMessage = void 0;
|
|
@@ -8532,7 +8532,7 @@ function noteOnce$1(valid, message) {
|
|
|
8532
8532
|
warningOnce$1.preMessage = preMessage$1;
|
|
8533
8533
|
warningOnce$1.resetWarned = resetWarned$1;
|
|
8534
8534
|
warningOnce$1.noteOnce = noteOnce$1;
|
|
8535
|
-
default_1$
|
|
8535
|
+
default_1$2 = warning$3.default = warningOnce$1;
|
|
8536
8536
|
var render$1 = {};
|
|
8537
8537
|
var interopRequireWildcard = { exports: {} };
|
|
8538
8538
|
var _typeof$1 = { exports: {} };
|
|
@@ -9030,8 +9030,8 @@ var definePropertyExports = defineProperty.exports;
|
|
|
9030
9030
|
module.exports = _objectSpread22, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9031
9031
|
})(objectSpread2);
|
|
9032
9032
|
var objectSpread2Exports = objectSpread2.exports;
|
|
9033
|
-
var _interopRequireWildcard$
|
|
9034
|
-
var _interopRequireDefault$
|
|
9033
|
+
var _interopRequireWildcard$3 = interopRequireWildcardExports.default;
|
|
9034
|
+
var _interopRequireDefault$5 = interopRequireDefaultExports.default;
|
|
9035
9035
|
Object.defineProperty(render$1, "__esModule", {
|
|
9036
9036
|
value: true
|
|
9037
9037
|
});
|
|
@@ -9039,11 +9039,11 @@ render$1._r = _r;
|
|
|
9039
9039
|
render$1._u = _u;
|
|
9040
9040
|
var render_2 = render$1.render = render;
|
|
9041
9041
|
var unmount_1 = render$1.unmount = unmount;
|
|
9042
|
-
var _regeneratorRuntime2 = _interopRequireDefault$
|
|
9043
|
-
var _asyncToGenerator2 = _interopRequireDefault$
|
|
9044
|
-
var _typeof2$3 = _interopRequireDefault$
|
|
9045
|
-
var _objectSpread2$1 = _interopRequireDefault$
|
|
9046
|
-
var ReactDOM = _interopRequireWildcard$
|
|
9042
|
+
var _regeneratorRuntime2 = _interopRequireDefault$5(regeneratorRuntimeExports);
|
|
9043
|
+
var _asyncToGenerator2 = _interopRequireDefault$5(asyncToGeneratorExports);
|
|
9044
|
+
var _typeof2$3 = _interopRequireDefault$5(_typeofExports);
|
|
9045
|
+
var _objectSpread2$1 = _interopRequireDefault$5(objectSpread2Exports);
|
|
9046
|
+
var ReactDOM = _interopRequireWildcard$3(ReactDOM__default);
|
|
9047
9047
|
var fullClone = (0, _objectSpread2$1.default)({}, ReactDOM);
|
|
9048
9048
|
var version = fullClone.version, reactRender = fullClone.render, unmountComponentAtNode = fullClone.unmountComponentAtNode;
|
|
9049
9049
|
var createRoot;
|
|
@@ -9139,9 +9139,9 @@ function _unmount() {
|
|
|
9139
9139
|
}
|
|
9140
9140
|
const defaultReactRender = (node, container) => {
|
|
9141
9141
|
{
|
|
9142
|
-
const majorVersion = parseInt(React$
|
|
9142
|
+
const majorVersion = parseInt(React$3.version.split(".")[0], 10);
|
|
9143
9143
|
const fullKeys = Object.keys(ReactDOM$1);
|
|
9144
|
-
default_1$
|
|
9144
|
+
default_1$2(majorVersion < 19 || fullKeys.includes("createRoot"), `[Compatible] antd-mobile v5 support React is 16 ~ 18. see https://mobile.ant.design/guide/v5-for-19 for compatible.`);
|
|
9145
9145
|
}
|
|
9146
9146
|
render_2(node, container);
|
|
9147
9147
|
return () => {
|
|
@@ -9601,7 +9601,7 @@ function isPromise(obj) {
|
|
|
9601
9601
|
return !!obj && typeof obj === "object" && typeof obj.then === "function";
|
|
9602
9602
|
}
|
|
9603
9603
|
function isIOS() {
|
|
9604
|
-
return canUseDom$
|
|
9604
|
+
return canUseDom$3 ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : false;
|
|
9605
9605
|
}
|
|
9606
9606
|
const classPrefix$1h = `adm-button`;
|
|
9607
9607
|
const defaultProps$_ = {
|
|
@@ -10042,9 +10042,9 @@ function convertPageToDayjs(page) {
|
|
|
10042
10042
|
return dayjs().year(page.year).month(page.month - 1).date(1);
|
|
10043
10043
|
}
|
|
10044
10044
|
function useEvent(callback) {
|
|
10045
|
-
var fnRef = React$
|
|
10045
|
+
var fnRef = React$3.useRef();
|
|
10046
10046
|
fnRef.current = callback;
|
|
10047
|
-
var memoFn = React$
|
|
10047
|
+
var memoFn = React$3.useCallback(function() {
|
|
10048
10048
|
var _fnRef$current;
|
|
10049
10049
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
10050
10050
|
args[_key] = arguments[_key];
|
|
@@ -10109,16 +10109,16 @@ function _nonIterableRest() {
|
|
|
10109
10109
|
function _slicedToArray(arr, i2) {
|
|
10110
10110
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
10111
10111
|
}
|
|
10112
|
-
function canUseDom() {
|
|
10112
|
+
function canUseDom$2() {
|
|
10113
10113
|
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
10114
10114
|
}
|
|
10115
|
-
var useInternalLayoutEffect = canUseDom() ? React$
|
|
10116
|
-
var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
10117
|
-
var firstMountRef = React$
|
|
10118
|
-
useInternalLayoutEffect(function() {
|
|
10115
|
+
var useInternalLayoutEffect$1 = canUseDom$2() ? React$3.useLayoutEffect : React$3.useEffect;
|
|
10116
|
+
var useLayoutEffect$2 = function useLayoutEffect2(callback, deps) {
|
|
10117
|
+
var firstMountRef = React$3.useRef(true);
|
|
10118
|
+
useInternalLayoutEffect$1(function() {
|
|
10119
10119
|
return callback(firstMountRef.current);
|
|
10120
10120
|
}, deps);
|
|
10121
|
-
useInternalLayoutEffect(function() {
|
|
10121
|
+
useInternalLayoutEffect$1(function() {
|
|
10122
10122
|
firstMountRef.current = false;
|
|
10123
10123
|
return function() {
|
|
10124
10124
|
firstMountRef.current = true;
|
|
@@ -10126,16 +10126,16 @@ var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
|
10126
10126
|
}, []);
|
|
10127
10127
|
};
|
|
10128
10128
|
var useLayoutUpdateEffect = function useLayoutUpdateEffect2(callback, deps) {
|
|
10129
|
-
useLayoutEffect(function(firstMount) {
|
|
10129
|
+
useLayoutEffect$2(function(firstMount) {
|
|
10130
10130
|
if (!firstMount) {
|
|
10131
10131
|
return callback();
|
|
10132
10132
|
}
|
|
10133
10133
|
}, deps);
|
|
10134
10134
|
};
|
|
10135
10135
|
function useSafeState(defaultValue) {
|
|
10136
|
-
var destroyRef = React$
|
|
10137
|
-
var _React$useState = React$
|
|
10138
|
-
React$
|
|
10136
|
+
var destroyRef = React$3.useRef(false);
|
|
10137
|
+
var _React$useState = React$3.useState(defaultValue), _React$useState2 = _slicedToArray(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1];
|
|
10138
|
+
React$3.useEffect(function() {
|
|
10139
10139
|
destroyRef.current = false;
|
|
10140
10140
|
return function() {
|
|
10141
10141
|
destroyRef.current = true;
|
|
@@ -14408,6 +14408,45 @@ const Dropdown$1 = Dropdown;
|
|
|
14408
14408
|
const index$b = attachPropertiesToComponent(Dropdown$1, {
|
|
14409
14409
|
Item: Item$1
|
|
14410
14410
|
});
|
|
14411
|
+
var useLayoutEffect$1 = {};
|
|
14412
|
+
var canUseDom$1 = {};
|
|
14413
|
+
Object.defineProperty(canUseDom$1, "__esModule", {
|
|
14414
|
+
value: true
|
|
14415
|
+
});
|
|
14416
|
+
canUseDom$1.default = canUseDom;
|
|
14417
|
+
function canUseDom() {
|
|
14418
|
+
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
14419
|
+
}
|
|
14420
|
+
var default_1$1;
|
|
14421
|
+
var _interopRequireDefault$4 = interopRequireDefaultExports.default;
|
|
14422
|
+
var _interopRequireWildcard$2 = interopRequireWildcardExports.default;
|
|
14423
|
+
Object.defineProperty(useLayoutEffect$1, "__esModule", {
|
|
14424
|
+
value: true
|
|
14425
|
+
});
|
|
14426
|
+
useLayoutEffect$1.useLayoutUpdateEffect = default_1$1 = useLayoutEffect$1.default = void 0;
|
|
14427
|
+
var React$2 = _interopRequireWildcard$2(React__default);
|
|
14428
|
+
var _canUseDom = _interopRequireDefault$4(canUseDom$1);
|
|
14429
|
+
var useInternalLayoutEffect = (0, _canUseDom.default)() ? React$2.useLayoutEffect : React$2.useEffect;
|
|
14430
|
+
var useLayoutEffect = function useLayoutEffect22(callback, deps) {
|
|
14431
|
+
var firstMountRef = React$2.useRef(true);
|
|
14432
|
+
useInternalLayoutEffect(function() {
|
|
14433
|
+
return callback(firstMountRef.current);
|
|
14434
|
+
}, deps);
|
|
14435
|
+
useInternalLayoutEffect(function() {
|
|
14436
|
+
firstMountRef.current = false;
|
|
14437
|
+
return function() {
|
|
14438
|
+
firstMountRef.current = true;
|
|
14439
|
+
};
|
|
14440
|
+
}, []);
|
|
14441
|
+
};
|
|
14442
|
+
useLayoutEffect$1.useLayoutUpdateEffect = function useLayoutUpdateEffect22(callback, deps) {
|
|
14443
|
+
useLayoutEffect(function(firstMount) {
|
|
14444
|
+
if (!firstMount) {
|
|
14445
|
+
return callback();
|
|
14446
|
+
}
|
|
14447
|
+
}, deps);
|
|
14448
|
+
};
|
|
14449
|
+
default_1$1 = useLayoutEffect$1.default = useLayoutEffect;
|
|
14411
14450
|
var i;
|
|
14412
14451
|
!function(i2) {
|
|
14413
14452
|
i2[i2.HIGH_SURROGATE_START = 55296] = "HIGH_SURROGATE_START", i2[i2.HIGH_SURROGATE_END = 56319] = "HIGH_SURROGATE_END", i2[i2.LOW_SURROGATE_START = 56320] = "LOW_SURROGATE_START", i2[i2.REGIONAL_INDICATOR_START = 127462] = "REGIONAL_INDICATOR_START", i2[i2.REGIONAL_INDICATOR_END = 127487] = "REGIONAL_INDICATOR_END", i2[i2.FITZPATRICK_MODIFIER_START = 127995] = "FITZPATRICK_MODIFIER_START", i2[i2.FITZPATRICK_MODIFIER_END = 127999] = "FITZPATRICK_MODIFIER_END", i2[i2.VARIATION_MODIFIER_START = 65024] = "VARIATION_MODIFIER_START", i2[i2.VARIATION_MODIFIER_END = 65039] = "VARIATION_MODIFIER_END", i2[i2.DIACRITICAL_MARKS_START = 8400] = "DIACRITICAL_MARKS_START", i2[i2.DIACRITICAL_MARKS_END = 8447] = "DIACRITICAL_MARKS_END", i2[i2.SUBDIVISION_INDICATOR_START = 127988] = "SUBDIVISION_INDICATOR_START", i2[i2.TAGS_START = 917504] = "TAGS_START", i2[i2.TAGS_END = 917631] = "TAGS_END", i2[i2.ZWJ = 8205] = "ZWJ";
|
|
@@ -14496,10 +14535,10 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14496
14535
|
setWalkingIndexes([0, direction === "middle" ? Math.ceil(contentChars.length / 2) : contentChars.length]);
|
|
14497
14536
|
});
|
|
14498
14537
|
});
|
|
14499
|
-
|
|
14538
|
+
default_1$1(() => {
|
|
14500
14539
|
startMeasure();
|
|
14501
14540
|
}, [contentChars, rows]);
|
|
14502
|
-
|
|
14541
|
+
default_1$1(() => {
|
|
14503
14542
|
var _a, _b;
|
|
14504
14543
|
if (status === 1) {
|
|
14505
14544
|
const fullMeasureHeight = ((_a = fullMeasureRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
@@ -14519,7 +14558,7 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14519
14558
|
}
|
|
14520
14559
|
}
|
|
14521
14560
|
}, [status]);
|
|
14522
|
-
|
|
14561
|
+
default_1$1(() => {
|
|
14523
14562
|
var _a;
|
|
14524
14563
|
if (status === 2) {
|
|
14525
14564
|
const diff = walkingIndexes[1] - walkingIndexes[0];
|
|
@@ -15667,7 +15706,7 @@ var HOOK_MARK$1 = "RC_FORM_INTERNAL_HOOKS";
|
|
|
15667
15706
|
var warningFunc$1 = function warningFunc() {
|
|
15668
15707
|
warningOnce(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
15669
15708
|
};
|
|
15670
|
-
var Context$2 = /* @__PURE__ */ React$
|
|
15709
|
+
var Context$2 = /* @__PURE__ */ React$3.createContext({
|
|
15671
15710
|
getFieldValue: warningFunc$1,
|
|
15672
15711
|
getFieldsValue: warningFunc$1,
|
|
15673
15712
|
getFieldError: warningFunc$1,
|
|
@@ -15701,7 +15740,7 @@ var Context$2 = /* @__PURE__ */ React$2.createContext({
|
|
|
15701
15740
|
};
|
|
15702
15741
|
}
|
|
15703
15742
|
});
|
|
15704
|
-
var ListContext = /* @__PURE__ */ React$
|
|
15743
|
+
var ListContext = /* @__PURE__ */ React$3.createContext(null);
|
|
15705
15744
|
function toArray$1(value) {
|
|
15706
15745
|
if (value === void 0 || value === null) {
|
|
15707
15746
|
return [];
|
|
@@ -17208,9 +17247,9 @@ function _validateRule() {
|
|
|
17208
17247
|
result = _context2.t0.errors.map(function(_ref4, index2) {
|
|
17209
17248
|
var message = _ref4.message;
|
|
17210
17249
|
var mergedMessage = message === CODE_LOGIC_ERROR ? messages2.default : message;
|
|
17211
|
-
return /* @__PURE__ */ React$
|
|
17250
|
+
return /* @__PURE__ */ React$3.isValidElement(mergedMessage) ? (
|
|
17212
17251
|
// Wrap ReactNode with `key`
|
|
17213
|
-
React$
|
|
17252
|
+
React$3.cloneElement(mergedMessage, {
|
|
17214
17253
|
key: "error_".concat(index2)
|
|
17215
17254
|
})
|
|
17216
17255
|
) : mergedMessage;
|
|
@@ -17748,7 +17787,7 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17748
17787
|
});
|
|
17749
17788
|
}
|
|
17750
17789
|
var childList = toArray$2(children);
|
|
17751
|
-
if (childList.length !== 1 || !/* @__PURE__ */ React$
|
|
17790
|
+
if (childList.length !== 1 || !/* @__PURE__ */ React$3.isValidElement(childList[0])) {
|
|
17752
17791
|
return {
|
|
17753
17792
|
child: childList,
|
|
17754
17793
|
isFunction: false
|
|
@@ -17865,19 +17904,19 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17865
17904
|
var returnChildNode;
|
|
17866
17905
|
if (isFunction2) {
|
|
17867
17906
|
returnChildNode = child;
|
|
17868
|
-
} else if (/* @__PURE__ */ React$
|
|
17869
|
-
returnChildNode = /* @__PURE__ */ React$
|
|
17907
|
+
} else if (/* @__PURE__ */ React$3.isValidElement(child)) {
|
|
17908
|
+
returnChildNode = /* @__PURE__ */ React$3.cloneElement(child, this.getControlled(child.props));
|
|
17870
17909
|
} else {
|
|
17871
17910
|
warningOnce(!child, "`children` of Field is not validate ReactElement.");
|
|
17872
17911
|
returnChildNode = child;
|
|
17873
17912
|
}
|
|
17874
|
-
return /* @__PURE__ */ React$
|
|
17913
|
+
return /* @__PURE__ */ React$3.createElement(React$3.Fragment, {
|
|
17875
17914
|
key: resetCount
|
|
17876
17915
|
}, returnChildNode);
|
|
17877
17916
|
}
|
|
17878
17917
|
}]);
|
|
17879
17918
|
return Field2;
|
|
17880
|
-
}(React$
|
|
17919
|
+
}(React$3.Component);
|
|
17881
17920
|
Field.contextType = Context$2;
|
|
17882
17921
|
Field.defaultProps = {
|
|
17883
17922
|
trigger: "onChange",
|
|
@@ -17885,8 +17924,8 @@ Field.defaultProps = {
|
|
|
17885
17924
|
};
|
|
17886
17925
|
function WrapperField(_ref5) {
|
|
17887
17926
|
var name = _ref5.name, restProps = _objectWithoutProperties(_ref5, _excluded$4);
|
|
17888
|
-
var fieldContext = React$
|
|
17889
|
-
var listContext = React$
|
|
17927
|
+
var fieldContext = React$3.useContext(Context$2);
|
|
17928
|
+
var listContext = React$3.useContext(ListContext);
|
|
17890
17929
|
var namePath = name !== void 0 ? getNamePath(name) : void 0;
|
|
17891
17930
|
var key = "keep";
|
|
17892
17931
|
if (!restProps.isListField) {
|
|
@@ -17895,7 +17934,7 @@ function WrapperField(_ref5) {
|
|
|
17895
17934
|
if (restProps.preserve === false && restProps.isListField && namePath.length <= 1) {
|
|
17896
17935
|
warningOnce(false, "`preserve` should not apply on Form.List fields.");
|
|
17897
17936
|
}
|
|
17898
|
-
return /* @__PURE__ */ React$
|
|
17937
|
+
return /* @__PURE__ */ React$3.createElement(Field, _extends$1({
|
|
17899
17938
|
key,
|
|
17900
17939
|
name: namePath,
|
|
17901
17940
|
isListField: !!listContext
|
|
@@ -17905,23 +17944,23 @@ function WrapperField(_ref5) {
|
|
|
17905
17944
|
}
|
|
17906
17945
|
var List = function List2(_ref) {
|
|
17907
17946
|
var name = _ref.name, initialValue = _ref.initialValue, children = _ref.children, rules2 = _ref.rules, validateTrigger = _ref.validateTrigger, isListField = _ref.isListField;
|
|
17908
|
-
var context = React$
|
|
17909
|
-
var wrapperListContext = React$
|
|
17910
|
-
var keyRef = React$
|
|
17947
|
+
var context = React$3.useContext(Context$2);
|
|
17948
|
+
var wrapperListContext = React$3.useContext(ListContext);
|
|
17949
|
+
var keyRef = React$3.useRef({
|
|
17911
17950
|
keys: [],
|
|
17912
17951
|
id: 0
|
|
17913
17952
|
});
|
|
17914
17953
|
var keyManager = keyRef.current;
|
|
17915
|
-
var prefixName = React$
|
|
17954
|
+
var prefixName = React$3.useMemo(function() {
|
|
17916
17955
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
17917
17956
|
return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
|
|
17918
17957
|
}, [context.prefixName, name]);
|
|
17919
|
-
var fieldContext = React$
|
|
17958
|
+
var fieldContext = React$3.useMemo(function() {
|
|
17920
17959
|
return _objectSpread2(_objectSpread2({}, context), {}, {
|
|
17921
17960
|
prefixName
|
|
17922
17961
|
});
|
|
17923
17962
|
}, [context, prefixName]);
|
|
17924
|
-
var listContext = React$
|
|
17963
|
+
var listContext = React$3.useMemo(function() {
|
|
17925
17964
|
return {
|
|
17926
17965
|
getKey: function getKey(namePath) {
|
|
17927
17966
|
var len = prefixName.length;
|
|
@@ -17941,11 +17980,11 @@ var List = function List2(_ref) {
|
|
|
17941
17980
|
}
|
|
17942
17981
|
return prevValue !== nextValue;
|
|
17943
17982
|
};
|
|
17944
|
-
return /* @__PURE__ */ React$
|
|
17983
|
+
return /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
17945
17984
|
value: listContext
|
|
17946
|
-
}, /* @__PURE__ */ React$
|
|
17985
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
17947
17986
|
value: fieldContext
|
|
17948
|
-
}, /* @__PURE__ */ React$
|
|
17987
|
+
}, /* @__PURE__ */ React$3.createElement(WrapperField, {
|
|
17949
17988
|
name: [],
|
|
17950
17989
|
shouldUpdate,
|
|
17951
17990
|
rules: rules2,
|
|
@@ -18840,8 +18879,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
18840
18879
|
this.forceRootUpdate = forceRootUpdate;
|
|
18841
18880
|
});
|
|
18842
18881
|
function useForm(form) {
|
|
18843
|
-
var formRef = React$
|
|
18844
|
-
var _React$useState = React$
|
|
18882
|
+
var formRef = React$3.useRef();
|
|
18883
|
+
var _React$useState = React$3.useState({}), _React$useState2 = _slicedToArray(_React$useState, 2), forceUpdate = _React$useState2[1];
|
|
18845
18884
|
if (!formRef.current) {
|
|
18846
18885
|
if (form) {
|
|
18847
18886
|
formRef.current = form;
|
|
@@ -18855,7 +18894,7 @@ function useForm(form) {
|
|
|
18855
18894
|
}
|
|
18856
18895
|
return [formRef.current];
|
|
18857
18896
|
}
|
|
18858
|
-
var FormContext$1 = /* @__PURE__ */ React$
|
|
18897
|
+
var FormContext$1 = /* @__PURE__ */ React$3.createContext({
|
|
18859
18898
|
triggerFormChange: function triggerFormChange() {
|
|
18860
18899
|
},
|
|
18861
18900
|
triggerFormFinish: function triggerFormFinish() {
|
|
@@ -18867,9 +18906,9 @@ var FormContext$1 = /* @__PURE__ */ React$2.createContext({
|
|
|
18867
18906
|
});
|
|
18868
18907
|
var FormProvider = function FormProvider2(_ref) {
|
|
18869
18908
|
var validateMessages = _ref.validateMessages, onFormChange = _ref.onFormChange, onFormFinish = _ref.onFormFinish, children = _ref.children;
|
|
18870
|
-
var formContext = React$
|
|
18871
|
-
var formsRef = React$
|
|
18872
|
-
return /* @__PURE__ */ React$
|
|
18909
|
+
var formContext = React$3.useContext(FormContext$1);
|
|
18910
|
+
var formsRef = React$3.useRef({});
|
|
18911
|
+
return /* @__PURE__ */ React$3.createElement(FormContext$1.Provider, {
|
|
18873
18912
|
value: _objectSpread2(_objectSpread2({}, formContext), {}, {
|
|
18874
18913
|
validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
18875
18914
|
// =========================================================
|
|
@@ -18911,13 +18950,13 @@ var FormProvider = function FormProvider2(_ref) {
|
|
|
18911
18950
|
var _excluded$2 = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
|
|
18912
18951
|
var Form$1 = function Form(_ref, ref2) {
|
|
18913
18952
|
var name = _ref.name, initialValues = _ref.initialValues, fields = _ref.fields, form = _ref.form, preserve = _ref.preserve, children = _ref.children, _ref$component = _ref.component, Component = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref.validateMessages, _ref$validateTrigger = _ref.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref.onValuesChange, _onFieldsChange = _ref.onFieldsChange, _onFinish = _ref.onFinish, onFinishFailed = _ref.onFinishFailed, restProps = _objectWithoutProperties(_ref, _excluded$2);
|
|
18914
|
-
var formContext = React$
|
|
18953
|
+
var formContext = React$3.useContext(FormContext$1);
|
|
18915
18954
|
var _useForm = useForm(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
|
|
18916
18955
|
var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK$1), useSubscribe = _formInstance$getInte.useSubscribe, setInitialValues = _formInstance$getInte.setInitialValues, setCallbacks = _formInstance$getInte.setCallbacks, setValidateMessages = _formInstance$getInte.setValidateMessages, setPreserve = _formInstance$getInte.setPreserve, destroyForm = _formInstance$getInte.destroyForm;
|
|
18917
|
-
React$
|
|
18956
|
+
React$3.useImperativeHandle(ref2, function() {
|
|
18918
18957
|
return formInstance;
|
|
18919
18958
|
});
|
|
18920
|
-
React$
|
|
18959
|
+
React$3.useEffect(function() {
|
|
18921
18960
|
formContext.registerForm(name, formInstance);
|
|
18922
18961
|
return function() {
|
|
18923
18962
|
formContext.unregisterForm(name);
|
|
@@ -18944,12 +18983,12 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18944
18983
|
onFinishFailed
|
|
18945
18984
|
});
|
|
18946
18985
|
setPreserve(preserve);
|
|
18947
|
-
var mountRef = React$
|
|
18986
|
+
var mountRef = React$3.useRef(null);
|
|
18948
18987
|
setInitialValues(initialValues, !mountRef.current);
|
|
18949
18988
|
if (!mountRef.current) {
|
|
18950
18989
|
mountRef.current = true;
|
|
18951
18990
|
}
|
|
18952
|
-
React$
|
|
18991
|
+
React$3.useEffect(
|
|
18953
18992
|
function() {
|
|
18954
18993
|
return destroyForm;
|
|
18955
18994
|
},
|
|
@@ -18965,27 +19004,27 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18965
19004
|
childrenNode = children;
|
|
18966
19005
|
}
|
|
18967
19006
|
useSubscribe(!childrenRenderProps);
|
|
18968
|
-
var prevFieldsRef = React$
|
|
18969
|
-
React$
|
|
19007
|
+
var prevFieldsRef = React$3.useRef();
|
|
19008
|
+
React$3.useEffect(function() {
|
|
18970
19009
|
if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
|
|
18971
19010
|
formInstance.setFields(fields || []);
|
|
18972
19011
|
}
|
|
18973
19012
|
prevFieldsRef.current = fields;
|
|
18974
19013
|
}, [fields, formInstance]);
|
|
18975
|
-
var formContextValue = React$
|
|
19014
|
+
var formContextValue = React$3.useMemo(function() {
|
|
18976
19015
|
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
|
18977
19016
|
validateTrigger
|
|
18978
19017
|
});
|
|
18979
19018
|
}, [formInstance, validateTrigger]);
|
|
18980
|
-
var wrapperNode = /* @__PURE__ */ React$
|
|
19019
|
+
var wrapperNode = /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
18981
19020
|
value: null
|
|
18982
|
-
}, /* @__PURE__ */ React$
|
|
19021
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
18983
19022
|
value: formContextValue
|
|
18984
19023
|
}, childrenNode));
|
|
18985
19024
|
if (Component === false) {
|
|
18986
19025
|
return wrapperNode;
|
|
18987
19026
|
}
|
|
18988
|
-
return /* @__PURE__ */ React$
|
|
19027
|
+
return /* @__PURE__ */ React$3.createElement(Component, _extends$1({}, restProps, {
|
|
18989
19028
|
onSubmit: function onSubmit(event) {
|
|
18990
19029
|
event.preventDefault();
|
|
18991
19030
|
event.stopPropagation();
|
|
@@ -19061,7 +19100,7 @@ function useWatch() {
|
|
|
19061
19100
|
);
|
|
19062
19101
|
return value;
|
|
19063
19102
|
}
|
|
19064
|
-
var InternalForm = /* @__PURE__ */ React$
|
|
19103
|
+
var InternalForm = /* @__PURE__ */ React$3.forwardRef(Form$1);
|
|
19065
19104
|
var RefForm = InternalForm;
|
|
19066
19105
|
RefForm.FormProvider = FormProvider;
|
|
19067
19106
|
RefForm.Field = WrapperField;
|
|
@@ -20703,7 +20742,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
20703
20742
|
};
|
|
20704
20743
|
let tenPxTester = null;
|
|
20705
20744
|
let tester = null;
|
|
20706
|
-
if (canUseDom$
|
|
20745
|
+
if (canUseDom$3) {
|
|
20707
20746
|
tenPxTester = document.createElement("div");
|
|
20708
20747
|
tenPxTester.className = "adm-px-tester";
|
|
20709
20748
|
tenPxTester.style.setProperty("--size", "10");
|
|
@@ -20894,7 +20933,7 @@ getNodeRef_1 = ref.getNodeRef = function getNodeRef(node) {
|
|
|
20894
20933
|
}
|
|
20895
20934
|
return null;
|
|
20896
20935
|
};
|
|
20897
|
-
class LegacyWrapper extends React$
|
|
20936
|
+
class LegacyWrapper extends React$3.Component {
|
|
20898
20937
|
constructor() {
|
|
20899
20938
|
super(...arguments);
|
|
20900
20939
|
this.element = null;
|
|
@@ -20914,12 +20953,12 @@ class LegacyWrapper extends React$2.Component {
|
|
|
20914
20953
|
return this.props.children;
|
|
20915
20954
|
}
|
|
20916
20955
|
}
|
|
20917
|
-
const Wrapper = React$
|
|
20956
|
+
const Wrapper = React$3.forwardRef(({
|
|
20918
20957
|
children
|
|
20919
20958
|
}, ref2) => {
|
|
20920
|
-
const elementRef = React$
|
|
20921
|
-
const legacyWrapperRef = React$
|
|
20922
|
-
const child = React$
|
|
20959
|
+
const elementRef = React$3.useRef(null);
|
|
20960
|
+
const legacyWrapperRef = React$3.createRef();
|
|
20961
|
+
const child = React$3.Children.only(children);
|
|
20923
20962
|
const canUseRef = supportRef_1(children);
|
|
20924
20963
|
const getElement = () => {
|
|
20925
20964
|
var _a;
|
|
@@ -20928,13 +20967,13 @@ const Wrapper = React$2.forwardRef(({
|
|
|
20928
20967
|
}
|
|
20929
20968
|
return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
|
|
20930
20969
|
};
|
|
20931
|
-
React$
|
|
20970
|
+
React$3.useImperativeHandle(ref2, () => ({
|
|
20932
20971
|
element: getElement()
|
|
20933
20972
|
}));
|
|
20934
20973
|
const composedRef = composeRef_1(elementRef, getNodeRef_1(child));
|
|
20935
|
-
return canUseRef ? React$
|
|
20974
|
+
return canUseRef ? React$3.cloneElement(child, {
|
|
20936
20975
|
ref: composedRef
|
|
20937
|
-
}) : React$
|
|
20976
|
+
}) : React$3.createElement(LegacyWrapper, {
|
|
20938
20977
|
ref: legacyWrapperRef
|
|
20939
20978
|
}, child);
|
|
20940
20979
|
});
|
|
@@ -22548,9 +22587,7 @@ const InfiniteScrollContent = (props) => {
|
|
|
22548
22587
|
};
|
|
22549
22588
|
function useInputHandleKeyDown({
|
|
22550
22589
|
onEnterPress,
|
|
22551
|
-
onKeyDown
|
|
22552
|
-
nativeInputRef,
|
|
22553
|
-
enterKeyHint
|
|
22590
|
+
onKeyDown
|
|
22554
22591
|
}) {
|
|
22555
22592
|
const handleKeydown = (e2) => {
|
|
22556
22593
|
if (onEnterPress && (e2.code === "Enter" || e2.keyCode === 13)) {
|
|
@@ -22558,15 +22595,6 @@ function useInputHandleKeyDown({
|
|
|
22558
22595
|
}
|
|
22559
22596
|
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e2);
|
|
22560
22597
|
};
|
|
22561
|
-
useIsomorphicLayoutEffect$3(() => {
|
|
22562
|
-
const ele = nativeInputRef.current;
|
|
22563
|
-
if (!enterKeyHint || !ele)
|
|
22564
|
-
return;
|
|
22565
|
-
ele.setAttribute("enterkeyhint", enterKeyHint);
|
|
22566
|
-
return () => {
|
|
22567
|
-
ele.removeAttribute("enterkeyhint");
|
|
22568
|
-
};
|
|
22569
|
-
}, [enterKeyHint]);
|
|
22570
22598
|
return handleKeydown;
|
|
22571
22599
|
}
|
|
22572
22600
|
const classPrefix$B = `adm-input`;
|
|
@@ -22587,9 +22615,7 @@ const Input = forwardRef((props, ref2) => {
|
|
|
22587
22615
|
const nativeInputRef = useRef(null);
|
|
22588
22616
|
const handleKeydown = useInputHandleKeyDown({
|
|
22589
22617
|
onEnterPress: mergedProps.onEnterPress,
|
|
22590
|
-
onKeyDown: mergedProps.onKeyDown
|
|
22591
|
-
nativeInputRef,
|
|
22592
|
-
enterKeyHint: mergedProps.enterKeyHint
|
|
22618
|
+
onKeyDown: mergedProps.onKeyDown
|
|
22593
22619
|
});
|
|
22594
22620
|
useImperativeHandle(ref2, () => ({
|
|
22595
22621
|
clear: () => {
|
|
@@ -23197,6 +23223,7 @@ const NumberKeyboard = (p) => {
|
|
|
23197
23223
|
};
|
|
23198
23224
|
const renderKey = (key, index2) => {
|
|
23199
23225
|
const isNumberKey = /^\d$/.test(key);
|
|
23226
|
+
const isBackspace = key === "BACKSPACE";
|
|
23200
23227
|
const className = classNames(`${classPrefix$x}-key`, {
|
|
23201
23228
|
[`${classPrefix$x}-key-number`]: isNumberKey,
|
|
23202
23229
|
[`${classPrefix$x}-key-sign`]: !isNumberKey && key,
|
|
@@ -23204,25 +23231,29 @@ const NumberKeyboard = (p) => {
|
|
|
23204
23231
|
});
|
|
23205
23232
|
const ariaProps = key ? {
|
|
23206
23233
|
role: "button",
|
|
23207
|
-
title: key,
|
|
23234
|
+
title: isBackspace ? locale.Input.clear : key,
|
|
23208
23235
|
tabIndex: -1
|
|
23209
23236
|
} : void 0;
|
|
23210
23237
|
return React__default.createElement("div", Object.assign({
|
|
23211
23238
|
key,
|
|
23212
23239
|
className,
|
|
23213
|
-
|
|
23240
|
+
// 仅为 backspace 绑定,支持长按快速删除
|
|
23241
|
+
onTouchStart: isBackspace ? () => {
|
|
23242
|
+
stopContinueClear();
|
|
23243
|
+
startContinueClear();
|
|
23244
|
+
} : void 0,
|
|
23245
|
+
onTouchEnd: isBackspace ? (e2) => {
|
|
23246
|
+
stopContinueClear();
|
|
23247
|
+
onKeyPress(e2, key);
|
|
23248
|
+
} : void 0,
|
|
23249
|
+
// <div role="button" title="1" onTouchEnd={e => {}}>1</div> 安卓上 talback 可读不可点
|
|
23250
|
+
// see https://ua-gilded-eef7f9.netlify.app/grid-button-bug.html
|
|
23251
|
+
// 所以还是绑定 click,通过 touchEnd 的 preventDefault 防重复触发
|
|
23252
|
+
onClick: (e2) => {
|
|
23214
23253
|
stopContinueClear();
|
|
23215
|
-
if (key === "BACKSPACE") {
|
|
23216
|
-
startContinueClear();
|
|
23217
|
-
}
|
|
23218
|
-
},
|
|
23219
|
-
onTouchEnd: (e2) => {
|
|
23220
23254
|
onKeyPress(e2, key);
|
|
23221
|
-
if (key === "BACKSPACE") {
|
|
23222
|
-
stopContinueClear();
|
|
23223
|
-
}
|
|
23224
23255
|
}
|
|
23225
|
-
}, ariaProps),
|
|
23256
|
+
}, ariaProps), isBackspace ? React__default.createElement(TextDeletionOutline, null) : key);
|
|
23226
23257
|
};
|
|
23227
23258
|
return React__default.createElement(Popup, {
|
|
23228
23259
|
visible,
|
|
@@ -23254,8 +23285,12 @@ const NumberKeyboard = (p) => {
|
|
|
23254
23285
|
startContinueClear();
|
|
23255
23286
|
},
|
|
23256
23287
|
onTouchEnd: (e2) => {
|
|
23288
|
+
stopContinueClear();
|
|
23257
23289
|
onKeyPress(e2, "BACKSPACE");
|
|
23290
|
+
},
|
|
23291
|
+
onClick: (e2) => {
|
|
23258
23292
|
stopContinueClear();
|
|
23293
|
+
onKeyPress(e2, "BACKSPACE");
|
|
23259
23294
|
},
|
|
23260
23295
|
onContextMenu: (e2) => {
|
|
23261
23296
|
e2.preventDefault();
|
|
@@ -23265,7 +23300,7 @@ const NumberKeyboard = (p) => {
|
|
|
23265
23300
|
tabIndex: -1
|
|
23266
23301
|
}, React__default.createElement(TextDeletionOutline, null)), React__default.createElement("div", {
|
|
23267
23302
|
className: `${classPrefix$x}-key ${classPrefix$x}-key-extra ${classPrefix$x}-key-ok`,
|
|
23268
|
-
|
|
23303
|
+
onClick: (e2) => onKeyPress(e2, "OK"),
|
|
23269
23304
|
role: "button",
|
|
23270
23305
|
tabIndex: -1,
|
|
23271
23306
|
"aria-label": confirmText
|
|
@@ -24102,7 +24137,7 @@ function findDOMNode(node) {
|
|
|
24102
24137
|
}
|
|
24103
24138
|
return null;
|
|
24104
24139
|
}
|
|
24105
|
-
var Context = /* @__PURE__ */ React$
|
|
24140
|
+
var Context = /* @__PURE__ */ React$3.createContext({});
|
|
24106
24141
|
var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
24107
24142
|
_inherits(DomWrapper2, _React$Component);
|
|
24108
24143
|
var _super = _createSuper(DomWrapper2);
|
|
@@ -24117,7 +24152,7 @@ var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
|
24117
24152
|
}
|
|
24118
24153
|
}]);
|
|
24119
24154
|
return DomWrapper2;
|
|
24120
|
-
}(React$
|
|
24155
|
+
}(React$3.Component);
|
|
24121
24156
|
var STATUS_NONE = "none";
|
|
24122
24157
|
var STATUS_APPEAR = "appear";
|
|
24123
24158
|
var STATUS_ENTER = "enter";
|
|
@@ -24152,9 +24187,9 @@ function getVendorPrefixes(domSupport, win) {
|
|
|
24152
24187
|
}
|
|
24153
24188
|
return prefixes2;
|
|
24154
24189
|
}
|
|
24155
|
-
var vendorPrefixes = getVendorPrefixes(canUseDom(), typeof window !== "undefined" ? window : {});
|
|
24190
|
+
var vendorPrefixes = getVendorPrefixes(canUseDom$2(), typeof window !== "undefined" ? window : {});
|
|
24156
24191
|
var style = {};
|
|
24157
|
-
if (canUseDom()) {
|
|
24192
|
+
if (canUseDom$2()) {
|
|
24158
24193
|
var _document$createEleme = document.createElement("div");
|
|
24159
24194
|
style = _document$createEleme.style;
|
|
24160
24195
|
}
|
|
@@ -24197,7 +24232,7 @@ const useDomMotionEvents = function(callback) {
|
|
|
24197
24232
|
var cacheElementRef = useRef();
|
|
24198
24233
|
var callbackRef = useRef(callback);
|
|
24199
24234
|
callbackRef.current = callback;
|
|
24200
|
-
var onInternalMotionEnd = React$
|
|
24235
|
+
var onInternalMotionEnd = React$3.useCallback(function(event) {
|
|
24201
24236
|
callbackRef.current(event);
|
|
24202
24237
|
}, []);
|
|
24203
24238
|
function removeMotionEvents(element) {
|
|
@@ -24216,14 +24251,14 @@ const useDomMotionEvents = function(callback) {
|
|
|
24216
24251
|
cacheElementRef.current = element;
|
|
24217
24252
|
}
|
|
24218
24253
|
}
|
|
24219
|
-
React$
|
|
24254
|
+
React$3.useEffect(function() {
|
|
24220
24255
|
return function() {
|
|
24221
24256
|
removeMotionEvents(cacheElementRef.current);
|
|
24222
24257
|
};
|
|
24223
24258
|
}, []);
|
|
24224
24259
|
return [patchMotionEvents, removeMotionEvents];
|
|
24225
24260
|
};
|
|
24226
|
-
var useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect$
|
|
24261
|
+
var useIsomorphicLayoutEffect = canUseDom$2() ? useLayoutEffect$3 : useEffect;
|
|
24227
24262
|
var raf = function raf2(callback) {
|
|
24228
24263
|
return +setTimeout(callback, 16);
|
|
24229
24264
|
};
|
|
@@ -24272,7 +24307,7 @@ wrapperRaf.cancel = function(id) {
|
|
|
24272
24307
|
};
|
|
24273
24308
|
}
|
|
24274
24309
|
const useNextFrame = function() {
|
|
24275
|
-
var nextFrameRef = React$
|
|
24310
|
+
var nextFrameRef = React$3.useRef(null);
|
|
24276
24311
|
function cancelNextFrame() {
|
|
24277
24312
|
wrapperRaf.cancel(nextFrameRef.current);
|
|
24278
24313
|
}
|
|
@@ -24292,7 +24327,7 @@ const useNextFrame = function() {
|
|
|
24292
24327
|
});
|
|
24293
24328
|
nextFrameRef.current = nextFrameId;
|
|
24294
24329
|
}
|
|
24295
|
-
React$
|
|
24330
|
+
React$3.useEffect(function() {
|
|
24296
24331
|
return function() {
|
|
24297
24332
|
cancelNextFrame();
|
|
24298
24333
|
};
|
|
@@ -24336,7 +24371,7 @@ const useStepQueue = function(status, prepareOnly, callback) {
|
|
|
24336
24371
|
}
|
|
24337
24372
|
}
|
|
24338
24373
|
}, [status, step]);
|
|
24339
|
-
React$
|
|
24374
|
+
React$3.useEffect(function() {
|
|
24340
24375
|
return function() {
|
|
24341
24376
|
cancelNextFrame();
|
|
24342
24377
|
};
|
|
@@ -24390,7 +24425,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24390
24425
|
return {};
|
|
24391
24426
|
}
|
|
24392
24427
|
};
|
|
24393
|
-
var eventHandlers = React$
|
|
24428
|
+
var eventHandlers = React$3.useMemo(function() {
|
|
24394
24429
|
return getEventHandlers(status);
|
|
24395
24430
|
}, [status]);
|
|
24396
24431
|
var _useStepQueue = useStepQueue(status, !supportMotion, function(newStep) {
|
|
@@ -24461,7 +24496,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24461
24496
|
clearTimeout(deadlineRef.current);
|
|
24462
24497
|
};
|
|
24463
24498
|
}, []);
|
|
24464
|
-
var firstMountChangeRef = React$
|
|
24499
|
+
var firstMountChangeRef = React$3.useRef(false);
|
|
24465
24500
|
useEffect(function() {
|
|
24466
24501
|
if (asyncVisible) {
|
|
24467
24502
|
firstMountChangeRef.current = true;
|
|
@@ -24489,9 +24524,9 @@ function genCSSMotion(config2) {
|
|
|
24489
24524
|
function isSupportTransition(props, contextMotion) {
|
|
24490
24525
|
return !!(props.motionName && transitionSupport && contextMotion !== false);
|
|
24491
24526
|
}
|
|
24492
|
-
var CSSMotion2 = /* @__PURE__ */ React$
|
|
24527
|
+
var CSSMotion2 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24493
24528
|
var _props$visible = props.visible, visible = _props$visible === void 0 ? true : _props$visible, _props$removeOnLeave = props.removeOnLeave, removeOnLeave = _props$removeOnLeave === void 0 ? true : _props$removeOnLeave, forceRender = props.forceRender, children = props.children, motionName = props.motionName, leavedClassName = props.leavedClassName, eventProps = props.eventProps;
|
|
24494
|
-
var _React$useContext = React$
|
|
24529
|
+
var _React$useContext = React$3.useContext(Context), contextMotion = _React$useContext.motion;
|
|
24495
24530
|
var supportMotion = isSupportTransition(props, contextMotion);
|
|
24496
24531
|
var nodeRef = useRef();
|
|
24497
24532
|
var wrapperNodeRef = useRef();
|
|
@@ -24503,11 +24538,11 @@ function genCSSMotion(config2) {
|
|
|
24503
24538
|
}
|
|
24504
24539
|
}
|
|
24505
24540
|
var _useStatus = useStatus(supportMotion, visible, getDomElement, props), _useStatus2 = _slicedToArray(_useStatus, 4), status = _useStatus2[0], statusStep = _useStatus2[1], statusStyle = _useStatus2[2], mergedVisible = _useStatus2[3];
|
|
24506
|
-
var renderedRef = React$
|
|
24541
|
+
var renderedRef = React$3.useRef(mergedVisible);
|
|
24507
24542
|
if (mergedVisible) {
|
|
24508
24543
|
renderedRef.current = true;
|
|
24509
24544
|
}
|
|
24510
|
-
var setNodeRef = React$
|
|
24545
|
+
var setNodeRef = React$3.useCallback(function(node) {
|
|
24511
24546
|
nodeRef.current = node;
|
|
24512
24547
|
fillRef$1(ref2, node);
|
|
24513
24548
|
}, [ref2]);
|
|
@@ -24549,15 +24584,15 @@ function genCSSMotion(config2) {
|
|
|
24549
24584
|
style: statusStyle
|
|
24550
24585
|
}), setNodeRef);
|
|
24551
24586
|
}
|
|
24552
|
-
if (/* @__PURE__ */ React$
|
|
24587
|
+
if (/* @__PURE__ */ React$3.isValidElement(motionChildren) && supportRef$1(motionChildren)) {
|
|
24553
24588
|
var _ref = motionChildren, originNodeRef = _ref.ref;
|
|
24554
24589
|
if (!originNodeRef) {
|
|
24555
|
-
motionChildren = /* @__PURE__ */ React$
|
|
24590
|
+
motionChildren = /* @__PURE__ */ React$3.cloneElement(motionChildren, {
|
|
24556
24591
|
ref: setNodeRef
|
|
24557
24592
|
});
|
|
24558
24593
|
}
|
|
24559
24594
|
}
|
|
24560
|
-
return /* @__PURE__ */ React$
|
|
24595
|
+
return /* @__PURE__ */ React$3.createElement(DomWrapper, {
|
|
24561
24596
|
ref: wrapperNodeRef
|
|
24562
24597
|
}, motionChildren);
|
|
24563
24598
|
});
|
|
@@ -24691,17 +24726,17 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24691
24726
|
var _this2 = this;
|
|
24692
24727
|
var keyEntities = this.state.keyEntities;
|
|
24693
24728
|
var _this$props = this.props, component = _this$props.component, children = _this$props.children, _onVisibleChanged = _this$props.onVisibleChanged, onAllRemoved = _this$props.onAllRemoved, restProps = _objectWithoutProperties(_this$props, _excluded$1);
|
|
24694
|
-
var Component = component || React$
|
|
24729
|
+
var Component = component || React$3.Fragment;
|
|
24695
24730
|
var motionProps = {};
|
|
24696
24731
|
MOTION_PROP_NAMES.forEach(function(prop) {
|
|
24697
24732
|
motionProps[prop] = restProps[prop];
|
|
24698
24733
|
delete restProps[prop];
|
|
24699
24734
|
});
|
|
24700
24735
|
delete restProps.keys;
|
|
24701
|
-
return /* @__PURE__ */ React$
|
|
24736
|
+
return /* @__PURE__ */ React$3.createElement(Component, restProps, keyEntities.map(function(_ref2, index2) {
|
|
24702
24737
|
var status = _ref2.status, eventProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
24703
24738
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
|
24704
|
-
return /* @__PURE__ */ React$
|
|
24739
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion$1, _extends$1({}, motionProps, {
|
|
24705
24740
|
key: eventProps.key,
|
|
24706
24741
|
visible,
|
|
24707
24742
|
eventProps,
|
|
@@ -24745,7 +24780,7 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24745
24780
|
}
|
|
24746
24781
|
}]);
|
|
24747
24782
|
return CSSMotionList2;
|
|
24748
|
-
}(React$
|
|
24783
|
+
}(React$3.Component);
|
|
24749
24784
|
_defineProperty(CSSMotionList, "defaultProps", {
|
|
24750
24785
|
component: "div"
|
|
24751
24786
|
});
|
|
@@ -24764,17 +24799,17 @@ var toPX = function toPX2(value) {
|
|
|
24764
24799
|
};
|
|
24765
24800
|
function MotionThumb(props) {
|
|
24766
24801
|
var prefixCls = props.prefixCls, containerRef = props.containerRef, value = props.value, getValueIndex = props.getValueIndex, motionName = props.motionName, onMotionStart = props.onMotionStart, onMotionEnd = props.onMotionEnd, direction = props.direction;
|
|
24767
|
-
var thumbRef = React$
|
|
24768
|
-
var _React$useState = React$
|
|
24802
|
+
var thumbRef = React$3.useRef(null);
|
|
24803
|
+
var _React$useState = React$3.useState(value), _React$useState2 = _slicedToArray(_React$useState, 2), prevValue = _React$useState2[0], setPrevValue = _React$useState2[1];
|
|
24769
24804
|
var findValueElement = function findValueElement2(val) {
|
|
24770
24805
|
var _containerRef$current;
|
|
24771
24806
|
var index2 = getValueIndex(val);
|
|
24772
24807
|
var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelectorAll(".".concat(prefixCls, "-item"))[index2];
|
|
24773
24808
|
return (ele === null || ele === void 0 ? void 0 : ele.offsetParent) && ele;
|
|
24774
24809
|
};
|
|
24775
|
-
var _React$useState3 = React$
|
|
24776
|
-
var _React$useState5 = React$
|
|
24777
|
-
useLayoutEffect(function() {
|
|
24810
|
+
var _React$useState3 = React$3.useState(null), _React$useState4 = _slicedToArray(_React$useState3, 2), prevStyle = _React$useState4[0], setPrevStyle = _React$useState4[1];
|
|
24811
|
+
var _React$useState5 = React$3.useState(null), _React$useState6 = _slicedToArray(_React$useState5, 2), nextStyle = _React$useState6[0], setNextStyle = _React$useState6[1];
|
|
24812
|
+
useLayoutEffect$2(function() {
|
|
24778
24813
|
if (prevValue !== value) {
|
|
24779
24814
|
var prev = findValueElement(prevValue);
|
|
24780
24815
|
var next = findValueElement(value);
|
|
@@ -24790,10 +24825,10 @@ function MotionThumb(props) {
|
|
|
24790
24825
|
}
|
|
24791
24826
|
}
|
|
24792
24827
|
}, [value]);
|
|
24793
|
-
var thumbStart = React$
|
|
24828
|
+
var thumbStart = React$3.useMemo(function() {
|
|
24794
24829
|
return direction === "rtl" ? toPX(-(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.right)) : toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.left);
|
|
24795
24830
|
}, [direction, prevStyle]);
|
|
24796
|
-
var thumbActive = React$
|
|
24831
|
+
var thumbActive = React$3.useMemo(function() {
|
|
24797
24832
|
return direction === "rtl" ? toPX(-(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.right)) : toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.left);
|
|
24798
24833
|
}, [direction, nextStyle]);
|
|
24799
24834
|
var onAppearStart = function onAppearStart2() {
|
|
@@ -24816,7 +24851,7 @@ function MotionThumb(props) {
|
|
|
24816
24851
|
if (!prevStyle || !nextStyle) {
|
|
24817
24852
|
return null;
|
|
24818
24853
|
}
|
|
24819
|
-
return /* @__PURE__ */ React$
|
|
24854
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion, {
|
|
24820
24855
|
visible: true,
|
|
24821
24856
|
motionName,
|
|
24822
24857
|
motionAppear: true,
|
|
@@ -24836,7 +24871,7 @@ function MotionThumb(props) {
|
|
|
24836
24871
|
style: mergedStyle,
|
|
24837
24872
|
className: classNames("".concat(prefixCls, "-thumb"), motionClassName)
|
|
24838
24873
|
};
|
|
24839
|
-
return /* @__PURE__ */ React$
|
|
24874
|
+
return /* @__PURE__ */ React$3.createElement("div", motionProps);
|
|
24840
24875
|
});
|
|
24841
24876
|
}
|
|
24842
24877
|
var _excluded = ["prefixCls", "direction", "options", "disabled", "defaultValue", "value", "onChange", "className", "motionName"];
|
|
@@ -24872,36 +24907,36 @@ var InternalSegmentedOption = function InternalSegmentedOption2(_ref) {
|
|
|
24872
24907
|
}
|
|
24873
24908
|
onChange(event, value);
|
|
24874
24909
|
};
|
|
24875
|
-
return /* @__PURE__ */ React$
|
|
24910
|
+
return /* @__PURE__ */ React$3.createElement("label", {
|
|
24876
24911
|
className: classNames(className, _defineProperty({}, "".concat(prefixCls, "-item-disabled"), disabled))
|
|
24877
|
-
}, /* @__PURE__ */ React$
|
|
24912
|
+
}, /* @__PURE__ */ React$3.createElement("input", {
|
|
24878
24913
|
className: "".concat(prefixCls, "-item-input"),
|
|
24879
24914
|
type: "radio",
|
|
24880
24915
|
disabled,
|
|
24881
24916
|
checked,
|
|
24882
24917
|
onChange: handleChange
|
|
24883
|
-
}), /* @__PURE__ */ React$
|
|
24918
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24884
24919
|
className: "".concat(prefixCls, "-item-label"),
|
|
24885
24920
|
title,
|
|
24886
24921
|
role: "option",
|
|
24887
24922
|
"aria-selected": checked
|
|
24888
24923
|
}, label));
|
|
24889
24924
|
};
|
|
24890
|
-
var Segmented$1 = /* @__PURE__ */ React$
|
|
24925
|
+
var Segmented$1 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24891
24926
|
var _segmentedOptions$, _classNames2;
|
|
24892
24927
|
var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-segmented" : _props$prefixCls, direction = props.direction, _props$options = props.options, options = _props$options === void 0 ? [] : _props$options, disabled = props.disabled, defaultValue = props.defaultValue, value = props.value, onChange = props.onChange, _props$className = props.className, className = _props$className === void 0 ? "" : _props$className, _props$motionName = props.motionName, motionName = _props$motionName === void 0 ? "thumb-motion" : _props$motionName, restProps = _objectWithoutProperties(props, _excluded);
|
|
24893
|
-
var containerRef = React$
|
|
24894
|
-
var mergedRef = React$
|
|
24928
|
+
var containerRef = React$3.useRef(null);
|
|
24929
|
+
var mergedRef = React$3.useMemo(function() {
|
|
24895
24930
|
return composeRef$1(containerRef, ref2);
|
|
24896
24931
|
}, [containerRef, ref2]);
|
|
24897
|
-
var segmentedOptions = React$
|
|
24932
|
+
var segmentedOptions = React$3.useMemo(function() {
|
|
24898
24933
|
return normalizeOptions(options);
|
|
24899
24934
|
}, [options]);
|
|
24900
24935
|
var _useMergedState = useMergedState((_segmentedOptions$ = segmentedOptions[0]) === null || _segmentedOptions$ === void 0 ? void 0 : _segmentedOptions$.value, {
|
|
24901
24936
|
value,
|
|
24902
24937
|
defaultValue
|
|
24903
24938
|
}), _useMergedState2 = _slicedToArray(_useMergedState, 2), rawValue = _useMergedState2[0], setRawValue = _useMergedState2[1];
|
|
24904
|
-
var _React$useState = React$
|
|
24939
|
+
var _React$useState = React$3.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), thumbShow = _React$useState2[0], setThumbShow = _React$useState2[1];
|
|
24905
24940
|
var handleChange = function handleChange2(event, val) {
|
|
24906
24941
|
if (disabled) {
|
|
24907
24942
|
return;
|
|
@@ -24910,15 +24945,15 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24910
24945
|
onChange === null || onChange === void 0 ? void 0 : onChange(val);
|
|
24911
24946
|
};
|
|
24912
24947
|
var divProps = omit(restProps, ["children"]);
|
|
24913
|
-
return /* @__PURE__ */ React$
|
|
24948
|
+
return /* @__PURE__ */ React$3.createElement("div", _extends$1({
|
|
24914
24949
|
role: "listbox",
|
|
24915
24950
|
"aria-label": "segmented control"
|
|
24916
24951
|
}, divProps, {
|
|
24917
24952
|
className: classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === "rtl"), _defineProperty(_classNames2, "".concat(prefixCls, "-disabled"), disabled), _classNames2), className),
|
|
24918
24953
|
ref: mergedRef
|
|
24919
|
-
}), /* @__PURE__ */ React$
|
|
24954
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24920
24955
|
className: "".concat(prefixCls, "-group")
|
|
24921
|
-
}, /* @__PURE__ */ React$
|
|
24956
|
+
}, /* @__PURE__ */ React$3.createElement(MotionThumb, {
|
|
24922
24957
|
prefixCls,
|
|
24923
24958
|
value: rawValue,
|
|
24924
24959
|
containerRef,
|
|
@@ -24936,7 +24971,7 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24936
24971
|
setThumbShow(false);
|
|
24937
24972
|
}
|
|
24938
24973
|
}), segmentedOptions.map(function(segmentedOption) {
|
|
24939
|
-
return /* @__PURE__ */ React$
|
|
24974
|
+
return /* @__PURE__ */ React$3.createElement(InternalSegmentedOption, _extends$1({}, segmentedOption, {
|
|
24940
24975
|
key: segmentedOption.value,
|
|
24941
24976
|
prefixCls,
|
|
24942
24977
|
className: classNames(segmentedOption.className, "".concat(prefixCls, "-item"), _defineProperty({}, "".concat(prefixCls, "-item-selected"), segmentedOption.value === rawValue && !thumbShow)),
|
|
@@ -24954,7 +24989,7 @@ function isSegmentedLabeledOptionWithIcon(option) {
|
|
|
24954
24989
|
return typeof option === "object" && !!(option === null || option === void 0 ? void 0 : option.icon);
|
|
24955
24990
|
}
|
|
24956
24991
|
const classPrefix$l = `adm-segmented`;
|
|
24957
|
-
const Segmented = React$
|
|
24992
|
+
const Segmented = React$3.forwardRef((props, ref2) => {
|
|
24958
24993
|
const {
|
|
24959
24994
|
prefixCls: customizePrefixCls,
|
|
24960
24995
|
className,
|
|
@@ -24964,21 +24999,21 @@ const Segmented = React$2.forwardRef((props, ref2) => {
|
|
|
24964
24999
|
props,
|
|
24965
25000
|
["prefixCls", "className", "block", "options"]
|
|
24966
25001
|
);
|
|
24967
|
-
const extendedOptions = React$
|
|
25002
|
+
const extendedOptions = React$3.useMemo(() => options.map((option) => {
|
|
24968
25003
|
if (isSegmentedLabeledOptionWithIcon(option)) {
|
|
24969
25004
|
const {
|
|
24970
25005
|
icon,
|
|
24971
25006
|
label
|
|
24972
25007
|
} = option, restOption = __rest(option, ["icon", "label"]);
|
|
24973
25008
|
return Object.assign(Object.assign({}, restOption), {
|
|
24974
|
-
label: React$
|
|
25009
|
+
label: React$3.createElement(React$3.Fragment, null, React$3.createElement("span", {
|
|
24975
25010
|
className: `${classPrefix$l}-item-icon`
|
|
24976
|
-
}, icon), label && React$
|
|
25011
|
+
}, icon), label && React$3.createElement("span", null, label))
|
|
24977
25012
|
});
|
|
24978
25013
|
}
|
|
24979
25014
|
return option;
|
|
24980
25015
|
}), [options, classPrefix$l]);
|
|
24981
|
-
return withNativeProps(props, React$
|
|
25016
|
+
return withNativeProps(props, React$3.createElement(TypedSegmented, Object.assign({}, restProps, {
|
|
24982
25017
|
className: classNames(className, {
|
|
24983
25018
|
[`${classPrefix$l}-block`]: block
|
|
24984
25019
|
}),
|
|
@@ -26929,9 +26964,7 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
26929
26964
|
const hiddenTextAreaRef = useRef(null);
|
|
26930
26965
|
const handleKeydown = useInputHandleKeyDown({
|
|
26931
26966
|
onEnterPress: props.onEnterPress,
|
|
26932
|
-
onKeyDown: props.onKeyDown
|
|
26933
|
-
nativeInputRef: nativeTextAreaRef,
|
|
26934
|
-
enterKeyHint: props.enterKeyHint
|
|
26967
|
+
onKeyDown: props.onKeyDown
|
|
26935
26968
|
});
|
|
26936
26969
|
useImperativeHandle(ref2, () => ({
|
|
26937
26970
|
clear: () => {
|
|
@@ -27030,7 +27063,8 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
27030
27063
|
onFocus: props.onFocus,
|
|
27031
27064
|
onBlur: props.onBlur,
|
|
27032
27065
|
onClick: props.onClick,
|
|
27033
|
-
onKeyDown: handleKeydown
|
|
27066
|
+
onKeyDown: handleKeydown,
|
|
27067
|
+
enterKeyHint: props.enterKeyHint
|
|
27034
27068
|
}), count, autoSize && React__default.createElement("textarea", {
|
|
27035
27069
|
ref: hiddenTextAreaRef,
|
|
27036
27070
|
className: `${classPrefix$6}-element ${classPrefix$6}-element-hidden`,
|