antd-mobile 5.41.0-alpha.1 → 5.41.0-alpha.3
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 +1480 -1410
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +442 -372
- package/2x/bundle/antd-mobile.es.js +4843 -4796
- package/2x/bundle/antd-mobile.umd.development.js +1480 -1410
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/cjs/components/avatar/avatar.d.ts +3 -1
- package/2x/cjs/components/avatar/avatar.js +4 -2
- package/2x/cjs/components/calendar/calendar.js +4 -4
- package/2x/cjs/components/ellipsis/useMeasure.js +4 -3
- package/2x/cjs/components/image/image.d.ts +1 -1
- package/2x/cjs/components/image/image.js +5 -5
- package/2x/cjs/components/image-viewer/image-viewer.d.ts +7 -4
- package/2x/cjs/components/image-viewer/index.d.ts +2 -1
- package/2x/cjs/components/image-viewer/methods.js +1 -1
- package/2x/cjs/components/image-viewer/slide.d.ts +3 -2
- package/2x/cjs/components/image-viewer/slide.js +2 -1
- package/2x/cjs/components/image-viewer/slides.d.ts +3 -2
- package/2x/cjs/components/input/input.d.ts +1 -1
- package/2x/cjs/components/input/input.js +1 -3
- package/2x/cjs/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/2x/cjs/components/input/useInputHandleKeyDown.js +1 -12
- package/2x/cjs/components/number-keyboard/number-keyboard.js +21 -12
- package/2x/cjs/components/picker/index.d.ts +4 -2
- package/2x/cjs/components/swiper/swiper.d.ts +3 -3
- package/2x/cjs/components/swiper/swiper.js +47 -38
- package/2x/cjs/components/text-area/text-area.d.ts +1 -1
- package/2x/cjs/components/text-area/text-area.js +6 -7
- package/2x/es/components/avatar/avatar.d.ts +3 -1
- package/2x/es/components/avatar/avatar.js +4 -2
- package/2x/es/components/calendar/calendar.js +4 -4
- package/2x/es/components/ellipsis/useMeasure.js +4 -3
- package/2x/es/components/image/image.d.ts +1 -1
- package/2x/es/components/image/image.js +6 -6
- package/2x/es/components/image-viewer/image-viewer.d.ts +7 -4
- package/2x/es/components/image-viewer/index.d.ts +2 -1
- package/2x/es/components/image-viewer/methods.js +1 -1
- package/2x/es/components/image-viewer/slide.d.ts +3 -2
- package/2x/es/components/image-viewer/slide.js +2 -1
- package/2x/es/components/image-viewer/slides.d.ts +3 -2
- package/2x/es/components/input/input.d.ts +1 -1
- package/2x/es/components/input/input.js +1 -3
- package/2x/es/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/2x/es/components/input/useInputHandleKeyDown.js +1 -12
- package/2x/es/components/number-keyboard/number-keyboard.js +21 -12
- package/2x/es/components/picker/index.d.ts +4 -2
- package/2x/es/components/swiper/swiper.d.ts +3 -3
- package/2x/es/components/swiper/swiper.js +28 -19
- package/2x/es/components/text-area/text-area.d.ts +1 -1
- package/2x/es/components/text-area/text-area.js +6 -7
- package/2x/package.json +1 -1
- package/bundle/antd-mobile.cjs.development.js +1480 -1410
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +442 -372
- package/bundle/antd-mobile.es.js +4843 -4796
- package/bundle/antd-mobile.umd.development.js +1480 -1410
- package/bundle/antd-mobile.umd.js +7 -7
- package/cjs/components/avatar/avatar.d.ts +3 -1
- package/cjs/components/avatar/avatar.js +4 -2
- package/cjs/components/calendar/calendar.js +4 -4
- package/cjs/components/ellipsis/useMeasure.js +4 -3
- package/cjs/components/image/image.d.ts +1 -1
- package/cjs/components/image/image.js +5 -5
- package/cjs/components/image-viewer/image-viewer.d.ts +7 -4
- package/cjs/components/image-viewer/index.d.ts +2 -1
- package/cjs/components/image-viewer/methods.js +1 -1
- package/cjs/components/image-viewer/slide.d.ts +3 -2
- package/cjs/components/image-viewer/slide.js +2 -1
- package/cjs/components/image-viewer/slides.d.ts +3 -2
- package/cjs/components/input/input.d.ts +1 -1
- package/cjs/components/input/input.js +1 -3
- package/cjs/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/cjs/components/input/useInputHandleKeyDown.js +1 -12
- package/cjs/components/number-keyboard/number-keyboard.js +21 -12
- package/cjs/components/picker/index.d.ts +4 -2
- package/cjs/components/swiper/swiper.d.ts +3 -3
- package/cjs/components/swiper/swiper.js +47 -38
- package/cjs/components/text-area/text-area.d.ts +1 -1
- package/cjs/components/text-area/text-area.js +6 -7
- package/es/components/avatar/avatar.d.ts +3 -1
- package/es/components/avatar/avatar.js +4 -2
- package/es/components/calendar/calendar.js +4 -4
- package/es/components/ellipsis/useMeasure.js +4 -3
- package/es/components/image/image.d.ts +1 -1
- package/es/components/image/image.js +6 -6
- package/es/components/image-viewer/image-viewer.d.ts +7 -4
- package/es/components/image-viewer/index.d.ts +2 -1
- package/es/components/image-viewer/methods.js +1 -1
- package/es/components/image-viewer/slide.d.ts +3 -2
- package/es/components/image-viewer/slide.js +2 -1
- package/es/components/image-viewer/slides.d.ts +3 -2
- package/es/components/input/input.d.ts +1 -1
- package/es/components/input/input.js +1 -3
- package/es/components/input/useInputHandleKeyDown.d.ts +1 -3
- package/es/components/input/useInputHandleKeyDown.js +1 -12
- package/es/components/number-keyboard/number-keyboard.js +21 -12
- package/es/components/picker/index.d.ts +4 -2
- package/es/components/swiper/swiper.d.ts +3 -3
- package/es/components/swiper/swiper.js +28 -19
- package/es/components/text-area/text-area.d.ts +1 -1
- package/es/components/text-area/text-area.js +6 -7
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React$
|
|
2
|
-
import React__default, { useContext, useRef, useMemo as useMemo$2, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$
|
|
1
|
+
import * as React$3 from "react";
|
|
2
|
+
import React__default, { useContext, useRef, useMemo as useMemo$2, useEffect, useState, useCallback, useLayoutEffect as useLayoutEffect$3, forwardRef, useImperativeHandle, memo, version as version$1, isValidElement, createContext, cloneElement } from "react";
|
|
3
3
|
import * as ReactDOM$1 from "react-dom";
|
|
4
4
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
|
|
5
|
-
const canUseDom$
|
|
6
|
-
if (canUseDom$
|
|
5
|
+
const canUseDom$3 = !!(typeof window !== "undefined" && typeof document !== "undefined" && window.document && window.document.createElement);
|
|
6
|
+
if (canUseDom$3) {
|
|
7
7
|
document.addEventListener("touchstart", () => {
|
|
8
8
|
}, true);
|
|
9
9
|
}
|
|
@@ -1781,7 +1781,7 @@ function useInViewport(target, options) {
|
|
|
1781
1781
|
}, [options === null || options === void 0 ? void 0 : options.rootMargin, options === null || options === void 0 ? void 0 : options.threshold], target);
|
|
1782
1782
|
return [state, ratio];
|
|
1783
1783
|
}
|
|
1784
|
-
var useIsomorphicLayoutEffect$2 = isBrowser$3 ? useLayoutEffect$
|
|
1784
|
+
var useIsomorphicLayoutEffect$2 = isBrowser$3 ? useLayoutEffect$3 : useEffect;
|
|
1785
1785
|
const useIsomorphicLayoutEffect$3 = useIsomorphicLayoutEffect$2;
|
|
1786
1786
|
function useLockFn(fn) {
|
|
1787
1787
|
var _this = this;
|
|
@@ -2341,7 +2341,7 @@ var index$j = function() {
|
|
|
2341
2341
|
}
|
|
2342
2342
|
return ResizeObserver$1;
|
|
2343
2343
|
}();
|
|
2344
|
-
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$
|
|
2344
|
+
var useEffectWithTarget = createEffectWithTarget$1(useLayoutEffect$3);
|
|
2345
2345
|
const useLayoutEffectWithTarget = useEffectWithTarget;
|
|
2346
2346
|
var useIsomorphicLayoutEffectWithTarget = isBrowser$3 ? useLayoutEffectWithTarget : useEffectWithTarget$2;
|
|
2347
2347
|
const useIsomorphicLayoutEffectWithTarget$1 = useIsomorphicLayoutEffectWithTarget;
|
|
@@ -2476,7 +2476,7 @@ function useTouch() {
|
|
|
2476
2476
|
isHorizontal
|
|
2477
2477
|
};
|
|
2478
2478
|
}
|
|
2479
|
-
const defaultRoot = canUseDom$
|
|
2479
|
+
const defaultRoot = canUseDom$3 ? window : void 0;
|
|
2480
2480
|
const overflowStylePatterns = ["scroll", "auto", "overlay"];
|
|
2481
2481
|
function isElement$1(node) {
|
|
2482
2482
|
const ELEMENT_NODE_TYPE = 1;
|
|
@@ -2499,7 +2499,7 @@ function getScrollParent(el, root2 = defaultRoot) {
|
|
|
2499
2499
|
return root2;
|
|
2500
2500
|
}
|
|
2501
2501
|
let supportsPassive = false;
|
|
2502
|
-
if (canUseDom$
|
|
2502
|
+
if (canUseDom$3) {
|
|
2503
2503
|
try {
|
|
2504
2504
|
const opts = {};
|
|
2505
2505
|
Object.defineProperty(opts, "passive", {
|
|
@@ -2783,7 +2783,7 @@ function eachProp(obj, fn, ctx2) {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
}
|
|
2785
2785
|
}
|
|
2786
|
-
const toArray$
|
|
2786
|
+
const toArray$5 = (a) => is.und(a) ? [] : is.arr(a) ? a : [a];
|
|
2787
2787
|
function flush(queue, iterator) {
|
|
2788
2788
|
if (queue.size) {
|
|
2789
2789
|
const items = Array.from(queue);
|
|
@@ -3449,7 +3449,7 @@ function deprecateDirectCall() {
|
|
|
3449
3449
|
function isAnimatedString(value) {
|
|
3450
3450
|
return is.str(value) && (value[0] == "#" || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
|
|
3451
3451
|
}
|
|
3452
|
-
const useIsomorphicLayoutEffect$1 = isSSR() ? useEffect : useLayoutEffect$
|
|
3452
|
+
const useIsomorphicLayoutEffect$1 = isSSR() ? useEffect : useLayoutEffect$3;
|
|
3453
3453
|
const useIsMounted = () => {
|
|
3454
3454
|
const isMounted = useRef(false);
|
|
3455
3455
|
useIsomorphicLayoutEffect$1(() => {
|
|
@@ -3750,7 +3750,7 @@ const withAnimated = (Component, host2) => {
|
|
|
3750
3750
|
each(observer2.deps, (dep) => removeFluidObserver(dep, observer2));
|
|
3751
3751
|
});
|
|
3752
3752
|
const usedProps = host2.getComponentProps(props.getValue());
|
|
3753
|
-
return React$
|
|
3753
|
+
return React$3.createElement(Component, _extends$3({}, usedProps, {
|
|
3754
3754
|
ref: ref2
|
|
3755
3755
|
}));
|
|
3756
3756
|
});
|
|
@@ -3835,7 +3835,7 @@ function _extends$2() {
|
|
|
3835
3835
|
function callProp(value, ...args) {
|
|
3836
3836
|
return is.fun(value) ? value(...args) : value;
|
|
3837
3837
|
}
|
|
3838
|
-
const matchProp = (value, key) => value === true || !!(key && value && (is.fun(value) ? value(key) : toArray$
|
|
3838
|
+
const matchProp = (value, key) => value === true || !!(key && value && (is.fun(value) ? value(key) : toArray$5(value).includes(key)));
|
|
3839
3839
|
const resolveProp = (prop, key) => is.obj(prop) ? key && prop[key] : prop;
|
|
3840
3840
|
const getDefaultProp = (props, key) => props.default === true ? props[key] : props.default ? props.default[key] : void 0;
|
|
3841
3841
|
const noopTransform = (value) => value;
|
|
@@ -4383,7 +4383,7 @@ class SpringValue extends FrameValue {
|
|
|
4383
4383
|
} = anim;
|
|
4384
4384
|
const payload = getPayload(anim.to);
|
|
4385
4385
|
if (!payload && hasFluidValue(anim.to)) {
|
|
4386
|
-
toValues = toArray$
|
|
4386
|
+
toValues = toArray$5(getFluidValue(anim.to));
|
|
4387
4387
|
}
|
|
4388
4388
|
anim.values.forEach((node2, i2) => {
|
|
4389
4389
|
if (node2.done)
|
|
@@ -4741,7 +4741,7 @@ class SpringValue extends FrameValue {
|
|
|
4741
4741
|
if (!hasAsyncTo) {
|
|
4742
4742
|
if (started || hasFluidValue(prevTo)) {
|
|
4743
4743
|
anim.values = node.getPayload();
|
|
4744
|
-
anim.toValues = hasFluidValue(to2) ? null : goalType == AnimatedString ? [1] : toArray$
|
|
4744
|
+
anim.toValues = hasFluidValue(to2) ? null : goalType == AnimatedString ? [1] : toArray$5(goal);
|
|
4745
4745
|
}
|
|
4746
4746
|
if (anim.immediate != immediate) {
|
|
4747
4747
|
anim.immediate = immediate;
|
|
@@ -5017,7 +5017,7 @@ let Controller$1 = class Controller {
|
|
|
5017
5017
|
queue
|
|
5018
5018
|
} = this;
|
|
5019
5019
|
if (props) {
|
|
5020
|
-
queue = toArray$
|
|
5020
|
+
queue = toArray$5(props).map(createUpdate);
|
|
5021
5021
|
} else {
|
|
5022
5022
|
this.queue = [];
|
|
5023
5023
|
}
|
|
@@ -5033,7 +5033,7 @@ let Controller$1 = class Controller {
|
|
|
5033
5033
|
}
|
|
5034
5034
|
if (keys2) {
|
|
5035
5035
|
const springs = this.springs;
|
|
5036
|
-
each(toArray$
|
|
5036
|
+
each(toArray$5(keys2), (key) => springs[key].stop(!!arg));
|
|
5037
5037
|
} else {
|
|
5038
5038
|
stopAsync(this._state, this._lastAsyncId);
|
|
5039
5039
|
this.each((spring) => spring.stop(!!arg));
|
|
@@ -5047,7 +5047,7 @@ let Controller$1 = class Controller {
|
|
|
5047
5047
|
});
|
|
5048
5048
|
} else {
|
|
5049
5049
|
const springs = this.springs;
|
|
5050
|
-
each(toArray$
|
|
5050
|
+
each(toArray$5(keys2), (key) => springs[key].pause());
|
|
5051
5051
|
}
|
|
5052
5052
|
return this;
|
|
5053
5053
|
}
|
|
@@ -5058,7 +5058,7 @@ let Controller$1 = class Controller {
|
|
|
5058
5058
|
});
|
|
5059
5059
|
} else {
|
|
5060
5060
|
const springs = this.springs;
|
|
5061
|
-
each(toArray$
|
|
5061
|
+
each(toArray$5(keys2), (key) => springs[key].resume());
|
|
5062
5062
|
}
|
|
5063
5063
|
return this;
|
|
5064
5064
|
}
|
|
@@ -5214,7 +5214,7 @@ async function flushUpdate(ctrl, props, isLoop) {
|
|
|
5214
5214
|
function getSprings(ctrl, props) {
|
|
5215
5215
|
const springs = _extends$2({}, ctrl.springs);
|
|
5216
5216
|
if (props) {
|
|
5217
|
-
each(toArray$
|
|
5217
|
+
each(toArray$5(props), (props2) => {
|
|
5218
5218
|
if (is.und(props2.keys)) {
|
|
5219
5219
|
props2 = createUpdate(props2);
|
|
5220
5220
|
}
|
|
@@ -5290,7 +5290,7 @@ const SpringContext = (_ref) => {
|
|
|
5290
5290
|
const {
|
|
5291
5291
|
Provider
|
|
5292
5292
|
} = ctx;
|
|
5293
|
-
return React$
|
|
5293
|
+
return React$3.createElement(Provider, {
|
|
5294
5294
|
value: props
|
|
5295
5295
|
}, children);
|
|
5296
5296
|
};
|
|
@@ -5298,7 +5298,7 @@ const ctx = makeContext(SpringContext, {});
|
|
|
5298
5298
|
SpringContext.Provider = ctx.Provider;
|
|
5299
5299
|
SpringContext.Consumer = ctx.Consumer;
|
|
5300
5300
|
function makeContext(target, init) {
|
|
5301
|
-
Object.assign(target, React$
|
|
5301
|
+
Object.assign(target, React$3.createContext(init));
|
|
5302
5302
|
target.Provider._context = target;
|
|
5303
5303
|
target.Consumer._context = target;
|
|
5304
5304
|
return target;
|
|
@@ -5490,7 +5490,7 @@ class Interpolation extends FrameValue {
|
|
|
5490
5490
|
}
|
|
5491
5491
|
}
|
|
5492
5492
|
_get() {
|
|
5493
|
-
const inputs = is.arr(this.source) ? this.source.map(getFluidValue) : toArray$
|
|
5493
|
+
const inputs = is.arr(this.source) ? this.source.map(getFluidValue) : toArray$5(getFluidValue(this.source));
|
|
5494
5494
|
return this.calc(...inputs);
|
|
5495
5495
|
}
|
|
5496
5496
|
_start() {
|
|
@@ -5509,7 +5509,7 @@ class Interpolation extends FrameValue {
|
|
|
5509
5509
|
}
|
|
5510
5510
|
_attach() {
|
|
5511
5511
|
let priority2 = 1;
|
|
5512
|
-
each(toArray$
|
|
5512
|
+
each(toArray$5(this.source), (source) => {
|
|
5513
5513
|
if (hasFluidValue(source)) {
|
|
5514
5514
|
addFluidObserver(source, this);
|
|
5515
5515
|
}
|
|
@@ -5524,7 +5524,7 @@ class Interpolation extends FrameValue {
|
|
|
5524
5524
|
this._start();
|
|
5525
5525
|
}
|
|
5526
5526
|
_detach() {
|
|
5527
|
-
each(toArray$
|
|
5527
|
+
each(toArray$5(this.source), (source) => {
|
|
5528
5528
|
if (hasFluidValue(source)) {
|
|
5529
5529
|
removeFluidObserver(source, this);
|
|
5530
5530
|
}
|
|
@@ -5543,7 +5543,7 @@ class Interpolation extends FrameValue {
|
|
|
5543
5543
|
} else if (event.type == "idle") {
|
|
5544
5544
|
this._active.delete(event.parent);
|
|
5545
5545
|
} else if (event.type == "priority") {
|
|
5546
|
-
this.priority = toArray$
|
|
5546
|
+
this.priority = toArray$5(this.source).reduce((highest, parent) => Math.max(highest, (isFrameValue(parent) ? parent.priority : 0) + 1), 0);
|
|
5547
5547
|
}
|
|
5548
5548
|
}
|
|
5549
5549
|
}
|
|
@@ -5711,7 +5711,7 @@ class AnimatedStyle extends AnimatedObject {
|
|
|
5711
5711
|
if (is.und(value))
|
|
5712
5712
|
return;
|
|
5713
5713
|
const unit = pxTransforms.test(key) ? "px" : degTransforms.test(key) ? "deg" : "";
|
|
5714
|
-
inputs.push(toArray$
|
|
5714
|
+
inputs.push(toArray$5(value));
|
|
5715
5715
|
transforms.push(key === "rotate3d" ? ([x2, y2, z2, deg]) => [`rotate3d(${x2},${y2},${z2},${addUnit(deg, unit)})`, isValueIdentity(deg, 0)] : (input) => [`${key}(${input.map((v) => addUnit(v, unit)).join(",")})`, isValueIdentity(input, key.startsWith("scale") ? 1 : 0)]);
|
|
5716
5716
|
}
|
|
5717
5717
|
});
|
|
@@ -5778,7 +5778,7 @@ function resolveContainer(getContainer) {
|
|
|
5778
5778
|
return container || document.body;
|
|
5779
5779
|
}
|
|
5780
5780
|
function renderToContainer(getContainer, node) {
|
|
5781
|
-
if (canUseDom$
|
|
5781
|
+
if (canUseDom$3 && getContainer) {
|
|
5782
5782
|
const container = resolveContainer(getContainer);
|
|
5783
5783
|
return createPortal(node, container);
|
|
5784
5784
|
}
|
|
@@ -5912,7 +5912,7 @@ const Mask = (p) => {
|
|
|
5912
5912
|
}, renderToContainer(props.getContainer, node));
|
|
5913
5913
|
};
|
|
5914
5914
|
function AddOutline(props) {
|
|
5915
|
-
return /* @__PURE__ */ React$
|
|
5915
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5916
5916
|
width: "1em",
|
|
5917
5917
|
height: "1em",
|
|
5918
5918
|
viewBox: "0 0 48 48",
|
|
@@ -5923,15 +5923,15 @@ function AddOutline(props) {
|
|
|
5923
5923
|
verticalAlign: "-0.125em"
|
|
5924
5924
|
}, props.style),
|
|
5925
5925
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5926
|
-
}), /* @__PURE__ */ React$
|
|
5926
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5927
5927
|
id: "AddOutline-AddOutline",
|
|
5928
5928
|
stroke: "none",
|
|
5929
5929
|
strokeWidth: 1,
|
|
5930
5930
|
fill: "none",
|
|
5931
5931
|
fillRule: "evenodd"
|
|
5932
|
-
}, /* @__PURE__ */ React$
|
|
5932
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
5933
5933
|
id: "AddOutline-add"
|
|
5934
|
-
}, /* @__PURE__ */ React$
|
|
5934
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
5935
5935
|
id: "AddOutline-矩形",
|
|
5936
5936
|
fill: "#FFFFFF",
|
|
5937
5937
|
opacity: 0,
|
|
@@ -5939,7 +5939,7 @@ function AddOutline(props) {
|
|
|
5939
5939
|
y: 0,
|
|
5940
5940
|
width: 48,
|
|
5941
5941
|
height: 48
|
|
5942
|
-
}), /* @__PURE__ */ React$
|
|
5942
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
5943
5943
|
d: "M25.1,6.5 C25.3209139,6.5 25.5,6.6790861 25.5,6.9 L25.5,22.5 L41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L25.5,25.5 L25.5,41.1 C25.5,41.3209139 25.3209139,41.5 25.1,41.5 L22.9,41.5 C22.6790861,41.5 22.5,41.3209139 22.5,41.1 L22.5,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L22.5,22.5 L22.5,6.9 C22.5,6.6790861 22.6790861,6.5 22.9,6.5 L25.1,6.5 Z",
|
|
5944
5944
|
id: "AddOutline-路径",
|
|
5945
5945
|
fill: "currentColor",
|
|
@@ -5947,7 +5947,7 @@ function AddOutline(props) {
|
|
|
5947
5947
|
}))));
|
|
5948
5948
|
}
|
|
5949
5949
|
function CheckCircleFill(props) {
|
|
5950
|
-
return /* @__PURE__ */ React$
|
|
5950
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5951
5951
|
width: "1em",
|
|
5952
5952
|
height: "1em",
|
|
5953
5953
|
viewBox: "0 0 48 48",
|
|
@@ -5958,15 +5958,15 @@ function CheckCircleFill(props) {
|
|
|
5958
5958
|
verticalAlign: "-0.125em"
|
|
5959
5959
|
}, props.style),
|
|
5960
5960
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5961
|
-
}), /* @__PURE__ */ React$
|
|
5961
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5962
5962
|
id: "CheckCircleFill-CheckCircleFill",
|
|
5963
5963
|
stroke: "none",
|
|
5964
5964
|
strokeWidth: 1,
|
|
5965
5965
|
fill: "none",
|
|
5966
5966
|
fillRule: "evenodd"
|
|
5967
|
-
}, /* @__PURE__ */ React$
|
|
5967
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
5968
5968
|
id: "CheckCircleFill-编组"
|
|
5969
|
-
}, /* @__PURE__ */ React$
|
|
5969
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
5970
5970
|
id: "CheckCircleFill-矩形",
|
|
5971
5971
|
fill: "#FFFFFF",
|
|
5972
5972
|
opacity: 0,
|
|
@@ -5974,7 +5974,7 @@ function CheckCircleFill(props) {
|
|
|
5974
5974
|
y: 0,
|
|
5975
5975
|
width: 48,
|
|
5976
5976
|
height: 48
|
|
5977
|
-
}), /* @__PURE__ */ React$
|
|
5977
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
5978
5978
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M35.8202936,17 L32.7086692,17 C32.6025922,17 32.500859,17.0421352 32.4258461,17.1171378 L32.4258461,17.1171378 L21.3922352,28.1492247 L16.3591562,23.1163755 C16.2841422,23.0413649 16.1824034,22.9992247 16.0763199,22.9992247 L16.0763199,22.9992247 L12.9653996,22.9992247 C12.859342,22.9992247 12.7576259,23.0413445 12.6826161,23.1163228 C12.5263737,23.2724998 12.5263207,23.5257658 12.6824977,23.6820082 C12.8583452,23.8579294 13.0341927,24.0338505 13.2100402,24.2097716 C13.2577488,24.2575002 13.3065097,24.3063074 13.3562592,24.3561283 L13.6661084,24.6666997 C14.3074913,25.3100963 15.0728595,26.0807873 15.8520136,26.8666654 L16.4372421,27.4571699 C18.2552812,29.2922548 19.9983838,31.0574343 20.2666114,31.3285298 L20.301004,31.3632341 C20.8867904,31.9490205 21.8365379,31.9490205 22.4223243,31.3632341 L22.4223243,31.3632341 L36.1031319,17.6828471 C36.1781492,17.6078322 36.2202936,17.5060887 36.2202936,17.4 C36.2202936,17.1790861 36.0412075,17 35.8202936,17 L35.8202936,17 Z",
|
|
5979
5979
|
id: "CheckCircleFill-形状结合",
|
|
5980
5980
|
fill: "currentColor",
|
|
@@ -5982,7 +5982,7 @@ function CheckCircleFill(props) {
|
|
|
5982
5982
|
}))));
|
|
5983
5983
|
}
|
|
5984
5984
|
function CheckOutline(props) {
|
|
5985
|
-
return /* @__PURE__ */ React$
|
|
5985
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
5986
5986
|
width: "1em",
|
|
5987
5987
|
height: "1em",
|
|
5988
5988
|
viewBox: "0 0 48 48",
|
|
@@ -5993,15 +5993,15 @@ function CheckOutline(props) {
|
|
|
5993
5993
|
verticalAlign: "-0.125em"
|
|
5994
5994
|
}, props.style),
|
|
5995
5995
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
5996
|
-
}), /* @__PURE__ */ React$
|
|
5996
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
5997
5997
|
id: "CheckOutline-CheckOutline",
|
|
5998
5998
|
stroke: "none",
|
|
5999
5999
|
strokeWidth: 1,
|
|
6000
6000
|
fill: "none",
|
|
6001
6001
|
fillRule: "evenodd"
|
|
6002
|
-
}, /* @__PURE__ */ React$
|
|
6002
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6003
6003
|
id: "CheckOutline-编组"
|
|
6004
|
-
}, /* @__PURE__ */ React$
|
|
6004
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6005
6005
|
id: "CheckOutline-矩形",
|
|
6006
6006
|
fill: "#FFFFFF",
|
|
6007
6007
|
opacity: 0,
|
|
@@ -6009,7 +6009,7 @@ function CheckOutline(props) {
|
|
|
6009
6009
|
y: 0,
|
|
6010
6010
|
width: 48,
|
|
6011
6011
|
height: 48
|
|
6012
|
-
}), /* @__PURE__ */ React$
|
|
6012
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6013
6013
|
d: "M44.309608,12.6841286 L21.2180499,35.5661955 L21.2180499,35.5661955 C20.6343343,36.1446015 19.6879443,36.1446015 19.1042286,35.5661955 C19.0538201,35.5162456 19.0077648,35.4636155 18.9660627,35.4087682 C18.9113105,35.368106 18.8584669,35.3226694 18.808302,35.2729607 L3.6903839,20.2920499 C3.53346476,20.1365529 3.53231192,19.8832895 3.68780898,19.7263704 C3.7629255,19.6505669 3.86521855,19.6079227 3.97193622,19.6079227 L7.06238923,19.6079227 C7.16784214,19.6079227 7.26902895,19.6495648 7.34393561,19.7237896 L20.160443,32.4236157 L20.160443,32.4236157 L40.656066,12.115858 C40.7309719,12.0416387 40.8321549,12 40.9376034,12 L44.0280571,12 C44.248971,12 44.4280571,12.1790861 44.4280571,12.4 C44.4280571,12.5067183 44.3854124,12.609012 44.309608,12.6841286 Z",
|
|
6014
6014
|
id: "CheckOutline-路径",
|
|
6015
6015
|
fill: "currentColor",
|
|
@@ -6017,7 +6017,7 @@ function CheckOutline(props) {
|
|
|
6017
6017
|
}))));
|
|
6018
6018
|
}
|
|
6019
6019
|
function ClockCircleFill(props) {
|
|
6020
|
-
return /* @__PURE__ */ React$
|
|
6020
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6021
6021
|
width: "1em",
|
|
6022
6022
|
height: "1em",
|
|
6023
6023
|
viewBox: "0 0 48 48",
|
|
@@ -6028,15 +6028,15 @@ function ClockCircleFill(props) {
|
|
|
6028
6028
|
verticalAlign: "-0.125em"
|
|
6029
6029
|
}, props.style),
|
|
6030
6030
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6031
|
-
}), /* @__PURE__ */ React$
|
|
6031
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6032
6032
|
id: "ClockCircleFill-ClockCircleFill",
|
|
6033
6033
|
stroke: "none",
|
|
6034
6034
|
strokeWidth: 1,
|
|
6035
6035
|
fill: "none",
|
|
6036
6036
|
fillRule: "evenodd"
|
|
6037
|
-
}, /* @__PURE__ */ React$
|
|
6037
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6038
6038
|
id: "ClockCircleFill-编组"
|
|
6039
|
-
}, /* @__PURE__ */ React$
|
|
6039
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6040
6040
|
id: "ClockCircleFill-矩形",
|
|
6041
6041
|
fill: "#FFFFFF",
|
|
6042
6042
|
opacity: 0,
|
|
@@ -6044,7 +6044,7 @@ function ClockCircleFill(props) {
|
|
|
6044
6044
|
y: 0,
|
|
6045
6045
|
width: 48,
|
|
6046
6046
|
height: 48
|
|
6047
|
-
}), /* @__PURE__ */ React$
|
|
6047
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6048
6048
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24.6,14 L22.4,14 C22.1790861,14 22,14.1790861 22,14.4 L22,14.4 L22,23.1715729 L22.0065089,23.3850222 C22.0584325,24.2354066 22.4192395,25.0405598 23.0251263,25.6464466 L23.0251263,25.6464466 L31.1564971,33.7778175 C31.3127068,33.9340272 31.5659728,33.9340272 31.7221825,33.7778175 L31.7221825,33.7778175 L33.2778175,32.2221825 C33.4340272,32.0659728 33.4340272,31.8127068 33.2778175,31.6564971 L33.2778175,31.6564971 L25.1464466,23.5251263 L25.0952092,23.4650801 C25.0337142,23.38027 25,23.2776595 25,23.1715729 L25,23.1715729 L25,14.4 C25,14.1790861 24.8209139,14 24.6,14 L24.6,14 Z",
|
|
6049
6049
|
id: "ClockCircleFill-形状结合",
|
|
6050
6050
|
fill: "currentColor",
|
|
@@ -6052,7 +6052,7 @@ function ClockCircleFill(props) {
|
|
|
6052
6052
|
}))));
|
|
6053
6053
|
}
|
|
6054
6054
|
function CloseCircleFill(props) {
|
|
6055
|
-
return /* @__PURE__ */ React$
|
|
6055
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6056
6056
|
width: "1em",
|
|
6057
6057
|
height: "1em",
|
|
6058
6058
|
viewBox: "0 0 48 48",
|
|
@@ -6063,15 +6063,15 @@ function CloseCircleFill(props) {
|
|
|
6063
6063
|
verticalAlign: "-0.125em"
|
|
6064
6064
|
}, props.style),
|
|
6065
6065
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6066
|
-
}), /* @__PURE__ */ React$
|
|
6066
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6067
6067
|
id: "CloseCircleFill-CloseCircleFill",
|
|
6068
6068
|
stroke: "none",
|
|
6069
6069
|
strokeWidth: 1,
|
|
6070
6070
|
fill: "none",
|
|
6071
6071
|
fillRule: "evenodd"
|
|
6072
|
-
}, /* @__PURE__ */ React$
|
|
6072
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6073
6073
|
id: "CloseCircleFill-编组"
|
|
6074
|
-
}, /* @__PURE__ */ React$
|
|
6074
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6075
6075
|
id: "CloseCircleFill-矩形",
|
|
6076
6076
|
fill: "#FFFFFF",
|
|
6077
6077
|
opacity: 0,
|
|
@@ -6079,7 +6079,7 @@ function CloseCircleFill(props) {
|
|
|
6079
6079
|
y: 0,
|
|
6080
6080
|
width: 48,
|
|
6081
6081
|
height: 48
|
|
6082
|
-
}), /* @__PURE__ */ React$
|
|
6082
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6083
6083
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M18.6753876,16 L15.5637812,16 C15.4576916,16 15.3559474,16.0421451 15.2809323,16.1171635 C15.124726,16.2733766 15.1247316,16.5266426 15.2809447,16.6828489 L15.2809447,16.6828489 L22.299066,23.7006641 L14.6828159,31.3171619 C14.6078042,31.3921761 14.5656632,31.4939157 14.5656632,31.6 C14.5656632,31.8209139 14.7447493,32 14.9656632,32 L14.9656632,32 L18.0753284,32 C18.1814068,32 18.2831412,31.9578638 18.3581544,31.8828594 L18.3581544,31.8828594 L24.420066,25.8216641 L30.4818451,31.8828564 C30.5568585,31.9578626 30.6585942,32 30.7646741,32 L30.7646741,32 L33.8763476,32 C33.9824309,32 34.0841695,31.9578599 34.1591835,31.8828496 C34.315397,31.7266436 34.3154031,31.4733776 34.1591972,31.3171641 L34.1591972,31.3171641 L26.542066,23.6996641 L33.5591874,16.6828489 C33.6342057,16.6078338 33.6763508,16.5060896 33.6763508,16.4 C33.6763508,16.1790861 33.4972647,16 33.2763508,16 L33.2763508,16 L30.1637654,16 C30.0576705,16 29.9559218,16.0421493 29.8809058,16.1171741 L29.8809058,16.1171741 L24.420066,21.5786641 L18.9582218,16.1171488 C18.883208,16.0421394 18.7814701,16 18.6753876,16 L18.6753876,16 Z",
|
|
6084
6084
|
id: "CloseCircleFill-形状结合",
|
|
6085
6085
|
fill: "currentColor",
|
|
@@ -6087,7 +6087,7 @@ function CloseCircleFill(props) {
|
|
|
6087
6087
|
}))));
|
|
6088
6088
|
}
|
|
6089
6089
|
function CloseOutline(props) {
|
|
6090
|
-
return /* @__PURE__ */ React$
|
|
6090
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6091
6091
|
width: "1em",
|
|
6092
6092
|
height: "1em",
|
|
6093
6093
|
viewBox: "0 0 48 48",
|
|
@@ -6098,15 +6098,15 @@ function CloseOutline(props) {
|
|
|
6098
6098
|
verticalAlign: "-0.125em"
|
|
6099
6099
|
}, props.style),
|
|
6100
6100
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6101
|
-
}), /* @__PURE__ */ React$
|
|
6101
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6102
6102
|
id: "CloseOutline-CloseOutline",
|
|
6103
6103
|
stroke: "none",
|
|
6104
6104
|
strokeWidth: 1,
|
|
6105
6105
|
fill: "none",
|
|
6106
6106
|
fillRule: "evenodd"
|
|
6107
|
-
}, /* @__PURE__ */ React$
|
|
6107
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6108
6108
|
id: "CloseOutline-编组"
|
|
6109
|
-
}, /* @__PURE__ */ React$
|
|
6109
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6110
6110
|
id: "CloseOutline-矩形",
|
|
6111
6111
|
fill: "#FFFFFF",
|
|
6112
6112
|
opacity: 0,
|
|
@@ -6114,7 +6114,7 @@ function CloseOutline(props) {
|
|
|
6114
6114
|
y: 0,
|
|
6115
6115
|
width: 48,
|
|
6116
6116
|
height: 48
|
|
6117
|
-
}), /* @__PURE__ */ React$
|
|
6117
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6118
6118
|
d: "M10.6085104,8.11754663 L24.1768397,21.8195031 L24.1768397,21.8195031 L37.7443031,8.1175556 C37.8194278,8.04168616 37.9217669,7.999 38.0285372,7.999 L41.1040268,7.999 C41.3249407,7.999 41.5040268,8.1780861 41.5040268,8.399 C41.5040268,8.50440471 41.4624226,8.60554929 41.3882578,8.68044752 L26.2773302,23.9408235 L26.2773302,23.9408235 L41.5021975,39.3175645 C41.65763,39.4745475 41.6563731,39.7278104 41.4993901,39.8832429 C41.4244929,39.9574004 41.3233534,39.999 41.2179546,39.999 L38.1434012,39.999 C38.0366291,39.999 37.9342885,39.9563124 37.8591634,39.8804408 L24.1768397,26.0621438 L24.1768397,26.0621438 L10.4936501,39.8804497 C10.4185257,39.9563159 10.3161889,39.999 10.2094212,39.999 L7.13584526,39.999 C6.91493136,39.999 6.73584526,39.8199139 6.73584526,39.599 C6.73584526,39.4936017 6.77744443,39.3924627 6.85160121,39.3175656 L22.0763492,23.9408235 L22.0763492,23.9408235 L6.96554081,8.68044639 C6.81010226,8.52346929 6.81134951,8.27020637 6.9683266,8.11476782 C7.04322474,8.04060377 7.14436883,7.999 7.24977299,7.999 L10.3242852,7.999 C10.4310511,7.999 10.5333863,8.04168267 10.6085104,8.11754663 Z",
|
|
6119
6119
|
id: "CloseOutline-路径",
|
|
6120
6120
|
fill: "currentColor",
|
|
@@ -6122,7 +6122,7 @@ function CloseOutline(props) {
|
|
|
6122
6122
|
}))));
|
|
6123
6123
|
}
|
|
6124
6124
|
function DownFill(props) {
|
|
6125
|
-
return /* @__PURE__ */ React$
|
|
6125
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6126
6126
|
width: "1em",
|
|
6127
6127
|
height: "1em",
|
|
6128
6128
|
viewBox: "0 0 48 48",
|
|
@@ -6133,15 +6133,15 @@ function DownFill(props) {
|
|
|
6133
6133
|
verticalAlign: "-0.125em"
|
|
6134
6134
|
}, props.style),
|
|
6135
6135
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6136
|
-
}), /* @__PURE__ */ React$
|
|
6136
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6137
6137
|
id: "DownFill-DownFill",
|
|
6138
6138
|
stroke: "none",
|
|
6139
6139
|
strokeWidth: 1,
|
|
6140
6140
|
fill: "none",
|
|
6141
6141
|
fillRule: "evenodd"
|
|
6142
|
-
}, /* @__PURE__ */ React$
|
|
6142
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6143
6143
|
id: "DownFill-编组"
|
|
6144
|
-
}, /* @__PURE__ */ React$
|
|
6144
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6145
6145
|
id: "DownFill-矩形",
|
|
6146
6146
|
fill: "#FFFFFF",
|
|
6147
6147
|
opacity: 0,
|
|
@@ -6149,7 +6149,7 @@ function DownFill(props) {
|
|
|
6149
6149
|
y: 0,
|
|
6150
6150
|
width: 48,
|
|
6151
6151
|
height: 48
|
|
6152
|
-
}), /* @__PURE__ */ React$
|
|
6152
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6153
6153
|
d: "M40.6640052,13 L7.34128264,13 C6.57572302,13 5.83336217,13.2619065 5.23947349,13.7351762 C3.80578911,14.8838891 3.58308085,16.9699517 4.74301968,18.3897608 L21.404381,38.7725222 C21.5528531,38.9517214 21.7152446,39.1171361 21.9008348,39.2641713 C23.3345192,40.4128842 25.4363283,40.1923313 26.6009069,38.7725222 L43.2576284,18.3897608 C43.740163,17.8016198 44,17.0664436 44,16.3082931 C44.004629,14.4795422 42.505988,13 40.6640052,13 Z",
|
|
6154
6154
|
id: "DownFill-路径",
|
|
6155
6155
|
fill: "currentColor",
|
|
@@ -6157,7 +6157,7 @@ function DownFill(props) {
|
|
|
6157
6157
|
}))));
|
|
6158
6158
|
}
|
|
6159
6159
|
function DownOutline(props) {
|
|
6160
|
-
return /* @__PURE__ */ React$
|
|
6160
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6161
6161
|
width: "1em",
|
|
6162
6162
|
height: "1em",
|
|
6163
6163
|
viewBox: "0 0 48 48",
|
|
@@ -6168,13 +6168,13 @@ function DownOutline(props) {
|
|
|
6168
6168
|
verticalAlign: "-0.125em"
|
|
6169
6169
|
}, props.style),
|
|
6170
6170
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6171
|
-
}), /* @__PURE__ */ React$
|
|
6171
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6172
6172
|
id: "DownOutline-DownOutline",
|
|
6173
6173
|
stroke: "none",
|
|
6174
6174
|
strokeWidth: 1,
|
|
6175
6175
|
fill: "none",
|
|
6176
6176
|
fillRule: "evenodd"
|
|
6177
|
-
}, /* @__PURE__ */ React$
|
|
6177
|
+
}, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6178
6178
|
id: "DownOutline-矩形",
|
|
6179
6179
|
fill: "#FFFFFF",
|
|
6180
6180
|
opacity: 0,
|
|
@@ -6182,7 +6182,7 @@ function DownOutline(props) {
|
|
|
6182
6182
|
y: 0,
|
|
6183
6183
|
width: 48,
|
|
6184
6184
|
height: 48
|
|
6185
|
-
}), /* @__PURE__ */ React$
|
|
6185
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6186
6186
|
d: "M5.11219264,16.3947957 L22.6612572,34.5767382 L22.6612572,34.5767382 C23.2125856,35.1304785 24.0863155,35.1630514 24.6755735,34.6744571 L24.7825775,34.5767382 L42.8834676,16.3956061 C42.9580998,16.320643 43,16.2191697 43,16.1133896 L43,12.9866673 C43,12.7657534 42.8209139,12.5866673 42.6,12.5866673 C42.4936115,12.5866673 42.391606,12.6290496 42.316542,12.7044413 L23.7816937,31.3201933 L23.7816937,31.3201933 L5.6866816,12.7237117 C5.53262122,12.5653818 5.27937888,12.5619207 5.121049,12.7159811 C5.04365775,12.7912854 5,12.8946805 5,13.0026627 L5,16.1170064 C5,16.2206403 5.04022164,16.3202292 5.11219264,16.3947957 Z",
|
|
6187
6187
|
id: "DownOutline-down",
|
|
6188
6188
|
fill: "currentColor",
|
|
@@ -6190,7 +6190,7 @@ function DownOutline(props) {
|
|
|
6190
6190
|
}))));
|
|
6191
6191
|
}
|
|
6192
6192
|
function ExclamationCircleFill(props) {
|
|
6193
|
-
return /* @__PURE__ */ React$
|
|
6193
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6194
6194
|
width: "1em",
|
|
6195
6195
|
height: "1em",
|
|
6196
6196
|
viewBox: "0 0 48 48",
|
|
@@ -6201,13 +6201,13 @@ function ExclamationCircleFill(props) {
|
|
|
6201
6201
|
verticalAlign: "-0.125em"
|
|
6202
6202
|
}, props.style),
|
|
6203
6203
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6204
|
-
}), /* @__PURE__ */ React$
|
|
6204
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6205
6205
|
id: "ExclamationCircleFill-ExclamationCircleFill",
|
|
6206
6206
|
stroke: "none",
|
|
6207
6207
|
strokeWidth: 1,
|
|
6208
6208
|
fill: "none",
|
|
6209
6209
|
fillRule: "evenodd"
|
|
6210
|
-
}, /* @__PURE__ */ React$
|
|
6210
|
+
}, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6211
6211
|
id: "ExclamationCircleFill-矩形",
|
|
6212
6212
|
fill: "#D76060",
|
|
6213
6213
|
opacity: 0,
|
|
@@ -6215,7 +6215,7 @@ function ExclamationCircleFill(props) {
|
|
|
6215
6215
|
y: 0,
|
|
6216
6216
|
width: 48,
|
|
6217
6217
|
height: 48
|
|
6218
|
-
}), /* @__PURE__ */ React$
|
|
6218
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6219
6219
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.1,31 L22.9,31 C22.6790861,31 22.5,31.1790861 22.5,31.4 L22.5,31.4 L22.5,33.6 C22.5,33.8209139 22.6790861,34 22.9,34 L22.9,34 L25.1,34 C25.3209139,34 25.5,33.8209139 25.5,33.6 L25.5,33.6 L25.5,31.4 C25.5,31.1790861 25.3209139,31 25.1,31 L25.1,31 Z M25.1,14 L22.9,14 C22.6790861,14 22.5,14.1790861 22.5,14.4 L22.5,14.4 L22.5,27.6 C22.5,27.8209139 22.6790861,28 22.9,28 L22.9,28 L25.1,28 C25.3209139,28 25.5,27.8209139 25.5,27.6 L25.5,27.6 L25.5,14.4 C25.5,14.1790861 25.3209139,14 25.1,14 L25.1,14 Z",
|
|
6220
6220
|
id: "ExclamationCircleFill-形状结合",
|
|
6221
6221
|
fill: "currentColor",
|
|
@@ -6223,7 +6223,7 @@ function ExclamationCircleFill(props) {
|
|
|
6223
6223
|
}))));
|
|
6224
6224
|
}
|
|
6225
6225
|
function InformationCircleFill(props) {
|
|
6226
|
-
return /* @__PURE__ */ React$
|
|
6226
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6227
6227
|
width: "1em",
|
|
6228
6228
|
height: "1em",
|
|
6229
6229
|
viewBox: "0 0 48 48",
|
|
@@ -6234,15 +6234,15 @@ function InformationCircleFill(props) {
|
|
|
6234
6234
|
verticalAlign: "-0.125em"
|
|
6235
6235
|
}, props.style),
|
|
6236
6236
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6237
|
-
}), /* @__PURE__ */ React$
|
|
6237
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6238
6238
|
id: "InformationCircleFill-InformationCircleFill",
|
|
6239
6239
|
stroke: "none",
|
|
6240
6240
|
strokeWidth: 1,
|
|
6241
6241
|
fill: "none",
|
|
6242
6242
|
fillRule: "evenodd"
|
|
6243
|
-
}, /* @__PURE__ */ React$
|
|
6243
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6244
6244
|
id: "InformationCircleFill-编组"
|
|
6245
|
-
}, /* @__PURE__ */ React$
|
|
6245
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6246
6246
|
id: "InformationCircleFill-矩形",
|
|
6247
6247
|
fill: "#FFFFFF",
|
|
6248
6248
|
opacity: 0,
|
|
@@ -6250,7 +6250,7 @@ function InformationCircleFill(props) {
|
|
|
6250
6250
|
y: 0,
|
|
6251
6251
|
width: 48,
|
|
6252
6252
|
height: 48
|
|
6253
|
-
}), /* @__PURE__ */ React$
|
|
6253
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6254
6254
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M25.6,20 L21.4,20 C21.1790861,20 21,20.1790861 21,20.4 L21,20.4 L21,22.6 C21,22.8209139 21.1790861,23 21.4,23 L21.4,23 L22.6,23 C22.8209139,23 23,23.1790861 23,23.4 L23,23.4 L23,34.6 C23,34.8209139 23.1790861,35 23.4,35 L23.4,35 L25.6,35 C25.8209139,35 26,34.8209139 26,34.6 L26,34.6 L26,20.4 C26,20.1790861 25.8209139,20 25.6,20 L25.6,20 Z M25.6,14 L23.4,14 C23.1790861,14 23,14.1790861 23,14.4 L23,14.4 L23,16.6 C23,16.8209139 23.1790861,17 23.4,17 L23.4,17 L25.6,17 C25.8209139,17 26,16.8209139 26,16.6 L26,16.6 L26,14.4 C26,14.1790861 25.8209139,14 25.6,14 L25.6,14 Z",
|
|
6255
6255
|
id: "InformationCircleFill-形状结合",
|
|
6256
6256
|
fill: "currentColor",
|
|
@@ -6258,7 +6258,7 @@ function InformationCircleFill(props) {
|
|
|
6258
6258
|
}))));
|
|
6259
6259
|
}
|
|
6260
6260
|
function LeftOutline(props) {
|
|
6261
|
-
return /* @__PURE__ */ React$
|
|
6261
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6262
6262
|
width: "1em",
|
|
6263
6263
|
height: "1em",
|
|
6264
6264
|
viewBox: "0 0 48 48",
|
|
@@ -6269,15 +6269,15 @@ function LeftOutline(props) {
|
|
|
6269
6269
|
verticalAlign: "-0.125em"
|
|
6270
6270
|
}, props.style),
|
|
6271
6271
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6272
|
-
}), /* @__PURE__ */ React$
|
|
6272
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6273
6273
|
id: "LeftOutline-LeftOutline",
|
|
6274
6274
|
stroke: "none",
|
|
6275
6275
|
strokeWidth: 1,
|
|
6276
6276
|
fill: "none",
|
|
6277
6277
|
fillRule: "evenodd"
|
|
6278
|
-
}, /* @__PURE__ */ React$
|
|
6278
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6279
6279
|
id: "LeftOutline-编组"
|
|
6280
|
-
}, /* @__PURE__ */ React$
|
|
6280
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6281
6281
|
id: "LeftOutline-矩形",
|
|
6282
6282
|
fill: "#FFFFFF",
|
|
6283
6283
|
opacity: 0,
|
|
@@ -6285,7 +6285,7 @@ function LeftOutline(props) {
|
|
|
6285
6285
|
y: 0,
|
|
6286
6286
|
width: 48,
|
|
6287
6287
|
height: 48
|
|
6288
|
-
}), /* @__PURE__ */ React$
|
|
6288
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6289
6289
|
d: "M31.7053818,5.11219264 L13.5234393,22.6612572 L13.5234393,22.6612572 C12.969699,23.2125856 12.9371261,24.0863155 13.4257204,24.6755735 L13.5234393,24.7825775 L31.7045714,42.8834676 C31.7795345,42.9580998 31.8810078,43 31.9867879,43 L35.1135102,43 C35.3344241,43 35.5135102,42.8209139 35.5135102,42.6 C35.5135102,42.4936115 35.4711279,42.391606 35.3957362,42.316542 L16.7799842,23.7816937 L16.7799842,23.7816937 L35.3764658,5.6866816 C35.5347957,5.53262122 35.5382568,5.27937888 35.3841964,5.121049 C35.3088921,5.04365775 35.205497,5 35.0975148,5 L31.9831711,5 C31.8795372,5 31.7799483,5.04022164 31.7053818,5.11219264 Z",
|
|
6290
6290
|
id: "LeftOutline-路径",
|
|
6291
6291
|
fill: "currentColor",
|
|
@@ -6293,7 +6293,7 @@ function LeftOutline(props) {
|
|
|
6293
6293
|
}))));
|
|
6294
6294
|
}
|
|
6295
6295
|
function MinusOutline(props) {
|
|
6296
|
-
return /* @__PURE__ */ React$
|
|
6296
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6297
6297
|
width: "1em",
|
|
6298
6298
|
height: "1em",
|
|
6299
6299
|
viewBox: "0 0 48 48",
|
|
@@ -6304,15 +6304,15 @@ function MinusOutline(props) {
|
|
|
6304
6304
|
verticalAlign: "-0.125em"
|
|
6305
6305
|
}, props.style),
|
|
6306
6306
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6307
|
-
}), /* @__PURE__ */ React$
|
|
6307
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6308
6308
|
id: "MinusOutline-MinusOutline",
|
|
6309
6309
|
stroke: "none",
|
|
6310
6310
|
strokeWidth: 1,
|
|
6311
6311
|
fill: "none",
|
|
6312
6312
|
fillRule: "evenodd"
|
|
6313
|
-
}, /* @__PURE__ */ React$
|
|
6313
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6314
6314
|
id: "MinusOutline-add"
|
|
6315
|
-
}, /* @__PURE__ */ React$
|
|
6315
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6316
6316
|
id: "MinusOutline-矩形",
|
|
6317
6317
|
fill: "#FFFFFF",
|
|
6318
6318
|
opacity: 0,
|
|
@@ -6320,7 +6320,7 @@ function MinusOutline(props) {
|
|
|
6320
6320
|
y: 0,
|
|
6321
6321
|
width: 48,
|
|
6322
6322
|
height: 48
|
|
6323
|
-
}), /* @__PURE__ */ React$
|
|
6323
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6324
6324
|
d: "M41.1,22.5 C41.3209139,22.5 41.5,22.6790861 41.5,22.9 L41.5,25.1 C41.5,25.3209139 41.3209139,25.5 41.1,25.5 L6.9,25.5 C6.6790861,25.5 6.5,25.3209139 6.5,25.1 L6.5,22.9 C6.5,22.6790861 6.6790861,22.5 6.9,22.5 L41.1,22.5 Z",
|
|
6325
6325
|
id: "MinusOutline-路径",
|
|
6326
6326
|
fill: "currentColor",
|
|
@@ -6328,7 +6328,7 @@ function MinusOutline(props) {
|
|
|
6328
6328
|
}))));
|
|
6329
6329
|
}
|
|
6330
6330
|
function QuestionCircleOutline(props) {
|
|
6331
|
-
return /* @__PURE__ */ React$
|
|
6331
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6332
6332
|
width: "1em",
|
|
6333
6333
|
height: "1em",
|
|
6334
6334
|
viewBox: "0 0 48 48",
|
|
@@ -6339,15 +6339,15 @@ function QuestionCircleOutline(props) {
|
|
|
6339
6339
|
verticalAlign: "-0.125em"
|
|
6340
6340
|
}, props.style),
|
|
6341
6341
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6342
|
-
}), /* @__PURE__ */ React$
|
|
6342
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6343
6343
|
id: "QuestionCircleOutline-QuestionCircleOutline",
|
|
6344
6344
|
stroke: "none",
|
|
6345
6345
|
strokeWidth: 1,
|
|
6346
6346
|
fill: "none",
|
|
6347
6347
|
fillRule: "evenodd"
|
|
6348
|
-
}, /* @__PURE__ */ React$
|
|
6348
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6349
6349
|
id: "QuestionCircleOutline-编组"
|
|
6350
|
-
}, /* @__PURE__ */ React$
|
|
6350
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6351
6351
|
id: "QuestionCircleOutline-矩形",
|
|
6352
6352
|
fill: "#FFFFFF",
|
|
6353
6353
|
opacity: 0,
|
|
@@ -6355,7 +6355,7 @@ function QuestionCircleOutline(props) {
|
|
|
6355
6355
|
y: 0,
|
|
6356
6356
|
width: 48,
|
|
6357
6357
|
height: 48
|
|
6358
|
-
}), /* @__PURE__ */ React$
|
|
6358
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6359
6359
|
d: "M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24,5 C13.5065898,5 5,13.5065898 5,24 C5,34.4934102 13.5065898,43 24,43 C34.4934102,43 43,34.4934102 43,24 C43,13.5065898 34.4934102,5 24,5 Z M26,32.4 L26,34.6 C26,34.8209139 25.8209139,35 25.6,35 L23.4,35 C23.1790861,35 23,34.8209139 23,34.6 L23,32.4 C23,32.1790861 23.1790861,32 23.4,32 L25.6,32 C25.8209139,32 26,32.1790861 26,32.4 Z M24,12 C27.8659932,12 31,15.1340068 31,19 C31,22.1706393 28.8919961,24.8489278 26.0010432,25.7098107 L26.0001268,28.6 C25.9999299,28.8208643 25.8208644,28.9998731 25.6,29 L23.4,29 C23.1790861,29 23,28.8209139 23,28.6 L23,23.4 C23,23.1790861 23.1790861,23 23.4,23 L24,23 L24,23 C26.209139,23 28,21.209139 28,19 C28,16.790861 26.209139,15 24,15 C21.790861,15 20,16.790861 20,19 L17,19 C17,15.1340068 20.1340068,12 24,12 Z",
|
|
6360
6360
|
id: "QuestionCircleOutline-形状",
|
|
6361
6361
|
fill: "currentColor",
|
|
@@ -6363,7 +6363,7 @@ function QuestionCircleOutline(props) {
|
|
|
6363
6363
|
}))));
|
|
6364
6364
|
}
|
|
6365
6365
|
function RightOutline(props) {
|
|
6366
|
-
return /* @__PURE__ */ React$
|
|
6366
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6367
6367
|
width: "1em",
|
|
6368
6368
|
height: "1em",
|
|
6369
6369
|
viewBox: "0 0 48 48",
|
|
@@ -6374,15 +6374,15 @@ function RightOutline(props) {
|
|
|
6374
6374
|
verticalAlign: "-0.125em"
|
|
6375
6375
|
}, props.style),
|
|
6376
6376
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6377
|
-
}), /* @__PURE__ */ React$
|
|
6377
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6378
6378
|
id: "RightOutline-RightOutline",
|
|
6379
6379
|
stroke: "none",
|
|
6380
6380
|
strokeWidth: 1,
|
|
6381
6381
|
fill: "none",
|
|
6382
6382
|
fillRule: "evenodd"
|
|
6383
|
-
}, /* @__PURE__ */ React$
|
|
6383
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6384
6384
|
id: "RightOutline-RightOutlined"
|
|
6385
|
-
}, /* @__PURE__ */ React$
|
|
6385
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6386
6386
|
id: "RightOutline-矩形",
|
|
6387
6387
|
fill: "#FFFFFF",
|
|
6388
6388
|
opacity: 0,
|
|
@@ -6390,7 +6390,7 @@ function RightOutline(props) {
|
|
|
6390
6390
|
y: 0,
|
|
6391
6391
|
width: 48,
|
|
6392
6392
|
height: 48
|
|
6393
|
-
}), /* @__PURE__ */ React$
|
|
6393
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6394
6394
|
d: "M17.3947957,5.11219264 L35.5767382,22.6612572 L35.5767382,22.6612572 C36.1304785,23.2125856 36.1630514,24.0863155 35.6744571,24.6755735 L35.5767382,24.7825775 L17.3956061,42.8834676 C17.320643,42.9580998 17.2191697,43 17.1133896,43 L13.9866673,43 C13.7657534,43 13.5866673,42.8209139 13.5866673,42.6 C13.5866673,42.4936115 13.6290496,42.391606 13.7044413,42.316542 L32.3201933,23.7816937 L32.3201933,23.7816937 L13.7237117,5.6866816 C13.5653818,5.53262122 13.5619207,5.27937888 13.7159811,5.121049 C13.7912854,5.04365775 13.8946805,5 14.0026627,5 L17.1170064,5 C17.2206403,5 17.3202292,5.04022164 17.3947957,5.11219264 Z",
|
|
6395
6395
|
id: "RightOutline-right",
|
|
6396
6396
|
fill: "currentColor",
|
|
@@ -6398,7 +6398,7 @@ function RightOutline(props) {
|
|
|
6398
6398
|
}))));
|
|
6399
6399
|
}
|
|
6400
6400
|
function SearchOutline(props) {
|
|
6401
|
-
return /* @__PURE__ */ React$
|
|
6401
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6402
6402
|
width: "1em",
|
|
6403
6403
|
height: "1em",
|
|
6404
6404
|
viewBox: "0 0 48 48",
|
|
@@ -6409,15 +6409,15 @@ function SearchOutline(props) {
|
|
|
6409
6409
|
verticalAlign: "-0.125em"
|
|
6410
6410
|
}, props.style),
|
|
6411
6411
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6412
|
-
}), /* @__PURE__ */ React$
|
|
6412
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6413
6413
|
id: "SearchOutline-SearchOutline",
|
|
6414
6414
|
stroke: "none",
|
|
6415
6415
|
strokeWidth: 1,
|
|
6416
6416
|
fill: "none",
|
|
6417
6417
|
fillRule: "evenodd"
|
|
6418
|
-
}, /* @__PURE__ */ React$
|
|
6418
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6419
6419
|
id: "SearchOutline-编组"
|
|
6420
|
-
}, /* @__PURE__ */ React$
|
|
6420
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6421
6421
|
id: "SearchOutline-矩形",
|
|
6422
6422
|
fill: "#FFFFFF",
|
|
6423
6423
|
opacity: 0,
|
|
@@ -6425,7 +6425,7 @@ function SearchOutline(props) {
|
|
|
6425
6425
|
y: 0,
|
|
6426
6426
|
width: 48,
|
|
6427
6427
|
height: 48
|
|
6428
|
-
}), /* @__PURE__ */ React$
|
|
6428
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6429
6429
|
d: "M10.2434135,10.1505371 C17.2346315,3.28315429 28.5696354,3.28315429 35.5608534,10.1505371 C42.3159331,16.7859644 42.5440954,27.4048667 36.2453405,34.3093889 L43.7095294,41.6422249 C43.8671196,41.7970419 43.8693677,42.0502979 43.7145508,42.2078881 C43.7128864,42.2095822 43.7112069,42.2112616 43.7095126,42.2129259 L42.1705322,43.7246464 C42.014915,43.8775072 41.7655181,43.8775006 41.6099089,43.7246316 L34.0775268,36.3248916 L34.0775268,36.3248916 C27.0485579,41.8551751 16.7593545,41.4200547 10.2434135,35.0195303 C3.25219551,28.1521474 3.25219551,17.0179199 10.2434135,10.1505371 Z M12.3532001,12.2229532 C6.52718516,17.9457722 6.52718516,27.2242951 12.3532001,32.9471142 C18.1792151,38.6699332 27.6250517,38.6699332 33.4510667,32.9471142 C39.2770817,27.2242951 39.2770817,17.9457722 33.4510667,12.2229532 C27.6250517,6.50013419 18.1792151,6.50013419 12.3532001,12.2229532 Z",
|
|
6430
6430
|
id: "SearchOutline-形状",
|
|
6431
6431
|
fill: "currentColor",
|
|
@@ -6433,7 +6433,7 @@ function SearchOutline(props) {
|
|
|
6433
6433
|
}))));
|
|
6434
6434
|
}
|
|
6435
6435
|
function SoundOutline(props) {
|
|
6436
|
-
return /* @__PURE__ */ React$
|
|
6436
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6437
6437
|
width: "1em",
|
|
6438
6438
|
height: "1em",
|
|
6439
6439
|
viewBox: "0 0 48 48",
|
|
@@ -6444,15 +6444,15 @@ function SoundOutline(props) {
|
|
|
6444
6444
|
verticalAlign: "-0.125em"
|
|
6445
6445
|
}, props.style),
|
|
6446
6446
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6447
|
-
}), /* @__PURE__ */ React$
|
|
6447
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6448
6448
|
id: "SoundOutline-SoundOutline",
|
|
6449
6449
|
stroke: "none",
|
|
6450
6450
|
strokeWidth: 1,
|
|
6451
6451
|
fill: "none",
|
|
6452
6452
|
fillRule: "evenodd"
|
|
6453
|
-
}, /* @__PURE__ */ React$
|
|
6453
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6454
6454
|
id: "SoundOutline-编组"
|
|
6455
|
-
}, /* @__PURE__ */ React$
|
|
6455
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6456
6456
|
id: "SoundOutline-矩形",
|
|
6457
6457
|
fill: "#FFFFFF",
|
|
6458
6458
|
opacity: 0,
|
|
@@ -6460,7 +6460,7 @@ function SoundOutline(props) {
|
|
|
6460
6460
|
y: 0,
|
|
6461
6461
|
width: 48,
|
|
6462
6462
|
height: 48
|
|
6463
|
-
}), /* @__PURE__ */ React$
|
|
6463
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6464
6464
|
d: "M28.267333,7.42364522 C28.6217345,7.94869119 28.8108515,8.56559899 28.8108515,9.19662571 L28.8108515,38.803714 C28.8108515,40.568974 27.3619563,42 25.5746535,42 C24.9357472,42 24.311136,41.8132153 23.7795338,41.4631847 L13.5176584,34.7058449 L8.3149307,34.706256 C5.93186028,34.706256 4,32.7982213 4,30.4445413 L4,17.6593971 C4,15.3057171 5.93186028,13.3976824 8.3149307,13.3976824 L13.3601634,13.3972713 L23.7795338,6.53715498 C25.2666597,5.55796489 27.2759158,5.95486009 28.267333,7.42364522 Z M40.4649231,8.99868666 C40.5511218,9.17742383 40.619996,9.32223121 40.6715457,9.43310881 C42.8085201,14.0295034 44,19.1437027 44,24.532755 C44,29.7837404 42.8687892,34.7737758 40.8339269,39.2781083 C40.7469512,39.4706362 40.6237802,39.7330988 40.4644141,40.0654961 C40.3689469,40.2647533 40.1300031,40.3488277 39.9307715,40.2533072 C39.9306414,40.2532448 39.9305113,40.2531824 39.9303812,40.2531198 C39.6706542,40.1282492 39.4751102,40.0342363 39.3437492,39.9710811 C38.9410401,39.777468 38.6130663,39.619786 38.3598279,39.498035 C38.2070716,39.4245934 38.0007263,39.3253875 37.740792,39.2004172 C37.5419104,39.104853 37.4580092,38.8662856 37.5532468,38.6672473 C37.7034937,38.3532445 37.8197479,38.104744 37.9020095,37.9217457 C39.7416376,33.8293278 40.763802,29.2989389 40.763802,24.532755 C40.763802,19.6931433 39.7099001,15.0966478 37.8164042,10.9549334 C37.7526807,10.8155487 37.6652043,10.6300308 37.5539748,10.3983796 C37.4585265,10.1993116 37.5423279,9.96050973 37.7412949,9.8648511 C37.9298799,9.7741839 38.0818373,9.70112639 38.1971671,9.64567856 C38.5403397,9.48068928 39.0100918,9.2548436 39.6064234,8.9681415 C39.6867211,8.9295363 39.7949893,8.87748349 39.9312282,8.81198307 C40.1301627,8.71623553 40.3690201,8.79982709 40.4649231,8.99868666 Z M24.954689,9.60481048 L14.4401642,16.5275765 C14.3748695,16.5705665 14.2984086,16.5934809 14.2202323,16.5934873 L8.3149307,16.5939685 L8.3149307,16.5939685 C7.76171792,16.5939685 7.30576856,17.0052668 7.24345545,17.5351457 L7.23619803,17.6593971 L7.23619803,30.4445413 C7.23619803,30.9909313 7.65263219,31.4412574 8.18892037,31.502802 L8.31467178,31.50997 L14.3775506,31.5094909 C14.4557573,31.5094847 14.5322502,31.5324045 14.5975676,31.5754153 L24.9546682,38.39546 C25.139173,38.5169545 25.3872345,38.4658746 25.508729,38.2813698 C25.5517339,38.2160614 25.5746535,38.1395804 25.5746535,38.0613845 L25.5746535,9.93889975 C25.5746535,9.71798585 25.3955674,9.53889975 25.1746535,9.53889975 C25.0964661,9.53889975 25.019993,9.56181436 24.954689,9.60481048 Z M34.6436115,11.798648 C34.7547335,12.030794 34.8419854,12.2167889 34.9053671,12.3566328 C36.590502,16.0746763 37.5276039,20.1956294 37.5276039,24.532755 C37.5276039,28.7641394 36.635639,32.7897635 35.0272837,36.4362183 C34.9380427,36.6385449 34.8101552,36.9146706 34.6436211,37.2645952 C34.5486602,37.4640326 34.3100191,37.5487723 34.1105639,37.4538487 C34.1101091,37.4536323 34.1096547,37.453415 34.1092007,37.4531968 C33.9190573,37.3618222 33.7721424,37.2912213 33.6684561,37.2413942 C33.186467,37.0097713 32.80073,36.824403 32.5112451,36.6852892 C32.3647538,36.6148919 32.1675294,36.5201144 31.9195719,36.4009569 C31.7210538,36.3055358 31.6370188,36.067582 31.7316042,35.8686644 C31.8690322,35.5796464 31.9753727,35.3500122 32.0506255,35.1797617 C33.4919206,31.9190071 34.2914059,28.3180945 34.2914059,24.532755 C34.2914059,20.6930477 33.46879,17.0431031 31.9881259,13.7454591 C31.9261905,13.6075203 31.840749,13.424362 31.7318014,13.1959842 C31.636885,12.9969991 31.7208632,12.7587263 31.919573,12.6632348 C32.0929373,12.5799233 32.2332164,12.5125112 32.3404102,12.4609985 C32.6888449,12.2935556 33.1655706,12.0644616 33.7705875,11.7737163 C33.8540198,11.7336223 33.9670458,11.6793068 34.1096655,11.6107699 C34.3087736,11.5152168 34.5476881,11.5990382 34.6433466,11.7980956 C34.643435,11.7982797 34.6435233,11.7984638 34.6436115,11.798648 Z",
|
|
6465
6465
|
id: "SoundOutline-形状",
|
|
6466
6466
|
fill: "currentColor",
|
|
@@ -6468,7 +6468,7 @@ function SoundOutline(props) {
|
|
|
6468
6468
|
}))));
|
|
6469
6469
|
}
|
|
6470
6470
|
function TextDeletionOutline(props) {
|
|
6471
|
-
return /* @__PURE__ */ React$
|
|
6471
|
+
return /* @__PURE__ */ React$3.createElement("svg", Object.assign({
|
|
6472
6472
|
width: "1em",
|
|
6473
6473
|
height: "1em",
|
|
6474
6474
|
viewBox: "0 0 48 48",
|
|
@@ -6479,15 +6479,15 @@ function TextDeletionOutline(props) {
|
|
|
6479
6479
|
verticalAlign: "-0.125em"
|
|
6480
6480
|
}, props.style),
|
|
6481
6481
|
className: ["antd-mobile-icon", props.className].filter(Boolean).join(" ")
|
|
6482
|
-
}), /* @__PURE__ */ React$
|
|
6482
|
+
}), /* @__PURE__ */ React$3.createElement("g", {
|
|
6483
6483
|
id: "TextDeletionOutline-TextDeletionOutline",
|
|
6484
6484
|
stroke: "none",
|
|
6485
6485
|
strokeWidth: 1,
|
|
6486
6486
|
fill: "none",
|
|
6487
6487
|
fillRule: "evenodd"
|
|
6488
|
-
}, /* @__PURE__ */ React$
|
|
6488
|
+
}, /* @__PURE__ */ React$3.createElement("g", {
|
|
6489
6489
|
id: "TextDeletionOutline-编组"
|
|
6490
|
-
}, /* @__PURE__ */ React$
|
|
6490
|
+
}, /* @__PURE__ */ React$3.createElement("rect", {
|
|
6491
6491
|
id: "TextDeletionOutline-矩形",
|
|
6492
6492
|
fill: "#FFFFFF",
|
|
6493
6493
|
opacity: 0,
|
|
@@ -6495,7 +6495,7 @@ function TextDeletionOutline(props) {
|
|
|
6495
6495
|
y: 0,
|
|
6496
6496
|
width: 48,
|
|
6497
6497
|
height: 48
|
|
6498
|
-
}), /* @__PURE__ */ React$
|
|
6498
|
+
}), /* @__PURE__ */ React$3.createElement("path", {
|
|
6499
6499
|
d: "M38.5492302,6 C41.5596051,6 44,8.46240906 44,11.499981 L44,35.5 C44,38.5375742 41.5596051,41.000013 38.54923,41.000013 L17.3058462,41.000013 C14.6665152,41.000013 12.2347138,39.555982 10.9529738,37.2279238 L4.91451284,27.0612608 C3.6951623,24.8464932 3.6951623,22.1535354 4.91451335,19.9387516 L10.9529743,9.77208856 C12.234697,7.44403098 14.6665154,6 17.3058464,6 L38.5492302,6 Z M38.5492273,8.74994707 L17.3058465,8.74994707 C15.7329163,8.74994707 14.2719651,9.57120176 13.4439762,10.9206455 L13.3349608,11.1076457 L7.29739408,21.2743087 C6.57566975,22.5850072 6.53495505,24.1690434 7.18837846,25.5157286 L7.29739386,25.7265623 L13.3349605,35.8932253 C14.0992225,37.2803788 15.5202936,38.1698544 17.0914483,38.2444783 L17.3058454,38.2499783 L38.5492292,38.2499783 C39.9923716,38.2499783 41.1854088,37.114979 41.2700704,35.6613101 L41.2746127,35.4999769 L41.2746127,11.4999513 C41.2746127,10.0436198 40.1496291,8.83987037 38.7089651,8.75452144 L38.5492273,8.74994707 Z M22.3492842,17 C22.4547968,17 22.556036,17.0416892 22.6309531,17.1159883 L26.757,21.208 L30.8830469,17.1159883 C30.957964,17.0416892 31.0592032,17 31.1647158,17 L34.2719196,17 C34.4928335,17 34.6719196,17.1790861 34.6719196,17.4 C34.6719196,17.5067321 34.6292639,17.6090378 34.5534423,17.6841566 L28.879,23.306 L34.8245071,29.1968543 C34.9814364,29.3523411 34.9826059,29.6056044 34.8271191,29.7625337 C34.7520011,29.8383486 34.6497001,29.881 34.5429734,29.881 L31.4366959,29.881 C31.331195,29.881 31.2299662,29.8393201 31.1550512,29.7650357 L26.758,25.405 L22.3599432,29.7650669 C22.2850309,29.8393322 22.1838155,29.881 22.07833,29.881 L18.9720266,29.881 C18.7511127,29.881 18.5720266,29.7019139 18.5720266,29.481 C18.5720266,29.3742733 18.614678,29.2719723 18.6904929,29.1968543 L24.636,23.306 L18.9624269,17.6841345 C18.8055037,17.5286415 18.8043444,17.2753782 18.9598374,17.118455 C19.0349545,17.042647 19.1372506,17 19.2439719,17 L22.3492842,17 Z",
|
|
6500
6500
|
id: "TextDeletionOutline-形状结合",
|
|
6501
6501
|
fill: "currentColor",
|
|
@@ -8482,7 +8482,7 @@ Object.defineProperty(warning$3, "__esModule", {
|
|
|
8482
8482
|
value: true
|
|
8483
8483
|
});
|
|
8484
8484
|
warning$3.call = call$1;
|
|
8485
|
-
var default_1$
|
|
8485
|
+
var default_1$2 = warning$3.default = void 0;
|
|
8486
8486
|
warning$3.note = note$1;
|
|
8487
8487
|
warning$3.noteOnce = noteOnce$1;
|
|
8488
8488
|
warning$3.preMessage = void 0;
|
|
@@ -8532,7 +8532,7 @@ function noteOnce$1(valid, message) {
|
|
|
8532
8532
|
warningOnce$1.preMessage = preMessage$1;
|
|
8533
8533
|
warningOnce$1.resetWarned = resetWarned$1;
|
|
8534
8534
|
warningOnce$1.noteOnce = noteOnce$1;
|
|
8535
|
-
default_1$
|
|
8535
|
+
default_1$2 = warning$3.default = warningOnce$1;
|
|
8536
8536
|
var render$1 = {};
|
|
8537
8537
|
var interopRequireWildcard = { exports: {} };
|
|
8538
8538
|
var _typeof$1 = { exports: {} };
|
|
@@ -9030,8 +9030,8 @@ var definePropertyExports = defineProperty.exports;
|
|
|
9030
9030
|
module.exports = _objectSpread22, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
9031
9031
|
})(objectSpread2);
|
|
9032
9032
|
var objectSpread2Exports = objectSpread2.exports;
|
|
9033
|
-
var _interopRequireWildcard$
|
|
9034
|
-
var _interopRequireDefault$
|
|
9033
|
+
var _interopRequireWildcard$3 = interopRequireWildcardExports.default;
|
|
9034
|
+
var _interopRequireDefault$6 = interopRequireDefaultExports.default;
|
|
9035
9035
|
Object.defineProperty(render$1, "__esModule", {
|
|
9036
9036
|
value: true
|
|
9037
9037
|
});
|
|
@@ -9039,11 +9039,11 @@ render$1._r = _r;
|
|
|
9039
9039
|
render$1._u = _u;
|
|
9040
9040
|
var render_2 = render$1.render = render;
|
|
9041
9041
|
var unmount_1 = render$1.unmount = unmount;
|
|
9042
|
-
var _regeneratorRuntime2 = _interopRequireDefault$
|
|
9043
|
-
var _asyncToGenerator2 = _interopRequireDefault$
|
|
9044
|
-
var _typeof2$3 = _interopRequireDefault$
|
|
9045
|
-
var _objectSpread2$1 = _interopRequireDefault$
|
|
9046
|
-
var ReactDOM = _interopRequireWildcard$
|
|
9042
|
+
var _regeneratorRuntime2 = _interopRequireDefault$6(regeneratorRuntimeExports);
|
|
9043
|
+
var _asyncToGenerator2 = _interopRequireDefault$6(asyncToGeneratorExports);
|
|
9044
|
+
var _typeof2$3 = _interopRequireDefault$6(_typeofExports);
|
|
9045
|
+
var _objectSpread2$1 = _interopRequireDefault$6(objectSpread2Exports);
|
|
9046
|
+
var ReactDOM = _interopRequireWildcard$3(ReactDOM__default);
|
|
9047
9047
|
var fullClone = (0, _objectSpread2$1.default)({}, ReactDOM);
|
|
9048
9048
|
var version = fullClone.version, reactRender = fullClone.render, unmountComponentAtNode = fullClone.unmountComponentAtNode;
|
|
9049
9049
|
var createRoot;
|
|
@@ -9139,9 +9139,9 @@ function _unmount() {
|
|
|
9139
9139
|
}
|
|
9140
9140
|
const defaultReactRender = (node, container) => {
|
|
9141
9141
|
{
|
|
9142
|
-
const majorVersion = parseInt(React$
|
|
9142
|
+
const majorVersion = parseInt(React$3.version.split(".")[0], 10);
|
|
9143
9143
|
const fullKeys = Object.keys(ReactDOM$1);
|
|
9144
|
-
default_1$
|
|
9144
|
+
default_1$2(majorVersion < 19 || fullKeys.includes("createRoot"), `[Compatible] antd-mobile v5 support React is 16 ~ 18. see https://mobile.ant.design/guide/v5-for-19 for compatible.`);
|
|
9145
9145
|
}
|
|
9146
9146
|
render_2(node, container);
|
|
9147
9147
|
return () => {
|
|
@@ -9310,44 +9310,6 @@ const AutoCenter = (props) => withNativeProps(props, React__default.createElemen
|
|
|
9310
9310
|
}, React__default.createElement("div", {
|
|
9311
9311
|
className: `${classPrefix$1m}-content`
|
|
9312
9312
|
}, props.children)));
|
|
9313
|
-
const Fallback = memo(() => React__default.createElement("svg", {
|
|
9314
|
-
className: "adm-avatar-fallback",
|
|
9315
|
-
width: "88px",
|
|
9316
|
-
height: "88px",
|
|
9317
|
-
viewBox: "0 0 88 88",
|
|
9318
|
-
version: "1.1"
|
|
9319
|
-
}, React__default.createElement("title", null, "编组 3"), React__default.createElement("defs", null, React__default.createElement("polygon", {
|
|
9320
|
-
id: "path-1",
|
|
9321
|
-
points: "0 0 88 0 88 88 0 88"
|
|
9322
|
-
})), React__default.createElement("g", {
|
|
9323
|
-
id: "页面-1",
|
|
9324
|
-
stroke: "none",
|
|
9325
|
-
strokeWidth: "1",
|
|
9326
|
-
fill: "none",
|
|
9327
|
-
fillRule: "evenodd"
|
|
9328
|
-
}, React__default.createElement("g", {
|
|
9329
|
-
id: "语雀",
|
|
9330
|
-
transform: "translate(-495.000000, -71.000000)"
|
|
9331
|
-
}, React__default.createElement("g", {
|
|
9332
|
-
id: "编组-3",
|
|
9333
|
-
transform: "translate(495.000000, 71.000000)"
|
|
9334
|
-
}, React__default.createElement("mask", {
|
|
9335
|
-
id: "mask-2",
|
|
9336
|
-
fill: "white"
|
|
9337
|
-
}, React__default.createElement("use", {
|
|
9338
|
-
xlinkHref: "#path-1"
|
|
9339
|
-
})), React__default.createElement("use", {
|
|
9340
|
-
id: "Mask",
|
|
9341
|
-
fill: "#EEEEEE",
|
|
9342
|
-
fillRule: "nonzero",
|
|
9343
|
-
xlinkHref: "#path-1"
|
|
9344
|
-
}), React__default.createElement("path", {
|
|
9345
|
-
d: "M44.5707528,16 L43.4292117,16 L42.9575197,16.0086403 L42.9575195,16.0086403 C36.5215787,16.2615464 31.4341803,21.5678078 31.4344832,28.0273864 L31.4344832,34.7776551 L31.4495601,35.3716788 L31.4495593,35.3716628 C31.599687,38.5368723 32.9422041,41.5269327 35.2058513,43.7376716 L38.2147759,46.6775505 L38.4086219,46.8913989 C38.7747759,47.3385365 38.9750835,47.9001589 38.9750835,48.4833848 L38.9750835,48.8938006 L38.9556989,49.1897326 L38.9556989,49.1897325 C38.8577746,49.9812662 38.3754713,50.67284 37.667703,51.036605 L18.7375269,60.7440265 L18.4101421,60.9276334 L18.4101423,60.9276333 C16.9141658,61.8418636 16.0009389,63.4714674 16,65.2283758 L16,66.070809 L16.0129231,66.3948217 C16.1766149,68.4123376 17.860922,70 19.91569,70 L68.0843101,70 L68.08431,70 C70.2460467,70 71.9988087,68.243122 72,66.0751224 L72,65.2326893 C72,63.3382982 70.9446194,61.6037466 69.2624598,60.7440295 L50.3322837,51.036608 L50.3322835,51.0366079 C49.5291218,50.6249082 49.0240448,49.7962466 49.024903,48.8916436 L49.024903,48.4812278 C49.024903,47.8029608 49.3005955,47.1527756 49.7852106,46.6775603 L52.7941352,43.7376813 L52.7941354,43.7376811 C55.204308,41.3832325 56.5636029,38.151975 56.5633606,34.7776456 L56.5633606,28.0273769 L56.5633606,28.0273774 C56.5633606,21.3848531 51.1940878,16 44.5707524,16 L44.5707528,16 Z",
|
|
9346
|
-
id: "形状",
|
|
9347
|
-
fill: "#CCCCCC",
|
|
9348
|
-
fillRule: "nonzero",
|
|
9349
|
-
mask: "url(#mask-2)"
|
|
9350
|
-
}))))));
|
|
9351
9313
|
var stagedComponents = {};
|
|
9352
9314
|
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
9353
9315
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -9376,35 +9338,35 @@ staged_1 = stagedComponents.staged = staged;
|
|
|
9376
9338
|
function toCSSLength(val) {
|
|
9377
9339
|
return typeof val === "number" ? `${val}px` : val;
|
|
9378
9340
|
}
|
|
9379
|
-
const LazyDetector = (props) => {
|
|
9380
|
-
const ref2 = useRef(null);
|
|
9381
|
-
const [inViewport] = useInViewport(ref2);
|
|
9382
|
-
useEffect(() => {
|
|
9383
|
-
if (inViewport) {
|
|
9384
|
-
props.onActive();
|
|
9385
|
-
}
|
|
9386
|
-
}, [inViewport]);
|
|
9387
|
-
return React__default.createElement("div", {
|
|
9388
|
-
ref: ref2
|
|
9389
|
-
});
|
|
9390
|
-
};
|
|
9391
9341
|
const useIsomorphicUpdateLayoutEffect = createUpdateEffect(useIsomorphicLayoutEffect$3);
|
|
9392
|
-
const
|
|
9342
|
+
const BrokenImageIcon = () => React__default.createElement("svg", {
|
|
9393
9343
|
viewBox: "0 0 48 48",
|
|
9394
9344
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9395
9345
|
}, React__default.createElement("path", {
|
|
9396
|
-
d: "
|
|
9346
|
+
d: "M19.233 6.233 17.42 9.08l-10.817.001a.665.665 0 0 0-.647.562l-.007.096V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.415 2.415 0 0 1 1.807.625l.126.127 4.182 4.525 2.267-3.292 5.461 7.841-4.065 7.375H6.604c-1.86 0-3.382-1.47-3.482-3.317l-.005-.192V9.744c0-1.872 1.461-3.405 3.296-3.505l.19-.005h12.63Zm22.163 0c1.86 0 3.382 1.472 3.482 3.314l.005.192v29.14a3.507 3.507 0 0 1-3.3 3.505l-.191.006H27.789l3.63-6.587.06-.119a1.87 1.87 0 0 0-.163-1.853l-6.928-9.949 3.047-4.422a2.374 2.374 0 0 1 1.96-1.01 2.4 2.4 0 0 1 1.86.87l.106.14L42.05 34.89V9.74a.664.664 0 0 0-.654-.658H21.855l1.812-2.848h17.73Zm-28.305 5.611c.794 0 1.52.298 2.07.788l-.843 1.325-.067.114a1.87 1.87 0 0 0 .11 1.959l.848 1.217c-.556.515-1.3.83-2.118.83a3.122 3.122 0 0 1-3.117-3.116 3.119 3.119 0 0 1 3.117-3.117Z",
|
|
9397
9347
|
fill: "#DBDBDB",
|
|
9398
9348
|
fillRule: "nonzero"
|
|
9399
9349
|
}));
|
|
9400
|
-
const
|
|
9350
|
+
const ImageIcon = () => React__default.createElement("svg", {
|
|
9401
9351
|
viewBox: "0 0 48 48",
|
|
9402
9352
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9403
9353
|
}, React__default.createElement("path", {
|
|
9404
|
-
d: "
|
|
9354
|
+
d: "M41.396 6.234c1.923 0 3.487 1.574 3.487 3.505v29.14c0 1.937-1.568 3.51-3.491 3.51H6.604c-1.923 0-3.487-1.573-3.487-3.51V9.745c0-1.936 1.564-3.51 3.487-3.51Zm0 2.847H6.604c-.355 0-.654.3-.654.658V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.405 2.405 0 0 1 1.933.752l4.182 4.525 7.58-11.005a2.374 2.374 0 0 1 1.96-1.01c.79 0 1.532.38 1.966 1.01L42.05 34.89V9.74a.664.664 0 0 0-.654-.658Zm-28.305 2.763a3.119 3.119 0 0 1 3.117 3.117 3.119 3.119 0 0 1-3.117 3.117 3.122 3.122 0 0 1-3.117-3.117 3.119 3.119 0 0 1 3.117-3.117Z",
|
|
9405
9355
|
fill: "#DBDBDB",
|
|
9406
9356
|
fillRule: "nonzero"
|
|
9407
9357
|
}));
|
|
9358
|
+
const LazyDetector = (props) => {
|
|
9359
|
+
const ref2 = useRef(null);
|
|
9360
|
+
const [inViewport] = useInViewport(ref2);
|
|
9361
|
+
useEffect(() => {
|
|
9362
|
+
if (inViewport) {
|
|
9363
|
+
props.onActive();
|
|
9364
|
+
}
|
|
9365
|
+
}, [inViewport]);
|
|
9366
|
+
return React__default.createElement("div", {
|
|
9367
|
+
ref: ref2
|
|
9368
|
+
});
|
|
9369
|
+
};
|
|
9408
9370
|
const classPrefix$1l = `adm-image`;
|
|
9409
9371
|
const defaultProps$11 = {
|
|
9410
9372
|
fit: "fill",
|
|
@@ -9439,7 +9401,7 @@ const Image$1 = staged_1((p) => {
|
|
|
9439
9401
|
}
|
|
9440
9402
|
}, []);
|
|
9441
9403
|
function renderInner() {
|
|
9442
|
-
if (failed) {
|
|
9404
|
+
if (failed || src === void 0 && !srcSet) {
|
|
9443
9405
|
return React__default.createElement(React__default.Fragment, null, props.fallback);
|
|
9444
9406
|
}
|
|
9445
9407
|
const img = React__default.createElement("img", {
|
|
@@ -9494,16 +9456,56 @@ const Image$1 = staged_1((p) => {
|
|
|
9494
9456
|
}
|
|
9495
9457
|
}), renderInner()));
|
|
9496
9458
|
});
|
|
9459
|
+
const Fallback = memo(() => React__default.createElement("svg", {
|
|
9460
|
+
className: "adm-avatar-fallback",
|
|
9461
|
+
width: "88px",
|
|
9462
|
+
height: "88px",
|
|
9463
|
+
viewBox: "0 0 88 88",
|
|
9464
|
+
version: "1.1"
|
|
9465
|
+
}, React__default.createElement("title", null, "编组 3"), React__default.createElement("defs", null, React__default.createElement("polygon", {
|
|
9466
|
+
id: "path-1",
|
|
9467
|
+
points: "0 0 88 0 88 88 0 88"
|
|
9468
|
+
})), React__default.createElement("g", {
|
|
9469
|
+
id: "页面-1",
|
|
9470
|
+
stroke: "none",
|
|
9471
|
+
strokeWidth: "1",
|
|
9472
|
+
fill: "none",
|
|
9473
|
+
fillRule: "evenodd"
|
|
9474
|
+
}, React__default.createElement("g", {
|
|
9475
|
+
id: "语雀",
|
|
9476
|
+
transform: "translate(-495.000000, -71.000000)"
|
|
9477
|
+
}, React__default.createElement("g", {
|
|
9478
|
+
id: "编组-3",
|
|
9479
|
+
transform: "translate(495.000000, 71.000000)"
|
|
9480
|
+
}, React__default.createElement("mask", {
|
|
9481
|
+
id: "mask-2",
|
|
9482
|
+
fill: "white"
|
|
9483
|
+
}, React__default.createElement("use", {
|
|
9484
|
+
xlinkHref: "#path-1"
|
|
9485
|
+
})), React__default.createElement("use", {
|
|
9486
|
+
id: "Mask",
|
|
9487
|
+
fill: "#EEEEEE",
|
|
9488
|
+
fillRule: "nonzero",
|
|
9489
|
+
xlinkHref: "#path-1"
|
|
9490
|
+
}), React__default.createElement("path", {
|
|
9491
|
+
d: "M44.5707528,16 L43.4292117,16 L42.9575197,16.0086403 L42.9575195,16.0086403 C36.5215787,16.2615464 31.4341803,21.5678078 31.4344832,28.0273864 L31.4344832,34.7776551 L31.4495601,35.3716788 L31.4495593,35.3716628 C31.599687,38.5368723 32.9422041,41.5269327 35.2058513,43.7376716 L38.2147759,46.6775505 L38.4086219,46.8913989 C38.7747759,47.3385365 38.9750835,47.9001589 38.9750835,48.4833848 L38.9750835,48.8938006 L38.9556989,49.1897326 L38.9556989,49.1897325 C38.8577746,49.9812662 38.3754713,50.67284 37.667703,51.036605 L18.7375269,60.7440265 L18.4101421,60.9276334 L18.4101423,60.9276333 C16.9141658,61.8418636 16.0009389,63.4714674 16,65.2283758 L16,66.070809 L16.0129231,66.3948217 C16.1766149,68.4123376 17.860922,70 19.91569,70 L68.0843101,70 L68.08431,70 C70.2460467,70 71.9988087,68.243122 72,66.0751224 L72,65.2326893 C72,63.3382982 70.9446194,61.6037466 69.2624598,60.7440295 L50.3322837,51.036608 L50.3322835,51.0366079 C49.5291218,50.6249082 49.0240448,49.7962466 49.024903,48.8916436 L49.024903,48.4812278 C49.024903,47.8029608 49.3005955,47.1527756 49.7852106,46.6775603 L52.7941352,43.7376813 L52.7941354,43.7376811 C55.204308,41.3832325 56.5636029,38.151975 56.5633606,34.7776456 L56.5633606,28.0273769 L56.5633606,28.0273774 C56.5633606,21.3848531 51.1940878,16 44.5707524,16 L44.5707528,16 Z",
|
|
9492
|
+
id: "形状",
|
|
9493
|
+
fill: "#CCCCCC",
|
|
9494
|
+
fillRule: "nonzero",
|
|
9495
|
+
mask: "url(#mask-2)"
|
|
9496
|
+
}))))));
|
|
9497
9497
|
const classPrefix$1k = "adm-avatar";
|
|
9498
9498
|
const defaultProps$10 = {
|
|
9499
9499
|
fallback: React__default.createElement(Fallback, null),
|
|
9500
9500
|
fit: "cover"
|
|
9501
9501
|
};
|
|
9502
9502
|
const Avatar = (p) => {
|
|
9503
|
+
var _a;
|
|
9503
9504
|
const props = mergeProps(defaultProps$10, p);
|
|
9505
|
+
const mergedSrc = ((_a = props.src) === null || _a === void 0 ? void 0 : _a.trim()) || void 0;
|
|
9504
9506
|
return withNativeProps(props, React__default.createElement(Image$1, {
|
|
9505
9507
|
className: classPrefix$1k,
|
|
9506
|
-
src:
|
|
9508
|
+
src: mergedSrc,
|
|
9507
9509
|
fallback: props.fallback,
|
|
9508
9510
|
placeholder: props.fallback,
|
|
9509
9511
|
alt: props.alt,
|
|
@@ -9601,7 +9603,7 @@ function isPromise(obj) {
|
|
|
9601
9603
|
return !!obj && typeof obj === "object" && typeof obj.then === "function";
|
|
9602
9604
|
}
|
|
9603
9605
|
function isIOS() {
|
|
9604
|
-
return canUseDom$
|
|
9606
|
+
return canUseDom$3 ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : false;
|
|
9605
9607
|
}
|
|
9606
9608
|
const classPrefix$1h = `adm-button`;
|
|
9607
9609
|
const defaultProps$_ = {
|
|
@@ -9875,12 +9877,12 @@ const Calendar = forwardRef((p, ref2) => {
|
|
|
9875
9877
|
};
|
|
9876
9878
|
const header = React__default.createElement("div", {
|
|
9877
9879
|
className: `${classPrefix$1g}-header`
|
|
9878
|
-
}, React__default.createElement("a", {
|
|
9880
|
+
}, props.prevYearButton !== null && React__default.createElement("a", {
|
|
9879
9881
|
className: `${classPrefix$1g}-arrow-button ${classPrefix$1g}-arrow-button-year`,
|
|
9880
9882
|
onClick: () => {
|
|
9881
9883
|
handlePageChange("subtract", 1, "year");
|
|
9882
9884
|
}
|
|
9883
|
-
}, props.prevYearButton), React__default.createElement("a", {
|
|
9885
|
+
}, props.prevYearButton), props.prevMonthButton !== null && React__default.createElement("a", {
|
|
9884
9886
|
className: `${classPrefix$1g}-arrow-button ${classPrefix$1g}-arrow-button-month`,
|
|
9885
9887
|
onClick: () => {
|
|
9886
9888
|
handlePageChange("subtract", 1, "month");
|
|
@@ -9890,12 +9892,12 @@ const Calendar = forwardRef((p, ref2) => {
|
|
|
9890
9892
|
}, replaceMessage$1(locale.Calendar.yearAndMonth, {
|
|
9891
9893
|
year: current.year().toString(),
|
|
9892
9894
|
month: (current.month() + 1).toString()
|
|
9893
|
-
})), React__default.createElement("a", {
|
|
9895
|
+
})), props.nextMonthButton !== null && React__default.createElement("a", {
|
|
9894
9896
|
className: classNames(`${classPrefix$1g}-arrow-button`, `${classPrefix$1g}-arrow-button-right`, `${classPrefix$1g}-arrow-button-right-month`),
|
|
9895
9897
|
onClick: () => {
|
|
9896
9898
|
handlePageChange("add", 1, "month");
|
|
9897
9899
|
}
|
|
9898
|
-
}, props.nextMonthButton), React__default.createElement("a", {
|
|
9900
|
+
}, props.nextMonthButton), props.nextYearButton !== null && React__default.createElement("a", {
|
|
9899
9901
|
className: classNames(`${classPrefix$1g}-arrow-button`, `${classPrefix$1g}-arrow-button-right`, `${classPrefix$1g}-arrow-button-right-year`),
|
|
9900
9902
|
onClick: () => {
|
|
9901
9903
|
handlePageChange("add", 1, "year");
|
|
@@ -10042,9 +10044,9 @@ function convertPageToDayjs(page) {
|
|
|
10042
10044
|
return dayjs().year(page.year).month(page.month - 1).date(1);
|
|
10043
10045
|
}
|
|
10044
10046
|
function useEvent(callback) {
|
|
10045
|
-
var fnRef = React$
|
|
10047
|
+
var fnRef = React$3.useRef();
|
|
10046
10048
|
fnRef.current = callback;
|
|
10047
|
-
var memoFn = React$
|
|
10049
|
+
var memoFn = React$3.useCallback(function() {
|
|
10048
10050
|
var _fnRef$current;
|
|
10049
10051
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
10050
10052
|
args[_key] = arguments[_key];
|
|
@@ -10109,16 +10111,16 @@ function _nonIterableRest() {
|
|
|
10109
10111
|
function _slicedToArray(arr, i2) {
|
|
10110
10112
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
10111
10113
|
}
|
|
10112
|
-
function canUseDom() {
|
|
10114
|
+
function canUseDom$2() {
|
|
10113
10115
|
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
10114
10116
|
}
|
|
10115
|
-
var useInternalLayoutEffect = canUseDom() ? React$
|
|
10116
|
-
var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
10117
|
-
var firstMountRef = React$
|
|
10118
|
-
useInternalLayoutEffect(function() {
|
|
10117
|
+
var useInternalLayoutEffect$1 = canUseDom$2() ? React$3.useLayoutEffect : React$3.useEffect;
|
|
10118
|
+
var useLayoutEffect$2 = function useLayoutEffect2(callback, deps) {
|
|
10119
|
+
var firstMountRef = React$3.useRef(true);
|
|
10120
|
+
useInternalLayoutEffect$1(function() {
|
|
10119
10121
|
return callback(firstMountRef.current);
|
|
10120
10122
|
}, deps);
|
|
10121
|
-
useInternalLayoutEffect(function() {
|
|
10123
|
+
useInternalLayoutEffect$1(function() {
|
|
10122
10124
|
firstMountRef.current = false;
|
|
10123
10125
|
return function() {
|
|
10124
10126
|
firstMountRef.current = true;
|
|
@@ -10126,16 +10128,16 @@ var useLayoutEffect = function useLayoutEffect2(callback, deps) {
|
|
|
10126
10128
|
}, []);
|
|
10127
10129
|
};
|
|
10128
10130
|
var useLayoutUpdateEffect = function useLayoutUpdateEffect2(callback, deps) {
|
|
10129
|
-
useLayoutEffect(function(firstMount) {
|
|
10131
|
+
useLayoutEffect$2(function(firstMount) {
|
|
10130
10132
|
if (!firstMount) {
|
|
10131
10133
|
return callback();
|
|
10132
10134
|
}
|
|
10133
10135
|
}, deps);
|
|
10134
10136
|
};
|
|
10135
10137
|
function useSafeState(defaultValue) {
|
|
10136
|
-
var destroyRef = React$
|
|
10137
|
-
var _React$useState = React$
|
|
10138
|
-
React$
|
|
10138
|
+
var destroyRef = React$3.useRef(false);
|
|
10139
|
+
var _React$useState = React$3.useState(defaultValue), _React$useState2 = _slicedToArray(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1];
|
|
10140
|
+
React$3.useEffect(function() {
|
|
10139
10141
|
destroyRef.current = false;
|
|
10140
10142
|
return function() {
|
|
10141
10143
|
destroyRef.current = true;
|
|
@@ -14408,6 +14410,45 @@ const Dropdown$1 = Dropdown;
|
|
|
14408
14410
|
const index$b = attachPropertiesToComponent(Dropdown$1, {
|
|
14409
14411
|
Item: Item$1
|
|
14410
14412
|
});
|
|
14413
|
+
var useLayoutEffect$1 = {};
|
|
14414
|
+
var canUseDom$1 = {};
|
|
14415
|
+
Object.defineProperty(canUseDom$1, "__esModule", {
|
|
14416
|
+
value: true
|
|
14417
|
+
});
|
|
14418
|
+
canUseDom$1.default = canUseDom;
|
|
14419
|
+
function canUseDom() {
|
|
14420
|
+
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
14421
|
+
}
|
|
14422
|
+
var default_1$1;
|
|
14423
|
+
var _interopRequireDefault$5 = interopRequireDefaultExports.default;
|
|
14424
|
+
var _interopRequireWildcard$2 = interopRequireWildcardExports.default;
|
|
14425
|
+
Object.defineProperty(useLayoutEffect$1, "__esModule", {
|
|
14426
|
+
value: true
|
|
14427
|
+
});
|
|
14428
|
+
useLayoutEffect$1.useLayoutUpdateEffect = default_1$1 = useLayoutEffect$1.default = void 0;
|
|
14429
|
+
var React$2 = _interopRequireWildcard$2(React__default);
|
|
14430
|
+
var _canUseDom = _interopRequireDefault$5(canUseDom$1);
|
|
14431
|
+
var useInternalLayoutEffect = (0, _canUseDom.default)() ? React$2.useLayoutEffect : React$2.useEffect;
|
|
14432
|
+
var useLayoutEffect = function useLayoutEffect22(callback, deps) {
|
|
14433
|
+
var firstMountRef = React$2.useRef(true);
|
|
14434
|
+
useInternalLayoutEffect(function() {
|
|
14435
|
+
return callback(firstMountRef.current);
|
|
14436
|
+
}, deps);
|
|
14437
|
+
useInternalLayoutEffect(function() {
|
|
14438
|
+
firstMountRef.current = false;
|
|
14439
|
+
return function() {
|
|
14440
|
+
firstMountRef.current = true;
|
|
14441
|
+
};
|
|
14442
|
+
}, []);
|
|
14443
|
+
};
|
|
14444
|
+
useLayoutEffect$1.useLayoutUpdateEffect = function useLayoutUpdateEffect22(callback, deps) {
|
|
14445
|
+
useLayoutEffect(function(firstMount) {
|
|
14446
|
+
if (!firstMount) {
|
|
14447
|
+
return callback();
|
|
14448
|
+
}
|
|
14449
|
+
}, deps);
|
|
14450
|
+
};
|
|
14451
|
+
default_1$1 = useLayoutEffect$1.default = useLayoutEffect;
|
|
14411
14452
|
var i;
|
|
14412
14453
|
!function(i2) {
|
|
14413
14454
|
i2[i2.HIGH_SURROGATE_START = 55296] = "HIGH_SURROGATE_START", i2[i2.HIGH_SURROGATE_END = 56319] = "HIGH_SURROGATE_END", i2[i2.LOW_SURROGATE_START = 56320] = "LOW_SURROGATE_START", i2[i2.REGIONAL_INDICATOR_START = 127462] = "REGIONAL_INDICATOR_START", i2[i2.REGIONAL_INDICATOR_END = 127487] = "REGIONAL_INDICATOR_END", i2[i2.FITZPATRICK_MODIFIER_START = 127995] = "FITZPATRICK_MODIFIER_START", i2[i2.FITZPATRICK_MODIFIER_END = 127999] = "FITZPATRICK_MODIFIER_END", i2[i2.VARIATION_MODIFIER_START = 65024] = "VARIATION_MODIFIER_START", i2[i2.VARIATION_MODIFIER_END = 65039] = "VARIATION_MODIFIER_END", i2[i2.DIACRITICAL_MARKS_START = 8400] = "DIACRITICAL_MARKS_START", i2[i2.DIACRITICAL_MARKS_END = 8447] = "DIACRITICAL_MARKS_END", i2[i2.SUBDIVISION_INDICATOR_START = 127988] = "SUBDIVISION_INDICATOR_START", i2[i2.TAGS_START = 917504] = "TAGS_START", i2[i2.TAGS_END = 917631] = "TAGS_END", i2[i2.ZWJ = 8205] = "ZWJ";
|
|
@@ -14496,10 +14537,10 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14496
14537
|
setWalkingIndexes([0, direction === "middle" ? Math.ceil(contentChars.length / 2) : contentChars.length]);
|
|
14497
14538
|
});
|
|
14498
14539
|
});
|
|
14499
|
-
|
|
14540
|
+
default_1$1(() => {
|
|
14500
14541
|
startMeasure();
|
|
14501
14542
|
}, [contentChars, rows]);
|
|
14502
|
-
|
|
14543
|
+
default_1$1(() => {
|
|
14503
14544
|
var _a, _b;
|
|
14504
14545
|
if (status === 1) {
|
|
14505
14546
|
const fullMeasureHeight = ((_a = fullMeasureRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
@@ -14519,7 +14560,7 @@ function useMeasure(containerRef, content, rows, direction, expanded, expandNode
|
|
|
14519
14560
|
}
|
|
14520
14561
|
}
|
|
14521
14562
|
}, [status]);
|
|
14522
|
-
|
|
14563
|
+
default_1$1(() => {
|
|
14523
14564
|
var _a;
|
|
14524
14565
|
if (status === 2) {
|
|
14525
14566
|
const diff = walkingIndexes[1] - walkingIndexes[0];
|
|
@@ -15604,7 +15645,7 @@ function _createSuper(Derived) {
|
|
|
15604
15645
|
return _possibleConstructorReturn(this, result);
|
|
15605
15646
|
};
|
|
15606
15647
|
}
|
|
15607
|
-
function toArray$
|
|
15648
|
+
function toArray$4(children) {
|
|
15608
15649
|
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
15609
15650
|
var ret = [];
|
|
15610
15651
|
React__default.Children.forEach(children, function(child) {
|
|
@@ -15612,9 +15653,9 @@ function toArray$2(children) {
|
|
|
15612
15653
|
return;
|
|
15613
15654
|
}
|
|
15614
15655
|
if (Array.isArray(child)) {
|
|
15615
|
-
ret = ret.concat(toArray$
|
|
15656
|
+
ret = ret.concat(toArray$4(child));
|
|
15616
15657
|
} else if (isFragment$2(child) && child.props) {
|
|
15617
|
-
ret = ret.concat(toArray$
|
|
15658
|
+
ret = ret.concat(toArray$4(child.props.children, option));
|
|
15618
15659
|
} else {
|
|
15619
15660
|
ret.push(child);
|
|
15620
15661
|
}
|
|
@@ -15667,7 +15708,7 @@ var HOOK_MARK$1 = "RC_FORM_INTERNAL_HOOKS";
|
|
|
15667
15708
|
var warningFunc$1 = function warningFunc() {
|
|
15668
15709
|
warningOnce(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
15669
15710
|
};
|
|
15670
|
-
var Context$2 = /* @__PURE__ */ React$
|
|
15711
|
+
var Context$2 = /* @__PURE__ */ React$3.createContext({
|
|
15671
15712
|
getFieldValue: warningFunc$1,
|
|
15672
15713
|
getFieldsValue: warningFunc$1,
|
|
15673
15714
|
getFieldError: warningFunc$1,
|
|
@@ -15701,8 +15742,8 @@ var Context$2 = /* @__PURE__ */ React$2.createContext({
|
|
|
15701
15742
|
};
|
|
15702
15743
|
}
|
|
15703
15744
|
});
|
|
15704
|
-
var ListContext = /* @__PURE__ */ React$
|
|
15705
|
-
function toArray$
|
|
15745
|
+
var ListContext = /* @__PURE__ */ React$3.createContext(null);
|
|
15746
|
+
function toArray$3(value) {
|
|
15706
15747
|
if (value === void 0 || value === null) {
|
|
15707
15748
|
return [];
|
|
15708
15749
|
}
|
|
@@ -17208,9 +17249,9 @@ function _validateRule() {
|
|
|
17208
17249
|
result = _context2.t0.errors.map(function(_ref4, index2) {
|
|
17209
17250
|
var message = _ref4.message;
|
|
17210
17251
|
var mergedMessage = message === CODE_LOGIC_ERROR ? messages2.default : message;
|
|
17211
|
-
return /* @__PURE__ */ React$
|
|
17252
|
+
return /* @__PURE__ */ React$3.isValidElement(mergedMessage) ? (
|
|
17212
17253
|
// Wrap ReactNode with `key`
|
|
17213
|
-
React$
|
|
17254
|
+
React$3.cloneElement(mergedMessage, {
|
|
17214
17255
|
key: "error_".concat(index2)
|
|
17215
17256
|
})
|
|
17216
17257
|
) : mergedMessage;
|
|
@@ -17413,7 +17454,7 @@ function _finishOnFirstFailed() {
|
|
|
17413
17454
|
return _finishOnFirstFailed.apply(this, arguments);
|
|
17414
17455
|
}
|
|
17415
17456
|
function getNamePath(path) {
|
|
17416
|
-
return toArray$
|
|
17457
|
+
return toArray$3(path);
|
|
17417
17458
|
}
|
|
17418
17459
|
function cloneByNamePathList(store, namePathList) {
|
|
17419
17460
|
var newStore = {};
|
|
@@ -17655,7 +17696,7 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17655
17696
|
if (!validateTrigger) {
|
|
17656
17697
|
return true;
|
|
17657
17698
|
}
|
|
17658
|
-
var triggerList = toArray$
|
|
17699
|
+
var triggerList = toArray$3(validateTrigger);
|
|
17659
17700
|
return triggerList.includes(triggerName);
|
|
17660
17701
|
});
|
|
17661
17702
|
}
|
|
@@ -17747,8 +17788,8 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17747
17788
|
isFunction: true
|
|
17748
17789
|
});
|
|
17749
17790
|
}
|
|
17750
|
-
var childList = toArray$
|
|
17751
|
-
if (childList.length !== 1 || !/* @__PURE__ */ React$
|
|
17791
|
+
var childList = toArray$4(children);
|
|
17792
|
+
if (childList.length !== 1 || !/* @__PURE__ */ React$3.isValidElement(childList[0])) {
|
|
17752
17793
|
return {
|
|
17753
17794
|
child: childList,
|
|
17754
17795
|
isFunction: false
|
|
@@ -17802,7 +17843,7 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17802
17843
|
originTriggerFunc.apply(void 0, args);
|
|
17803
17844
|
}
|
|
17804
17845
|
};
|
|
17805
|
-
var validateTriggerList = toArray$
|
|
17846
|
+
var validateTriggerList = toArray$3(mergedValidateTrigger || []);
|
|
17806
17847
|
validateTriggerList.forEach(function(triggerName) {
|
|
17807
17848
|
var originTrigger = control[triggerName];
|
|
17808
17849
|
control[triggerName] = function() {
|
|
@@ -17865,19 +17906,19 @@ var Field = /* @__PURE__ */ function(_React$Component) {
|
|
|
17865
17906
|
var returnChildNode;
|
|
17866
17907
|
if (isFunction2) {
|
|
17867
17908
|
returnChildNode = child;
|
|
17868
|
-
} else if (/* @__PURE__ */ React$
|
|
17869
|
-
returnChildNode = /* @__PURE__ */ React$
|
|
17909
|
+
} else if (/* @__PURE__ */ React$3.isValidElement(child)) {
|
|
17910
|
+
returnChildNode = /* @__PURE__ */ React$3.cloneElement(child, this.getControlled(child.props));
|
|
17870
17911
|
} else {
|
|
17871
17912
|
warningOnce(!child, "`children` of Field is not validate ReactElement.");
|
|
17872
17913
|
returnChildNode = child;
|
|
17873
17914
|
}
|
|
17874
|
-
return /* @__PURE__ */ React$
|
|
17915
|
+
return /* @__PURE__ */ React$3.createElement(React$3.Fragment, {
|
|
17875
17916
|
key: resetCount
|
|
17876
17917
|
}, returnChildNode);
|
|
17877
17918
|
}
|
|
17878
17919
|
}]);
|
|
17879
17920
|
return Field2;
|
|
17880
|
-
}(React$
|
|
17921
|
+
}(React$3.Component);
|
|
17881
17922
|
Field.contextType = Context$2;
|
|
17882
17923
|
Field.defaultProps = {
|
|
17883
17924
|
trigger: "onChange",
|
|
@@ -17885,8 +17926,8 @@ Field.defaultProps = {
|
|
|
17885
17926
|
};
|
|
17886
17927
|
function WrapperField(_ref5) {
|
|
17887
17928
|
var name = _ref5.name, restProps = _objectWithoutProperties(_ref5, _excluded$4);
|
|
17888
|
-
var fieldContext = React$
|
|
17889
|
-
var listContext = React$
|
|
17929
|
+
var fieldContext = React$3.useContext(Context$2);
|
|
17930
|
+
var listContext = React$3.useContext(ListContext);
|
|
17890
17931
|
var namePath = name !== void 0 ? getNamePath(name) : void 0;
|
|
17891
17932
|
var key = "keep";
|
|
17892
17933
|
if (!restProps.isListField) {
|
|
@@ -17895,7 +17936,7 @@ function WrapperField(_ref5) {
|
|
|
17895
17936
|
if (restProps.preserve === false && restProps.isListField && namePath.length <= 1) {
|
|
17896
17937
|
warningOnce(false, "`preserve` should not apply on Form.List fields.");
|
|
17897
17938
|
}
|
|
17898
|
-
return /* @__PURE__ */ React$
|
|
17939
|
+
return /* @__PURE__ */ React$3.createElement(Field, _extends$1({
|
|
17899
17940
|
key,
|
|
17900
17941
|
name: namePath,
|
|
17901
17942
|
isListField: !!listContext
|
|
@@ -17905,23 +17946,23 @@ function WrapperField(_ref5) {
|
|
|
17905
17946
|
}
|
|
17906
17947
|
var List = function List2(_ref) {
|
|
17907
17948
|
var name = _ref.name, initialValue = _ref.initialValue, children = _ref.children, rules2 = _ref.rules, validateTrigger = _ref.validateTrigger, isListField = _ref.isListField;
|
|
17908
|
-
var context = React$
|
|
17909
|
-
var wrapperListContext = React$
|
|
17910
|
-
var keyRef = React$
|
|
17949
|
+
var context = React$3.useContext(Context$2);
|
|
17950
|
+
var wrapperListContext = React$3.useContext(ListContext);
|
|
17951
|
+
var keyRef = React$3.useRef({
|
|
17911
17952
|
keys: [],
|
|
17912
17953
|
id: 0
|
|
17913
17954
|
});
|
|
17914
17955
|
var keyManager = keyRef.current;
|
|
17915
|
-
var prefixName = React$
|
|
17956
|
+
var prefixName = React$3.useMemo(function() {
|
|
17916
17957
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
17917
17958
|
return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
|
|
17918
17959
|
}, [context.prefixName, name]);
|
|
17919
|
-
var fieldContext = React$
|
|
17960
|
+
var fieldContext = React$3.useMemo(function() {
|
|
17920
17961
|
return _objectSpread2(_objectSpread2({}, context), {}, {
|
|
17921
17962
|
prefixName
|
|
17922
17963
|
});
|
|
17923
17964
|
}, [context, prefixName]);
|
|
17924
|
-
var listContext = React$
|
|
17965
|
+
var listContext = React$3.useMemo(function() {
|
|
17925
17966
|
return {
|
|
17926
17967
|
getKey: function getKey(namePath) {
|
|
17927
17968
|
var len = prefixName.length;
|
|
@@ -17941,11 +17982,11 @@ var List = function List2(_ref) {
|
|
|
17941
17982
|
}
|
|
17942
17983
|
return prevValue !== nextValue;
|
|
17943
17984
|
};
|
|
17944
|
-
return /* @__PURE__ */ React$
|
|
17985
|
+
return /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
17945
17986
|
value: listContext
|
|
17946
|
-
}, /* @__PURE__ */ React$
|
|
17987
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
17947
17988
|
value: fieldContext
|
|
17948
|
-
}, /* @__PURE__ */ React$
|
|
17989
|
+
}, /* @__PURE__ */ React$3.createElement(WrapperField, {
|
|
17949
17990
|
name: [],
|
|
17950
17991
|
shouldUpdate,
|
|
17951
17992
|
rules: rules2,
|
|
@@ -18840,8 +18881,8 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
18840
18881
|
this.forceRootUpdate = forceRootUpdate;
|
|
18841
18882
|
});
|
|
18842
18883
|
function useForm(form) {
|
|
18843
|
-
var formRef = React$
|
|
18844
|
-
var _React$useState = React$
|
|
18884
|
+
var formRef = React$3.useRef();
|
|
18885
|
+
var _React$useState = React$3.useState({}), _React$useState2 = _slicedToArray(_React$useState, 2), forceUpdate = _React$useState2[1];
|
|
18845
18886
|
if (!formRef.current) {
|
|
18846
18887
|
if (form) {
|
|
18847
18888
|
formRef.current = form;
|
|
@@ -18855,7 +18896,7 @@ function useForm(form) {
|
|
|
18855
18896
|
}
|
|
18856
18897
|
return [formRef.current];
|
|
18857
18898
|
}
|
|
18858
|
-
var FormContext$1 = /* @__PURE__ */ React$
|
|
18899
|
+
var FormContext$1 = /* @__PURE__ */ React$3.createContext({
|
|
18859
18900
|
triggerFormChange: function triggerFormChange() {
|
|
18860
18901
|
},
|
|
18861
18902
|
triggerFormFinish: function triggerFormFinish() {
|
|
@@ -18867,9 +18908,9 @@ var FormContext$1 = /* @__PURE__ */ React$2.createContext({
|
|
|
18867
18908
|
});
|
|
18868
18909
|
var FormProvider = function FormProvider2(_ref) {
|
|
18869
18910
|
var validateMessages = _ref.validateMessages, onFormChange = _ref.onFormChange, onFormFinish = _ref.onFormFinish, children = _ref.children;
|
|
18870
|
-
var formContext = React$
|
|
18871
|
-
var formsRef = React$
|
|
18872
|
-
return /* @__PURE__ */ React$
|
|
18911
|
+
var formContext = React$3.useContext(FormContext$1);
|
|
18912
|
+
var formsRef = React$3.useRef({});
|
|
18913
|
+
return /* @__PURE__ */ React$3.createElement(FormContext$1.Provider, {
|
|
18873
18914
|
value: _objectSpread2(_objectSpread2({}, formContext), {}, {
|
|
18874
18915
|
validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
18875
18916
|
// =========================================================
|
|
@@ -18911,13 +18952,13 @@ var FormProvider = function FormProvider2(_ref) {
|
|
|
18911
18952
|
var _excluded$2 = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
|
|
18912
18953
|
var Form$1 = function Form(_ref, ref2) {
|
|
18913
18954
|
var name = _ref.name, initialValues = _ref.initialValues, fields = _ref.fields, form = _ref.form, preserve = _ref.preserve, children = _ref.children, _ref$component = _ref.component, Component = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref.validateMessages, _ref$validateTrigger = _ref.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref.onValuesChange, _onFieldsChange = _ref.onFieldsChange, _onFinish = _ref.onFinish, onFinishFailed = _ref.onFinishFailed, restProps = _objectWithoutProperties(_ref, _excluded$2);
|
|
18914
|
-
var formContext = React$
|
|
18955
|
+
var formContext = React$3.useContext(FormContext$1);
|
|
18915
18956
|
var _useForm = useForm(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
|
|
18916
18957
|
var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK$1), useSubscribe = _formInstance$getInte.useSubscribe, setInitialValues = _formInstance$getInte.setInitialValues, setCallbacks = _formInstance$getInte.setCallbacks, setValidateMessages = _formInstance$getInte.setValidateMessages, setPreserve = _formInstance$getInte.setPreserve, destroyForm = _formInstance$getInte.destroyForm;
|
|
18917
|
-
React$
|
|
18958
|
+
React$3.useImperativeHandle(ref2, function() {
|
|
18918
18959
|
return formInstance;
|
|
18919
18960
|
});
|
|
18920
|
-
React$
|
|
18961
|
+
React$3.useEffect(function() {
|
|
18921
18962
|
formContext.registerForm(name, formInstance);
|
|
18922
18963
|
return function() {
|
|
18923
18964
|
formContext.unregisterForm(name);
|
|
@@ -18944,12 +18985,12 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18944
18985
|
onFinishFailed
|
|
18945
18986
|
});
|
|
18946
18987
|
setPreserve(preserve);
|
|
18947
|
-
var mountRef = React$
|
|
18988
|
+
var mountRef = React$3.useRef(null);
|
|
18948
18989
|
setInitialValues(initialValues, !mountRef.current);
|
|
18949
18990
|
if (!mountRef.current) {
|
|
18950
18991
|
mountRef.current = true;
|
|
18951
18992
|
}
|
|
18952
|
-
React$
|
|
18993
|
+
React$3.useEffect(
|
|
18953
18994
|
function() {
|
|
18954
18995
|
return destroyForm;
|
|
18955
18996
|
},
|
|
@@ -18965,27 +19006,27 @@ var Form$1 = function Form(_ref, ref2) {
|
|
|
18965
19006
|
childrenNode = children;
|
|
18966
19007
|
}
|
|
18967
19008
|
useSubscribe(!childrenRenderProps);
|
|
18968
|
-
var prevFieldsRef = React$
|
|
18969
|
-
React$
|
|
19009
|
+
var prevFieldsRef = React$3.useRef();
|
|
19010
|
+
React$3.useEffect(function() {
|
|
18970
19011
|
if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
|
|
18971
19012
|
formInstance.setFields(fields || []);
|
|
18972
19013
|
}
|
|
18973
19014
|
prevFieldsRef.current = fields;
|
|
18974
19015
|
}, [fields, formInstance]);
|
|
18975
|
-
var formContextValue = React$
|
|
19016
|
+
var formContextValue = React$3.useMemo(function() {
|
|
18976
19017
|
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
|
18977
19018
|
validateTrigger
|
|
18978
19019
|
});
|
|
18979
19020
|
}, [formInstance, validateTrigger]);
|
|
18980
|
-
var wrapperNode = /* @__PURE__ */ React$
|
|
19021
|
+
var wrapperNode = /* @__PURE__ */ React$3.createElement(ListContext.Provider, {
|
|
18981
19022
|
value: null
|
|
18982
|
-
}, /* @__PURE__ */ React$
|
|
19023
|
+
}, /* @__PURE__ */ React$3.createElement(Context$2.Provider, {
|
|
18983
19024
|
value: formContextValue
|
|
18984
19025
|
}, childrenNode));
|
|
18985
19026
|
if (Component === false) {
|
|
18986
19027
|
return wrapperNode;
|
|
18987
19028
|
}
|
|
18988
|
-
return /* @__PURE__ */ React$
|
|
19029
|
+
return /* @__PURE__ */ React$3.createElement(Component, _extends$1({}, restProps, {
|
|
18989
19030
|
onSubmit: function onSubmit(event) {
|
|
18990
19031
|
event.preventDefault();
|
|
18991
19032
|
event.stopPropagation();
|
|
@@ -19061,7 +19102,7 @@ function useWatch() {
|
|
|
19061
19102
|
);
|
|
19062
19103
|
return value;
|
|
19063
19104
|
}
|
|
19064
|
-
var InternalForm = /* @__PURE__ */ React$
|
|
19105
|
+
var InternalForm = /* @__PURE__ */ React$3.forwardRef(Form$1);
|
|
19065
19106
|
var RefForm = InternalForm;
|
|
19066
19107
|
RefForm.FormProvider = FormProvider;
|
|
19067
19108
|
RefForm.Field = WrapperField;
|
|
@@ -19277,12 +19318,12 @@ const Form2 = forwardRef((p, ref2) => {
|
|
|
19277
19318
|
});
|
|
19278
19319
|
var FieldContext = {};
|
|
19279
19320
|
var _interopRequireWildcard$1 = interopRequireWildcardExports.default;
|
|
19280
|
-
var _interopRequireDefault$
|
|
19321
|
+
var _interopRequireDefault$4 = interopRequireDefaultExports.default;
|
|
19281
19322
|
Object.defineProperty(FieldContext, "__esModule", {
|
|
19282
19323
|
value: true
|
|
19283
19324
|
});
|
|
19284
19325
|
var default_1 = FieldContext.default = FieldContext.HOOK_MARK = void 0;
|
|
19285
|
-
var _warning = _interopRequireDefault$
|
|
19326
|
+
var _warning = _interopRequireDefault$4(warning$3);
|
|
19286
19327
|
var React$1 = _interopRequireWildcard$1(React__default);
|
|
19287
19328
|
var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
|
|
19288
19329
|
FieldContext.HOOK_MARK = HOOK_MARK;
|
|
@@ -19323,8 +19364,8 @@ var Context$1 = /* @__PURE__ */ React$1.createContext({
|
|
|
19323
19364
|
};
|
|
19324
19365
|
}
|
|
19325
19366
|
});
|
|
19326
|
-
var _default$
|
|
19327
|
-
default_1 = FieldContext.default = _default$
|
|
19367
|
+
var _default$2 = Context$1;
|
|
19368
|
+
default_1 = FieldContext.default = _default$2;
|
|
19328
19369
|
function undefinedFallback(...items) {
|
|
19329
19370
|
let i2;
|
|
19330
19371
|
for (i2 = 0; i2 < items.length; i2++) {
|
|
@@ -20703,7 +20744,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
20703
20744
|
};
|
|
20704
20745
|
let tenPxTester = null;
|
|
20705
20746
|
let tester = null;
|
|
20706
|
-
if (canUseDom$
|
|
20747
|
+
if (canUseDom$3) {
|
|
20707
20748
|
tenPxTester = document.createElement("div");
|
|
20708
20749
|
tenPxTester.className = "adm-px-tester";
|
|
20709
20750
|
tenPxTester.style.setProperty("--size", "10");
|
|
@@ -20750,16 +20791,16 @@ function normalizePlacement(placement) {
|
|
|
20750
20791
|
return (_a = record[placement]) !== null && _a !== void 0 ? _a : placement;
|
|
20751
20792
|
}
|
|
20752
20793
|
var findDOMNode$2 = {};
|
|
20753
|
-
var _interopRequireDefault$
|
|
20794
|
+
var _interopRequireDefault$3 = interopRequireDefaultExports.default;
|
|
20754
20795
|
Object.defineProperty(findDOMNode$2, "__esModule", {
|
|
20755
20796
|
value: true
|
|
20756
20797
|
});
|
|
20757
|
-
var _default = findDOMNode$2.default = findDOMNode$1;
|
|
20798
|
+
var _default$1 = findDOMNode$2.default = findDOMNode$1;
|
|
20758
20799
|
var getDOM_1 = findDOMNode$2.getDOM = getDOM$1;
|
|
20759
20800
|
findDOMNode$2.isDOM = isDOM$1;
|
|
20760
|
-
var _typeof2$2 = _interopRequireDefault$
|
|
20761
|
-
var _react$
|
|
20762
|
-
var _reactDom = _interopRequireDefault$
|
|
20801
|
+
var _typeof2$2 = _interopRequireDefault$3(_typeofExports);
|
|
20802
|
+
var _react$2 = _interopRequireDefault$3(React__default);
|
|
20803
|
+
var _reactDom = _interopRequireDefault$3(ReactDOM__default);
|
|
20763
20804
|
function isDOM$1(node) {
|
|
20764
20805
|
return node instanceof HTMLElement || node instanceof SVGElement;
|
|
20765
20806
|
}
|
|
@@ -20777,7 +20818,7 @@ function findDOMNode$1(node) {
|
|
|
20777
20818
|
if (domNode) {
|
|
20778
20819
|
return domNode;
|
|
20779
20820
|
}
|
|
20780
|
-
if (node instanceof _react$
|
|
20821
|
+
if (node instanceof _react$2.default.Component) {
|
|
20781
20822
|
var _ReactDOM$findDOMNode;
|
|
20782
20823
|
return (_ReactDOM$findDOMNode = _reactDom.default.findDOMNode) === null || _ReactDOM$findDOMNode === void 0 ? void 0 : _ReactDOM$findDOMNode.call(_reactDom.default, node);
|
|
20783
20824
|
}
|
|
@@ -20800,12 +20841,12 @@ function useMemo(getValue2, condition, shouldUpdate) {
|
|
|
20800
20841
|
return cacheRef.current.value;
|
|
20801
20842
|
}
|
|
20802
20843
|
var isFragment$1 = {};
|
|
20803
|
-
var _interopRequireDefault$
|
|
20844
|
+
var _interopRequireDefault$2 = interopRequireDefaultExports.default;
|
|
20804
20845
|
Object.defineProperty(isFragment$1, "__esModule", {
|
|
20805
20846
|
value: true
|
|
20806
20847
|
});
|
|
20807
20848
|
isFragment$1.default = isFragment;
|
|
20808
|
-
var _typeof2$1 = _interopRequireDefault$
|
|
20849
|
+
var _typeof2$1 = _interopRequireDefault$2(_typeofExports);
|
|
20809
20850
|
var REACT_ELEMENT_TYPE_18 = Symbol.for("react.element");
|
|
20810
20851
|
var REACT_ELEMENT_TYPE_19 = Symbol.for("react.transitional.element");
|
|
20811
20852
|
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
@@ -20820,17 +20861,17 @@ function isFragment(object4) {
|
|
|
20820
20861
|
var composeRef_1;
|
|
20821
20862
|
var getNodeRef_1;
|
|
20822
20863
|
var supportRef_1;
|
|
20823
|
-
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
20864
|
+
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
|
20824
20865
|
Object.defineProperty(ref, "__esModule", {
|
|
20825
20866
|
value: true
|
|
20826
20867
|
});
|
|
20827
20868
|
ref.useComposeRef = supportRef_1 = ref.supportRef = ref.supportNodeRef = getNodeRef_1 = ref.getNodeRef = ref.fillRef = composeRef_1 = ref.composeRef = void 0;
|
|
20828
|
-
var _typeof2 = _interopRequireDefault(_typeofExports);
|
|
20829
|
-
var _react = React__default;
|
|
20869
|
+
var _typeof2 = _interopRequireDefault$1(_typeofExports);
|
|
20870
|
+
var _react$1 = React__default;
|
|
20830
20871
|
var _reactIs = reactIsExports;
|
|
20831
|
-
var _useMemo = _interopRequireDefault(useMemo$1);
|
|
20832
|
-
var _isFragment = _interopRequireDefault(isFragment$1);
|
|
20833
|
-
var ReactMajorVersion = Number(_react.version.split(".")[0]);
|
|
20872
|
+
var _useMemo = _interopRequireDefault$1(useMemo$1);
|
|
20873
|
+
var _isFragment$1 = _interopRequireDefault$1(isFragment$1);
|
|
20874
|
+
var ReactMajorVersion = Number(_react$1.version.split(".")[0]);
|
|
20834
20875
|
var fillRef2 = ref.fillRef = function fillRef3(ref2, node) {
|
|
20835
20876
|
if (typeof ref2 === "function") {
|
|
20836
20877
|
ref2(node);
|
|
@@ -20882,7 +20923,7 @@ var supportRef2 = supportRef_1 = ref.supportRef = function supportRef3(nodeOrCom
|
|
|
20882
20923
|
return true;
|
|
20883
20924
|
};
|
|
20884
20925
|
function isReactElement(node) {
|
|
20885
|
-
return /* @__PURE__ */ (0, _react.isValidElement)(node) && !(0, _isFragment.default)(node);
|
|
20926
|
+
return /* @__PURE__ */ (0, _react$1.isValidElement)(node) && !(0, _isFragment$1.default)(node);
|
|
20886
20927
|
}
|
|
20887
20928
|
ref.supportNodeRef = function supportNodeRef(node) {
|
|
20888
20929
|
return isReactElement(node) && supportRef2(node);
|
|
@@ -20894,7 +20935,7 @@ getNodeRef_1 = ref.getNodeRef = function getNodeRef(node) {
|
|
|
20894
20935
|
}
|
|
20895
20936
|
return null;
|
|
20896
20937
|
};
|
|
20897
|
-
class LegacyWrapper extends React$
|
|
20938
|
+
class LegacyWrapper extends React$3.Component {
|
|
20898
20939
|
constructor() {
|
|
20899
20940
|
super(...arguments);
|
|
20900
20941
|
this.element = null;
|
|
@@ -20903,7 +20944,7 @@ class LegacyWrapper extends React$2.Component {
|
|
|
20903
20944
|
this.componentDidUpdate();
|
|
20904
20945
|
}
|
|
20905
20946
|
componentDidUpdate() {
|
|
20906
|
-
const node = _default(this);
|
|
20947
|
+
const node = _default$1(this);
|
|
20907
20948
|
if (node instanceof Element) {
|
|
20908
20949
|
this.element = node;
|
|
20909
20950
|
} else {
|
|
@@ -20914,12 +20955,12 @@ class LegacyWrapper extends React$2.Component {
|
|
|
20914
20955
|
return this.props.children;
|
|
20915
20956
|
}
|
|
20916
20957
|
}
|
|
20917
|
-
const Wrapper = React$
|
|
20958
|
+
const Wrapper = React$3.forwardRef(({
|
|
20918
20959
|
children
|
|
20919
20960
|
}, ref2) => {
|
|
20920
|
-
const elementRef = React$
|
|
20921
|
-
const legacyWrapperRef = React$
|
|
20922
|
-
const child = React$
|
|
20961
|
+
const elementRef = React$3.useRef(null);
|
|
20962
|
+
const legacyWrapperRef = React$3.createRef();
|
|
20963
|
+
const child = React$3.Children.only(children);
|
|
20923
20964
|
const canUseRef = supportRef_1(children);
|
|
20924
20965
|
const getElement = () => {
|
|
20925
20966
|
var _a;
|
|
@@ -20928,13 +20969,13 @@ const Wrapper = React$2.forwardRef(({
|
|
|
20928
20969
|
}
|
|
20929
20970
|
return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
|
|
20930
20971
|
};
|
|
20931
|
-
React$
|
|
20972
|
+
React$3.useImperativeHandle(ref2, () => ({
|
|
20932
20973
|
element: getElement()
|
|
20933
20974
|
}));
|
|
20934
20975
|
const composedRef = composeRef_1(elementRef, getNodeRef_1(child));
|
|
20935
|
-
return canUseRef ? React$
|
|
20976
|
+
return canUseRef ? React$3.cloneElement(child, {
|
|
20936
20977
|
ref: composedRef
|
|
20937
|
-
}) : React$
|
|
20978
|
+
}) : React$3.createElement(LegacyWrapper, {
|
|
20938
20979
|
ref: legacyWrapperRef
|
|
20939
20980
|
}, child);
|
|
20940
20981
|
});
|
|
@@ -21128,7 +21169,7 @@ const PopoverMenu = forwardRef((props, ref2) => {
|
|
|
21128
21169
|
const Popover = attachPropertiesToComponent(Popover$1, {
|
|
21129
21170
|
Menu: PopoverMenu
|
|
21130
21171
|
});
|
|
21131
|
-
function toArray(candidate) {
|
|
21172
|
+
function toArray$2(candidate) {
|
|
21132
21173
|
if (candidate === void 0 || candidate === false)
|
|
21133
21174
|
return [];
|
|
21134
21175
|
return Array.isArray(candidate) ? candidate : [candidate];
|
|
@@ -21369,7 +21410,7 @@ const FormItem = (props) => {
|
|
|
21369
21410
|
}), (control, meta, context) => {
|
|
21370
21411
|
let childNode = null;
|
|
21371
21412
|
const isRequired = required4 !== void 0 ? required4 : rules2 && rules2.some((rule) => !!(rule && typeof rule === "object" && rule.required));
|
|
21372
|
-
const nameList = toArray(name).length && meta ? meta.name : [];
|
|
21413
|
+
const nameList = toArray$2(name).length && meta ? meta.name : [];
|
|
21373
21414
|
const fieldId = (nameList.length > 0 && formName ? [formName, ...nameList] : nameList).join("_");
|
|
21374
21415
|
if (shouldUpdate && dependencies) {
|
|
21375
21416
|
devWarning("Form.Item", "`shouldUpdate` and `dependencies` shouldn't be used together.");
|
|
@@ -21409,7 +21450,7 @@ const FormItem = (props) => {
|
|
|
21409
21450
|
if (!childProps.id) {
|
|
21410
21451
|
childProps.id = fieldId;
|
|
21411
21452
|
}
|
|
21412
|
-
const triggers = /* @__PURE__ */ new Set([...toArray(trigger), ...toArray(mergedValidateTrigger)]);
|
|
21453
|
+
const triggers = /* @__PURE__ */ new Set([...toArray$2(trigger), ...toArray$2(mergedValidateTrigger)]);
|
|
21413
21454
|
triggers.forEach((eventName) => {
|
|
21414
21455
|
childProps[eventName] = (...args) => {
|
|
21415
21456
|
var _a, _b, _c;
|
|
@@ -21731,7 +21772,8 @@ const Slide = (props) => {
|
|
|
21731
21772
|
}
|
|
21732
21773
|
});
|
|
21733
21774
|
const customRendering = typeof imageRender === "function" && imageRender(props.image, {
|
|
21734
|
-
|
|
21775
|
+
ref: imgRef,
|
|
21776
|
+
index: index2 !== null && index2 !== void 0 ? index2 : 0
|
|
21735
21777
|
});
|
|
21736
21778
|
return React__default.createElement("div", {
|
|
21737
21779
|
className: `${classPrefix$K}-slide`
|
|
@@ -22548,9 +22590,7 @@ const InfiniteScrollContent = (props) => {
|
|
|
22548
22590
|
};
|
|
22549
22591
|
function useInputHandleKeyDown({
|
|
22550
22592
|
onEnterPress,
|
|
22551
|
-
onKeyDown
|
|
22552
|
-
nativeInputRef,
|
|
22553
|
-
enterKeyHint
|
|
22593
|
+
onKeyDown
|
|
22554
22594
|
}) {
|
|
22555
22595
|
const handleKeydown = (e2) => {
|
|
22556
22596
|
if (onEnterPress && (e2.code === "Enter" || e2.keyCode === 13)) {
|
|
@@ -22558,15 +22598,6 @@ function useInputHandleKeyDown({
|
|
|
22558
22598
|
}
|
|
22559
22599
|
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e2);
|
|
22560
22600
|
};
|
|
22561
|
-
useIsomorphicLayoutEffect$3(() => {
|
|
22562
|
-
const ele = nativeInputRef.current;
|
|
22563
|
-
if (!enterKeyHint || !ele)
|
|
22564
|
-
return;
|
|
22565
|
-
ele.setAttribute("enterkeyhint", enterKeyHint);
|
|
22566
|
-
return () => {
|
|
22567
|
-
ele.removeAttribute("enterkeyhint");
|
|
22568
|
-
};
|
|
22569
|
-
}, [enterKeyHint]);
|
|
22570
22601
|
return handleKeydown;
|
|
22571
22602
|
}
|
|
22572
22603
|
const classPrefix$B = `adm-input`;
|
|
@@ -22587,9 +22618,7 @@ const Input = forwardRef((props, ref2) => {
|
|
|
22587
22618
|
const nativeInputRef = useRef(null);
|
|
22588
22619
|
const handleKeydown = useInputHandleKeyDown({
|
|
22589
22620
|
onEnterPress: mergedProps.onEnterPress,
|
|
22590
|
-
onKeyDown: mergedProps.onKeyDown
|
|
22591
|
-
nativeInputRef,
|
|
22592
|
-
enterKeyHint: mergedProps.enterKeyHint
|
|
22621
|
+
onKeyDown: mergedProps.onKeyDown
|
|
22593
22622
|
});
|
|
22594
22623
|
useImperativeHandle(ref2, () => ({
|
|
22595
22624
|
clear: () => {
|
|
@@ -23197,6 +23226,7 @@ const NumberKeyboard = (p) => {
|
|
|
23197
23226
|
};
|
|
23198
23227
|
const renderKey = (key, index2) => {
|
|
23199
23228
|
const isNumberKey = /^\d$/.test(key);
|
|
23229
|
+
const isBackspace = key === "BACKSPACE";
|
|
23200
23230
|
const className = classNames(`${classPrefix$x}-key`, {
|
|
23201
23231
|
[`${classPrefix$x}-key-number`]: isNumberKey,
|
|
23202
23232
|
[`${classPrefix$x}-key-sign`]: !isNumberKey && key,
|
|
@@ -23204,25 +23234,29 @@ const NumberKeyboard = (p) => {
|
|
|
23204
23234
|
});
|
|
23205
23235
|
const ariaProps = key ? {
|
|
23206
23236
|
role: "button",
|
|
23207
|
-
title: key,
|
|
23237
|
+
title: isBackspace ? locale.Input.clear : key,
|
|
23208
23238
|
tabIndex: -1
|
|
23209
23239
|
} : void 0;
|
|
23210
23240
|
return React__default.createElement("div", Object.assign({
|
|
23211
23241
|
key,
|
|
23212
23242
|
className,
|
|
23213
|
-
|
|
23243
|
+
// 仅为 backspace 绑定,支持长按快速删除
|
|
23244
|
+
onTouchStart: isBackspace ? () => {
|
|
23245
|
+
stopContinueClear();
|
|
23246
|
+
startContinueClear();
|
|
23247
|
+
} : void 0,
|
|
23248
|
+
onTouchEnd: isBackspace ? (e2) => {
|
|
23249
|
+
stopContinueClear();
|
|
23250
|
+
onKeyPress(e2, key);
|
|
23251
|
+
} : void 0,
|
|
23252
|
+
// <div role="button" title="1" onTouchEnd={e => {}}>1</div> 安卓上 talback 可读不可点
|
|
23253
|
+
// see https://ua-gilded-eef7f9.netlify.app/grid-button-bug.html
|
|
23254
|
+
// 所以还是绑定 click,通过 touchEnd 的 preventDefault 防重复触发
|
|
23255
|
+
onClick: (e2) => {
|
|
23214
23256
|
stopContinueClear();
|
|
23215
|
-
if (key === "BACKSPACE") {
|
|
23216
|
-
startContinueClear();
|
|
23217
|
-
}
|
|
23218
|
-
},
|
|
23219
|
-
onTouchEnd: (e2) => {
|
|
23220
23257
|
onKeyPress(e2, key);
|
|
23221
|
-
if (key === "BACKSPACE") {
|
|
23222
|
-
stopContinueClear();
|
|
23223
|
-
}
|
|
23224
23258
|
}
|
|
23225
|
-
}, ariaProps),
|
|
23259
|
+
}, ariaProps), isBackspace ? React__default.createElement(TextDeletionOutline, null) : key);
|
|
23226
23260
|
};
|
|
23227
23261
|
return React__default.createElement(Popup, {
|
|
23228
23262
|
visible,
|
|
@@ -23254,8 +23288,12 @@ const NumberKeyboard = (p) => {
|
|
|
23254
23288
|
startContinueClear();
|
|
23255
23289
|
},
|
|
23256
23290
|
onTouchEnd: (e2) => {
|
|
23291
|
+
stopContinueClear();
|
|
23257
23292
|
onKeyPress(e2, "BACKSPACE");
|
|
23293
|
+
},
|
|
23294
|
+
onClick: (e2) => {
|
|
23258
23295
|
stopContinueClear();
|
|
23296
|
+
onKeyPress(e2, "BACKSPACE");
|
|
23259
23297
|
},
|
|
23260
23298
|
onContextMenu: (e2) => {
|
|
23261
23299
|
e2.preventDefault();
|
|
@@ -23265,7 +23303,7 @@ const NumberKeyboard = (p) => {
|
|
|
23265
23303
|
tabIndex: -1
|
|
23266
23304
|
}, React__default.createElement(TextDeletionOutline, null)), React__default.createElement("div", {
|
|
23267
23305
|
className: `${classPrefix$x}-key ${classPrefix$x}-key-extra ${classPrefix$x}-key-ok`,
|
|
23268
|
-
|
|
23306
|
+
onClick: (e2) => onKeyPress(e2, "OK"),
|
|
23269
23307
|
role: "button",
|
|
23270
23308
|
tabIndex: -1,
|
|
23271
23309
|
"aria-label": confirmText
|
|
@@ -24102,7 +24140,7 @@ function findDOMNode(node) {
|
|
|
24102
24140
|
}
|
|
24103
24141
|
return null;
|
|
24104
24142
|
}
|
|
24105
|
-
var Context = /* @__PURE__ */ React$
|
|
24143
|
+
var Context = /* @__PURE__ */ React$3.createContext({});
|
|
24106
24144
|
var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
24107
24145
|
_inherits(DomWrapper2, _React$Component);
|
|
24108
24146
|
var _super = _createSuper(DomWrapper2);
|
|
@@ -24117,7 +24155,7 @@ var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
|
24117
24155
|
}
|
|
24118
24156
|
}]);
|
|
24119
24157
|
return DomWrapper2;
|
|
24120
|
-
}(React$
|
|
24158
|
+
}(React$3.Component);
|
|
24121
24159
|
var STATUS_NONE = "none";
|
|
24122
24160
|
var STATUS_APPEAR = "appear";
|
|
24123
24161
|
var STATUS_ENTER = "enter";
|
|
@@ -24152,9 +24190,9 @@ function getVendorPrefixes(domSupport, win) {
|
|
|
24152
24190
|
}
|
|
24153
24191
|
return prefixes2;
|
|
24154
24192
|
}
|
|
24155
|
-
var vendorPrefixes = getVendorPrefixes(canUseDom(), typeof window !== "undefined" ? window : {});
|
|
24193
|
+
var vendorPrefixes = getVendorPrefixes(canUseDom$2(), typeof window !== "undefined" ? window : {});
|
|
24156
24194
|
var style = {};
|
|
24157
|
-
if (canUseDom()) {
|
|
24195
|
+
if (canUseDom$2()) {
|
|
24158
24196
|
var _document$createEleme = document.createElement("div");
|
|
24159
24197
|
style = _document$createEleme.style;
|
|
24160
24198
|
}
|
|
@@ -24197,7 +24235,7 @@ const useDomMotionEvents = function(callback) {
|
|
|
24197
24235
|
var cacheElementRef = useRef();
|
|
24198
24236
|
var callbackRef = useRef(callback);
|
|
24199
24237
|
callbackRef.current = callback;
|
|
24200
|
-
var onInternalMotionEnd = React$
|
|
24238
|
+
var onInternalMotionEnd = React$3.useCallback(function(event) {
|
|
24201
24239
|
callbackRef.current(event);
|
|
24202
24240
|
}, []);
|
|
24203
24241
|
function removeMotionEvents(element) {
|
|
@@ -24216,14 +24254,14 @@ const useDomMotionEvents = function(callback) {
|
|
|
24216
24254
|
cacheElementRef.current = element;
|
|
24217
24255
|
}
|
|
24218
24256
|
}
|
|
24219
|
-
React$
|
|
24257
|
+
React$3.useEffect(function() {
|
|
24220
24258
|
return function() {
|
|
24221
24259
|
removeMotionEvents(cacheElementRef.current);
|
|
24222
24260
|
};
|
|
24223
24261
|
}, []);
|
|
24224
24262
|
return [patchMotionEvents, removeMotionEvents];
|
|
24225
24263
|
};
|
|
24226
|
-
var useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect$
|
|
24264
|
+
var useIsomorphicLayoutEffect = canUseDom$2() ? useLayoutEffect$3 : useEffect;
|
|
24227
24265
|
var raf = function raf2(callback) {
|
|
24228
24266
|
return +setTimeout(callback, 16);
|
|
24229
24267
|
};
|
|
@@ -24272,7 +24310,7 @@ wrapperRaf.cancel = function(id) {
|
|
|
24272
24310
|
};
|
|
24273
24311
|
}
|
|
24274
24312
|
const useNextFrame = function() {
|
|
24275
|
-
var nextFrameRef = React$
|
|
24313
|
+
var nextFrameRef = React$3.useRef(null);
|
|
24276
24314
|
function cancelNextFrame() {
|
|
24277
24315
|
wrapperRaf.cancel(nextFrameRef.current);
|
|
24278
24316
|
}
|
|
@@ -24292,7 +24330,7 @@ const useNextFrame = function() {
|
|
|
24292
24330
|
});
|
|
24293
24331
|
nextFrameRef.current = nextFrameId;
|
|
24294
24332
|
}
|
|
24295
|
-
React$
|
|
24333
|
+
React$3.useEffect(function() {
|
|
24296
24334
|
return function() {
|
|
24297
24335
|
cancelNextFrame();
|
|
24298
24336
|
};
|
|
@@ -24336,7 +24374,7 @@ const useStepQueue = function(status, prepareOnly, callback) {
|
|
|
24336
24374
|
}
|
|
24337
24375
|
}
|
|
24338
24376
|
}, [status, step]);
|
|
24339
|
-
React$
|
|
24377
|
+
React$3.useEffect(function() {
|
|
24340
24378
|
return function() {
|
|
24341
24379
|
cancelNextFrame();
|
|
24342
24380
|
};
|
|
@@ -24390,7 +24428,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24390
24428
|
return {};
|
|
24391
24429
|
}
|
|
24392
24430
|
};
|
|
24393
|
-
var eventHandlers = React$
|
|
24431
|
+
var eventHandlers = React$3.useMemo(function() {
|
|
24394
24432
|
return getEventHandlers(status);
|
|
24395
24433
|
}, [status]);
|
|
24396
24434
|
var _useStepQueue = useStepQueue(status, !supportMotion, function(newStep) {
|
|
@@ -24461,7 +24499,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
24461
24499
|
clearTimeout(deadlineRef.current);
|
|
24462
24500
|
};
|
|
24463
24501
|
}, []);
|
|
24464
|
-
var firstMountChangeRef = React$
|
|
24502
|
+
var firstMountChangeRef = React$3.useRef(false);
|
|
24465
24503
|
useEffect(function() {
|
|
24466
24504
|
if (asyncVisible) {
|
|
24467
24505
|
firstMountChangeRef.current = true;
|
|
@@ -24489,9 +24527,9 @@ function genCSSMotion(config2) {
|
|
|
24489
24527
|
function isSupportTransition(props, contextMotion) {
|
|
24490
24528
|
return !!(props.motionName && transitionSupport && contextMotion !== false);
|
|
24491
24529
|
}
|
|
24492
|
-
var CSSMotion2 = /* @__PURE__ */ React$
|
|
24530
|
+
var CSSMotion2 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24493
24531
|
var _props$visible = props.visible, visible = _props$visible === void 0 ? true : _props$visible, _props$removeOnLeave = props.removeOnLeave, removeOnLeave = _props$removeOnLeave === void 0 ? true : _props$removeOnLeave, forceRender = props.forceRender, children = props.children, motionName = props.motionName, leavedClassName = props.leavedClassName, eventProps = props.eventProps;
|
|
24494
|
-
var _React$useContext = React$
|
|
24532
|
+
var _React$useContext = React$3.useContext(Context), contextMotion = _React$useContext.motion;
|
|
24495
24533
|
var supportMotion = isSupportTransition(props, contextMotion);
|
|
24496
24534
|
var nodeRef = useRef();
|
|
24497
24535
|
var wrapperNodeRef = useRef();
|
|
@@ -24503,11 +24541,11 @@ function genCSSMotion(config2) {
|
|
|
24503
24541
|
}
|
|
24504
24542
|
}
|
|
24505
24543
|
var _useStatus = useStatus(supportMotion, visible, getDomElement, props), _useStatus2 = _slicedToArray(_useStatus, 4), status = _useStatus2[0], statusStep = _useStatus2[1], statusStyle = _useStatus2[2], mergedVisible = _useStatus2[3];
|
|
24506
|
-
var renderedRef = React$
|
|
24544
|
+
var renderedRef = React$3.useRef(mergedVisible);
|
|
24507
24545
|
if (mergedVisible) {
|
|
24508
24546
|
renderedRef.current = true;
|
|
24509
24547
|
}
|
|
24510
|
-
var setNodeRef = React$
|
|
24548
|
+
var setNodeRef = React$3.useCallback(function(node) {
|
|
24511
24549
|
nodeRef.current = node;
|
|
24512
24550
|
fillRef$1(ref2, node);
|
|
24513
24551
|
}, [ref2]);
|
|
@@ -24549,15 +24587,15 @@ function genCSSMotion(config2) {
|
|
|
24549
24587
|
style: statusStyle
|
|
24550
24588
|
}), setNodeRef);
|
|
24551
24589
|
}
|
|
24552
|
-
if (/* @__PURE__ */ React$
|
|
24590
|
+
if (/* @__PURE__ */ React$3.isValidElement(motionChildren) && supportRef$1(motionChildren)) {
|
|
24553
24591
|
var _ref = motionChildren, originNodeRef = _ref.ref;
|
|
24554
24592
|
if (!originNodeRef) {
|
|
24555
|
-
motionChildren = /* @__PURE__ */ React$
|
|
24593
|
+
motionChildren = /* @__PURE__ */ React$3.cloneElement(motionChildren, {
|
|
24556
24594
|
ref: setNodeRef
|
|
24557
24595
|
});
|
|
24558
24596
|
}
|
|
24559
24597
|
}
|
|
24560
|
-
return /* @__PURE__ */ React$
|
|
24598
|
+
return /* @__PURE__ */ React$3.createElement(DomWrapper, {
|
|
24561
24599
|
ref: wrapperNodeRef
|
|
24562
24600
|
}, motionChildren);
|
|
24563
24601
|
});
|
|
@@ -24691,17 +24729,17 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24691
24729
|
var _this2 = this;
|
|
24692
24730
|
var keyEntities = this.state.keyEntities;
|
|
24693
24731
|
var _this$props = this.props, component = _this$props.component, children = _this$props.children, _onVisibleChanged = _this$props.onVisibleChanged, onAllRemoved = _this$props.onAllRemoved, restProps = _objectWithoutProperties(_this$props, _excluded$1);
|
|
24694
|
-
var Component = component || React$
|
|
24732
|
+
var Component = component || React$3.Fragment;
|
|
24695
24733
|
var motionProps = {};
|
|
24696
24734
|
MOTION_PROP_NAMES.forEach(function(prop) {
|
|
24697
24735
|
motionProps[prop] = restProps[prop];
|
|
24698
24736
|
delete restProps[prop];
|
|
24699
24737
|
});
|
|
24700
24738
|
delete restProps.keys;
|
|
24701
|
-
return /* @__PURE__ */ React$
|
|
24739
|
+
return /* @__PURE__ */ React$3.createElement(Component, restProps, keyEntities.map(function(_ref2, index2) {
|
|
24702
24740
|
var status = _ref2.status, eventProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
24703
24741
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
|
24704
|
-
return /* @__PURE__ */ React$
|
|
24742
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion$1, _extends$1({}, motionProps, {
|
|
24705
24743
|
key: eventProps.key,
|
|
24706
24744
|
visible,
|
|
24707
24745
|
eventProps,
|
|
@@ -24745,7 +24783,7 @@ function genCSSMotionList(transitionSupport) {
|
|
|
24745
24783
|
}
|
|
24746
24784
|
}]);
|
|
24747
24785
|
return CSSMotionList2;
|
|
24748
|
-
}(React$
|
|
24786
|
+
}(React$3.Component);
|
|
24749
24787
|
_defineProperty(CSSMotionList, "defaultProps", {
|
|
24750
24788
|
component: "div"
|
|
24751
24789
|
});
|
|
@@ -24764,17 +24802,17 @@ var toPX = function toPX2(value) {
|
|
|
24764
24802
|
};
|
|
24765
24803
|
function MotionThumb(props) {
|
|
24766
24804
|
var prefixCls = props.prefixCls, containerRef = props.containerRef, value = props.value, getValueIndex = props.getValueIndex, motionName = props.motionName, onMotionStart = props.onMotionStart, onMotionEnd = props.onMotionEnd, direction = props.direction;
|
|
24767
|
-
var thumbRef = React$
|
|
24768
|
-
var _React$useState = React$
|
|
24805
|
+
var thumbRef = React$3.useRef(null);
|
|
24806
|
+
var _React$useState = React$3.useState(value), _React$useState2 = _slicedToArray(_React$useState, 2), prevValue = _React$useState2[0], setPrevValue = _React$useState2[1];
|
|
24769
24807
|
var findValueElement = function findValueElement2(val) {
|
|
24770
24808
|
var _containerRef$current;
|
|
24771
24809
|
var index2 = getValueIndex(val);
|
|
24772
24810
|
var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelectorAll(".".concat(prefixCls, "-item"))[index2];
|
|
24773
24811
|
return (ele === null || ele === void 0 ? void 0 : ele.offsetParent) && ele;
|
|
24774
24812
|
};
|
|
24775
|
-
var _React$useState3 = React$
|
|
24776
|
-
var _React$useState5 = React$
|
|
24777
|
-
useLayoutEffect(function() {
|
|
24813
|
+
var _React$useState3 = React$3.useState(null), _React$useState4 = _slicedToArray(_React$useState3, 2), prevStyle = _React$useState4[0], setPrevStyle = _React$useState4[1];
|
|
24814
|
+
var _React$useState5 = React$3.useState(null), _React$useState6 = _slicedToArray(_React$useState5, 2), nextStyle = _React$useState6[0], setNextStyle = _React$useState6[1];
|
|
24815
|
+
useLayoutEffect$2(function() {
|
|
24778
24816
|
if (prevValue !== value) {
|
|
24779
24817
|
var prev = findValueElement(prevValue);
|
|
24780
24818
|
var next = findValueElement(value);
|
|
@@ -24790,10 +24828,10 @@ function MotionThumb(props) {
|
|
|
24790
24828
|
}
|
|
24791
24829
|
}
|
|
24792
24830
|
}, [value]);
|
|
24793
|
-
var thumbStart = React$
|
|
24831
|
+
var thumbStart = React$3.useMemo(function() {
|
|
24794
24832
|
return direction === "rtl" ? toPX(-(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.right)) : toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.left);
|
|
24795
24833
|
}, [direction, prevStyle]);
|
|
24796
|
-
var thumbActive = React$
|
|
24834
|
+
var thumbActive = React$3.useMemo(function() {
|
|
24797
24835
|
return direction === "rtl" ? toPX(-(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.right)) : toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.left);
|
|
24798
24836
|
}, [direction, nextStyle]);
|
|
24799
24837
|
var onAppearStart = function onAppearStart2() {
|
|
@@ -24816,7 +24854,7 @@ function MotionThumb(props) {
|
|
|
24816
24854
|
if (!prevStyle || !nextStyle) {
|
|
24817
24855
|
return null;
|
|
24818
24856
|
}
|
|
24819
|
-
return /* @__PURE__ */ React$
|
|
24857
|
+
return /* @__PURE__ */ React$3.createElement(CSSMotion, {
|
|
24820
24858
|
visible: true,
|
|
24821
24859
|
motionName,
|
|
24822
24860
|
motionAppear: true,
|
|
@@ -24836,7 +24874,7 @@ function MotionThumb(props) {
|
|
|
24836
24874
|
style: mergedStyle,
|
|
24837
24875
|
className: classNames("".concat(prefixCls, "-thumb"), motionClassName)
|
|
24838
24876
|
};
|
|
24839
|
-
return /* @__PURE__ */ React$
|
|
24877
|
+
return /* @__PURE__ */ React$3.createElement("div", motionProps);
|
|
24840
24878
|
});
|
|
24841
24879
|
}
|
|
24842
24880
|
var _excluded = ["prefixCls", "direction", "options", "disabled", "defaultValue", "value", "onChange", "className", "motionName"];
|
|
@@ -24872,36 +24910,36 @@ var InternalSegmentedOption = function InternalSegmentedOption2(_ref) {
|
|
|
24872
24910
|
}
|
|
24873
24911
|
onChange(event, value);
|
|
24874
24912
|
};
|
|
24875
|
-
return /* @__PURE__ */ React$
|
|
24913
|
+
return /* @__PURE__ */ React$3.createElement("label", {
|
|
24876
24914
|
className: classNames(className, _defineProperty({}, "".concat(prefixCls, "-item-disabled"), disabled))
|
|
24877
|
-
}, /* @__PURE__ */ React$
|
|
24915
|
+
}, /* @__PURE__ */ React$3.createElement("input", {
|
|
24878
24916
|
className: "".concat(prefixCls, "-item-input"),
|
|
24879
24917
|
type: "radio",
|
|
24880
24918
|
disabled,
|
|
24881
24919
|
checked,
|
|
24882
24920
|
onChange: handleChange
|
|
24883
|
-
}), /* @__PURE__ */ React$
|
|
24921
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24884
24922
|
className: "".concat(prefixCls, "-item-label"),
|
|
24885
24923
|
title,
|
|
24886
24924
|
role: "option",
|
|
24887
24925
|
"aria-selected": checked
|
|
24888
24926
|
}, label));
|
|
24889
24927
|
};
|
|
24890
|
-
var Segmented$1 = /* @__PURE__ */ React$
|
|
24928
|
+
var Segmented$1 = /* @__PURE__ */ React$3.forwardRef(function(props, ref2) {
|
|
24891
24929
|
var _segmentedOptions$, _classNames2;
|
|
24892
24930
|
var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-segmented" : _props$prefixCls, direction = props.direction, _props$options = props.options, options = _props$options === void 0 ? [] : _props$options, disabled = props.disabled, defaultValue = props.defaultValue, value = props.value, onChange = props.onChange, _props$className = props.className, className = _props$className === void 0 ? "" : _props$className, _props$motionName = props.motionName, motionName = _props$motionName === void 0 ? "thumb-motion" : _props$motionName, restProps = _objectWithoutProperties(props, _excluded);
|
|
24893
|
-
var containerRef = React$
|
|
24894
|
-
var mergedRef = React$
|
|
24931
|
+
var containerRef = React$3.useRef(null);
|
|
24932
|
+
var mergedRef = React$3.useMemo(function() {
|
|
24895
24933
|
return composeRef$1(containerRef, ref2);
|
|
24896
24934
|
}, [containerRef, ref2]);
|
|
24897
|
-
var segmentedOptions = React$
|
|
24935
|
+
var segmentedOptions = React$3.useMemo(function() {
|
|
24898
24936
|
return normalizeOptions(options);
|
|
24899
24937
|
}, [options]);
|
|
24900
24938
|
var _useMergedState = useMergedState((_segmentedOptions$ = segmentedOptions[0]) === null || _segmentedOptions$ === void 0 ? void 0 : _segmentedOptions$.value, {
|
|
24901
24939
|
value,
|
|
24902
24940
|
defaultValue
|
|
24903
24941
|
}), _useMergedState2 = _slicedToArray(_useMergedState, 2), rawValue = _useMergedState2[0], setRawValue = _useMergedState2[1];
|
|
24904
|
-
var _React$useState = React$
|
|
24942
|
+
var _React$useState = React$3.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), thumbShow = _React$useState2[0], setThumbShow = _React$useState2[1];
|
|
24905
24943
|
var handleChange = function handleChange2(event, val) {
|
|
24906
24944
|
if (disabled) {
|
|
24907
24945
|
return;
|
|
@@ -24910,15 +24948,15 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24910
24948
|
onChange === null || onChange === void 0 ? void 0 : onChange(val);
|
|
24911
24949
|
};
|
|
24912
24950
|
var divProps = omit(restProps, ["children"]);
|
|
24913
|
-
return /* @__PURE__ */ React$
|
|
24951
|
+
return /* @__PURE__ */ React$3.createElement("div", _extends$1({
|
|
24914
24952
|
role: "listbox",
|
|
24915
24953
|
"aria-label": "segmented control"
|
|
24916
24954
|
}, divProps, {
|
|
24917
24955
|
className: classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === "rtl"), _defineProperty(_classNames2, "".concat(prefixCls, "-disabled"), disabled), _classNames2), className),
|
|
24918
24956
|
ref: mergedRef
|
|
24919
|
-
}), /* @__PURE__ */ React$
|
|
24957
|
+
}), /* @__PURE__ */ React$3.createElement("div", {
|
|
24920
24958
|
className: "".concat(prefixCls, "-group")
|
|
24921
|
-
}, /* @__PURE__ */ React$
|
|
24959
|
+
}, /* @__PURE__ */ React$3.createElement(MotionThumb, {
|
|
24922
24960
|
prefixCls,
|
|
24923
24961
|
value: rawValue,
|
|
24924
24962
|
containerRef,
|
|
@@ -24936,7 +24974,7 @@ var Segmented$1 = /* @__PURE__ */ React$2.forwardRef(function(props, ref2) {
|
|
|
24936
24974
|
setThumbShow(false);
|
|
24937
24975
|
}
|
|
24938
24976
|
}), segmentedOptions.map(function(segmentedOption) {
|
|
24939
|
-
return /* @__PURE__ */ React$
|
|
24977
|
+
return /* @__PURE__ */ React$3.createElement(InternalSegmentedOption, _extends$1({}, segmentedOption, {
|
|
24940
24978
|
key: segmentedOption.value,
|
|
24941
24979
|
prefixCls,
|
|
24942
24980
|
className: classNames(segmentedOption.className, "".concat(prefixCls, "-item"), _defineProperty({}, "".concat(prefixCls, "-item-selected"), segmentedOption.value === rawValue && !thumbShow)),
|
|
@@ -24954,7 +24992,7 @@ function isSegmentedLabeledOptionWithIcon(option) {
|
|
|
24954
24992
|
return typeof option === "object" && !!(option === null || option === void 0 ? void 0 : option.icon);
|
|
24955
24993
|
}
|
|
24956
24994
|
const classPrefix$l = `adm-segmented`;
|
|
24957
|
-
const Segmented = React$
|
|
24995
|
+
const Segmented = React$3.forwardRef((props, ref2) => {
|
|
24958
24996
|
const {
|
|
24959
24997
|
prefixCls: customizePrefixCls,
|
|
24960
24998
|
className,
|
|
@@ -24964,21 +25002,21 @@ const Segmented = React$2.forwardRef((props, ref2) => {
|
|
|
24964
25002
|
props,
|
|
24965
25003
|
["prefixCls", "className", "block", "options"]
|
|
24966
25004
|
);
|
|
24967
|
-
const extendedOptions = React$
|
|
25005
|
+
const extendedOptions = React$3.useMemo(() => options.map((option) => {
|
|
24968
25006
|
if (isSegmentedLabeledOptionWithIcon(option)) {
|
|
24969
25007
|
const {
|
|
24970
25008
|
icon,
|
|
24971
25009
|
label
|
|
24972
25010
|
} = option, restOption = __rest(option, ["icon", "label"]);
|
|
24973
25011
|
return Object.assign(Object.assign({}, restOption), {
|
|
24974
|
-
label: React$
|
|
25012
|
+
label: React$3.createElement(React$3.Fragment, null, React$3.createElement("span", {
|
|
24975
25013
|
className: `${classPrefix$l}-item-icon`
|
|
24976
|
-
}, icon), label && React$
|
|
25014
|
+
}, icon), label && React$3.createElement("span", null, label))
|
|
24977
25015
|
});
|
|
24978
25016
|
}
|
|
24979
25017
|
return option;
|
|
24980
25018
|
}), [options, classPrefix$l]);
|
|
24981
|
-
return withNativeProps(props, React$
|
|
25019
|
+
return withNativeProps(props, React$3.createElement(TypedSegmented, Object.assign({}, restProps, {
|
|
24982
25020
|
className: classNames(className, {
|
|
24983
25021
|
[`${classPrefix$l}-block`]: block
|
|
24984
25022
|
}),
|
|
@@ -26335,12 +26373,31 @@ const colorRecord$1 = {
|
|
|
26335
26373
|
warning: "var(--adm-color-warning)",
|
|
26336
26374
|
danger: "var(--adm-color-danger)"
|
|
26337
26375
|
};
|
|
26338
|
-
|
|
26339
|
-
|
|
26340
|
-
|
|
26341
|
-
|
|
26342
|
-
|
|
26343
|
-
|
|
26376
|
+
var toArray$1 = {};
|
|
26377
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
|
26378
|
+
Object.defineProperty(toArray$1, "__esModule", {
|
|
26379
|
+
value: true
|
|
26380
|
+
});
|
|
26381
|
+
var _default = toArray$1.default = toArray;
|
|
26382
|
+
var _isFragment = _interopRequireDefault(isFragment$1);
|
|
26383
|
+
var _react = _interopRequireDefault(React__default);
|
|
26384
|
+
function toArray(children) {
|
|
26385
|
+
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
26386
|
+
var ret = [];
|
|
26387
|
+
_react.default.Children.forEach(children, function(child) {
|
|
26388
|
+
if ((child === void 0 || child === null) && !option.keepEmpty) {
|
|
26389
|
+
return;
|
|
26390
|
+
}
|
|
26391
|
+
if (Array.isArray(child)) {
|
|
26392
|
+
ret = ret.concat(toArray(child));
|
|
26393
|
+
} else if ((0, _isFragment.default)(child) && child.props) {
|
|
26394
|
+
ret = ret.concat(toArray(child.props.children, option));
|
|
26395
|
+
} else {
|
|
26396
|
+
ret.push(child);
|
|
26397
|
+
}
|
|
26398
|
+
});
|
|
26399
|
+
return ret;
|
|
26400
|
+
}
|
|
26344
26401
|
function useRefState(initialState) {
|
|
26345
26402
|
const [state, setState] = useState(initialState);
|
|
26346
26403
|
const ref2 = useRef(state);
|
|
@@ -26368,6 +26425,12 @@ function mergeFuncProps(p1, p2) {
|
|
|
26368
26425
|
});
|
|
26369
26426
|
return res;
|
|
26370
26427
|
}
|
|
26428
|
+
const SwiperItem = (props) => {
|
|
26429
|
+
return withNativeProps(props, React__default.createElement("div", {
|
|
26430
|
+
className: "adm-swiper-item",
|
|
26431
|
+
onClick: props.onClick
|
|
26432
|
+
}, props.children));
|
|
26433
|
+
};
|
|
26371
26434
|
const classPrefix$a = `adm-swiper`;
|
|
26372
26435
|
const eventToPropRecord = {
|
|
26373
26436
|
"mousedown": "onMouseDown",
|
|
@@ -26412,15 +26475,16 @@ const Swiper = forwardRef(staged_1((p, ref2) => {
|
|
|
26412
26475
|
if (typeof children === "function") {
|
|
26413
26476
|
renderChildren2 = children;
|
|
26414
26477
|
} else {
|
|
26415
|
-
|
|
26478
|
+
const childrenArray = _default(children);
|
|
26479
|
+
validChildren2 = childrenArray.filter((child) => {
|
|
26416
26480
|
if (!React__default.isValidElement(child))
|
|
26417
26481
|
return null;
|
|
26418
26482
|
if (child.type !== SwiperItem) {
|
|
26419
26483
|
devWarning("Swiper", "The children of `Swiper` must be `Swiper.Item` components.");
|
|
26420
|
-
return
|
|
26484
|
+
return false;
|
|
26421
26485
|
}
|
|
26422
26486
|
count2++;
|
|
26423
|
-
return
|
|
26487
|
+
return true;
|
|
26424
26488
|
});
|
|
26425
26489
|
}
|
|
26426
26490
|
return {
|
|
@@ -26601,7 +26665,7 @@ const Swiper = forwardRef(staged_1((p, ref2) => {
|
|
|
26601
26665
|
window.clearTimeout(timeoutRef.current);
|
|
26602
26666
|
};
|
|
26603
26667
|
}, [autoplay, autoplayInterval, dragging, mergedTotal]);
|
|
26604
|
-
function renderItem(index2, child) {
|
|
26668
|
+
function renderItem(index2, child, key) {
|
|
26605
26669
|
let itemStyle = {};
|
|
26606
26670
|
if (loop2) {
|
|
26607
26671
|
itemStyle = {
|
|
@@ -26620,10 +26684,10 @@ const Swiper = forwardRef(staged_1((p, ref2) => {
|
|
|
26620
26684
|
[`${classPrefix$a}-slide-active`]: current === index2
|
|
26621
26685
|
}),
|
|
26622
26686
|
style: itemStyle,
|
|
26623
|
-
key: index2
|
|
26687
|
+
key: key !== null && key !== void 0 ? key : index2
|
|
26624
26688
|
}, child);
|
|
26625
26689
|
}
|
|
26626
|
-
|
|
26690
|
+
const renderStableItems = () => {
|
|
26627
26691
|
if (renderChildren && total) {
|
|
26628
26692
|
const offsetCount = 2;
|
|
26629
26693
|
const startIndex = Math.max(current - offsetCount, 0);
|
|
@@ -26639,9 +26703,16 @@ const Swiper = forwardRef(staged_1((p, ref2) => {
|
|
|
26639
26703
|
}
|
|
26640
26704
|
}), items);
|
|
26641
26705
|
}
|
|
26642
|
-
|
|
26643
|
-
return
|
|
26644
|
-
|
|
26706
|
+
if (validChildren) {
|
|
26707
|
+
return validChildren.map((child, index2) => {
|
|
26708
|
+
var _a;
|
|
26709
|
+
return renderItem(index2, child, (_a = child === null || child === void 0 ? void 0 : child.key) !== null && _a !== void 0 ? _a : index2);
|
|
26710
|
+
});
|
|
26711
|
+
}
|
|
26712
|
+
return null;
|
|
26713
|
+
};
|
|
26714
|
+
function renderItems() {
|
|
26715
|
+
return renderStableItems();
|
|
26645
26716
|
}
|
|
26646
26717
|
function renderTrackInner() {
|
|
26647
26718
|
if (loop2) {
|
|
@@ -26929,9 +27000,7 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
26929
27000
|
const hiddenTextAreaRef = useRef(null);
|
|
26930
27001
|
const handleKeydown = useInputHandleKeyDown({
|
|
26931
27002
|
onEnterPress: props.onEnterPress,
|
|
26932
|
-
onKeyDown: props.onKeyDown
|
|
26933
|
-
nativeInputRef: nativeTextAreaRef,
|
|
26934
|
-
enterKeyHint: props.enterKeyHint
|
|
27003
|
+
onKeyDown: props.onKeyDown
|
|
26935
27004
|
});
|
|
26936
27005
|
useImperativeHandle(ref2, () => ({
|
|
26937
27006
|
clear: () => {
|
|
@@ -27030,7 +27099,8 @@ const TextArea = forwardRef((p, ref2) => {
|
|
|
27030
27099
|
onFocus: props.onFocus,
|
|
27031
27100
|
onBlur: props.onBlur,
|
|
27032
27101
|
onClick: props.onClick,
|
|
27033
|
-
onKeyDown: handleKeydown
|
|
27102
|
+
onKeyDown: handleKeydown,
|
|
27103
|
+
enterKeyHint: props.enterKeyHint
|
|
27034
27104
|
}), count, autoSize && React__default.createElement("textarea", {
|
|
27035
27105
|
ref: hiddenTextAreaRef,
|
|
27036
27106
|
className: `${classPrefix$6}-element ${classPrefix$6}-element-hidden`,
|