antd-mobile 5.41.0-alpha.0 → 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 +1407 -1367
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +360 -320
- package/2x/bundle/antd-mobile.es.js +5316 -5283
- package/2x/bundle/antd-mobile.umd.development.js +1407 -1367
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/cjs/components/calendar/calendar.d.ts +4 -1
- package/2x/cjs/components/calendar/calendar.js +18 -11
- 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/calendar/calendar.d.ts +4 -1
- package/2x/es/components/calendar/calendar.js +19 -12
- 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 +1407 -1367
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +360 -320
- package/bundle/antd-mobile.es.js +5316 -5283
- package/bundle/antd-mobile.umd.development.js +1407 -1367
- package/bundle/antd-mobile.umd.js +7 -7
- package/cjs/components/calendar/calendar.d.ts +4 -1
- package/cjs/components/calendar/calendar.js +18 -11
- 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/calendar/calendar.d.ts +4 -1
- package/es/components/calendar/calendar.js +19 -12
- 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$_ = {
|
|
@@ -9667,6 +9667,73 @@ const Button = forwardRef((p, ref2) => {
|
|
|
9667
9667
|
className: `${classPrefix$1h}-loading-wrapper`
|
|
9668
9668
|
}, props.loadingIcon, props.loadingText) : React__default.createElement("span", null, props.children)));
|
|
9669
9669
|
});
|
|
9670
|
+
var isoWeek$1 = { exports: {} };
|
|
9671
|
+
(function(module, exports) {
|
|
9672
|
+
!function(e2, t) {
|
|
9673
|
+
module.exports = t();
|
|
9674
|
+
}(commonjsGlobal, function() {
|
|
9675
|
+
var e2 = "day";
|
|
9676
|
+
return function(t, i2, s) {
|
|
9677
|
+
var a = function(t2) {
|
|
9678
|
+
return t2.add(4 - t2.isoWeekday(), e2);
|
|
9679
|
+
}, d = i2.prototype;
|
|
9680
|
+
d.isoWeekYear = function() {
|
|
9681
|
+
return a(this).year();
|
|
9682
|
+
}, d.isoWeek = function(t2) {
|
|
9683
|
+
if (!this.$utils().u(t2))
|
|
9684
|
+
return this.add(7 * (t2 - this.isoWeek()), e2);
|
|
9685
|
+
var i3, d2, n3, o, r = a(this), u = (i3 = this.isoWeekYear(), d2 = this.$u, n3 = (d2 ? s.utc : s)().year(i3).startOf("year"), o = 4 - n3.isoWeekday(), n3.isoWeekday() > 4 && (o += 7), n3.add(o, e2));
|
|
9686
|
+
return r.diff(u, "week") + 1;
|
|
9687
|
+
}, d.isoWeekday = function(e3) {
|
|
9688
|
+
return this.$utils().u(e3) ? this.day() || 7 : this.day(this.day() % 7 ? e3 : e3 - 7);
|
|
9689
|
+
};
|
|
9690
|
+
var n2 = d.startOf;
|
|
9691
|
+
d.startOf = function(e3, t2) {
|
|
9692
|
+
var i3 = this.$utils(), s2 = !!i3.u(t2) || t2;
|
|
9693
|
+
return "isoweek" === i3.p(e3) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n2.bind(this)(e3, t2);
|
|
9694
|
+
};
|
|
9695
|
+
};
|
|
9696
|
+
});
|
|
9697
|
+
})(isoWeek$1);
|
|
9698
|
+
var isoWeekExports = isoWeek$1.exports;
|
|
9699
|
+
const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
|
|
9700
|
+
function devWarning(component, message) {
|
|
9701
|
+
{
|
|
9702
|
+
console.warn(`[antd-mobile: ${component}] ${message}`);
|
|
9703
|
+
}
|
|
9704
|
+
}
|
|
9705
|
+
function devError(component, message) {
|
|
9706
|
+
{
|
|
9707
|
+
console.error(`[antd-mobile: ${component}] ${message}`);
|
|
9708
|
+
}
|
|
9709
|
+
}
|
|
9710
|
+
function replaceMessage$1(template, kv) {
|
|
9711
|
+
return template.replace(/\$\{\w+\}/g, (str) => {
|
|
9712
|
+
const key = str.slice(2, -1);
|
|
9713
|
+
return kv[key];
|
|
9714
|
+
});
|
|
9715
|
+
}
|
|
9716
|
+
function usePropsValue(options) {
|
|
9717
|
+
const {
|
|
9718
|
+
value,
|
|
9719
|
+
defaultValue,
|
|
9720
|
+
onChange
|
|
9721
|
+
} = options;
|
|
9722
|
+
const update2 = useUpdate$1();
|
|
9723
|
+
const stateRef = useRef(value !== void 0 ? value : defaultValue);
|
|
9724
|
+
if (value !== void 0) {
|
|
9725
|
+
stateRef.current = value;
|
|
9726
|
+
}
|
|
9727
|
+
const setState = useMemoizedFn((v, forceTrigger = false) => {
|
|
9728
|
+
const nextValue = typeof v === "function" ? v(stateRef.current) : v;
|
|
9729
|
+
if (!forceTrigger && nextValue === stateRef.current)
|
|
9730
|
+
return;
|
|
9731
|
+
stateRef.current = nextValue;
|
|
9732
|
+
update2();
|
|
9733
|
+
return onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
|
|
9734
|
+
});
|
|
9735
|
+
return [stateRef.current, setState];
|
|
9736
|
+
}
|
|
9670
9737
|
const ArrowLeft = () => {
|
|
9671
9738
|
return React__default.createElement("svg", {
|
|
9672
9739
|
height: "1em",
|
|
@@ -9721,73 +9788,6 @@ const ArrowLeftDouble = () => {
|
|
|
9721
9788
|
d: "M19.5305114,17.0699744 C19.0173831,17.5315665 18.9752295,18.3220903 19.436308,18.8357433 C19.4660129,18.8688164 19.4974585,18.9002801 19.5305113,18.9300007 L29.4833057,27.2801611 C30.1234001,27.8559077 30.1759552,28.8420707 29.6007967,29.4827774 C29.0256382,30.1235263 28.0404824,30.1761351 27.400388,29.6003885 L17.4475937,21.2502703 C17.3320874,21.1463692 17.2222026,21.036372 17.1184079,20.920748 C15.5069703,19.1256817 15.6543605,16.3628317 17.4475933,14.7497465 L27.4003877,6.39962828 C28.0404821,5.82383957 29.0256378,5.87649058 29.6007963,6.51723942 C30.1759548,7.1579461 30.1233997,8.14410915 29.4833053,8.7198557 L19.5305114,17.0699744 Z"
|
|
9722
9789
|
}))))));
|
|
9723
9790
|
};
|
|
9724
|
-
var isoWeek$1 = { exports: {} };
|
|
9725
|
-
(function(module, exports) {
|
|
9726
|
-
!function(e2, t) {
|
|
9727
|
-
module.exports = t();
|
|
9728
|
-
}(commonjsGlobal, function() {
|
|
9729
|
-
var e2 = "day";
|
|
9730
|
-
return function(t, i2, s) {
|
|
9731
|
-
var a = function(t2) {
|
|
9732
|
-
return t2.add(4 - t2.isoWeekday(), e2);
|
|
9733
|
-
}, d = i2.prototype;
|
|
9734
|
-
d.isoWeekYear = function() {
|
|
9735
|
-
return a(this).year();
|
|
9736
|
-
}, d.isoWeek = function(t2) {
|
|
9737
|
-
if (!this.$utils().u(t2))
|
|
9738
|
-
return this.add(7 * (t2 - this.isoWeek()), e2);
|
|
9739
|
-
var i3, d2, n3, o, r = a(this), u = (i3 = this.isoWeekYear(), d2 = this.$u, n3 = (d2 ? s.utc : s)().year(i3).startOf("year"), o = 4 - n3.isoWeekday(), n3.isoWeekday() > 4 && (o += 7), n3.add(o, e2));
|
|
9740
|
-
return r.diff(u, "week") + 1;
|
|
9741
|
-
}, d.isoWeekday = function(e3) {
|
|
9742
|
-
return this.$utils().u(e3) ? this.day() || 7 : this.day(this.day() % 7 ? e3 : e3 - 7);
|
|
9743
|
-
};
|
|
9744
|
-
var n2 = d.startOf;
|
|
9745
|
-
d.startOf = function(e3, t2) {
|
|
9746
|
-
var i3 = this.$utils(), s2 = !!i3.u(t2) || t2;
|
|
9747
|
-
return "isoweek" === i3.p(e3) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n2.bind(this)(e3, t2);
|
|
9748
|
-
};
|
|
9749
|
-
};
|
|
9750
|
-
});
|
|
9751
|
-
})(isoWeek$1);
|
|
9752
|
-
var isoWeekExports = isoWeek$1.exports;
|
|
9753
|
-
const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
|
|
9754
|
-
function usePropsValue(options) {
|
|
9755
|
-
const {
|
|
9756
|
-
value,
|
|
9757
|
-
defaultValue,
|
|
9758
|
-
onChange
|
|
9759
|
-
} = options;
|
|
9760
|
-
const update2 = useUpdate$1();
|
|
9761
|
-
const stateRef = useRef(value !== void 0 ? value : defaultValue);
|
|
9762
|
-
if (value !== void 0) {
|
|
9763
|
-
stateRef.current = value;
|
|
9764
|
-
}
|
|
9765
|
-
const setState = useMemoizedFn((v, forceTrigger = false) => {
|
|
9766
|
-
const nextValue = typeof v === "function" ? v(stateRef.current) : v;
|
|
9767
|
-
if (!forceTrigger && nextValue === stateRef.current)
|
|
9768
|
-
return;
|
|
9769
|
-
stateRef.current = nextValue;
|
|
9770
|
-
update2();
|
|
9771
|
-
return onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
|
|
9772
|
-
});
|
|
9773
|
-
return [stateRef.current, setState];
|
|
9774
|
-
}
|
|
9775
|
-
function replaceMessage$1(template, kv) {
|
|
9776
|
-
return template.replace(/\$\{\w+\}/g, (str) => {
|
|
9777
|
-
const key = str.slice(2, -1);
|
|
9778
|
-
return kv[key];
|
|
9779
|
-
});
|
|
9780
|
-
}
|
|
9781
|
-
function devWarning(component, message) {
|
|
9782
|
-
{
|
|
9783
|
-
console.warn(`[antd-mobile: ${component}] ${message}`);
|
|
9784
|
-
}
|
|
9785
|
-
}
|
|
9786
|
-
function devError(component, message) {
|
|
9787
|
-
{
|
|
9788
|
-
console.error(`[antd-mobile: ${component}] ${message}`);
|
|
9789
|
-
}
|
|
9790
|
-
}
|
|
9791
9791
|
function convertValueToRange$1(selectionMode, value) {
|
|
9792
9792
|
if (selectionMode === void 0 || value === null)
|
|
9793
9793
|
return null;
|
|
@@ -9929,7 +9929,7 @@ const Calendar = forwardRef((p, ref2) => {
|
|
|
9929
9929
|
}
|
|
9930
9930
|
const inThisMonth = d.month() === current.month();
|
|
9931
9931
|
const disabled = props.shouldDisableDate ? props.shouldDisableDate(d.toDate()) : maxDay && d.isAfter(maxDay, "day") || minDay && d.isBefore(minDay, "day");
|
|
9932
|
-
|
|
9932
|
+
const originalCell = React__default.createElement("div", {
|
|
9933
9933
|
key: d.valueOf(),
|
|
9934
9934
|
className: classNames(`${classPrefix$1g}-cell`, (disabled || !inThisMonth) && `${classPrefix$1g}-cell-disabled`, inThisMonth && {
|
|
9935
9935
|
[`${classPrefix$1g}-cell-today`]: d.isSame(today, "day"),
|
|
@@ -9987,7 +9987,13 @@ const Calendar = forwardRef((p, ref2) => {
|
|
|
9987
9987
|
className: `${classPrefix$1g}-cell-top`
|
|
9988
9988
|
}, props.renderDate ? props.renderDate(d.toDate()) : d.date()), React__default.createElement("div", {
|
|
9989
9989
|
className: `${classPrefix$1g}-cell-bottom`
|
|
9990
|
-
}, (_a = props.renderLabel) === null || _a === void 0 ? void 0 : _a.call(props, d.toDate())))
|
|
9990
|
+
}, (_a = props.renderLabel) === null || _a === void 0 ? void 0 : _a.call(props, d.toDate())));
|
|
9991
|
+
const cellWithKey = props.cellRender ? React__default.createElement(React__default.Fragment, {
|
|
9992
|
+
key: d.valueOf()
|
|
9993
|
+
}, props.cellRender(originalCell, {
|
|
9994
|
+
date: d.toDate()
|
|
9995
|
+
})) : originalCell;
|
|
9996
|
+
cells.push(cellWithKey);
|
|
9991
9997
|
iterator = iterator.add(1, "day");
|
|
9992
9998
|
}
|
|
9993
9999
|
return cells;
|
|
@@ -10036,9 +10042,9 @@ function convertPageToDayjs(page) {
|
|
|
10036
10042
|
return dayjs().year(page.year).month(page.month - 1).date(1);
|
|
10037
10043
|
}
|
|
10038
10044
|
function useEvent(callback) {
|
|
10039
|
-
var fnRef = React$
|
|
10045
|
+
var fnRef = React$3.useRef();
|
|
10040
10046
|
fnRef.current = callback;
|
|
10041
|
-
var memoFn = React$
|
|
10047
|
+
var memoFn = React$3.useCallback(function() {
|
|
10042
10048
|
var _fnRef$current;
|
|
10043
10049
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
10044
10050
|
args[_key] = arguments[_key];
|
|
@@ -10103,16 +10109,16 @@ function _nonIterableRest() {
|
|
|
10103
10109
|
function _slicedToArray(arr, i2) {
|
|
10104
10110
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
10105
10111
|
}
|
|
10106
|
-
function canUseDom() {
|
|
10112
|
+
function canUseDom$2() {
|
|
10107
10113
|
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
10108
10114
|
}
|
|
10109
|
-
var useInternalLayoutEffect = canUseDom() ? React$
|
|
10110
|
-
var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
10111
|
-
var firstMountRef = React$
|
|
10112
|
-
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() {
|
|
10113
10119
|
return callback(firstMountRef.current);
|
|
10114
10120
|
}, deps);
|
|
10115
|
-
useInternalLayoutEffect(function() {
|
|
10121
|
+
useInternalLayoutEffect$1(function() {
|
|
10116
10122
|
firstMountRef.current = false;
|
|
10117
10123
|
return function() {
|
|
10118
10124
|
firstMountRef.current = true;
|
|
@@ -10120,16 +10126,16 @@ var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
|
10120
10126
|
}, []);
|
|
10121
10127
|
};
|
|
10122
10128
|
var useLayoutUpdateEffect = function useLayoutUpdateEffect2(callback, deps) {
|
|
10123
|
-
useLayoutEffect(function(firstMount) {
|
|
10129
|
+
useLayoutEffect$2(function(firstMount) {
|
|
10124
10130
|
if (!firstMount) {
|
|
10125
10131
|
return callback();
|
|
10126
10132
|
}
|
|
10127
10133
|
}, deps);
|
|
10128
10134
|
};
|
|
10129
10135
|
function useSafeState(defaultValue) {
|
|
10130
|
-
var destroyRef = React$
|
|
10131
|
-
var _React$useState = React$
|
|
10132
|
-
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() {
|
|
10133
10139
|
destroyRef.current = false;
|
|
10134
10140
|
return function() {
|
|
10135
10141
|
destroyRef.current = true;
|
|
@@ -14402,6 +14408,45 @@ const Dropdown$1 = Dropdown;
|
|
|
14402
14408
|
const index$b = attachPropertiesToComponent(Dropdown$1, {
|
|
14403
14409
|
Item: Item$1
|
|
14404
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;
|
|
14405
14450
|
var i;
|
|
14406
14451
|
!function(i2) {
|
|
14407
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";
|
|
@@ -14490,10 +14535,10 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14490
14535
|
setWalkingIndexes([0, direction === "middle" ? Math.ceil(contentChars.length / 2) : contentChars.length]);
|
|
14491
14536
|
});
|
|
14492
14537
|
});
|
|
14493
|
-
|
|
14538
|
+
default_1$1(() => {
|
|
14494
14539
|
startMeasure();
|
|
14495
14540
|
}, [contentChars, rows]);
|
|
14496
|
-
|
|
14541
|
+
default_1$1(() => {
|
|
14497
14542
|
var _a, _b;
|
|
14498
14543
|
if (status === 1) {
|
|
14499
14544
|
const fullMeasureHeight = ((_a = fullMeasureRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
@@ -14513,7 +14558,7 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14513
14558
|
}
|
|
14514
14559
|
}
|
|
14515
14560
|
}, [status]);
|
|
14516
|
-
|
|
14561
|
+
default_1$1(() => {
|
|
14517
14562
|
var _a;
|
|
14518
14563
|
if (status === 2) {
|
|
14519
14564
|
const diff = walkingIndexes[1] - walkingIndexes[0];
|
|
@@ -15661,7 +15706,7 @@ var HOOK_MARK$1 = "RC_FORM_INTERNAL_HOOKS";
|
|
|
15661
15706
|
var warningFunc$1 = function warningFunc() {
|
|
15662
15707
|
warningOnce(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
15663
15708
|
};
|
|
15664
|
-
var Context$2 = /* @__PURE__ */ React$
|
|
15709
|
+
var Context$2 = /* @__PURE__ */ React$3.createContext({
|
|
15665
15710
|
getFieldValue: warningFunc$1,
|
|
15666
15711
|
getFieldsValue: warningFunc$1,
|
|
15667
15712
|
getFieldError: warningFunc$1,
|
|
@@ -15695,7 +15740,7 @@ var Context$2 = /* @__PURE__ */ React$2.createContext({
|
|
|
15695
15740
|
};
|
|
15696
15741
|
}
|
|
15697
15742
|
});
|
|
15698
|
-
var ListContext = /* @__PURE__ */ React$
|
|
15743
|
+
var ListContext = /* @__PURE__ */ React$3.createContext(null);
|
|
15699
15744
|
function toArray$1(value) {
|
|
15700
15745
|
if (value === void 0 || value === null) {
|
|
15701
15746
|
return [];
|
|
@@ -17202,9 +17247,9 @@ function _validateRule() {
|
|
|
17202
17247
|
result = _context2.t0.errors.map(function(_ref4, index2) {
|
|
17203
17248
|
var message = _ref4.message;
|
|
17204
17249
|
var mergedMessage = message === CODE_LOGIC_ERROR ? messages2.default : message;
|
|
17205
|
-
return /* @__PURE__ */ React$
|
|
17250
|
+
return /* @__PURE__ */ React$3.isValidElement(mergedMessage) ? (
|
|
17206
17251
|
// Wrap ReactNode with `key`
|
|
17207
|
-
React$
|
|
17252
|
+
React$3.cloneElement(mergedMessage, {
|
|
17208
17253
|
key: "error_".concat(index2)
|
|
17209
17254
|
})
|
|
17210
17255
|
) : mergedMessage;
|
|
@@ -17742,7 +17787,7 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17742
17787
|
});
|
|
17743
17788
|
}
|
|
17744
17789
|
var childList = toArray$2(children);
|
|
17745
|
-
if (childList.length !== 1 || !/* @__PURE__ */ React$
|
|
17790
|
+
if (childList.length !== 1 || !/* @__PURE__ */ React$3.isValidElement(childList[0])) {
|
|
17746
17791
|
return {
|
|
17747
17792
|
child: childList,
|
|
17748
17793
|
isFunction: false
|
|
@@ -17859,19 +17904,19 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17859
17904
|
var returnChildNode;
|
|
17860
17905
|
if (isFunction2) {
|
|
17861
17906
|
returnChildNode = child;
|
|
17862
|
-
} else if (/* @__PURE__ */ React$
|
|
17863
|
-
returnChildNode = /* @__PURE__ */ React$
|
|
17907
|
+
} else if (/* @__PURE__ */ React$3.isValidElement(child)) {
|
|
17908
|
+
returnChildNode = /* @__PURE__ */ React$3.cloneElement(child, this.getControlled(child.props));
|
|
17864
17909
|
} else {
|
|
17865
17910
|
warningOnce(!child, "`children` of Field is not validate ReactElement.");
|
|
17866
17911
|
returnChildNode = child;
|
|
17867
17912
|
}
|
|
17868
|
-
return /* @__PURE__ */ React$
|
|
17913
|
+
return /* @__PURE__ */ React$3.createElement(React$3.Fragment, {
|
|
17869
17914
|
key: resetCount
|
|
17870
17915
|
}, returnChildNode);
|
|
17871
17916
|
}
|
|
17872
17917
|
}]);
|
|
17873
17918
|
return Field2;
|
|
17874
|
-
}(React$
|
|
17919
|
+
}(React$3.Component);
|
|
17875
17920
|
Field.contextType = Context$2;
|
|
17876
17921
|
Field.defaultProps = {
|
|
17877
17922
|
trigger: "onChange",
|
|
@@ -17879,8 +17924,8 @@ Field.defaultProps = {
|
|
|
17879
17924
|
};
|
|
17880
17925
|
function WrapperField(_ref5) {
|
|
17881
17926
|
var name = _ref5.name, restProps = _objectWithoutProperties(_ref5, _excluded$4);
|
|
17882
|
-
var fieldContext = React$
|
|
17883
|
-
var listContext = React$
|
|
17927
|
+
var fieldContext = React$3.useContext(Context$2);
|
|
17928
|
+
var listContext = React$3.useContext(ListContext);
|
|
17884
17929
|
var namePath = name !== void 0 ? getNamePath(name) : void 0;
|
|
17885
17930
|
var key = "keep";
|
|
17886
17931
|
if (!restProps.isListField) {
|
|
@@ -17889,7 +17934,7 @@ function WrapperField(_ref5) {
|
|
|
17889
17934
|
if (restProps.preserve === false && restProps.isListField && namePath.length <= 1) {
|
|
17890
17935
|
warningOnce(false, "`preserve` should not apply on Form.List fields.");
|
|
17891
17936
|
}
|
|
17892
|
-
return /* @__PURE__ */ React$
|
|
17937
|
+
return /* @__PURE__ */ React$3.createElement(Field, _extends$1({
|
|
17893
17938
|
key,
|
|
17894
17939
|
name: namePath,
|
|
17895
17940
|
isListField: !!listContext
|
|
@@ -17899,23 +17944,23 @@ function WrapperField(_ref5) {
|
|
|
17899
17944
|
}
|
|
17900
17945
|
var List = function List2(_ref) {
|
|
17901
17946
|
var name = _ref.name, initialValue = _ref.initialValue, children = _ref.children, rules2 = _ref.rules, validateTrigger = _ref.validateTrigger, isListField = _ref.isListField;
|
|
17902
|
-
var context = React$
|
|
17903
|
-
var wrapperListContext = React$
|
|
17904
|
-
var keyRef = React$
|
|
17947
|
+
var context = React$3.useContext(Context$2);
|
|
17948
|
+
var wrapperListContext = React$3.useContext(ListContext);
|
|
17949
|
+
var keyRef = React$3.useRef({
|
|
17905
17950
|
keys: [],
|
|
17906
17951
|
id: 0
|
|
17907
17952
|
});
|
|
17908
17953
|
var keyManager = keyRef.current;
|
|
17909
|
-
var prefixName = React$
|
|
17954
|
+
var prefixName = React$3.useMemo(function() {
|
|
17910
17955
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
17911
17956
|
return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
|
|
17912
17957
|
}, [context.prefixName, name]);
|
|
17913
|
-
var fieldContext = React$
|
|
17958
|
+
var fieldContext = React$3.useMemo(function() {
|
|
17914
17959
|
return _objectSpread2(_objectSpread2({}, context), {}, {
|
|
17915
17960
|
prefixName
|
|
17916
17961
|
});
|
|
17917
17962
|
}, [context, prefixName]);
|
|
17918
|
-
var listContext = React$
|
|
17963
|
+
var listContext = React$3.useMemo(function() {
|
|
17919
17964
|
return {
|
|
17920
17965
|
getKey: function getKey(namePath) {
|
|
17921
17966
|
var len = prefixName.length;
|
|
@@ -17935,11 +17980,11 @@ var List = function List2(_ref) {
|
|
|
17935
17980
|
}
|
|
17936
17981
|
return prevValue !== nextValue;
|
|
17937
17982
|
};
|
|
17938
|
-
return /* @__PURE__ */ React$
|
|
17983
|
+
return /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
17939
17984
|
value: listContext
|
|
17940
|
-
}, /* @__PURE__ */ React$
|
|
17985
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
17941
17986
|
value: fieldContext
|
|
17942
|
-
}, /* @__PURE__ */ React$
|
|
17987
|
+
}, /* @__PURE__ */ React$3.createElement(WrapperField, {
|
|
17943
17988
|
name: [],
|
|
17944
17989
|
shouldUpdate,
|
|
17945
17990
|
rules: rules2,
|
|
@@ -18834,8 +18879,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
18834
18879
|
this.forceRootUpdate = forceRootUpdate;
|
|
18835
18880
|
});
|
|
18836
18881
|
function useForm(form) {
|
|
18837
|
-
var formRef = React$
|
|
18838
|
-
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];
|
|
18839
18884
|
if (!formRef.current) {
|
|
18840
18885
|
if (form) {
|
|
18841
18886
|
formRef.current = form;
|
|
@@ -18849,7 +18894,7 @@ function useForm(form) {
|
|
|
18849
18894
|
}
|
|
18850
18895
|
return [formRef.current];
|
|
18851
18896
|
}
|
|
18852
|
-
var FormContext$1 = /* @__PURE__ */ React$
|
|
18897
|
+
var FormContext$1 = /* @__PURE__ */ React$3.createContext({
|
|
18853
18898
|
triggerFormChange: function triggerFormChange() {
|
|
18854
18899
|
},
|
|
18855
18900
|
triggerFormFinish: function triggerFormFinish() {
|
|
@@ -18861,9 +18906,9 @@ var FormContext$1 = /* @__PURE__ */ React$2.createContext({
|
|
|
18861
18906
|
});
|
|
18862
18907
|
var FormProvider = function FormProvider2(_ref) {
|
|
18863
18908
|
var validateMessages = _ref.validateMessages, onFormChange = _ref.onFormChange, onFormFinish = _ref.onFormFinish, children = _ref.children;
|
|
18864
|
-
var formContext = React$
|
|
18865
|
-
var formsRef = React$
|
|
18866
|
-
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, {
|
|
18867
18912
|
value: _objectSpread2(_objectSpread2({}, formContext), {}, {
|
|
18868
18913
|
validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
18869
18914
|
// =========================================================
|
|
@@ -18905,13 +18950,13 @@ var FormProvider = function FormProvider2(_ref) {
|
|
|
18905
18950
|
var _excluded$2 = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
|
|
18906
18951
|
var Form$1 = function Form(_ref, ref2) {
|
|
18907
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);
|
|
18908
|
-
var formContext = React$
|
|
18953
|
+
var formContext = React$3.useContext(FormContext$1);
|
|
18909
18954
|
var _useForm = useForm(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
|
|
18910
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;
|
|
18911
|
-
React$
|
|
18956
|
+
React$3.useImperativeHandle(ref2, function() {
|
|
18912
18957
|
return formInstance;
|
|
18913
18958
|
});
|
|
18914
|
-
React$
|
|
18959
|
+
React$3.useEffect(function() {
|
|
18915
18960
|
formContext.registerForm(name, formInstance);
|
|
18916
18961
|
return function() {
|
|
18917
18962
|
formContext.unregisterForm(name);
|
|
@@ -18938,12 +18983,12 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18938
18983
|
onFinishFailed
|
|
18939
18984
|
});
|
|
18940
18985
|
setPreserve(preserve);
|
|
18941
|
-
var mountRef = React$
|
|
18986
|
+
var mountRef = React$3.useRef(null);
|
|
18942
18987
|
setInitialValues(initialValues, !mountRef.current);
|
|
18943
18988
|
if (!mountRef.current) {
|
|
18944
18989
|
mountRef.current = true;
|
|
18945
18990
|
}
|
|
18946
|
-
React$
|
|
18991
|
+
React$3.useEffect(
|
|
18947
18992
|
function() {
|
|
18948
18993
|
return destroyForm;
|
|
18949
18994
|
},
|
|
@@ -18959,27 +19004,27 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18959
19004
|
childrenNode = children;
|
|
18960
19005
|
}
|
|
18961
19006
|
useSubscribe(!childrenRenderProps);
|
|
18962
|
-
var prevFieldsRef = React$
|
|
18963
|
-
React$
|
|
19007
|
+
var prevFieldsRef = React$3.useRef();
|
|
19008
|
+
React$3.useEffect(function() {
|
|
18964
19009
|
if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
|
|
18965
19010
|
formInstance.setFields(fields || []);
|
|
18966
19011
|
}
|
|
18967
19012
|
prevFieldsRef.current = fields;
|
|
18968
19013
|
}, [fields, formInstance]);
|
|
18969
|
-
var formContextValue = React$
|
|
19014
|
+
var formContextValue = React$3.useMemo(function() {
|
|
18970
19015
|
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
|
18971
19016
|
validateTrigger
|
|
18972
19017
|
});
|
|
18973
19018
|
}, [formInstance, validateTrigger]);
|
|
18974
|
-
var wrapperNode = /* @__PURE__ */ React$
|
|
19019
|
+
var wrapperNode = /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
18975
19020
|
value: null
|
|
18976
|
-
}, /* @__PURE__ */ React$
|
|
19021
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
18977
19022
|
value: formContextValue
|
|
18978
19023
|
}, childrenNode));
|
|
18979
19024
|
if (Component === false) {
|
|
18980
19025
|
return wrapperNode;
|
|
18981
19026
|
}
|
|
18982
|
-
return /* @__PURE__ */ React$
|
|
19027
|
+
return /* @__PURE__ */ React$3.createElement(Component, _extends$1({}, restProps, {
|
|
18983
19028
|
onSubmit: function onSubmit(event) {
|
|
18984
19029
|
event.preventDefault();
|
|
18985
19030
|
event.stopPropagation();
|
|
@@ -19055,7 +19100,7 @@ function useWatch() {
|
|
|
19055
19100
|
);
|
|
19056
19101
|
return value;
|
|
19057
19102
|
}
|
|
19058
|
-
var InternalForm = /* @__PURE__ */ React$
|
|
19103
|
+
var InternalForm = /* @__PURE__ */ React$3.forwardRef(Form$1);
|
|
19059
19104
|
var RefForm = InternalForm;
|
|
19060
19105
|
RefForm.FormProvider = FormProvider;
|
|
19061
19106
|
RefForm.Field = WrapperField;
|
|
@@ -20697,7 +20742,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
20697
20742
|
};
|
|
20698
20743
|
let tenPxTester = null;
|
|
20699
20744
|
let tester = null;
|
|
20700
|
-
if (canUseDom$
|
|
20745
|
+
if (canUseDom$3) {
|
|
20701
20746
|
tenPxTester = document.createElement("div");
|
|
20702
20747
|
tenPxTester.className = "adm-px-tester";
|
|
20703
20748
|
tenPxTester.style.setProperty("--size", "10");
|
|
@@ -20888,7 +20933,7 @@ getNodeRef_1 = ref.getNodeRef = function getNodeRef(node) {
|
|
|
20888
20933
|
}
|
|
20889
20934
|
return null;
|
|
20890
20935
|
};
|
|
20891
|
-
class LegacyWrapper extends React$
|
|
20936
|
+
class LegacyWrapper extends React$3.Component {
|
|
20892
20937
|
constructor() {
|
|
20893
20938
|
super(...arguments);
|
|
20894
20939
|
this.element = null;
|
|
@@ -20908,12 +20953,12 @@ class LegacyWrapper extends React$2.Component {
|
|
|
20908
20953
|
return this.props.children;
|
|
20909
20954
|
}
|
|
20910
20955
|
}
|
|
20911
|
-
const Wrapper = React$
|
|
20956
|
+
const Wrapper = React$3.forwardRef(({
|
|
20912
20957
|
children
|
|
20913
20958
|
}, ref2) => {
|
|
20914
|
-
const elementRef = React$
|
|
20915
|
-
const legacyWrapperRef = React$
|
|
20916
|
-
const child = React$
|
|
20959
|
+
const elementRef = React$3.useRef(null);
|
|
20960
|
+
const legacyWrapperRef = React$3.createRef();
|
|
20961
|
+
const child = React$3.Children.only(children);
|
|
20917
20962
|
const canUseRef = supportRef_1(children);
|
|
20918
20963
|
const getElement = () => {
|
|
20919
20964
|
var _a;
|
|
@@ -20922,13 +20967,13 @@ const Wrapper = React$2.forwardRef(({
|
|
|
20922
20967
|
}
|
|
20923
20968
|
return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
|
|
20924
20969
|
};
|
|
20925
|
-
React$
|
|
20970
|
+
React$3.useImperativeHandle(ref2, () => ({
|
|
20926
20971
|
element: getElement()
|
|
20927
20972
|
}));
|
|
20928
20973
|
const composedRef = composeRef_1(elementRef, getNodeRef_1(child));
|
|
20929
|
-
return canUseRef ? React$
|
|
20974
|
+
return canUseRef ? React$3.cloneElement(child, {
|
|
20930
20975
|
ref: composedRef
|
|
20931
|
-
}) : React$
|
|
20976
|
+
}) : React$3.createElement(LegacyWrapper, {
|
|
20932
20977
|
ref: legacyWrapperRef
|
|
20933
20978
|
}, child);
|
|
20934
20979
|
});
|
|
@@ -22542,9 +22587,7 @@ const InfiniteScrollContent = (props) => {
|
|
|
22542
22587
|
};
|
|
22543
22588
|
function useInputHandleKeyDown({
|
|
22544
22589
|
onEnterPress,
|
|
22545
|
-
onKeyDown
|
|
22546
|
-
nativeInputRef,
|
|
22547
|
-
enterKeyHint
|
|
22590
|
+
onKeyDown
|
|
22548
22591
|
}) {
|
|
22549
22592
|
const handleKeydown = (e2) => {
|
|
22550
22593
|
if (onEnterPress && (e2.code === "Enter" || e2.keyCode === 13)) {
|
|
@@ -22552,15 +22595,6 @@ function useInputHandleKeyDown({
|
|
|
22552
22595
|
}
|
|
22553
22596
|
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e2);
|
|
22554
22597
|
};
|
|
22555
|
-
useIsomorphicLayoutEffect$3(() => {
|
|
22556
|
-
const ele = nativeInputRef.current;
|
|
22557
|
-
if (!enterKeyHint || !ele)
|
|
22558
|
-
return;
|
|
22559
|
-
ele.setAttribute("enterkeyhint", enterKeyHint);
|
|
22560
|
-
return () => {
|
|
22561
|
-
ele.removeAttribute("enterkeyhint");
|
|
22562
|
-
};
|
|
22563
|
-
}, [enterKeyHint]);
|
|
22564
22598
|
return handleKeydown;
|
|
22565
22599
|
}
|
|
22566
22600
|
const classPrefix$B = `adm-input`;
|
|
@@ -22581,9 +22615,7 @@ const Input = forwardRef((props, ref2) => {
|
|
|
22581
22615
|
const nativeInputRef = useRef(null);
|
|
22582
22616
|
const handleKeydown = useInputHandleKeyDown({
|
|
22583
22617
|
onEnterPress: mergedProps.onEnterPress,
|
|
22584
|
-
onKeyDown: mergedProps.onKeyDown
|
|
22585
|
-
nativeInputRef,
|
|
22586
|
-
enterKeyHint: mergedProps.enterKeyHint
|
|
22618
|
+
onKeyDown: mergedProps.onKeyDown
|
|
22587
22619
|
});
|
|
22588
22620
|
useImperativeHandle(ref2, () => ({
|
|
22589
22621
|
clear: () => {
|
|
@@ -23191,6 +23223,7 @@ const NumberKeyboard = (p) => {
|
|
|
23191
23223
|
};
|
|
23192
23224
|
const renderKey = (key, index2) => {
|
|
23193
23225
|
const isNumberKey = /^\d$/.test(key);
|
|
23226
|
+
const isBackspace = key === "BACKSPACE";
|
|
23194
23227
|
const className = classNames(`${classPrefix$x}-key`, {
|
|
23195
23228
|
[`${classPrefix$x}-key-number`]: isNumberKey,
|
|
23196
23229
|
[`${classPrefix$x}-key-sign`]: !isNumberKey && key,
|
|
@@ -23198,25 +23231,29 @@ const NumberKeyboard = (p) => {
|
|
|
23198
23231
|
});
|
|
23199
23232
|
const ariaProps = key ? {
|
|
23200
23233
|
role: "button",
|
|
23201
|
-
title: key,
|
|
23234
|
+
title: isBackspace ? locale.Input.clear : key,
|
|
23202
23235
|
tabIndex: -1
|
|
23203
23236
|
} : void 0;
|
|
23204
23237
|
return React__default.createElement("div", Object.assign({
|
|
23205
23238
|
key,
|
|
23206
23239
|
className,
|
|
23207
|
-
|
|
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) => {
|
|
23208
23253
|
stopContinueClear();
|
|
23209
|
-
if (key === "BACKSPACE") {
|
|
23210
|
-
startContinueClear();
|
|
23211
|
-
}
|
|
23212
|
-
},
|
|
23213
|
-
onTouchEnd: (e2) => {
|
|
23214
23254
|
onKeyPress(e2, key);
|
|
23215
|
-
if (key === "BACKSPACE") {
|
|
23216
|
-
stopContinueClear();
|
|
23217
|
-
}
|
|
23218
23255
|
}
|
|
23219
|
-
}, ariaProps),
|
|
23256
|
+
}, ariaProps), isBackspace ? React__default.createElement(TextDeletionOutline, null) : key);
|
|
23220
23257
|
};
|
|
23221
23258
|
return React__default.createElement(Popup, {
|
|
23222
23259
|
visible,
|
|
@@ -23248,8 +23285,12 @@ const NumberKeyboard = (p) => {
|
|
|
23248
23285
|
startContinueClear();
|
|
23249
23286
|
},
|
|
23250
23287
|
onTouchEnd: (e2) => {
|
|
23288
|
+
stopContinueClear();
|
|
23251
23289
|
onKeyPress(e2, "BACKSPACE");
|
|
23290
|
+
},
|
|
23291
|
+
onClick: (e2) => {
|
|
23252
23292
|
stopContinueClear();
|
|
23293
|
+
onKeyPress(e2, "BACKSPACE");
|
|
23253
23294
|
},
|
|
23254
23295
|
onContextMenu: (e2) => {
|
|
23255
23296
|
e2.preventDefault();
|
|
@@ -23259,7 +23300,7 @@ const NumberKeyboard = (p) => {
|
|
|
23259
23300
|
tabIndex: -1
|
|
23260
23301
|
}, React__default.createElement(TextDeletionOutline, null)), React__default.createElement("div", {
|
|
23261
23302
|
className: `${classPrefix$x}-key ${classPrefix$x}-key-extra ${classPrefix$x}-key-ok`,
|
|
23262
|
-
|
|
23303
|
+
onClick: (e2) => onKeyPress(e2, "OK"),
|
|
23263
23304
|
role: "button",
|
|
23264
23305
|
tabIndex: -1,
|
|
23265
23306
|
"aria-label": confirmText
|
|
@@ -24096,7 +24137,7 @@ function findDOMNode(node) {
|
|
|
24096
24137
|
}
|
|
24097
24138
|
return null;
|
|
24098
24139
|
}
|
|
24099
|
-
var Context = /* @__PURE__ */ React$
|
|
24140
|
+
var Context = /* @__PURE__ */ React$3.createContext({});
|
|
24100
24141
|
var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
24101
24142
|
_inherits(DomWrapper2, _React$Component);
|
|
24102
24143
|
var _super = _createSuper(DomWrapper2);
|
|
@@ -24111,7 +24152,7 @@ var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
|
24111
24152
|
}
|
|
24112
24153
|
}]);
|
|
24113
24154
|
return DomWrapper2;
|
|
24114
|
-
}(React$
|
|
24155
|
+
}(React$3.Component);
|
|
24115
24156
|
var STATUS_NONE = "none";
|
|
24116
24157
|
var STATUS_APPEAR = "appear";
|
|
24117
24158
|
var STATUS_ENTER = "enter";
|
|
@@ -24146,9 +24187,9 @@ function getVendorPrefixes(domSupport, win) {
|
|
|
24146
24187
|
}
|
|
24147
24188
|
return prefixes2;
|
|
24148
24189
|
}
|
|
24149
|
-
var vendorPrefixes = getVendorPrefixes(canUseDom(), typeof window !== "undefined" ? window : {});
|
|
24190
|
+
var vendorPrefixes = getVendorPrefixes(canUseDom$2(), typeof window !== "undefined" ? window : {});
|
|
24150
24191
|
var style = {};
|
|
24151
|
-
if (canUseDom()) {
|
|
24192
|
+
if (canUseDom$2()) {
|
|
24152
24193
|
var _document$createEleme = document.createElement("div");
|
|
24153
24194
|
style = _document$createEleme.style;
|
|
24154
24195
|
}
|
|
@@ -24191,7 +24232,7 @@ const useDomMotionEvents = function(callback) {
|
|
|
24191
24232
|
var cacheElementRef = useRef();
|
|
24192
24233
|
var callbackRef = useRef(callback);
|
|
24193
24234
|
callbackRef.current = callback;
|
|
24194
|
-
var onInternalMotionEnd = React$
|
|
24235
|
+
var onInternalMotionEnd = React$3.useCallback(function(event) {
|
|
24195
24236
|
callbackRef.current(event);
|
|
24196
24237
|
}, []);
|
|
24197
24238
|
function removeMotionEvents(element) {
|
|
@@ -24210,14 +24251,14 @@ const useDomMotionEvents = function(callback) {
|
|
|
24210
24251
|
cacheElementRef.current = element;
|
|
24211
24252
|
}
|
|
24212
24253
|
}
|
|
24213
|
-
React$
|
|
24254
|
+
React$3.useEffect(function() {
|
|
24214
24255
|
return function() {
|
|
24215
24256
|
removeMotionEvents(cacheElementRef.current);
|
|
24216
24257
|
};
|
|
24217
24258
|
}, []);
|
|
24218
24259
|
return [patchMotionEvents, removeMotionEvents];
|
|
24219
24260
|
};
|
|
24220
|
-
var useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect$
|
|
24261
|
+
var useIsomorphicLayoutEffect = canUseDom$2() ? useLayoutEffect$3 : useEffect;
|
|
24221
24262
|
var raf = function raf2(callback) {
|
|
24222
24263
|
return +setTimeout(callback, 16);
|
|
24223
24264
|
};
|
|
@@ -24266,7 +24307,7 @@ wrapperRaf.cancel = function(id) {
|
|
|
24266
24307
|
};
|
|
24267
24308
|
}
|
|
24268
24309
|
const useNextFrame = function() {
|
|
24269
|
-
var nextFrameRef = React$
|
|
24310
|
+
var nextFrameRef = React$3.useRef(null);
|
|
24270
24311
|
function cancelNextFrame() {
|
|
24271
24312
|
wrapperRaf.cancel(nextFrameRef.current);
|
|
24272
24313
|
}
|
|
@@ -24286,7 +24327,7 @@ const useNextFrame = function() {
|
|
|
24286
24327
|
});
|
|
24287
24328
|
nextFrameRef.current = nextFrameId;
|
|
24288
24329
|
}
|
|
24289
|
-
React$
|
|
24330
|
+
React$3.useEffect(function() {
|
|
24290
24331
|
return function() {
|
|
24291
24332
|
cancelNextFrame();
|
|
24292
24333
|
};
|
|
@@ -24330,7 +24371,7 @@ const useStepQueue = function(status, prepareOnly, callback) {
|
|
|
24330
24371
|
}
|
|
24331
24372
|
}
|
|
24332
24373
|
}, [status, step]);
|
|
24333
|
-
React$
|
|
24374
|
+
React$3.useEffect(function() {
|
|
24334
24375
|
return function() {
|
|
24335
24376
|
cancelNextFrame();
|
|
24336
24377
|
};
|
|
@@ -24384,7 +24425,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24384
24425
|
return {};
|
|
24385
24426
|
}
|
|
24386
24427
|
};
|
|
24387
|
-
var eventHandlers = React$
|
|
24428
|
+
var eventHandlers = React$3.useMemo(function() {
|
|
24388
24429
|
return getEventHandlers(status);
|
|
24389
24430
|
}, [status]);
|
|
24390
24431
|
var _useStepQueue = useStepQueue(status, !supportMotion, function(newStep) {
|
|
@@ -24455,7 +24496,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24455
24496
|
clearTimeout(deadlineRef.current);
|
|
24456
24497
|
};
|
|
24457
24498
|
}, []);
|
|
24458
|
-
var firstMountChangeRef = React$
|
|
24499
|
+
var firstMountChangeRef = React$3.useRef(false);
|
|
24459
24500
|
useEffect(function() {
|
|
24460
24501
|
if (asyncVisible) {
|
|
24461
24502
|
firstMountChangeRef.current = true;
|
|
@@ -24483,9 +24524,9 @@ function genCSSMotion(config2) {
|
|
|
24483
24524
|
function isSupportTransition(props, contextMotion) {
|
|
24484
24525
|
return !!(props.motionName && transitionSupport && contextMotion !== false);
|
|
24485
24526
|
}
|
|
24486
|
-
var CSSMotion2 = /* @__PURE__ */ React$
|
|
24527
|
+
var CSSMotion2 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24487
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;
|
|
24488
|
-
var _React$useContext = React$
|
|
24529
|
+
var _React$useContext = React$3.useContext(Context), contextMotion = _React$useContext.motion;
|
|
24489
24530
|
var supportMotion = isSupportTransition(props, contextMotion);
|
|
24490
24531
|
var nodeRef = useRef();
|
|
24491
24532
|
var wrapperNodeRef = useRef();
|
|
@@ -24497,11 +24538,11 @@ function genCSSMotion(config2) {
|
|
|
24497
24538
|
}
|
|
24498
24539
|
}
|
|
24499
24540
|
var _useStatus = useStatus(supportMotion, visible, getDomElement, props), _useStatus2 = _slicedToArray(_useStatus, 4), status = _useStatus2[0], statusStep = _useStatus2[1], statusStyle = _useStatus2[2], mergedVisible = _useStatus2[3];
|
|
24500
|
-
var renderedRef = React$
|
|
24541
|
+
var renderedRef = React$3.useRef(mergedVisible);
|
|
24501
24542
|
if (mergedVisible) {
|
|
24502
24543
|
renderedRef.current = true;
|
|
24503
24544
|
}
|
|
24504
|
-
var setNodeRef = React$
|
|
24545
|
+
var setNodeRef = React$3.useCallback(function(node) {
|
|
24505
24546
|
nodeRef.current = node;
|
|
24506
24547
|
fillRef$1(ref2, node);
|
|
24507
24548
|
}, [ref2]);
|
|
@@ -24543,15 +24584,15 @@ function genCSSMotion(config2) {
|
|
|
24543
24584
|
style: statusStyle
|
|
24544
24585
|
}), setNodeRef);
|
|
24545
24586
|
}
|
|
24546
|
-
if (/* @__PURE__ */ React$
|
|
24587
|
+
if (/* @__PURE__ */ React$3.isValidElement(motionChildren) && supportRef$1(motionChildren)) {
|
|
24547
24588
|
var _ref = motionChildren, originNodeRef = _ref.ref;
|
|
24548
24589
|
if (!originNodeRef) {
|
|
24549
|
-
motionChildren = /* @__PURE__ */ React$
|
|
24590
|
+
motionChildren = /* @__PURE__ */ React$3.cloneElement(motionChildren, {
|
|
24550
24591
|
ref: setNodeRef
|
|
24551
24592
|
});
|
|
24552
24593
|
}
|
|
24553
24594
|
}
|
|
24554
|
-
return /* @__PURE__ */ React$
|
|
24595
|
+
return /* @__PURE__ */ React$3.createElement(DomWrapper, {
|
|
24555
24596
|
ref: wrapperNodeRef
|
|
24556
24597
|
}, motionChildren);
|
|
24557
24598
|
});
|
|
@@ -24685,17 +24726,17 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24685
24726
|
var _this2 = this;
|
|
24686
24727
|
var keyEntities = this.state.keyEntities;
|
|
24687
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);
|
|
24688
|
-
var Component = component || React$
|
|
24729
|
+
var Component = component || React$3.Fragment;
|
|
24689
24730
|
var motionProps = {};
|
|
24690
24731
|
MOTION_PROP_NAMES.forEach(function(prop) {
|
|
24691
24732
|
motionProps[prop] = restProps[prop];
|
|
24692
24733
|
delete restProps[prop];
|
|
24693
24734
|
});
|
|
24694
24735
|
delete restProps.keys;
|
|
24695
|
-
return /* @__PURE__ */ React$
|
|
24736
|
+
return /* @__PURE__ */ React$3.createElement(Component, restProps, keyEntities.map(function(_ref2, index2) {
|
|
24696
24737
|
var status = _ref2.status, eventProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
24697
24738
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
|
24698
|
-
return /* @__PURE__ */ React$
|
|
24739
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion$1, _extends$1({}, motionProps, {
|
|
24699
24740
|
key: eventProps.key,
|
|
24700
24741
|
visible,
|
|
24701
24742
|
eventProps,
|
|
@@ -24739,7 +24780,7 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24739
24780
|
}
|
|
24740
24781
|
}]);
|
|
24741
24782
|
return CSSMotionList2;
|
|
24742
|
-
}(React$
|
|
24783
|
+
}(React$3.Component);
|
|
24743
24784
|
_defineProperty(CSSMotionList, "defaultProps", {
|
|
24744
24785
|
component: "div"
|
|
24745
24786
|
});
|
|
@@ -24758,17 +24799,17 @@ var toPX = function toPX2(value) {
|
|
|
24758
24799
|
};
|
|
24759
24800
|
function MotionThumb(props) {
|
|
24760
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;
|
|
24761
|
-
var thumbRef = React$
|
|
24762
|
-
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];
|
|
24763
24804
|
var findValueElement = function findValueElement2(val) {
|
|
24764
24805
|
var _containerRef$current;
|
|
24765
24806
|
var index2 = getValueIndex(val);
|
|
24766
24807
|
var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelectorAll(".".concat(prefixCls, "-item"))[index2];
|
|
24767
24808
|
return (ele === null || ele === void 0 ? void 0 : ele.offsetParent) && ele;
|
|
24768
24809
|
};
|
|
24769
|
-
var _React$useState3 = React$
|
|
24770
|
-
var _React$useState5 = React$
|
|
24771
|
-
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() {
|
|
24772
24813
|
if (prevValue !== value) {
|
|
24773
24814
|
var prev = findValueElement(prevValue);
|
|
24774
24815
|
var next = findValueElement(value);
|
|
@@ -24784,10 +24825,10 @@ function MotionThumb(props) {
|
|
|
24784
24825
|
}
|
|
24785
24826
|
}
|
|
24786
24827
|
}, [value]);
|
|
24787
|
-
var thumbStart = React$
|
|
24828
|
+
var thumbStart = React$3.useMemo(function() {
|
|
24788
24829
|
return direction === "rtl" ? toPX(-(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.right)) : toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.left);
|
|
24789
24830
|
}, [direction, prevStyle]);
|
|
24790
|
-
var thumbActive = React$
|
|
24831
|
+
var thumbActive = React$3.useMemo(function() {
|
|
24791
24832
|
return direction === "rtl" ? toPX(-(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.right)) : toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.left);
|
|
24792
24833
|
}, [direction, nextStyle]);
|
|
24793
24834
|
var onAppearStart = function onAppearStart2() {
|
|
@@ -24810,7 +24851,7 @@ function MotionThumb(props) {
|
|
|
24810
24851
|
if (!prevStyle || !nextStyle) {
|
|
24811
24852
|
return null;
|
|
24812
24853
|
}
|
|
24813
|
-
return /* @__PURE__ */ React$
|
|
24854
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion, {
|
|
24814
24855
|
visible: true,
|
|
24815
24856
|
motionName,
|
|
24816
24857
|
motionAppear: true,
|
|
@@ -24830,7 +24871,7 @@ function MotionThumb(props) {
|
|
|
24830
24871
|
style: mergedStyle,
|
|
24831
24872
|
className: classNames("".concat(prefixCls, "-thumb"), motionClassName)
|
|
24832
24873
|
};
|
|
24833
|
-
return /* @__PURE__ */ React$
|
|
24874
|
+
return /* @__PURE__ */ React$3.createElement("div", motionProps);
|
|
24834
24875
|
});
|
|
24835
24876
|
}
|
|
24836
24877
|
var _excluded = ["prefixCls", "direction", "options", "disabled", "defaultValue", "value", "onChange", "className", "motionName"];
|
|
@@ -24866,36 +24907,36 @@ var InternalSegmentedOption = function InternalSegmentedOption2(_ref) {
|
|
|
24866
24907
|
}
|
|
24867
24908
|
onChange(event, value);
|
|
24868
24909
|
};
|
|
24869
|
-
return /* @__PURE__ */ React$
|
|
24910
|
+
return /* @__PURE__ */ React$3.createElement("label", {
|
|
24870
24911
|
className: classNames(className, _defineProperty({}, "".concat(prefixCls, "-item-disabled"), disabled))
|
|
24871
|
-
}, /* @__PURE__ */ React$
|
|
24912
|
+
}, /* @__PURE__ */ React$3.createElement("input", {
|
|
24872
24913
|
className: "".concat(prefixCls, "-item-input"),
|
|
24873
24914
|
type: "radio",
|
|
24874
24915
|
disabled,
|
|
24875
24916
|
checked,
|
|
24876
24917
|
onChange: handleChange
|
|
24877
|
-
}), /* @__PURE__ */ React$
|
|
24918
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24878
24919
|
className: "".concat(prefixCls, "-item-label"),
|
|
24879
24920
|
title,
|
|
24880
24921
|
role: "option",
|
|
24881
24922
|
"aria-selected": checked
|
|
24882
24923
|
}, label));
|
|
24883
24924
|
};
|
|
24884
|
-
var Segmented$1 = /* @__PURE__ */ React$
|
|
24925
|
+
var Segmented$1 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24885
24926
|
var _segmentedOptions$, _classNames2;
|
|
24886
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);
|
|
24887
|
-
var containerRef = React$
|
|
24888
|
-
var mergedRef = React$
|
|
24928
|
+
var containerRef = React$3.useRef(null);
|
|
24929
|
+
var mergedRef = React$3.useMemo(function() {
|
|
24889
24930
|
return composeRef$1(containerRef, ref2);
|
|
24890
24931
|
}, [containerRef, ref2]);
|
|
24891
|
-
var segmentedOptions = React$
|
|
24932
|
+
var segmentedOptions = React$3.useMemo(function() {
|
|
24892
24933
|
return normalizeOptions(options);
|
|
24893
24934
|
}, [options]);
|
|
24894
24935
|
var _useMergedState = useMergedState((_segmentedOptions$ = segmentedOptions[0]) === null || _segmentedOptions$ === void 0 ? void 0 : _segmentedOptions$.value, {
|
|
24895
24936
|
value,
|
|
24896
24937
|
defaultValue
|
|
24897
24938
|
}), _useMergedState2 = _slicedToArray(_useMergedState, 2), rawValue = _useMergedState2[0], setRawValue = _useMergedState2[1];
|
|
24898
|
-
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];
|
|
24899
24940
|
var handleChange = function handleChange2(event, val) {
|
|
24900
24941
|
if (disabled) {
|
|
24901
24942
|
return;
|
|
@@ -24904,15 +24945,15 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24904
24945
|
onChange === null || onChange === void 0 ? void 0 : onChange(val);
|
|
24905
24946
|
};
|
|
24906
24947
|
var divProps = omit(restProps, ["children"]);
|
|
24907
|
-
return /* @__PURE__ */ React$
|
|
24948
|
+
return /* @__PURE__ */ React$3.createElement("div", _extends$1({
|
|
24908
24949
|
role: "listbox",
|
|
24909
24950
|
"aria-label": "segmented control"
|
|
24910
24951
|
}, divProps, {
|
|
24911
24952
|
className: classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === "rtl"), _defineProperty(_classNames2, "".concat(prefixCls, "-disabled"), disabled), _classNames2), className),
|
|
24912
24953
|
ref: mergedRef
|
|
24913
|
-
}), /* @__PURE__ */ React$
|
|
24954
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24914
24955
|
className: "".concat(prefixCls, "-group")
|
|
24915
|
-
}, /* @__PURE__ */ React$
|
|
24956
|
+
}, /* @__PURE__ */ React$3.createElement(MotionThumb, {
|
|
24916
24957
|
prefixCls,
|
|
24917
24958
|
value: rawValue,
|
|
24918
24959
|
containerRef,
|
|
@@ -24930,7 +24971,7 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24930
24971
|
setThumbShow(false);
|
|
24931
24972
|
}
|
|
24932
24973
|
}), segmentedOptions.map(function(segmentedOption) {
|
|
24933
|
-
return /* @__PURE__ */ React$
|
|
24974
|
+
return /* @__PURE__ */ React$3.createElement(InternalSegmentedOption, _extends$1({}, segmentedOption, {
|
|
24934
24975
|
key: segmentedOption.value,
|
|
24935
24976
|
prefixCls,
|
|
24936
24977
|
className: classNames(segmentedOption.className, "".concat(prefixCls, "-item"), _defineProperty({}, "".concat(prefixCls, "-item-selected"), segmentedOption.value === rawValue && !thumbShow)),
|
|
@@ -24948,7 +24989,7 @@ function isSegmentedLabeledOptionWithIcon(option) {
|
|
|
24948
24989
|
return typeof option === "object" && !!(option === null || option === void 0 ? void 0 : option.icon);
|
|
24949
24990
|
}
|
|
24950
24991
|
const classPrefix$l = `adm-segmented`;
|
|
24951
|
-
const Segmented = React$
|
|
24992
|
+
const Segmented = React$3.forwardRef((props, ref2) => {
|
|
24952
24993
|
const {
|
|
24953
24994
|
prefixCls: customizePrefixCls,
|
|
24954
24995
|
className,
|
|
@@ -24958,21 +24999,21 @@ const Segmented = React$2.forwardRef((props, ref2) => {
|
|
|
24958
24999
|
props,
|
|
24959
25000
|
["prefixCls", "className", "block", "options"]
|
|
24960
25001
|
);
|
|
24961
|
-
const extendedOptions = React$
|
|
25002
|
+
const extendedOptions = React$3.useMemo(() => options.map((option) => {
|
|
24962
25003
|
if (isSegmentedLabeledOptionWithIcon(option)) {
|
|
24963
25004
|
const {
|
|
24964
25005
|
icon,
|
|
24965
25006
|
label
|
|
24966
25007
|
} = option, restOption = __rest(option, ["icon", "label"]);
|
|
24967
25008
|
return Object.assign(Object.assign({}, restOption), {
|
|
24968
|
-
label: React$
|
|
25009
|
+
label: React$3.createElement(React$3.Fragment, null, React$3.createElement("span", {
|
|
24969
25010
|
className: `${classPrefix$l}-item-icon`
|
|
24970
|
-
}, icon), label && React$
|
|
25011
|
+
}, icon), label && React$3.createElement("span", null, label))
|
|
24971
25012
|
});
|
|
24972
25013
|
}
|
|
24973
25014
|
return option;
|
|
24974
25015
|
}), [options, classPrefix$l]);
|
|
24975
|
-
return withNativeProps(props, React$
|
|
25016
|
+
return withNativeProps(props, React$3.createElement(TypedSegmented, Object.assign({}, restProps, {
|
|
24976
25017
|
className: classNames(className, {
|
|
24977
25018
|
[`${classPrefix$l}-block`]: block
|
|
24978
25019
|
}),
|
|
@@ -26923,9 +26964,7 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
26923
26964
|
const hiddenTextAreaRef = useRef(null);
|
|
26924
26965
|
const handleKeydown = useInputHandleKeyDown({
|
|
26925
26966
|
onEnterPress: props.onEnterPress,
|
|
26926
|
-
onKeyDown: props.onKeyDown
|
|
26927
|
-
nativeInputRef: nativeTextAreaRef,
|
|
26928
|
-
enterKeyHint: props.enterKeyHint
|
|
26967
|
+
onKeyDown: props.onKeyDown
|
|
26929
26968
|
});
|
|
26930
26969
|
useImperativeHandle(ref2, () => ({
|
|
26931
26970
|
clear: () => {
|
|
@@ -27024,7 +27063,8 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
27024
27063
|
onFocus: props.onFocus,
|
|
27025
27064
|
onBlur: props.onBlur,
|
|
27026
27065
|
onClick: props.onClick,
|
|
27027
|
-
onKeyDown: handleKeydown
|
|
27066
|
+
onKeyDown: handleKeydown,
|
|
27067
|
+
enterKeyHint: props.enterKeyHint
|
|
27028
27068
|
}), count, autoSize && React__default.createElement("textarea", {
|
|
27029
27069
|
ref: hiddenTextAreaRef,
|
|
27030
27070
|
className: `${classPrefix$6}-element ${classPrefix$6}-element-hidden`,
|