@nutui/nutui 4.2.0 → 4.2.2-beta.1
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 +26 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +6839 -6866
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{_es/Interceptor-006f85b3.js → Interceptor-a7d38af1.js} +1 -1
- package/dist/packages/{_es → actionsheet}/ActionSheet.js +27 -37
- package/dist/packages/actionsheet/index.mjs +2 -4
- package/dist/packages/{_es → address}/Address.js +15 -10
- package/dist/packages/address/index.css +1 -1
- package/dist/packages/address/index.mjs +2 -4
- package/dist/packages/{_es → addresslist}/AddressList.js +23 -27
- package/dist/packages/addresslist/index.mjs +2 -4
- package/dist/packages/{_es → animate}/Animate.js +2 -2
- package/dist/packages/animate/index.mjs +2 -4
- package/dist/packages/{_es → audio}/Audio.js +6 -6
- package/dist/packages/audio/index.mjs +2 -4
- package/dist/packages/{_es → audiooperate}/AudioOperate.js +8 -5
- package/dist/packages/audiooperate/index.mjs +2 -4
- package/dist/packages/{_es → avatar}/Avatar.js +4 -4
- package/dist/packages/avatar/index.mjs +2 -4
- package/dist/packages/{_es → avatarcropper}/AvatarCropper.js +6 -6
- package/dist/packages/avatarcropper/index.mjs +2 -4
- package/dist/packages/{_es → avatargroup}/AvatarGroup.js +4 -4
- package/dist/packages/avatargroup/index.mjs +2 -4
- package/dist/packages/{_es → backtop}/Backtop.js +3 -3
- package/dist/packages/backtop/index.mjs +2 -4
- package/dist/packages/{_es → badge}/Badge.js +4 -4
- package/dist/packages/badge/index.mjs +2 -4
- package/dist/packages/{_es → barrage}/Barrage.js +11 -16
- package/dist/packages/barrage/index.mjs +2 -4
- package/dist/packages/{_es → button}/Button.js +4 -4
- package/dist/packages/button/index.mjs +2 -4
- package/dist/packages/{_es → calendar}/Calendar.js +16 -12
- package/dist/packages/calendar/index.mjs +2 -4
- package/dist/packages/calendaritem/CalendarItem.js +11 -0
- package/dist/packages/calendaritem/index.mjs +2 -4
- package/dist/packages/{_es → card}/Card.js +6 -6
- package/dist/packages/card/index.mjs +2 -4
- package/dist/packages/{_es → cascader}/Cascader.js +23 -20
- package/dist/packages/cascader/index.mjs +2 -4
- package/dist/packages/{_es → category}/Category.js +2 -2
- package/dist/packages/category/index.mjs +2 -4
- package/dist/packages/{_es → categorypane}/CategoryPane.js +2 -2
- package/dist/packages/categorypane/index.mjs +2 -4
- package/dist/packages/{_es → cell}/Cell.js +15 -9
- package/dist/packages/cell/index.mjs +2 -4
- package/dist/packages/{_es → cellgroup}/CellGroup.js +4 -4
- package/dist/packages/cellgroup/index.mjs +2 -4
- package/dist/packages/{_es → checkbox}/Checkbox.js +2 -2
- package/dist/packages/checkbox/index.css +1 -1
- package/dist/packages/checkbox/index.mjs +2 -4
- package/dist/packages/checkbox/index.scss +1 -0
- package/dist/packages/{_es → checkboxgroup}/CheckboxGroup.js +2 -2
- package/dist/packages/checkboxgroup/index.mjs +2 -4
- package/dist/packages/{_es → circleprogress}/CircleProgress.js +2 -2
- package/dist/packages/circleprogress/index.mjs +2 -4
- package/dist/packages/{_es → col}/Col.js +2 -2
- package/dist/packages/col/index.mjs +2 -4
- package/dist/packages/{_es → collapse}/Collapse.js +11 -16
- package/dist/packages/collapse/index.mjs +2 -4
- package/dist/packages/{_es → collapseitem}/CollapseItem.js +3 -3
- package/dist/packages/collapseitem/index.mjs +2 -4
- package/dist/packages/{_es → comment}/Comment.js +34 -34
- package/dist/packages/comment/index.mjs +2 -4
- package/dist/packages/{_es/common-728db750.js → common-3db007cd.js} +2 -2
- package/dist/packages/{_es/component-f86a70df.js → component-a8dfbf81.js} +7 -7
- package/dist/packages/{_es → configprovider}/ConfigProvider.js +1 -1
- package/dist/packages/configprovider/index.mjs +2 -4
- package/dist/packages/{_es → countdown}/Countdown.js +12 -17
- package/dist/packages/countdown/index.mjs +2 -4
- package/dist/packages/{_es → countup}/Countup.js +2 -2
- package/dist/packages/countup/index.mjs +2 -4
- package/dist/packages/{_es → datepicker}/DatePicker.js +14 -13
- package/dist/packages/datepicker/index.mjs +2 -4
- package/dist/packages/{_es → dialog}/Dialog.js +26 -21
- package/dist/packages/dialog/index.mjs +3 -5
- package/dist/packages/{_es → divider}/Divider.js +2 -2
- package/dist/packages/divider/index.mjs +2 -4
- package/dist/packages/{_es → drag}/Drag.js +7 -14
- package/dist/packages/drag/index.mjs +2 -4
- package/dist/packages/{_es → ecard}/Ecard.js +9 -6
- package/dist/packages/ecard/index.mjs +2 -4
- package/dist/packages/{_es → elevator}/Elevator.js +34 -51
- package/dist/packages/elevator/index.css +1 -1
- package/dist/packages/elevator/index.mjs +2 -4
- package/dist/packages/elevator/index.scss +0 -13
- package/dist/packages/{_es → ellipsis}/Ellipsis.js +7 -13
- package/dist/packages/ellipsis/index.mjs +2 -4
- package/dist/packages/{_es → empty}/Empty.js +7 -4
- package/dist/packages/empty/index.mjs +2 -4
- package/dist/packages/{_es → fixednav}/FixedNav.js +13 -10
- package/dist/packages/fixednav/index.mjs +2 -4
- package/dist/packages/{_es → form}/Form.js +7 -7
- package/dist/packages/form/index.mjs +2 -4
- package/dist/packages/{_es → formitem}/FormItem.js +23 -12
- package/dist/packages/formitem/index.mjs +2 -4
- package/dist/packages/{_es → grid}/Grid.js +3 -3
- package/dist/packages/grid/index.mjs +2 -4
- package/dist/packages/{_es → griditem}/GridItem.js +5 -5
- package/dist/packages/griditem/index.mjs +2 -4
- package/dist/packages/{_es → image}/Image.js +3 -3
- package/dist/packages/image/index.mjs +2 -4
- package/dist/packages/{_es → imagepreview}/ImagePreview.js +19 -18
- package/dist/packages/imagepreview/index.css +1 -1
- package/dist/packages/imagepreview/index.mjs +3 -5
- package/dist/packages/{_es/index-b53aec83.js → index-47708e50.js} +10 -6
- package/dist/packages/index-99fdd331.js +17 -0
- package/dist/packages/{_es/index-5a1e6d22.js → index-ae743c4f.js} +5 -5
- package/dist/packages/{_es/index.vue_vue_type_script_lang-0ccf787e.js → index.vue_vue_type_script_lang-336a1e7d.js} +2 -2
- package/dist/packages/{_es/index.vue_vue_type_script_lang-1e118ab6.js → index.vue_vue_type_script_lang-e1fb856d.js} +1 -1
- package/dist/packages/{_es → indicator}/Indicator.js +2 -2
- package/dist/packages/indicator/index.mjs +2 -4
- package/dist/packages/{_es → infiniteloading}/InfiniteLoading.js +25 -28
- package/dist/packages/infiniteloading/index.mjs +2 -4
- package/dist/packages/{_es → input}/Input.js +17 -9
- package/dist/packages/input/index.mjs +2 -4
- package/dist/packages/{_es → inputnumber}/InputNumber.js +5 -5
- package/dist/packages/inputnumber/index.mjs +2 -4
- package/dist/packages/{_es → invoice}/Invoice.js +16 -16
- package/dist/packages/invoice/index.mjs +2 -4
- package/dist/packages/{_es → layout}/Layout.js +1 -1
- package/dist/packages/layout/index.mjs +2 -4
- package/dist/packages/{_es → list}/List.js +7 -14
- 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 -3
- package/dist/packages/menu/index.mjs +2 -4
- package/dist/packages/{_es → menuitem}/MenuItem.js +5 -5
- package/dist/packages/menuitem/index.mjs +2 -4
- package/dist/packages/{_es/mountComponent-053caf41.js → mountComponent-614f1309.js} +1 -1
- package/dist/packages/{_es → navbar}/Navbar.js +2 -2
- package/dist/packages/navbar/index.mjs +2 -4
- package/dist/packages/{_es → noticebar}/Noticebar.js +20 -30
- package/dist/packages/noticebar/index.mjs +2 -4
- package/dist/packages/{_es → notify}/Notify.js +5 -5
- package/dist/packages/notify/index.mjs +3 -5
- package/dist/packages/{_es → numberkeyboard}/NumberKeyboard.js +9 -6
- package/dist/packages/numberkeyboard/index.mjs +2 -4
- package/dist/packages/{_es → overlay}/Overlay.js +4 -4
- package/dist/packages/overlay/index.mjs +2 -4
- package/dist/packages/{_es → pagination}/Pagination.js +6 -3
- package/dist/packages/pagination/index.mjs +2 -4
- package/dist/packages/{_es → picker}/Picker.js +22 -20
- package/dist/packages/picker/index.mjs +2 -4
- package/dist/packages/{_es → popover}/Popover.js +9 -9
- 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 -4
- package/dist/packages/price/index.mjs +2 -4
- package/dist/packages/{_es → progress}/Progress.js +4 -4
- package/dist/packages/progress/index.mjs +2 -4
- package/dist/packages/{_es → pullrefresh}/PullRefresh.js +39 -29
- package/dist/packages/pullrefresh/index.mjs +2 -4
- package/dist/packages/pxCheck-a27490eb.js +8 -0
- package/dist/packages/radio/Radio.js +9 -0
- package/dist/packages/radio/index.mjs +2 -4
- package/dist/packages/radiogroup/RadioGroup.js +7 -0
- package/dist/packages/radiogroup/index.mjs +2 -4
- package/dist/packages/{_es → range}/Range.js +6 -6
- package/dist/packages/range/index.mjs +2 -4
- package/dist/packages/{_es → rate}/Rate.js +32 -26
- package/dist/packages/rate/index.mjs +2 -4
- package/dist/packages/{_es → row}/Row.js +2 -2
- package/dist/packages/row/index.mjs +2 -4
- package/dist/packages/{_es → searchbar}/Searchbar.js +7 -4
- package/dist/packages/searchbar/index.mjs +2 -4
- package/dist/packages/{_es → shortpassword}/ShortPassword.js +9 -6
- package/dist/packages/shortpassword/index.mjs +2 -4
- package/dist/packages/{_es → sidenavbar}/SideNavbar.js +12 -20
- package/dist/packages/sidenavbar/index.mjs +2 -4
- package/dist/packages/{_es → sidenavbaritem}/SideNavbarItem.js +8 -15
- package/dist/packages/sidenavbaritem/index.mjs +2 -4
- package/dist/packages/{_es → signature}/Signature.js +9 -6
- package/dist/packages/signature/index.mjs +2 -4
- package/dist/packages/{_es → skeleton}/Skeleton.js +4 -4
- package/dist/packages/skeleton/index.mjs +2 -4
- package/dist/packages/{_es → sku}/Sku.js +32 -42
- package/dist/packages/sku/index.mjs +2 -4
- package/dist/packages/{_es → space}/Space.js +1 -1
- package/dist/packages/space/index.mjs +2 -4
- package/dist/packages/{_es → step}/Step.js +2 -2
- package/dist/packages/step/index.mjs +2 -4
- package/dist/packages/{_es → steps}/Steps.js +1 -1
- package/dist/packages/steps/index.mjs +2 -4
- package/dist/packages/{_es → sticky}/Sticky.js +8 -7
- package/dist/packages/sticky/index.mjs +2 -4
- package/dist/packages/{_es → subsidenavbar}/SubSideNavbar.js +8 -15
- package/dist/packages/subsidenavbar/index.mjs +2 -4
- package/dist/packages/{_es → swipe}/Swipe.js +5 -5
- package/dist/packages/swipe/index.mjs +2 -4
- package/dist/packages/{_es → swipegroup}/SwipeGroup.js +2 -2
- package/dist/packages/swipegroup/index.mjs +2 -4
- package/dist/packages/{_es → swiper}/Swiper.js +18 -17
- package/dist/packages/swiper/index.css +1 -1
- package/dist/packages/swiper/index.mjs +2 -4
- package/dist/packages/swiper/index.scss +0 -1
- package/dist/packages/{_es → swiperitem}/SwiperItem.js +10 -17
- package/dist/packages/swiperitem/index.mjs +2 -4
- package/dist/packages/{_es → switch}/Switch.js +2 -2
- package/dist/packages/switch/index.mjs +2 -4
- package/dist/packages/{_es → tabbar}/Tabbar.js +2 -2
- package/dist/packages/tabbar/index.mjs +2 -4
- package/dist/packages/{_es → tabbaritem}/TabbarItem.js +6 -6
- package/dist/packages/tabbaritem/index.mjs +2 -4
- package/dist/packages/{_es → table}/Table.js +30 -39
- package/dist/packages/table/index.mjs +2 -4
- package/dist/packages/{_es → tabpane}/TabPane.js +4 -4
- package/dist/packages/tabpane/index.mjs +2 -4
- package/dist/packages/{_es → tabs}/Tabs.js +11 -11
- package/dist/packages/tabs/index.mjs +2 -4
- package/dist/packages/{_es → tag}/Tag.js +4 -4
- package/dist/packages/tag/index.mjs +2 -4
- package/dist/packages/{_es → textarea}/Textarea.js +7 -4
- package/dist/packages/textarea/index.mjs +2 -4
- package/dist/packages/{_es → timedetail}/TimeDetail.js +17 -28
- package/dist/packages/timedetail/index.mjs +2 -4
- package/dist/packages/{_es → timepannel}/TimePannel.js +2 -2
- package/dist/packages/timepannel/index.mjs +2 -4
- package/dist/packages/{_es → timeselect}/TimeSelect.js +28 -34
- package/dist/packages/timeselect/index.mjs +2 -4
- package/dist/packages/{_es → toast}/Toast.js +4 -4
- package/dist/packages/toast/index.mjs +3 -5
- package/dist/packages/{_es → tour}/Tour.js +8 -9
- package/dist/packages/tour/index.mjs +2 -4
- package/dist/packages/{_es → trendarrow}/TrendArrow.js +8 -15
- package/dist/packages/trendarrow/index.mjs +2 -4
- package/dist/packages/{_es → uploader}/Uploader.js +10 -8
- package/dist/packages/uploader/index.mjs +2 -4
- package/dist/packages/{_es → video}/Video.js +8 -5
- package/dist/packages/video/index.mjs +2 -4
- package/dist/packages/{_es → watermark}/Watermark.js +2 -2
- package/dist/packages/watermark/index.mjs +2 -4
- package/dist/smartips/web-types.json +38 -2
- package/dist/style.css +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +12 -20
- 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/barrage/index.vue.d.ts +0 -3
- package/dist/types/__VUE/calendar/index.vue.d.ts +4 -2
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +4 -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/collapse/index.vue.d.ts +0 -3
- 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 +2 -5
- package/dist/types/__VUE/countdown/index.vue.d.ts +1 -4
- package/dist/types/__VUE/dialog/index.d.ts +10 -8
- package/dist/types/__VUE/dialog/index.vue.d.ts +10 -4
- package/dist/types/__VUE/drag/index.vue.d.ts +0 -3
- package/dist/types/__VUE/ecard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/elevator/index.vue.d.ts +0 -6
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +0 -3
- 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/imagepreview/index.d.ts +1 -0
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -4
- package/dist/types/__VUE/input/index.vue.d.ts +7 -4
- package/dist/types/__VUE/input/type.d.ts +5 -0
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +0 -3
- package/dist/types/__VUE/noticebar/index.vue.d.ts +5 -24
- 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/pullrefresh/index.vue.d.ts +20 -5
- package/dist/types/__VUE/rate/index.vue.d.ts +4 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +0 -3
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +0 -3
- 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 +9 -177
- package/dist/types/__VUE/sticky/index.vue.d.ts +3 -0
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +0 -3
- package/dist/types/__VUE/swiper/index.vue.d.ts +0 -3
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +0 -3
- package/dist/types/__VUE/table/common.d.ts +7 -7
- package/dist/types/__VUE/table/index.vue.d.ts +13 -16
- 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 +3 -2
- package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -6
- package/dist/types/__VUE/timeselect/index.vue.d.ts +2 -6
- package/dist/types/__VUE/tour/index.vue.d.ts +12 -11
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +0 -3
- 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/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/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
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import { _ as _export_sfc } from "
|
|
21
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
22
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
23
|
import "../locale/lang";
|
|
24
24
|
const { componentName, create } = createComponent("time-pannel");
|
|
25
25
|
const _sfc_main = create({
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode,
|
|
2
|
-
import { c as createComponent } from "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, createElementBlock, toDisplayString, renderSlot } from "vue";
|
|
2
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
3
|
+
import { N as NutPopup } from "../index-ae743c4f.js";
|
|
4
|
+
import { u as useLocale } from "../index-99fdd331.js";
|
|
5
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
6
|
import "../locale/lang";
|
|
6
7
|
import "@nutui/icons-vue";
|
|
7
|
-
import "
|
|
8
|
-
const {
|
|
8
|
+
import "../overlay/Overlay.js";
|
|
9
|
+
const { create } = createComponent("time-select");
|
|
10
|
+
const cN = "NutTimeSelect";
|
|
9
11
|
const _sfc_main = create({
|
|
10
12
|
components: {
|
|
11
|
-
|
|
13
|
+
NutPopup
|
|
12
14
|
},
|
|
13
15
|
props: {
|
|
14
16
|
visible: {
|
|
@@ -43,13 +45,8 @@ const _sfc_main = create({
|
|
|
43
45
|
}
|
|
44
46
|
},
|
|
45
47
|
emits: ["update:visible", "select"],
|
|
46
|
-
setup: (props,
|
|
47
|
-
const
|
|
48
|
-
const prefixCls = componentName;
|
|
49
|
-
return {
|
|
50
|
-
[prefixCls]: true
|
|
51
|
-
};
|
|
52
|
-
});
|
|
48
|
+
setup: (props, { emit }) => {
|
|
49
|
+
const translate = useLocale(cN);
|
|
53
50
|
const popStyle = computed(() => {
|
|
54
51
|
return {
|
|
55
52
|
width: "100%",
|
|
@@ -59,26 +56,25 @@ const _sfc_main = create({
|
|
|
59
56
|
const currentKey = computed(() => props.currentKey);
|
|
60
57
|
const currentTime = computed(() => props.currentTime);
|
|
61
58
|
const close = () => {
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
emit("update:visible", false);
|
|
60
|
+
emit("select", currentTime.value);
|
|
64
61
|
};
|
|
65
62
|
provide("currentKey", currentKey);
|
|
66
63
|
provide("currentTime", currentTime);
|
|
67
64
|
return {
|
|
68
|
-
classes,
|
|
69
65
|
popStyle,
|
|
70
|
-
props,
|
|
71
66
|
close,
|
|
72
67
|
translate
|
|
73
68
|
};
|
|
74
69
|
}
|
|
75
70
|
});
|
|
76
|
-
const _hoisted_1 = { class: "nut-time-
|
|
77
|
-
const _hoisted_2 = { class: "nut-time-
|
|
78
|
-
const _hoisted_3 = {
|
|
79
|
-
const _hoisted_4 = {
|
|
80
|
-
const _hoisted_5 = { class: "nut-time-
|
|
81
|
-
const _hoisted_6 = { class: "nut-time-
|
|
71
|
+
const _hoisted_1 = { class: "nut-time-select" };
|
|
72
|
+
const _hoisted_2 = { class: "nut-time-select__title" };
|
|
73
|
+
const _hoisted_3 = { class: "nut-time-select__title__fixed" };
|
|
74
|
+
const _hoisted_4 = { key: 0 };
|
|
75
|
+
const _hoisted_5 = { class: "nut-time-select__content" };
|
|
76
|
+
const _hoisted_6 = { class: "nut-time-select__content__pannel" };
|
|
77
|
+
const _hoisted_7 = { class: "nut-time-select__content__detail" };
|
|
82
78
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
79
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
84
80
|
return openBlock(), createBlock(_component_nut_popup, {
|
|
@@ -93,23 +89,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
93
89
|
onClickCloseIcon: _ctx.close
|
|
94
90
|
}, {
|
|
95
91
|
default: withCtx(() => [
|
|
96
|
-
createElementVNode("view",
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
createElementVNode("view", _hoisted_2, [
|
|
101
|
-
!_ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(_ctx.title || _ctx.translate("pickupTime")), 1)) : renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
92
|
+
createElementVNode("view", _hoisted_1, [
|
|
93
|
+
createElementVNode("view", _hoisted_2, [
|
|
94
|
+
createElementVNode("view", _hoisted_3, [
|
|
95
|
+
!_ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(_ctx.title || _ctx.translate("pickupTime")), 1)) : renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
102
96
|
])
|
|
103
97
|
]),
|
|
104
|
-
createElementVNode("view",
|
|
105
|
-
createElementVNode("view",
|
|
98
|
+
createElementVNode("view", _hoisted_5, [
|
|
99
|
+
createElementVNode("view", _hoisted_6, [
|
|
106
100
|
renderSlot(_ctx.$slots, "pannel")
|
|
107
101
|
]),
|
|
108
|
-
createElementVNode("view",
|
|
102
|
+
createElementVNode("view", _hoisted_7, [
|
|
109
103
|
renderSlot(_ctx.$slots, "detail")
|
|
110
104
|
])
|
|
111
105
|
])
|
|
112
|
-
]
|
|
106
|
+
])
|
|
113
107
|
]),
|
|
114
108
|
_: 3
|
|
115
109
|
}, 8, ["teleport-disable", "visible", "style", "lock-scroll", "onClickOverlay", "onClickCloseIcon"]);
|
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import { r as renderIcon } from "
|
|
23
|
-
import { _ as _export_sfc } from "
|
|
21
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
22
|
+
import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
|
|
23
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
24
|
import "../locale/lang";
|
|
25
|
-
import { C as CreateComponent } from "
|
|
25
|
+
import { C as CreateComponent } from "../mountComponent-614f1309.js";
|
|
26
26
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
27
27
|
const { create } = createComponent("toast");
|
|
28
28
|
const _sfc_main = create({
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { showToast } from '
|
|
3
|
-
|
|
4
|
-
const Toast = treeshaking(_Toast);
|
|
5
|
-
export { Toast, showToast };
|
|
1
|
+
import Toast from './Toast.js';
|
|
2
|
+
import { showToast } from './Toast.js';
|
|
3
|
+
export { Toast, showToast, Toast as default };
|
|
@@ -18,19 +18,19 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, ref, computed, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vShow, Fragment, renderList, normalizeStyle, createCommentVNode, createVNode, withCtx, renderSlot, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import { u as useRect } from "
|
|
21
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
22
|
+
import { u as useRect } from "../index-29892cda.js";
|
|
23
23
|
import { Close } from "@nutui/icons-vue";
|
|
24
|
-
import
|
|
25
|
-
import { _ as _export_sfc } from "
|
|
24
|
+
import NutPopover from "../popover/Popover.js";
|
|
25
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
26
26
|
import "../locale/lang";
|
|
27
|
-
import "
|
|
28
|
-
import "
|
|
29
|
-
import "
|
|
27
|
+
import "../renderIcon-3d0fd47c.js";
|
|
28
|
+
import "../index-ae743c4f.js";
|
|
29
|
+
import "../overlay/Overlay.js";
|
|
30
30
|
const { create } = createComponent("tour");
|
|
31
31
|
const _sfc_main = create({
|
|
32
32
|
components: {
|
|
33
|
-
|
|
33
|
+
NutPopover,
|
|
34
34
|
Close
|
|
35
35
|
},
|
|
36
36
|
props: {
|
|
@@ -38,7 +38,6 @@ const _sfc_main = create({
|
|
|
38
38
|
type: {
|
|
39
39
|
type: String,
|
|
40
40
|
default: "step"
|
|
41
|
-
// tile
|
|
42
41
|
},
|
|
43
42
|
steps: {
|
|
44
43
|
type: Array,
|
|
@@ -17,12 +17,12 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock,
|
|
21
|
-
import { m as myFixed, c as createComponent } from "
|
|
20
|
+
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
21
|
+
import { m as myFixed, c as createComponent } from "../component-a8dfbf81.js";
|
|
22
22
|
import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
|
|
23
|
-
import { _ as _export_sfc } from "
|
|
23
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
24
|
import "../locale/lang";
|
|
25
|
-
const {
|
|
25
|
+
const { create } = createComponent("trend-arrow");
|
|
26
26
|
const _sfc_main = create({
|
|
27
27
|
components: { TriangleUp, TriangleDown },
|
|
28
28
|
props: {
|
|
@@ -67,12 +67,6 @@ const _sfc_main = create({
|
|
|
67
67
|
const state = reactive({
|
|
68
68
|
rateTrend: props.rate > 0 ? true : false
|
|
69
69
|
});
|
|
70
|
-
const classes = computed(() => {
|
|
71
|
-
const prefixCls = componentName;
|
|
72
|
-
return {
|
|
73
|
-
[prefixCls]: true
|
|
74
|
-
};
|
|
75
|
-
});
|
|
76
70
|
const calcRate = computed(() => {
|
|
77
71
|
const { rate, digits, showSign, showZero } = props;
|
|
78
72
|
state.rateTrend = rate > 0 ? true : false;
|
|
@@ -93,15 +87,14 @@ const _sfc_main = create({
|
|
|
93
87
|
};
|
|
94
88
|
return style;
|
|
95
89
|
});
|
|
96
|
-
return __spreadProps(__spreadValues({}, toRefs(state)), {
|
|
90
|
+
return __spreadProps(__spreadValues({}, toRefs(state)), { calcRate, calcStyle });
|
|
97
91
|
}
|
|
98
92
|
});
|
|
93
|
+
const _hoisted_1 = { class: "nut-trend-arrow" };
|
|
99
94
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
100
95
|
const _component_TriangleUp = resolveComponent("TriangleUp");
|
|
101
96
|
const _component_TriangleDown = resolveComponent("TriangleDown");
|
|
102
|
-
return openBlock(), createElementBlock("view",
|
|
103
|
-
class: normalizeClass(_ctx.classes)
|
|
104
|
-
}, [
|
|
97
|
+
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
105
98
|
!_ctx.arrowLeft ? (openBlock(), createElementBlock("span", {
|
|
106
99
|
key: 0,
|
|
107
100
|
class: "nut-trend-arrow-icon-before nut-trend-arrow-rate",
|
|
@@ -118,7 +111,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
111
|
class: "nut-trend-arrow-icon-after nut-trend-arrow-rate",
|
|
119
112
|
style: normalizeStyle(_ctx.calcStyle)
|
|
120
113
|
}, toDisplayString(_ctx.calcRate), 5)) : createCommentVNode("", true)
|
|
121
|
-
]
|
|
114
|
+
]);
|
|
122
115
|
}
|
|
123
116
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
124
117
|
export {
|
|
@@ -5,11 +5,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import { ref, watch, h, reactive, resolveComponent, openBlock, createElementBlock, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
8
|
-
import { c as createComponent } from "
|
|
9
|
-
import { f as funInterceptor } from "
|
|
10
|
-
import
|
|
8
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
9
|
+
import { f as funInterceptor } from "../Interceptor-a7d38af1.js";
|
|
10
|
+
import NutProgress from "../progress/Progress.js";
|
|
11
11
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
12
|
-
import {
|
|
12
|
+
import { u as useLocale } from "../index-99fdd331.js";
|
|
13
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
13
14
|
import "../locale/lang";
|
|
14
15
|
class UploadOptions {
|
|
15
16
|
constructor() {
|
|
@@ -76,11 +77,10 @@ class Uploader {
|
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
|
-
const { translate: translate$1 } = createComponent("uploader");
|
|
80
80
|
class FileItem {
|
|
81
81
|
constructor() {
|
|
82
82
|
__publicField(this, "status", "ready");
|
|
83
|
-
__publicField(this, "message",
|
|
83
|
+
__publicField(this, "message", "");
|
|
84
84
|
__publicField(this, "uid", (/* @__PURE__ */ new Date()).getTime().toString());
|
|
85
85
|
__publicField(this, "name");
|
|
86
86
|
__publicField(this, "url");
|
|
@@ -90,10 +90,11 @@ class FileItem {
|
|
|
90
90
|
__publicField(this, "formData", {});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
const { create
|
|
93
|
+
const { create } = createComponent("uploader");
|
|
94
|
+
const cN = "NutUploader";
|
|
94
95
|
const _sfc_main = create({
|
|
95
96
|
components: {
|
|
96
|
-
|
|
97
|
+
NutProgress,
|
|
97
98
|
Photograph,
|
|
98
99
|
Failure,
|
|
99
100
|
Loading,
|
|
@@ -151,6 +152,7 @@ const _sfc_main = create({
|
|
|
151
152
|
"fileItemClick"
|
|
152
153
|
],
|
|
153
154
|
setup(props, { emit }) {
|
|
155
|
+
const translate = useLocale(cN);
|
|
154
156
|
const fileList = ref(props.fileList);
|
|
155
157
|
const uploadQueue = ref([]);
|
|
156
158
|
watch(
|
|
@@ -18,8 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import {
|
|
21
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
22
|
+
import { u as useLocale } from "../index-99fdd331.js";
|
|
23
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
24
|
import "../locale/lang";
|
|
24
25
|
function throttle(fn, delay) {
|
|
25
26
|
let timer = null;
|
|
@@ -37,7 +38,8 @@ function throttle(fn, delay) {
|
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
const { create
|
|
41
|
+
const { create } = createComponent("video");
|
|
42
|
+
const cN = "NutVideo";
|
|
41
43
|
const _sfc_main = create({
|
|
42
44
|
props: {
|
|
43
45
|
source: {
|
|
@@ -72,6 +74,7 @@ const _sfc_main = create({
|
|
|
72
74
|
components: {},
|
|
73
75
|
emits: ["click", "play", "pause", "playend", "time"],
|
|
74
76
|
setup(props, { emit, expose }) {
|
|
77
|
+
const translate = useLocale(cN);
|
|
75
78
|
const state = reactive({
|
|
76
79
|
videoElm: null,
|
|
77
80
|
initial: true,
|
|
@@ -444,7 +447,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
444
447
|
])
|
|
445
448
|
], 512);
|
|
446
449
|
}
|
|
447
|
-
const
|
|
450
|
+
const NutVideo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
448
451
|
export {
|
|
449
|
-
|
|
452
|
+
NutVideo as default
|
|
450
453
|
};
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
21
|
-
import { c as createComponent } from "
|
|
22
|
-
import { _ as _export_sfc } from "
|
|
21
|
+
import { c as createComponent } from "../component-a8dfbf81.js";
|
|
22
|
+
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
23
|
import "../locale/lang";
|
|
24
24
|
const { componentName, create } = createComponent("watermark");
|
|
25
25
|
const _sfc_main = create({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "NutUI",
|
|
5
|
-
"version": "4.2.
|
|
5
|
+
"version": "4.2.2-beta.1",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"tags": [
|
|
@@ -976,6 +976,15 @@
|
|
|
976
976
|
"type": "0-6",
|
|
977
977
|
"kind": "expression"
|
|
978
978
|
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "disabled-date",
|
|
982
|
+
"default": "`-`",
|
|
983
|
+
"description": "一个用来判断该日期是否被禁用的函数,接受一个`年-月-日`作为参数。 应该返回一个 Boolean 值。",
|
|
984
|
+
"value": {
|
|
985
|
+
"type": "function",
|
|
986
|
+
"kind": "expression"
|
|
987
|
+
}
|
|
979
988
|
}
|
|
980
989
|
]
|
|
981
990
|
},
|
|
@@ -2004,6 +2013,15 @@
|
|
|
2004
2013
|
"kind": "expression"
|
|
2005
2014
|
}
|
|
2006
2015
|
},
|
|
2016
|
+
{
|
|
2017
|
+
"name": "okAutoClose",
|
|
2018
|
+
"default": "`true`",
|
|
2019
|
+
"description": "确认按钮是否默认关闭弹窗",
|
|
2020
|
+
"value": {
|
|
2021
|
+
"type": "boolean",
|
|
2022
|
+
"kind": "expression"
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
2007
2025
|
{
|
|
2008
2026
|
"name": "textAlign",
|
|
2009
2027
|
"default": "`\"center\"`",
|
|
@@ -3059,7 +3077,7 @@
|
|
|
3059
3077
|
"default": "-",
|
|
3060
3078
|
"description": "输入值,双向绑定",
|
|
3061
3079
|
"value": {
|
|
3062
|
-
"type": "string",
|
|
3080
|
+
"type": "string | number",
|
|
3063
3081
|
"kind": "expression"
|
|
3064
3082
|
}
|
|
3065
3083
|
},
|
|
@@ -4694,6 +4712,24 @@
|
|
|
4694
4712
|
"kind": "expression"
|
|
4695
4713
|
}
|
|
4696
4714
|
},
|
|
4715
|
+
{
|
|
4716
|
+
"name": "complete-txt",
|
|
4717
|
+
"default": "`刷新成功`",
|
|
4718
|
+
"description": "加载完成提示文案",
|
|
4719
|
+
"value": {
|
|
4720
|
+
"type": "string",
|
|
4721
|
+
"kind": "expression"
|
|
4722
|
+
}
|
|
4723
|
+
},
|
|
4724
|
+
{
|
|
4725
|
+
"name": "complete-duration",
|
|
4726
|
+
"default": "`0`",
|
|
4727
|
+
"description": "加载完成时显示文字的持续时间(毫秒),为`0`时不展示加载完成文案",
|
|
4728
|
+
"value": {
|
|
4729
|
+
"type": "number",
|
|
4730
|
+
"kind": "expression"
|
|
4731
|
+
}
|
|
4732
|
+
},
|
|
4697
4733
|
{
|
|
4698
4734
|
"name": "duration",
|
|
4699
4735
|
"default": "`0.3 `",
|