@nutui/nutui 4.2.1 → 4.2.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +6067 -6052
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{_es/Interceptor-006f85b3.js → Interceptor-6aab6fe0.js} +1 -1
- package/dist/packages/{_es → actionsheet}/ActionSheet.js +7 -10
- package/dist/packages/actionsheet/index.mjs +2 -4
- package/dist/packages/{_es → address}/Address.js +15 -10
- package/dist/packages/address/index.mjs +2 -4
- package/dist/packages/{_es → addresslist}/AddressList.js +25 -28
- package/dist/packages/addresslist/index.mjs +2 -4
- package/dist/packages/{_es → animate}/Animate.js +2 -3
- package/dist/packages/animate/index.mjs +2 -4
- package/dist/packages/{_es → audio}/Audio.js +7 -7
- package/dist/packages/audio/index.mjs +2 -4
- package/dist/packages/{_es → audiooperate}/AudioOperate.js +10 -6
- package/dist/packages/audiooperate/index.mjs +2 -4
- package/dist/packages/{_es → avatar}/Avatar.js +4 -5
- package/dist/packages/avatar/index.mjs +2 -4
- package/dist/packages/{_es → avatarcropper}/AvatarCropper.js +7 -7
- package/dist/packages/avatarcropper/index.mjs +2 -4
- package/dist/packages/{_es → avatargroup}/AvatarGroup.js +4 -5
- package/dist/packages/avatargroup/index.mjs +2 -4
- package/dist/packages/{_es → backtop}/Backtop.js +3 -4
- package/dist/packages/backtop/index.mjs +2 -4
- package/dist/packages/{_es → badge}/Badge.js +4 -5
- package/dist/packages/badge/index.mjs +2 -4
- package/dist/packages/{_es → barrage}/Barrage.js +2 -3
- package/dist/packages/barrage/index.mjs +2 -4
- package/dist/packages/{_es → button}/Button.js +4 -5
- package/dist/packages/button/index.mjs +2 -4
- package/dist/packages/{_es → calendar}/Calendar.js +12 -10
- package/dist/packages/calendar/index.mjs +2 -4
- package/dist/packages/calendaritem/CalendarItem.js +12 -0
- package/dist/packages/calendaritem/index.mjs +2 -4
- package/dist/packages/{_es → card}/Card.js +6 -7
- package/dist/packages/card/index.mjs +2 -4
- package/dist/packages/{_es → cascader}/Cascader.js +22 -19
- package/dist/packages/cascader/index.mjs +2 -4
- package/dist/packages/{_es → category}/Category.js +2 -3
- package/dist/packages/category/index.mjs +2 -4
- package/dist/packages/{_es → categorypane}/CategoryPane.js +2 -3
- package/dist/packages/categorypane/index.mjs +2 -4
- package/dist/packages/{_es → cell}/Cell.js +15 -10
- package/dist/packages/cell/index.mjs +2 -4
- package/dist/packages/{_es → cellgroup}/CellGroup.js +4 -5
- package/dist/packages/cellgroup/index.mjs +2 -4
- package/dist/packages/{_es → checkbox}/Checkbox.js +2 -3
- package/dist/packages/checkbox/index.mjs +2 -4
- package/dist/packages/{_es → checkboxgroup}/CheckboxGroup.js +2 -3
- package/dist/packages/checkboxgroup/index.mjs +2 -4
- package/dist/packages/{_es → circleprogress}/CircleProgress.js +3 -3
- package/dist/packages/circleprogress/index.mjs +2 -4
- package/dist/packages/{_es → col}/Col.js +2 -3
- package/dist/packages/col/index.mjs +2 -4
- package/dist/packages/{_es → collapse}/Collapse.js +2 -3
- package/dist/packages/collapse/index.mjs +2 -4
- package/dist/packages/{_es → collapseitem}/CollapseItem.js +3 -4
- package/dist/packages/collapseitem/index.mjs +2 -4
- package/dist/packages/{_es → comment}/Comment.js +36 -35
- package/dist/packages/comment/index.mjs +2 -4
- package/dist/packages/{_es/common-728db750.js → common-72c11f1d.js} +2 -2
- package/dist/packages/component-669c158a.js +18 -0
- package/dist/packages/{_es → configprovider}/ConfigProvider.js +1 -2
- package/dist/packages/configprovider/index.mjs +2 -4
- package/dist/packages/{_es → countdown}/Countdown.js +14 -18
- package/dist/packages/countdown/index.mjs +2 -4
- package/dist/packages/{_es → countup}/Countup.js +2 -3
- package/dist/packages/countup/index.mjs +2 -4
- package/dist/packages/{_es → datepicker}/DatePicker.js +16 -14
- package/dist/packages/datepicker/index.mjs +2 -4
- package/dist/packages/{_es → dialog}/Dialog.js +17 -20
- package/dist/packages/dialog/index.mjs +3 -5
- package/dist/packages/{_es → divider}/Divider.js +2 -3
- package/dist/packages/divider/index.mjs +2 -4
- package/dist/packages/{_es → drag}/Drag.js +3 -4
- package/dist/packages/drag/index.mjs +2 -4
- package/dist/packages/{_es → ecard}/Ecard.js +11 -7
- package/dist/packages/ecard/index.mjs +2 -4
- package/dist/packages/{_es → elevator}/Elevator.js +8 -10
- package/dist/packages/elevator/index.mjs +2 -4
- package/dist/packages/{_es → ellipsis}/Ellipsis.js +2 -3
- package/dist/packages/ellipsis/index.mjs +2 -4
- package/dist/packages/{_es → empty}/Empty.js +9 -5
- package/dist/packages/empty/index.mjs +2 -4
- package/dist/packages/{_es → fixednav}/FixedNav.js +15 -11
- package/dist/packages/fixednav/index.mjs +2 -4
- package/dist/packages/{_es → form}/Form.js +8 -8
- package/dist/packages/form/index.mjs +2 -4
- package/dist/packages/{_es → formitem}/FormItem.js +23 -13
- package/dist/packages/formitem/index.mjs +2 -4
- package/dist/packages/grid/Grid.js +9 -0
- package/dist/packages/grid/index.mjs +2 -4
- package/dist/packages/{_es → griditem}/GridItem.js +5 -6
- package/dist/packages/griditem/index.mjs +2 -4
- package/dist/packages/{_es → image}/Image.js +3 -4
- package/dist/packages/image/index.mjs +2 -4
- package/dist/packages/{_es → imagepreview}/ImagePreview.js +21 -19
- package/dist/packages/imagepreview/index.mjs +3 -5
- package/dist/packages/{_es/index-5a1e6d22.js → index-37ae1f41.js} +5 -5
- package/dist/packages/{_es/index-a187a5aa.js → index-914a76f0.js} +7 -4
- package/dist/packages/index-c0fa0f6b.js +17 -0
- package/dist/packages/{_es/index.vue_vue_type_script_lang-1e118ab6.js → index.vue_vue_type_script_lang-0185ccea.js} +1 -1
- package/dist/packages/{_es/index.vue_vue_type_script_lang-0ccf787e.js → index.vue_vue_type_script_lang-825ed1e0.js} +2 -2
- package/dist/packages/{_es → indicator}/Indicator.js +3 -3
- package/dist/packages/indicator/index.mjs +2 -4
- package/dist/packages/{_es → infiniteloading}/InfiniteLoading.js +27 -29
- package/dist/packages/infiniteloading/index.mjs +2 -4
- package/dist/packages/{_es → input}/Input.js +2 -3
- package/dist/packages/input/index.mjs +2 -4
- package/dist/packages/{_es → inputnumber}/InputNumber.js +5 -6
- package/dist/packages/inputnumber/index.mjs +2 -4
- package/dist/packages/{_es → invoice}/Invoice.js +17 -17
- package/dist/packages/invoice/index.mjs +2 -4
- package/dist/packages/{_es → layout}/Layout.js +1 -2
- package/dist/packages/layout/index.mjs +2 -4
- package/dist/packages/{_es → list}/List.js +3 -4
- package/dist/packages/list/index.mjs +2 -4
- package/dist/packages/locale/lang/baseLang.d.ts +1 -0
- package/dist/packages/locale/lang/en-US.d.ts +1 -0
- package/dist/packages/locale/lang/en-US.js +2 -1
- package/dist/packages/locale/lang/id-ID.d.ts +1 -0
- package/dist/packages/locale/lang/id-ID.js +2 -1
- package/dist/packages/locale/lang/zh-CN.d.ts +1 -0
- package/dist/packages/locale/lang/zh-CN.js +2 -1
- package/dist/packages/locale/lang/zh-TW.d.ts +1 -0
- package/dist/packages/locale/lang/zh-TW.js +2 -1
- package/dist/packages/{_es → menu}/Menu.js +3 -4
- package/dist/packages/menu/index.mjs +2 -4
- package/dist/packages/{_es → menuitem}/MenuItem.js +6 -6
- package/dist/packages/menuitem/index.mjs +2 -4
- package/dist/packages/{_es/mountComponent-053caf41.js → mountComponent-867a9167.js} +1 -1
- package/dist/packages/{_es → navbar}/Navbar.js +2 -3
- package/dist/packages/navbar/index.mjs +2 -4
- package/dist/packages/{_es → noticebar}/Noticebar.js +4 -7
- package/dist/packages/noticebar/index.mjs +2 -4
- package/dist/packages/{_es → notify}/Notify.js +6 -6
- package/dist/packages/notify/index.mjs +3 -5
- package/dist/packages/{_es → numberkeyboard}/NumberKeyboard.js +11 -7
- package/dist/packages/numberkeyboard/index.mjs +2 -4
- package/dist/packages/{_es → overlay}/Overlay.js +5 -5
- package/dist/packages/overlay/index.mjs +2 -4
- package/dist/packages/{_es → pagination}/Pagination.js +8 -4
- package/dist/packages/pagination/index.mjs +2 -4
- package/dist/packages/{_es → picker}/Picker.js +24 -21
- package/dist/packages/picker/index.mjs +2 -4
- package/dist/packages/{_es → popover}/Popover.js +10 -10
- package/dist/packages/popover/index.mjs +2 -4
- package/dist/packages/popup/Popup.js +10 -0
- package/dist/packages/popup/index.mjs +2 -4
- package/dist/packages/{_es → price}/Price.js +4 -5
- package/dist/packages/price/index.mjs +2 -4
- package/dist/packages/{_es → progress}/Progress.js +4 -5
- package/dist/packages/progress/index.mjs +2 -4
- package/dist/packages/{_es → pullrefresh}/PullRefresh.js +41 -30
- package/dist/packages/pullrefresh/index.mjs +2 -4
- package/dist/packages/pxCheck-a27490eb.js +8 -0
- package/dist/packages/radio/Radio.js +8 -0
- package/dist/packages/radio/index.mjs +2 -4
- package/dist/packages/radiogroup/RadioGroup.js +6 -0
- package/dist/packages/radiogroup/index.mjs +2 -4
- package/dist/packages/{_es → range}/Range.js +7 -7
- package/dist/packages/range/index.mjs +2 -4
- package/dist/packages/{_es → rate}/Rate.js +27 -14
- package/dist/packages/rate/index.mjs +2 -4
- package/dist/packages/{_es → row}/Row.js +2 -3
- package/dist/packages/row/index.mjs +2 -4
- package/dist/packages/{_es → searchbar}/Searchbar.js +9 -5
- package/dist/packages/searchbar/index.mjs +2 -4
- package/dist/packages/{_es → shortpassword}/ShortPassword.js +11 -7
- package/dist/packages/shortpassword/index.mjs +2 -4
- package/dist/packages/{_es → sidenavbar}/SideNavbar.js +2 -3
- package/dist/packages/sidenavbar/index.mjs +2 -4
- package/dist/packages/{_es → sidenavbaritem}/SideNavbarItem.js +2 -3
- package/dist/packages/sidenavbaritem/index.mjs +2 -4
- package/dist/packages/{_es → signature}/Signature.js +11 -7
- package/dist/packages/signature/index.mjs +2 -4
- package/dist/packages/{_es → skeleton}/Skeleton.js +4 -5
- package/dist/packages/skeleton/index.mjs +2 -4
- package/dist/packages/{_es → sku}/Sku.js +20 -15
- package/dist/packages/sku/index.mjs +2 -4
- package/dist/packages/{_es → space}/Space.js +1 -2
- package/dist/packages/space/index.mjs +2 -4
- package/dist/packages/{_es → step}/Step.js +2 -3
- package/dist/packages/step/index.mjs +2 -4
- package/dist/packages/{_es → steps}/Steps.js +1 -2
- package/dist/packages/steps/index.mjs +2 -4
- package/dist/packages/{_es → sticky}/Sticky.js +8 -8
- package/dist/packages/sticky/index.mjs +2 -4
- package/dist/packages/{_es → subsidenavbar}/SubSideNavbar.js +2 -3
- package/dist/packages/subsidenavbar/index.mjs +2 -4
- package/dist/packages/{_es → swipe}/Swipe.js +5 -6
- package/dist/packages/swipe/index.mjs +2 -4
- package/dist/packages/{_es → swipegroup}/SwipeGroup.js +2 -3
- package/dist/packages/swipegroup/index.mjs +2 -4
- package/dist/packages/{_es → swiper}/Swiper.js +8 -8
- package/dist/packages/swiper/index.mjs +2 -4
- package/dist/packages/{_es → swiperitem}/SwiperItem.js +5 -6
- package/dist/packages/swiperitem/index.mjs +2 -4
- package/dist/packages/{_es → switch}/Switch.js +2 -3
- package/dist/packages/switch/index.mjs +2 -4
- package/dist/packages/{_es → tabbar}/Tabbar.js +2 -3
- package/dist/packages/tabbar/index.mjs +2 -4
- package/dist/packages/{_es → tabbaritem}/TabbarItem.js +6 -7
- package/dist/packages/tabbaritem/index.mjs +2 -4
- package/dist/packages/{_es → table}/Table.js +8 -4
- package/dist/packages/table/index.mjs +2 -4
- package/dist/packages/{_es → tabpane}/TabPane.js +4 -5
- package/dist/packages/tabpane/index.mjs +2 -4
- package/dist/packages/{_es → tabs}/Tabs.js +12 -12
- package/dist/packages/tabs/index.mjs +2 -4
- package/dist/packages/{_es → tag}/Tag.js +4 -5
- package/dist/packages/tag/index.mjs +2 -4
- package/dist/packages/{_es → textarea}/Textarea.js +9 -5
- package/dist/packages/textarea/index.mjs +2 -4
- package/dist/packages/{_es → timedetail}/TimeDetail.js +2 -3
- package/dist/packages/timedetail/index.mjs +2 -4
- package/dist/packages/{_es → timepannel}/TimePannel.js +2 -3
- package/dist/packages/timepannel/index.mjs +2 -4
- package/dist/packages/{_es → timeselect}/TimeSelect.js +11 -7
- package/dist/packages/timeselect/index.mjs +2 -4
- package/dist/packages/{_es → toast}/Toast.js +5 -5
- package/dist/packages/toast/index.mjs +3 -5
- package/dist/packages/{_es → tour}/Tour.js +9 -10
- package/dist/packages/tour/index.mjs +2 -4
- package/dist/packages/{_es → trendarrow}/TrendArrow.js +3 -3
- package/dist/packages/trendarrow/index.mjs +2 -4
- package/dist/packages/{_es → uploader}/Uploader.js +12 -9
- package/dist/packages/uploader/index.mjs +2 -4
- package/dist/packages/{_es/component-f86a70df.js → util-6f26722f.js} +6 -27
- package/dist/packages/{_es → video}/Video.js +10 -6
- package/dist/packages/video/index.mjs +2 -4
- package/dist/packages/{_es → watermark}/Watermark.js +2 -3
- package/dist/packages/watermark/index.mjs +2 -4
- package/dist/smartips/web-types.json +19 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +12 -17
- package/dist/types/__VUE/address/index.vue.d.ts +20 -19
- package/dist/types/__VUE/address/type.d.ts +3 -2
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +1 -1
- package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -4
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +3 -1
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/index.vue.d.ts +4 -7
- package/dist/types/__VUE/countdown/index.vue.d.ts +1 -4
- package/dist/types/__VUE/dialog/index.vue.d.ts +1 -4
- package/dist/types/__VUE/ecard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/empty/index.vue.d.ts +3 -3
- package/dist/types/__VUE/fixednav/index.vue.d.ts +2 -2
- package/dist/types/__VUE/formitem/index.vue.d.ts +1 -0
- package/dist/types/__VUE/formitem/types.d.ts +3 -3
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -4
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menu/index.vue.d.ts +2 -2
- package/dist/types/__VUE/noticebar/index.vue.d.ts +5 -4
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/pagination/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/common.d.ts +7 -249
- package/dist/types/__VUE/picker/index.vue.d.ts +1 -122
- package/dist/types/__VUE/picker/types.d.ts +2 -9
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +20 -5
- package/dist/types/__VUE/radio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/rate/index.vue.d.ts +3 -3
- package/dist/types/__VUE/searchbar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/signature/index.vue.d.ts +2 -1
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +3 -3
- package/dist/types/__VUE/sku/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sticky/index.vue.d.ts +3 -0
- package/dist/types/__VUE/switch/index.vue.d.ts +6 -6
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/table/common.d.ts +7 -7
- package/dist/types/__VUE/table/index.vue.d.ts +10 -10
- package/dist/types/__VUE/table/types.d.ts +2 -2
- package/dist/types/__VUE/tabs/index.vue.d.ts +5 -5
- package/dist/types/__VUE/textarea/index.vue.d.ts +5 -4
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tour/index.vue.d.ts +12 -11
- package/dist/types/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locale/lang/baseLang.d.ts +1 -0
- package/dist/types/locale/lang/en-US.d.ts +1 -0
- package/dist/types/locale/lang/id-ID.d.ts +1 -0
- package/dist/types/locale/lang/zh-CN.d.ts +1 -0
- package/dist/types/locale/lang/zh-TW.d.ts +1 -0
- package/dist/types/utils/canvas.d.ts +1 -1
- package/dist/types/utils/create/component.d.ts +0 -1
- package/dist/types/utils/create/renderIcon.d.ts +2 -2
- package/dist/types/utils/pxCheck.d.ts +1 -1
- package/dist/types/utils/useLocale/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/packages/_es/CalendarItem.js +0 -10
- package/dist/packages/_es/Grid.js +0 -10
- package/dist/packages/_es/Popup.js +0 -10
- package/dist/packages/_es/Radio.js +0 -9
- package/dist/packages/_es/RadioGroup.js +0 -7
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +0 -6
- /package/dist/packages/{_es/_plugin-vue_export-helper-cc2b3d55.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -0
- /package/dist/packages/{_es/index-29892cda.js → index-29892cda.js} +0 -0
- /package/dist/packages/{_es/index-54d03fc1.js → index-54d03fc1.js} +0 -0
- /package/dist/packages/{_es/index-79c5dc33.js → index-79c5dc33.js} +0 -0
- /package/dist/packages/{_es/index-7a7385e4.js → index-7a7385e4.js} +0 -0
- /package/dist/packages/{_es/index-97b44e6c.js → index-97b44e6c.js} +0 -0
- /package/dist/packages/{_es/raf-729dad54.js → raf-729dad54.js} +0 -0
- /package/dist/packages/{_es/renderIcon-3d0fd47c.js → renderIcon-3d0fd47c.js} +0 -0
|
@@ -111,7 +111,8 @@ class Lang extends BaseLang {
|
|
|
111
111
|
__publicField(this, "pullrefresh", {
|
|
112
112
|
pulling: "Pull to refresh...",
|
|
113
113
|
loosing: "Loose to refresh...",
|
|
114
|
-
loading: "Loading..."
|
|
114
|
+
loading: "Loading...",
|
|
115
|
+
complete: "Refresh successfully"
|
|
115
116
|
});
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -111,7 +111,8 @@ class Lang extends BaseLang {
|
|
|
111
111
|
__publicField(this, "pullrefresh", {
|
|
112
112
|
pulling: "Tarik ke bawah untuk menyegarkan",
|
|
113
113
|
loosing: "Lepaskan Refresh",
|
|
114
|
-
loading: "Memuat..."
|
|
114
|
+
loading: "Memuat...",
|
|
115
|
+
complete: "Refresh berhasil"
|
|
115
116
|
});
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ref, computed, onMounted, onUnmounted, reactive, provide, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, renderSlot, createBlock } from "vue";
|
|
2
|
-
import { c as createComponent } from "
|
|
3
|
-
import { u as useRect } from "
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { u as useRect } from "../index-29892cda.js";
|
|
4
4
|
import { ArrowUp2, ArrowDown2 } from "@nutui/icons-vue";
|
|
5
|
-
import { _ as _export_sfc } from "
|
|
6
|
-
import "../locale/lang";
|
|
5
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
6
|
const { componentName, create } = createComponent("menu");
|
|
8
7
|
const _sfc_main = create({
|
|
9
8
|
components: {
|
|
@@ -18,12 +18,12 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, inject, getCurrentInstance, onUnmounted, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeStyle, createElementVNode, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, normalizeClass, renderSlot, createCommentVNode, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import {
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
23
23
|
import { Check } from "@nutui/icons-vue";
|
|
24
|
-
import { _ as _export_sfc } from "
|
|
25
|
-
import "../
|
|
26
|
-
import "
|
|
24
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
25
|
+
import "../overlay/Overlay.js";
|
|
26
|
+
import "../util-6f26722f.js";
|
|
27
27
|
const { create } = createComponent("menu-item");
|
|
28
28
|
const _sfc_main = create({
|
|
29
29
|
props: {
|
|
@@ -45,7 +45,7 @@ const _sfc_main = create({
|
|
|
45
45
|
inactiveTitleClass: String
|
|
46
46
|
},
|
|
47
47
|
components: {
|
|
48
|
-
|
|
48
|
+
NutPopup,
|
|
49
49
|
Check
|
|
50
50
|
},
|
|
51
51
|
emits: ["update:modelValue", "change", "open", "close"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createApp } from "vue";
|
|
2
|
-
import { h as isString,
|
|
2
|
+
import { h as isString, i as isFunction } from "./util-6f26722f.js";
|
|
3
3
|
const CreateComponent = (options, component) => {
|
|
4
4
|
let elWrap = document.body;
|
|
5
5
|
const teleport = options.teleport || "body";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, renderSlot, createVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
|
-
import { c as createComponent } from "
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { Left } from "@nutui/icons-vue";
|
|
4
|
-
import { _ as _export_sfc } from "
|
|
5
|
-
import "../locale/lang";
|
|
4
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
5
|
const { componentName, create } = createComponent("navbar");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
components: { Left },
|
|
@@ -19,10 +19,9 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, withDirectives, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createBlock, createCommentVNode, createTextVNode, toDisplayString, withModifiers, vShow, Fragment, renderList } from "vue";
|
|
21
21
|
import { Notice, CircleClose } from "@nutui/icons-vue";
|
|
22
|
-
import { c as createComponent } from "
|
|
23
|
-
import { p as pxCheck } from "
|
|
24
|
-
import { _ as _export_sfc } from "
|
|
25
|
-
import "../locale/lang";
|
|
22
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
23
|
+
import { p as pxCheck } from "../pxCheck-a27490eb.js";
|
|
24
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
26
25
|
const { create } = createComponent("noticebar");
|
|
27
26
|
const _sfc_main = create({
|
|
28
27
|
props: {
|
|
@@ -33,9 +32,7 @@ const _sfc_main = create({
|
|
|
33
32
|
},
|
|
34
33
|
list: {
|
|
35
34
|
type: Array,
|
|
36
|
-
default: () =>
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
35
|
+
default: () => []
|
|
39
36
|
},
|
|
40
37
|
standTime: {
|
|
41
38
|
type: Number,
|
|
@@ -18,16 +18,16 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import {
|
|
23
|
-
import { _ as _export_sfc } from "
|
|
24
|
-
import "../locale/lang";
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
23
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
25
24
|
import "@nutui/icons-vue";
|
|
26
|
-
import "
|
|
25
|
+
import "../overlay/Overlay.js";
|
|
26
|
+
import "../util-6f26722f.js";
|
|
27
27
|
const { create } = createComponent("notify");
|
|
28
28
|
const _sfc_main = create({
|
|
29
29
|
components: {
|
|
30
|
-
|
|
30
|
+
NutPopup
|
|
31
31
|
},
|
|
32
32
|
props: {
|
|
33
33
|
id: String,
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { showNotify } from '
|
|
3
|
-
|
|
4
|
-
const Notify = treeshaking(_Notify);
|
|
5
|
-
export { Notify, showNotify };
|
|
1
|
+
import Notify from './Notify.js';
|
|
2
|
+
import { showNotify } from './Notify.js';
|
|
3
|
+
export { Notify, showNotify, Notify as default };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
|
|
2
|
-
import { c as createComponent } from "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "../
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
4
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
5
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
6
|
import "@nutui/icons-vue";
|
|
7
|
-
import "
|
|
8
|
-
|
|
7
|
+
import "../overlay/Overlay.js";
|
|
8
|
+
import "../util-6f26722f.js";
|
|
9
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
10
|
+
const { create } = createComponent("number-keyboard");
|
|
11
|
+
const cN = "NutNumberKeyboard";
|
|
9
12
|
const _sfc_main = create({
|
|
10
13
|
components: {
|
|
11
|
-
|
|
14
|
+
NutPopup
|
|
12
15
|
},
|
|
13
16
|
props: {
|
|
14
17
|
confirmText: {
|
|
@@ -54,6 +57,7 @@ const _sfc_main = create({
|
|
|
54
57
|
},
|
|
55
58
|
emits: ["input", "delete", "close", "blur", "update:modelValue", "update:visible"],
|
|
56
59
|
setup(props, { emit }) {
|
|
60
|
+
const translate = useLocale(cN);
|
|
57
61
|
const clickKeyIndex = ref(void 0);
|
|
58
62
|
const show = ref(props.visible);
|
|
59
63
|
const root = ref();
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const NumberKeyboard = treeshaking(_NumberKeyboard);
|
|
4
|
-
export { NumberKeyboard };
|
|
1
|
+
import NumberKeyboard from './NumberKeyboard.js';
|
|
2
|
+
export { NumberKeyboard, NumberKeyboard as default };
|
|
@@ -15,9 +15,9 @@ var __spreadValues = (a, b) => {
|
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
17
|
import { computed, watchEffect, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, withModifiers, renderSlot, vShow } from "vue";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import "../
|
|
18
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
19
|
+
import { b as body } from "../util-6f26722f.js";
|
|
20
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
21
21
|
let count = 0;
|
|
22
22
|
const CLSNAME = "nut-overflow-hidden";
|
|
23
23
|
const useLockScroll = (isLock) => {
|
|
@@ -118,7 +118,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
118
|
_: 3
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
const
|
|
121
|
+
const NutOverlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
122
122
|
export {
|
|
123
|
-
|
|
123
|
+
NutOverlay as default
|
|
124
124
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { toRefs, computed, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
|
-
import { c as createComponent } from "
|
|
3
|
-
import {
|
|
4
|
-
import "../
|
|
5
|
-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
4
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
6
|
+
import "../util-6f26722f.js";
|
|
7
|
+
const { create } = createComponent("pagination");
|
|
8
|
+
const cN = "NutPagination";
|
|
6
9
|
const _sfc_main = create({
|
|
7
10
|
props: {
|
|
8
11
|
modelValue: {
|
|
@@ -45,6 +48,7 @@ const _sfc_main = create({
|
|
|
45
48
|
components: {},
|
|
46
49
|
emits: ["change", "update:modelValue"],
|
|
47
50
|
setup(props, { emit }) {
|
|
51
|
+
const translate = useLocale(cN);
|
|
48
52
|
const { modelValue, mode, showPageSize, forceEllipses } = toRefs(props);
|
|
49
53
|
const countRef = computed(() => {
|
|
50
54
|
const { pageCount, totalItems, itemsPerPage } = toRefs(props);
|
|
@@ -18,11 +18,13 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, ref, watch, toRefs, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, resolveComponent, renderSlot, createVNode } from "vue";
|
|
21
|
-
import { c as createComponent
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import "../
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
|
+
import { d as preventDefault, e as clamp } from "../util-6f26722f.js";
|
|
23
|
+
import { p as pxCheck } from "../pxCheck-a27490eb.js";
|
|
24
|
+
import { u as useTouch } from "../index-7a7385e4.js";
|
|
25
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
26
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
27
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
26
28
|
const DEFAULT_FILED_NAMES = {
|
|
27
29
|
text: "text",
|
|
28
30
|
value: "value",
|
|
@@ -38,8 +40,8 @@ const usePicker = (props, emit) => {
|
|
|
38
40
|
const defaultValues = ref([]);
|
|
39
41
|
const defaultIndexes = computed(() => {
|
|
40
42
|
const fields = columnFieldNames.value;
|
|
41
|
-
return columnsList.value.map((
|
|
42
|
-
const targetIndex =
|
|
43
|
+
return columnsList.value.map((column, index) => {
|
|
44
|
+
const targetIndex = column.findIndex((item) => item[fields.value] === defaultValues.value[index]);
|
|
43
45
|
return targetIndex === -1 ? 0 : targetIndex;
|
|
44
46
|
});
|
|
45
47
|
});
|
|
@@ -51,8 +53,8 @@ const usePicker = (props, emit) => {
|
|
|
51
53
|
};
|
|
52
54
|
const selectedOptions = computed(() => {
|
|
53
55
|
const fields = columnFieldNames.value;
|
|
54
|
-
return columnsList.value.map((
|
|
55
|
-
return
|
|
56
|
+
return columnsList.value.map((column, index) => {
|
|
57
|
+
return column.find((item) => item[fields.value] === defaultValues.value[index]) || column[0];
|
|
56
58
|
});
|
|
57
59
|
});
|
|
58
60
|
const columnsType = computed(() => {
|
|
@@ -375,8 +377,8 @@ const _sfc_main$1 = create$1({
|
|
|
375
377
|
emit("change", props.column[state.currIndex - 1]);
|
|
376
378
|
};
|
|
377
379
|
const modifyStatus = (type) => {
|
|
378
|
-
const { column
|
|
379
|
-
let index =
|
|
380
|
+
const { column } = props;
|
|
381
|
+
let index = column.findIndex((columnItem) => columnItem[props.fieldNames.value] === props.value);
|
|
380
382
|
state.currIndex = index === -1 ? 1 : index + 1;
|
|
381
383
|
let move = index === -1 ? 0 : index * +props.optionHeight;
|
|
382
384
|
type && setChooseValue();
|
|
@@ -465,7 +467,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
465
467
|
}, null, 4)
|
|
466
468
|
], 32);
|
|
467
469
|
}
|
|
468
|
-
const
|
|
470
|
+
const NutPickerColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
469
471
|
const baseProps = {
|
|
470
472
|
modelValue: {
|
|
471
473
|
type: Array,
|
|
@@ -514,14 +516,16 @@ const baseProps = {
|
|
|
514
516
|
default: () => ({})
|
|
515
517
|
}
|
|
516
518
|
};
|
|
517
|
-
const { create
|
|
519
|
+
const { create } = createComponent("picker");
|
|
520
|
+
const cN = "NutPicker";
|
|
518
521
|
const _sfc_main = create({
|
|
519
522
|
components: {
|
|
520
|
-
|
|
523
|
+
NutPickerColumn
|
|
521
524
|
},
|
|
522
525
|
props: baseProps,
|
|
523
526
|
emits: ["cancel", "change", "confirm", "update:modelValue"],
|
|
524
527
|
setup(props, { emit }) {
|
|
528
|
+
const translate = useLocale(cN);
|
|
525
529
|
const { changeHandler, confirm, defaultValues, columnsList, columnsType, columnFieldNames, cancel } = usePicker(
|
|
526
530
|
props,
|
|
527
531
|
emit
|
|
@@ -539,13 +543,12 @@ const _sfc_main = create({
|
|
|
539
543
|
return styles;
|
|
540
544
|
});
|
|
541
545
|
const confirmHandler = () => {
|
|
542
|
-
pickerColumn.value.length > 0 && pickerColumn.value.forEach((
|
|
543
|
-
|
|
546
|
+
pickerColumn.value.length > 0 && pickerColumn.value.forEach((column) => {
|
|
547
|
+
column.stopMomentum();
|
|
544
548
|
});
|
|
545
549
|
confirm();
|
|
546
550
|
};
|
|
547
551
|
return {
|
|
548
|
-
column,
|
|
549
552
|
columnsType,
|
|
550
553
|
columnsList,
|
|
551
554
|
columnFieldNames,
|
|
@@ -585,7 +588,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
585
588
|
class: "nut-picker__column",
|
|
586
589
|
style: normalizeStyle(_ctx.columnStyle)
|
|
587
590
|
}, [
|
|
588
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columnsList, (
|
|
591
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columnsList, (column, columnIndex) => {
|
|
589
592
|
return openBlock(), createElementBlock("view", {
|
|
590
593
|
key: columnIndex,
|
|
591
594
|
class: "nut-picker__columnitem"
|
|
@@ -593,7 +596,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
593
596
|
createVNode(_component_nut_picker_column, {
|
|
594
597
|
ref_for: true,
|
|
595
598
|
ref: _ctx.swipeRef,
|
|
596
|
-
column
|
|
599
|
+
column,
|
|
597
600
|
"columns-type": _ctx.columnsType,
|
|
598
601
|
"field-names": _ctx.columnFieldNames,
|
|
599
602
|
value: _ctx.defaultValues && _ctx.defaultValues[columnIndex],
|
|
@@ -611,7 +614,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
611
614
|
renderSlot(_ctx.$slots, "default")
|
|
612
615
|
]);
|
|
613
616
|
}
|
|
614
|
-
const
|
|
617
|
+
const NutPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
615
618
|
export {
|
|
616
|
-
|
|
619
|
+
NutPicker as default
|
|
617
620
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref, computed, onMounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, withCtx, renderList, withModifiers, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { r as renderIcon } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "../
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
|
|
4
|
+
import { a as isArray } from "../util-6f26722f.js";
|
|
5
|
+
import { u as useRect } from "../index-29892cda.js";
|
|
6
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
7
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
8
8
|
import "@nutui/icons-vue";
|
|
9
|
-
import "
|
|
9
|
+
import "../overlay/Overlay.js";
|
|
10
10
|
const { create } = createComponent("popover");
|
|
11
11
|
const _sfc_main = create({
|
|
12
12
|
components: {
|
|
13
|
-
|
|
13
|
+
NutPopup
|
|
14
14
|
},
|
|
15
15
|
props: {
|
|
16
16
|
visible: { type: Boolean, default: false },
|
|
@@ -274,7 +274,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
274
274
|
], 6)
|
|
275
275
|
], 64);
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const NutPopover = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
278
278
|
export {
|
|
279
|
-
|
|
279
|
+
NutPopover as default
|
|
280
280
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { N } from "../index-37ae1f41.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
4
|
+
import "@nutui/icons-vue";
|
|
5
|
+
import "../overlay/Overlay.js";
|
|
6
|
+
import "../component-669c158a.js";
|
|
7
|
+
import "../util-6f26722f.js";
|
|
8
|
+
export {
|
|
9
|
+
N as default
|
|
10
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { computed, openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { c as createComponent } from "
|
|
3
|
-
import { _ as _export_sfc } from "
|
|
4
|
-
import "../locale/lang";
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
4
|
const { componentName, create } = createComponent("price");
|
|
6
5
|
const _sfc_main = create({
|
|
7
6
|
props: {
|
|
@@ -119,7 +118,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
119
118
|
}, null, 10, _hoisted_2)) : createCommentVNode("", true)
|
|
120
119
|
], 2);
|
|
121
120
|
}
|
|
122
|
-
const
|
|
121
|
+
const NutPrice = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
123
122
|
export {
|
|
124
|
-
|
|
123
|
+
NutPrice as default
|
|
125
124
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { useSlots, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
2
2
|
import { Checked } from "@nutui/icons-vue";
|
|
3
|
-
import { c as createComponent } from "
|
|
4
|
-
import { _ as _export_sfc } from "
|
|
5
|
-
import "../locale/lang";
|
|
3
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
4
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
5
|
const { create } = createComponent("progress");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
components: { Checked },
|
|
@@ -137,7 +136,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
137
136
|
], 4)) : createCommentVNode("", true)
|
|
138
137
|
]);
|
|
139
138
|
}
|
|
140
|
-
const
|
|
139
|
+
const NutProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
141
140
|
export {
|
|
142
|
-
|
|
141
|
+
NutProgress as default
|
|
143
142
|
};
|