@nutui/nutui-react-taro 2.3.0-beta.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/ActionSheet.js +2 -2
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Address.js +3 -3
- package/dist/esm/AnimatingNumbers/style/style.css +1 -1
- package/dist/esm/AnimatingNumbers.js +4 -4
- package/dist/esm/Audio/style/style.css +1 -1
- package/dist/esm/Audio.js +2 -2
- package/dist/esm/Avatar/style/style.css +1 -1
- package/dist/esm/AvatarCropper.js +2 -2
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Barrage.js +1 -1
- package/dist/esm/Button/style/style.css +1 -1
- package/dist/esm/Button.js +1 -1
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Calendar.js +2 -2
- package/dist/esm/CalendarCard/style/style.css +1 -1
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Card.js +3 -3
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/Cascader.js +2 -2
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/CollapseItem.js +1 -1
- package/dist/esm/CountDown.js +1 -1
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/DatePicker.js +3 -3
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +2 -2
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/Divider.js +1 -1
- package/dist/esm/Elevator/style/style.css +1 -1
- package/dist/esm/Elevator.js +1 -1
- package/dist/esm/Empty.js +1 -1
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/FormItem/style/style.css +1 -1
- package/dist/esm/FormItem.js +1 -1
- package/dist/esm/Grid/style/style.css +1 -1
- package/dist/esm/Grid.js +2 -2
- package/dist/esm/GridItem/style/style.css +1 -1
- package/dist/esm/GridItem.js +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +2 -2
- package/dist/esm/InfiniteLoading/style/style.css +1 -1
- package/dist/esm/InfiniteLoading.js +1 -1
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +1 -1
- package/dist/esm/Notify/style/style.css +1 -1
- package/dist/esm/Notify.js +1 -1
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/NumberKeyboard.js +2 -2
- package/dist/esm/Pagination/style/style.css +1 -1
- package/dist/esm/Pagination.js +1 -1
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Picker.js +2 -2
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +2 -2
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/Popup.js +1 -1
- package/dist/esm/Price/style/style.css +1 -1
- package/dist/esm/Price.js +1 -1
- package/dist/esm/Progress/style/style.css +1 -1
- package/dist/esm/Progress.js +1 -1
- package/dist/esm/PullToRefresh/style/style.css +1 -1
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/Rate/style/style.css +1 -1
- package/dist/esm/Rate.js +1 -1
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/SearchBar.js +1 -1
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +2 -2
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/SideNavBar.js +2 -2
- package/dist/esm/SideNavBarItem/style/style.css +1 -1
- package/dist/esm/SideNavBarItem.js +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Signature.js +1 -1
- package/dist/esm/Skeleton/style/style.css +1 -1
- package/dist/esm/Skeleton.js +1 -1
- package/dist/esm/Sticky/style/style.css +1 -1
- package/dist/esm/Sticky.js +1 -1
- package/dist/esm/SubSideNavBar/style/style.css +1 -1
- package/dist/esm/SubSideNavBar.js +1 -1
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/Swiper.js +3 -3
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/Tabbar.js +3 -3
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/TabbarItem.js +2 -2
- package/dist/esm/Table/style/style.css +1 -1
- package/dist/esm/Table.js +1 -1
- package/dist/esm/Tabs/style/style.css +1 -1
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TextArea.js +1 -1
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeDetail.js +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +3 -3
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Tour.js +3 -3
- package/dist/esm/Uploader/style/style.css +1 -1
- package/dist/esm/Uploader.js +3 -3
- package/dist/esm/{actionsheet.taro-JAoYHvlk.js → actionsheet.taro-1SIVktd6.js} +5 -5
- package/dist/esm/{address.taro-nO-_ydoA.js → address.taro-gjbJTNSy.js} +8 -4
- package/dist/esm/{audio.taro-y8NnIlRi.js → audio.taro-TwVp1boF.js} +6 -6
- package/dist/esm/{avatarcropper.taro-hP4XFcnl.js → avatarcropper.taro-xTaDqZuh.js} +1 -1
- package/dist/esm/{badge.taro-n0aVp8h1.js → badge.taro-993L861f.js} +3 -3
- package/dist/esm/{barrage.taro-hFnjd1q2.js → barrage.taro-HsivAhbE.js} +4 -4
- package/dist/esm/{button.taro-5wKLCcpf.js → button.taro-kZJrygfW.js} +6 -6
- package/dist/esm/{calendar.taro-uEiqRsaN.js → calendar.taro-UTNDbfde.js} +1 -1
- package/dist/esm/{card.taro-UXyp3_T-.js → card.taro-p4PTy-IU.js} +2 -2
- package/dist/esm/{cascader.taro-jO6lnNxx.js → cascader.taro-EmJ-NPFU.js} +4 -4
- package/dist/esm/{collapse.taro-j2-ajiXA.js → collapse.taro-l21-Cvji.js} +1 -1
- package/dist/esm/{collapseitem.taro-Pp7qD2-T.js → collapseitem.taro-9w-h_UP6.js} +8 -8
- package/dist/esm/{countdown.taro-XGxTdXji.js → countdown.taro-_7iZfeff.js} +1 -1
- package/dist/esm/{datepicker.taro-9itGFPcO.js → datepicker.taro-XBRswbnv.js} +1 -1
- package/dist/esm/{dialog.taro-OQ9TaCeb.js → dialog.taro-8KQTLwUg.js} +7 -7
- package/dist/esm/{divider.taro-BTFED42F.js → divider.taro-H5fKry4P.js} +5 -5
- package/dist/esm/{elevator.taro-hYAvey0f.js → elevator.taro-2nbUM3vH.js} +16 -16
- package/dist/esm/{empty.taro-GrEP0-Wl.js → empty.taro-9bGPftO1.js} +6 -6
- package/dist/esm/{formitem.taro-3OafV3pq.js → formitem.taro-4ofczzxA.js} +6 -5
- package/dist/esm/{grid.taro-sQueliqS.js → grid.taro-Hc4q01A_.js} +2 -2
- package/dist/esm/{griditem.taro-PbZrfD58.js → griditem.taro-RdNA-Wqv.js} +8 -8
- package/dist/esm/{imagepreview.taro-5rkFKsua.js → imagepreview.taro-RbAHvSoF.js} +1 -1
- package/dist/esm/{infiniteloading.taro-8E76rsYv.js → infiniteloading.taro-cQRDXtbb.js} +1 -1
- package/dist/esm/{menu.taro-R4u8Phdo.js → menu.taro-EytwZPzh.js} +1 -1
- package/dist/esm/{noticebar.taro-pMvrZ28h.js → noticebar.taro-bHnEzTvL.js} +11 -13
- package/dist/esm/{notify.taro-eql4R4Mx.js → notify.taro-mA9KS8qh.js} +3 -3
- package/dist/esm/{numberkeyboard.taro-QCdTmzbs.js → numberkeyboard.taro-5LPPRBFw.js} +2 -2
- package/dist/esm/nutui-react.es.js +52 -52
- package/dist/esm/{pagination.taro-wmqLpung.js → pagination.taro-RYmB2As4.js} +6 -6
- package/dist/esm/{picker.taro-LLmgNrcx.js → picker.taro-77giqVEH.js} +8 -6
- package/dist/esm/{popover.taro-A1iAWP4m.js → popover.taro-dXJi9liV.js} +3 -3
- package/dist/esm/{popup.taro-lBOaxa0-.js → popup.taro-KqkDIedA.js} +8 -6
- package/dist/esm/{price.taro-15WmWCW1.js → price.taro-Z1zR8YWV.js} +5 -5
- package/dist/esm/{progress.taro-EBhB1-Vj.js → progress.taro-pStvlrbA.js} +1 -1
- package/dist/esm/{rate.taro-8VBdo9ip.js → rate.taro-ZkOVGSDs.js} +3 -3
- package/dist/esm/{searchbar.taro-FsmNZ2Dx.js → searchbar.taro-LSGkROdU.js} +9 -9
- package/dist/esm/{shortpassword.taro-ag7hvctn.js → shortpassword.taro-o-7n7lS-.js} +13 -13
- package/dist/esm/{sidenavbar.taro-ql4QEbJR.js → sidenavbar.taro-jJvAbDgx.js} +5 -5
- package/dist/esm/{sidenavbaritem.taro-TQ2PoDgR.js → sidenavbaritem.taro-AxJNRAdi.js} +1 -1
- package/dist/esm/{signature.taro-VciVow8A.js → signature.taro-y3qxnKMv.js} +1 -1
- package/dist/esm/{skeleton.taro-Ekd2x2Bf.js → skeleton.taro-Pg7WtP0e.js} +7 -7
- package/dist/esm/{sticky.taro-tOS_Ez6U.js → sticky.taro-MmKUU2Wv.js} +2 -2
- package/dist/esm/{subsidenavbar.taro-2qABjgZD.js → subsidenavbar.taro-Zy52MDDG.js} +6 -6
- package/dist/esm/{tabbar.taro-NpHMO2Nw.js → tabbar.taro-lM7-vxOz.js} +4 -4
- package/dist/esm/{tabbaritem.taro-L63nEc64.js → tabbaritem.taro-Q5uY6b9_.js} +2 -2
- package/dist/esm/{table.taro-R1qOsnvI.js → table.taro-NO-C8ayh.js} +11 -11
- package/dist/esm/{tag.taro-XwUNZZRQ.js → tag.taro-5KC_wObY.js} +5 -5
- package/dist/esm/{textarea.taro-xZdHw5kY.js → textarea.taro-VYqlTewy.js} +3 -3
- package/dist/esm/{timedetail.taro-U-5mkxbs.js → timedetail.taro-TF9Wcblh.js} +1 -1
- package/dist/esm/{timeselect.taro-Xo0BrEs_.js → timeselect.taro-HE0xZtNu.js} +4 -4
- package/dist/esm/{toast.taro-4n8ahzlt.js → toast.taro-WBEHAaqQ.js} +3 -3
- package/dist/esm/{tour.taro-1QD3qwN7.js → tour.taro-omnaIavI.js} +1 -1
- package/dist/esm/types/src/locales/zh-TW.d.ts +2 -2
- package/dist/esm/types/src/packages/animate/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/animate/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/button/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/button/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/elevator/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/elevator/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/popup/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/popup/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/range/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/range/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/tabbar/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/tabbar/demo.taro.d.ts +0 -1
- package/dist/esm/{uploader.taro-ukKw9zaG.js → uploader.taro-SAahCKRj.js} +20 -20
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +19 -17
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +254 -267
- package/dist/nutui.react.umd.js +254 -267
- package/dist/packages/actionsheet/actionsheet.scss +4 -4
- package/dist/packages/animatingnumbers/countup.scss +5 -5
- package/dist/packages/audio/audio.scss +6 -6
- package/dist/packages/avatar/avatar.scss +1 -1
- package/dist/packages/badge/badge.scss +5 -5
- package/dist/packages/button/button.scss +66 -65
- package/dist/packages/calendar/calendar.scss +4 -5
- package/dist/packages/calendarcard/calendarcard.scss +3 -3
- package/dist/packages/card/card.scss +8 -8
- package/dist/packages/cascader/cascader.scss +2 -2
- package/dist/packages/checkbox/checkbox.scss +12 -1
- package/dist/packages/collapseitem/collapseitem.scss +9 -9
- package/dist/packages/dialog/dialog.scss +7 -7
- package/dist/packages/divider/divider.scss +7 -7
- package/dist/packages/elevator/elevator.scss +12 -12
- package/dist/packages/form/form.scss +4 -4
- package/dist/packages/formitem/formitem.scss +5 -5
- package/dist/packages/grid/grid.scss +1 -1
- package/dist/packages/griditem/griditem.scss +13 -13
- package/dist/packages/imagepreview/imagepreview.scss +1 -1
- package/dist/packages/infiniteloading/infiniteloading.scss +4 -4
- package/dist/packages/noticebar/noticebar.scss +38 -43
- package/dist/packages/notify/notify.scss +15 -8
- package/dist/packages/pagination/pagination.scss +9 -9
- package/dist/packages/picker/picker.scss +5 -5
- package/dist/packages/popover/popover.scss +20 -20
- package/dist/packages/popup/popup.scss +4 -4
- package/dist/packages/price/price.scss +7 -7
- package/dist/packages/progress/progress.scss +1 -1
- package/dist/packages/pulltorefresh/pulltorefresh.scss +2 -2
- package/dist/packages/radio/radio.scss +1 -1
- package/dist/packages/rate/rate.scss +7 -7
- package/dist/packages/searchbar/searchbar.scss +16 -16
- package/dist/packages/shortpassword/shortpassword.scss +11 -11
- package/dist/packages/sidenavbar/sidenavbar.scss +5 -5
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +2 -2
- package/dist/packages/signature/signature.scss +2 -2
- package/dist/packages/skeleton/skeleton.scss +5 -5
- package/dist/packages/sticky/sticky.scss +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.scss +4 -4
- package/dist/packages/swiper/swiper.scss +4 -4
- package/dist/packages/tabbar/tabbar.scss +3 -3
- package/dist/packages/tabbaritem/tabbaritem.scss +1 -1
- package/dist/packages/table/table.scss +22 -22
- package/dist/packages/tabs/tabs.scss +12 -7
- package/dist/packages/tag/tag.scss +10 -10
- package/dist/packages/textarea/textarea.scss +5 -5
- package/dist/packages/timedetail/timedetail.scss +1 -1
- package/dist/packages/timeselect/timeselect.scss +2 -2
- package/dist/packages/toast/toast.scss +8 -8
- package/dist/packages/uploader/uploader.scss +14 -14
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables-jmapp.scss +8 -4
- package/dist/styles/variables.scss +43 -25
- package/dist/types/locales/zh-TW.d.ts +2 -2
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/package.json +2 -2
package/dist/nutui.react.umd.js
CHANGED
|
@@ -8,7 +8,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8
8
|
return value;
|
|
9
9
|
};
|
|
10
10
|
/*!
|
|
11
|
-
* @nutui/nutui-react-taro v2.3.0
|
|
11
|
+
* @nutui/nutui-react-taro v2.3.0 Fri Dec 08 2023 19:20:06 GMT+0800 (China Standard Time)
|
|
12
12
|
* (c) 2023 @jdf2e.
|
|
13
13
|
* Released under the MIT License.
|
|
14
14
|
*/
|
|
@@ -780,16 +780,16 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
780
780
|
n$2.displayName = "NutIconarrow-down";
|
|
781
781
|
const a$4 = (o2) => /* @__PURE__ */ lr$1(r$2, { ...o2, name: o2.name || "arrow-left" });
|
|
782
782
|
a$4.displayName = "NutIconarrow-left";
|
|
783
|
-
const m$
|
|
784
|
-
m$
|
|
785
|
-
const m$
|
|
786
|
-
m$
|
|
783
|
+
const m$8 = (o2) => /* @__PURE__ */ lr$1(r$2, { ...o2, name: o2.name || "arrow-up" });
|
|
784
|
+
m$8.displayName = "NutIconarrow-up";
|
|
785
|
+
const m$7 = (c2) => /* @__PURE__ */ lr$1(r$2, { ...c2, name: c2.name || "check-checked" });
|
|
786
|
+
m$7.displayName = "NutIconcheck-checked";
|
|
787
787
|
const c = (e2) => /* @__PURE__ */ lr$1(r$2, { ...e2, name: e2.name || "check-disabled" });
|
|
788
788
|
c.displayName = "NutIconcheck-disabled";
|
|
789
789
|
const n$1 = (o2) => /* @__PURE__ */ lr$1(r$2, { ...o2, name: o2.name || "check-normal" });
|
|
790
790
|
n$1.displayName = "NutIconcheck-normal";
|
|
791
|
-
const
|
|
792
|
-
|
|
791
|
+
const m$6 = (o2) => /* @__PURE__ */ lr$1(r$2, { ...o2, name: o2.name || "check" });
|
|
792
|
+
m$6.displayName = "NutIconcheck";
|
|
793
793
|
const m$5 = (e2) => /* @__PURE__ */ lr$1(r$2, { ...e2, name: e2.name || "checked" });
|
|
794
794
|
m$5.displayName = "NutIconchecked";
|
|
795
795
|
const e$6 = (t2) => /* @__PURE__ */ lr$1(r$2, { ...t2, name: t2.name || "checklist" });
|
|
@@ -919,15 +919,15 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
919
919
|
ref,
|
|
920
920
|
className: classNames(
|
|
921
921
|
prefixCls$3,
|
|
922
|
-
`${prefixCls$3}
|
|
923
|
-
props.fill ? `${prefixCls$3}
|
|
924
|
-
children ? "" : `${prefixCls$3}
|
|
922
|
+
`${prefixCls$3}-${type2}`,
|
|
923
|
+
props.fill ? `${prefixCls$3}-${fill}` : null,
|
|
924
|
+
children ? "" : `${prefixCls$3}-icononly`,
|
|
925
925
|
{
|
|
926
|
-
[`${prefixCls$3}
|
|
927
|
-
[`${prefixCls$3}
|
|
928
|
-
[`${prefixCls$3}
|
|
929
|
-
[`${prefixCls$3}
|
|
930
|
-
[`${prefixCls$3}
|
|
926
|
+
[`${prefixCls$3}-${size}`]: size,
|
|
927
|
+
[`${prefixCls$3}-${shape}`]: shape,
|
|
928
|
+
[`${prefixCls$3}-block`]: block,
|
|
929
|
+
[`${prefixCls$3}-disabled`]: disabled,
|
|
930
|
+
[`${prefixCls$3}-loading`]: loading
|
|
931
931
|
},
|
|
932
932
|
className
|
|
933
933
|
),
|
|
@@ -4277,13 +4277,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4277
4277
|
};
|
|
4278
4278
|
const classes = direction === "horizontal" ? classNames({
|
|
4279
4279
|
[`${classPrefix$o}`]: true,
|
|
4280
|
-
[`${classPrefix$o}
|
|
4281
|
-
[`${classPrefix$o}
|
|
4282
|
-
[`${classPrefix$o}
|
|
4283
|
-
[`${classPrefix$o}
|
|
4280
|
+
[`${classPrefix$o}-center`]: children,
|
|
4281
|
+
[`${classPrefix$o}-left`]: contentPosition === "left",
|
|
4282
|
+
[`${classPrefix$o}-right`]: contentPosition === "right",
|
|
4283
|
+
[`${classPrefix$o}-hairline`]: true
|
|
4284
4284
|
}) : classNames({
|
|
4285
4285
|
[`${classPrefix$o}`]: true,
|
|
4286
|
-
[`${classPrefix$o}
|
|
4286
|
+
[`${classPrefix$o}-vertical`]: direction === "vertical"
|
|
4287
4287
|
});
|
|
4288
4288
|
return /* @__PURE__ */ React.createElement("div", { className: `${classes} ${className || ""}`, style, ...rest }, children);
|
|
4289
4289
|
};
|
|
@@ -4342,13 +4342,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4342
4342
|
return styles;
|
|
4343
4343
|
};
|
|
4344
4344
|
const contentClass = () => {
|
|
4345
|
-
return classNames(`${classPrefix2}
|
|
4346
|
-
[`${classPrefix2}
|
|
4347
|
-
[`${classPrefix2}
|
|
4348
|
-
[`${classPrefix2}
|
|
4349
|
-
[`${classPrefix2}
|
|
4350
|
-
[`${classPrefix2}
|
|
4351
|
-
[`${classPrefix2}
|
|
4345
|
+
return classNames(`${classPrefix2}-content`, {
|
|
4346
|
+
[`${classPrefix2}-content-border`]: true,
|
|
4347
|
+
[`${classPrefix2}-content-surround`]: gap,
|
|
4348
|
+
[`${classPrefix2}-content-center`]: center,
|
|
4349
|
+
[`${classPrefix2}-content-square`]: square,
|
|
4350
|
+
[`${classPrefix2}-content-reverse`]: reverse,
|
|
4351
|
+
[`${classPrefix2}-content-${direction}`]: !!direction
|
|
4352
4352
|
});
|
|
4353
4353
|
};
|
|
4354
4354
|
const handleClick = (e2) => {
|
|
@@ -4375,7 +4375,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4375
4375
|
...rest,
|
|
4376
4376
|
onClick: handleClick
|
|
4377
4377
|
},
|
|
4378
|
-
/* @__PURE__ */ React.createElement("div", { className: contentClass() }, children && /* @__PURE__ */ React.createElement(React.Fragment, null, children), text && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
4378
|
+
/* @__PURE__ */ React.createElement("div", { className: contentClass() }, children && /* @__PURE__ */ React.createElement(React.Fragment, null, children), text && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-text` }, text))
|
|
4379
4379
|
);
|
|
4380
4380
|
};
|
|
4381
4381
|
GridItem.defaultProps = defaultProps$1r;
|
|
@@ -4408,7 +4408,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4408
4408
|
return classNames(
|
|
4409
4409
|
classPrefix2,
|
|
4410
4410
|
{
|
|
4411
|
-
[`${classPrefix2}
|
|
4411
|
+
[`${classPrefix2}-border`]: !gap
|
|
4412
4412
|
},
|
|
4413
4413
|
className
|
|
4414
4414
|
);
|
|
@@ -4712,8 +4712,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4712
4712
|
/* @__PURE__ */ React.createElement(
|
|
4713
4713
|
"div",
|
|
4714
4714
|
{
|
|
4715
|
-
className: classNames("nut-sticky
|
|
4716
|
-
"nut-sticky
|
|
4715
|
+
className: classNames("nut-sticky-box", {
|
|
4716
|
+
"nut-sticky-fixed": fixed
|
|
4717
4717
|
}),
|
|
4718
4718
|
ref: stickyRef,
|
|
4719
4719
|
style: stickyStyle
|
|
@@ -4855,7 +4855,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4855
4855
|
state.current.listHeight.push(height2);
|
|
4856
4856
|
for (let i = 0; i < state.current.listGroup.length; i++) {
|
|
4857
4857
|
const query = Taro.createSelectorQuery();
|
|
4858
|
-
query.selectAll(`.${className} .nut-
|
|
4858
|
+
query.selectAll(`.${className} .nut-elevator-item-${i}`).boundingClientRect();
|
|
4859
4859
|
query.exec((res) => {
|
|
4860
4860
|
if (res[0][0])
|
|
4861
4861
|
height2 += res[0][0].height;
|
|
@@ -4915,7 +4915,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4915
4915
|
};
|
|
4916
4916
|
const setListGroup = () => {
|
|
4917
4917
|
if (listview.current) {
|
|
4918
|
-
Taro.createSelectorQuery().selectAll(`.${className} .nut-
|
|
4918
|
+
Taro.createSelectorQuery().selectAll(`.${className} .nut-elevator-list-item`).node((el) => {
|
|
4919
4919
|
state.current.listGroup = [...Object.keys(el)];
|
|
4920
4920
|
calculateHeight();
|
|
4921
4921
|
}).exec();
|
|
@@ -4953,7 +4953,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4953
4953
|
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, style, ...rest }, /* @__PURE__ */ React.createElement(
|
|
4954
4954
|
"div",
|
|
4955
4955
|
{
|
|
4956
|
-
className: `${classPrefix2}
|
|
4956
|
+
className: `${classPrefix2}-list`,
|
|
4957
4957
|
style: { height: Number.isNaN(+height) ? height : `${height}px` }
|
|
4958
4958
|
},
|
|
4959
4959
|
/* @__PURE__ */ React.createElement(
|
|
@@ -4963,7 +4963,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4963
4963
|
scrollY: true,
|
|
4964
4964
|
scrollWithAnimation: true,
|
|
4965
4965
|
scrollAnchoring: true,
|
|
4966
|
-
className: `${classPrefix2}
|
|
4966
|
+
className: `${classPrefix2}-list-inner`,
|
|
4967
4967
|
type: "list",
|
|
4968
4968
|
ref: listview,
|
|
4969
4969
|
onScroll: listViewScroll,
|
|
@@ -4975,17 +4975,17 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
4975
4975
|
return /* @__PURE__ */ React.createElement(
|
|
4976
4976
|
"div",
|
|
4977
4977
|
{
|
|
4978
|
-
className: `${classPrefix2}
|
|
4978
|
+
className: `${classPrefix2}-list-item nut-elevator-item-${idx}`,
|
|
4979
4979
|
key: idx
|
|
4980
4980
|
},
|
|
4981
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
4981
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-list-item-code` }, item[floorKey]),
|
|
4982
4982
|
/* @__PURE__ */ React.createElement(React.Fragment, null, item.list.map((subitem) => {
|
|
4983
4983
|
return /* @__PURE__ */ React.createElement(
|
|
4984
4984
|
"div",
|
|
4985
4985
|
{
|
|
4986
4986
|
className: classNames({
|
|
4987
|
-
[`${classPrefix2}
|
|
4988
|
-
[`${classPrefix2}
|
|
4987
|
+
[`${classPrefix2}-list-item-name`]: true,
|
|
4988
|
+
[`${classPrefix2}-list-item-name-highcolor`]: currentData.id === subitem.id && currentKey === item[floorKey]
|
|
4989
4989
|
}),
|
|
4990
4990
|
key: subitem.id,
|
|
4991
4991
|
onClick: () => handleClickItem(item[floorKey], subitem)
|
|
@@ -5000,15 +5000,15 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5000
5000
|
"div",
|
|
5001
5001
|
{
|
|
5002
5002
|
className: classNames({
|
|
5003
|
-
[`${classPrefix2}
|
|
5004
|
-
[`${classPrefix2}
|
|
5003
|
+
[`${classPrefix2}-code-current`]: true,
|
|
5004
|
+
[`${classPrefix2}-code-current-current`]: true
|
|
5005
5005
|
})
|
|
5006
5006
|
},
|
|
5007
5007
|
list[codeIndex][floorKey]
|
|
5008
|
-
) : null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5008
|
+
) : null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-bars` }, /* @__PURE__ */ React.createElement(
|
|
5009
5009
|
"div",
|
|
5010
5010
|
{
|
|
5011
|
-
className: `${classPrefix2}
|
|
5011
|
+
className: `${classPrefix2}-bars-inner`,
|
|
5012
5012
|
onTouchStart: (event) => touchStart(event),
|
|
5013
5013
|
onTouchMove: (event) => touchMove(event),
|
|
5014
5014
|
onTouchEnd: touchEnd,
|
|
@@ -5019,8 +5019,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5019
5019
|
"div",
|
|
5020
5020
|
{
|
|
5021
5021
|
className: classNames({
|
|
5022
|
-
[`${classPrefix2}
|
|
5023
|
-
[`${classPrefix2}
|
|
5022
|
+
[`${classPrefix2}-bars-inner-item`]: true,
|
|
5023
|
+
[`${classPrefix2}-bars-inner-item-active`]: item[floorKey] === list[codeIndex][floorKey]
|
|
5024
5024
|
}),
|
|
5025
5025
|
"data-index": index,
|
|
5026
5026
|
key: index,
|
|
@@ -5029,7 +5029,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5029
5029
|
item[floorKey]
|
|
5030
5030
|
);
|
|
5031
5031
|
})
|
|
5032
|
-
))) : null, sticky && scrollY > 0 ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5032
|
+
))) : null, sticky && scrollY > 0 ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-list-fixed` }, /* @__PURE__ */ React.createElement("span", { className: `${classPrefix2}-list-fixed-title` }, list[codeIndex][floorKey])) : null);
|
|
5033
5033
|
};
|
|
5034
5034
|
Elevator.defaultProps = defaultProps$1k;
|
|
5035
5035
|
Elevator.displayName = "NutElevator";
|
|
@@ -5253,15 +5253,17 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5253
5253
|
...style,
|
|
5254
5254
|
...baseStyle
|
|
5255
5255
|
};
|
|
5256
|
-
const popClassName = classNames(
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5256
|
+
const popClassName = classNames(
|
|
5257
|
+
{
|
|
5258
|
+
[`${classPrefix2}`]: true,
|
|
5259
|
+
[`${classPrefix2}-round`]: round || position === "bottom",
|
|
5260
|
+
[`${classPrefix2}-${position}`]: true
|
|
5261
|
+
},
|
|
5262
|
+
className
|
|
5263
|
+
);
|
|
5262
5264
|
const closeClasses = classNames({
|
|
5263
5265
|
[`${classPrefix2}-title-right`]: true,
|
|
5264
|
-
[`${classPrefix2}-title-right
|
|
5266
|
+
[`${classPrefix2}-title-right-${closeIconPosition}`]: true
|
|
5265
5267
|
});
|
|
5266
5268
|
const open2 = () => {
|
|
5267
5269
|
if (!innerVisible) {
|
|
@@ -5316,9 +5318,12 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5316
5318
|
return node;
|
|
5317
5319
|
};
|
|
5318
5320
|
const renderTitle = () => {
|
|
5319
|
-
if (left2 || title ||
|
|
5321
|
+
if (left2 || title || description) {
|
|
5320
5322
|
return /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-title` }, position === "bottom" && /* @__PURE__ */ React.createElement(React.Fragment, null, left2 && /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix2}-title-left` }, left2), (title || description) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title-title` }, title, description && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title-description` }, description))), closeable && /* @__PURE__ */ React.createElement(components.View, { className: closeClasses, onClick: onHandleClickCloseIcon }, React.isValidElement(closeIcon) ? closeIcon : /* @__PURE__ */ React.createElement(t$5, null)));
|
|
5321
5323
|
}
|
|
5324
|
+
if (closeable) {
|
|
5325
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, closeable && /* @__PURE__ */ React.createElement(components.View, { className: closeClasses, onClick: onHandleClickCloseIcon }, React.isValidElement(closeIcon) ? closeIcon : /* @__PURE__ */ React.createElement(t$5, null)));
|
|
5326
|
+
}
|
|
5322
5327
|
};
|
|
5323
5328
|
const renderPop = () => {
|
|
5324
5329
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -5404,16 +5409,16 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5404
5409
|
position,
|
|
5405
5410
|
onClose
|
|
5406
5411
|
},
|
|
5407
|
-
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5412
|
+
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, /* @__PURE__ */ React.createElement(
|
|
5408
5413
|
"div",
|
|
5409
5414
|
{
|
|
5410
|
-
className: `${classPrefix2}
|
|
5415
|
+
className: `${classPrefix2}-list ${sidenavbarShow ? "sidenavbar-show" : "sidenavbar-hide"}`,
|
|
5411
5416
|
onClick: handleClick
|
|
5412
5417
|
},
|
|
5413
5418
|
/* @__PURE__ */ React.createElement(
|
|
5414
5419
|
"div",
|
|
5415
5420
|
{
|
|
5416
|
-
className: `${classPrefix2}
|
|
5421
|
+
className: `${classPrefix2}-title ${classPrefix2}-border-bt`,
|
|
5417
5422
|
style: { paddingLeft: `${indent}px` }
|
|
5418
5423
|
},
|
|
5419
5424
|
title,
|
|
@@ -5424,7 +5429,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5424
5429
|
}
|
|
5425
5430
|
)
|
|
5426
5431
|
),
|
|
5427
|
-
/* @__PURE__ */ React.createElement(OffsetContext.Provider, { value: indent }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5432
|
+
/* @__PURE__ */ React.createElement(OffsetContext.Provider, { value: indent }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, children))
|
|
5428
5433
|
)))
|
|
5429
5434
|
);
|
|
5430
5435
|
};
|
|
@@ -5440,7 +5445,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5440
5445
|
return /* @__PURE__ */ React.createElement(
|
|
5441
5446
|
"div",
|
|
5442
5447
|
{
|
|
5443
|
-
className: `${classPrefix2}
|
|
5448
|
+
className: `${classPrefix2}-item ${classPrefix2}-border-bt`,
|
|
5444
5449
|
onClick: clickFn,
|
|
5445
5450
|
...rest
|
|
5446
5451
|
},
|
|
@@ -5462,7 +5467,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5462
5467
|
const setListLevel = React.useCallback(
|
|
5463
5468
|
(nodeList, level = 1) => {
|
|
5464
5469
|
const titleClass = nodeList[0].className;
|
|
5465
|
-
if (titleClass.includes(`${classPrefix2}
|
|
5470
|
+
if (titleClass.includes(`${classPrefix2}-title`)) {
|
|
5466
5471
|
const left2 = offset * (level + 1);
|
|
5467
5472
|
nodeList[0].style.paddingLeft = `${left2}px`;
|
|
5468
5473
|
}
|
|
@@ -5471,11 +5476,11 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5471
5476
|
);
|
|
5472
5477
|
childNodes.forEach((item) => {
|
|
5473
5478
|
const itemClass = item.className;
|
|
5474
|
-
if (itemClass.includes(`${classPrefix2}
|
|
5479
|
+
if (itemClass.includes(`${classPrefix2}-item`)) {
|
|
5475
5480
|
const left2 = offset * (level + 2);
|
|
5476
5481
|
item.style.paddingLeft = `${left2}px`;
|
|
5477
5482
|
}
|
|
5478
|
-
if (itemClass.includes(`${classPrefix2}
|
|
5483
|
+
if (itemClass.includes(`${classPrefix2}-list`)) {
|
|
5479
5484
|
let level2 = item.getAttribute("level") ? Number(item.getAttribute("level")) : 1;
|
|
5480
5485
|
level2 += 1;
|
|
5481
5486
|
item.setAttribute("level", level2.toString());
|
|
@@ -5497,9 +5502,9 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5497
5502
|
(_b = listRef.current) == null ? void 0 : _b.setAttribute("level", "1");
|
|
5498
5503
|
childNodes && setListLevel(childNodes);
|
|
5499
5504
|
}, [setListLevel]);
|
|
5500
|
-
const divClass = subShow ? `${classPrefix2}
|
|
5505
|
+
const divClass = subShow ? `${classPrefix2}-list sidenavbar-show` : `${classPrefix2}-list sidenavbar-hide`;
|
|
5501
5506
|
const iconClass = subShow ? "arrow-icon arrow-down" : "arrow-icon arrow-up";
|
|
5502
|
-
return /* @__PURE__ */ React.createElement("div", { className: divClass, ref: listRef, onClick: clickFn, ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5507
|
+
return /* @__PURE__ */ React.createElement("div", { className: divClass, ref: listRef, onClick: clickFn, ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title ${classPrefix2}-border-bt` }, title, " ", /* @__PURE__ */ React.createElement("i", { className: iconClass })), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, children));
|
|
5503
5508
|
};
|
|
5504
5509
|
function useForceUpdate() {
|
|
5505
5510
|
const [, updateState] = React.useState();
|
|
@@ -5569,11 +5574,11 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5569
5574
|
return value;
|
|
5570
5575
|
}
|
|
5571
5576
|
const contentClasses = classNames(
|
|
5572
|
-
{ [`${classPrefix2}
|
|
5573
|
-
`${classPrefix2}
|
|
5574
|
-
{ [`${classPrefix2}
|
|
5577
|
+
{ [`${classPrefix2}-dot`]: dot },
|
|
5578
|
+
`${classPrefix2}-content`,
|
|
5579
|
+
{ [`${classPrefix2}-sup`]: isNumber() || isString() || dot },
|
|
5575
5580
|
{
|
|
5576
|
-
[`${classPrefix2}
|
|
5581
|
+
[`${classPrefix2}-one`]: typeof content() === "string" && ((_a = `${content()}`) == null ? void 0 : _a.length) === 1
|
|
5577
5582
|
}
|
|
5578
5583
|
);
|
|
5579
5584
|
const getStyle = () => {
|
|
@@ -5583,7 +5588,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5583
5588
|
style2.background = color;
|
|
5584
5589
|
return style2;
|
|
5585
5590
|
};
|
|
5586
|
-
return /* @__PURE__ */ React.createElement("div", { className: classes, style }, isIcon() && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5591
|
+
return /* @__PURE__ */ React.createElement("div", { className: classes, style }, isIcon() && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon` }, value), children, !isIcon() && /* @__PURE__ */ React.createElement("div", { className: contentClasses, style: getStyle() }, content()));
|
|
5587
5592
|
};
|
|
5588
5593
|
Badge.defaultProps = defaultProps$1e;
|
|
5589
5594
|
Badge.displayName = "NutBadge";
|
|
@@ -5628,7 +5633,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5628
5633
|
},
|
|
5629
5634
|
className
|
|
5630
5635
|
);
|
|
5631
|
-
const boxPrefix = `${classPrefix2}
|
|
5636
|
+
const boxPrefix = `${classPrefix2}-icon-box`;
|
|
5632
5637
|
const titleClass = classNames(boxPrefix, `${boxPrefix}-nav`, {
|
|
5633
5638
|
[`${boxPrefix}-large`]: !icon
|
|
5634
5639
|
});
|
|
@@ -5693,13 +5698,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5693
5698
|
className: classNames(
|
|
5694
5699
|
classPrefix2,
|
|
5695
5700
|
{
|
|
5696
|
-
[`${classPrefix2}
|
|
5701
|
+
[`${classPrefix2}-fixed`]: fixed
|
|
5697
5702
|
},
|
|
5698
5703
|
className
|
|
5699
5704
|
),
|
|
5700
5705
|
style
|
|
5701
5706
|
},
|
|
5702
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5707
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-wrap` }, React.Children.map(children, (child, idx) => {
|
|
5703
5708
|
if (!React.isValidElement(child)) {
|
|
5704
5709
|
return null;
|
|
5705
5710
|
}
|
|
@@ -5713,7 +5718,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
5713
5718
|
};
|
|
5714
5719
|
return React.cloneElement(child, childProps);
|
|
5715
5720
|
})),
|
|
5716
|
-
(fixed || safeArea) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
5721
|
+
(fixed || safeArea) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-safe-area` })
|
|
5717
5722
|
);
|
|
5718
5723
|
};
|
|
5719
5724
|
Tabbar.defaultProps = defaultProps$1c;
|
|
@@ -6028,7 +6033,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
6028
6033
|
item.selectedAddress = true;
|
|
6029
6034
|
onSelect && onSelect(item);
|
|
6030
6035
|
};
|
|
6031
|
-
const onClick = () => {
|
|
6036
|
+
const onClick = (e2) => {
|
|
6037
|
+
e2.stopPropagation();
|
|
6032
6038
|
onSwitch && onSwitch({ type: type2 === "exist" ? "custom" : "exist" });
|
|
6033
6039
|
};
|
|
6034
6040
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("ul", { className: `${classPrefix2}-exist` }, existList.map((item, index) => {
|
|
@@ -6037,9 +6043,12 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
6037
6043
|
{
|
|
6038
6044
|
className: `${classPrefix2}-exist-item ${item.selectedAddress ? "active" : ""}`,
|
|
6039
6045
|
key: index,
|
|
6040
|
-
onClick: () =>
|
|
6046
|
+
onClick: (e2) => {
|
|
6047
|
+
e2.stopPropagation();
|
|
6048
|
+
selectedExist(item);
|
|
6049
|
+
}
|
|
6041
6050
|
},
|
|
6042
|
-
item.selectedAddress ? /* @__PURE__ */ React.createElement(React.Fragment, null, React.isValidElement(selectIcon) ? selectIcon : /* @__PURE__ */ React.createElement(
|
|
6051
|
+
item.selectedAddress ? /* @__PURE__ */ React.createElement(React.Fragment, null, React.isValidElement(selectIcon) ? selectIcon : /* @__PURE__ */ React.createElement(m$6, { color: "#FA2C19" })) : /* @__PURE__ */ React.createElement(React.Fragment, null, React.isValidElement(defaultIcon) ? defaultIcon : /* @__PURE__ */ React.createElement(n, null)),
|
|
6043
6052
|
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-exist-item-info` }, item.name && item.phone && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", null, item.name), /* @__PURE__ */ React.createElement("div", null, item.phone)), /* @__PURE__ */ React.createElement("div", null, item.provinceName + item.cityName + item.countyName + item.townName + item.addressDetail))
|
|
6044
6053
|
);
|
|
6045
6054
|
})), (custom || custom && locale.address.chooseAnotherAddress) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer`, onClick }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-btn` }, custom)));
|
|
@@ -6435,7 +6444,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
6435
6444
|
classPrefix22
|
|
6436
6445
|
);
|
|
6437
6446
|
const classesTitle = classNames({
|
|
6438
|
-
[`${classPrefix22}
|
|
6447
|
+
[`${classPrefix22}-title`]: true
|
|
6439
6448
|
});
|
|
6440
6449
|
const renderIcon = () => {
|
|
6441
6450
|
if (checked) {
|
|
@@ -6445,7 +6454,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
6445
6454
|
return /* @__PURE__ */ React.createElement(
|
|
6446
6455
|
e$6,
|
|
6447
6456
|
{
|
|
6448
|
-
className: `${checked ? `${classPrefix2}
|
|
6457
|
+
className: `${checked ? `${classPrefix2}-icon-check` : ""}`
|
|
6449
6458
|
}
|
|
6450
6459
|
);
|
|
6451
6460
|
}
|
|
@@ -6462,13 +6471,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
6462
6471
|
}
|
|
6463
6472
|
},
|
|
6464
6473
|
/* @__PURE__ */ React.createElement("div", { className: classesTitle }, node.text),
|
|
6465
|
-
node.loading ? /* @__PURE__ */ React.createElement(
|
|
6466
|
-
m$3,
|
|
6467
|
-
{
|
|
6468
|
-
color: "#969799",
|
|
6469
|
-
className: "nut-cascader-item__icon-loading"
|
|
6470
|
-
}
|
|
6471
|
-
) : renderIcon()
|
|
6474
|
+
node.loading ? /* @__PURE__ */ React.createElement(m$3, { color: "#969799", className: "nut-cascader-item-icon-loading" }) : renderIcon()
|
|
6472
6475
|
);
|
|
6473
6476
|
};
|
|
6474
6477
|
const renderTabs = () => {
|
|
@@ -8850,21 +8853,23 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
8850
8853
|
}, 0);
|
|
8851
8854
|
};
|
|
8852
8855
|
const renderTitleBar = () => {
|
|
8853
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
8856
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-control` }, /* @__PURE__ */ React.createElement(
|
|
8854
8857
|
"span",
|
|
8855
8858
|
{
|
|
8856
|
-
className: `${classPrefix2}
|
|
8859
|
+
className: `${classPrefix2}-cancel-btn`,
|
|
8857
8860
|
onClick: (e2) => {
|
|
8861
|
+
e2.stopPropagation();
|
|
8858
8862
|
onCancel == null ? void 0 : onCancel();
|
|
8859
8863
|
setInnerVisible(false);
|
|
8860
8864
|
}
|
|
8861
8865
|
},
|
|
8862
8866
|
locale.cancel
|
|
8863
|
-
), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
8867
|
+
), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title` }, title || ""), /* @__PURE__ */ React.createElement(
|
|
8864
8868
|
"span",
|
|
8865
8869
|
{
|
|
8866
|
-
className: `${classPrefix2}
|
|
8870
|
+
className: `${classPrefix2}-confirm-btn`,
|
|
8867
8871
|
onClick: (e2) => {
|
|
8872
|
+
e2.stopPropagation();
|
|
8868
8873
|
confirm();
|
|
8869
8874
|
}
|
|
8870
8875
|
},
|
|
@@ -8910,7 +8915,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
8910
8915
|
afterClose == null ? void 0 : afterClose(setSelectedOptions(), innerValue, pickerRef);
|
|
8911
8916
|
}
|
|
8912
8917
|
},
|
|
8913
|
-
/* @__PURE__ */ React.createElement(components.View, { className: classes, style, ...rest, catchMove: true }, renderTitleBar(), typeof children !== "function" && children, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
8918
|
+
/* @__PURE__ */ React.createElement(components.View, { className: classes, style, ...rest, catchMove: true }, renderTitleBar(), typeof children !== "function" && children, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-panel`, ref: pickerRef }, Taro.getEnv() === "WEB" ? columnsList == null ? void 0 : columnsList.map((item, index) => {
|
|
8914
8919
|
return /* @__PURE__ */ React.createElement(
|
|
8915
8920
|
PickerPanel$1,
|
|
8916
8921
|
{
|
|
@@ -10682,6 +10687,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
10682
10687
|
});
|
|
10683
10688
|
__publicField(this, "onStoreChange", (type2) => {
|
|
10684
10689
|
if (type2 === "reset") {
|
|
10690
|
+
this.context.errors[this.props.name] = [];
|
|
10685
10691
|
this.refresh();
|
|
10686
10692
|
} else {
|
|
10687
10693
|
this.forceUpdate();
|
|
@@ -10713,14 +10719,14 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
10713
10719
|
style,
|
|
10714
10720
|
onClick: (e2) => this.props.onClick && this.props.onClick(e2, this.componentRef)
|
|
10715
10721
|
},
|
|
10716
|
-
label ? /* @__PURE__ */ React.createElement("div", { className: "nut-cell-title nut-form-
|
|
10717
|
-
/* @__PURE__ */ React.createElement("div", { className: "nut-cell-value nut-form-
|
|
10722
|
+
label ? /* @__PURE__ */ React.createElement("div", { className: "nut-cell-title nut-form-item-label" }, renderLabel) : null,
|
|
10723
|
+
/* @__PURE__ */ React.createElement("div", { className: "nut-cell-value nut-form-item-body" }, /* @__PURE__ */ React.createElement("div", { className: "nut-form-item-body-slots" }, childNode), /* @__PURE__ */ React.createElement(
|
|
10718
10724
|
"div",
|
|
10719
10725
|
{
|
|
10720
|
-
className: "nut-form-
|
|
10726
|
+
className: "nut-form-item-body-tips",
|
|
10721
10727
|
style: {
|
|
10722
10728
|
textAlign: errorMessageAlign,
|
|
10723
|
-
display: (item == null ? void 0 : item.length) ? "
|
|
10729
|
+
display: (item == null ? void 0 : item.length) ? "initial" : "none"
|
|
10724
10730
|
}
|
|
10725
10731
|
},
|
|
10726
10732
|
(_a = item == null ? void 0 : item[0]) == null ? void 0 : _a.message
|
|
@@ -11384,7 +11390,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
11384
11390
|
}
|
|
11385
11391
|
},
|
|
11386
11392
|
item.value === innerValue ? /* @__PURE__ */ React.createElement(React.Fragment, null, icon || /* @__PURE__ */ React.createElement(
|
|
11387
|
-
|
|
11393
|
+
m$6,
|
|
11388
11394
|
{
|
|
11389
11395
|
color: activeColor,
|
|
11390
11396
|
size: 10,
|
|
@@ -11533,7 +11539,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
11533
11539
|
}
|
|
11534
11540
|
},
|
|
11535
11541
|
/* @__PURE__ */ React.createElement("div", { className: "nut-menu-title-text" }, finallyTitle()),
|
|
11536
|
-
icon || (direction === "up" ? /* @__PURE__ */ React.createElement(m$
|
|
11542
|
+
icon || (direction === "up" ? /* @__PURE__ */ React.createElement(m$8, { className: "nut-menu-title-icon", size: "12px" }) : /* @__PURE__ */ React.createElement(n$2, { className: "nut-menu-title-icon", size: "12px" }))
|
|
11537
11543
|
);
|
|
11538
11544
|
}
|
|
11539
11545
|
return null;
|
|
@@ -11675,6 +11681,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
11675
11681
|
position: "bottom",
|
|
11676
11682
|
onOverlayClick: onClose,
|
|
11677
11683
|
onCloseIconClick: onClose,
|
|
11684
|
+
zIndex: 9999,
|
|
11678
11685
|
overlayStyle: { backgroundColor: "rgba(0, 0, 0, 0)" },
|
|
11679
11686
|
...rest
|
|
11680
11687
|
},
|
|
@@ -11882,7 +11889,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
11882
11889
|
return React.isValidElement(activeIcon2) ? React.cloneElement(activeIcon2, {
|
|
11883
11890
|
...activeIcon2.props,
|
|
11884
11891
|
className: classNames(color())
|
|
11885
|
-
}) : /* @__PURE__ */ React.createElement(m$
|
|
11892
|
+
}) : /* @__PURE__ */ React.createElement(m$7, { className: classNames(color()) });
|
|
11886
11893
|
}
|
|
11887
11894
|
return React.isValidElement(icon2) ? React.cloneElement(icon2, {
|
|
11888
11895
|
...icon2.props,
|
|
@@ -12308,8 +12315,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12308
12315
|
/* @__PURE__ */ React.createElement(
|
|
12309
12316
|
"div",
|
|
12310
12317
|
{
|
|
12311
|
-
className: classNames(`${classPrefix2}-
|
|
12312
|
-
[`${classPrefix2}-
|
|
12318
|
+
className: classNames(`${classPrefix2}-item-icon`, {
|
|
12319
|
+
[`${classPrefix2}-item-icon-disabled`]: disabled || n2 > score
|
|
12313
12320
|
})
|
|
12314
12321
|
},
|
|
12315
12322
|
renderIcon(n2)
|
|
@@ -12318,9 +12325,9 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12318
12325
|
"div",
|
|
12319
12326
|
{
|
|
12320
12327
|
className: classNames(
|
|
12321
|
-
`${classPrefix2}-
|
|
12322
|
-
`${classPrefix2}-
|
|
12323
|
-
`${classPrefix2}-
|
|
12328
|
+
`${classPrefix2}-item-half`,
|
|
12329
|
+
`${classPrefix2}-item-icon`,
|
|
12330
|
+
`${classPrefix2}-item-icon-half`
|
|
12324
12331
|
),
|
|
12325
12332
|
onClick: (event) => onHalfClick(event, n2)
|
|
12326
12333
|
},
|
|
@@ -12407,7 +12414,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12407
12414
|
return /* @__PURE__ */ React.createElement(
|
|
12408
12415
|
"input",
|
|
12409
12416
|
{
|
|
12410
|
-
className: `${classPrefix2}
|
|
12417
|
+
className: `${classPrefix2}-input ${clearable ? `${classPrefix2}-input-clear` : ""}`,
|
|
12411
12418
|
ref: searchRef,
|
|
12412
12419
|
style: { ...props.style },
|
|
12413
12420
|
value: value || "",
|
|
@@ -12429,28 +12436,28 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12429
12436
|
const renderLeftIn = () => {
|
|
12430
12437
|
if (!leftIn)
|
|
12431
12438
|
return null;
|
|
12432
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12439
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-leftin ${classPrefix2}-icon` }, leftIn);
|
|
12433
12440
|
};
|
|
12434
12441
|
const renderLeft = () => {
|
|
12435
12442
|
if (!backable && !left2)
|
|
12436
12443
|
return null;
|
|
12437
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12444
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-left` }, backable ? /* @__PURE__ */ React.createElement(a$4, { size: "20" }) : left2);
|
|
12438
12445
|
};
|
|
12439
12446
|
const renderRightIn = () => {
|
|
12440
12447
|
if (!rightIn)
|
|
12441
12448
|
return null;
|
|
12442
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12449
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-rightin ${classPrefix2}-icon` }, rightIn);
|
|
12443
12450
|
};
|
|
12444
12451
|
const renderRight = () => {
|
|
12445
12452
|
if (!right2)
|
|
12446
12453
|
return null;
|
|
12447
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12454
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-right` }, right2);
|
|
12448
12455
|
};
|
|
12449
12456
|
const handleClear = () => {
|
|
12450
12457
|
return /* @__PURE__ */ React.createElement(
|
|
12451
12458
|
"div",
|
|
12452
12459
|
{
|
|
12453
|
-
className: `${classPrefix2}
|
|
12460
|
+
className: `${classPrefix2}-clear ${classPrefix2}-icon`,
|
|
12454
12461
|
onClick: (e2) => clearaVal(e2)
|
|
12455
12462
|
},
|
|
12456
12463
|
/* @__PURE__ */ React.createElement(e$3, { size: 20 })
|
|
@@ -12475,17 +12482,17 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12475
12482
|
return /* @__PURE__ */ React.createElement(
|
|
12476
12483
|
"div",
|
|
12477
12484
|
{
|
|
12478
|
-
className: `${classPrefix2} ${disabled ? `${classPrefix2}
|
|
12485
|
+
className: `${classPrefix2} ${disabled ? `${classPrefix2}-disabled` : ""} ${className || ""}`,
|
|
12479
12486
|
style: { ...props.style }
|
|
12480
12487
|
},
|
|
12481
12488
|
renderLeft(),
|
|
12482
12489
|
/* @__PURE__ */ React.createElement(
|
|
12483
12490
|
"div",
|
|
12484
12491
|
{
|
|
12485
|
-
className: `${classPrefix2}
|
|
12492
|
+
className: `${classPrefix2}-content ${shape === "round" ? `${classPrefix2}-round` : ""}`
|
|
12486
12493
|
},
|
|
12487
12494
|
renderLeftIn(),
|
|
12488
|
-
/* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
12495
|
+
/* @__PURE__ */ React.createElement("div", { className: "nut-searchbar-input-box" }, renderField()),
|
|
12489
12496
|
clearable && !value && renderRightIn(),
|
|
12490
12497
|
clearable && value && handleClear()
|
|
12491
12498
|
),
|
|
@@ -12571,21 +12578,9 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12571
12578
|
onCloseIconClick: onClose,
|
|
12572
12579
|
...rest
|
|
12573
12580
|
},
|
|
12574
|
-
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), style }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12575
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12576
|
-
|
|
12577
|
-
{
|
|
12578
|
-
className: `${classPrefix2}__input-fake__li__icon`
|
|
12579
|
-
}
|
|
12580
|
-
)));
|
|
12581
|
-
}))), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}__message` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}__message__error` }, error), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}__message__forget`, onClick: onTips }, tips || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(a$2, { width: 11, height: 11, style: { marginRight: "3px" } }), locale.shortpassword.tips))), !hideFooter && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}__footer` }, /* @__PURE__ */ React.createElement(
|
|
12582
|
-
"div",
|
|
12583
|
-
{
|
|
12584
|
-
className: `${classPrefix2}__footer__cancel`,
|
|
12585
|
-
onClick: onCancel
|
|
12586
|
-
},
|
|
12587
|
-
locale.cancel
|
|
12588
|
-
), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}__footer__sure`, onClick: sure }, locale.confirm)))
|
|
12581
|
+
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), style }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title` }, title || locale.shortpassword.title), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-description` }, description || locale.shortpassword.description), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input`, onClick: onFocus }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-site` }), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake` }, [...new Array(comLen).keys()].map((item, index) => {
|
|
12582
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake-li`, key: index }, inputValue.length > index && /* @__PURE__ */ React.createElement(React.Fragment, null, plain ? inputValue[index] : /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-input-fake-li-icon` })));
|
|
12583
|
+
}))), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-error` }, error), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-message-forget`, onClick: onTips }, tips || /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(a$2, { width: 11, height: 11, style: { marginRight: "3px" } }), locale.shortpassword.tips))), !hideFooter && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-cancel`, onClick: onCancel }, locale.cancel), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-footer-sure`, onClick: sure }, locale.confirm)))
|
|
12589
12584
|
);
|
|
12590
12585
|
};
|
|
12591
12586
|
ShortPassword.defaultProps = defaultProps$O;
|
|
@@ -12730,7 +12725,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12730
12725
|
React.useEffect(() => {
|
|
12731
12726
|
initCanvas();
|
|
12732
12727
|
}, []);
|
|
12733
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12728
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, ...rest }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-inner spcanvas_WEAPP`, ref: wrapRef }, Taro.getEnv() === "WEAPP" || Taro.getEnv() === "JD" ? /* @__PURE__ */ React.createElement(
|
|
12734
12729
|
"canvas",
|
|
12735
12730
|
{
|
|
12736
12731
|
id: canvasId,
|
|
@@ -12882,7 +12877,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12882
12877
|
className: classNames(
|
|
12883
12878
|
classPrefix2,
|
|
12884
12879
|
{
|
|
12885
|
-
[`${classPrefix2}
|
|
12880
|
+
[`${classPrefix2}-disabled`]: disabled
|
|
12886
12881
|
},
|
|
12887
12882
|
className
|
|
12888
12883
|
)
|
|
@@ -12901,7 +12896,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12901
12896
|
compositionRef.current = false;
|
|
12902
12897
|
}
|
|
12903
12898
|
},
|
|
12904
|
-
className: `${classPrefix2}
|
|
12899
|
+
className: `${classPrefix2}-textarea`,
|
|
12905
12900
|
style: Taro.getEnv() === "WEB" ? void 0 : style,
|
|
12906
12901
|
disabled: Taro.getEnv() === "WEB" ? disabled : disabled || readOnly,
|
|
12907
12902
|
value: inputValue,
|
|
@@ -12914,7 +12909,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
12914
12909
|
...rest
|
|
12915
12910
|
}
|
|
12916
12911
|
),
|
|
12917
|
-
showCount && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
12912
|
+
showCount && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-limit` }, inputValue.length, "/", maxLength < 0 ? 0 : maxLength)
|
|
12918
12913
|
);
|
|
12919
12914
|
};
|
|
12920
12915
|
TextArea.defaultProps = defaultProps$L;
|
|
@@ -13150,7 +13145,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13150
13145
|
children || /* @__PURE__ */ React.createElement(
|
|
13151
13146
|
"div",
|
|
13152
13147
|
{
|
|
13153
|
-
className: `${classPrefix2}-
|
|
13148
|
+
className: `${classPrefix2}-text-inner`,
|
|
13154
13149
|
style: {
|
|
13155
13150
|
background: color
|
|
13156
13151
|
}
|
|
@@ -13182,7 +13177,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13182
13177
|
return /* @__PURE__ */ React.createElement(
|
|
13183
13178
|
"div",
|
|
13184
13179
|
{
|
|
13185
|
-
className: `nut-
|
|
13180
|
+
className: `nut-uploader-preview ${previewType}`,
|
|
13186
13181
|
key: item.uid
|
|
13187
13182
|
},
|
|
13188
13183
|
previewType === "picture" && deletable && /* @__PURE__ */ React.createElement(
|
|
@@ -13193,10 +13188,10 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13193
13188
|
onClick: () => onDeleteItem(item, index)
|
|
13194
13189
|
}
|
|
13195
13190
|
),
|
|
13196
|
-
previewType === "picture" && !children && /* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
13191
|
+
previewType === "picture" && !children && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-img" }, item.status === "ready" ? /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-progress" }, /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-progress-msg" }, item.message)) : item.status !== "success" && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-progress" }, renderIcon(item), /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-progress-msg" }, item.message)), ((_a = item.type) == null ? void 0 : _a.includes("image")) ? /* @__PURE__ */ React.createElement(React.Fragment, null, item.url && /* @__PURE__ */ React.createElement(
|
|
13197
13192
|
components.Image,
|
|
13198
13193
|
{
|
|
13199
|
-
className: "nut-
|
|
13194
|
+
className: "nut-uploader-preview-img-c",
|
|
13200
13195
|
style: { objectFit: "fill" },
|
|
13201
13196
|
mode: "aspectFit",
|
|
13202
13197
|
src: item.url,
|
|
@@ -13205,24 +13200,24 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13205
13200
|
)) : /* @__PURE__ */ React.createElement(React.Fragment, null, previewUrl ? /* @__PURE__ */ React.createElement(
|
|
13206
13201
|
components.Image,
|
|
13207
13202
|
{
|
|
13208
|
-
className: "nut-
|
|
13203
|
+
className: "nut-uploader-preview-img-c",
|
|
13209
13204
|
mode: "aspectFit",
|
|
13210
13205
|
src: previewUrl,
|
|
13211
13206
|
onClick: () => handleItemClick(item, index)
|
|
13212
13207
|
}
|
|
13213
|
-
) : /* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
13208
|
+
) : /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-img-file" }, /* @__PURE__ */ React.createElement(
|
|
13214
13209
|
"div",
|
|
13215
13210
|
{
|
|
13216
13211
|
onClick: () => handleItemClick(item, index),
|
|
13217
|
-
className: "nut-
|
|
13212
|
+
className: "nut-uploader-preview-img-file-name"
|
|
13218
13213
|
},
|
|
13219
13214
|
/* @__PURE__ */ React.createElement(t$2, { color: "#808080" }),
|
|
13220
13215
|
/* @__PURE__ */ React.createElement("span", null, " ", item.name)
|
|
13221
13216
|
))), item.status === "success" ? /* @__PURE__ */ React.createElement("div", { className: "tips" }, item.name) : null),
|
|
13222
|
-
previewType === "list" && /* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
13217
|
+
previewType === "list" && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-preview-list" }, /* @__PURE__ */ React.createElement(
|
|
13223
13218
|
"div",
|
|
13224
13219
|
{
|
|
13225
|
-
className: `nut-
|
|
13220
|
+
className: `nut-uploader-preview-img-file-name ${item.status}`,
|
|
13226
13221
|
onClick: () => handleItemClick(item, index)
|
|
13227
13222
|
},
|
|
13228
13223
|
/* @__PURE__ */ React.createElement(t$2, null),
|
|
@@ -13231,7 +13226,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13231
13226
|
t$4,
|
|
13232
13227
|
{
|
|
13233
13228
|
color: "#808080",
|
|
13234
|
-
className: "nut-
|
|
13229
|
+
className: "nut-uploader-preview-img-file-del",
|
|
13235
13230
|
onClick: () => onDeleteItem(item, index)
|
|
13236
13231
|
}
|
|
13237
13232
|
), item.status === "uploading" && /* @__PURE__ */ React.createElement(
|
|
@@ -13573,7 +13568,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13573
13568
|
const handleItemClick = (file, index) => {
|
|
13574
13569
|
onFileItemClick == null ? void 0 : onFileItemClick(file, index);
|
|
13575
13570
|
};
|
|
13576
|
-
return /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps }, (children || previewType === "list") && /* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
13571
|
+
return /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps }, (children || previewType === "list") && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-slot" }, /* @__PURE__ */ React.createElement(React.Fragment, null, children || /* @__PURE__ */ React.createElement(Button$1, { size: "small", type: "primary" }, "上传文件"), maxCount > fileList.length && /* @__PURE__ */ React.createElement(Button$1, { className: "nut-uploader-input", onClick: _chooseImage }))), /* @__PURE__ */ React.createElement(
|
|
13577
13572
|
Preview,
|
|
13578
13573
|
{
|
|
13579
13574
|
...{
|
|
@@ -13589,10 +13584,10 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13589
13584
|
), maxCount > fileList.length && previewType === "picture" && !children && /* @__PURE__ */ React.createElement(
|
|
13590
13585
|
"div",
|
|
13591
13586
|
{
|
|
13592
|
-
className: `nut-
|
|
13587
|
+
className: `nut-uploader-upload ${previewType} ${disabled ? "nut-uploader-upload-disabled" : ""}`
|
|
13593
13588
|
},
|
|
13594
|
-
/* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
13595
|
-
/* @__PURE__ */ React.createElement(Button$1, { className: "nut-
|
|
13589
|
+
/* @__PURE__ */ React.createElement("div", { className: "nut-uploader-icon" }, uploadIcon, /* @__PURE__ */ React.createElement("span", { className: "nut-uploader-icon-tip" }, uploadLabel)),
|
|
13590
|
+
/* @__PURE__ */ React.createElement(Button$1, { className: "nut-uploader-input", onClick: _chooseImage })
|
|
13596
13591
|
));
|
|
13597
13592
|
};
|
|
13598
13593
|
const Uploader = React.forwardRef(InternalUploader);
|
|
@@ -13647,21 +13642,21 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13647
13642
|
onCancel && onCancel();
|
|
13648
13643
|
}
|
|
13649
13644
|
},
|
|
13650
|
-
/* @__PURE__ */ React.createElement("div", { className: `${className}`, style }, options.length ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
13645
|
+
/* @__PURE__ */ React.createElement("div", { className: `${className}`, style }, options.length ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-list` }, options.map((item, index) => {
|
|
13651
13646
|
return /* @__PURE__ */ React.createElement(
|
|
13652
13647
|
"div",
|
|
13653
13648
|
{
|
|
13654
|
-
className: `${classPrefix2}
|
|
13649
|
+
className: `${classPrefix2}-item ${item.disabled ? "disabled" : ""} ${item.danger ? "danger" : ""}`,
|
|
13655
13650
|
key: index,
|
|
13656
13651
|
onClick: () => chooseItem(item, index)
|
|
13657
13652
|
},
|
|
13658
13653
|
item[optionKey.name],
|
|
13659
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
13654
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-item-description` }, item[optionKey.description])
|
|
13660
13655
|
);
|
|
13661
13656
|
})) : children, cancelText && /* @__PURE__ */ React.createElement(
|
|
13662
13657
|
"div",
|
|
13663
13658
|
{
|
|
13664
|
-
className: `${classPrefix2}
|
|
13659
|
+
className: `${classPrefix2}-cancel`,
|
|
13665
13660
|
onClick: () => cancelActionSheet()
|
|
13666
13661
|
},
|
|
13667
13662
|
cancelText
|
|
@@ -13674,13 +13669,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13674
13669
|
const { visible, title, header, footer, footerDirection, onClick, children } = props;
|
|
13675
13670
|
const classPrefix2 = "nut-dialog";
|
|
13676
13671
|
const renderHeader = () => {
|
|
13677
|
-
return title ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
13672
|
+
return title ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-header` }, title) : null;
|
|
13678
13673
|
};
|
|
13679
13674
|
const renderFooter = () => {
|
|
13680
13675
|
return footer ? /* @__PURE__ */ React.createElement(
|
|
13681
13676
|
"div",
|
|
13682
13677
|
{
|
|
13683
|
-
className: classNames(`${classPrefix2}
|
|
13678
|
+
className: classNames(`${classPrefix2}-footer`, {
|
|
13684
13679
|
[footerDirection]: footerDirection
|
|
13685
13680
|
})
|
|
13686
13681
|
},
|
|
@@ -13693,7 +13688,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13693
13688
|
return /* @__PURE__ */ React.createElement(
|
|
13694
13689
|
"div",
|
|
13695
13690
|
{
|
|
13696
|
-
className: classNames(`${classPrefix2}
|
|
13691
|
+
className: classNames(`${classPrefix2}-outer`, props.className),
|
|
13697
13692
|
style: props.style,
|
|
13698
13693
|
onClick: (e2) => handleClick(e2)
|
|
13699
13694
|
},
|
|
@@ -13705,7 +13700,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13705
13700
|
style: { display: visible ? "flex" : "none" }
|
|
13706
13701
|
},
|
|
13707
13702
|
renderHeader(),
|
|
13708
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
13703
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, /* @__PURE__ */ React.createElement(React.Fragment, null, children)),
|
|
13709
13704
|
renderFooter()
|
|
13710
13705
|
)
|
|
13711
13706
|
);
|
|
@@ -13833,7 +13828,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13833
13828
|
Button$1,
|
|
13834
13829
|
{
|
|
13835
13830
|
type: "default",
|
|
13836
|
-
className: `${classPrefix2}
|
|
13831
|
+
className: `${classPrefix2}-footer-cancel`,
|
|
13837
13832
|
onClick: (e2) => handleCancel(e2)
|
|
13838
13833
|
},
|
|
13839
13834
|
cancelText || locale.cancel
|
|
@@ -13841,7 +13836,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
13841
13836
|
Button$1,
|
|
13842
13837
|
{
|
|
13843
13838
|
type: "primary",
|
|
13844
|
-
className: classNames(`${classPrefix2}
|
|
13839
|
+
className: classNames(`${classPrefix2}-footer-ok`, {
|
|
13845
13840
|
disabled: disableConfirmButton
|
|
13846
13841
|
}),
|
|
13847
13842
|
disabled: disableConfirmButton,
|
|
@@ -14773,15 +14768,15 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
14773
14768
|
type: nativeType,
|
|
14774
14769
|
className: classNames(
|
|
14775
14770
|
prefixCls,
|
|
14776
|
-
`${prefixCls}
|
|
14777
|
-
props.fill ? `${prefixCls}
|
|
14778
|
-
children ? "" : `${prefixCls}
|
|
14771
|
+
`${prefixCls}-${type2}`,
|
|
14772
|
+
props.fill ? `${prefixCls}-${fill}` : null,
|
|
14773
|
+
children ? "" : `${prefixCls}-icononly`,
|
|
14779
14774
|
{
|
|
14780
|
-
[`${prefixCls}
|
|
14781
|
-
[`${prefixCls}
|
|
14782
|
-
[`${prefixCls}
|
|
14783
|
-
[`${prefixCls}
|
|
14784
|
-
[`${prefixCls}
|
|
14775
|
+
[`${prefixCls}-${size}`]: size,
|
|
14776
|
+
[`${prefixCls}-${shape}`]: shape,
|
|
14777
|
+
[`${prefixCls}-block`]: block,
|
|
14778
|
+
[`${prefixCls}-disabled`]: disabled,
|
|
14779
|
+
[`${prefixCls}-loading`]: loading
|
|
14785
14780
|
},
|
|
14786
14781
|
className
|
|
14787
14782
|
),
|
|
@@ -15000,7 +14995,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15000
14995
|
},
|
|
15001
14996
|
/* @__PURE__ */ React.createElement("div", { className: "nut-infinite-top", ref: refreshTop, style: getStyle() }, /* @__PURE__ */ React.createElement("div", { className: "top-box" }, pullingText || locale.infiniteloading.pullRefreshText)),
|
|
15002
14997
|
/* @__PURE__ */ React.createElement("div", { className: "nut-infinite-container" }, children),
|
|
15003
|
-
/* @__PURE__ */ React.createElement("div", { className: "nut-infinite-bottom" }, isInfiniting ? /* @__PURE__ */ React.createElement("div", { className: "bottom-box" }, loadingText || locale.infiniteloading.loadText) : !hasMore && /* @__PURE__ */ React.createElement("div", { className: "
|
|
14998
|
+
/* @__PURE__ */ React.createElement("div", { className: "nut-infinite-bottom" }, isInfiniting ? /* @__PURE__ */ React.createElement("div", { className: "bottom-box" }, loadingText || locale.infiniteloading.loadText) : !hasMore && /* @__PURE__ */ React.createElement("div", { className: "bottom-box" }, loadMoreText || locale.infiniteloading.loadMoreText))
|
|
15004
14999
|
);
|
|
15005
15000
|
};
|
|
15006
15001
|
InfiniteLoading.defaultProps = defaultProps$D;
|
|
@@ -15370,26 +15365,24 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15370
15365
|
};
|
|
15371
15366
|
const noticebarClass = classNames({
|
|
15372
15367
|
"nut-noticebar-box": true,
|
|
15373
|
-
|
|
15374
|
-
close: closeable,
|
|
15375
|
-
wrapable: wrap
|
|
15368
|
+
[`nut-noticebar-box-wrapable`]: wrap
|
|
15376
15369
|
});
|
|
15377
15370
|
React.useEffect(() => {
|
|
15378
15371
|
return () => {
|
|
15379
15372
|
stopAutoPlay();
|
|
15380
15373
|
};
|
|
15381
15374
|
}, []);
|
|
15382
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className || ""}`, style }, showNoticeBar && direction === "horizontal" ? /* @__PURE__ */ React.createElement("div", { className: noticebarClass, style: barStyle, onClick: handleClick }, leftIcon ? /* @__PURE__ */ React.createElement("div", { className: "left-icon" }, leftIcon) : null, /* @__PURE__ */ React.createElement("div", { ref: wrapRef, className: "wrap" }, /* @__PURE__ */ React.createElement(
|
|
15375
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className || ""}`, style }, showNoticeBar && direction === "horizontal" ? /* @__PURE__ */ React.createElement("div", { className: noticebarClass, style: barStyle, onClick: handleClick }, leftIcon ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-left-icon" }, leftIcon) : null, /* @__PURE__ */ React.createElement("div", { ref: wrapRef, className: "nut-noticebar-box-wrap" }, /* @__PURE__ */ React.createElement(
|
|
15383
15376
|
"div",
|
|
15384
15377
|
{
|
|
15385
15378
|
ref: contentRef,
|
|
15386
|
-
className: `content ${animationClass} ${isEllipsis() ? "nut-ellipsis" : ""}`,
|
|
15379
|
+
className: `nut-noticebar-box-wrap-content ${animationClass} ${isEllipsis() ? "nut-ellipsis" : ""}`,
|
|
15387
15380
|
style: contentStyle,
|
|
15388
15381
|
onAnimationEnd
|
|
15389
15382
|
},
|
|
15390
15383
|
children,
|
|
15391
15384
|
content
|
|
15392
|
-
)), closeable || rightIcon ? /* @__PURE__ */ React.createElement("div", { className: "right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React.createElement(t$5, { size: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React.createElement(
|
|
15385
|
+
)), closeable || rightIcon ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-right-icon", onClick: onClickIcon }, rightIcon || /* @__PURE__ */ React.createElement(t$5, { size: 12 })) : null) : null, showNoticeBar && scrollList.current.length > 0 && isVertical ? /* @__PURE__ */ React.createElement(
|
|
15393
15386
|
"div",
|
|
15394
15387
|
{
|
|
15395
15388
|
className: "nut-noticebar-vertical",
|
|
@@ -15397,12 +15390,11 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15397
15390
|
ref: container,
|
|
15398
15391
|
onClick: handleClick
|
|
15399
15392
|
},
|
|
15400
|
-
leftIcon ? /* @__PURE__ */ React.createElement("div", { className: "left-icon" }, leftIcon) : null,
|
|
15401
|
-
children ? /* @__PURE__ */ React.createElement("div", { className: "nut-
|
|
15393
|
+
leftIcon ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-left-icon" }, leftIcon) : null,
|
|
15394
|
+
children ? /* @__PURE__ */ React.createElement("div", { className: "nut-noticebar-box-wrap", ref: innerRef }, scrollList.current.map((item, index) => {
|
|
15402
15395
|
return /* @__PURE__ */ React.createElement(
|
|
15403
15396
|
"div",
|
|
15404
15397
|
{
|
|
15405
|
-
className: "scroll-inner ",
|
|
15406
15398
|
style: itemStyle(index),
|
|
15407
15399
|
key: index,
|
|
15408
15400
|
onClick: (e2) => {
|
|
@@ -15411,27 +15403,34 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15411
15403
|
},
|
|
15412
15404
|
item
|
|
15413
15405
|
);
|
|
15414
|
-
})) : /* @__PURE__ */ React.createElement(
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15406
|
+
})) : /* @__PURE__ */ React.createElement(
|
|
15407
|
+
"div",
|
|
15408
|
+
{
|
|
15409
|
+
className: "nut-noticebar-box-horseLamp-list",
|
|
15410
|
+
style: horseLampStyle
|
|
15411
|
+
},
|
|
15412
|
+
scrollList.current.map((item, index) => {
|
|
15413
|
+
return (
|
|
15414
|
+
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
15415
|
+
/* @__PURE__ */ React.createElement(
|
|
15416
|
+
"div",
|
|
15417
|
+
{
|
|
15418
|
+
className: "nut-noticebar-box-horseLamp-list-item",
|
|
15419
|
+
style: { height },
|
|
15420
|
+
key: index,
|
|
15421
|
+
onClick: (e2) => {
|
|
15422
|
+
handleItemClick(e2, item);
|
|
15423
|
+
}
|
|
15424
|
+
},
|
|
15425
|
+
item
|
|
15426
|
+
)
|
|
15427
|
+
);
|
|
15428
|
+
})
|
|
15429
|
+
),
|
|
15431
15430
|
/* @__PURE__ */ React.createElement(
|
|
15432
15431
|
"div",
|
|
15433
15432
|
{
|
|
15434
|
-
className: "
|
|
15433
|
+
className: "nut-noticebar-box-right-icon",
|
|
15435
15434
|
onClick: (e2) => {
|
|
15436
15435
|
handleClickIcon(e2);
|
|
15437
15436
|
}
|
|
@@ -15504,10 +15503,10 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15504
15503
|
onClose();
|
|
15505
15504
|
};
|
|
15506
15505
|
const classes = classNames({
|
|
15507
|
-
[`${classPrefix$d}
|
|
15508
|
-
[`${classPrefix$d}
|
|
15506
|
+
[`${classPrefix$d}-popup-top`]: position === "top",
|
|
15507
|
+
[`${classPrefix$d}-popup-bottom`]: position === "bottom",
|
|
15509
15508
|
[`${classPrefix$d}`]: true,
|
|
15510
|
-
[`${classPrefix$d}
|
|
15509
|
+
[`${classPrefix$d}-${type2}`]: true
|
|
15511
15510
|
});
|
|
15512
15511
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
15513
15512
|
CSSTransition$1,
|
|
@@ -15657,7 +15656,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15657
15656
|
const prefixCls2 = "nut-popover-arrow";
|
|
15658
15657
|
const loca = location;
|
|
15659
15658
|
const direction = loca.split("-")[0];
|
|
15660
|
-
return `${prefixCls2} ${prefixCls2}-${direction} ${prefixCls2}
|
|
15659
|
+
return `${prefixCls2} ${prefixCls2}-${direction} ${prefixCls2}-${loca}`;
|
|
15661
15660
|
};
|
|
15662
15661
|
const getRootPosition = () => {
|
|
15663
15662
|
const styles = {};
|
|
@@ -15770,7 +15769,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
15770
15769
|
), /* @__PURE__ */ React.createElement("div", { className: classes, style: getRootPosition() }, /* @__PURE__ */ React.createElement(
|
|
15771
15770
|
Popup,
|
|
15772
15771
|
{
|
|
15773
|
-
className: `nut-popover-content nut-popover-content
|
|
15772
|
+
className: `nut-popover-content nut-popover-content-${location}`,
|
|
15774
15773
|
position: "default",
|
|
15775
15774
|
overlay,
|
|
15776
15775
|
visible: showPopup,
|
|
@@ -16173,7 +16172,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16173
16172
|
const classes = classNames(classPrefix2, className);
|
|
16174
16173
|
const avatarClass = classNames({
|
|
16175
16174
|
avatar: true,
|
|
16176
|
-
[`avatar
|
|
16175
|
+
[`avatar-${avatarShape}`]: avatarShape
|
|
16177
16176
|
});
|
|
16178
16177
|
const repeatLines = (num) => {
|
|
16179
16178
|
return Array.from({ length: num }, (v, i) => i);
|
|
@@ -16190,7 +16189,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16190
16189
|
height: "50px"
|
|
16191
16190
|
};
|
|
16192
16191
|
};
|
|
16193
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, visible ? /* @__PURE__ */ React.createElement("div", null, children) : /* @__PURE__ */ React.createElement("div", { className: classes, ...rest }, animated && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
16192
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, visible ? /* @__PURE__ */ React.createElement("div", null, children) : /* @__PURE__ */ React.createElement("div", { className: classes, ...rest }, animated && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-animation` }), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, avatar && /* @__PURE__ */ React.createElement(
|
|
16194
16193
|
Avatar,
|
|
16195
16194
|
{
|
|
16196
16195
|
className: avatarClass,
|
|
@@ -16199,8 +16198,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16199
16198
|
style: getStyle(),
|
|
16200
16199
|
icon: "null"
|
|
16201
16200
|
}
|
|
16202
|
-
), rows === 1 ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
16203
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
16201
|
+
), rows === 1 ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-block` }) : /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content-line` }, title && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title` }), repeatLines(rows).map((item, index) => {
|
|
16202
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-block`, key: index });
|
|
16204
16203
|
})))));
|
|
16205
16204
|
};
|
|
16206
16205
|
Skeleton.defaultProps = defaultProps$v;
|
|
@@ -16523,7 +16522,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16523
16522
|
{
|
|
16524
16523
|
visible: innerVisible,
|
|
16525
16524
|
style,
|
|
16526
|
-
className: `${classPrefix$9}
|
|
16525
|
+
className: `${classPrefix$9}-overlay-default ${className}`,
|
|
16527
16526
|
closeOnOverlayClick,
|
|
16528
16527
|
lockScroll,
|
|
16529
16528
|
onClick: () => {
|
|
@@ -16533,10 +16532,10 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16533
16532
|
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix$9} ${classes}`, id }, /* @__PURE__ */ React.createElement(
|
|
16534
16533
|
"div",
|
|
16535
16534
|
{
|
|
16536
|
-
className: `${classPrefix$9}
|
|
16535
|
+
className: `${classPrefix$9}-inner ${classPrefix$9}-${position} ${contentClassName} ${wordBreak}`,
|
|
16537
16536
|
style: contentStyle
|
|
16538
16537
|
},
|
|
16539
|
-
hasIcon() ? /* @__PURE__ */ React.createElement("p", { className: `${classPrefix$9}
|
|
16538
|
+
hasIcon() ? /* @__PURE__ */ React.createElement("p", { className: `${classPrefix$9}-icon-wrapper` }, iconName()) : null,
|
|
16540
16539
|
title ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$9}-title` }, title) : null,
|
|
16541
16540
|
/* @__PURE__ */ React.createElement("span", { className: `${classPrefix$9}-text` }, msg)
|
|
16542
16541
|
))
|
|
@@ -16625,7 +16624,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16625
16624
|
const isLoaded = React.useRef(false);
|
|
16626
16625
|
const setNumberTransform = () => {
|
|
16627
16626
|
if (countupRef.current && numerArr.length) {
|
|
16628
|
-
Taro.createSelectorQuery().selectAll(".nut-
|
|
16627
|
+
Taro.createSelectorQuery().selectAll(".nut-countup-listitem").node((numberItems) => {
|
|
16629
16628
|
const transformArrCache = [];
|
|
16630
16629
|
Object.keys(numberItems).forEach((key) => {
|
|
16631
16630
|
const elem = numberItems[Number(key)];
|
|
@@ -16661,23 +16660,23 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16661
16660
|
window.clearTimeout(timerRef.current);
|
|
16662
16661
|
};
|
|
16663
16662
|
}, [value]);
|
|
16664
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, ref: countupRef }, /* @__PURE__ */ React.createElement("ul", { className: `${classPrefix2}
|
|
16663
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2} ${className}`, ref: countupRef }, /* @__PURE__ */ React.createElement("ul", { className: `${classPrefix2}-list` }, numerArr.map((item, idx) => {
|
|
16665
16664
|
return /* @__PURE__ */ React.createElement(
|
|
16666
16665
|
"li",
|
|
16667
16666
|
{
|
|
16668
|
-
className: `${classPrefix2}
|
|
16667
|
+
className: `${classPrefix2}-listitem ${!Number.isNaN(Number(item)) ? `${classPrefix2}-listitem-number` : ""}`,
|
|
16669
16668
|
key: idx
|
|
16670
16669
|
},
|
|
16671
16670
|
!Number.isNaN(Number(item)) ? /* @__PURE__ */ React.createElement(
|
|
16672
16671
|
"span",
|
|
16673
16672
|
{
|
|
16674
|
-
className: `${classPrefix2}
|
|
16673
|
+
className: `${classPrefix2}-number`,
|
|
16675
16674
|
style: numberEaseStyle(idx)
|
|
16676
16675
|
},
|
|
16677
16676
|
[...numbers, ...numbers].map((number2, subidx) => {
|
|
16678
16677
|
return /* @__PURE__ */ React.createElement("span", { key: subidx }, number2);
|
|
16679
16678
|
})
|
|
16680
|
-
) : /* @__PURE__ */ React.createElement("span", { className: `${classPrefix2}
|
|
16679
|
+
) : /* @__PURE__ */ React.createElement("span", { className: `${classPrefix2}-separator` }, item)
|
|
16681
16680
|
);
|
|
16682
16681
|
})));
|
|
16683
16682
|
};
|
|
@@ -16832,17 +16831,17 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16832
16831
|
}
|
|
16833
16832
|
};
|
|
16834
16833
|
const renderIcon = () => {
|
|
16835
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
16834
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon` }, /* @__PURE__ */ React.createElement(
|
|
16836
16835
|
"div",
|
|
16837
16836
|
{
|
|
16838
|
-
className: `${classPrefix2}
|
|
16837
|
+
className: `${classPrefix2}-icon-box} ${playing ? `${classPrefix2}-icon-play}` : `${classPrefix2}-icon-stop}`}`,
|
|
16839
16838
|
onClick: handleStatusChange
|
|
16840
16839
|
},
|
|
16841
16840
|
/* @__PURE__ */ React.createElement(m$1, { className: playing ? "nut-icon-loading" : "" })
|
|
16842
16841
|
)));
|
|
16843
16842
|
};
|
|
16844
16843
|
const renderProgerss = () => {
|
|
16845
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
16844
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-progress` }, /* @__PURE__ */ React.createElement("div", { className: "time" }, currentDuration), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-progress-bar-wrapper` }, /* @__PURE__ */ React.createElement(
|
|
16846
16845
|
Range,
|
|
16847
16846
|
{
|
|
16848
16847
|
value: percent,
|
|
@@ -16885,7 +16884,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
16885
16884
|
return /* @__PURE__ */ React.createElement(
|
|
16886
16885
|
"div",
|
|
16887
16886
|
{
|
|
16888
|
-
className: `${classPrefix2}
|
|
16887
|
+
className: `${classPrefix2}-none-container`,
|
|
16889
16888
|
onClick: handleStatusChange
|
|
16890
16889
|
},
|
|
16891
16890
|
children
|
|
@@ -17062,7 +17061,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17062
17061
|
const wrapperRef = React.useRef(null);
|
|
17063
17062
|
const contentRef = React.useRef(null);
|
|
17064
17063
|
const [refRandomId] = React.useState(() => Math.random().toString(36).slice(-8));
|
|
17065
|
-
const target = `#nut-
|
|
17064
|
+
const target = `#nut-collapse-content-${refRandomId}`;
|
|
17066
17065
|
const expanded = React.useMemo(() => {
|
|
17067
17066
|
if (context) {
|
|
17068
17067
|
return context.isOpen(name);
|
|
@@ -17139,16 +17138,16 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17139
17138
|
return /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className), style, ...rest }, /* @__PURE__ */ React.createElement(
|
|
17140
17139
|
"div",
|
|
17141
17140
|
{
|
|
17142
|
-
className: classNames(`${classPrefix2}
|
|
17141
|
+
className: classNames(`${classPrefix2}-header`, { disabled }),
|
|
17143
17142
|
onClick: handleClick
|
|
17144
17143
|
},
|
|
17145
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
17146
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
17147
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
17144
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-title` }, title),
|
|
17145
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-extra` }, extra),
|
|
17146
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon-box` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon`, style: iconStyle }, expandIcon || context.expandIcon))
|
|
17148
17147
|
), /* @__PURE__ */ React.createElement(
|
|
17149
17148
|
"div",
|
|
17150
17149
|
{
|
|
17151
|
-
className: `${classPrefix2}
|
|
17150
|
+
className: `${classPrefix2}-content`,
|
|
17152
17151
|
ref: wrapperRef,
|
|
17153
17152
|
style: {
|
|
17154
17153
|
willChange: "height",
|
|
@@ -17159,8 +17158,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17159
17158
|
"div",
|
|
17160
17159
|
{
|
|
17161
17160
|
ref: contentRef,
|
|
17162
|
-
className: `${classPrefix2}
|
|
17163
|
-
id: `nut-
|
|
17161
|
+
className: `${classPrefix2}-content-text`,
|
|
17162
|
+
id: `nut-collapse-content-${refRandomId}`
|
|
17164
17163
|
},
|
|
17165
17164
|
children
|
|
17166
17165
|
)
|
|
@@ -17481,7 +17480,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17481
17480
|
children || /* @__PURE__ */ React.createElement(
|
|
17482
17481
|
"div",
|
|
17483
17482
|
{
|
|
17484
|
-
className: `${classPrefix2}
|
|
17483
|
+
className: `${classPrefix2}-block`,
|
|
17485
17484
|
dangerouslySetInnerHTML: {
|
|
17486
17485
|
__html: `${renderTime}`
|
|
17487
17486
|
}
|
|
@@ -17880,8 +17879,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17880
17879
|
"div",
|
|
17881
17880
|
{
|
|
17882
17881
|
className: classNames({
|
|
17883
|
-
[`${classPrefix$4}
|
|
17884
|
-
[`${classPrefix$4}
|
|
17882
|
+
[`${classPrefix$4}-indicator`]: true,
|
|
17883
|
+
[`${classPrefix$4}-indicator-vertical`]: direction === "vertical"
|
|
17885
17884
|
})
|
|
17886
17885
|
},
|
|
17887
17886
|
/* @__PURE__ */ React.createElement(
|
|
@@ -17932,7 +17931,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
17932
17931
|
/* @__PURE__ */ React.createElement(
|
|
17933
17932
|
components.View,
|
|
17934
17933
|
{
|
|
17935
|
-
className: "nut-
|
|
17934
|
+
className: "nut-swiper-inner",
|
|
17936
17935
|
style: {
|
|
17937
17936
|
width: !width ? "100%" : pxCheck(width),
|
|
17938
17937
|
height: !height ? "150px" : pxCheck(height)
|
|
@@ -18306,19 +18305,19 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18306
18305
|
"div",
|
|
18307
18306
|
{
|
|
18308
18307
|
className: classNames(
|
|
18309
|
-
`${classPrefix2}
|
|
18308
|
+
`${classPrefix2}-prev`,
|
|
18310
18309
|
mode === "multi" ? "" : "simple-border",
|
|
18311
18310
|
currentPage === 1 ? "disabled" : ""
|
|
18312
18311
|
),
|
|
18313
18312
|
onClick: (e2) => handleSelectPage(currentPage - 1)
|
|
18314
18313
|
},
|
|
18315
18314
|
prev || locale.pagination.prev
|
|
18316
|
-
), mode === "multi" && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
18315
|
+
), mode === "multi" && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-contain` }, pages.map((item, index) => {
|
|
18317
18316
|
return /* @__PURE__ */ React.createElement(
|
|
18318
18317
|
"div",
|
|
18319
18318
|
{
|
|
18320
18319
|
key: `${index}pagination`,
|
|
18321
|
-
className: classNames(`${classPrefix2}
|
|
18320
|
+
className: classNames(`${classPrefix2}-item`, {
|
|
18322
18321
|
active: item.number === currentPage
|
|
18323
18322
|
}),
|
|
18324
18323
|
onClick: (e2) => {
|
|
@@ -18327,11 +18326,11 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18327
18326
|
},
|
|
18328
18327
|
itemRender ? itemRender(item) : item.text
|
|
18329
18328
|
);
|
|
18330
|
-
})), mode === "simple" && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
18329
|
+
})), mode === "simple" && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-contain` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-simple` }, currentPage, "/", pageCount)), /* @__PURE__ */ React.createElement(
|
|
18331
18330
|
"div",
|
|
18332
18331
|
{
|
|
18333
18332
|
className: classNames(
|
|
18334
|
-
`${classPrefix2}
|
|
18333
|
+
`${classPrefix2}-next`,
|
|
18335
18334
|
currentPage >= pageCount ? "disabled" : ""
|
|
18336
18335
|
),
|
|
18337
18336
|
onClick: (e2) => handleSelectPage(currentPage + 1)
|
|
@@ -18416,7 +18415,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18416
18415
|
return /* @__PURE__ */ React.createElement(
|
|
18417
18416
|
"div",
|
|
18418
18417
|
{
|
|
18419
|
-
className: `${classPrefix2}
|
|
18418
|
+
className: `${classPrefix2}-symbol ${classPrefix2}-symbol-${size}`,
|
|
18420
18419
|
dangerouslySetInnerHTML: showSymbol()
|
|
18421
18420
|
}
|
|
18422
18421
|
);
|
|
@@ -18424,32 +18423,20 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18424
18423
|
return /* @__PURE__ */ React.createElement(
|
|
18425
18424
|
"div",
|
|
18426
18425
|
{
|
|
18427
|
-
className: `${classPrefix2} ${line ? `${classPrefix2}
|
|
18426
|
+
className: `${classPrefix2} ${line ? `${classPrefix2}-line` : ""} ${className}`,
|
|
18428
18427
|
style,
|
|
18429
18428
|
...rest
|
|
18430
18429
|
},
|
|
18431
18430
|
symbol && position === "before" ? renderSymbol() : null,
|
|
18432
|
-
/* @__PURE__ */ React.createElement(
|
|
18433
|
-
"div",
|
|
18434
|
-
{
|
|
18435
|
-
className: `${classPrefix2}__integer ${classPrefix2}__integer-${size}`
|
|
18436
|
-
},
|
|
18437
|
-
formatThousands(price)
|
|
18438
|
-
),
|
|
18431
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-integer ${classPrefix2}-integer-${size}` }, formatThousands(price)),
|
|
18439
18432
|
digits !== 0 ? /* @__PURE__ */ React.createElement(
|
|
18440
18433
|
"div",
|
|
18441
18434
|
{
|
|
18442
|
-
className: `${classPrefix2}
|
|
18435
|
+
className: `${classPrefix2}-decimal ${classPrefix2}-decimal-${size}`
|
|
18443
18436
|
},
|
|
18444
18437
|
"."
|
|
18445
18438
|
) : null,
|
|
18446
|
-
/* @__PURE__ */ React.createElement(
|
|
18447
|
-
"div",
|
|
18448
|
-
{
|
|
18449
|
-
className: `${classPrefix2}__decimal ${classPrefix2}__decimal-${size}`
|
|
18450
|
-
},
|
|
18451
|
-
formatDecimal(price)
|
|
18452
|
-
),
|
|
18439
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-decimal ${classPrefix2}-decimal-${size}` }, formatDecimal(price)),
|
|
18453
18440
|
symbol && position === "after" ? renderSymbol() : null
|
|
18454
18441
|
);
|
|
18455
18442
|
};
|
|
@@ -18581,8 +18568,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18581
18568
|
setValue(data);
|
|
18582
18569
|
}, [data]);
|
|
18583
18570
|
const classPrefix2 = "nut-table";
|
|
18584
|
-
const headerClassPrefix = `${classPrefix2}
|
|
18585
|
-
const bodyClassPrefix = `${classPrefix2}
|
|
18571
|
+
const headerClassPrefix = `${classPrefix2}-main-head-tr`;
|
|
18572
|
+
const bodyClassPrefix = `${classPrefix2}-main-body-tr`;
|
|
18586
18573
|
const cls = classNames(classPrefix2, className);
|
|
18587
18574
|
const handleSorterClick = (item) => {
|
|
18588
18575
|
if (item.sorter && !sortedMapping.current[item.key]) {
|
|
@@ -18602,8 +18589,8 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18602
18589
|
};
|
|
18603
18590
|
const cellClasses = (item) => {
|
|
18604
18591
|
return {
|
|
18605
|
-
[`${headerClassPrefix}
|
|
18606
|
-
[`${headerClassPrefix}
|
|
18592
|
+
[`${headerClassPrefix}-border`]: props.bordered,
|
|
18593
|
+
[`${headerClassPrefix}-align${item.align ? item.align : ""}`]: true
|
|
18607
18594
|
};
|
|
18608
18595
|
};
|
|
18609
18596
|
const getColumnItem = (value) => {
|
|
@@ -18614,7 +18601,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18614
18601
|
return /* @__PURE__ */ React.createElement(
|
|
18615
18602
|
"span",
|
|
18616
18603
|
{
|
|
18617
|
-
className: classNames(`${headerClassPrefix}
|
|
18604
|
+
className: classNames(`${headerClassPrefix}-th`, cellClasses(item)),
|
|
18618
18605
|
key: item.key,
|
|
18619
18606
|
onClick: () => handleSorterClick(item)
|
|
18620
18607
|
},
|
|
@@ -18635,7 +18622,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18635
18622
|
"span",
|
|
18636
18623
|
{
|
|
18637
18624
|
className: classNames(
|
|
18638
|
-
`${bodyClassPrefix}
|
|
18625
|
+
`${bodyClassPrefix}-td`,
|
|
18639
18626
|
cellClasses(getColumnItem(value))
|
|
18640
18627
|
),
|
|
18641
18628
|
key: value
|
|
@@ -18652,13 +18639,13 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18652
18639
|
return /* @__PURE__ */ React.createElement("div", { className: cls, style, ...rest }, /* @__PURE__ */ React.createElement(
|
|
18653
18640
|
"div",
|
|
18654
18641
|
{
|
|
18655
|
-
className: classNames(`${classPrefix2}
|
|
18656
|
-
[`${classPrefix2}
|
|
18642
|
+
className: classNames(`${classPrefix2}-main`, {
|
|
18643
|
+
[`${classPrefix2}-main-striped`]: striped
|
|
18657
18644
|
})
|
|
18658
18645
|
},
|
|
18659
|
-
showHeader && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
18660
|
-
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
18661
|
-
), (summary || innerValue.length === 0) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
18646
|
+
showHeader && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-main-head` }, /* @__PURE__ */ React.createElement("div", { className: headerClassPrefix }, renderHeadCells())),
|
|
18647
|
+
/* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-main-body` }, renderBoyTrs())
|
|
18648
|
+
), (summary || innerValue.length === 0) && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-summary` }, summary || noData));
|
|
18662
18649
|
};
|
|
18663
18650
|
Table.defaultProps = defaultProps$b;
|
|
18664
18651
|
Table.displayName = "NutTable";
|
|
@@ -18700,11 +18687,11 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
18700
18687
|
const classPrefix2 = "nut-tag";
|
|
18701
18688
|
const classes = classNames({
|
|
18702
18689
|
[classPrefix2]: true,
|
|
18703
|
-
[`${classPrefix2}
|
|
18704
|
-
[`${classPrefix2}
|
|
18705
|
-
[`${classPrefix2}
|
|
18706
|
-
[`${classPrefix2}
|
|
18707
|
-
[`${classPrefix2}
|
|
18690
|
+
[`${classPrefix2}-${type2}`]: type2,
|
|
18691
|
+
[`${classPrefix2}-plain`]: plain,
|
|
18692
|
+
[`${classPrefix2}-round`]: round,
|
|
18693
|
+
[`${classPrefix2}-mark`]: mark,
|
|
18694
|
+
[`${classPrefix2}-close`]: closeable,
|
|
18708
18695
|
[`${className}`]: className
|
|
18709
18696
|
});
|
|
18710
18697
|
const handleClick = (e2) => {
|
|
@@ -19277,7 +19264,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
19277
19264
|
const classes = classNames(
|
|
19278
19265
|
classPrefix$1,
|
|
19279
19266
|
{
|
|
19280
|
-
[`${classPrefix$1}
|
|
19267
|
+
[`${classPrefix$1}-body${timeId.current}`]: true
|
|
19281
19268
|
},
|
|
19282
19269
|
className
|
|
19283
19270
|
);
|
|
@@ -19304,10 +19291,10 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
19304
19291
|
const query = Taro.createSelectorQuery();
|
|
19305
19292
|
setTimeout(() => {
|
|
19306
19293
|
let width = 100;
|
|
19307
|
-
query.select(`.${classPrefix$1}
|
|
19294
|
+
query.select(`.${classPrefix$1}-body${timeId.current}`).boundingClientRect((rec) => {
|
|
19308
19295
|
width = rec.width || 300;
|
|
19309
19296
|
});
|
|
19310
|
-
query.select(`.${classPrefix$1}
|
|
19297
|
+
query.select(`.${classPrefix$1}-item${index}`).boundingClientRect((recs) => {
|
|
19311
19298
|
const height = recs.height;
|
|
19312
19299
|
const nodeTop = `${index % rows * (height + gapY) + 20}px`;
|
|
19313
19300
|
styleInfo(index, nodeTop, width);
|
|
@@ -19333,7 +19320,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
19333
19320
|
return /* @__PURE__ */ React.createElement(
|
|
19334
19321
|
"div",
|
|
19335
19322
|
{
|
|
19336
|
-
className: `barrage-item ${classPrefix$1}
|
|
19323
|
+
className: `barrage-item ${classPrefix$1}-item${index} move`,
|
|
19337
19324
|
style: styleList[index],
|
|
19338
19325
|
key: index
|
|
19339
19326
|
},
|
|
@@ -19436,7 +19423,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
19436
19423
|
return /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className) }, timeList[optionKey.childrenKey].map((item) => /* @__PURE__ */ React.createElement(
|
|
19437
19424
|
"span",
|
|
19438
19425
|
{
|
|
19439
|
-
className: classNames(`${classPrefix2}
|
|
19426
|
+
className: classNames(`${classPrefix2}-item`, {
|
|
19440
19427
|
active: isActive(item[optionKey.valueKey])
|
|
19441
19428
|
}),
|
|
19442
19429
|
key: item[optionKey.valueKey],
|
|
@@ -19561,7 +19548,7 @@ Check the top-level render call using <` + t2 + ">.");
|
|
|
19561
19548
|
onClose: closeFun,
|
|
19562
19549
|
...rest
|
|
19563
19550
|
},
|
|
19564
|
-
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className) }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}
|
|
19551
|
+
/* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix2, className) }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-content-left` }, options.map((item) => /* @__PURE__ */ React.createElement(
|
|
19565
19552
|
"div",
|
|
19566
19553
|
{
|
|
19567
19554
|
key: item[optionKey.valueKey],
|