antd-mobile 5.33.2 → 5.34.0
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 +1355 -1611
- package/2x/bundle/antd-mobile.cjs.js +7 -15
- package/2x/bundle/antd-mobile.es.development.js +350 -606
- package/2x/bundle/antd-mobile.es.js +8349 -8537
- package/2x/bundle/antd-mobile.umd.development.js +1355 -1611
- package/2x/bundle/antd-mobile.umd.js +7 -15
- package/2x/bundle/style.css +2 -1
- package/2x/cjs/components/stepper/stepper.js +2 -2
- package/2x/cjs/components/swiper/index.d.ts +3 -2
- package/2x/cjs/components/swiper/swiper.css +2 -1
- package/2x/cjs/components/swiper/swiper.d.ts +18 -4
- package/2x/cjs/components/swiper/swiper.js +98 -53
- package/2x/es/components/stepper/stepper.js +1 -1
- package/2x/es/components/swiper/index.d.ts +3 -2
- package/2x/es/components/swiper/swiper.css +2 -1
- package/2x/es/components/swiper/swiper.d.ts +18 -4
- package/2x/es/components/swiper/swiper.js +98 -53
- package/2x/package.json +2 -2
- package/bundle/antd-mobile.cjs.development.js +1355 -1611
- package/bundle/antd-mobile.cjs.js +7 -15
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +350 -606
- package/bundle/antd-mobile.es.js +8349 -8537
- package/bundle/antd-mobile.umd.development.js +1355 -1611
- package/bundle/antd-mobile.umd.js +7 -15
- package/bundle/style.css +1 -1
- package/cjs/components/stepper/stepper.js +2 -2
- package/cjs/components/swiper/index.d.ts +3 -2
- package/cjs/components/swiper/swiper.css +2 -1
- package/cjs/components/swiper/swiper.d.ts +18 -4
- package/cjs/components/swiper/swiper.js +98 -53
- package/es/components/stepper/stepper.js +1 -1
- package/es/components/swiper/index.d.ts +3 -2
- package/es/components/swiper/swiper.css +2 -1
- package/es/components/swiper/swiper.d.ts +18 -4
- package/es/components/swiper/swiper.js +98 -53
- package/package.json +2 -2
- package/umd/antd-mobile.js +1 -1
- package/umd/antd-mobile.js.LICENSE.txt +0 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React$
|
|
2
|
-
import React__default, { useContext, useRef, useMemo, useEffect, useState
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import React__default, { useContext, useRef, useMemo, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$1, forwardRef, useImperativeHandle, memo, isValidElement, createContext, cloneElement } from "react";
|
|
3
3
|
import * as ReactDOM from "react-dom";
|
|
4
4
|
import { unstable_batchedUpdates, createPortal, findDOMNode } from "react-dom";
|
|
5
|
-
const canUseDom$
|
|
6
|
-
if (canUseDom$
|
|
5
|
+
const canUseDom$1 = !!(typeof window !== "undefined" && typeof document !== "undefined" && window.document && window.document.createElement);
|
|
6
|
+
if (canUseDom$1) {
|
|
7
7
|
document.addEventListener("touchstart", () => {
|
|
8
8
|
}, true);
|
|
9
9
|
}
|
|
@@ -1292,7 +1292,7 @@ var useMount = function(fn) {
|
|
|
1292
1292
|
};
|
|
1293
1293
|
const useMount$1 = useMount;
|
|
1294
1294
|
var useUpdate = function() {
|
|
1295
|
-
var _a = __read(useState
|
|
1295
|
+
var _a = __read(useState({}), 2), setState = _a[1];
|
|
1296
1296
|
return useCallback(function() {
|
|
1297
1297
|
return setState({});
|
|
1298
1298
|
}, []);
|
|
@@ -1726,7 +1726,7 @@ function useDebounceFn(fn, options) {
|
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
1728
|
function useDebounceEffect(effect, deps, options) {
|
|
1729
|
-
var _a = __read(useState
|
|
1729
|
+
var _a = __read(useState({}), 2), flag = _a[0], setFlag = _a[1];
|
|
1730
1730
|
var run = useDebounceFn(function() {
|
|
1731
1731
|
setFlag({});
|
|
1732
1732
|
}, options).run;
|
|
@@ -2320,7 +2320,7 @@ function isEqual$1(value, other) {
|
|
|
2320
2320
|
var isEqual_1 = isEqual$1;
|
|
2321
2321
|
const isEqual$2 = /* @__PURE__ */ getDefaultExportFromCjs(isEqual_1);
|
|
2322
2322
|
function useGetState(initialState) {
|
|
2323
|
-
var _a = __read(useState
|
|
2323
|
+
var _a = __read(useState(initialState), 2), state = _a[0], setState = _a[1];
|
|
2324
2324
|
var stateRef = useRef(state);
|
|
2325
2325
|
stateRef.current = state;
|
|
2326
2326
|
var getState = useCallback(function() {
|
|
@@ -2864,8 +2864,8 @@ function useGetState(initialState) {
|
|
|
2864
2864
|
window.IntersectionObserverEntry = IntersectionObserverEntry;
|
|
2865
2865
|
})();
|
|
2866
2866
|
function useInViewport(target, options) {
|
|
2867
|
-
var _a = __read(useState
|
|
2868
|
-
var _b = __read(useState
|
|
2867
|
+
var _a = __read(useState(), 2), state = _a[0], setState = _a[1];
|
|
2868
|
+
var _b = __read(useState(), 2), ratio = _b[0], setRatio = _b[1];
|
|
2869
2869
|
useEffectWithTarget$2(function() {
|
|
2870
2870
|
var el = getTargetElement(target);
|
|
2871
2871
|
if (!el) {
|
|
@@ -2902,7 +2902,7 @@ function useInViewport(target, options) {
|
|
|
2902
2902
|
}, [options === null || options === void 0 ? void 0 : options.rootMargin, options === null || options === void 0 ? void 0 : options.threshold], target);
|
|
2903
2903
|
return [state, ratio];
|
|
2904
2904
|
}
|
|
2905
|
-
var useIsomorphicLayoutEffect$1 = isBrowser$3 ? useLayoutEffect$
|
|
2905
|
+
var useIsomorphicLayoutEffect$1 = isBrowser$3 ? useLayoutEffect$1 : useEffect;
|
|
2906
2906
|
const useIsomorphicLayoutEffect$2 = useIsomorphicLayoutEffect$1;
|
|
2907
2907
|
function useLockFn(fn) {
|
|
2908
2908
|
var _this = this;
|
|
@@ -2947,7 +2947,7 @@ function useLockFn(fn) {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
function useRafState(initialState) {
|
|
2949
2949
|
var ref = useRef(0);
|
|
2950
|
-
var _a = __read(useState
|
|
2950
|
+
var _a = __read(useState(initialState), 2), state = _a[0], setState = _a[1];
|
|
2951
2951
|
var setRafState = useCallback(function(value) {
|
|
2952
2952
|
cancelAnimationFrame(ref.current);
|
|
2953
2953
|
ref.current = requestAnimationFrame(function() {
|
|
@@ -3483,7 +3483,7 @@ var index$j = function() {
|
|
|
3483
3483
|
}
|
|
3484
3484
|
return ResizeObserver$1;
|
|
3485
3485
|
}();
|
|
3486
|
-
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$
|
|
3486
|
+
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$1);
|
|
3487
3487
|
const useLayoutEffectWithTarget = useEffectWithTarget;
|
|
3488
3488
|
var useIsomorphicLayoutEffectWithTarget = isBrowser$3 ? useLayoutEffectWithTarget : useEffectWithTarget$2;
|
|
3489
3489
|
const useIsomorphicLayoutEffectWithTarget$1 = useIsomorphicLayoutEffectWithTarget;
|
|
@@ -3618,7 +3618,7 @@ function useTouch() {
|
|
|
3618
3618
|
isHorizontal
|
|
3619
3619
|
};
|
|
3620
3620
|
}
|
|
3621
|
-
const defaultRoot = canUseDom$
|
|
3621
|
+
const defaultRoot = canUseDom$1 ? window : void 0;
|
|
3622
3622
|
const overflowStylePatterns = ["scroll", "auto", "overlay"];
|
|
3623
3623
|
function isElement$1(node) {
|
|
3624
3624
|
const ELEMENT_NODE_TYPE = 1;
|
|
@@ -3641,7 +3641,7 @@ function getScrollParent(el, root2 = defaultRoot) {
|
|
|
3641
3641
|
return root2;
|
|
3642
3642
|
}
|
|
3643
3643
|
let supportsPassive = false;
|
|
3644
|
-
if (canUseDom$
|
|
3644
|
+
if (canUseDom$1) {
|
|
3645
3645
|
try {
|
|
3646
3646
|
const opts = {};
|
|
3647
3647
|
Object.defineProperty(opts, "passive", {
|
|
@@ -4591,7 +4591,7 @@ function deprecateDirectCall() {
|
|
|
4591
4591
|
function isAnimatedString(value) {
|
|
4592
4592
|
return is.str(value) && (value[0] == "#" || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
|
|
4593
4593
|
}
|
|
4594
|
-
const useIsomorphicLayoutEffect = isSSR() ? useEffect : useLayoutEffect$
|
|
4594
|
+
const useIsomorphicLayoutEffect = isSSR() ? useEffect : useLayoutEffect$1;
|
|
4595
4595
|
const useIsMounted = () => {
|
|
4596
4596
|
const isMounted = useRef(false);
|
|
4597
4597
|
useIsomorphicLayoutEffect(() => {
|
|
@@ -4603,7 +4603,7 @@ const useIsMounted = () => {
|
|
|
4603
4603
|
return isMounted;
|
|
4604
4604
|
};
|
|
4605
4605
|
function useForceUpdate() {
|
|
4606
|
-
const update2 = useState
|
|
4606
|
+
const update2 = useState()[1];
|
|
4607
4607
|
const isMounted = useIsMounted();
|
|
4608
4608
|
return () => {
|
|
4609
4609
|
if (isMounted.current) {
|
|
@@ -4612,7 +4612,7 @@ function useForceUpdate() {
|
|
|
4612
4612
|
};
|
|
4613
4613
|
}
|
|
4614
4614
|
function useMemoOne(getResult, inputs) {
|
|
4615
|
-
const [initial] = useState
|
|
4615
|
+
const [initial] = useState(() => ({
|
|
4616
4616
|
inputs,
|
|
4617
4617
|
result: getResult()
|
|
4618
4618
|
}));
|
|
@@ -4892,7 +4892,7 @@ const withAnimated = (Component, host2) => {
|
|
|
4892
4892
|
each(observer2.deps, (dep) => removeFluidObserver(dep, observer2));
|
|
4893
4893
|
});
|
|
4894
4894
|
const usedProps = host2.getComponentProps(props.getValue());
|
|
4895
|
-
return React$
|
|
4895
|
+
return React$1.createElement(Component, _extends$3({}, usedProps, {
|
|
4896
4896
|
ref
|
|
4897
4897
|
}));
|
|
4898
4898
|
});
|
|
@@ -6432,7 +6432,7 @@ const SpringContext = (_ref) => {
|
|
|
6432
6432
|
const {
|
|
6433
6433
|
Provider
|
|
6434
6434
|
} = ctx;
|
|
6435
|
-
return React$
|
|
6435
|
+
return React$1.createElement(Provider, {
|
|
6436
6436
|
value: props
|
|
6437
6437
|
}, children);
|
|
6438
6438
|
};
|
|
@@ -6440,7 +6440,7 @@ const ctx = makeContext(SpringContext, {});
|
|
|
6440
6440
|
SpringContext.Provider = ctx.Provider;
|
|
6441
6441
|
SpringContext.Consumer = ctx.Consumer;
|
|
6442
6442
|
function makeContext(target, init) {
|
|
6443
|
-
Object.assign(target, React$
|
|
6443
|
+
Object.assign(target, React$1.createContext(init));
|
|
6444
6444
|
target.Provider._context = target;
|
|
6445
6445
|
target.Consumer._context = target;
|
|
6446
6446
|
return target;
|
|
@@ -6920,7 +6920,7 @@ function resolveContainer(getContainer) {
|
|
|
6920
6920
|
return container || document.body;
|
|
6921
6921
|
}
|
|
6922
6922
|
function renderToContainer(getContainer, node) {
|
|
6923
|
-
if (canUseDom$
|
|
6923
|
+
if (canUseDom$1 && getContainer) {
|
|
6924
6924
|
const container = resolveContainer(getContainer);
|
|
6925
6925
|
return createPortal(node, container);
|
|
6926
6926
|
}
|
|
@@ -6995,7 +6995,7 @@ const Mask = (p) => {
|
|
|
6995
6995
|
const rgb2 = colorRecord$4[props.color];
|
|
6996
6996
|
return rgb2 ? `rgba(${rgb2}, ${opacity2})` : props.color;
|
|
6997
6997
|
}, [props.color, props.opacity]);
|
|
6998
|
-
const [active, setActive] = useState
|
|
6998
|
+
const [active, setActive] = useState(props.visible);
|
|
6999
6999
|
const unmountedRef = useUnmountedRef$1();
|
|
7000
7000
|
const {
|
|
7001
7001
|
opacity
|
|
@@ -7053,7 +7053,7 @@ const Mask = (p) => {
|
|
|
7053
7053
|
}, renderToContainer(props.getContainer, node));
|
|
7054
7054
|
};
|
|
7055
7055
|
function AddOutline(props) {
|
|
7056
|
-
return /* @__PURE__ */ React$
|
|
7056
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7057
7057
|
width: "1em",
|
|
7058
7058
|
height: "1em",
|
|
7059
7059
|
viewBox: "0 0 48 48",
|
|
@@ -7064,15 +7064,15 @@ function AddOutline(props) {
|
|
|
7064
7064
|
verticalAlign: "-0.125em"
|
|
7065
7065
|
}, props.style),
|
|
7066
7066
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7067
|
-
}), /* @__PURE__ */ React$
|
|
7067
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7068
7068
|
id: "AddOutline-AddOutline",
|
|
7069
7069
|
stroke: "none",
|
|
7070
7070
|
strokeWidth: 1,
|
|
7071
7071
|
fill: "none",
|
|
7072
7072
|
fillRule: "evenodd"
|
|
7073
|
-
}, /* @__PURE__ */ React$
|
|
7073
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7074
7074
|
id: "AddOutline-add"
|
|
7075
|
-
}, /* @__PURE__ */ React$
|
|
7075
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7076
7076
|
id: "AddOutline-矩形",
|
|
7077
7077
|
fill: "#FFFFFF",
|
|
7078
7078
|
opacity: 0,
|
|
@@ -7080,7 +7080,7 @@ function AddOutline(props) {
|
|
|
7080
7080
|
y: 0,
|
|
7081
7081
|
width: 48,
|
|
7082
7082
|
height: 48
|
|
7083
|
-
}), /* @__PURE__ */ React$
|
|
7083
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7084
7084
|
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",
|
|
7085
7085
|
id: "AddOutline-路径",
|
|
7086
7086
|
fill: "currentColor",
|
|
@@ -7088,7 +7088,7 @@ function AddOutline(props) {
|
|
|
7088
7088
|
}))));
|
|
7089
7089
|
}
|
|
7090
7090
|
function CheckCircleFill(props) {
|
|
7091
|
-
return /* @__PURE__ */ React$
|
|
7091
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7092
7092
|
width: "1em",
|
|
7093
7093
|
height: "1em",
|
|
7094
7094
|
viewBox: "0 0 48 48",
|
|
@@ -7099,15 +7099,15 @@ function CheckCircleFill(props) {
|
|
|
7099
7099
|
verticalAlign: "-0.125em"
|
|
7100
7100
|
}, props.style),
|
|
7101
7101
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7102
|
-
}), /* @__PURE__ */ React$
|
|
7102
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7103
7103
|
id: "CheckCircleFill-CheckCircleFill",
|
|
7104
7104
|
stroke: "none",
|
|
7105
7105
|
strokeWidth: 1,
|
|
7106
7106
|
fill: "none",
|
|
7107
7107
|
fillRule: "evenodd"
|
|
7108
|
-
}, /* @__PURE__ */ React$
|
|
7108
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7109
7109
|
id: "CheckCircleFill-编组"
|
|
7110
|
-
}, /* @__PURE__ */ React$
|
|
7110
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7111
7111
|
id: "CheckCircleFill-矩形",
|
|
7112
7112
|
fill: "#FFFFFF",
|
|
7113
7113
|
opacity: 0,
|
|
@@ -7115,7 +7115,7 @@ function CheckCircleFill(props) {
|
|
|
7115
7115
|
y: 0,
|
|
7116
7116
|
width: 48,
|
|
7117
7117
|
height: 48
|
|
7118
|
-
}), /* @__PURE__ */ React$
|
|
7118
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7119
7119
|
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",
|
|
7120
7120
|
id: "CheckCircleFill-形状结合",
|
|
7121
7121
|
fill: "currentColor",
|
|
@@ -7123,7 +7123,7 @@ function CheckCircleFill(props) {
|
|
|
7123
7123
|
}))));
|
|
7124
7124
|
}
|
|
7125
7125
|
function CheckOutline(props) {
|
|
7126
|
-
return /* @__PURE__ */ React$
|
|
7126
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7127
7127
|
width: "1em",
|
|
7128
7128
|
height: "1em",
|
|
7129
7129
|
viewBox: "0 0 48 48",
|
|
@@ -7134,15 +7134,15 @@ function CheckOutline(props) {
|
|
|
7134
7134
|
verticalAlign: "-0.125em"
|
|
7135
7135
|
}, props.style),
|
|
7136
7136
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7137
|
-
}), /* @__PURE__ */ React$
|
|
7137
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7138
7138
|
id: "CheckOutline-CheckOutline",
|
|
7139
7139
|
stroke: "none",
|
|
7140
7140
|
strokeWidth: 1,
|
|
7141
7141
|
fill: "none",
|
|
7142
7142
|
fillRule: "evenodd"
|
|
7143
|
-
}, /* @__PURE__ */ React$
|
|
7143
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7144
7144
|
id: "CheckOutline-编组"
|
|
7145
|
-
}, /* @__PURE__ */ React$
|
|
7145
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7146
7146
|
id: "CheckOutline-矩形",
|
|
7147
7147
|
fill: "#FFFFFF",
|
|
7148
7148
|
opacity: 0,
|
|
@@ -7150,7 +7150,7 @@ function CheckOutline(props) {
|
|
|
7150
7150
|
y: 0,
|
|
7151
7151
|
width: 48,
|
|
7152
7152
|
height: 48
|
|
7153
|
-
}), /* @__PURE__ */ React$
|
|
7153
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7154
7154
|
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",
|
|
7155
7155
|
id: "CheckOutline-路径",
|
|
7156
7156
|
fill: "currentColor",
|
|
@@ -7158,7 +7158,7 @@ function CheckOutline(props) {
|
|
|
7158
7158
|
}))));
|
|
7159
7159
|
}
|
|
7160
7160
|
function ClockCircleFill(props) {
|
|
7161
|
-
return /* @__PURE__ */ React$
|
|
7161
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7162
7162
|
width: "1em",
|
|
7163
7163
|
height: "1em",
|
|
7164
7164
|
viewBox: "0 0 48 48",
|
|
@@ -7169,15 +7169,15 @@ function ClockCircleFill(props) {
|
|
|
7169
7169
|
verticalAlign: "-0.125em"
|
|
7170
7170
|
}, props.style),
|
|
7171
7171
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7172
|
-
}), /* @__PURE__ */ React$
|
|
7172
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7173
7173
|
id: "ClockCircleFill-ClockCircleFill",
|
|
7174
7174
|
stroke: "none",
|
|
7175
7175
|
strokeWidth: 1,
|
|
7176
7176
|
fill: "none",
|
|
7177
7177
|
fillRule: "evenodd"
|
|
7178
|
-
}, /* @__PURE__ */ React$
|
|
7178
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7179
7179
|
id: "ClockCircleFill-编组"
|
|
7180
|
-
}, /* @__PURE__ */ React$
|
|
7180
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7181
7181
|
id: "ClockCircleFill-矩形",
|
|
7182
7182
|
fill: "#FFFFFF",
|
|
7183
7183
|
opacity: 0,
|
|
@@ -7185,7 +7185,7 @@ function ClockCircleFill(props) {
|
|
|
7185
7185
|
y: 0,
|
|
7186
7186
|
width: 48,
|
|
7187
7187
|
height: 48
|
|
7188
|
-
}), /* @__PURE__ */ React$
|
|
7188
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7189
7189
|
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",
|
|
7190
7190
|
id: "ClockCircleFill-形状结合",
|
|
7191
7191
|
fill: "currentColor",
|
|
@@ -7193,7 +7193,7 @@ function ClockCircleFill(props) {
|
|
|
7193
7193
|
}))));
|
|
7194
7194
|
}
|
|
7195
7195
|
function CloseCircleFill(props) {
|
|
7196
|
-
return /* @__PURE__ */ React$
|
|
7196
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7197
7197
|
width: "1em",
|
|
7198
7198
|
height: "1em",
|
|
7199
7199
|
viewBox: "0 0 48 48",
|
|
@@ -7204,15 +7204,15 @@ function CloseCircleFill(props) {
|
|
|
7204
7204
|
verticalAlign: "-0.125em"
|
|
7205
7205
|
}, props.style),
|
|
7206
7206
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7207
|
-
}), /* @__PURE__ */ React$
|
|
7207
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7208
7208
|
id: "CloseCircleFill-CloseCircleFill",
|
|
7209
7209
|
stroke: "none",
|
|
7210
7210
|
strokeWidth: 1,
|
|
7211
7211
|
fill: "none",
|
|
7212
7212
|
fillRule: "evenodd"
|
|
7213
|
-
}, /* @__PURE__ */ React$
|
|
7213
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7214
7214
|
id: "CloseCircleFill-编组"
|
|
7215
|
-
}, /* @__PURE__ */ React$
|
|
7215
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7216
7216
|
id: "CloseCircleFill-矩形",
|
|
7217
7217
|
fill: "#FFFFFF",
|
|
7218
7218
|
opacity: 0,
|
|
@@ -7220,7 +7220,7 @@ function CloseCircleFill(props) {
|
|
|
7220
7220
|
y: 0,
|
|
7221
7221
|
width: 48,
|
|
7222
7222
|
height: 48
|
|
7223
|
-
}), /* @__PURE__ */ React$
|
|
7223
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7224
7224
|
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",
|
|
7225
7225
|
id: "CloseCircleFill-形状结合",
|
|
7226
7226
|
fill: "currentColor",
|
|
@@ -7228,7 +7228,7 @@ function CloseCircleFill(props) {
|
|
|
7228
7228
|
}))));
|
|
7229
7229
|
}
|
|
7230
7230
|
function CloseOutline(props) {
|
|
7231
|
-
return /* @__PURE__ */ React$
|
|
7231
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7232
7232
|
width: "1em",
|
|
7233
7233
|
height: "1em",
|
|
7234
7234
|
viewBox: "0 0 48 48",
|
|
@@ -7239,15 +7239,15 @@ function CloseOutline(props) {
|
|
|
7239
7239
|
verticalAlign: "-0.125em"
|
|
7240
7240
|
}, props.style),
|
|
7241
7241
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7242
|
-
}), /* @__PURE__ */ React$
|
|
7242
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7243
7243
|
id: "CloseOutline-CloseOutline",
|
|
7244
7244
|
stroke: "none",
|
|
7245
7245
|
strokeWidth: 1,
|
|
7246
7246
|
fill: "none",
|
|
7247
7247
|
fillRule: "evenodd"
|
|
7248
|
-
}, /* @__PURE__ */ React$
|
|
7248
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7249
7249
|
id: "CloseOutline-编组"
|
|
7250
|
-
}, /* @__PURE__ */ React$
|
|
7250
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7251
7251
|
id: "CloseOutline-矩形",
|
|
7252
7252
|
fill: "#FFFFFF",
|
|
7253
7253
|
opacity: 0,
|
|
@@ -7255,7 +7255,7 @@ function CloseOutline(props) {
|
|
|
7255
7255
|
y: 0,
|
|
7256
7256
|
width: 48,
|
|
7257
7257
|
height: 48
|
|
7258
|
-
}), /* @__PURE__ */ React$
|
|
7258
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7259
7259
|
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",
|
|
7260
7260
|
id: "CloseOutline-路径",
|
|
7261
7261
|
fill: "currentColor",
|
|
@@ -7263,7 +7263,7 @@ function CloseOutline(props) {
|
|
|
7263
7263
|
}))));
|
|
7264
7264
|
}
|
|
7265
7265
|
function DownFill(props) {
|
|
7266
|
-
return /* @__PURE__ */ React$
|
|
7266
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7267
7267
|
width: "1em",
|
|
7268
7268
|
height: "1em",
|
|
7269
7269
|
viewBox: "0 0 48 48",
|
|
@@ -7274,15 +7274,15 @@ function DownFill(props) {
|
|
|
7274
7274
|
verticalAlign: "-0.125em"
|
|
7275
7275
|
}, props.style),
|
|
7276
7276
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7277
|
-
}), /* @__PURE__ */ React$
|
|
7277
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7278
7278
|
id: "DownFill-DownFill",
|
|
7279
7279
|
stroke: "none",
|
|
7280
7280
|
strokeWidth: 1,
|
|
7281
7281
|
fill: "none",
|
|
7282
7282
|
fillRule: "evenodd"
|
|
7283
|
-
}, /* @__PURE__ */ React$
|
|
7283
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7284
7284
|
id: "DownFill-编组"
|
|
7285
|
-
}, /* @__PURE__ */ React$
|
|
7285
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7286
7286
|
id: "DownFill-矩形",
|
|
7287
7287
|
fill: "#FFFFFF",
|
|
7288
7288
|
opacity: 0,
|
|
@@ -7290,7 +7290,7 @@ function DownFill(props) {
|
|
|
7290
7290
|
y: 0,
|
|
7291
7291
|
width: 48,
|
|
7292
7292
|
height: 48
|
|
7293
|
-
}), /* @__PURE__ */ React$
|
|
7293
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7294
7294
|
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",
|
|
7295
7295
|
id: "DownFill-路径",
|
|
7296
7296
|
fill: "currentColor",
|
|
@@ -7298,7 +7298,7 @@ function DownFill(props) {
|
|
|
7298
7298
|
}))));
|
|
7299
7299
|
}
|
|
7300
7300
|
function DownOutline(props) {
|
|
7301
|
-
return /* @__PURE__ */ React$
|
|
7301
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7302
7302
|
width: "1em",
|
|
7303
7303
|
height: "1em",
|
|
7304
7304
|
viewBox: "0 0 48 48",
|
|
@@ -7309,13 +7309,13 @@ function DownOutline(props) {
|
|
|
7309
7309
|
verticalAlign: "-0.125em"
|
|
7310
7310
|
}, props.style),
|
|
7311
7311
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7312
|
-
}), /* @__PURE__ */ React$
|
|
7312
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7313
7313
|
id: "DownOutline-DownOutline",
|
|
7314
7314
|
stroke: "none",
|
|
7315
7315
|
strokeWidth: 1,
|
|
7316
7316
|
fill: "none",
|
|
7317
7317
|
fillRule: "evenodd"
|
|
7318
|
-
}, /* @__PURE__ */ React$
|
|
7318
|
+
}, /* @__PURE__ */ React$1.createElement("g", null, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7319
7319
|
id: "DownOutline-矩形",
|
|
7320
7320
|
fill: "#FFFFFF",
|
|
7321
7321
|
opacity: 0,
|
|
@@ -7323,7 +7323,7 @@ function DownOutline(props) {
|
|
|
7323
7323
|
y: 0,
|
|
7324
7324
|
width: 48,
|
|
7325
7325
|
height: 48
|
|
7326
|
-
}), /* @__PURE__ */ React$
|
|
7326
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7327
7327
|
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",
|
|
7328
7328
|
id: "DownOutline-down",
|
|
7329
7329
|
fill: "currentColor",
|
|
@@ -7331,7 +7331,7 @@ function DownOutline(props) {
|
|
|
7331
7331
|
}))));
|
|
7332
7332
|
}
|
|
7333
7333
|
function ExclamationCircleFill(props) {
|
|
7334
|
-
return /* @__PURE__ */ React$
|
|
7334
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7335
7335
|
width: "1em",
|
|
7336
7336
|
height: "1em",
|
|
7337
7337
|
viewBox: "0 0 48 48",
|
|
@@ -7342,13 +7342,13 @@ function ExclamationCircleFill(props) {
|
|
|
7342
7342
|
verticalAlign: "-0.125em"
|
|
7343
7343
|
}, props.style),
|
|
7344
7344
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7345
|
-
}), /* @__PURE__ */ React$
|
|
7345
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7346
7346
|
id: "ExclamationCircleFill-ExclamationCircleFill",
|
|
7347
7347
|
stroke: "none",
|
|
7348
7348
|
strokeWidth: 1,
|
|
7349
7349
|
fill: "none",
|
|
7350
7350
|
fillRule: "evenodd"
|
|
7351
|
-
}, /* @__PURE__ */ React$
|
|
7351
|
+
}, /* @__PURE__ */ React$1.createElement("g", null, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7352
7352
|
id: "ExclamationCircleFill-矩形",
|
|
7353
7353
|
fill: "#D76060",
|
|
7354
7354
|
opacity: 0,
|
|
@@ -7356,7 +7356,7 @@ function ExclamationCircleFill(props) {
|
|
|
7356
7356
|
y: 0,
|
|
7357
7357
|
width: 48,
|
|
7358
7358
|
height: 48
|
|
7359
|
-
}), /* @__PURE__ */ React$
|
|
7359
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7360
7360
|
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",
|
|
7361
7361
|
id: "ExclamationCircleFill-形状结合",
|
|
7362
7362
|
fill: "currentColor",
|
|
@@ -7364,7 +7364,7 @@ function ExclamationCircleFill(props) {
|
|
|
7364
7364
|
}))));
|
|
7365
7365
|
}
|
|
7366
7366
|
function InformationCircleFill(props) {
|
|
7367
|
-
return /* @__PURE__ */ React$
|
|
7367
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7368
7368
|
width: "1em",
|
|
7369
7369
|
height: "1em",
|
|
7370
7370
|
viewBox: "0 0 48 48",
|
|
@@ -7375,15 +7375,15 @@ function InformationCircleFill(props) {
|
|
|
7375
7375
|
verticalAlign: "-0.125em"
|
|
7376
7376
|
}, props.style),
|
|
7377
7377
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7378
|
-
}), /* @__PURE__ */ React$
|
|
7378
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7379
7379
|
id: "InformationCircleFill-InformationCircleFill",
|
|
7380
7380
|
stroke: "none",
|
|
7381
7381
|
strokeWidth: 1,
|
|
7382
7382
|
fill: "none",
|
|
7383
7383
|
fillRule: "evenodd"
|
|
7384
|
-
}, /* @__PURE__ */ React$
|
|
7384
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7385
7385
|
id: "InformationCircleFill-编组"
|
|
7386
|
-
}, /* @__PURE__ */ React$
|
|
7386
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7387
7387
|
id: "InformationCircleFill-矩形",
|
|
7388
7388
|
fill: "#FFFFFF",
|
|
7389
7389
|
opacity: 0,
|
|
@@ -7391,7 +7391,7 @@ function InformationCircleFill(props) {
|
|
|
7391
7391
|
y: 0,
|
|
7392
7392
|
width: 48,
|
|
7393
7393
|
height: 48
|
|
7394
|
-
}), /* @__PURE__ */ React$
|
|
7394
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7395
7395
|
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",
|
|
7396
7396
|
id: "InformationCircleFill-形状结合",
|
|
7397
7397
|
fill: "currentColor",
|
|
@@ -7399,7 +7399,7 @@ function InformationCircleFill(props) {
|
|
|
7399
7399
|
}))));
|
|
7400
7400
|
}
|
|
7401
7401
|
function LeftOutline(props) {
|
|
7402
|
-
return /* @__PURE__ */ React$
|
|
7402
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7403
7403
|
width: "1em",
|
|
7404
7404
|
height: "1em",
|
|
7405
7405
|
viewBox: "0 0 48 48",
|
|
@@ -7410,15 +7410,15 @@ function LeftOutline(props) {
|
|
|
7410
7410
|
verticalAlign: "-0.125em"
|
|
7411
7411
|
}, props.style),
|
|
7412
7412
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7413
|
-
}), /* @__PURE__ */ React$
|
|
7413
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7414
7414
|
id: "LeftOutline-LeftOutline",
|
|
7415
7415
|
stroke: "none",
|
|
7416
7416
|
strokeWidth: 1,
|
|
7417
7417
|
fill: "none",
|
|
7418
7418
|
fillRule: "evenodd"
|
|
7419
|
-
}, /* @__PURE__ */ React$
|
|
7419
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7420
7420
|
id: "LeftOutline-编组"
|
|
7421
|
-
}, /* @__PURE__ */ React$
|
|
7421
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7422
7422
|
id: "LeftOutline-矩形",
|
|
7423
7423
|
fill: "#FFFFFF",
|
|
7424
7424
|
opacity: 0,
|
|
@@ -7426,7 +7426,7 @@ function LeftOutline(props) {
|
|
|
7426
7426
|
y: 0,
|
|
7427
7427
|
width: 48,
|
|
7428
7428
|
height: 48
|
|
7429
|
-
}), /* @__PURE__ */ React$
|
|
7429
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7430
7430
|
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",
|
|
7431
7431
|
id: "LeftOutline-路径",
|
|
7432
7432
|
fill: "currentColor",
|
|
@@ -7434,7 +7434,7 @@ function LeftOutline(props) {
|
|
|
7434
7434
|
}))));
|
|
7435
7435
|
}
|
|
7436
7436
|
function MinusOutline(props) {
|
|
7437
|
-
return /* @__PURE__ */ React$
|
|
7437
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7438
7438
|
width: "1em",
|
|
7439
7439
|
height: "1em",
|
|
7440
7440
|
viewBox: "0 0 48 48",
|
|
@@ -7445,15 +7445,15 @@ function MinusOutline(props) {
|
|
|
7445
7445
|
verticalAlign: "-0.125em"
|
|
7446
7446
|
}, props.style),
|
|
7447
7447
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7448
|
-
}), /* @__PURE__ */ React$
|
|
7448
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7449
7449
|
id: "MinusOutline-MinusOutline",
|
|
7450
7450
|
stroke: "none",
|
|
7451
7451
|
strokeWidth: 1,
|
|
7452
7452
|
fill: "none",
|
|
7453
7453
|
fillRule: "evenodd"
|
|
7454
|
-
}, /* @__PURE__ */ React$
|
|
7454
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7455
7455
|
id: "MinusOutline-add"
|
|
7456
|
-
}, /* @__PURE__ */ React$
|
|
7456
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7457
7457
|
id: "MinusOutline-矩形",
|
|
7458
7458
|
fill: "#FFFFFF",
|
|
7459
7459
|
opacity: 0,
|
|
@@ -7461,7 +7461,7 @@ function MinusOutline(props) {
|
|
|
7461
7461
|
y: 0,
|
|
7462
7462
|
width: 48,
|
|
7463
7463
|
height: 48
|
|
7464
|
-
}), /* @__PURE__ */ React$
|
|
7464
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7465
7465
|
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",
|
|
7466
7466
|
id: "MinusOutline-路径",
|
|
7467
7467
|
fill: "currentColor",
|
|
@@ -7469,7 +7469,7 @@ function MinusOutline(props) {
|
|
|
7469
7469
|
}))));
|
|
7470
7470
|
}
|
|
7471
7471
|
function QuestionCircleOutline(props) {
|
|
7472
|
-
return /* @__PURE__ */ React$
|
|
7472
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7473
7473
|
width: "1em",
|
|
7474
7474
|
height: "1em",
|
|
7475
7475
|
viewBox: "0 0 48 48",
|
|
@@ -7480,15 +7480,15 @@ function QuestionCircleOutline(props) {
|
|
|
7480
7480
|
verticalAlign: "-0.125em"
|
|
7481
7481
|
}, props.style),
|
|
7482
7482
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7483
|
-
}), /* @__PURE__ */ React$
|
|
7483
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7484
7484
|
id: "QuestionCircleOutline-QuestionCircleOutline",
|
|
7485
7485
|
stroke: "none",
|
|
7486
7486
|
strokeWidth: 1,
|
|
7487
7487
|
fill: "none",
|
|
7488
7488
|
fillRule: "evenodd"
|
|
7489
|
-
}, /* @__PURE__ */ React$
|
|
7489
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7490
7490
|
id: "QuestionCircleOutline-编组"
|
|
7491
|
-
}, /* @__PURE__ */ React$
|
|
7491
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7492
7492
|
id: "QuestionCircleOutline-矩形",
|
|
7493
7493
|
fill: "#FFFFFF",
|
|
7494
7494
|
opacity: 0,
|
|
@@ -7496,7 +7496,7 @@ function QuestionCircleOutline(props) {
|
|
|
7496
7496
|
y: 0,
|
|
7497
7497
|
width: 48,
|
|
7498
7498
|
height: 48
|
|
7499
|
-
}), /* @__PURE__ */ React$
|
|
7499
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7500
7500
|
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",
|
|
7501
7501
|
id: "QuestionCircleOutline-形状",
|
|
7502
7502
|
fill: "currentColor",
|
|
@@ -7504,7 +7504,7 @@ function QuestionCircleOutline(props) {
|
|
|
7504
7504
|
}))));
|
|
7505
7505
|
}
|
|
7506
7506
|
function RightOutline(props) {
|
|
7507
|
-
return /* @__PURE__ */ React$
|
|
7507
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7508
7508
|
width: "1em",
|
|
7509
7509
|
height: "1em",
|
|
7510
7510
|
viewBox: "0 0 48 48",
|
|
@@ -7515,15 +7515,15 @@ function RightOutline(props) {
|
|
|
7515
7515
|
verticalAlign: "-0.125em"
|
|
7516
7516
|
}, props.style),
|
|
7517
7517
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7518
|
-
}), /* @__PURE__ */ React$
|
|
7518
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7519
7519
|
id: "RightOutline-RightOutline",
|
|
7520
7520
|
stroke: "none",
|
|
7521
7521
|
strokeWidth: 1,
|
|
7522
7522
|
fill: "none",
|
|
7523
7523
|
fillRule: "evenodd"
|
|
7524
|
-
}, /* @__PURE__ */ React$
|
|
7524
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7525
7525
|
id: "RightOutline-RightOutlined"
|
|
7526
|
-
}, /* @__PURE__ */ React$
|
|
7526
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7527
7527
|
id: "RightOutline-矩形",
|
|
7528
7528
|
fill: "#FFFFFF",
|
|
7529
7529
|
opacity: 0,
|
|
@@ -7531,7 +7531,7 @@ function RightOutline(props) {
|
|
|
7531
7531
|
y: 0,
|
|
7532
7532
|
width: 48,
|
|
7533
7533
|
height: 48
|
|
7534
|
-
}), /* @__PURE__ */ React$
|
|
7534
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7535
7535
|
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",
|
|
7536
7536
|
id: "RightOutline-right",
|
|
7537
7537
|
fill: "currentColor",
|
|
@@ -7539,7 +7539,7 @@ function RightOutline(props) {
|
|
|
7539
7539
|
}))));
|
|
7540
7540
|
}
|
|
7541
7541
|
function SearchOutline(props) {
|
|
7542
|
-
return /* @__PURE__ */ React$
|
|
7542
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7543
7543
|
width: "1em",
|
|
7544
7544
|
height: "1em",
|
|
7545
7545
|
viewBox: "0 0 48 48",
|
|
@@ -7550,15 +7550,15 @@ function SearchOutline(props) {
|
|
|
7550
7550
|
verticalAlign: "-0.125em"
|
|
7551
7551
|
}, props.style),
|
|
7552
7552
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7553
|
-
}), /* @__PURE__ */ React$
|
|
7553
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7554
7554
|
id: "SearchOutline-SearchOutline",
|
|
7555
7555
|
stroke: "none",
|
|
7556
7556
|
strokeWidth: 1,
|
|
7557
7557
|
fill: "none",
|
|
7558
7558
|
fillRule: "evenodd"
|
|
7559
|
-
}, /* @__PURE__ */ React$
|
|
7559
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7560
7560
|
id: "SearchOutline-编组"
|
|
7561
|
-
}, /* @__PURE__ */ React$
|
|
7561
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7562
7562
|
id: "SearchOutline-矩形",
|
|
7563
7563
|
fill: "#FFFFFF",
|
|
7564
7564
|
opacity: 0,
|
|
@@ -7566,7 +7566,7 @@ function SearchOutline(props) {
|
|
|
7566
7566
|
y: 0,
|
|
7567
7567
|
width: 48,
|
|
7568
7568
|
height: 48
|
|
7569
|
-
}), /* @__PURE__ */ React$
|
|
7569
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7570
7570
|
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",
|
|
7571
7571
|
id: "SearchOutline-形状",
|
|
7572
7572
|
fill: "currentColor",
|
|
@@ -7574,7 +7574,7 @@ function SearchOutline(props) {
|
|
|
7574
7574
|
}))));
|
|
7575
7575
|
}
|
|
7576
7576
|
function SoundOutline(props) {
|
|
7577
|
-
return /* @__PURE__ */ React$
|
|
7577
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7578
7578
|
width: "1em",
|
|
7579
7579
|
height: "1em",
|
|
7580
7580
|
viewBox: "0 0 48 48",
|
|
@@ -7585,15 +7585,15 @@ function SoundOutline(props) {
|
|
|
7585
7585
|
verticalAlign: "-0.125em"
|
|
7586
7586
|
}, props.style),
|
|
7587
7587
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7588
|
-
}), /* @__PURE__ */ React$
|
|
7588
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7589
7589
|
id: "SoundOutline-SoundOutline",
|
|
7590
7590
|
stroke: "none",
|
|
7591
7591
|
strokeWidth: 1,
|
|
7592
7592
|
fill: "none",
|
|
7593
7593
|
fillRule: "evenodd"
|
|
7594
|
-
}, /* @__PURE__ */ React$
|
|
7594
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7595
7595
|
id: "SoundOutline-编组"
|
|
7596
|
-
}, /* @__PURE__ */ React$
|
|
7596
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7597
7597
|
id: "SoundOutline-矩形",
|
|
7598
7598
|
fill: "#FFFFFF",
|
|
7599
7599
|
opacity: 0,
|
|
@@ -7601,7 +7601,7 @@ function SoundOutline(props) {
|
|
|
7601
7601
|
y: 0,
|
|
7602
7602
|
width: 48,
|
|
7603
7603
|
height: 48
|
|
7604
|
-
}), /* @__PURE__ */ React$
|
|
7604
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7605
7605
|
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",
|
|
7606
7606
|
id: "SoundOutline-形状",
|
|
7607
7607
|
fill: "currentColor",
|
|
@@ -7609,7 +7609,7 @@ function SoundOutline(props) {
|
|
|
7609
7609
|
}))));
|
|
7610
7610
|
}
|
|
7611
7611
|
function TextDeletionOutline(props) {
|
|
7612
|
-
return /* @__PURE__ */ React$
|
|
7612
|
+
return /* @__PURE__ */ React$1.createElement("svg", Object.assign({
|
|
7613
7613
|
width: "1em",
|
|
7614
7614
|
height: "1em",
|
|
7615
7615
|
viewBox: "0 0 48 48",
|
|
@@ -7620,15 +7620,15 @@ function TextDeletionOutline(props) {
|
|
|
7620
7620
|
verticalAlign: "-0.125em"
|
|
7621
7621
|
}, props.style),
|
|
7622
7622
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
7623
|
-
}), /* @__PURE__ */ React$
|
|
7623
|
+
}), /* @__PURE__ */ React$1.createElement("g", {
|
|
7624
7624
|
id: "TextDeletionOutline-TextDeletionOutline",
|
|
7625
7625
|
stroke: "none",
|
|
7626
7626
|
strokeWidth: 1,
|
|
7627
7627
|
fill: "none",
|
|
7628
7628
|
fillRule: "evenodd"
|
|
7629
|
-
}, /* @__PURE__ */ React$
|
|
7629
|
+
}, /* @__PURE__ */ React$1.createElement("g", {
|
|
7630
7630
|
id: "TextDeletionOutline-编组"
|
|
7631
|
-
}, /* @__PURE__ */ React$
|
|
7631
|
+
}, /* @__PURE__ */ React$1.createElement("rect", {
|
|
7632
7632
|
id: "TextDeletionOutline-矩形",
|
|
7633
7633
|
fill: "#FFFFFF",
|
|
7634
7634
|
opacity: 0,
|
|
@@ -7636,7 +7636,7 @@ function TextDeletionOutline(props) {
|
|
|
7636
7636
|
y: 0,
|
|
7637
7637
|
width: 48,
|
|
7638
7638
|
height: 48
|
|
7639
|
-
}), /* @__PURE__ */ React$
|
|
7639
|
+
}), /* @__PURE__ */ React$1.createElement("path", {
|
|
7640
7640
|
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",
|
|
7641
7641
|
id: "TextDeletionOutline-形状结合",
|
|
7642
7642
|
fill: "currentColor",
|
|
@@ -7655,7 +7655,7 @@ const defaultPopupBaseProps = {
|
|
|
7655
7655
|
visible: false
|
|
7656
7656
|
};
|
|
7657
7657
|
function useInnerVisible(outerVisible) {
|
|
7658
|
-
const [innerVisible, setInnerVisible] = useState
|
|
7658
|
+
const [innerVisible, setInnerVisible] = useState(outerVisible);
|
|
7659
7659
|
useIsomorphicLayoutEffect$2(() => {
|
|
7660
7660
|
setInnerVisible(outerVisible);
|
|
7661
7661
|
}, [outerVisible]);
|
|
@@ -9507,7 +9507,7 @@ const Popup = (p) => {
|
|
|
9507
9507
|
const {
|
|
9508
9508
|
locale
|
|
9509
9509
|
} = useConfig();
|
|
9510
|
-
const [active, setActive] = useState
|
|
9510
|
+
const [active, setActive] = useState(props.visible);
|
|
9511
9511
|
const ref = useRef(null);
|
|
9512
9512
|
useLockScroll(ref, props.disableBodyScroll && active ? "strict" : false);
|
|
9513
9513
|
useIsomorphicLayoutEffect$2(() => {
|
|
@@ -9688,9 +9688,9 @@ function renderToBody(element) {
|
|
|
9688
9688
|
}
|
|
9689
9689
|
function renderImperatively(element) {
|
|
9690
9690
|
const Wrapper2 = React__default.forwardRef((_, ref) => {
|
|
9691
|
-
const [visible, setVisible] = useState
|
|
9691
|
+
const [visible, setVisible] = useState(false);
|
|
9692
9692
|
const closedRef = useRef(false);
|
|
9693
|
-
const [elementToRender, setElementToRender] = useState
|
|
9693
|
+
const [elementToRender, setElementToRender] = useState(element);
|
|
9694
9694
|
const keyRef = useRef(0);
|
|
9695
9695
|
useEffect(() => {
|
|
9696
9696
|
if (!closedRef.current) {
|
|
@@ -9943,13 +9943,13 @@ const defaultProps$12 = {
|
|
|
9943
9943
|
};
|
|
9944
9944
|
const Image$1 = staged_1((p) => {
|
|
9945
9945
|
const props = mergeProps(defaultProps$12, p);
|
|
9946
|
-
const [loaded, setLoaded] = useState
|
|
9947
|
-
const [failed, setFailed] = useState
|
|
9946
|
+
const [loaded, setLoaded] = useState(false);
|
|
9947
|
+
const [failed, setFailed] = useState(false);
|
|
9948
9948
|
const ref = useRef(null);
|
|
9949
9949
|
const imgRef = useRef(null);
|
|
9950
9950
|
let src = props.src;
|
|
9951
9951
|
let srcSet = props.srcSet;
|
|
9952
|
-
const [initialized, setInitialized] = useState
|
|
9952
|
+
const [initialized, setInitialized] = useState(!props.lazy);
|
|
9953
9953
|
src = initialized ? props.src : void 0;
|
|
9954
9954
|
srcSet = initialized ? props.srcSet : void 0;
|
|
9955
9955
|
useIsomorphicUpdateLayoutEffect(() => {
|
|
@@ -10125,7 +10125,7 @@ function isPromise(obj) {
|
|
|
10125
10125
|
return !!obj && typeof obj === "object" && typeof obj.then === "function";
|
|
10126
10126
|
}
|
|
10127
10127
|
function isIOS() {
|
|
10128
|
-
return canUseDom$
|
|
10128
|
+
return canUseDom$1 ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : false;
|
|
10129
10129
|
}
|
|
10130
10130
|
const classPrefix$1g = `adm-button`;
|
|
10131
10131
|
const defaultProps$$ = {
|
|
@@ -10142,7 +10142,7 @@ const defaultProps$$ = {
|
|
|
10142
10142
|
};
|
|
10143
10143
|
const Button = forwardRef((p, ref) => {
|
|
10144
10144
|
const props = mergeProps(defaultProps$$, p);
|
|
10145
|
-
const [innerLoading, setInnerLoading] = useState
|
|
10145
|
+
const [innerLoading, setInnerLoading] = useState(false);
|
|
10146
10146
|
const nativeButtonRef = useRef(null);
|
|
10147
10147
|
const loading = props.loading === "auto" ? innerLoading : props.loading;
|
|
10148
10148
|
const disabled = props.disabled || loading;
|
|
@@ -10357,8 +10357,8 @@ const Calendar = forwardRef((p, ref) => {
|
|
|
10357
10357
|
}
|
|
10358
10358
|
}
|
|
10359
10359
|
});
|
|
10360
|
-
const [intermediate, setIntermediate] = useState
|
|
10361
|
-
const [current, setCurrent] = useState
|
|
10360
|
+
const [intermediate, setIntermediate] = useState(false);
|
|
10361
|
+
const [current, setCurrent] = useState(() => dayjs(dateRange ? dateRange[0] : today).date(1));
|
|
10362
10362
|
useUpdateEffect(() => {
|
|
10363
10363
|
var _a;
|
|
10364
10364
|
(_a = props.onPageChange) === null || _a === void 0 ? void 0 : _a.call(props, current.year(), current.month() + 1);
|
|
@@ -10606,8 +10606,8 @@ const CalendarPickerView = forwardRef((p, ref) => {
|
|
|
10606
10606
|
}
|
|
10607
10607
|
}
|
|
10608
10608
|
});
|
|
10609
|
-
const [intermediate, setIntermediate] = useState
|
|
10610
|
-
const [current, setCurrent] = useState
|
|
10609
|
+
const [intermediate, setIntermediate] = useState(false);
|
|
10610
|
+
const [current, setCurrent] = useState(() => dayjs(dateRange ? dateRange[0] : today).date(1));
|
|
10611
10611
|
useImperativeHandle(ref, () => ({
|
|
10612
10612
|
jumpTo: (pageOrPageGenerator) => {
|
|
10613
10613
|
let page;
|
|
@@ -10996,8 +10996,8 @@ const ScrollMask = (props) => {
|
|
|
10996
10996
|
}
|
|
10997
10997
|
}));
|
|
10998
10998
|
};
|
|
10999
|
-
var reactIs
|
|
11000
|
-
var reactIs_development
|
|
10999
|
+
var reactIs = { exports: {} };
|
|
11000
|
+
var reactIs_development = {};
|
|
11001
11001
|
/**
|
|
11002
11002
|
* @license React
|
|
11003
11003
|
* react-is.development.js
|
|
@@ -11151,45 +11151,45 @@ var reactIs_development$1 = {};
|
|
|
11151
11151
|
function isSuspenseList(object4) {
|
|
11152
11152
|
return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
|
|
11153
11153
|
}
|
|
11154
|
-
reactIs_development
|
|
11155
|
-
reactIs_development
|
|
11156
|
-
reactIs_development
|
|
11157
|
-
reactIs_development
|
|
11158
|
-
reactIs_development
|
|
11159
|
-
reactIs_development
|
|
11160
|
-
reactIs_development
|
|
11161
|
-
reactIs_development
|
|
11162
|
-
reactIs_development
|
|
11163
|
-
reactIs_development
|
|
11164
|
-
reactIs_development
|
|
11165
|
-
reactIs_development
|
|
11166
|
-
reactIs_development
|
|
11167
|
-
reactIs_development
|
|
11168
|
-
reactIs_development
|
|
11169
|
-
reactIs_development
|
|
11170
|
-
reactIs_development
|
|
11171
|
-
reactIs_development
|
|
11172
|
-
reactIs_development
|
|
11173
|
-
reactIs_development
|
|
11174
|
-
reactIs_development
|
|
11175
|
-
reactIs_development
|
|
11176
|
-
reactIs_development
|
|
11177
|
-
reactIs_development
|
|
11178
|
-
reactIs_development
|
|
11179
|
-
reactIs_development
|
|
11180
|
-
reactIs_development
|
|
11181
|
-
reactIs_development
|
|
11154
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
11155
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
11156
|
+
reactIs_development.Element = Element2;
|
|
11157
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
11158
|
+
reactIs_development.Fragment = Fragment;
|
|
11159
|
+
reactIs_development.Lazy = Lazy;
|
|
11160
|
+
reactIs_development.Memo = Memo;
|
|
11161
|
+
reactIs_development.Portal = Portal;
|
|
11162
|
+
reactIs_development.Profiler = Profiler;
|
|
11163
|
+
reactIs_development.StrictMode = StrictMode;
|
|
11164
|
+
reactIs_development.Suspense = Suspense;
|
|
11165
|
+
reactIs_development.SuspenseList = SuspenseList;
|
|
11166
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
11167
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
11168
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
11169
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
11170
|
+
reactIs_development.isElement = isElement2;
|
|
11171
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
11172
|
+
reactIs_development.isFragment = isFragment;
|
|
11173
|
+
reactIs_development.isLazy = isLazy;
|
|
11174
|
+
reactIs_development.isMemo = isMemo;
|
|
11175
|
+
reactIs_development.isPortal = isPortal;
|
|
11176
|
+
reactIs_development.isProfiler = isProfiler;
|
|
11177
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
11178
|
+
reactIs_development.isSuspense = isSuspense;
|
|
11179
|
+
reactIs_development.isSuspenseList = isSuspenseList;
|
|
11180
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
11181
|
+
reactIs_development.typeOf = typeOf;
|
|
11182
11182
|
})();
|
|
11183
11183
|
}
|
|
11184
11184
|
{
|
|
11185
|
-
reactIs
|
|
11185
|
+
reactIs.exports = reactIs_development;
|
|
11186
11186
|
}
|
|
11187
|
-
var reactIsExports
|
|
11187
|
+
var reactIsExports = reactIs.exports;
|
|
11188
11188
|
function traverseReactNode(children, fn) {
|
|
11189
11189
|
let i2 = 0;
|
|
11190
11190
|
function handle(target) {
|
|
11191
11191
|
React__default.Children.forEach(target, (child) => {
|
|
11192
|
-
if (!reactIsExports
|
|
11192
|
+
if (!reactIsExports.isFragment(child)) {
|
|
11193
11193
|
fn(child, i2);
|
|
11194
11194
|
i2 += 1;
|
|
11195
11195
|
} else {
|
|
@@ -11855,7 +11855,7 @@ const defaultProps$V = {
|
|
|
11855
11855
|
};
|
|
11856
11856
|
const PickerView = memo((p) => {
|
|
11857
11857
|
const props = mergeProps(defaultProps$V, p);
|
|
11858
|
-
const [innerValue, setInnerValue] = useState
|
|
11858
|
+
const [innerValue, setInnerValue] = useState(props.value === void 0 ? props.defaultValue : props.value);
|
|
11859
11859
|
useEffect(() => {
|
|
11860
11860
|
if (props.value === void 0)
|
|
11861
11861
|
return;
|
|
@@ -11962,7 +11962,7 @@ const Picker$1 = memo(forwardRef((p, ref) => {
|
|
|
11962
11962
|
}
|
|
11963
11963
|
}));
|
|
11964
11964
|
const extend = useColumnsExtend(props.columns, value);
|
|
11965
|
-
const [innerValue, setInnerValue] = useState
|
|
11965
|
+
const [innerValue, setInnerValue] = useState(value);
|
|
11966
11966
|
useEffect(() => {
|
|
11967
11967
|
if (innerValue !== value) {
|
|
11968
11968
|
setInnerValue(value);
|
|
@@ -12043,7 +12043,7 @@ Picker$1.displayName = "Picker";
|
|
|
12043
12043
|
function prompt$3(props) {
|
|
12044
12044
|
return new Promise((resolve) => {
|
|
12045
12045
|
const Wrapper2 = () => {
|
|
12046
|
-
const [visible, setVisible] = useState
|
|
12046
|
+
const [visible, setVisible] = useState(false);
|
|
12047
12047
|
useEffect(() => {
|
|
12048
12048
|
setVisible(true);
|
|
12049
12049
|
}, []);
|
|
@@ -12125,7 +12125,7 @@ const CascadePicker = forwardRef((props, ref) => {
|
|
|
12125
12125
|
function prompt$2(props) {
|
|
12126
12126
|
return new Promise((resolve) => {
|
|
12127
12127
|
const Wrapper2 = () => {
|
|
12128
|
-
const [visible, setVisible] = useState
|
|
12128
|
+
const [visible, setVisible] = useState(false);
|
|
12129
12129
|
useEffect(() => {
|
|
12130
12130
|
setVisible(true);
|
|
12131
12131
|
}, []);
|
|
@@ -12689,7 +12689,7 @@ const CascaderView$1 = (p) => {
|
|
|
12689
12689
|
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, val, generateValueExtend(val));
|
|
12690
12690
|
}
|
|
12691
12691
|
}));
|
|
12692
|
-
const [tabActiveIndex, setTabActiveIndex] = useState
|
|
12692
|
+
const [tabActiveIndex, setTabActiveIndex] = useState(0);
|
|
12693
12693
|
const levels = useMemo(() => {
|
|
12694
12694
|
const ret = [];
|
|
12695
12695
|
let currentOptions = props.options;
|
|
@@ -12839,7 +12839,7 @@ const Cascader = forwardRef((p, ref) => {
|
|
|
12839
12839
|
valueName,
|
|
12840
12840
|
childrenName
|
|
12841
12841
|
});
|
|
12842
|
-
const [innerValue, setInnerValue] = useState
|
|
12842
|
+
const [innerValue, setInnerValue] = useState(value);
|
|
12843
12843
|
useEffect(() => {
|
|
12844
12844
|
if (!visible) {
|
|
12845
12845
|
setInnerValue(value);
|
|
@@ -12897,7 +12897,7 @@ const Cascader = forwardRef((p, ref) => {
|
|
|
12897
12897
|
function prompt$1(props) {
|
|
12898
12898
|
return new Promise((resolve) => {
|
|
12899
12899
|
const Wrapper2 = () => {
|
|
12900
|
-
const [visible, setVisible] = useState
|
|
12900
|
+
const [visible, setVisible] = useState(false);
|
|
12901
12901
|
useEffect(() => {
|
|
12902
12902
|
setVisible(true);
|
|
12903
12903
|
}, []);
|
|
@@ -12956,7 +12956,7 @@ const CenterPopup = (p) => {
|
|
|
12956
12956
|
}
|
|
12957
12957
|
}
|
|
12958
12958
|
});
|
|
12959
|
-
const [active, setActive] = useState
|
|
12959
|
+
const [active, setActive] = useState(props.visible);
|
|
12960
12960
|
useIsomorphicLayoutEffect$2(() => {
|
|
12961
12961
|
if (props.visible) {
|
|
12962
12962
|
setActive(true);
|
|
@@ -13714,7 +13714,7 @@ const DatePicker = forwardRef((p, ref) => {
|
|
|
13714
13714
|
function prompt(props) {
|
|
13715
13715
|
return new Promise((resolve) => {
|
|
13716
13716
|
const Wrapper2 = () => {
|
|
13717
|
-
const [visible, setVisible] = useState
|
|
13717
|
+
const [visible, setVisible] = useState(false);
|
|
13718
13718
|
useEffect(() => {
|
|
13719
13719
|
setVisible(true);
|
|
13720
13720
|
}, []);
|
|
@@ -14008,7 +14008,7 @@ const Dropdown = forwardRef((p, ref) => {
|
|
|
14008
14008
|
return;
|
|
14009
14009
|
setValue2(null);
|
|
14010
14010
|
}, [navRef, contentRef]);
|
|
14011
|
-
const [top, setTop] = useState
|
|
14011
|
+
const [top, setTop] = useState();
|
|
14012
14012
|
const containerRef = useRef(null);
|
|
14013
14013
|
useEffect(() => {
|
|
14014
14014
|
const container = containerRef.current;
|
|
@@ -14167,9 +14167,9 @@ const Ellipsis = (p) => {
|
|
|
14167
14167
|
const rootRef = useRef(null);
|
|
14168
14168
|
const expandElRef = useRef(null);
|
|
14169
14169
|
const collapseElRef = useRef(null);
|
|
14170
|
-
const [ellipsised, setEllipsised] = useState
|
|
14171
|
-
const [expanded, setExpanded] = useState
|
|
14172
|
-
const [exceeded, setExceeded] = useState
|
|
14170
|
+
const [ellipsised, setEllipsised] = useState({});
|
|
14171
|
+
const [expanded, setExpanded] = useState(props.defaultExpanded);
|
|
14172
|
+
const [exceeded, setExceeded] = useState(false);
|
|
14173
14173
|
const chars = useMemo(() => runes(props.content), [props.content]);
|
|
14174
14174
|
function getSubString(start2, end) {
|
|
14175
14175
|
return chars.slice(start2, end).join("");
|
|
@@ -14900,7 +14900,7 @@ const FloatingBubble = (p) => {
|
|
|
14900
14900
|
const props = mergeProps(defaultProps$E, p);
|
|
14901
14901
|
const boundaryRef = useRef(null);
|
|
14902
14902
|
const buttonRef = useRef(null);
|
|
14903
|
-
const [innerValue, setInnerValue] = useState
|
|
14903
|
+
const [innerValue, setInnerValue] = useState(props.offset === void 0 ? props.defaultOffset : props.offset);
|
|
14904
14904
|
useEffect(() => {
|
|
14905
14905
|
if (props.offset === void 0)
|
|
14906
14906
|
return;
|
|
@@ -15010,7 +15010,7 @@ const FloatingPanel = forwardRef((p, ref) => {
|
|
|
15010
15010
|
const elementRef = useRef(null);
|
|
15011
15011
|
const headerRef = useRef(null);
|
|
15012
15012
|
const contentRef = useRef(null);
|
|
15013
|
-
const [pulling, setPulling] = useState
|
|
15013
|
+
const [pulling, setPulling] = useState(false);
|
|
15014
15014
|
const pullingRef = useRef(false);
|
|
15015
15015
|
const bounds = {
|
|
15016
15016
|
top: possibles[possibles.length - 1],
|
|
@@ -15351,167 +15351,6 @@ function _createSuper(Derived) {
|
|
|
15351
15351
|
return _possibleConstructorReturn(this, result);
|
|
15352
15352
|
};
|
|
15353
15353
|
}
|
|
15354
|
-
var reactIs = { exports: {} };
|
|
15355
|
-
var reactIs_development = {};
|
|
15356
|
-
/** @license React v16.13.1
|
|
15357
|
-
* react-is.development.js
|
|
15358
|
-
*
|
|
15359
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15360
|
-
*
|
|
15361
|
-
* This source code is licensed under the MIT license found in the
|
|
15362
|
-
* LICENSE file in the root directory of this source tree.
|
|
15363
|
-
*/
|
|
15364
|
-
{
|
|
15365
|
-
(function() {
|
|
15366
|
-
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
|
15367
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
|
15368
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
|
15369
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
|
15370
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
|
15371
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
|
15372
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
|
15373
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
|
15374
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
|
15375
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
|
15376
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
|
15377
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
|
15378
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
|
15379
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
|
15380
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
|
15381
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
|
15382
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
|
15383
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
|
15384
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
|
15385
|
-
function isValidElementType(type4) {
|
|
15386
|
-
return typeof type4 === "string" || typeof type4 === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
15387
|
-
type4 === REACT_FRAGMENT_TYPE || type4 === REACT_CONCURRENT_MODE_TYPE || type4 === REACT_PROFILER_TYPE || type4 === REACT_STRICT_MODE_TYPE || type4 === REACT_SUSPENSE_TYPE || type4 === REACT_SUSPENSE_LIST_TYPE || typeof type4 === "object" && type4 !== null && (type4.$$typeof === REACT_LAZY_TYPE || type4.$$typeof === REACT_MEMO_TYPE || type4.$$typeof === REACT_PROVIDER_TYPE || type4.$$typeof === REACT_CONTEXT_TYPE || type4.$$typeof === REACT_FORWARD_REF_TYPE || type4.$$typeof === REACT_FUNDAMENTAL_TYPE || type4.$$typeof === REACT_RESPONDER_TYPE || type4.$$typeof === REACT_SCOPE_TYPE || type4.$$typeof === REACT_BLOCK_TYPE);
|
|
15388
|
-
}
|
|
15389
|
-
function typeOf(object4) {
|
|
15390
|
-
if (typeof object4 === "object" && object4 !== null) {
|
|
15391
|
-
var $$typeof = object4.$$typeof;
|
|
15392
|
-
switch ($$typeof) {
|
|
15393
|
-
case REACT_ELEMENT_TYPE:
|
|
15394
|
-
var type4 = object4.type;
|
|
15395
|
-
switch (type4) {
|
|
15396
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
15397
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
15398
|
-
case REACT_FRAGMENT_TYPE:
|
|
15399
|
-
case REACT_PROFILER_TYPE:
|
|
15400
|
-
case REACT_STRICT_MODE_TYPE:
|
|
15401
|
-
case REACT_SUSPENSE_TYPE:
|
|
15402
|
-
return type4;
|
|
15403
|
-
default:
|
|
15404
|
-
var $$typeofType = type4 && type4.$$typeof;
|
|
15405
|
-
switch ($$typeofType) {
|
|
15406
|
-
case REACT_CONTEXT_TYPE:
|
|
15407
|
-
case REACT_FORWARD_REF_TYPE:
|
|
15408
|
-
case REACT_LAZY_TYPE:
|
|
15409
|
-
case REACT_MEMO_TYPE:
|
|
15410
|
-
case REACT_PROVIDER_TYPE:
|
|
15411
|
-
return $$typeofType;
|
|
15412
|
-
default:
|
|
15413
|
-
return $$typeof;
|
|
15414
|
-
}
|
|
15415
|
-
}
|
|
15416
|
-
case REACT_PORTAL_TYPE:
|
|
15417
|
-
return $$typeof;
|
|
15418
|
-
}
|
|
15419
|
-
}
|
|
15420
|
-
return void 0;
|
|
15421
|
-
}
|
|
15422
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
15423
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
15424
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
15425
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
15426
|
-
var Element2 = REACT_ELEMENT_TYPE;
|
|
15427
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
15428
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
15429
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
15430
|
-
var Memo = REACT_MEMO_TYPE;
|
|
15431
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
15432
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
15433
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
15434
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
15435
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
15436
|
-
function isAsyncMode(object4) {
|
|
15437
|
-
{
|
|
15438
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
15439
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
15440
|
-
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
|
|
15441
|
-
}
|
|
15442
|
-
}
|
|
15443
|
-
return isConcurrentMode(object4) || typeOf(object4) === REACT_ASYNC_MODE_TYPE;
|
|
15444
|
-
}
|
|
15445
|
-
function isConcurrentMode(object4) {
|
|
15446
|
-
return typeOf(object4) === REACT_CONCURRENT_MODE_TYPE;
|
|
15447
|
-
}
|
|
15448
|
-
function isContextConsumer(object4) {
|
|
15449
|
-
return typeOf(object4) === REACT_CONTEXT_TYPE;
|
|
15450
|
-
}
|
|
15451
|
-
function isContextProvider(object4) {
|
|
15452
|
-
return typeOf(object4) === REACT_PROVIDER_TYPE;
|
|
15453
|
-
}
|
|
15454
|
-
function isElement2(object4) {
|
|
15455
|
-
return typeof object4 === "object" && object4 !== null && object4.$$typeof === REACT_ELEMENT_TYPE;
|
|
15456
|
-
}
|
|
15457
|
-
function isForwardRef(object4) {
|
|
15458
|
-
return typeOf(object4) === REACT_FORWARD_REF_TYPE;
|
|
15459
|
-
}
|
|
15460
|
-
function isFragment(object4) {
|
|
15461
|
-
return typeOf(object4) === REACT_FRAGMENT_TYPE;
|
|
15462
|
-
}
|
|
15463
|
-
function isLazy(object4) {
|
|
15464
|
-
return typeOf(object4) === REACT_LAZY_TYPE;
|
|
15465
|
-
}
|
|
15466
|
-
function isMemo(object4) {
|
|
15467
|
-
return typeOf(object4) === REACT_MEMO_TYPE;
|
|
15468
|
-
}
|
|
15469
|
-
function isPortal(object4) {
|
|
15470
|
-
return typeOf(object4) === REACT_PORTAL_TYPE;
|
|
15471
|
-
}
|
|
15472
|
-
function isProfiler(object4) {
|
|
15473
|
-
return typeOf(object4) === REACT_PROFILER_TYPE;
|
|
15474
|
-
}
|
|
15475
|
-
function isStrictMode(object4) {
|
|
15476
|
-
return typeOf(object4) === REACT_STRICT_MODE_TYPE;
|
|
15477
|
-
}
|
|
15478
|
-
function isSuspense(object4) {
|
|
15479
|
-
return typeOf(object4) === REACT_SUSPENSE_TYPE;
|
|
15480
|
-
}
|
|
15481
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
15482
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
15483
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
15484
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
15485
|
-
reactIs_development.Element = Element2;
|
|
15486
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
15487
|
-
reactIs_development.Fragment = Fragment;
|
|
15488
|
-
reactIs_development.Lazy = Lazy;
|
|
15489
|
-
reactIs_development.Memo = Memo;
|
|
15490
|
-
reactIs_development.Portal = Portal;
|
|
15491
|
-
reactIs_development.Profiler = Profiler;
|
|
15492
|
-
reactIs_development.StrictMode = StrictMode;
|
|
15493
|
-
reactIs_development.Suspense = Suspense;
|
|
15494
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
15495
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
15496
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
15497
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
15498
|
-
reactIs_development.isElement = isElement2;
|
|
15499
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
15500
|
-
reactIs_development.isFragment = isFragment;
|
|
15501
|
-
reactIs_development.isLazy = isLazy;
|
|
15502
|
-
reactIs_development.isMemo = isMemo;
|
|
15503
|
-
reactIs_development.isPortal = isPortal;
|
|
15504
|
-
reactIs_development.isProfiler = isProfiler;
|
|
15505
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
15506
|
-
reactIs_development.isSuspense = isSuspense;
|
|
15507
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
15508
|
-
reactIs_development.typeOf = typeOf;
|
|
15509
|
-
})();
|
|
15510
|
-
}
|
|
15511
|
-
{
|
|
15512
|
-
reactIs.exports = reactIs_development;
|
|
15513
|
-
}
|
|
15514
|
-
var reactIsExports = reactIs.exports;
|
|
15515
15354
|
function toArray$2(children) {
|
|
15516
15355
|
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
15517
15356
|
var ret = [];
|
|
@@ -15576,7 +15415,7 @@ var HOOK_MARK$1 = "RC_FORM_INTERNAL_HOOKS";
|
|
|
15576
15415
|
var warningFunc$1 = function warningFunc() {
|
|
15577
15416
|
warningOnce$1(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
15578
15417
|
};
|
|
15579
|
-
var Context$1 = /* @__PURE__ */ React$
|
|
15418
|
+
var Context$1 = /* @__PURE__ */ React$1.createContext({
|
|
15580
15419
|
getFieldValue: warningFunc$1,
|
|
15581
15420
|
getFieldsValue: warningFunc$1,
|
|
15582
15421
|
getFieldError: warningFunc$1,
|
|
@@ -17281,9 +17120,9 @@ function _validateRule() {
|
|
|
17281
17120
|
result = _context2.t0.errors.map(function(_ref4, index2) {
|
|
17282
17121
|
var message = _ref4.message;
|
|
17283
17122
|
var mergedMessage = message === CODE_LOGIC_ERROR ? messages2.default : message;
|
|
17284
|
-
return /* @__PURE__ */ React$
|
|
17123
|
+
return /* @__PURE__ */ React$1.isValidElement(mergedMessage) ? (
|
|
17285
17124
|
// Wrap ReactNode with `key`
|
|
17286
|
-
React$
|
|
17125
|
+
React$1.cloneElement(mergedMessage, {
|
|
17287
17126
|
key: "error_".concat(index2)
|
|
17288
17127
|
})
|
|
17289
17128
|
) : mergedMessage;
|
|
@@ -17740,7 +17579,7 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17740
17579
|
});
|
|
17741
17580
|
}
|
|
17742
17581
|
var childList = toArray$2(children);
|
|
17743
|
-
if (childList.length !== 1 || !/* @__PURE__ */ React$
|
|
17582
|
+
if (childList.length !== 1 || !/* @__PURE__ */ React$1.isValidElement(childList[0])) {
|
|
17744
17583
|
return {
|
|
17745
17584
|
child: childList,
|
|
17746
17585
|
isFunction: false
|
|
@@ -17857,19 +17696,19 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17857
17696
|
var returnChildNode;
|
|
17858
17697
|
if (isFunction2) {
|
|
17859
17698
|
returnChildNode = child;
|
|
17860
|
-
} else if (/* @__PURE__ */ React$
|
|
17861
|
-
returnChildNode = /* @__PURE__ */ React$
|
|
17699
|
+
} else if (/* @__PURE__ */ React$1.isValidElement(child)) {
|
|
17700
|
+
returnChildNode = /* @__PURE__ */ React$1.cloneElement(child, this.getControlled(child.props));
|
|
17862
17701
|
} else {
|
|
17863
17702
|
warningOnce$1(!child, "`children` of Field is not validate ReactElement.");
|
|
17864
17703
|
returnChildNode = child;
|
|
17865
17704
|
}
|
|
17866
|
-
return /* @__PURE__ */ React$
|
|
17705
|
+
return /* @__PURE__ */ React$1.createElement(React$1.Fragment, {
|
|
17867
17706
|
key: resetCount
|
|
17868
17707
|
}, returnChildNode);
|
|
17869
17708
|
}
|
|
17870
17709
|
}]);
|
|
17871
17710
|
return Field2;
|
|
17872
|
-
}(React$
|
|
17711
|
+
}(React$1.Component);
|
|
17873
17712
|
Field.contextType = Context$1;
|
|
17874
17713
|
Field.defaultProps = {
|
|
17875
17714
|
trigger: "onChange",
|
|
@@ -17877,7 +17716,7 @@ Field.defaultProps = {
|
|
|
17877
17716
|
};
|
|
17878
17717
|
function WrapperField(_ref5) {
|
|
17879
17718
|
var name = _ref5.name, restProps = _objectWithoutProperties(_ref5, _excluded$2);
|
|
17880
|
-
var fieldContext = React$
|
|
17719
|
+
var fieldContext = React$1.useContext(Context$1);
|
|
17881
17720
|
var namePath = name !== void 0 ? getNamePath(name) : void 0;
|
|
17882
17721
|
var key = "keep";
|
|
17883
17722
|
if (!restProps.isListField) {
|
|
@@ -17886,32 +17725,32 @@ function WrapperField(_ref5) {
|
|
|
17886
17725
|
if (restProps.preserve === false && restProps.isListField && namePath.length <= 1) {
|
|
17887
17726
|
warningOnce$1(false, "`preserve` should not apply on Form.List fields.");
|
|
17888
17727
|
}
|
|
17889
|
-
return /* @__PURE__ */ React$
|
|
17728
|
+
return /* @__PURE__ */ React$1.createElement(Field, _extends$1({
|
|
17890
17729
|
key,
|
|
17891
17730
|
name: namePath
|
|
17892
17731
|
}, restProps, {
|
|
17893
17732
|
fieldContext
|
|
17894
17733
|
}));
|
|
17895
17734
|
}
|
|
17896
|
-
var ListContext = /* @__PURE__ */ React$
|
|
17735
|
+
var ListContext = /* @__PURE__ */ React$1.createContext(null);
|
|
17897
17736
|
var List = function List2(_ref) {
|
|
17898
17737
|
var name = _ref.name, initialValue = _ref.initialValue, children = _ref.children, rules2 = _ref.rules, validateTrigger = _ref.validateTrigger;
|
|
17899
|
-
var context = React$
|
|
17900
|
-
var keyRef = React$
|
|
17738
|
+
var context = React$1.useContext(Context$1);
|
|
17739
|
+
var keyRef = React$1.useRef({
|
|
17901
17740
|
keys: [],
|
|
17902
17741
|
id: 0
|
|
17903
17742
|
});
|
|
17904
17743
|
var keyManager = keyRef.current;
|
|
17905
|
-
var prefixName = React$
|
|
17744
|
+
var prefixName = React$1.useMemo(function() {
|
|
17906
17745
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
17907
17746
|
return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
|
|
17908
17747
|
}, [context.prefixName, name]);
|
|
17909
|
-
var fieldContext = React$
|
|
17748
|
+
var fieldContext = React$1.useMemo(function() {
|
|
17910
17749
|
return _objectSpread2(_objectSpread2({}, context), {}, {
|
|
17911
17750
|
prefixName
|
|
17912
17751
|
});
|
|
17913
17752
|
}, [context, prefixName]);
|
|
17914
|
-
var listContext = React$
|
|
17753
|
+
var listContext = React$1.useMemo(function() {
|
|
17915
17754
|
return {
|
|
17916
17755
|
getKey: function getKey(namePath) {
|
|
17917
17756
|
var len = prefixName.length;
|
|
@@ -17931,11 +17770,11 @@ var List = function List2(_ref) {
|
|
|
17931
17770
|
}
|
|
17932
17771
|
return prevValue !== nextValue;
|
|
17933
17772
|
};
|
|
17934
|
-
return /* @__PURE__ */ React$
|
|
17773
|
+
return /* @__PURE__ */ React$1.createElement(ListContext.Provider, {
|
|
17935
17774
|
value: listContext
|
|
17936
|
-
}, /* @__PURE__ */ React$
|
|
17775
|
+
}, /* @__PURE__ */ React$1.createElement(Context$1.Provider, {
|
|
17937
17776
|
value: fieldContext
|
|
17938
|
-
}, /* @__PURE__ */ React$
|
|
17777
|
+
}, /* @__PURE__ */ React$1.createElement(WrapperField, {
|
|
17939
17778
|
name: [],
|
|
17940
17779
|
shouldUpdate,
|
|
17941
17780
|
rules: rules2,
|
|
@@ -18841,8 +18680,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
18841
18680
|
this.forceRootUpdate = forceRootUpdate;
|
|
18842
18681
|
});
|
|
18843
18682
|
function useForm(form) {
|
|
18844
|
-
var formRef = React$
|
|
18845
|
-
var _React$useState = React$
|
|
18683
|
+
var formRef = React$1.useRef();
|
|
18684
|
+
var _React$useState = React$1.useState({}), _React$useState2 = _slicedToArray(_React$useState, 2), forceUpdate = _React$useState2[1];
|
|
18846
18685
|
if (!formRef.current) {
|
|
18847
18686
|
if (form) {
|
|
18848
18687
|
formRef.current = form;
|
|
@@ -18856,7 +18695,7 @@ function useForm(form) {
|
|
|
18856
18695
|
}
|
|
18857
18696
|
return [formRef.current];
|
|
18858
18697
|
}
|
|
18859
|
-
var FormContext$1 = /* @__PURE__ */ React$
|
|
18698
|
+
var FormContext$1 = /* @__PURE__ */ React$1.createContext({
|
|
18860
18699
|
triggerFormChange: function triggerFormChange() {
|
|
18861
18700
|
},
|
|
18862
18701
|
triggerFormFinish: function triggerFormFinish() {
|
|
@@ -18868,9 +18707,9 @@ var FormContext$1 = /* @__PURE__ */ React$4.createContext({
|
|
|
18868
18707
|
});
|
|
18869
18708
|
var FormProvider = function FormProvider2(_ref) {
|
|
18870
18709
|
var validateMessages = _ref.validateMessages, onFormChange = _ref.onFormChange, onFormFinish = _ref.onFormFinish, children = _ref.children;
|
|
18871
|
-
var formContext = React$
|
|
18872
|
-
var formsRef = React$
|
|
18873
|
-
return /* @__PURE__ */ React$
|
|
18710
|
+
var formContext = React$1.useContext(FormContext$1);
|
|
18711
|
+
var formsRef = React$1.useRef({});
|
|
18712
|
+
return /* @__PURE__ */ React$1.createElement(FormContext$1.Provider, {
|
|
18874
18713
|
value: _objectSpread2(_objectSpread2({}, formContext), {}, {
|
|
18875
18714
|
validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
18876
18715
|
// =========================================================
|
|
@@ -18912,13 +18751,13 @@ var FormProvider = function FormProvider2(_ref) {
|
|
|
18912
18751
|
var _excluded = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
|
|
18913
18752
|
var Form$1 = function Form(_ref, ref) {
|
|
18914
18753
|
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);
|
|
18915
|
-
var formContext = React$
|
|
18754
|
+
var formContext = React$1.useContext(FormContext$1);
|
|
18916
18755
|
var _useForm = useForm(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
|
|
18917
18756
|
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;
|
|
18918
|
-
React$
|
|
18757
|
+
React$1.useImperativeHandle(ref, function() {
|
|
18919
18758
|
return formInstance;
|
|
18920
18759
|
});
|
|
18921
|
-
React$
|
|
18760
|
+
React$1.useEffect(function() {
|
|
18922
18761
|
formContext.registerForm(name, formInstance);
|
|
18923
18762
|
return function() {
|
|
18924
18763
|
formContext.unregisterForm(name);
|
|
@@ -18945,12 +18784,12 @@ var Form$1 = function Form(_ref, ref) {
|
|
|
18945
18784
|
onFinishFailed
|
|
18946
18785
|
});
|
|
18947
18786
|
setPreserve(preserve);
|
|
18948
|
-
var mountRef = React$
|
|
18787
|
+
var mountRef = React$1.useRef(null);
|
|
18949
18788
|
setInitialValues(initialValues, !mountRef.current);
|
|
18950
18789
|
if (!mountRef.current) {
|
|
18951
18790
|
mountRef.current = true;
|
|
18952
18791
|
}
|
|
18953
|
-
React$
|
|
18792
|
+
React$1.useEffect(
|
|
18954
18793
|
function() {
|
|
18955
18794
|
return destroyForm;
|
|
18956
18795
|
},
|
|
@@ -18966,25 +18805,25 @@ var Form$1 = function Form(_ref, ref) {
|
|
|
18966
18805
|
childrenNode = children;
|
|
18967
18806
|
}
|
|
18968
18807
|
useSubscribe(!childrenRenderProps);
|
|
18969
|
-
var prevFieldsRef = React$
|
|
18970
|
-
React$
|
|
18808
|
+
var prevFieldsRef = React$1.useRef();
|
|
18809
|
+
React$1.useEffect(function() {
|
|
18971
18810
|
if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
|
|
18972
18811
|
formInstance.setFields(fields || []);
|
|
18973
18812
|
}
|
|
18974
18813
|
prevFieldsRef.current = fields;
|
|
18975
18814
|
}, [fields, formInstance]);
|
|
18976
|
-
var formContextValue = React$
|
|
18815
|
+
var formContextValue = React$1.useMemo(function() {
|
|
18977
18816
|
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
|
18978
18817
|
validateTrigger
|
|
18979
18818
|
});
|
|
18980
18819
|
}, [formInstance, validateTrigger]);
|
|
18981
|
-
var wrapperNode = /* @__PURE__ */ React$
|
|
18820
|
+
var wrapperNode = /* @__PURE__ */ React$1.createElement(Context$1.Provider, {
|
|
18982
18821
|
value: formContextValue
|
|
18983
18822
|
}, childrenNode);
|
|
18984
18823
|
if (Component === false) {
|
|
18985
18824
|
return wrapperNode;
|
|
18986
18825
|
}
|
|
18987
|
-
return /* @__PURE__ */ React$
|
|
18826
|
+
return /* @__PURE__ */ React$1.createElement(Component, _extends$1({}, restProps, {
|
|
18988
18827
|
onSubmit: function onSubmit(event) {
|
|
18989
18828
|
event.preventDefault();
|
|
18990
18829
|
event.stopPropagation();
|
|
@@ -19015,7 +18854,7 @@ function useWatch() {
|
|
|
19015
18854
|
args[_key] = arguments[_key];
|
|
19016
18855
|
}
|
|
19017
18856
|
var _args$ = args[0], dependencies = _args$ === void 0 ? [] : _args$, form = args[1];
|
|
19018
|
-
var _useState = useState
|
|
18857
|
+
var _useState = useState(), _useState2 = _slicedToArray(_useState, 2), value = _useState2[0], setValue2 = _useState2[1];
|
|
19019
18858
|
var valueStr = useMemo(function() {
|
|
19020
18859
|
return stringify(value);
|
|
19021
18860
|
}, [value]);
|
|
@@ -19056,7 +18895,7 @@ function useWatch() {
|
|
|
19056
18895
|
);
|
|
19057
18896
|
return value;
|
|
19058
18897
|
}
|
|
19059
|
-
var InternalForm = /* @__PURE__ */ React$
|
|
18898
|
+
var InternalForm = /* @__PURE__ */ React$1.forwardRef(Form$1);
|
|
19060
18899
|
var RefForm = InternalForm;
|
|
19061
18900
|
RefForm.FormProvider = FormProvider;
|
|
19062
18901
|
RefForm.Field = WrapperField;
|
|
@@ -19466,10 +19305,9 @@ warning$1.warning = warning;
|
|
|
19466
19305
|
warning$1.warningOnce = warningOnce;
|
|
19467
19306
|
var warned = {};
|
|
19468
19307
|
var preWarningFns = [];
|
|
19469
|
-
var preMessage = function preMessage22(fn) {
|
|
19308
|
+
var preMessage = warning$1.preMessage = function preMessage22(fn) {
|
|
19470
19309
|
preWarningFns.push(fn);
|
|
19471
19310
|
};
|
|
19472
|
-
warning$1.preMessage = preMessage;
|
|
19473
19311
|
function warning(valid, message) {
|
|
19474
19312
|
if (!valid && console !== void 0) {
|
|
19475
19313
|
var finalMessage = preWarningFns.reduce(function(msg, preMessageFn) {
|
|
@@ -19508,22 +19346,21 @@ function noteOnce(valid, message) {
|
|
|
19508
19346
|
warningOnce.preMessage = preMessage;
|
|
19509
19347
|
warningOnce.resetWarned = resetWarned;
|
|
19510
19348
|
warningOnce.noteOnce = noteOnce;
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
var
|
|
19514
|
-
var _interopRequireDefault$3 = interopRequireDefaultExports.default;
|
|
19349
|
+
warning$1.default = warningOnce;
|
|
19350
|
+
var _interopRequireWildcard = interopRequireWildcardExports.default;
|
|
19351
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
19515
19352
|
Object.defineProperty(FieldContext, "__esModule", {
|
|
19516
19353
|
value: true
|
|
19517
19354
|
});
|
|
19518
19355
|
var default_1 = FieldContext.default = FieldContext.HOOK_MARK = void 0;
|
|
19519
|
-
var _warning = _interopRequireDefault
|
|
19520
|
-
var React
|
|
19356
|
+
var _warning = _interopRequireDefault(warning$1);
|
|
19357
|
+
var React = _interopRequireWildcard(React__default);
|
|
19521
19358
|
var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
|
|
19522
19359
|
FieldContext.HOOK_MARK = HOOK_MARK;
|
|
19523
19360
|
var warningFunc2 = function warningFunc3() {
|
|
19524
19361
|
(0, _warning.default)(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
19525
19362
|
};
|
|
19526
|
-
var Context = /* @__PURE__ */ React
|
|
19363
|
+
var Context = /* @__PURE__ */ React.createContext({
|
|
19527
19364
|
getFieldValue: warningFunc2,
|
|
19528
19365
|
getFieldsValue: warningFunc2,
|
|
19529
19366
|
getFieldError: warningFunc2,
|
|
@@ -19557,8 +19394,8 @@ var Context = /* @__PURE__ */ React$3.createContext({
|
|
|
19557
19394
|
};
|
|
19558
19395
|
}
|
|
19559
19396
|
});
|
|
19560
|
-
var _default
|
|
19561
|
-
default_1 = FieldContext.default = _default
|
|
19397
|
+
var _default = Context;
|
|
19398
|
+
default_1 = FieldContext.default = _default;
|
|
19562
19399
|
function toArray(candidate) {
|
|
19563
19400
|
if (candidate === void 0 || candidate === false)
|
|
19564
19401
|
return [];
|
|
@@ -19572,9 +19409,9 @@ function isSimpleFunctionComponent(type4) {
|
|
|
19572
19409
|
return typeof type4 === "function" && !shouldConstruct(type4) && type4.defaultProps === void 0;
|
|
19573
19410
|
}
|
|
19574
19411
|
function isSafeSetRefComponent(component) {
|
|
19575
|
-
if (reactIsExports
|
|
19412
|
+
if (reactIsExports.isFragment(component))
|
|
19576
19413
|
return false;
|
|
19577
|
-
if (reactIsExports
|
|
19414
|
+
if (reactIsExports.isMemo(component))
|
|
19578
19415
|
return isSafeSetRefComponent(component.type);
|
|
19579
19416
|
return !isSimpleFunctionComponent(component.type);
|
|
19580
19417
|
}
|
|
@@ -20991,7 +20828,7 @@ function normalizePlacement(placement) {
|
|
|
20991
20828
|
}
|
|
20992
20829
|
let tenPxTester = null;
|
|
20993
20830
|
let tester = null;
|
|
20994
|
-
if (canUseDom$
|
|
20831
|
+
if (canUseDom$1) {
|
|
20995
20832
|
tenPxTester = document.createElement("div");
|
|
20996
20833
|
tenPxTester.className = "adm-px-tester";
|
|
20997
20834
|
tenPxTester.style.setProperty("--size", "10");
|
|
@@ -21053,7 +20890,7 @@ const Popover$1 = forwardRef((p, ref) => {
|
|
|
21053
20890
|
}, React__default.createElement("div", {
|
|
21054
20891
|
className: `${classPrefix$N}-inner-content`
|
|
21055
20892
|
}, props.content)))));
|
|
21056
|
-
const [targetElement, setTargetElement] = useState
|
|
20893
|
+
const [targetElement, setTargetElement] = useState(null);
|
|
21057
20894
|
function update2() {
|
|
21058
20895
|
var _a, _b, _c;
|
|
21059
20896
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -21340,7 +21177,7 @@ const FormItem = (props) => {
|
|
|
21340
21177
|
const widgetRef = useRef(null);
|
|
21341
21178
|
const updateRef2 = useRef(0);
|
|
21342
21179
|
updateRef2.current += 1;
|
|
21343
|
-
const [subMetas, setSubMetas] = useState
|
|
21180
|
+
const [subMetas, setSubMetas] = useState({});
|
|
21344
21181
|
const onSubMetaChange = useCallback((subMeta, namePath) => {
|
|
21345
21182
|
setSubMetas((prevSubMetas) => {
|
|
21346
21183
|
const nextSubMetas = Object.assign({}, prevSubMetas);
|
|
@@ -21919,7 +21756,7 @@ const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$A), {
|
|
|
21919
21756
|
const MultiImageViewer = forwardRef((p, ref) => {
|
|
21920
21757
|
var _a, _b, _c;
|
|
21921
21758
|
const props = mergeProps(multiDefaultProps, p);
|
|
21922
|
-
const [index2, setIndex] = useState
|
|
21759
|
+
const [index2, setIndex] = useState(props.defaultIndex);
|
|
21923
21760
|
const slidesRef = useRef(null);
|
|
21924
21761
|
useImperativeHandle(ref, () => ({
|
|
21925
21762
|
swipeTo: (index3, immediate) => {
|
|
@@ -22102,11 +21939,11 @@ const ImageUploader = forwardRef((p, ref) => {
|
|
|
22102
21939
|
columns
|
|
22103
21940
|
} = props;
|
|
22104
21941
|
const [value, setValue2] = usePropsValue(props);
|
|
22105
|
-
const [tasks, setTasks] = useState
|
|
21942
|
+
const [tasks, setTasks] = useState([]);
|
|
22106
21943
|
const containerRef = useRef(null);
|
|
22107
21944
|
const containerSize = useSize(containerRef);
|
|
22108
21945
|
const gapMeasureRef = useRef(null);
|
|
22109
|
-
const [cellSize, setCellSize] = useState
|
|
21946
|
+
const [cellSize, setCellSize] = useState(80);
|
|
22110
21947
|
const inputRef = useRef(null);
|
|
22111
21948
|
useIsomorphicLayoutEffect$2(() => {
|
|
22112
21949
|
const gapMeasure = gapMeasureRef.current;
|
|
@@ -22320,7 +22157,7 @@ const ImageUploader = forwardRef((p, ref) => {
|
|
|
22320
22157
|
const Panel = () => null;
|
|
22321
22158
|
const classPrefix$D = `adm-index-bar`;
|
|
22322
22159
|
const Sidebar = (props) => {
|
|
22323
|
-
const [interacting, setInteracting] = useState
|
|
22160
|
+
const [interacting, setInteracting] = useState(false);
|
|
22324
22161
|
return React__default.createElement("div", {
|
|
22325
22162
|
className: classNames(`${classPrefix$D}-sidebar`, {
|
|
22326
22163
|
[`${classPrefix$D}-sidebar-interacting`]: interacting
|
|
@@ -22412,7 +22249,7 @@ const IndexBar = forwardRef((p, ref) => {
|
|
|
22412
22249
|
className: `${classPrefix$C}-anchor-title`
|
|
22413
22250
|
}, child.props.title || child.props.index), child.props.children)));
|
|
22414
22251
|
});
|
|
22415
|
-
const [activeIndex, setActiveIndex] = useState
|
|
22252
|
+
const [activeIndex, setActiveIndex] = useState(() => {
|
|
22416
22253
|
const firstItem = indexItems[0];
|
|
22417
22254
|
return firstItem ? firstItem.index : null;
|
|
22418
22255
|
});
|
|
@@ -22498,7 +22335,7 @@ const defaultProps$w = {
|
|
|
22498
22335
|
};
|
|
22499
22336
|
const InfiniteScroll = (p) => {
|
|
22500
22337
|
const props = mergeProps(defaultProps$w, p);
|
|
22501
|
-
const [failed, setFailed] = useState
|
|
22338
|
+
const [failed, setFailed] = useState(false);
|
|
22502
22339
|
const doLoadMore = useLockFn((isRetry) => __awaiter(void 0, void 0, void 0, function* () {
|
|
22503
22340
|
try {
|
|
22504
22341
|
yield props.loadMore(isRetry);
|
|
@@ -22508,9 +22345,9 @@ const InfiniteScroll = (p) => {
|
|
|
22508
22345
|
}
|
|
22509
22346
|
}));
|
|
22510
22347
|
const elementRef = useRef(null);
|
|
22511
|
-
const [flag, setFlag] = useState
|
|
22348
|
+
const [flag, setFlag] = useState({});
|
|
22512
22349
|
const nextFlagRef = useRef(flag);
|
|
22513
|
-
const [scrollParent, setScrollParent] = useState
|
|
22350
|
+
const [scrollParent, setScrollParent] = useState();
|
|
22514
22351
|
const {
|
|
22515
22352
|
run: check
|
|
22516
22353
|
} = useThrottleFn(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -22596,7 +22433,7 @@ const defaultProps$v = {
|
|
|
22596
22433
|
const Input = forwardRef((p, ref) => {
|
|
22597
22434
|
const props = mergeProps(defaultProps$v, p);
|
|
22598
22435
|
const [value, setValue2] = usePropsValue(props);
|
|
22599
|
-
const [hasFocus, setHasFocus] = useState
|
|
22436
|
+
const [hasFocus, setHasFocus] = useState(false);
|
|
22600
22437
|
const compositionStartRef = useRef(false);
|
|
22601
22438
|
const nativeInputRef = useRef(null);
|
|
22602
22439
|
const {
|
|
@@ -23025,7 +22862,7 @@ const NoticeBar = memo((p) => {
|
|
|
23025
22862
|
const props = mergeProps(defaultProps$r, p);
|
|
23026
22863
|
const containerRef = useRef(null);
|
|
23027
22864
|
const textRef = useRef(null);
|
|
23028
|
-
const [visible, setVisible] = useState
|
|
22865
|
+
const [visible, setVisible] = useState(true);
|
|
23029
22866
|
const speed = props.speed;
|
|
23030
22867
|
const delayLockRef = useRef(true);
|
|
23031
22868
|
const animatingRef = useRef(false);
|
|
@@ -23323,7 +23160,7 @@ const PasscodeInput = forwardRef((p, ref) => {
|
|
|
23323
23160
|
const {
|
|
23324
23161
|
locale
|
|
23325
23162
|
} = useConfig();
|
|
23326
|
-
const [focused, setFocused] = useState
|
|
23163
|
+
const [focused, setFocused] = useState(false);
|
|
23327
23164
|
const [value, setValue2] = usePropsValue(props);
|
|
23328
23165
|
const rootRef = useRef(null);
|
|
23329
23166
|
const nativeInputRef = useRef(null);
|
|
@@ -23512,7 +23349,7 @@ const PullToRefresh = (p) => {
|
|
|
23512
23349
|
}, p);
|
|
23513
23350
|
const headHeight = (_a = props.headHeight) !== null && _a !== void 0 ? _a : convertPx(40);
|
|
23514
23351
|
const threshold = (_b = props.threshold) !== null && _b !== void 0 ? _b : convertPx(60);
|
|
23515
|
-
const [status, setStatus] = useState
|
|
23352
|
+
const [status, setStatus] = useState("pulling");
|
|
23516
23353
|
const [springStyles, api] = useSpring(() => ({
|
|
23517
23354
|
from: {
|
|
23518
23355
|
height: 0
|
|
@@ -23894,7 +23731,7 @@ const ResultPage = (p) => {
|
|
|
23894
23731
|
onSecondaryButtonClick
|
|
23895
23732
|
} = props;
|
|
23896
23733
|
const resultIcon = icon || React__default.createElement(iconRecord[status]);
|
|
23897
|
-
const [collapse, setCollapse] = useState
|
|
23734
|
+
const [collapse, setCollapse] = useState(true);
|
|
23898
23735
|
const showSecondaryButton = isNodeWithContent(secondaryButtonText);
|
|
23899
23736
|
const showPrimaryButton = isNodeWithContent(primaryButtonText);
|
|
23900
23737
|
return withNativeProps(props, React__default.createElement("div", {
|
|
@@ -23970,7 +23807,7 @@ const SearchBar = forwardRef((p, ref) => {
|
|
|
23970
23807
|
cancelText: locale.common.cancel
|
|
23971
23808
|
}, p);
|
|
23972
23809
|
const [value, setValue2] = usePropsValue(props);
|
|
23973
|
-
const [hasFocus, setHasFocus] = useState
|
|
23810
|
+
const [hasFocus, setHasFocus] = useState(false);
|
|
23974
23811
|
const inputRef = useRef(null);
|
|
23975
23812
|
const composingRef = useRef(false);
|
|
23976
23813
|
useImperativeHandle(ref, () => ({
|
|
@@ -24724,7 +24561,7 @@ const Thumb = (props) => {
|
|
|
24724
24561
|
right: "auto"
|
|
24725
24562
|
};
|
|
24726
24563
|
};
|
|
24727
|
-
const [dragging, setDragging] = useState
|
|
24564
|
+
const [dragging, setDragging] = useState(false);
|
|
24728
24565
|
const bind = useDrag((state) => {
|
|
24729
24566
|
var _a;
|
|
24730
24567
|
if (disabled)
|
|
@@ -24951,109 +24788,10 @@ const Slider = (p) => {
|
|
|
24951
24788
|
upperBound: sliderValue[1]
|
|
24952
24789
|
})));
|
|
24953
24790
|
};
|
|
24954
|
-
var useMergedState$1 = {};
|
|
24955
|
-
var slicedToArray = { exports: {} };
|
|
24956
|
-
var arrayWithHoles = { exports: {} };
|
|
24957
|
-
(function(module) {
|
|
24958
|
-
function _arrayWithHoles2(arr) {
|
|
24959
|
-
if (Array.isArray(arr))
|
|
24960
|
-
return arr;
|
|
24961
|
-
}
|
|
24962
|
-
module.exports = _arrayWithHoles2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24963
|
-
})(arrayWithHoles);
|
|
24964
|
-
var arrayWithHolesExports = arrayWithHoles.exports;
|
|
24965
|
-
var iterableToArrayLimit = { exports: {} };
|
|
24966
|
-
(function(module) {
|
|
24967
|
-
function _iterableToArrayLimit2(r, l) {
|
|
24968
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
24969
|
-
if (null != t) {
|
|
24970
|
-
var e2, n2, i2, u, a = [], f = true, o = false;
|
|
24971
|
-
try {
|
|
24972
|
-
if (i2 = (t = t.call(r)).next, 0 === l) {
|
|
24973
|
-
if (Object(t) !== t)
|
|
24974
|
-
return;
|
|
24975
|
-
f = false;
|
|
24976
|
-
} else
|
|
24977
|
-
for (; !(f = (e2 = i2.call(t)).done) && (a.push(e2.value), a.length !== l); f = true)
|
|
24978
|
-
;
|
|
24979
|
-
} catch (r2) {
|
|
24980
|
-
o = true, n2 = r2;
|
|
24981
|
-
} finally {
|
|
24982
|
-
try {
|
|
24983
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u))
|
|
24984
|
-
return;
|
|
24985
|
-
} finally {
|
|
24986
|
-
if (o)
|
|
24987
|
-
throw n2;
|
|
24988
|
-
}
|
|
24989
|
-
}
|
|
24990
|
-
return a;
|
|
24991
|
-
}
|
|
24992
|
-
}
|
|
24993
|
-
module.exports = _iterableToArrayLimit2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
24994
|
-
})(iterableToArrayLimit);
|
|
24995
|
-
var iterableToArrayLimitExports = iterableToArrayLimit.exports;
|
|
24996
|
-
var unsupportedIterableToArray = { exports: {} };
|
|
24997
|
-
var arrayLikeToArray = { exports: {} };
|
|
24998
|
-
(function(module) {
|
|
24999
|
-
function _arrayLikeToArray2(arr, len) {
|
|
25000
|
-
if (len == null || len > arr.length)
|
|
25001
|
-
len = arr.length;
|
|
25002
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25003
|
-
arr2[i2] = arr[i2];
|
|
25004
|
-
return arr2;
|
|
25005
|
-
}
|
|
25006
|
-
module.exports = _arrayLikeToArray2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
25007
|
-
})(arrayLikeToArray);
|
|
25008
|
-
var arrayLikeToArrayExports = arrayLikeToArray.exports;
|
|
25009
|
-
(function(module) {
|
|
25010
|
-
var arrayLikeToArray2 = arrayLikeToArrayExports;
|
|
25011
|
-
function _unsupportedIterableToArray2(o, minLen) {
|
|
25012
|
-
if (!o)
|
|
25013
|
-
return;
|
|
25014
|
-
if (typeof o === "string")
|
|
25015
|
-
return arrayLikeToArray2(o, minLen);
|
|
25016
|
-
var n2 = Object.prototype.toString.call(o).slice(8, -1);
|
|
25017
|
-
if (n2 === "Object" && o.constructor)
|
|
25018
|
-
n2 = o.constructor.name;
|
|
25019
|
-
if (n2 === "Map" || n2 === "Set")
|
|
25020
|
-
return Array.from(o);
|
|
25021
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25022
|
-
return arrayLikeToArray2(o, minLen);
|
|
25023
|
-
}
|
|
25024
|
-
module.exports = _unsupportedIterableToArray2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
25025
|
-
})(unsupportedIterableToArray);
|
|
25026
|
-
var unsupportedIterableToArrayExports = unsupportedIterableToArray.exports;
|
|
25027
|
-
var nonIterableRest = { exports: {} };
|
|
25028
|
-
(function(module) {
|
|
25029
|
-
function _nonIterableRest2() {
|
|
25030
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
25031
|
-
}
|
|
25032
|
-
module.exports = _nonIterableRest2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
25033
|
-
})(nonIterableRest);
|
|
25034
|
-
var nonIterableRestExports = nonIterableRest.exports;
|
|
25035
|
-
(function(module) {
|
|
25036
|
-
var arrayWithHoles2 = arrayWithHolesExports;
|
|
25037
|
-
var iterableToArrayLimit2 = iterableToArrayLimitExports;
|
|
25038
|
-
var unsupportedIterableToArray2 = unsupportedIterableToArrayExports;
|
|
25039
|
-
var nonIterableRest2 = nonIterableRestExports;
|
|
25040
|
-
function _slicedToArray3(arr, i2) {
|
|
25041
|
-
return arrayWithHoles2(arr) || iterableToArrayLimit2(arr, i2) || unsupportedIterableToArray2(arr, i2) || nonIterableRest2();
|
|
25042
|
-
}
|
|
25043
|
-
module.exports = _slicedToArray3, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
25044
|
-
})(slicedToArray);
|
|
25045
|
-
var slicedToArrayExports = slicedToArray.exports;
|
|
25046
|
-
var useEvent$1 = {};
|
|
25047
|
-
var _interopRequireWildcard$2 = interopRequireWildcardExports.default;
|
|
25048
|
-
Object.defineProperty(useEvent$1, "__esModule", {
|
|
25049
|
-
value: true
|
|
25050
|
-
});
|
|
25051
|
-
useEvent$1.default = useEvent;
|
|
25052
|
-
var React$2 = _interopRequireWildcard$2(React__default);
|
|
25053
24791
|
function useEvent(callback) {
|
|
25054
|
-
var fnRef = React$
|
|
24792
|
+
var fnRef = React$1.useRef();
|
|
25055
24793
|
fnRef.current = callback;
|
|
25056
|
-
var memoFn = React$
|
|
24794
|
+
var memoFn = React$1.useCallback(function() {
|
|
25057
24795
|
var _fnRef$current;
|
|
25058
24796
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25059
24797
|
args[_key] = arguments[_key];
|
|
@@ -25062,24 +24800,10 @@ function useEvent(callback) {
|
|
|
25062
24800
|
}, []);
|
|
25063
24801
|
return memoFn;
|
|
25064
24802
|
}
|
|
25065
|
-
var useLayoutEffect$1 = {};
|
|
25066
|
-
var canUseDom$1 = {};
|
|
25067
|
-
Object.defineProperty(canUseDom$1, "__esModule", {
|
|
25068
|
-
value: true
|
|
25069
|
-
});
|
|
25070
|
-
canUseDom$1.default = canUseDom;
|
|
25071
24803
|
function canUseDom() {
|
|
25072
24804
|
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
25073
24805
|
}
|
|
25074
|
-
var
|
|
25075
|
-
var _interopRequireWildcard$1 = interopRequireWildcardExports.default;
|
|
25076
|
-
Object.defineProperty(useLayoutEffect$1, "__esModule", {
|
|
25077
|
-
value: true
|
|
25078
|
-
});
|
|
25079
|
-
useLayoutEffect$1.useLayoutUpdateEffect = useLayoutEffect$1.default = void 0;
|
|
25080
|
-
var React$1 = _interopRequireWildcard$1(React__default);
|
|
25081
|
-
var _canUseDom = _interopRequireDefault$2(canUseDom$1);
|
|
25082
|
-
var useInternalLayoutEffect = (0, _canUseDom.default)() ? React$1.useLayoutEffect : React$1.useEffect;
|
|
24806
|
+
var useInternalLayoutEffect = canUseDom() ? React$1.useLayoutEffect : React$1.useEffect;
|
|
25083
24807
|
var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
25084
24808
|
var firstMountRef = React$1.useRef(true);
|
|
25085
24809
|
useInternalLayoutEffect(function() {
|
|
@@ -25099,22 +24823,10 @@ var useLayoutUpdateEffect = function useLayoutUpdateEffect2(callback, deps) {
|
|
|
25099
24823
|
}
|
|
25100
24824
|
}, deps);
|
|
25101
24825
|
};
|
|
25102
|
-
useLayoutEffect$1.useLayoutUpdateEffect = useLayoutUpdateEffect;
|
|
25103
|
-
var _default$1 = useLayoutEffect;
|
|
25104
|
-
useLayoutEffect$1.default = _default$1;
|
|
25105
|
-
var useState = {};
|
|
25106
|
-
var _interopRequireWildcard = interopRequireWildcardExports.default;
|
|
25107
|
-
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
|
25108
|
-
Object.defineProperty(useState, "__esModule", {
|
|
25109
|
-
value: true
|
|
25110
|
-
});
|
|
25111
|
-
useState.default = useSafeState;
|
|
25112
|
-
var _slicedToArray2$1 = _interopRequireDefault$1(slicedToArrayExports);
|
|
25113
|
-
var React = _interopRequireWildcard(React__default);
|
|
25114
24826
|
function useSafeState(defaultValue) {
|
|
25115
|
-
var destroyRef = React.useRef(false);
|
|
25116
|
-
var _React$useState = React.useState(defaultValue), _React$useState2 = (
|
|
25117
|
-
React.useEffect(function() {
|
|
24827
|
+
var destroyRef = React$1.useRef(false);
|
|
24828
|
+
var _React$useState = React$1.useState(defaultValue), _React$useState2 = _slicedToArray(_React$useState, 2), value = _React$useState2[0], setValue2 = _React$useState2[1];
|
|
24829
|
+
React$1.useEffect(function() {
|
|
25118
24830
|
destroyRef.current = false;
|
|
25119
24831
|
return function() {
|
|
25120
24832
|
destroyRef.current = true;
|
|
@@ -25128,21 +24840,12 @@ function useSafeState(defaultValue) {
|
|
|
25128
24840
|
}
|
|
25129
24841
|
return [value, safeSetState];
|
|
25130
24842
|
}
|
|
25131
|
-
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
25132
|
-
Object.defineProperty(useMergedState$1, "__esModule", {
|
|
25133
|
-
value: true
|
|
25134
|
-
});
|
|
25135
|
-
var _default = useMergedState$1.default = useMergedState;
|
|
25136
|
-
var _slicedToArray2 = _interopRequireDefault(slicedToArrayExports);
|
|
25137
|
-
var _useEvent = _interopRequireDefault(useEvent$1);
|
|
25138
|
-
var _useLayoutEffect = useLayoutEffect$1;
|
|
25139
|
-
var _useState5 = _interopRequireDefault(useState);
|
|
25140
24843
|
function hasValue(value) {
|
|
25141
24844
|
return value !== void 0;
|
|
25142
24845
|
}
|
|
25143
24846
|
function useMergedState(defaultStateValue, option) {
|
|
25144
24847
|
var _ref = option || {}, defaultValue = _ref.defaultValue, value = _ref.value, onChange = _ref.onChange, postState = _ref.postState;
|
|
25145
|
-
var _useState = (
|
|
24848
|
+
var _useState = useSafeState(function() {
|
|
25146
24849
|
if (hasValue(value)) {
|
|
25147
24850
|
return value;
|
|
25148
24851
|
} else if (hasValue(defaultValue)) {
|
|
@@ -25150,23 +24853,23 @@ function useMergedState(defaultStateValue, option) {
|
|
|
25150
24853
|
} else {
|
|
25151
24854
|
return typeof defaultStateValue === "function" ? defaultStateValue() : defaultStateValue;
|
|
25152
24855
|
}
|
|
25153
|
-
}), _useState2 = (
|
|
24856
|
+
}), _useState2 = _slicedToArray(_useState, 2), innerValue = _useState2[0], setInnerValue = _useState2[1];
|
|
25154
24857
|
var mergedValue = value !== void 0 ? value : innerValue;
|
|
25155
24858
|
var postMergedValue = postState ? postState(mergedValue) : mergedValue;
|
|
25156
|
-
var onChangeFn = (
|
|
25157
|
-
var _useState3 = (
|
|
25158
|
-
|
|
24859
|
+
var onChangeFn = useEvent(onChange);
|
|
24860
|
+
var _useState3 = useSafeState([mergedValue]), _useState4 = _slicedToArray(_useState3, 2), prevValue = _useState4[0], setPrevValue = _useState4[1];
|
|
24861
|
+
useLayoutUpdateEffect(function() {
|
|
25159
24862
|
var prev = prevValue[0];
|
|
25160
24863
|
if (innerValue !== prev) {
|
|
25161
24864
|
onChangeFn(innerValue, prev);
|
|
25162
24865
|
}
|
|
25163
24866
|
}, [prevValue]);
|
|
25164
|
-
|
|
24867
|
+
useLayoutUpdateEffect(function() {
|
|
25165
24868
|
if (!hasValue(value)) {
|
|
25166
24869
|
setInnerValue(value);
|
|
25167
24870
|
}
|
|
25168
24871
|
}, [value]);
|
|
25169
|
-
var triggerChange = (
|
|
24872
|
+
var triggerChange = useEvent(function(updater, ignoreDestroy) {
|
|
25170
24873
|
setInnerValue(updater, ignoreDestroy);
|
|
25171
24874
|
setPrevValue([mergedValue], ignoreDestroy);
|
|
25172
24875
|
});
|
|
@@ -25230,13 +24933,13 @@ function InnerStepper(p, ref) {
|
|
|
25230
24933
|
return "";
|
|
25231
24934
|
return formatter ? formatter(value2) : fixedValue(value2);
|
|
25232
24935
|
};
|
|
25233
|
-
const [mergedValue, setMergedValue] =
|
|
24936
|
+
const [mergedValue, setMergedValue] = useMergedState(defaultValue, {
|
|
25234
24937
|
value,
|
|
25235
24938
|
onChange: (nextValue) => {
|
|
25236
24939
|
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
|
|
25237
24940
|
}
|
|
25238
24941
|
});
|
|
25239
|
-
const [inputValue, setInputValue] = useState
|
|
24942
|
+
const [inputValue, setInputValue] = useState(() => formatValue(mergedValue));
|
|
25240
24943
|
function setValueWithCheck(nextValue) {
|
|
25241
24944
|
if (nextValue.isNaN())
|
|
25242
24945
|
return;
|
|
@@ -25271,7 +24974,7 @@ function InnerStepper(p, ref) {
|
|
|
25271
24974
|
setValueWithCheck(getMiniDecimal(valueStr));
|
|
25272
24975
|
}
|
|
25273
24976
|
};
|
|
25274
|
-
const [focused, setFocused] = useState
|
|
24977
|
+
const [focused, setFocused] = useState(false);
|
|
25275
24978
|
const inputRef = React__default.useRef(null);
|
|
25276
24979
|
function triggerFocus(nextFocus) {
|
|
25277
24980
|
setFocused(nextFocus);
|
|
@@ -25639,7 +25342,7 @@ const SwiperItem = (props) => {
|
|
|
25639
25342
|
}, props.children));
|
|
25640
25343
|
};
|
|
25641
25344
|
function useRefState(initialState) {
|
|
25642
|
-
const [state, setState] = useState
|
|
25345
|
+
const [state, setState] = useState(initialState);
|
|
25643
25346
|
const ref = useRef(state);
|
|
25644
25347
|
useEffect(() => {
|
|
25645
25348
|
ref.current = state;
|
|
@@ -25687,38 +25390,53 @@ const defaultProps$a = {
|
|
|
25687
25390
|
let currentUid;
|
|
25688
25391
|
const Swiper = forwardRef(staged_1((p, ref) => {
|
|
25689
25392
|
const props = mergeProps(defaultProps$a, p);
|
|
25690
|
-
const
|
|
25393
|
+
const {
|
|
25394
|
+
direction,
|
|
25395
|
+
total,
|
|
25396
|
+
children,
|
|
25397
|
+
indicator
|
|
25398
|
+
} = props;
|
|
25399
|
+
const [uid] = useState({});
|
|
25691
25400
|
const timeoutRef = useRef(null);
|
|
25692
|
-
const isVertical =
|
|
25401
|
+
const isVertical = direction === "vertical";
|
|
25693
25402
|
const slideRatio = props.slideSize / 100;
|
|
25694
25403
|
const offsetRatio = props.trackOffset / 100;
|
|
25695
25404
|
const {
|
|
25696
25405
|
validChildren,
|
|
25697
|
-
count
|
|
25406
|
+
count,
|
|
25407
|
+
renderChildren
|
|
25698
25408
|
} = useMemo(() => {
|
|
25699
25409
|
let count2 = 0;
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25410
|
+
let renderChildren2 = void 0;
|
|
25411
|
+
let validChildren2 = void 0;
|
|
25412
|
+
if (typeof children === "function") {
|
|
25413
|
+
renderChildren2 = children;
|
|
25414
|
+
} else {
|
|
25415
|
+
validChildren2 = React__default.Children.map(children, (child) => {
|
|
25416
|
+
if (!React__default.isValidElement(child))
|
|
25417
|
+
return null;
|
|
25418
|
+
if (child.type !== SwiperItem) {
|
|
25419
|
+
devWarning("Swiper", "The children of `Swiper` must be `Swiper.Item` components.");
|
|
25420
|
+
return null;
|
|
25421
|
+
}
|
|
25422
|
+
count2++;
|
|
25423
|
+
return child;
|
|
25424
|
+
});
|
|
25425
|
+
}
|
|
25710
25426
|
return {
|
|
25427
|
+
renderChildren: renderChildren2,
|
|
25711
25428
|
validChildren: validChildren2,
|
|
25712
25429
|
count: count2
|
|
25713
25430
|
};
|
|
25714
|
-
}, [
|
|
25715
|
-
|
|
25431
|
+
}, [children]);
|
|
25432
|
+
const mergedTotal = total !== null && total !== void 0 ? total : count;
|
|
25433
|
+
if (mergedTotal === 0 || !validChildren && !renderChildren) {
|
|
25716
25434
|
devWarning("Swiper", "`Swiper` needs at least one child.");
|
|
25717
25435
|
return null;
|
|
25718
25436
|
}
|
|
25719
25437
|
return () => {
|
|
25720
25438
|
let loop2 = props.loop;
|
|
25721
|
-
if (slideRatio * (
|
|
25439
|
+
if (slideRatio * (mergedTotal - 1) < 1) {
|
|
25722
25440
|
loop2 = false;
|
|
25723
25441
|
}
|
|
25724
25442
|
const trackRef = useRef(null);
|
|
@@ -25733,7 +25451,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25733
25451
|
const [dragging, setDragging, draggingRef] = useRefState(false);
|
|
25734
25452
|
function boundIndex(current2) {
|
|
25735
25453
|
let min2 = 0;
|
|
25736
|
-
let max2 =
|
|
25454
|
+
let max2 = mergedTotal - 1;
|
|
25737
25455
|
if (props.stuckAtBoundary) {
|
|
25738
25456
|
min2 += offsetRatio / slideRatio;
|
|
25739
25457
|
max2 -= (1 - slideRatio - offsetRatio) / slideRatio;
|
|
@@ -25754,7 +25472,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25754
25472
|
if (!loop2)
|
|
25755
25473
|
return;
|
|
25756
25474
|
const rawX = position.get();
|
|
25757
|
-
const totalWidth = 100 *
|
|
25475
|
+
const totalWidth = 100 * mergedTotal;
|
|
25758
25476
|
const standardPosition = modulus(rawX, totalWidth);
|
|
25759
25477
|
if (standardPosition === rawX)
|
|
25760
25478
|
return;
|
|
@@ -25763,7 +25481,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25763
25481
|
immediate: true
|
|
25764
25482
|
});
|
|
25765
25483
|
}
|
|
25766
|
-
}), [
|
|
25484
|
+
}), [mergedTotal]);
|
|
25767
25485
|
const dragCancelRef = useRef(null);
|
|
25768
25486
|
function forceCancelDrag() {
|
|
25769
25487
|
var _a;
|
|
@@ -25785,7 +25503,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25785
25503
|
return;
|
|
25786
25504
|
const paramIndex = isVertical ? 1 : 0;
|
|
25787
25505
|
const offset2 = state.offset[paramIndex];
|
|
25788
|
-
const
|
|
25506
|
+
const direction2 = state.direction[paramIndex];
|
|
25789
25507
|
const velocity = state.velocity[paramIndex];
|
|
25790
25508
|
setDragging(true);
|
|
25791
25509
|
if (!state.last) {
|
|
@@ -25796,7 +25514,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25796
25514
|
} else {
|
|
25797
25515
|
const minIndex = Math.floor(offset2 / slidePixels);
|
|
25798
25516
|
const maxIndex = minIndex + 1;
|
|
25799
|
-
const index2 = Math.round((offset2 + velocity * 2e3 *
|
|
25517
|
+
const index2 = Math.round((offset2 + velocity * 2e3 * direction2) / slidePixels);
|
|
25800
25518
|
swipeTo(bound(index2, minIndex, maxIndex));
|
|
25801
25519
|
window.setTimeout(() => {
|
|
25802
25520
|
setDragging(false);
|
|
@@ -25814,7 +25532,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25814
25532
|
return {};
|
|
25815
25533
|
const slidePixels = getSlidePixels();
|
|
25816
25534
|
const lowerBound = boundIndex(0) * slidePixels;
|
|
25817
|
-
const upperBound = boundIndex(
|
|
25535
|
+
const upperBound = boundIndex(mergedTotal - 1) * slidePixels;
|
|
25818
25536
|
return isVertical ? {
|
|
25819
25537
|
top: lowerBound,
|
|
25820
25538
|
bottom: upperBound
|
|
@@ -25833,7 +25551,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25833
25551
|
function swipeTo(index2, immediate = false) {
|
|
25834
25552
|
var _a;
|
|
25835
25553
|
const roundedIndex = Math.round(index2);
|
|
25836
|
-
const targetIndex = loop2 ? modulus(roundedIndex,
|
|
25554
|
+
const targetIndex = loop2 ? modulus(roundedIndex, mergedTotal) : bound(roundedIndex, 0, mergedTotal - 1);
|
|
25837
25555
|
if (targetIndex !== getCurrent()) {
|
|
25838
25556
|
(_a = props.onIndexChange) === null || _a === void 0 ? void 0 : _a.call(props, targetIndex);
|
|
25839
25557
|
}
|
|
@@ -25855,7 +25573,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25855
25573
|
swipePrev
|
|
25856
25574
|
}));
|
|
25857
25575
|
useIsomorphicLayoutEffect$2(() => {
|
|
25858
|
-
const maxIndex =
|
|
25576
|
+
const maxIndex = mergedTotal - 1;
|
|
25859
25577
|
if (current > maxIndex) {
|
|
25860
25578
|
swipeTo(maxIndex, true);
|
|
25861
25579
|
}
|
|
@@ -25878,41 +25596,61 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25878
25596
|
if (timeoutRef.current)
|
|
25879
25597
|
window.clearTimeout(timeoutRef.current);
|
|
25880
25598
|
};
|
|
25881
|
-
}, [autoplay, autoplayInterval, dragging,
|
|
25599
|
+
}, [autoplay, autoplayInterval, dragging, mergedTotal]);
|
|
25600
|
+
function renderItem(index2, child) {
|
|
25601
|
+
let itemStyle = {};
|
|
25602
|
+
if (loop2) {
|
|
25603
|
+
itemStyle = {
|
|
25604
|
+
[isVertical ? "y" : "x"]: position.to((position2) => {
|
|
25605
|
+
let finalPosition = -position2 + index2 * 100;
|
|
25606
|
+
const totalWidth = mergedTotal * 100;
|
|
25607
|
+
const flagWidth = totalWidth / 2;
|
|
25608
|
+
finalPosition = modulus(finalPosition + flagWidth, totalWidth) - flagWidth;
|
|
25609
|
+
return `${finalPosition}%`;
|
|
25610
|
+
}),
|
|
25611
|
+
[isVertical ? "top" : "left"]: `-${index2 * 100}%`
|
|
25612
|
+
};
|
|
25613
|
+
}
|
|
25614
|
+
return React__default.createElement(animated.div, {
|
|
25615
|
+
className: classNames(`${classPrefix$a}-slide`, {
|
|
25616
|
+
[`${classPrefix$a}-slide-active`]: current === index2
|
|
25617
|
+
}),
|
|
25618
|
+
style: itemStyle,
|
|
25619
|
+
key: index2
|
|
25620
|
+
}, child);
|
|
25621
|
+
}
|
|
25622
|
+
function renderItems() {
|
|
25623
|
+
if (renderChildren && total) {
|
|
25624
|
+
const offsetCount = 2;
|
|
25625
|
+
const startIndex = Math.max(current - offsetCount, 0);
|
|
25626
|
+
const endIndex = Math.min(current + offsetCount, total - 1);
|
|
25627
|
+
const items = [];
|
|
25628
|
+
for (let index2 = startIndex; index2 <= endIndex; index2 += 1) {
|
|
25629
|
+
items.push(renderItem(index2, renderChildren(index2)));
|
|
25630
|
+
}
|
|
25631
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
25632
|
+
className: `${classPrefix$a}-slide-placeholder`,
|
|
25633
|
+
style: {
|
|
25634
|
+
width: `${startIndex * 100}%`
|
|
25635
|
+
}
|
|
25636
|
+
}), items);
|
|
25637
|
+
}
|
|
25638
|
+
return React__default.Children.map(validChildren, (child, index2) => {
|
|
25639
|
+
return renderItem(index2, child);
|
|
25640
|
+
});
|
|
25641
|
+
}
|
|
25882
25642
|
function renderTrackInner() {
|
|
25883
25643
|
if (loop2) {
|
|
25884
25644
|
return React__default.createElement("div", {
|
|
25885
25645
|
className: `${classPrefix$a}-track-inner`
|
|
25886
|
-
},
|
|
25887
|
-
return React__default.createElement(animated.div, {
|
|
25888
|
-
className: classNames(`${classPrefix$a}-slide`, {
|
|
25889
|
-
[`${classPrefix$a}-slide-active`]: current === index2
|
|
25890
|
-
}),
|
|
25891
|
-
style: {
|
|
25892
|
-
[isVertical ? "y" : "x"]: position.to((position2) => {
|
|
25893
|
-
let finalPosition = -position2 + index2 * 100;
|
|
25894
|
-
const totalWidth = count * 100;
|
|
25895
|
-
const flagWidth = totalWidth / 2;
|
|
25896
|
-
finalPosition = modulus(finalPosition + flagWidth, totalWidth) - flagWidth;
|
|
25897
|
-
return `${finalPosition}%`;
|
|
25898
|
-
}),
|
|
25899
|
-
[isVertical ? "top" : "left"]: `-${index2 * 100}%`
|
|
25900
|
-
}
|
|
25901
|
-
}, child);
|
|
25902
|
-
}));
|
|
25646
|
+
}, renderItems());
|
|
25903
25647
|
} else {
|
|
25904
25648
|
return React__default.createElement(animated.div, {
|
|
25905
25649
|
className: `${classPrefix$a}-track-inner`,
|
|
25906
25650
|
style: {
|
|
25907
25651
|
[isVertical ? "y" : "x"]: position.to((position2) => `${-position2}%`)
|
|
25908
25652
|
}
|
|
25909
|
-
},
|
|
25910
|
-
return React__default.createElement("div", {
|
|
25911
|
-
className: classNames(`${classPrefix$a}-slide`, {
|
|
25912
|
-
[`${classPrefix$a}-slide-active`]: current === index2
|
|
25913
|
-
})
|
|
25914
|
-
}, child);
|
|
25915
|
-
}));
|
|
25653
|
+
}, renderItems());
|
|
25916
25654
|
}
|
|
25917
25655
|
}
|
|
25918
25656
|
const style = {
|
|
@@ -25928,8 +25666,20 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25928
25666
|
};
|
|
25929
25667
|
}
|
|
25930
25668
|
const mergedProps = mergeFuncProps(dragProps, stopPropagationProps);
|
|
25669
|
+
let indicatorNode = null;
|
|
25670
|
+
if (typeof indicator === "function") {
|
|
25671
|
+
indicatorNode = indicator(mergedTotal, current);
|
|
25672
|
+
} else if (indicator !== false) {
|
|
25673
|
+
indicatorNode = React__default.createElement("div", {
|
|
25674
|
+
className: `${classPrefix$a}-indicator`
|
|
25675
|
+
}, React__default.createElement(PageIndicator, Object.assign({}, props.indicatorProps, {
|
|
25676
|
+
total: mergedTotal,
|
|
25677
|
+
current,
|
|
25678
|
+
direction
|
|
25679
|
+
})));
|
|
25680
|
+
}
|
|
25931
25681
|
return withNativeProps(props, React__default.createElement("div", {
|
|
25932
|
-
className: classNames(classPrefix$a, `${classPrefix$a}-${
|
|
25682
|
+
className: classNames(classPrefix$a, `${classPrefix$a}-${direction}`),
|
|
25933
25683
|
style
|
|
25934
25684
|
}, React__default.createElement("div", Object.assign({
|
|
25935
25685
|
ref: trackRef,
|
|
@@ -25942,13 +25692,7 @@ const Swiper = forwardRef(staged_1((p, ref) => {
|
|
|
25942
25692
|
}
|
|
25943
25693
|
forceCancelDrag();
|
|
25944
25694
|
}
|
|
25945
|
-
}, mergedProps), renderTrackInner()),
|
|
25946
|
-
className: `${classPrefix$a}-indicator`
|
|
25947
|
-
}, React__default.createElement(PageIndicator, Object.assign({}, props.indicatorProps, {
|
|
25948
|
-
total: count,
|
|
25949
|
-
current,
|
|
25950
|
-
direction: props.direction
|
|
25951
|
-
}))) : props.indicator(count, current)));
|
|
25695
|
+
}, mergedProps), renderTrackInner()), indicatorNode));
|
|
25952
25696
|
};
|
|
25953
25697
|
}));
|
|
25954
25698
|
function modulus(value, division) {
|
|
@@ -25986,7 +25730,7 @@ const defaultProps$9 = {
|
|
|
25986
25730
|
const Switch = (p) => {
|
|
25987
25731
|
const props = mergeProps(defaultProps$9, p);
|
|
25988
25732
|
const disabled = props.disabled || props.loading || false;
|
|
25989
|
-
const [changing, setChanging] = useState
|
|
25733
|
+
const [changing, setChanging] = useState(false);
|
|
25990
25734
|
const {
|
|
25991
25735
|
locale
|
|
25992
25736
|
} = useConfig();
|
|
@@ -26750,7 +26494,7 @@ const VirtualInput = forwardRef((p, ref) => {
|
|
|
26750
26494
|
const [value, setValue2] = usePropsValue(props);
|
|
26751
26495
|
const rootRef = useRef(null);
|
|
26752
26496
|
const contentRef = useRef(null);
|
|
26753
|
-
const [hasFocus, setHasFocus] = useState
|
|
26497
|
+
const [hasFocus, setHasFocus] = useState(false);
|
|
26754
26498
|
const {
|
|
26755
26499
|
locale
|
|
26756
26500
|
} = useConfig();
|
|
@@ -26875,7 +26619,7 @@ const WaterMark = (p) => {
|
|
|
26875
26619
|
fontSize = 14,
|
|
26876
26620
|
fontFamily = "sans-serif"
|
|
26877
26621
|
} = props;
|
|
26878
|
-
const [base64Url, setBase64Url] = useState
|
|
26622
|
+
const [base64Url, setBase64Url] = useState("");
|
|
26879
26623
|
useEffect(() => {
|
|
26880
26624
|
const canvas = document.createElement("canvas");
|
|
26881
26625
|
const ratio = window.devicePixelRatio;
|