@nutui/nutui 4.0.0-beta.1 → 4.0.0-beta.10
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/README.md +1 -1
- package/dist/nutui.es.js +227 -103
- package/dist/nutui.umd.cjs +7 -20061
- package/dist/packages/_es/ActionSheet.js +3 -8
- package/dist/packages/_es/Address.js +4 -9
- package/dist/packages/_es/AddressList.js +6 -8
- package/dist/packages/_es/Animate.js +2 -7
- package/dist/packages/_es/Audio.js +4 -9
- package/dist/packages/_es/AudioOperate.js +2 -7
- package/dist/packages/_es/Avatar.js +2 -7
- package/dist/packages/_es/AvatarGroup.js +2 -7
- package/dist/packages/_es/Backtop.js +3 -8
- package/dist/packages/_es/Badge.js +2 -7
- package/dist/packages/_es/Barrage.js +17 -34
- package/dist/packages/_es/Button.js +2 -7
- package/dist/packages/_es/Calendar.js +6 -11
- package/dist/packages/_es/CalendarItem.js +5 -10
- package/dist/packages/_es/Card.js +2 -7
- package/dist/packages/_es/Cascader.js +14 -9
- package/dist/packages/_es/Category.js +2 -7
- package/dist/packages/_es/CategoryPane.js +2 -7
- package/dist/packages/_es/Cell.js +4 -9
- package/dist/packages/_es/CellGroup.js +2 -7
- package/dist/packages/_es/Checkbox.js +2 -7
- package/dist/packages/_es/CheckboxGroup.js +2 -7
- package/dist/packages/_es/CircleProgress.js +2 -7
- package/dist/packages/_es/Col.js +2 -7
- package/dist/packages/_es/Collapse.js +9 -14
- package/dist/packages/_es/CollapseItem.js +5 -10
- package/dist/packages/_es/Comment.js +5 -10
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +2 -7
- package/dist/packages/_es/Countup.js +2 -7
- package/dist/packages/_es/DatePicker.js +4 -9
- package/dist/packages/_es/Dialog.js +16 -28
- package/dist/packages/_es/Divider.js +2 -7
- package/dist/packages/_es/Drag.js +3 -8
- package/dist/packages/_es/Ecard.js +3 -8
- package/dist/packages/_es/Elevator.js +3 -8
- package/dist/packages/_es/Ellipsis.js +2 -7
- package/dist/packages/_es/Empty.js +2 -7
- package/dist/packages/_es/FixedNav.js +2 -7
- package/dist/packages/_es/Form.js +2 -7
- package/dist/packages/_es/FormItem.js +4 -9
- package/dist/packages/_es/Grid.js +3 -8
- package/dist/packages/_es/GridItem.js +5 -10
- package/dist/packages/_es/Image.js +3 -8
- package/dist/packages/_es/ImagePreview.js +22 -32
- package/dist/packages/_es/Indicator.js +2 -7
- package/dist/packages/_es/InfiniteLoading.js +4 -9
- package/dist/packages/_es/Input.js +2 -7
- package/dist/packages/_es/InputNumber.js +3 -8
- package/dist/packages/_es/Invoice.js +6 -11
- package/dist/packages/_es/Layout.js +1 -6
- package/dist/packages/_es/List.js +2 -7
- package/dist/packages/_es/Menu.js +3 -8
- package/dist/packages/_es/MenuItem.js +3 -8
- package/dist/packages/_es/Navbar.js +2 -7
- package/dist/packages/_es/Noticebar.js +12 -16
- package/dist/packages/_es/Notify.js +8 -13
- package/dist/packages/_es/NumberKeyboard.js +3 -8
- package/dist/packages/_es/Overlay.js +2 -7
- package/dist/packages/_es/Pagination.js +2 -7
- package/dist/packages/_es/Picker.js +4 -9
- package/dist/packages/_es/Popover.js +5 -10
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +3 -8
- package/dist/packages/_es/Progress.js +2 -7
- package/dist/packages/_es/PullRefresh.js +5 -10
- package/dist/packages/_es/Radio.js +3 -8
- package/dist/packages/_es/RadioGroup.js +2 -7
- package/dist/packages/_es/Range.js +4 -9
- package/dist/packages/_es/Rate.js +5 -10
- package/dist/packages/_es/Row.js +2 -7
- package/dist/packages/_es/Searchbar.js +3 -8
- package/dist/packages/_es/ShortPassword.js +3 -8
- package/dist/packages/_es/SideNavbar.js +2 -7
- package/dist/packages/_es/SideNavbarItem.js +2 -7
- package/dist/packages/_es/Signature.js +2 -7
- package/dist/packages/_es/Skeleton.js +2 -7
- package/dist/packages/_es/Sku.js +10 -9
- package/dist/packages/_es/Step.js +2 -7
- package/dist/packages/_es/Steps.js +1 -6
- package/dist/packages/_es/Sticky.js +3 -8
- package/dist/packages/_es/SubSideNavbar.js +7 -10
- package/dist/packages/_es/Swipe.js +5 -10
- package/dist/packages/_es/Swiper.js +58 -121
- package/dist/packages/_es/SwiperItem.js +3 -8
- package/dist/packages/_es/Switch.js +3 -8
- package/dist/packages/_es/TabPane.js +4 -9
- package/dist/packages/_es/Tabbar.js +2 -7
- package/dist/packages/_es/TabbarItem.js +12 -32
- package/dist/packages/_es/Table.js +2 -7
- package/dist/packages/_es/Tabs.js +18 -23
- package/dist/packages/_es/Tag.js +2 -7
- package/dist/packages/_es/Textarea.js +2 -7
- package/dist/packages/_es/TimeDetail.js +2 -7
- package/dist/packages/_es/TimePannel.js +2 -7
- package/dist/packages/_es/TimeSelect.js +3 -8
- package/dist/packages/_es/Toast.js +9 -16
- package/dist/packages/_es/Tour.js +5 -10
- package/dist/packages/_es/TrendArrow.js +2 -7
- package/dist/packages/_es/Uploader.js +3 -8
- package/dist/packages/_es/Video.js +2 -7
- package/dist/packages/_es/Watermark.js +2 -7
- package/dist/packages/_es/{_plugin-vue_export-helper-73a3d722.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common-d5c1f4b1.js → common-ceb98554.js} +2 -7
- package/dist/packages/_es/{component-48526d37.js → component-81a4c1d0.js} +0 -5
- package/dist/packages/_es/{index-b05fa625.js → index-1006915b.js} +13 -8
- package/dist/packages/_es/{index-281c4c2c.js → index-1bf0d8ef.js} +5 -10
- package/dist/packages/_es/{index-c70386a5.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index-95a5249b.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index-fe4c328e.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index-efc0d9e4.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index-c3e2c58b.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index.vue_vue_type_script_lang-959515e8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
- package/dist/packages/_es/{index.vue_vue_type_script_lang-5d693346.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang-84b793e8.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
- package/dist/packages/_es/{interceptor-da627865.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent-75cf7cfe.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-e90b8c4d.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon-d470170e.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +3 -1
- package/dist/packages/actionsheet/style.cjs +2 -2
- package/dist/packages/actionsheet/style.mjs +2 -2
- package/dist/packages/address/index.mjs +3 -1
- package/dist/packages/address/style.cjs +3 -3
- package/dist/packages/address/style.mjs +3 -3
- package/dist/packages/addresslist/index.mjs +3 -1
- package/dist/packages/addresslist/style.cjs +2 -1
- package/dist/packages/addresslist/style.mjs +2 -1
- package/dist/packages/animate/index.mjs +3 -1
- package/dist/packages/audio/index.mjs +3 -1
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/style.cjs +1 -1
- package/dist/packages/audio/style.mjs +1 -1
- package/dist/packages/audiooperate/index.mjs +3 -1
- package/dist/packages/audiooperate/style.cjs +1 -1
- package/dist/packages/audiooperate/style.mjs +1 -1
- package/dist/packages/avatar/index.mjs +3 -1
- package/dist/packages/avatargroup/index.mjs +3 -1
- package/dist/packages/backtop/index.mjs +3 -1
- package/dist/packages/badge/index.mjs +3 -1
- package/dist/packages/barrage/index.mjs +3 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/button/index.mjs +3 -1
- package/dist/packages/calendar/index.mjs +3 -1
- package/dist/packages/calendar/index.scss +11 -2
- package/dist/packages/calendar/style.cjs +3 -3
- package/dist/packages/calendar/style.mjs +3 -3
- package/dist/packages/calendaritem/index.mjs +3 -1
- package/dist/packages/card/index.mjs +3 -1
- package/dist/packages/card/style.cjs +2 -2
- package/dist/packages/card/style.mjs +2 -2
- package/dist/packages/cascader/index.mjs +3 -1
- package/dist/packages/cascader/style.cjs +5 -5
- package/dist/packages/cascader/style.mjs +5 -5
- package/dist/packages/category/index.mjs +3 -1
- package/dist/packages/categorypane/index.mjs +3 -1
- package/dist/packages/cell/index.mjs +3 -1
- package/dist/packages/cell/index.scss +3 -1
- package/dist/packages/cellgroup/index.mjs +3 -1
- package/dist/packages/checkbox/index.mjs +3 -1
- package/dist/packages/checkboxgroup/index.mjs +3 -1
- package/dist/packages/circleprogress/index.mjs +3 -1
- package/dist/packages/col/index.mjs +3 -1
- package/dist/packages/collapse/index.mjs +3 -1
- package/dist/packages/collapseitem/index.mjs +3 -1
- package/dist/packages/comment/index.mjs +3 -1
- package/dist/packages/comment/style.cjs +1 -1
- package/dist/packages/comment/style.mjs +1 -1
- package/dist/packages/configprovider/index.mjs +3 -1
- package/dist/packages/countdown/index.mjs +3 -1
- package/dist/packages/countup/index.mjs +3 -1
- package/dist/packages/datepicker/index.mjs +3 -1
- package/dist/packages/datepicker/style.cjs +3 -3
- package/dist/packages/datepicker/style.mjs +3 -3
- package/dist/packages/dialog/index.mjs +5 -2
- package/dist/packages/dialog/style.cjs +3 -3
- package/dist/packages/dialog/style.mjs +3 -3
- package/dist/packages/divider/index.mjs +3 -1
- package/dist/packages/drag/index.mjs +3 -1
- package/dist/packages/ecard/index.mjs +3 -1
- package/dist/packages/ecard/style.cjs +1 -1
- package/dist/packages/ecard/style.mjs +1 -1
- package/dist/packages/elevator/index.mjs +3 -1
- package/dist/packages/ellipsis/index.mjs +3 -1
- package/dist/packages/empty/index.mjs +3 -1
- package/dist/packages/fixednav/index.mjs +3 -1
- package/dist/packages/fixednav/style.cjs +1 -1
- package/dist/packages/fixednav/style.mjs +1 -1
- package/dist/packages/form/index.mjs +3 -1
- package/dist/packages/form/style.cjs +1 -1
- package/dist/packages/form/style.mjs +1 -1
- package/dist/packages/formitem/index.mjs +3 -1
- package/dist/packages/formitem/style.cjs +1 -1
- package/dist/packages/formitem/style.mjs +1 -1
- package/dist/packages/grid/index.mjs +3 -1
- package/dist/packages/griditem/index.mjs +3 -1
- package/dist/packages/image/index.mjs +3 -1
- package/dist/packages/imagepreview/index.mjs +5 -2
- package/dist/packages/imagepreview/style.cjs +5 -5
- package/dist/packages/imagepreview/style.mjs +5 -5
- package/dist/packages/indicator/index.mjs +3 -1
- package/dist/packages/infiniteloading/index.mjs +3 -1
- package/dist/packages/input/index.mjs +3 -1
- package/dist/packages/inputnumber/index.mjs +3 -1
- package/dist/packages/invoice/index.mjs +3 -1
- package/dist/packages/invoice/style.cjs +7 -7
- package/dist/packages/invoice/style.mjs +7 -7
- package/dist/packages/layout/index.mjs +3 -1
- package/dist/packages/list/index.mjs +3 -1
- package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
- package/dist/packages/locale/lang/en-US.js +1 -6
- package/dist/packages/locale/lang/id-ID.js +1 -6
- package/dist/packages/locale/lang/index.js +1 -6
- package/dist/packages/locale/lang/zh-CN.js +1 -6
- package/dist/packages/locale/lang/zh-TW.js +1 -6
- package/dist/packages/menu/index.mjs +3 -1
- package/dist/packages/menuitem/index.mjs +3 -1
- package/dist/packages/menuitem/style.cjs +2 -2
- package/dist/packages/menuitem/style.mjs +2 -2
- package/dist/packages/navbar/index.mjs +3 -1
- package/dist/packages/noticebar/index.mjs +3 -1
- package/dist/packages/noticebar/index.scss +2 -1
- package/dist/packages/notify/index.mjs +5 -2
- package/dist/packages/notify/style.cjs +2 -2
- package/dist/packages/notify/style.mjs +2 -2
- package/dist/packages/numberkeyboard/index.mjs +3 -1
- package/dist/packages/numberkeyboard/index.scss +3 -0
- package/dist/packages/numberkeyboard/style.cjs +2 -2
- package/dist/packages/numberkeyboard/style.mjs +2 -2
- package/dist/packages/overlay/index.mjs +3 -1
- package/dist/packages/pagination/index.mjs +3 -1
- package/dist/packages/picker/index.mjs +3 -1
- package/dist/packages/picker/style.cjs +2 -2
- package/dist/packages/picker/style.mjs +2 -2
- package/dist/packages/popover/index.mjs +3 -1
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.cjs +2 -2
- package/dist/packages/popover/style.mjs +2 -2
- package/dist/packages/popup/index.mjs +3 -1
- package/dist/packages/popup/style.cjs +1 -1
- package/dist/packages/popup/style.mjs +1 -1
- package/dist/packages/price/index.mjs +3 -1
- package/dist/packages/progress/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.scss +3 -2
- package/dist/packages/radio/index.mjs +3 -1
- package/dist/packages/radio/index.scss +14 -1
- package/dist/packages/radiogroup/index.mjs +3 -1
- package/dist/packages/range/index.mjs +3 -1
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/rate/index.mjs +3 -1
- package/dist/packages/row/index.mjs +3 -1
- package/dist/packages/searchbar/index.mjs +3 -1
- package/dist/packages/shortpassword/index.mjs +3 -1
- package/dist/packages/shortpassword/style.cjs +2 -2
- package/dist/packages/shortpassword/style.mjs +2 -2
- package/dist/packages/sidenavbar/index.mjs +3 -1
- package/dist/packages/sidenavbaritem/index.mjs +3 -1
- package/dist/packages/signature/index.mjs +3 -1
- package/dist/packages/signature/style.cjs +1 -1
- package/dist/packages/signature/style.mjs +1 -1
- package/dist/packages/skeleton/index.mjs +3 -1
- package/dist/packages/skeleton/style.cjs +1 -1
- package/dist/packages/skeleton/style.mjs +1 -1
- package/dist/packages/sku/index.mjs +3 -1
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/style.cjs +4 -4
- package/dist/packages/sku/style.mjs +4 -4
- package/dist/packages/step/index.mjs +3 -1
- package/dist/packages/steps/index.mjs +3 -1
- package/dist/packages/sticky/index.mjs +3 -1
- package/dist/packages/sticky/index.scss +1 -0
- package/dist/packages/subsidenavbar/index.mjs +3 -1
- package/dist/packages/swipe/index.mjs +3 -1
- package/dist/packages/swiper/index.mjs +3 -1
- package/dist/packages/swiperitem/index.mjs +3 -1
- package/dist/packages/switch/index.mjs +3 -1
- package/dist/packages/tabbar/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.mjs +3 -1
- package/dist/packages/tabbaritem/style.cjs +1 -1
- package/dist/packages/tabbaritem/style.mjs +1 -1
- package/dist/packages/table/index.mjs +3 -1
- package/dist/packages/tabpane/index.mjs +3 -1
- package/dist/packages/tabs/index.mjs +3 -1
- package/dist/packages/tabs/style.cjs +1 -1
- package/dist/packages/tabs/style.mjs +1 -1
- package/dist/packages/tag/index.mjs +3 -1
- package/dist/packages/textarea/index.mjs +3 -1
- package/dist/packages/timedetail/index.mjs +3 -1
- package/dist/packages/timedetail/index.scss +14 -1
- package/dist/packages/timepannel/index.mjs +3 -1
- package/dist/packages/timeselect/index.mjs +3 -1
- package/dist/packages/timeselect/style.cjs +2 -2
- package/dist/packages/timeselect/style.mjs +2 -2
- package/dist/packages/toast/index.mjs +5 -2
- package/dist/packages/tour/index.mjs +3 -1
- package/dist/packages/tour/style.cjs +3 -3
- package/dist/packages/tour/style.mjs +3 -3
- package/dist/packages/trendarrow/index.mjs +3 -1
- package/dist/packages/uploader/index.mjs +3 -1
- package/dist/packages/uploader/style.cjs +2 -2
- package/dist/packages/uploader/style.mjs +2 -2
- package/dist/packages/video/index.mjs +3 -1
- package/dist/packages/watermark/index.mjs +3 -1
- package/dist/smartips/attributes.json +289 -293
- package/dist/smartips/tags.json +11 -12
- package/dist/smartips/web-types.json +336 -345
- package/dist/style.css +1 -19
- package/dist/style.js +4 -0
- package/dist/styles/theme-deafult.scss +14 -16
- package/dist/styles/theme-jdt.scss +1 -7
- package/dist/styles/themes/default.scss +54 -54
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +54 -54
- package/dist/styles/variables.scss +8 -11
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
- package/dist/types/__VUE/cascader/types.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
- package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
- package/dist/types/__VUE/notify/index.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
- package/dist/types/__VUE/popup/common.d.ts +8 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
- package/dist/types/__VUE/popup/props.d.ts +8 -0
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
- package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiper/index.vue.d.ts +9 -8
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +10 -7
- package/package.json +20 -47
- package/dist/packages/_es/Icon.js +0 -12
- package/dist/packages/_es/index.vue_vue_type_script_lang-6a7b6f54.js +0 -12
- package/dist/packages/_es/pxCheck-524650ac.js +0 -11
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/icon/index.mjs +0 -2
- package/dist/packages/locale/lang/baseLang-d9df8b94.js +0 -10
- package/dist/types/__VUE/configprovider/common.d.ts +0 -20
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
|
@@ -45,10 +45,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
closeIcon: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
48
|
closeIconPosition: {
|
|
53
49
|
type: StringConstructor;
|
|
54
50
|
default: string;
|
|
@@ -128,10 +124,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
128
124
|
type: BooleanConstructor;
|
|
129
125
|
default: boolean;
|
|
130
126
|
};
|
|
131
|
-
closeIcon: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
127
|
closeIconPosition: {
|
|
136
128
|
type: StringConstructor;
|
|
137
129
|
default: string;
|
|
@@ -168,7 +160,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
168
160
|
show: boolean;
|
|
169
161
|
closeable: boolean;
|
|
170
162
|
closeIconPosition: string;
|
|
171
|
-
closeIcon: string;
|
|
172
163
|
teleport: string | Element;
|
|
173
164
|
teleportDisable: boolean;
|
|
174
165
|
autoplay: string | number;
|
|
@@ -209,15 +209,15 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
209
209
|
"onClick-input"?: ((...args: any[]) => any) | undefined;
|
|
210
210
|
}, {
|
|
211
211
|
center: boolean;
|
|
212
|
-
readonly: boolean;
|
|
213
|
-
ref: string;
|
|
214
212
|
type: string | undefined;
|
|
213
|
+
ref: string;
|
|
215
214
|
border: boolean;
|
|
216
215
|
disabled: boolean;
|
|
217
216
|
modelValue: string;
|
|
218
217
|
error: boolean;
|
|
219
218
|
rows: string | number;
|
|
220
219
|
required: boolean;
|
|
220
|
+
readonly: boolean;
|
|
221
221
|
formatter: (value: string) => string;
|
|
222
222
|
placeholder: string;
|
|
223
223
|
rules: InputRule;
|
|
@@ -97,12 +97,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
97
|
onReduce?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
onOverlimit?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
readonly: boolean;
|
|
101
100
|
disabled: boolean;
|
|
102
101
|
modelValue: string | number;
|
|
103
102
|
min: string | number;
|
|
104
103
|
max: string | number;
|
|
105
104
|
step: string | number;
|
|
105
|
+
readonly: boolean;
|
|
106
106
|
inputWidth: string | number;
|
|
107
107
|
buttonSize: string | number;
|
|
108
108
|
decimalPlaces: string | number;
|
|
@@ -40,10 +40,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
40
40
|
type: ObjectConstructor;
|
|
41
41
|
default: () => typeof Notice;
|
|
42
42
|
};
|
|
43
|
-
rightIcon: {
|
|
44
|
-
type: ObjectConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
43
|
color: {
|
|
48
44
|
type: StringConstructor;
|
|
49
45
|
default: string;
|
|
@@ -115,10 +111,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
115
111
|
color: import("vue").Ref<string>;
|
|
116
112
|
height: import("vue").Ref<number>;
|
|
117
113
|
background: import("vue").Ref<string>;
|
|
118
|
-
speed: import("vue").Ref<number>;
|
|
119
114
|
direction: import("vue").Ref<string>;
|
|
115
|
+
speed: import("vue").Ref<number>;
|
|
120
116
|
leftIcon: import("vue").Ref<Record<string, any>>;
|
|
121
|
-
rightIcon: import("vue").Ref<Record<string, any>>;
|
|
122
117
|
list: import("vue").Ref<unknown[]>;
|
|
123
118
|
standTime: import("vue").Ref<number>;
|
|
124
119
|
complexAm: import("vue").Ref<boolean>;
|
|
@@ -165,10 +160,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
165
160
|
type: ObjectConstructor;
|
|
166
161
|
default: () => typeof Notice;
|
|
167
162
|
};
|
|
168
|
-
rightIcon: {
|
|
169
|
-
type: ObjectConstructor;
|
|
170
|
-
default: string;
|
|
171
|
-
};
|
|
172
163
|
color: {
|
|
173
164
|
type: StringConstructor;
|
|
174
165
|
default: string;
|
|
@@ -197,10 +188,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
197
188
|
color: string;
|
|
198
189
|
height: number;
|
|
199
190
|
background: string;
|
|
200
|
-
speed: number;
|
|
201
191
|
direction: string;
|
|
192
|
+
speed: number;
|
|
202
193
|
leftIcon: Record<string, any>;
|
|
203
|
-
rightIcon: Record<string, any>;
|
|
204
194
|
list: unknown[];
|
|
205
195
|
standTime: number;
|
|
206
196
|
complexAm: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Notify from './index.vue';
|
|
2
|
-
|
|
2
|
+
declare const showNotify: {
|
|
3
3
|
text(msg: string, obj?: {}): {
|
|
4
4
|
[x: string]: unknown;
|
|
5
5
|
} | undefined;
|
|
@@ -18,5 +18,5 @@ export declare const NotifyFunction: {
|
|
|
18
18
|
hide(): void;
|
|
19
19
|
install(app: any): void;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export { showNotify };
|
|
22
|
+
export default Notify;
|
|
@@ -174,8 +174,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
174
174
|
duration: string | number;
|
|
175
175
|
overlayClass: string;
|
|
176
176
|
closeOnClickOverlay: boolean;
|
|
177
|
-
bgColor: string;
|
|
178
177
|
offset: unknown[];
|
|
178
|
+
bgColor: string;
|
|
179
179
|
theme: PopoverTheme;
|
|
180
180
|
customClass: string;
|
|
181
181
|
list: PopoverList[];
|
|
@@ -77,6 +77,14 @@ export declare const component: (componentName: string, components: any) => {
|
|
|
77
77
|
type: BooleanConstructor;
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
|
+
overlayClass: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
overlayStyle: {
|
|
85
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
86
|
+
default: {};
|
|
87
|
+
};
|
|
80
88
|
};
|
|
81
89
|
emits: string[];
|
|
82
90
|
setup(props: any, { emit }: any): {
|
|
@@ -78,6 +78,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
|
+
overlayClass: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
overlayStyle: {
|
|
86
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
87
|
+
default: {};
|
|
88
|
+
};
|
|
81
89
|
}, {
|
|
82
90
|
popStyle: import("vue").ComputedRef<any>;
|
|
83
91
|
transitionName: import("vue").ComputedRef<any>;
|
|
@@ -170,6 +178,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
170
178
|
type: BooleanConstructor;
|
|
171
179
|
default: boolean;
|
|
172
180
|
};
|
|
181
|
+
overlayClass: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
overlayStyle: {
|
|
186
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
187
|
+
default: {};
|
|
188
|
+
};
|
|
173
189
|
}>> & {
|
|
174
190
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
175
191
|
}, {
|
|
@@ -180,6 +196,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
180
196
|
visible: boolean;
|
|
181
197
|
duration: string | number;
|
|
182
198
|
lockScroll: boolean;
|
|
199
|
+
overlayClass: string;
|
|
200
|
+
overlayStyle: import("vue").CSSProperties;
|
|
183
201
|
closeOnClickOverlay: boolean;
|
|
184
202
|
position: string;
|
|
185
203
|
transition: string;
|
|
@@ -107,13 +107,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
107
107
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
readonly: boolean;
|
|
111
110
|
icon: Record<string, any>;
|
|
112
111
|
disabled: boolean;
|
|
113
112
|
modelValue: string | number;
|
|
114
113
|
activeColor: string;
|
|
115
114
|
count: string | number;
|
|
116
115
|
voidColor: string;
|
|
116
|
+
readonly: boolean;
|
|
117
117
|
allowHalf: boolean;
|
|
118
118
|
touchable: boolean;
|
|
119
119
|
spacing: string | number;
|
|
@@ -84,7 +84,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
84
84
|
[key: string]: any;
|
|
85
85
|
}>;
|
|
86
86
|
inputsearch: Ref<HTMLElement | null>;
|
|
87
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
87
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "update:modelValue" | "blur" | "focus" | "search" | "click-input" | "click-left-icon" | "click-right-icon")[], "clear" | "change" | "update:modelValue" | "blur" | "focus" | "search" | "click-input" | "click-left-icon" | "click-right-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
88
|
modelValue: {
|
|
89
89
|
type: (NumberConstructor | StringConstructor)[];
|
|
90
90
|
default: string;
|
|
@@ -153,10 +153,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
153
153
|
"onClick-right-icon"?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
}, {
|
|
155
155
|
label: string;
|
|
156
|
-
readonly: boolean;
|
|
157
156
|
disabled: boolean;
|
|
158
157
|
modelValue: string | number;
|
|
159
158
|
background: string;
|
|
159
|
+
readonly: boolean;
|
|
160
160
|
placeholder: string;
|
|
161
161
|
inputAlign: string;
|
|
162
162
|
maxLength: string | number;
|
|
@@ -98,8 +98,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
98
98
|
title: boolean;
|
|
99
99
|
round: boolean;
|
|
100
100
|
row: string;
|
|
101
|
-
height: string;
|
|
102
101
|
loading: boolean;
|
|
102
|
+
height: string;
|
|
103
103
|
width: string;
|
|
104
104
|
avatar: boolean;
|
|
105
105
|
avatarShape: import("./common").avatarShape;
|
|
@@ -123,6 +123,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
123
123
|
type: BooleanConstructor;
|
|
124
124
|
default: boolean;
|
|
125
125
|
};
|
|
126
|
+
overlayClass: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
overlayStyle: {
|
|
131
|
+
type: PropType<import("vue").CSSProperties>;
|
|
132
|
+
default: {};
|
|
133
|
+
};
|
|
126
134
|
}, {
|
|
127
135
|
showPopup: any;
|
|
128
136
|
closePopup: (type: string) => void;
|
|
@@ -254,6 +262,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
254
262
|
type: BooleanConstructor;
|
|
255
263
|
default: boolean;
|
|
256
264
|
};
|
|
265
|
+
overlayClass: {
|
|
266
|
+
type: StringConstructor;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
overlayStyle: {
|
|
270
|
+
type: PropType<import("vue").CSSProperties>;
|
|
271
|
+
default: {};
|
|
272
|
+
};
|
|
257
273
|
}>> & {
|
|
258
274
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
259
275
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -273,6 +289,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
273
289
|
visible: boolean;
|
|
274
290
|
duration: string | number;
|
|
275
291
|
lockScroll: boolean;
|
|
292
|
+
overlayClass: string;
|
|
293
|
+
overlayStyle: import("vue").CSSProperties;
|
|
276
294
|
closeOnClickOverlay: boolean;
|
|
277
295
|
position: string;
|
|
278
296
|
transition: string;
|
|
@@ -33,8 +33,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
33
33
|
}>> & {
|
|
34
34
|
"onClick-step"?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
current: string | number;
|
|
37
36
|
direction: string;
|
|
37
|
+
current: string | number;
|
|
38
38
|
progressDot: boolean;
|
|
39
39
|
}>>;
|
|
40
40
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
15
|
direction: {
|
|
16
|
-
type: StringConstructor
|
|
16
|
+
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
paginationVisible: {
|
|
@@ -86,12 +86,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
86
86
|
classes: import("vue").ComputedRef<{
|
|
87
87
|
[x: string]: boolean;
|
|
88
88
|
}>;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
[
|
|
89
|
+
classesInner: import("vue").ComputedRef<{
|
|
90
|
+
[x: string]: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
classesPagination: import("vue").ComputedRef<{
|
|
93
|
+
[x: string]: boolean;
|
|
94
94
|
}>;
|
|
95
|
+
container: import("vue").Ref<any>;
|
|
95
96
|
activePagination: import("vue").ComputedRef<number>;
|
|
96
97
|
onTouchStart: (e: TouchEvent) => void;
|
|
97
98
|
onTouchMove: (e: TouchEvent) => void;
|
|
@@ -106,7 +107,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
106
107
|
default: number;
|
|
107
108
|
};
|
|
108
109
|
direction: {
|
|
109
|
-
type: StringConstructor
|
|
110
|
+
type: StringConstructor;
|
|
110
111
|
default: string;
|
|
111
112
|
};
|
|
112
113
|
paginationVisible: {
|
|
@@ -156,8 +157,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
156
157
|
height: string | number;
|
|
157
158
|
width: string | number;
|
|
158
159
|
loop: boolean;
|
|
159
|
-
touchable: boolean;
|
|
160
160
|
direction: string;
|
|
161
|
+
touchable: boolean;
|
|
161
162
|
paginationVisible: boolean;
|
|
162
163
|
paginationColor: string;
|
|
163
164
|
autoPlay: string | number;
|
|
@@ -153,8 +153,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
153
153
|
sticky: boolean;
|
|
154
154
|
modelValue: string | number;
|
|
155
155
|
background: string;
|
|
156
|
-
titleScroll: boolean;
|
|
157
156
|
direction: string;
|
|
157
|
+
titleScroll: boolean;
|
|
158
158
|
autoHeight: boolean;
|
|
159
159
|
animatedTime: string | number;
|
|
160
160
|
titleGutter: string | number;
|
|
@@ -100,10 +100,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
100
100
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
readonly: boolean;
|
|
104
103
|
disabled: boolean;
|
|
105
104
|
modelValue: string;
|
|
106
105
|
rows: string | number;
|
|
106
|
+
readonly: boolean;
|
|
107
107
|
textAlign: string;
|
|
108
108
|
placeholder: string;
|
|
109
109
|
maxLength: string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Toast from './index.vue';
|
|
2
|
-
|
|
2
|
+
declare const showToast: {
|
|
3
3
|
text(msg: string, opts?: {}): any | undefined;
|
|
4
4
|
success(msg: string, opts?: {}): any | undefined;
|
|
5
5
|
fail(msg: string, opts?: {}): any | undefined;
|
|
@@ -8,5 +8,5 @@ export declare const ToastFunction: {
|
|
|
8
8
|
hide(id?: string): void;
|
|
9
9
|
install(app: any): void;
|
|
10
10
|
};
|
|
11
|
-
export {
|
|
12
|
-
export default
|
|
11
|
+
export { showToast };
|
|
12
|
+
export default Toast;
|
|
@@ -172,8 +172,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
172
172
|
visible: boolean;
|
|
173
173
|
closeOnClickOverlay: boolean;
|
|
174
174
|
type: string;
|
|
175
|
-
bgColor: string;
|
|
176
175
|
offset: Number[];
|
|
176
|
+
bgColor: string;
|
|
177
177
|
theme: string;
|
|
178
178
|
current: number;
|
|
179
179
|
location: PopoverLocation;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import Locale from './locale';
|
|
|
3
3
|
import Button from './__VUE/button/index.vue';
|
|
4
4
|
import Cell from './__VUE/cell/index.vue';
|
|
5
5
|
import CellGroup from './__VUE/cellgroup/index.vue';
|
|
6
|
-
import Icon from './__VUE/icon/index.vue';
|
|
7
6
|
import Overlay from './__VUE/overlay/index.vue';
|
|
8
7
|
import Popup from './__VUE/popup/index.vue';
|
|
9
8
|
import ConfigProvider from './__VUE/configprovider/index.vue';
|
|
@@ -53,12 +52,15 @@ import Swipe from './__VUE/swipe/index.vue';
|
|
|
53
52
|
import ActionSheet from './__VUE/actionsheet/index.vue';
|
|
54
53
|
import Backtop from './__VUE/backtop/index.vue';
|
|
55
54
|
import Drag from './__VUE/drag/index.vue';
|
|
56
|
-
import Dialog from './__VUE/dialog/index';
|
|
55
|
+
import Dialog from './__VUE/dialog/index.vue';
|
|
56
|
+
import { showDialog } from './__VUE/dialog/index';
|
|
57
57
|
import InfiniteLoading from './__VUE/infiniteloading/index.vue';
|
|
58
58
|
import PullRefresh from './__VUE/pullrefresh/index.vue';
|
|
59
|
-
import Notify from './__VUE/notify/index';
|
|
59
|
+
import Notify from './__VUE/notify/index.vue';
|
|
60
|
+
import { showNotify } from './__VUE/notify/index';
|
|
60
61
|
import Switch from './__VUE/switch/index.vue';
|
|
61
|
-
import Toast from './__VUE/toast/index';
|
|
62
|
+
import Toast from './__VUE/toast/index.vue';
|
|
63
|
+
import { showToast } from './__VUE/toast/index';
|
|
62
64
|
import Audio from './__VUE/audio/index.vue';
|
|
63
65
|
import AudioOperate from './__VUE/audiooperate/index.vue';
|
|
64
66
|
import Avatar from './__VUE/avatar/index.vue';
|
|
@@ -74,7 +76,8 @@ import Step from './__VUE/step/index.vue';
|
|
|
74
76
|
import Swiper from './__VUE/swiper/index.vue';
|
|
75
77
|
import SwiperItem from './__VUE/swiperitem/index.vue';
|
|
76
78
|
import Price from './__VUE/price/index.vue';
|
|
77
|
-
import ImagePreview from './__VUE/imagepreview/index';
|
|
79
|
+
import ImagePreview from './__VUE/imagepreview/index.vue';
|
|
80
|
+
import { showImagePreview } from './__VUE/imagepreview/index';
|
|
78
81
|
import Countup from './__VUE/countup/index.vue';
|
|
79
82
|
import Countdown from './__VUE/countdown/index.vue';
|
|
80
83
|
import Badge from './__VUE/badge/index.vue';
|
|
@@ -104,8 +107,8 @@ import CategoryPane from './__VUE/categorypane/index.vue';
|
|
|
104
107
|
import Comment from './__VUE/comment/index.vue';
|
|
105
108
|
import Invoice from './__VUE/invoice/index.vue';
|
|
106
109
|
declare function install(app: App): void;
|
|
107
|
-
declare const version = "4.0.0-beta.
|
|
108
|
-
export { install, version, Locale, Button, Cell, CellGroup,
|
|
110
|
+
declare const version = "4.0.0-beta.10";
|
|
111
|
+
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, showDialog, showNotify, showToast, showImagePreview };
|
|
109
112
|
declare const _default: {
|
|
110
113
|
install: typeof install;
|
|
111
114
|
version: string;
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.10",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.cjs",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
7
7
|
"style": "dist/style.css",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"typings": "dist/types/index.d.ts",
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"dist/packages/_es/*",
|
|
12
|
+
"dist/packages/**/style*"
|
|
13
|
+
],
|
|
10
14
|
"vetur": {
|
|
11
15
|
"tags": "dist/smartips/tags.json",
|
|
12
16
|
"attributes": "dist/smartips/attributes.json"
|
|
@@ -16,6 +20,7 @@
|
|
|
16
20
|
"nutui",
|
|
17
21
|
"nutui2",
|
|
18
22
|
"nutui3",
|
|
23
|
+
"nutui4",
|
|
19
24
|
"vue",
|
|
20
25
|
"vue3",
|
|
21
26
|
"webpack",
|
|
@@ -31,48 +36,8 @@
|
|
|
31
36
|
"access": "public",
|
|
32
37
|
"registry": "https://registry.npmjs.org/"
|
|
33
38
|
},
|
|
34
|
-
"files": [
|
|
35
|
-
"dist",
|
|
36
|
-
"README.md",
|
|
37
|
-
"package.json",
|
|
38
|
-
"LICENSE",
|
|
39
|
-
"CHANGELOG.md"
|
|
40
|
-
],
|
|
41
39
|
"scripts": {
|
|
42
|
-
"
|
|
43
|
-
"checked:taro:vue": "npm run generate:file:taro:vue",
|
|
44
|
-
"dev": "npm run checked && npm run dts && vite --open --force",
|
|
45
|
-
"dev:taro:weapp": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
|
|
46
|
-
"dev:taro:alipay": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:alipay",
|
|
47
|
-
"dev:taro:jd": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:jd",
|
|
48
|
-
"dev:taro:h5": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
|
|
49
|
-
"build:site": "npm run checked && vite build",
|
|
50
|
-
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
51
|
-
"build:site:oss": "npm run checked && vite build --base=/nutui/4x/",
|
|
52
|
-
"build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:themes && vite build --config vite.config.build.locale.ts && npm run dts && npm run attrs && npm run generate:style:deps",
|
|
53
|
-
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run dts:taro && npm run attrs&& npm run generate:style:deps",
|
|
54
|
-
"serve": "vite preview",
|
|
55
|
-
"upload": "yarn build:site:oss && node ./jd/upload.js",
|
|
56
|
-
"add": "node jd/createComponentMode.js",
|
|
57
|
-
"publish:beta": "npm publish --tag=beta",
|
|
58
|
-
"publish": "npm publish",
|
|
59
|
-
"generate:file": "node jd/generate-nutui.cjs",
|
|
60
|
-
"generate:file:taro:vue": "node jd/generate-nutui-taro-vue.cjs",
|
|
61
|
-
"generate:types": "rm -rf ./dist/types && node jd/generate-types.cjs",
|
|
62
|
-
"generate:types:taro": "rm -rf ./dist/types && node jd/generate-types-taro.cjs",
|
|
63
|
-
"generate:themes": "node jd/generate-themes.cjs",
|
|
64
|
-
"generate:style:deps": "node jd/generate-style-deps.cjs",
|
|
65
|
-
"prepare": "husky install",
|
|
66
|
-
"test": "jest",
|
|
67
|
-
"release": "standard-version -a",
|
|
68
|
-
"codeformat": "prettier --write .",
|
|
69
|
-
"copydocs": "node ./jd/copymd.cjs",
|
|
70
|
-
"createTaroConfig": "node ./jd/generate-taro-route.cjs",
|
|
71
|
-
"attrs": "node ./jd/createAttributes.cjs",
|
|
72
|
-
"dts": "rm -rf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && npm run generate:types",
|
|
73
|
-
"dts:taro": "rm -rf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && npm run generate:types:taro",
|
|
74
|
-
"copy:h5": "node ./jd/copyh5.cjs",
|
|
75
|
-
"copy:taro": "node ./jd/copytaro.cjs"
|
|
40
|
+
"publish:beta": "npm publish --tag=beta"
|
|
76
41
|
},
|
|
77
42
|
"standard-version": {
|
|
78
43
|
"scripts": {
|
|
@@ -80,9 +45,7 @@
|
|
|
80
45
|
}
|
|
81
46
|
},
|
|
82
47
|
"dependencies": {
|
|
83
|
-
"@nutui/icons-vue": "0.0.
|
|
84
|
-
"@nutui/icons-vue-taro": "0.0.2",
|
|
85
|
-
"@tarojs/components": "3.5.6",
|
|
48
|
+
"@nutui/icons-vue": "0.0.19",
|
|
86
49
|
"sass": "^1.50.0",
|
|
87
50
|
"vscode": "^1.1.37",
|
|
88
51
|
"vue-router": "^4.0.12"
|
|
@@ -90,7 +53,14 @@
|
|
|
90
53
|
"devDependencies": {
|
|
91
54
|
"@commitlint/cli": "^10.0.0",
|
|
92
55
|
"@commitlint/config-conventional": "^10.0.0",
|
|
56
|
+
"@tarojs/cli": "3.5.6",
|
|
57
|
+
"@tarojs/mini-runner": "3.5.6",
|
|
58
|
+
"@tarojs/plugin-framework-vue3": "3.5.6",
|
|
59
|
+
"@tarojs/plugin-html": "3.5.6",
|
|
60
|
+
"@tarojs/plugin-platform-weapp": "3.5.6",
|
|
61
|
+
"@tarojs/runtime": "3.5.6",
|
|
93
62
|
"@tarojs/taro": "3.5.6",
|
|
63
|
+
"@tarojs/webpack5-runner": "3.5.6",
|
|
94
64
|
"@types/jest": "^26.0.22",
|
|
95
65
|
"@types/node": "^17.0.16",
|
|
96
66
|
"@typescript-eslint/eslint-plugin": "^4.20.0",
|
|
@@ -103,9 +73,11 @@
|
|
|
103
73
|
"@vue/test-utils": "^2.0.0-rc.18",
|
|
104
74
|
"autoprefixer": "^10.3.4",
|
|
105
75
|
"axios": "^0.21.0",
|
|
76
|
+
"babel-preset-taro": "3.5.6",
|
|
106
77
|
"canvas": "^2.9.0",
|
|
107
78
|
"codesandbox": "^2.2.3",
|
|
108
79
|
"eslint": "^7.23.2",
|
|
80
|
+
"eslint-config-taro": "3.5.6",
|
|
109
81
|
"eslint-plugin-prettier": "^3.3.1",
|
|
110
82
|
"eslint-plugin-vue": "^7.8.0",
|
|
111
83
|
"eslint-visitor-keys": "2",
|
|
@@ -130,7 +102,8 @@
|
|
|
130
102
|
"vite-plugin-md": "^0.21.5",
|
|
131
103
|
"vue": "^3.2.24",
|
|
132
104
|
"vue-jest": "^5.0.0-alpha.7",
|
|
133
|
-
"vue-tsc": "^1.0.9"
|
|
105
|
+
"vue-tsc": "^1.0.9",
|
|
106
|
+
"webpack": "^5.69.0"
|
|
134
107
|
},
|
|
135
108
|
"eslintConfig": {
|
|
136
109
|
"root": true,
|
|
@@ -164,4 +137,4 @@
|
|
|
164
137
|
"type": "git",
|
|
165
138
|
"url": "https://github.com/jdf2e/nutui.git"
|
|
166
139
|
}
|
|
167
|
-
}
|
|
140
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-6a7b6f54.js";
|
|
7
|
-
import "./component-48526d37.js";
|
|
8
|
-
import "vue";
|
|
9
|
-
import "../locale/lang";
|
|
10
|
-
export {
|
|
11
|
-
_sfc_main as default
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
7
|
-
import "vue";
|
|
8
|
-
const { create } = createComponent("icon");
|
|
9
|
-
const _sfc_main = create({});
|
|
10
|
-
export {
|
|
11
|
-
_sfc_main as _
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
const pxCheck = (value) => {
|
|
7
|
-
return isNaN(Number(value)) ? String(value) : `${value}px`;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
pxCheck as p
|
|
11
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@keyframes moving {
|
|
2
|
-
from {
|
|
3
|
-
transform: translateX(100%);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: translateX(var(--9e8362c8));
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
@-webkit-keyframes moving {
|
|
10
|
-
from {
|
|
11
|
-
-webkit-transform: translateX(100%);
|
|
12
|
-
}
|
|
13
|
-
to {
|
|
14
|
-
transform: translateX(var(--9e8362c8));
|
|
15
|
-
}
|
|
16
|
-
}
|