antd-mobile 0.0.0-dev-626cbf51f → 0.0.0-dev.fc623d614
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/README.md +10 -8
- package/2x/cjs/components/action-sheet/action-sheet.css +22 -7
- package/2x/cjs/components/action-sheet/action-sheet.js +8 -16
- package/2x/cjs/components/badge/badge.d.ts +1 -1
- package/2x/cjs/components/badge/badge.js +3 -1
- package/2x/cjs/components/badge/index.d.ts +1 -1
- package/2x/cjs/components/button/button.d.ts +6 -4
- package/2x/cjs/components/button/button.js +5 -1
- package/2x/cjs/components/calendar/calendar.css +4 -0
- package/2x/cjs/components/calendar/calendar.d.ts +1 -0
- package/2x/cjs/components/calendar/calendar.js +2 -2
- package/2x/cjs/components/dialog/dialog.d.ts +4 -1
- package/2x/cjs/components/dialog/dialog.js +24 -13
- package/2x/cjs/components/dropdown/dropdown.css +1 -1
- package/2x/cjs/components/error-block/images/busy.d.ts +1 -0
- package/2x/cjs/components/error-block/images/default.d.ts +1 -0
- package/2x/cjs/components/error-block/images/disconnected.d.ts +1 -0
- package/2x/cjs/components/error-block/images/empty.d.ts +1 -0
- package/2x/cjs/components/form/form-item.js +1 -4
- package/2x/cjs/components/image/broken-image-icon.d.ts +1 -0
- package/2x/cjs/components/image/broken-image-icon.js +21 -0
- package/2x/cjs/components/image/image-icon.d.ts +1 -0
- package/2x/cjs/components/image/image-icon.js +21 -0
- package/2x/cjs/components/image/image.css +4 -2
- package/2x/cjs/components/image/image.d.ts +2 -1
- package/2x/cjs/components/image/image.js +10 -6
- package/2x/cjs/components/image-uploader/image-uploader.js +1 -4
- package/2x/cjs/components/image-viewer/image-viewer.css +7 -1
- package/2x/cjs/components/image-viewer/image-viewer.d.ts +5 -2
- package/2x/cjs/components/image-viewer/image-viewer.js +24 -4
- package/2x/cjs/components/image-viewer/index.d.ts +2 -1
- package/2x/cjs/components/index-bar/index-bar.d.ts +2 -0
- package/2x/cjs/components/index-bar/index-bar.js +6 -0
- package/2x/cjs/components/index-bar/index.d.ts +1 -0
- package/2x/cjs/components/infinite-scroll/infinite-scroll.js +8 -6
- package/2x/cjs/components/mask/mask.js +9 -7
- package/2x/cjs/components/modal/modal.d.ts +4 -1
- package/2x/cjs/components/modal/modal.js +24 -11
- package/2x/cjs/components/popover/popover.css +1 -0
- package/2x/cjs/components/popup/popup.d.ts +2 -1
- package/2x/cjs/components/search-bar/search-bar.d.ts +1 -1
- package/2x/cjs/components/search-bar/search-bar.js +5 -8
- package/2x/cjs/components/side-bar/side-bar.d.ts +2 -1
- package/2x/cjs/components/swiper/index.d.ts +1 -1
- package/2x/cjs/components/swiper/swiper.d.ts +1 -1
- package/2x/cjs/components/tabs/tabs.css +4 -3
- package/2x/cjs/components/tabs/tabs.d.ts +1 -1
- package/2x/cjs/components/text-area/text-area.js +2 -1
- package/2x/cjs/components/toast/toast.css +1 -1
- package/2x/cjs/components/toast/toast.d.ts +2 -1
- package/2x/cjs/locales/fr-FR.d.ts +106 -0
- package/2x/cjs/locales/fr-FR.js +119 -0
- package/2x/cjs/utils/get-scroll-parent.js +1 -1
- package/2x/cjs/utils/render.js +14 -2
- package/2x/cjs/utils/use-inner-visible.d.ts +1 -0
- package/2x/cjs/utils/use-inner-visible.js +18 -0
- package/2x/es/components/action-sheet/action-sheet.css +22 -7
- package/2x/es/components/action-sheet/action-sheet.js +8 -15
- package/2x/es/components/badge/badge.d.ts +1 -1
- package/2x/es/components/badge/badge.js +1 -1
- package/2x/es/components/badge/index.d.ts +1 -1
- package/2x/es/components/button/button.d.ts +6 -4
- package/2x/es/components/button/button.js +5 -1
- package/2x/es/components/calendar/calendar.css +4 -0
- package/2x/es/components/calendar/calendar.d.ts +1 -0
- package/2x/es/components/calendar/calendar.js +2 -2
- package/2x/es/components/dialog/dialog.d.ts +4 -1
- package/2x/es/components/dialog/dialog.js +23 -14
- package/2x/es/components/dropdown/dropdown.css +1 -1
- package/2x/es/components/error-block/images/busy.d.ts +1 -0
- package/2x/es/components/error-block/images/default.d.ts +1 -0
- package/2x/es/components/error-block/images/disconnected.d.ts +1 -0
- package/2x/es/components/error-block/images/empty.d.ts +1 -0
- package/2x/es/components/form/form-item.js +1 -4
- package/2x/es/components/image/broken-image-icon.d.ts +1 -0
- package/2x/es/components/image/broken-image-icon.js +9 -0
- package/2x/es/components/image/image-icon.d.ts +1 -0
- package/2x/es/components/image/image-icon.js +9 -0
- package/2x/es/components/image/image.css +4 -2
- package/2x/es/components/image/image.d.ts +2 -1
- package/2x/es/components/image/image.js +8 -5
- package/2x/es/components/image-uploader/image-uploader.js +2 -5
- package/2x/es/components/image-viewer/image-viewer.css +7 -1
- package/2x/es/components/image-viewer/image-viewer.d.ts +5 -2
- package/2x/es/components/image-viewer/image-viewer.js +24 -5
- package/2x/es/components/image-viewer/index.d.ts +2 -1
- package/2x/es/components/index-bar/index-bar.d.ts +2 -0
- package/2x/es/components/index-bar/index-bar.js +6 -0
- package/2x/es/components/index-bar/index.d.ts +1 -0
- package/2x/es/components/infinite-scroll/infinite-scroll.js +8 -6
- package/2x/es/components/mask/mask.js +10 -8
- package/2x/es/components/modal/modal.d.ts +4 -1
- package/2x/es/components/modal/modal.js +23 -12
- package/2x/es/components/popover/popover.css +1 -0
- package/2x/es/components/popup/popup.d.ts +2 -1
- package/2x/es/components/search-bar/search-bar.d.ts +1 -1
- package/2x/es/components/search-bar/search-bar.js +5 -8
- package/2x/es/components/side-bar/side-bar.d.ts +2 -1
- package/2x/es/components/swiper/index.d.ts +1 -1
- package/2x/es/components/swiper/swiper.d.ts +1 -1
- package/2x/es/components/tabs/tabs.css +4 -3
- package/2x/es/components/tabs/tabs.d.ts +1 -1
- package/2x/es/components/text-area/text-area.js +2 -1
- package/2x/es/components/toast/toast.css +1 -1
- package/2x/es/components/toast/toast.d.ts +2 -1
- package/2x/es/locales/fr-FR.d.ts +106 -0
- package/2x/es/locales/fr-FR.js +109 -0
- package/2x/es/utils/get-scroll-parent.js +1 -1
- package/2x/es/utils/render.js +14 -2
- package/2x/es/utils/use-inner-visible.d.ts +1 -0
- package/2x/es/utils/use-inner-visible.js +9 -0
- package/2x/package.json +6 -11
- package/README.md +10 -8
- package/bundle/antd-mobile.cjs.js +293 -229
- package/bundle/antd-mobile.es.js +295 -231
- package/bundle/style.css +110 -86
- package/cjs/components/action-sheet/action-sheet.css +19 -7
- package/cjs/components/action-sheet/action-sheet.js +8 -16
- package/cjs/components/badge/badge.d.ts +1 -1
- package/cjs/components/badge/badge.js +3 -1
- package/cjs/components/badge/index.d.ts +1 -1
- package/cjs/components/button/button.d.ts +6 -4
- package/cjs/components/button/button.js +5 -1
- package/cjs/components/calendar/calendar.css +3 -0
- package/cjs/components/calendar/calendar.d.ts +1 -0
- package/cjs/components/calendar/calendar.js +2 -2
- package/cjs/components/dialog/dialog.d.ts +4 -1
- package/cjs/components/dialog/dialog.js +24 -13
- package/cjs/components/dropdown/dropdown.css +1 -1
- package/cjs/components/error-block/images/busy.d.ts +1 -0
- package/cjs/components/error-block/images/default.d.ts +1 -0
- package/cjs/components/error-block/images/disconnected.d.ts +1 -0
- package/cjs/components/error-block/images/empty.d.ts +1 -0
- package/cjs/components/form/form-item.js +1 -4
- package/cjs/components/image/broken-image-icon.d.ts +1 -0
- package/cjs/components/image/broken-image-icon.js +21 -0
- package/cjs/components/image/image-icon.d.ts +1 -0
- package/cjs/components/image/image-icon.js +21 -0
- package/cjs/components/image/image.css +4 -2
- package/cjs/components/image/image.d.ts +2 -1
- package/cjs/components/image/image.js +10 -6
- package/cjs/components/image-uploader/image-uploader.js +1 -4
- package/cjs/components/image-viewer/image-viewer.css +6 -1
- package/cjs/components/image-viewer/image-viewer.d.ts +5 -2
- package/cjs/components/image-viewer/image-viewer.js +24 -4
- package/cjs/components/image-viewer/index.d.ts +2 -1
- package/cjs/components/index-bar/index-bar.d.ts +2 -0
- package/cjs/components/index-bar/index-bar.js +6 -0
- package/cjs/components/index-bar/index.d.ts +1 -0
- package/cjs/components/infinite-scroll/infinite-scroll.js +8 -6
- package/cjs/components/mask/mask.js +9 -7
- package/cjs/components/modal/modal.d.ts +4 -1
- package/cjs/components/modal/modal.js +24 -11
- package/cjs/components/popover/popover.css +1 -0
- package/cjs/components/popup/popup.d.ts +2 -1
- package/cjs/components/search-bar/search-bar.d.ts +1 -1
- package/cjs/components/search-bar/search-bar.js +5 -8
- package/cjs/components/side-bar/side-bar.d.ts +2 -1
- package/cjs/components/swiper/index.d.ts +1 -1
- package/cjs/components/swiper/swiper.d.ts +1 -1
- package/cjs/components/tabs/tabs.css +4 -3
- package/cjs/components/tabs/tabs.d.ts +1 -1
- package/cjs/components/text-area/text-area.js +2 -1
- package/cjs/components/toast/toast.css +1 -1
- package/cjs/components/toast/toast.d.ts +2 -1
- package/cjs/locales/fr-FR.d.ts +106 -0
- package/cjs/locales/fr-FR.js +119 -0
- package/cjs/utils/get-scroll-parent.js +1 -1
- package/cjs/utils/render.js +14 -2
- package/cjs/utils/use-inner-visible.d.ts +1 -0
- package/cjs/utils/use-inner-visible.js +18 -0
- package/es/components/action-sheet/action-sheet.css +19 -7
- package/es/components/action-sheet/action-sheet.js +8 -15
- package/es/components/badge/badge.d.ts +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/index.d.ts +1 -1
- package/es/components/button/button.d.ts +6 -4
- package/es/components/button/button.js +5 -1
- package/es/components/calendar/calendar.css +3 -0
- package/es/components/calendar/calendar.d.ts +1 -0
- package/es/components/calendar/calendar.js +2 -2
- package/es/components/dialog/dialog.d.ts +4 -1
- package/es/components/dialog/dialog.js +23 -14
- package/es/components/dropdown/dropdown.css +1 -1
- package/es/components/error-block/images/busy.d.ts +1 -0
- package/es/components/error-block/images/default.d.ts +1 -0
- package/es/components/error-block/images/disconnected.d.ts +1 -0
- package/es/components/error-block/images/empty.d.ts +1 -0
- package/es/components/form/form-item.js +1 -4
- package/es/components/image/broken-image-icon.d.ts +1 -0
- package/es/components/image/broken-image-icon.js +9 -0
- package/es/components/image/image-icon.d.ts +1 -0
- package/es/components/image/image-icon.js +9 -0
- package/es/components/image/image.css +4 -2
- package/es/components/image/image.d.ts +2 -1
- package/es/components/image/image.js +8 -5
- package/es/components/image-uploader/image-uploader.js +2 -5
- package/es/components/image-viewer/image-viewer.css +6 -1
- package/es/components/image-viewer/image-viewer.d.ts +5 -2
- package/es/components/image-viewer/image-viewer.js +24 -5
- package/es/components/image-viewer/index.d.ts +2 -1
- package/es/components/index-bar/index-bar.d.ts +2 -0
- package/es/components/index-bar/index-bar.js +6 -0
- package/es/components/index-bar/index.d.ts +1 -0
- package/es/components/infinite-scroll/infinite-scroll.js +8 -6
- package/es/components/mask/mask.js +10 -8
- package/es/components/modal/modal.d.ts +4 -1
- package/es/components/modal/modal.js +23 -12
- package/es/components/popover/popover.css +1 -0
- package/es/components/popup/popup.d.ts +2 -1
- package/es/components/search-bar/search-bar.d.ts +1 -1
- package/es/components/search-bar/search-bar.js +5 -8
- package/es/components/side-bar/side-bar.d.ts +2 -1
- package/es/components/swiper/index.d.ts +1 -1
- package/es/components/swiper/swiper.d.ts +1 -1
- package/es/components/tabs/tabs.css +4 -3
- package/es/components/tabs/tabs.d.ts +1 -1
- package/es/components/text-area/text-area.js +2 -1
- package/es/components/toast/toast.css +1 -1
- package/es/components/toast/toast.d.ts +2 -1
- package/es/locales/fr-FR.d.ts +106 -0
- package/es/locales/fr-FR.js +109 -0
- package/es/utils/get-scroll-parent.js +1 -1
- package/es/utils/render.js +14 -2
- package/es/utils/use-inner-visible.d.ts +1 -0
- package/es/utils/use-inner-visible.js +9 -0
- package/package.json +6 -11
- package/umd/antd-mobile.js +1 -1
package/bundle/antd-mobile.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { __rest, __awaiter } from "tslib";
|
|
2
|
-
import React$1, { useContext, useRef, useEffect, useMemo, useState, memo, forwardRef,
|
|
2
|
+
import React$1, { useContext, useRef, useEffect, useMemo, useState, useImperativeHandle, memo, forwardRef, useCallback, createContext, cloneElement, createRef } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { useUnmountedRef, useUpdate, useMemoizedFn, useUpdateEffect, useIsomorphicLayoutEffect, createUpdateEffect, useThrottleFn, useDebounceEffect, useMount, useInViewport, useClickAway, useUnmount, useLockFn, useTimeout } from "ahooks";
|
|
5
5
|
import { useSpring, animated, to } from "@react-spring/web";
|
|
6
6
|
import dayjs from "dayjs";
|
|
7
7
|
import { isFragment, isMemo } from "react-is";
|
|
8
8
|
import { useDrag, useWheel, createUseGesture, dragAction, pinchAction } from "@use-gesture/react";
|
|
9
|
-
import { RightOutline, CheckOutline, DownOutline,
|
|
9
|
+
import { RightOutline, CheckOutline, DownOutline, DownFill, QuestionCircleOutline, CloseOutline, AddOutline, CloseCircleFill, LeftOutline, SoundOutline, TextDeletionOutline, StarFill, CheckCircleFill, InformationCircleFill, ClockCircleFill, ExclamationCircleFill, SearchOutline, MinusOutline } from "antd-mobile-icons";
|
|
10
10
|
import { staged } from "staged-components";
|
|
11
11
|
import RcForm, { List as List$2, Field, useForm, useWatch } from "rc-field-form";
|
|
12
12
|
import { computePosition, offset, shift, limitShift, flip, hide, arrow, autoUpdate } from "@floating-ui/dom";
|
|
@@ -1616,7 +1616,7 @@ function getScrollParent(el2, root2 = defaultRoot) {
|
|
|
1616
1616
|
const {
|
|
1617
1617
|
overflowY
|
|
1618
1618
|
} = window.getComputedStyle(node);
|
|
1619
|
-
if (overflowStylePatterns.includes(overflowY)) {
|
|
1619
|
+
if (overflowStylePatterns.includes(overflowY) && node.scrollHeight > node.clientHeight) {
|
|
1620
1620
|
return node;
|
|
1621
1621
|
}
|
|
1622
1622
|
node = node.parentNode;
|
|
@@ -8901,7 +8901,7 @@ const Mask = (p2) => {
|
|
|
8901
8901
|
config: {
|
|
8902
8902
|
precision: 0.01,
|
|
8903
8903
|
mass: 1,
|
|
8904
|
-
tension:
|
|
8904
|
+
tension: 250,
|
|
8905
8905
|
friction: 30,
|
|
8906
8906
|
clamp: true
|
|
8907
8907
|
},
|
|
@@ -8920,14 +8920,12 @@ const Mask = (p2) => {
|
|
|
8920
8920
|
}
|
|
8921
8921
|
}
|
|
8922
8922
|
});
|
|
8923
|
-
const shouldRender = useShouldRender(active, props.forceRender, props.destroyOnClose);
|
|
8924
8923
|
const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement(animated.div, {
|
|
8925
8924
|
className: classPrefix$1g,
|
|
8926
8925
|
ref,
|
|
8927
|
-
style: Object.assign(Object.assign({
|
|
8926
|
+
style: Object.assign(Object.assign({}, props.style), {
|
|
8928
8927
|
background,
|
|
8929
|
-
opacity
|
|
8930
|
-
}, props.style), {
|
|
8928
|
+
opacity,
|
|
8931
8929
|
display: active ? void 0 : "none"
|
|
8932
8930
|
}),
|
|
8933
8931
|
onClick: (e) => {
|
|
@@ -8943,8 +8941,12 @@ const Mask = (p2) => {
|
|
|
8943
8941
|
onClick: props.onMaskClick
|
|
8944
8942
|
}), React$1.createElement("div", {
|
|
8945
8943
|
className: `${classPrefix$1g}-content`
|
|
8946
|
-
},
|
|
8947
|
-
return
|
|
8944
|
+
}, props.children))));
|
|
8945
|
+
return React$1.createElement(ShouldRender, {
|
|
8946
|
+
active,
|
|
8947
|
+
forceRender: props.forceRender,
|
|
8948
|
+
destroyOnClose: props.destroyOnClose
|
|
8949
|
+
}, renderToContainer(props.getContainer, node));
|
|
8948
8950
|
};
|
|
8949
8951
|
const classPrefix$1f = `adm-popup`;
|
|
8950
8952
|
const defaultProps$Y = {
|
|
@@ -9023,127 +9025,11 @@ const Popup = (p2) => {
|
|
|
9023
9025
|
}, shouldRender && props.children))));
|
|
9024
9026
|
return renderToContainer(props.getContainer, node);
|
|
9025
9027
|
};
|
|
9026
|
-
var button = "";
|
|
9027
|
-
var dotLoading = "";
|
|
9028
|
-
const classPrefix$1e = `adm-dot-loading`;
|
|
9029
|
-
const colorRecord$3 = {
|
|
9030
|
-
default: "var(--adm-color-weak)",
|
|
9031
|
-
primary: "var(--adm-color-primary)",
|
|
9032
|
-
white: "var(--adm-color-white)"
|
|
9033
|
-
};
|
|
9034
|
-
const defaultProps$X = {
|
|
9035
|
-
color: "default"
|
|
9036
|
-
};
|
|
9037
|
-
const DotLoading = memo((p2) => {
|
|
9038
|
-
var _a;
|
|
9039
|
-
const props = mergeProps(defaultProps$X, p2);
|
|
9040
|
-
return withNativeProps(props, React$1.createElement("div", {
|
|
9041
|
-
style: {
|
|
9042
|
-
color: (_a = colorRecord$3[props.color]) !== null && _a !== void 0 ? _a : props.color
|
|
9043
|
-
},
|
|
9044
|
-
className: classNames("adm-loading", classPrefix$1e)
|
|
9045
|
-
}, React$1.createElement("svg", {
|
|
9046
|
-
height: "1em",
|
|
9047
|
-
viewBox: "0 0 100 40",
|
|
9048
|
-
style: {
|
|
9049
|
-
verticalAlign: "-0.125em"
|
|
9050
|
-
}
|
|
9051
|
-
}, React$1.createElement("g", {
|
|
9052
|
-
stroke: "none",
|
|
9053
|
-
strokeWidth: "1",
|
|
9054
|
-
fill: "none",
|
|
9055
|
-
fillRule: "evenodd"
|
|
9056
|
-
}, React$1.createElement("g", {
|
|
9057
|
-
transform: "translate(-100.000000, -71.000000)"
|
|
9058
|
-
}, React$1.createElement("g", {
|
|
9059
|
-
transform: "translate(95.000000, 71.000000)"
|
|
9060
|
-
}, React$1.createElement("g", {
|
|
9061
|
-
transform: "translate(5.000000, 0.000000)"
|
|
9062
|
-
}, [0, 1, 2].map((i) => React$1.createElement("rect", {
|
|
9063
|
-
key: i,
|
|
9064
|
-
fill: "currentColor",
|
|
9065
|
-
x: 20 + i * 26,
|
|
9066
|
-
y: "16",
|
|
9067
|
-
width: "8",
|
|
9068
|
-
height: "8",
|
|
9069
|
-
rx: "2"
|
|
9070
|
-
}, React$1.createElement("animate", {
|
|
9071
|
-
attributeName: "y",
|
|
9072
|
-
from: "16",
|
|
9073
|
-
to: "16",
|
|
9074
|
-
dur: "2s",
|
|
9075
|
-
begin: `${i * 0.2}s`,
|
|
9076
|
-
repeatCount: "indefinite",
|
|
9077
|
-
values: "16; 6; 26; 16; 16",
|
|
9078
|
-
keyTimes: "0; 0.1; 0.3; 0.4; 1"
|
|
9079
|
-
}))))))))));
|
|
9080
|
-
});
|
|
9081
|
-
function isPromise(obj) {
|
|
9082
|
-
return !!obj && typeof obj === "object" && typeof obj.then === "function";
|
|
9083
|
-
}
|
|
9084
|
-
const classPrefix$1d = `adm-button`;
|
|
9085
|
-
const defaultProps$W = {
|
|
9086
|
-
color: "default",
|
|
9087
|
-
fill: "solid",
|
|
9088
|
-
block: false,
|
|
9089
|
-
loading: false,
|
|
9090
|
-
loadingIcon: React$1.createElement(DotLoading, {
|
|
9091
|
-
color: "currentColor"
|
|
9092
|
-
}),
|
|
9093
|
-
type: "button",
|
|
9094
|
-
shape: "default",
|
|
9095
|
-
size: "middle"
|
|
9096
|
-
};
|
|
9097
|
-
const Button = forwardRef((p2, ref) => {
|
|
9098
|
-
const props = mergeProps(defaultProps$W, p2);
|
|
9099
|
-
const [innerLoading, setInnerLoading] = useState(false);
|
|
9100
|
-
const nativeButtonRef = useRef(null);
|
|
9101
|
-
const loading = props.loading === "auto" ? innerLoading : props.loading;
|
|
9102
|
-
const disabled = props.disabled || loading;
|
|
9103
|
-
useImperativeHandle(ref, () => ({
|
|
9104
|
-
get nativeElement() {
|
|
9105
|
-
return nativeButtonRef.current;
|
|
9106
|
-
}
|
|
9107
|
-
}));
|
|
9108
|
-
const handleClick = (e) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9109
|
-
if (!props.onClick)
|
|
9110
|
-
return;
|
|
9111
|
-
const promise = props.onClick(e);
|
|
9112
|
-
if (isPromise(promise)) {
|
|
9113
|
-
try {
|
|
9114
|
-
setInnerLoading(true);
|
|
9115
|
-
yield promise;
|
|
9116
|
-
setInnerLoading(false);
|
|
9117
|
-
} catch (e2) {
|
|
9118
|
-
setInnerLoading(false);
|
|
9119
|
-
throw e2;
|
|
9120
|
-
}
|
|
9121
|
-
}
|
|
9122
|
-
});
|
|
9123
|
-
return withNativeProps(props, React$1.createElement("button", {
|
|
9124
|
-
ref: nativeButtonRef,
|
|
9125
|
-
type: props.type,
|
|
9126
|
-
onClick: handleClick,
|
|
9127
|
-
className: classNames(classPrefix$1d, props.color ? `${classPrefix$1d}-${props.color}` : null, {
|
|
9128
|
-
[`${classPrefix$1d}-block`]: props.block,
|
|
9129
|
-
[`${classPrefix$1d}-disabled`]: disabled,
|
|
9130
|
-
[`${classPrefix$1d}-fill-outline`]: props.fill === "outline",
|
|
9131
|
-
[`${classPrefix$1d}-fill-none`]: props.fill === "none",
|
|
9132
|
-
[`${classPrefix$1d}-mini`]: props.size === "mini",
|
|
9133
|
-
[`${classPrefix$1d}-small`]: props.size === "small",
|
|
9134
|
-
[`${classPrefix$1d}-large`]: props.size === "large",
|
|
9135
|
-
[`${classPrefix$1d}-loading`]: loading
|
|
9136
|
-
}, `${classPrefix$1d}-shape-${props.shape}`),
|
|
9137
|
-
disabled
|
|
9138
|
-
}, loading ? React$1.createElement("div", {
|
|
9139
|
-
className: `${classPrefix$1d}-loading-wrapper`
|
|
9140
|
-
}, props.loadingIcon, props.loadingText) : props.children));
|
|
9141
|
-
});
|
|
9142
9028
|
var safeArea = "";
|
|
9143
|
-
const classPrefix$
|
|
9029
|
+
const classPrefix$1e = "adm-safe-area";
|
|
9144
9030
|
const SafeArea = (props) => {
|
|
9145
9031
|
return withNativeProps(props, React$1.createElement("div", {
|
|
9146
|
-
className: classNames(classPrefix$
|
|
9032
|
+
className: classNames(classPrefix$1e, `${classPrefix$1e}-position-${props.position}`)
|
|
9147
9033
|
}));
|
|
9148
9034
|
};
|
|
9149
9035
|
const fullClone = Object.assign({}, ReactDOM);
|
|
@@ -9155,17 +9041,27 @@ const {
|
|
|
9155
9041
|
let createRoot;
|
|
9156
9042
|
try {
|
|
9157
9043
|
const mainVersion = Number((version || "").split(".")[0]);
|
|
9158
|
-
if (mainVersion >= 18) {
|
|
9159
|
-
createRoot =
|
|
9044
|
+
if (mainVersion >= 18 && fullClone.createRoot) {
|
|
9045
|
+
createRoot = fullClone.createRoot;
|
|
9160
9046
|
}
|
|
9161
9047
|
} catch (e) {
|
|
9162
9048
|
}
|
|
9049
|
+
function toggleWarning(skip) {
|
|
9050
|
+
const {
|
|
9051
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
|
|
9052
|
+
} = fullClone;
|
|
9053
|
+
if (__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED && typeof __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === "object") {
|
|
9054
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint = skip;
|
|
9055
|
+
}
|
|
9056
|
+
}
|
|
9163
9057
|
const MARK = "__antd_mobile_root__";
|
|
9164
9058
|
function legacyRender(node, container) {
|
|
9165
9059
|
reactRender(node, container);
|
|
9166
9060
|
}
|
|
9167
9061
|
function concurrentRender(node, container) {
|
|
9062
|
+
toggleWarning(true);
|
|
9168
9063
|
const root2 = container[MARK] || createRoot(container);
|
|
9064
|
+
toggleWarning(false);
|
|
9169
9065
|
root2.render(node);
|
|
9170
9066
|
container[MARK] = root2;
|
|
9171
9067
|
}
|
|
@@ -9249,8 +9145,8 @@ function renderImperatively(element) {
|
|
|
9249
9145
|
close
|
|
9250
9146
|
};
|
|
9251
9147
|
}
|
|
9252
|
-
const classPrefix$
|
|
9253
|
-
const defaultProps$
|
|
9148
|
+
const classPrefix$1d = `adm-action-sheet`;
|
|
9149
|
+
const defaultProps$X = {
|
|
9254
9150
|
visible: false,
|
|
9255
9151
|
actions: [],
|
|
9256
9152
|
cancelText: "",
|
|
@@ -9259,7 +9155,7 @@ const defaultProps$V = {
|
|
|
9259
9155
|
safeArea: true
|
|
9260
9156
|
};
|
|
9261
9157
|
const ActionSheet = (p2) => {
|
|
9262
|
-
const props = mergeProps(defaultProps$
|
|
9158
|
+
const props = mergeProps(defaultProps$X, p2);
|
|
9263
9159
|
return React$1.createElement(Popup, {
|
|
9264
9160
|
visible: props.visible,
|
|
9265
9161
|
onMaskClick: () => {
|
|
@@ -9270,23 +9166,23 @@ const ActionSheet = (p2) => {
|
|
|
9270
9166
|
}
|
|
9271
9167
|
},
|
|
9272
9168
|
afterClose: props.afterClose,
|
|
9273
|
-
className: classNames(`${classPrefix$
|
|
9169
|
+
className: classNames(`${classPrefix$1d}-popup`, props.popupClassName),
|
|
9274
9170
|
style: props.popupStyle,
|
|
9275
9171
|
getContainer: props.getContainer
|
|
9276
9172
|
}, withNativeProps(props, React$1.createElement("div", {
|
|
9277
|
-
className: classPrefix$
|
|
9173
|
+
className: classPrefix$1d
|
|
9278
9174
|
}, props.extra && React$1.createElement("div", {
|
|
9279
|
-
className: `${classPrefix$
|
|
9175
|
+
className: `${classPrefix$1d}-extra`
|
|
9280
9176
|
}, props.extra), React$1.createElement("div", {
|
|
9281
|
-
className: `${classPrefix$
|
|
9177
|
+
className: `${classPrefix$1d}-button-list`
|
|
9282
9178
|
}, props.actions.map((action, index2) => React$1.createElement("div", {
|
|
9283
9179
|
key: action.key,
|
|
9284
|
-
className: `${classPrefix$
|
|
9285
|
-
}, React$1.createElement(
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9180
|
+
className: `${classPrefix$1d}-button-item-wrapper`
|
|
9181
|
+
}, React$1.createElement("a", {
|
|
9182
|
+
className: classNames("adm-plain-anchor", `${classPrefix$1d}-button-item`, {
|
|
9183
|
+
[`${classPrefix$1d}-button-item-danger`]: action.danger,
|
|
9184
|
+
[`${classPrefix$1d}-button-item-disabled`]: action.disabled
|
|
9185
|
+
}),
|
|
9290
9186
|
onClick: () => {
|
|
9291
9187
|
var _a, _b, _c;
|
|
9292
9188
|
(_a = action.onClick) === null || _a === void 0 ? void 0 : _a.call(action);
|
|
@@ -9294,29 +9190,23 @@ const ActionSheet = (p2) => {
|
|
|
9294
9190
|
if (props.closeOnAction) {
|
|
9295
9191
|
(_c = props.onClose) === null || _c === void 0 ? void 0 : _c.call(props);
|
|
9296
9192
|
}
|
|
9297
|
-
}
|
|
9298
|
-
className: classNames(`${classPrefix$1b}-button-item`, {
|
|
9299
|
-
[`${classPrefix$1b}-button-item-danger`]: action.danger
|
|
9300
|
-
})
|
|
9193
|
+
}
|
|
9301
9194
|
}, React$1.createElement("div", {
|
|
9302
|
-
className: `${classPrefix$
|
|
9195
|
+
className: `${classPrefix$1d}-button-item-name`
|
|
9303
9196
|
}, action.text), action.description && React$1.createElement("div", {
|
|
9304
|
-
className: `${classPrefix$
|
|
9197
|
+
className: `${classPrefix$1d}-button-item-description`
|
|
9305
9198
|
}, action.description))))), props.cancelText && React$1.createElement("div", {
|
|
9306
|
-
className: `${classPrefix$
|
|
9199
|
+
className: `${classPrefix$1d}-cancel`
|
|
9307
9200
|
}, React$1.createElement("div", {
|
|
9308
|
-
className: `${classPrefix$
|
|
9309
|
-
}, React$1.createElement(
|
|
9310
|
-
|
|
9311
|
-
fill: "none",
|
|
9312
|
-
shape: "rectangular",
|
|
9313
|
-
className: `${classPrefix$1b}-button-item`,
|
|
9201
|
+
className: `${classPrefix$1d}-button-item-wrapper`
|
|
9202
|
+
}, React$1.createElement("a", {
|
|
9203
|
+
className: classNames("adm-plain-anchor", `${classPrefix$1d}-button-item`),
|
|
9314
9204
|
onClick: () => {
|
|
9315
9205
|
var _a;
|
|
9316
9206
|
(_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
9317
9207
|
}
|
|
9318
9208
|
}, React$1.createElement("div", {
|
|
9319
|
-
className: `${classPrefix$
|
|
9209
|
+
className: `${classPrefix$1d}-button-item-name`
|
|
9320
9210
|
}, props.cancelText)))), props.safeArea && React$1.createElement(SafeArea, {
|
|
9321
9211
|
position: "bottom"
|
|
9322
9212
|
}))));
|
|
@@ -9328,12 +9218,12 @@ var index$h = attachPropertiesToComponent(ActionSheet, {
|
|
|
9328
9218
|
show: showActionSheet
|
|
9329
9219
|
});
|
|
9330
9220
|
var autoCenter = "";
|
|
9331
|
-
const classPrefix$
|
|
9221
|
+
const classPrefix$1c = "adm-auto-center";
|
|
9332
9222
|
const AutoCenter = (props) => {
|
|
9333
9223
|
return withNativeProps(props, React$1.createElement("div", {
|
|
9334
|
-
className: classPrefix$
|
|
9224
|
+
className: classPrefix$1c
|
|
9335
9225
|
}, React$1.createElement("div", {
|
|
9336
|
-
className: `${classPrefix$
|
|
9226
|
+
className: `${classPrefix$1c}-content`
|
|
9337
9227
|
}, props.children)));
|
|
9338
9228
|
};
|
|
9339
9229
|
var avatar = "";
|
|
@@ -9375,15 +9265,15 @@ const Fallback = memo(() => React$1.createElement("svg", {
|
|
|
9375
9265
|
fillRule: "nonzero",
|
|
9376
9266
|
mask: "url(#mask-2)"
|
|
9377
9267
|
}))))));
|
|
9378
|
-
const classPrefix$
|
|
9379
|
-
const defaultProps$
|
|
9268
|
+
const classPrefix$1b = "adm-avatar";
|
|
9269
|
+
const defaultProps$W = {
|
|
9380
9270
|
fallback: React$1.createElement(Fallback, null),
|
|
9381
9271
|
fit: "cover"
|
|
9382
9272
|
};
|
|
9383
9273
|
const Avatar = (p2) => {
|
|
9384
|
-
const props = mergeProps(defaultProps$
|
|
9274
|
+
const props = mergeProps(defaultProps$W, p2);
|
|
9385
9275
|
return withNativeProps(props, React$1.createElement(Image$1, {
|
|
9386
|
-
className: classPrefix$
|
|
9276
|
+
className: classPrefix$1b,
|
|
9387
9277
|
src: props.src,
|
|
9388
9278
|
fallback: props.fallback,
|
|
9389
9279
|
placeholder: props.fallback,
|
|
@@ -9395,8 +9285,8 @@ const Avatar = (p2) => {
|
|
|
9395
9285
|
}));
|
|
9396
9286
|
};
|
|
9397
9287
|
var badge = "";
|
|
9398
|
-
const classPrefix$
|
|
9399
|
-
const dot =
|
|
9288
|
+
const classPrefix$1a = `adm-badge`;
|
|
9289
|
+
const dot = React$1.createElement(React$1.Fragment, null);
|
|
9400
9290
|
const Badge$1 = (props) => {
|
|
9401
9291
|
const {
|
|
9402
9292
|
content,
|
|
@@ -9404,22 +9294,142 @@ const Badge$1 = (props) => {
|
|
|
9404
9294
|
children
|
|
9405
9295
|
} = props;
|
|
9406
9296
|
const isDot = content === dot;
|
|
9407
|
-
const badgeCls = classNames(classPrefix$
|
|
9297
|
+
const badgeCls = classNames(classPrefix$1a, !!children && `${classPrefix$1a}-fixed`, isDot && `${classPrefix$1a}-dot`, props.bordered && `${classPrefix$1a}-bordered`);
|
|
9408
9298
|
const element = content || content === 0 ? withNativeProps(props, React$1.createElement("div", {
|
|
9409
9299
|
className: badgeCls,
|
|
9410
9300
|
style: {
|
|
9411
9301
|
"--color": color
|
|
9412
9302
|
}
|
|
9413
9303
|
}, !isDot && React$1.createElement("div", {
|
|
9414
|
-
className: `${classPrefix$
|
|
9304
|
+
className: `${classPrefix$1a}-content`
|
|
9415
9305
|
}, content))) : null;
|
|
9416
9306
|
return children ? React$1.createElement("div", {
|
|
9417
|
-
className: `${classPrefix$
|
|
9307
|
+
className: `${classPrefix$1a}-wrap`
|
|
9418
9308
|
}, children, element) : element;
|
|
9419
9309
|
};
|
|
9420
9310
|
var Badge = attachPropertiesToComponent(Badge$1, {
|
|
9421
9311
|
dot
|
|
9422
9312
|
});
|
|
9313
|
+
var button = "";
|
|
9314
|
+
var dotLoading = "";
|
|
9315
|
+
const classPrefix$19 = `adm-dot-loading`;
|
|
9316
|
+
const colorRecord$3 = {
|
|
9317
|
+
default: "var(--adm-color-weak)",
|
|
9318
|
+
primary: "var(--adm-color-primary)",
|
|
9319
|
+
white: "var(--adm-color-white)"
|
|
9320
|
+
};
|
|
9321
|
+
const defaultProps$V = {
|
|
9322
|
+
color: "default"
|
|
9323
|
+
};
|
|
9324
|
+
const DotLoading = memo((p2) => {
|
|
9325
|
+
var _a;
|
|
9326
|
+
const props = mergeProps(defaultProps$V, p2);
|
|
9327
|
+
return withNativeProps(props, React$1.createElement("div", {
|
|
9328
|
+
style: {
|
|
9329
|
+
color: (_a = colorRecord$3[props.color]) !== null && _a !== void 0 ? _a : props.color
|
|
9330
|
+
},
|
|
9331
|
+
className: classNames("adm-loading", classPrefix$19)
|
|
9332
|
+
}, React$1.createElement("svg", {
|
|
9333
|
+
height: "1em",
|
|
9334
|
+
viewBox: "0 0 100 40",
|
|
9335
|
+
style: {
|
|
9336
|
+
verticalAlign: "-0.125em"
|
|
9337
|
+
}
|
|
9338
|
+
}, React$1.createElement("g", {
|
|
9339
|
+
stroke: "none",
|
|
9340
|
+
strokeWidth: "1",
|
|
9341
|
+
fill: "none",
|
|
9342
|
+
fillRule: "evenodd"
|
|
9343
|
+
}, React$1.createElement("g", {
|
|
9344
|
+
transform: "translate(-100.000000, -71.000000)"
|
|
9345
|
+
}, React$1.createElement("g", {
|
|
9346
|
+
transform: "translate(95.000000, 71.000000)"
|
|
9347
|
+
}, React$1.createElement("g", {
|
|
9348
|
+
transform: "translate(5.000000, 0.000000)"
|
|
9349
|
+
}, [0, 1, 2].map((i) => React$1.createElement("rect", {
|
|
9350
|
+
key: i,
|
|
9351
|
+
fill: "currentColor",
|
|
9352
|
+
x: 20 + i * 26,
|
|
9353
|
+
y: "16",
|
|
9354
|
+
width: "8",
|
|
9355
|
+
height: "8",
|
|
9356
|
+
rx: "2"
|
|
9357
|
+
}, React$1.createElement("animate", {
|
|
9358
|
+
attributeName: "y",
|
|
9359
|
+
from: "16",
|
|
9360
|
+
to: "16",
|
|
9361
|
+
dur: "2s",
|
|
9362
|
+
begin: `${i * 0.2}s`,
|
|
9363
|
+
repeatCount: "indefinite",
|
|
9364
|
+
values: "16; 6; 26; 16; 16",
|
|
9365
|
+
keyTimes: "0; 0.1; 0.3; 0.4; 1"
|
|
9366
|
+
}))))))))));
|
|
9367
|
+
});
|
|
9368
|
+
function isPromise(obj) {
|
|
9369
|
+
return !!obj && typeof obj === "object" && typeof obj.then === "function";
|
|
9370
|
+
}
|
|
9371
|
+
const classPrefix$18 = `adm-button`;
|
|
9372
|
+
const defaultProps$U = {
|
|
9373
|
+
color: "default",
|
|
9374
|
+
fill: "solid",
|
|
9375
|
+
block: false,
|
|
9376
|
+
loading: false,
|
|
9377
|
+
loadingIcon: React$1.createElement(DotLoading, {
|
|
9378
|
+
color: "currentColor"
|
|
9379
|
+
}),
|
|
9380
|
+
type: "button",
|
|
9381
|
+
shape: "default",
|
|
9382
|
+
size: "middle"
|
|
9383
|
+
};
|
|
9384
|
+
const Button = forwardRef((p2, ref) => {
|
|
9385
|
+
const props = mergeProps(defaultProps$U, p2);
|
|
9386
|
+
const [innerLoading, setInnerLoading] = useState(false);
|
|
9387
|
+
const nativeButtonRef = useRef(null);
|
|
9388
|
+
const loading = props.loading === "auto" ? innerLoading : props.loading;
|
|
9389
|
+
const disabled = props.disabled || loading;
|
|
9390
|
+
useImperativeHandle(ref, () => ({
|
|
9391
|
+
get nativeElement() {
|
|
9392
|
+
return nativeButtonRef.current;
|
|
9393
|
+
}
|
|
9394
|
+
}));
|
|
9395
|
+
const handleClick = (e) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9396
|
+
if (!props.onClick)
|
|
9397
|
+
return;
|
|
9398
|
+
const promise = props.onClick(e);
|
|
9399
|
+
if (isPromise(promise)) {
|
|
9400
|
+
try {
|
|
9401
|
+
setInnerLoading(true);
|
|
9402
|
+
yield promise;
|
|
9403
|
+
setInnerLoading(false);
|
|
9404
|
+
} catch (e2) {
|
|
9405
|
+
setInnerLoading(false);
|
|
9406
|
+
throw e2;
|
|
9407
|
+
}
|
|
9408
|
+
}
|
|
9409
|
+
});
|
|
9410
|
+
return withNativeProps(props, React$1.createElement("button", {
|
|
9411
|
+
ref: nativeButtonRef,
|
|
9412
|
+
type: props.type,
|
|
9413
|
+
onClick: handleClick,
|
|
9414
|
+
className: classNames(classPrefix$18, props.color ? `${classPrefix$18}-${props.color}` : null, {
|
|
9415
|
+
[`${classPrefix$18}-block`]: props.block,
|
|
9416
|
+
[`${classPrefix$18}-disabled`]: disabled,
|
|
9417
|
+
[`${classPrefix$18}-fill-outline`]: props.fill === "outline",
|
|
9418
|
+
[`${classPrefix$18}-fill-none`]: props.fill === "none",
|
|
9419
|
+
[`${classPrefix$18}-mini`]: props.size === "mini",
|
|
9420
|
+
[`${classPrefix$18}-small`]: props.size === "small",
|
|
9421
|
+
[`${classPrefix$18}-large`]: props.size === "large",
|
|
9422
|
+
[`${classPrefix$18}-loading`]: loading
|
|
9423
|
+
}, `${classPrefix$18}-shape-${props.shape}`),
|
|
9424
|
+
disabled,
|
|
9425
|
+
onMouseDown: props.onMouseDown,
|
|
9426
|
+
onMouseUp: props.onMouseUp,
|
|
9427
|
+
onTouchStart: props.onTouchStart,
|
|
9428
|
+
onTouchEnd: props.onTouchEnd
|
|
9429
|
+
}, loading ? React$1.createElement("div", {
|
|
9430
|
+
className: `${classPrefix$18}-loading-wrapper`
|
|
9431
|
+
}, props.loadingIcon, props.loadingText) : props.children));
|
|
9432
|
+
});
|
|
9423
9433
|
var calendar = "";
|
|
9424
9434
|
const ArrowLeft = () => {
|
|
9425
9435
|
return React$1.createElement("svg", {
|
|
@@ -9641,10 +9651,10 @@ const Calendar = forwardRef((p2, ref) => {
|
|
|
9641
9651
|
isSelect = isBegin || isEnd || d.isAfter(begin, "day") && d.isBefore(end, "day");
|
|
9642
9652
|
}
|
|
9643
9653
|
const inThisMonth = d.month() === current.month();
|
|
9644
|
-
const disabled =
|
|
9654
|
+
const disabled = props.shouldDisableDate ? props.shouldDisableDate(d.toDate()) : maxDay && d.isAfter(maxDay, "day") || minDay && d.isBefore(minDay, "day");
|
|
9645
9655
|
cells.push(React$1.createElement("div", {
|
|
9646
9656
|
key: d.valueOf(),
|
|
9647
|
-
className: classNames(`${classPrefix$17}-cell`, disabled && `${classPrefix$17}-cell-disabled`, inThisMonth && {
|
|
9657
|
+
className: classNames(`${classPrefix$17}-cell`, (disabled || !inThisMonth) && `${classPrefix$17}-cell-disabled`, inThisMonth && {
|
|
9648
9658
|
[`${classPrefix$17}-cell-today`]: d.isSame(today, "day"),
|
|
9649
9659
|
[`${classPrefix$17}-cell-selected`]: isSelect,
|
|
9650
9660
|
[`${classPrefix$17}-cell-selected-begin`]: isBegin,
|
|
@@ -12243,16 +12253,33 @@ const LazyDetector = (props) => {
|
|
|
12243
12253
|
ref
|
|
12244
12254
|
});
|
|
12245
12255
|
};
|
|
12256
|
+
const ImageIcon = () => React$1.createElement("svg", {
|
|
12257
|
+
viewBox: "0 0 48 48",
|
|
12258
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12259
|
+
}, React$1.createElement("path", {
|
|
12260
|
+
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",
|
|
12261
|
+
fill: "#DBDBDB",
|
|
12262
|
+
fillRule: "nonzero"
|
|
12263
|
+
}));
|
|
12264
|
+
const BrokenImageIcon = () => React$1.createElement("svg", {
|
|
12265
|
+
viewBox: "0 0 48 48",
|
|
12266
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12267
|
+
}, React$1.createElement("path", {
|
|
12268
|
+
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",
|
|
12269
|
+
fill: "#DBDBDB",
|
|
12270
|
+
fillRule: "nonzero"
|
|
12271
|
+
}));
|
|
12246
12272
|
const classPrefix$S = `adm-image`;
|
|
12247
12273
|
const defaultProps$H = {
|
|
12248
12274
|
fit: "fill",
|
|
12249
12275
|
placeholder: React$1.createElement("div", {
|
|
12250
12276
|
className: `${classPrefix$S}-tip`
|
|
12251
|
-
}, React$1.createElement(
|
|
12277
|
+
}, React$1.createElement(ImageIcon, null)),
|
|
12252
12278
|
fallback: React$1.createElement("div", {
|
|
12253
12279
|
className: `${classPrefix$S}-tip`
|
|
12254
|
-
}, React$1.createElement(
|
|
12255
|
-
lazy: false
|
|
12280
|
+
}, React$1.createElement(BrokenImageIcon, null)),
|
|
12281
|
+
lazy: false,
|
|
12282
|
+
draggable: false
|
|
12256
12283
|
};
|
|
12257
12284
|
const Image$1 = staged((p2) => {
|
|
12258
12285
|
const props = mergeProps(defaultProps$H, p2);
|
|
@@ -12297,7 +12324,8 @@ const Image$1 = staged((p2) => {
|
|
|
12297
12324
|
referrerPolicy: props.referrerPolicy,
|
|
12298
12325
|
sizes: props.sizes,
|
|
12299
12326
|
srcSet,
|
|
12300
|
-
useMap: props.useMap
|
|
12327
|
+
useMap: props.useMap,
|
|
12328
|
+
draggable: props.draggable
|
|
12301
12329
|
});
|
|
12302
12330
|
return React$1.createElement(React$1.Fragment, null, !loaded && props.placeholder, img);
|
|
12303
12331
|
}
|
|
@@ -12318,6 +12346,13 @@ const Image$1 = staged((p2) => {
|
|
|
12318
12346
|
}
|
|
12319
12347
|
}), renderInner()));
|
|
12320
12348
|
});
|
|
12349
|
+
function useInnerVisible(outerVisible) {
|
|
12350
|
+
const [innerVisible, setInnerVisible] = useState(outerVisible);
|
|
12351
|
+
useIsomorphicLayoutEffect(() => {
|
|
12352
|
+
setInnerVisible(outerVisible);
|
|
12353
|
+
}, [outerVisible]);
|
|
12354
|
+
return innerVisible;
|
|
12355
|
+
}
|
|
12321
12356
|
const defaultProps$G = {
|
|
12322
12357
|
visible: false,
|
|
12323
12358
|
actions: [],
|
|
@@ -12325,7 +12360,9 @@ const defaultProps$G = {
|
|
|
12325
12360
|
closeOnMaskClick: false,
|
|
12326
12361
|
stopPropagation: ["click"],
|
|
12327
12362
|
getContainer: null,
|
|
12328
|
-
disableBodyScroll: true
|
|
12363
|
+
disableBodyScroll: true,
|
|
12364
|
+
destroyOnClose: false,
|
|
12365
|
+
forceRender: false
|
|
12329
12366
|
};
|
|
12330
12367
|
const Dialog = (p2) => {
|
|
12331
12368
|
const props = mergeProps(defaultProps$G, p2);
|
|
@@ -12339,9 +12376,6 @@ const Dialog = (p2) => {
|
|
|
12339
12376
|
friction: 25,
|
|
12340
12377
|
clamp: true
|
|
12341
12378
|
},
|
|
12342
|
-
onStart: () => {
|
|
12343
|
-
setActive(true);
|
|
12344
|
-
},
|
|
12345
12379
|
onRest: () => {
|
|
12346
12380
|
var _a, _b;
|
|
12347
12381
|
if (unmountedRef.current)
|
|
@@ -12355,6 +12389,12 @@ const Dialog = (p2) => {
|
|
|
12355
12389
|
}
|
|
12356
12390
|
});
|
|
12357
12391
|
const [active, setActive] = useState(props.visible);
|
|
12392
|
+
useIsomorphicLayoutEffect(() => {
|
|
12393
|
+
if (props.visible) {
|
|
12394
|
+
setActive(true);
|
|
12395
|
+
}
|
|
12396
|
+
}, [props.visible]);
|
|
12397
|
+
const maskVisible = useInnerVisible(active && props.visible);
|
|
12358
12398
|
const body = React$1.createElement("div", {
|
|
12359
12399
|
className: classNames(cls$1("body"), props.image && cls$1("with-image"), props.bodyClassName),
|
|
12360
12400
|
style: props.bodyStyle
|
|
@@ -12389,26 +12429,28 @@ const Dialog = (p2) => {
|
|
|
12389
12429
|
})
|
|
12390
12430
|
})));
|
|
12391
12431
|
})));
|
|
12392
|
-
const node = withNativeProps(props, React$1.createElement("div", {
|
|
12432
|
+
const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
|
|
12393
12433
|
className: cls$1(),
|
|
12394
12434
|
style: {
|
|
12395
|
-
display: active ? void 0 : "none"
|
|
12435
|
+
display: active ? void 0 : "none",
|
|
12436
|
+
pointerEvents: active ? void 0 : "none"
|
|
12396
12437
|
}
|
|
12397
12438
|
}, React$1.createElement(Mask, {
|
|
12398
|
-
visible:
|
|
12439
|
+
visible: maskVisible,
|
|
12399
12440
|
onMaskClick: props.closeOnMaskClick ? props.onClose : void 0,
|
|
12400
12441
|
style: props.maskStyle,
|
|
12401
12442
|
className: classNames(cls$1("mask"), props.maskClassName),
|
|
12402
12443
|
disableBodyScroll: props.disableBodyScroll
|
|
12403
12444
|
}), React$1.createElement("div", {
|
|
12404
|
-
className: cls$1("wrap")
|
|
12405
|
-
style: {
|
|
12406
|
-
pointerEvents: props.visible ? void 0 : "none"
|
|
12407
|
-
}
|
|
12445
|
+
className: cls$1("wrap")
|
|
12408
12446
|
}, React$1.createElement(animated.div, {
|
|
12409
12447
|
style
|
|
12410
|
-
}, body))));
|
|
12411
|
-
return
|
|
12448
|
+
}, body)))));
|
|
12449
|
+
return React$1.createElement(ShouldRender, {
|
|
12450
|
+
active,
|
|
12451
|
+
forceRender: props.forceRender,
|
|
12452
|
+
destroyOnClose: props.destroyOnClose
|
|
12453
|
+
}, renderToContainer(props.getContainer, node));
|
|
12412
12454
|
};
|
|
12413
12455
|
function cls$1(name = "") {
|
|
12414
12456
|
return "adm-dialog" + (name && "-") + name;
|
|
@@ -14306,9 +14348,7 @@ const FormItem = (props) => {
|
|
|
14306
14348
|
return renderLayout(children);
|
|
14307
14349
|
}
|
|
14308
14350
|
let Variables = {};
|
|
14309
|
-
|
|
14310
|
-
Variables.label = label;
|
|
14311
|
-
}
|
|
14351
|
+
Variables.label = typeof label === "string" ? label : "";
|
|
14312
14352
|
if (messageVariables) {
|
|
14313
14353
|
Variables = Object.assign(Object.assign({}, Variables), messageVariables);
|
|
14314
14354
|
}
|
|
@@ -14667,6 +14707,7 @@ const defaultProps$w = {
|
|
|
14667
14707
|
visible: false
|
|
14668
14708
|
};
|
|
14669
14709
|
const ImageViewer$1 = (p2) => {
|
|
14710
|
+
var _a;
|
|
14670
14711
|
const props = mergeProps(defaultProps$w, p2);
|
|
14671
14712
|
const node = React$1.createElement(Mask, {
|
|
14672
14713
|
visible: props.visible,
|
|
@@ -14678,10 +14719,14 @@ const ImageViewer$1 = (p2) => {
|
|
|
14678
14719
|
}, props.image && React$1.createElement(Slide, {
|
|
14679
14720
|
image: props.image,
|
|
14680
14721
|
onTap: () => {
|
|
14681
|
-
var
|
|
14682
|
-
(
|
|
14722
|
+
var _a2;
|
|
14723
|
+
(_a2 = props.onClose) === null || _a2 === void 0 ? void 0 : _a2.call(props);
|
|
14683
14724
|
},
|
|
14684
14725
|
maxZoom: props.maxZoom
|
|
14726
|
+
})), props.image && React$1.createElement("div", {
|
|
14727
|
+
className: `${classPrefix$D}-footer`
|
|
14728
|
+
}, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.image), React$1.createElement(SafeArea, {
|
|
14729
|
+
position: "bottom"
|
|
14685
14730
|
})));
|
|
14686
14731
|
return renderToContainer(props.getContainer, node);
|
|
14687
14732
|
};
|
|
@@ -14689,16 +14734,22 @@ const multiDefaultProps = Object.assign(Object.assign({}, defaultProps$w), {
|
|
|
14689
14734
|
defaultIndex: 0
|
|
14690
14735
|
});
|
|
14691
14736
|
const MultiImageViewer = forwardRef((p2, ref) => {
|
|
14737
|
+
var _a;
|
|
14692
14738
|
const props = mergeProps(multiDefaultProps, p2);
|
|
14693
|
-
const [
|
|
14739
|
+
const [index2, setIndex] = useState(props.defaultIndex);
|
|
14694
14740
|
const slidesRef = useRef(null);
|
|
14695
14741
|
useImperativeHandle(ref, () => ({
|
|
14696
|
-
swipeTo: (
|
|
14697
|
-
var
|
|
14698
|
-
|
|
14699
|
-
(
|
|
14742
|
+
swipeTo: (index3, immediate) => {
|
|
14743
|
+
var _a2;
|
|
14744
|
+
setIndex(index3);
|
|
14745
|
+
(_a2 = slidesRef.current) === null || _a2 === void 0 ? void 0 : _a2.swipeTo(index3, immediate);
|
|
14700
14746
|
}
|
|
14701
14747
|
}));
|
|
14748
|
+
const onSlideChange = useCallback((index3) => {
|
|
14749
|
+
var _a2;
|
|
14750
|
+
setIndex(index3);
|
|
14751
|
+
(_a2 = props.onIndexChange) === null || _a2 === void 0 ? void 0 : _a2.call(props, index3);
|
|
14752
|
+
}, [props.onIndexChange]);
|
|
14702
14753
|
const node = React$1.createElement(Mask, {
|
|
14703
14754
|
visible: props.visible,
|
|
14704
14755
|
disableBodyScroll: false,
|
|
@@ -14708,14 +14759,18 @@ const MultiImageViewer = forwardRef((p2, ref) => {
|
|
|
14708
14759
|
className: `${classPrefix$D}-content`
|
|
14709
14760
|
}, props.images && React$1.createElement(Slides, {
|
|
14710
14761
|
ref: slidesRef,
|
|
14711
|
-
defaultIndex,
|
|
14712
|
-
onIndexChange:
|
|
14762
|
+
defaultIndex: index2,
|
|
14763
|
+
onIndexChange: onSlideChange,
|
|
14713
14764
|
images: props.images,
|
|
14714
14765
|
onTap: () => {
|
|
14715
|
-
var
|
|
14716
|
-
(
|
|
14766
|
+
var _a2;
|
|
14767
|
+
(_a2 = props.onClose) === null || _a2 === void 0 ? void 0 : _a2.call(props);
|
|
14717
14768
|
},
|
|
14718
14769
|
maxZoom: props.maxZoom
|
|
14770
|
+
})), props.images && React$1.createElement("div", {
|
|
14771
|
+
className: `${classPrefix$D}-footer`
|
|
14772
|
+
}, (_a = props.renderFooter) === null || _a === void 0 ? void 0 : _a.call(props, props.images[index2], index2), React$1.createElement(SafeArea, {
|
|
14773
|
+
position: "bottom"
|
|
14719
14774
|
})));
|
|
14720
14775
|
return renderToContainer(props.getContainer, node);
|
|
14721
14776
|
});
|
|
@@ -14903,9 +14958,6 @@ const ImageUploader = (p2) => {
|
|
|
14903
14958
|
} = useConfig();
|
|
14904
14959
|
const props = mergeProps(defaultProps$t, p2);
|
|
14905
14960
|
const [value, setValue] = usePropsValue(props);
|
|
14906
|
-
const updateValue = useMemoizedFn((updater) => {
|
|
14907
|
-
setValue(updater(value));
|
|
14908
|
-
});
|
|
14909
14961
|
const [tasks, setTasks] = useState([]);
|
|
14910
14962
|
useIsomorphicLayoutEffect(() => {
|
|
14911
14963
|
setTasks((prev) => prev.filter((task) => {
|
|
@@ -14977,7 +15029,7 @@ const ImageUploader = (p2) => {
|
|
|
14977
15029
|
return task;
|
|
14978
15030
|
});
|
|
14979
15031
|
});
|
|
14980
|
-
|
|
15032
|
+
setValue((prev) => {
|
|
14981
15033
|
const newVal = Object.assign({}, result2);
|
|
14982
15034
|
return [...prev, newVal];
|
|
14983
15035
|
});
|
|
@@ -15175,6 +15227,7 @@ const IndexBar = forwardRef((p2, ref) => {
|
|
|
15175
15227
|
scrollTo
|
|
15176
15228
|
}));
|
|
15177
15229
|
function scrollTo(index2) {
|
|
15230
|
+
var _a;
|
|
15178
15231
|
const body = bodyRef.current;
|
|
15179
15232
|
if (!body)
|
|
15180
15233
|
return;
|
|
@@ -15187,6 +15240,7 @@ const IndexBar = forwardRef((p2, ref) => {
|
|
|
15187
15240
|
if (panelIndex === index2) {
|
|
15188
15241
|
body.scrollTop = panel.offsetTop;
|
|
15189
15242
|
setActiveIndex(index2);
|
|
15243
|
+
activeIndex !== index2 && ((_a = props.onIndexChange) === null || _a === void 0 ? void 0 : _a.call(props, index2));
|
|
15190
15244
|
return;
|
|
15191
15245
|
}
|
|
15192
15246
|
}
|
|
@@ -15194,6 +15248,7 @@ const IndexBar = forwardRef((p2, ref) => {
|
|
|
15194
15248
|
const {
|
|
15195
15249
|
run: checkActiveIndex
|
|
15196
15250
|
} = useThrottleFn(() => {
|
|
15251
|
+
var _a;
|
|
15197
15252
|
const body = bodyRef.current;
|
|
15198
15253
|
if (!body)
|
|
15199
15254
|
return;
|
|
@@ -15208,6 +15263,7 @@ const IndexBar = forwardRef((p2, ref) => {
|
|
|
15208
15263
|
continue;
|
|
15209
15264
|
if (panel.offsetTop + panel.clientHeight - titleHeight > scrollTop) {
|
|
15210
15265
|
setActiveIndex(panelIndex);
|
|
15266
|
+
activeIndex !== panelIndex && ((_a = props.onIndexChange) === null || _a === void 0 ? void 0 : _a.call(props, panelIndex));
|
|
15211
15267
|
return;
|
|
15212
15268
|
}
|
|
15213
15269
|
}
|
|
@@ -15256,6 +15312,7 @@ const InfiniteScroll = (p2) => {
|
|
|
15256
15312
|
const elementRef = useRef(null);
|
|
15257
15313
|
const [flag, setFlag] = useState({});
|
|
15258
15314
|
const nextFlagRef = useRef(flag);
|
|
15315
|
+
const [scrollParent, setScrollParent] = useState();
|
|
15259
15316
|
const check = useMemoizedFn(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
15260
15317
|
if (nextFlagRef.current !== flag)
|
|
15261
15318
|
return;
|
|
@@ -15267,6 +15324,7 @@ const InfiniteScroll = (p2) => {
|
|
|
15267
15324
|
if (!element.offsetParent)
|
|
15268
15325
|
return;
|
|
15269
15326
|
const parent = getScrollParent(element);
|
|
15327
|
+
setScrollParent(parent);
|
|
15270
15328
|
if (!parent)
|
|
15271
15329
|
return;
|
|
15272
15330
|
const rect = element.getBoundingClientRect();
|
|
@@ -15286,17 +15344,16 @@ const InfiniteScroll = (p2) => {
|
|
|
15286
15344
|
const element = elementRef.current;
|
|
15287
15345
|
if (!element)
|
|
15288
15346
|
return;
|
|
15289
|
-
|
|
15290
|
-
if (!parent)
|
|
15347
|
+
if (!scrollParent)
|
|
15291
15348
|
return;
|
|
15292
15349
|
function onScroll() {
|
|
15293
15350
|
check();
|
|
15294
15351
|
}
|
|
15295
|
-
|
|
15352
|
+
scrollParent.addEventListener("scroll", onScroll);
|
|
15296
15353
|
return () => {
|
|
15297
|
-
|
|
15354
|
+
scrollParent.removeEventListener("scroll", onScroll);
|
|
15298
15355
|
};
|
|
15299
|
-
}, []);
|
|
15356
|
+
}, [scrollParent]);
|
|
15300
15357
|
return withNativeProps(props, React$1.createElement("div", {
|
|
15301
15358
|
className: classPrefix$w,
|
|
15302
15359
|
ref: elementRef
|
|
@@ -15542,7 +15599,9 @@ const defaultProps$q = {
|
|
|
15542
15599
|
stopPropagation: ["click"],
|
|
15543
15600
|
showCloseButton: false,
|
|
15544
15601
|
getContainer: null,
|
|
15545
|
-
disableBodyScroll: true
|
|
15602
|
+
disableBodyScroll: true,
|
|
15603
|
+
destroyOnClose: false,
|
|
15604
|
+
forceRender: false
|
|
15546
15605
|
};
|
|
15547
15606
|
const Modal = (p2) => {
|
|
15548
15607
|
const props = mergeProps(defaultProps$q, p2);
|
|
@@ -15556,9 +15615,6 @@ const Modal = (p2) => {
|
|
|
15556
15615
|
friction: 25,
|
|
15557
15616
|
clamp: true
|
|
15558
15617
|
},
|
|
15559
|
-
onStart: () => {
|
|
15560
|
-
setActive(true);
|
|
15561
|
-
},
|
|
15562
15618
|
onRest: () => {
|
|
15563
15619
|
var _a, _b;
|
|
15564
15620
|
if (unmountedRef.current)
|
|
@@ -15572,6 +15628,12 @@ const Modal = (p2) => {
|
|
|
15572
15628
|
}
|
|
15573
15629
|
});
|
|
15574
15630
|
const [active, setActive] = useState(props.visible);
|
|
15631
|
+
useIsomorphicLayoutEffect(() => {
|
|
15632
|
+
if (props.visible) {
|
|
15633
|
+
setActive(true);
|
|
15634
|
+
}
|
|
15635
|
+
}, [props.visible]);
|
|
15636
|
+
const maskVisible = useInnerVisible(active && props.visible);
|
|
15575
15637
|
const body = React$1.createElement("div", {
|
|
15576
15638
|
className: classNames(cls("body"), props.image && cls("with-image"), props.bodyClassName),
|
|
15577
15639
|
style: props.bodyStyle
|
|
@@ -15610,23 +15672,27 @@ const Modal = (p2) => {
|
|
|
15610
15672
|
const node = withStopPropagation(props.stopPropagation, withNativeProps(props, React$1.createElement("div", {
|
|
15611
15673
|
className: cls(),
|
|
15612
15674
|
style: {
|
|
15613
|
-
display: active ? void 0 : "none"
|
|
15675
|
+
display: active ? void 0 : "none",
|
|
15676
|
+
pointerEvents: active ? void 0 : "none"
|
|
15614
15677
|
}
|
|
15615
15678
|
}, React$1.createElement(Mask, {
|
|
15616
|
-
visible:
|
|
15679
|
+
visible: maskVisible,
|
|
15680
|
+
forceRender: props.forceRender,
|
|
15681
|
+
destroyOnClose: props.destroyOnClose,
|
|
15617
15682
|
onMaskClick: props.closeOnMaskClick ? props.onClose : void 0,
|
|
15618
15683
|
style: props.maskStyle,
|
|
15619
15684
|
className: classNames(cls("mask"), props.maskClassName),
|
|
15620
15685
|
disableBodyScroll: props.disableBodyScroll
|
|
15621
15686
|
}), React$1.createElement("div", {
|
|
15622
|
-
className: cls("wrap")
|
|
15623
|
-
style: {
|
|
15624
|
-
pointerEvents: props.visible ? void 0 : "none"
|
|
15625
|
-
}
|
|
15687
|
+
className: cls("wrap")
|
|
15626
15688
|
}, React$1.createElement(animated.div, {
|
|
15627
15689
|
style
|
|
15628
15690
|
}, body)))));
|
|
15629
|
-
return
|
|
15691
|
+
return React$1.createElement(ShouldRender, {
|
|
15692
|
+
active,
|
|
15693
|
+
forceRender: props.forceRender,
|
|
15694
|
+
destroyOnClose: props.destroyOnClose
|
|
15695
|
+
}, renderToContainer(props.getContainer, node));
|
|
15630
15696
|
};
|
|
15631
15697
|
function cls(name = "") {
|
|
15632
15698
|
return "adm-modal" + (name && "-") + name;
|
|
@@ -16542,20 +16608,14 @@ const SearchBar = forwardRef((p2, ref) => {
|
|
|
16542
16608
|
}
|
|
16543
16609
|
}));
|
|
16544
16610
|
const renderCancelButton = () => {
|
|
16545
|
-
let isShowCancel
|
|
16611
|
+
let isShowCancel;
|
|
16546
16612
|
if (typeof props.showCancelButton === "function") {
|
|
16547
16613
|
isShowCancel = props.showCancelButton(hasFocus, value);
|
|
16548
16614
|
} else {
|
|
16549
16615
|
isShowCancel = props.showCancelButton && hasFocus;
|
|
16550
16616
|
}
|
|
16551
16617
|
return isShowCancel && React$1.createElement("div", {
|
|
16552
|
-
className: `${classPrefix$i}-suffix
|
|
16553
|
-
onMouseDown: (e) => {
|
|
16554
|
-
e.preventDefault();
|
|
16555
|
-
},
|
|
16556
|
-
onTouchStart: (e) => {
|
|
16557
|
-
e.preventDefault();
|
|
16558
|
-
}
|
|
16618
|
+
className: `${classPrefix$i}-suffix`
|
|
16559
16619
|
}, React$1.createElement(Button, {
|
|
16560
16620
|
fill: "none",
|
|
16561
16621
|
className: `${classPrefix$i}-cancel-button`,
|
|
@@ -16566,6 +16626,9 @@ const SearchBar = forwardRef((p2, ref) => {
|
|
|
16566
16626
|
}
|
|
16567
16627
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.blur();
|
|
16568
16628
|
(_c = props.onCancel) === null || _c === void 0 ? void 0 : _c.call(props);
|
|
16629
|
+
},
|
|
16630
|
+
onMouseDown: (e) => {
|
|
16631
|
+
e.preventDefault();
|
|
16569
16632
|
}
|
|
16570
16633
|
}, props.cancelText));
|
|
16571
16634
|
};
|
|
@@ -17982,7 +18045,8 @@ const TextArea = forwardRef((p2, ref) => {
|
|
|
17982
18045
|
var _a;
|
|
17983
18046
|
compositingRef.current = false;
|
|
17984
18047
|
if (maxLength) {
|
|
17985
|
-
|
|
18048
|
+
const v = e.target.value;
|
|
18049
|
+
setValue([...v].slice(0, maxLength).join(""));
|
|
17986
18050
|
}
|
|
17987
18051
|
(_a = props.onCompositionEnd) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
17988
18052
|
},
|