@nutui/nutui 3.2.6-beta.2 → 3.2.7
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 +72 -0
- package/README.md +11 -1
- package/dist/nutui.es.js +682 -1156
- package/dist/nutui.umd.js +689 -1164
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +1 -1
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +11 -4
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +9 -12
- package/dist/packages/_es/Comment.js +1 -1
- package/dist/packages/_es/ConfigProvider.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +8 -2
- package/dist/packages/_es/Ellipsis.js +3 -3
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +16 -5
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +9 -2
- package/dist/packages/_es/Input.js +5 -12
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Invoice.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +1 -1
- package/dist/packages/_es/MenuItem.js +5 -2
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +6 -47
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +19 -24
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +24 -10
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/TrendArrow.js +1 -1
- package/dist/packages/_es/Uploader.js +6 -6
- package/dist/packages/_es/Video.js +3 -2
- package/dist/packages/_es/WaterMark.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +8 -2
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/address/index.scss +5 -1
- package/dist/packages/card/index.scss +1 -0
- package/dist/packages/ellipsis/index.scss +4 -0
- package/dist/packages/formitem/index.scss +2 -0
- package/dist/packages/imagepreview/index.scss +5 -0
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menuitem/index.scss +1 -0
- package/dist/packages/signature/index.scss +6 -2
- package/dist/packages/skeleton/index.scss +21 -19
- package/dist/packages/sticky/index.scss +3 -0
- package/dist/packages/tabbaritem/index.scss +4 -0
- package/dist/packages/timeselect/index.scss +0 -1
- package/dist/smartips/attributes.json +32 -56
- package/dist/smartips/tags.json +6 -16
- package/dist/smartips/web-types.json +48 -109
- package/dist/style.css +1 -1
- package/dist/styles/font/config.json +4 -0
- package/dist/styles/font/demo_index.html +118 -26
- package/dist/styles/font/iconfont.css +23 -7
- package/dist/styles/font/iconfont.js +6 -6
- package/dist/styles/font/iconfont.json +35 -7
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +53 -54
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +53 -54
- package/dist/styles/variables-jdb.scss +8 -1
- package/dist/styles/variables-jddkh.scss +8 -1
- package/dist/styles/variables-jdt.scss +8 -1
- package/dist/styles/variables.scss +8 -1
- package/dist/types/__VUE/address/index.vue.d.ts +2 -2
- package/dist/types/__VUE/audio/index.vue.d.ts +4 -4
- package/dist/types/__VUE/calendar/index.vue.d.ts +11 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +15 -5
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/elevator/index.vue.d.ts +2 -1
- package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
- package/dist/types/__VUE/image/index.vue.d.ts +4 -4
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
- package/dist/types/__VUE/input/index.vue.d.ts +1 -2
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +3 -1
- package/dist/types/__VUE/navbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/Column.vue.d.ts +4 -4
- package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
- package/dist/types/__VUE/range/index.vue.d.ts +7 -7
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/common.d.ts +2 -3
- package/dist/types/__VUE/skeleton/index.vue.d.ts +2 -3
- package/dist/types/__VUE/swiper/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -0
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +13 -4
- package/dist/types/__VUE/video/index.vue.d.ts +2 -2
- package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +1 -2
- package/package.json +2 -1
- package/dist/packages/_es/OldPicker.js +0 -486
- package/dist/packages/oldpicker/index.scss +0 -133
- package/dist/types/__VUE/oldpicker/Column.vue.d.ts +0 -96
- package/dist/types/__VUE/oldpicker/commonProps.d.ts +0 -22
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +0 -369
- package/dist/types/__VUE/oldpicker/types.d.ts +0 -24
|
@@ -383,6 +383,10 @@
|
|
|
383
383
|
"type": "boolean",
|
|
384
384
|
"description": "属性说明:是否启动滚动动画,默认值:true"
|
|
385
385
|
},
|
|
386
|
+
"nut-calendar/first-day-of-week": {
|
|
387
|
+
"type": "0-6",
|
|
388
|
+
"description": "属性说明:设置周起始日,默认值:0"
|
|
389
|
+
},
|
|
386
390
|
"nut-card/img-url": {
|
|
387
391
|
"type": "string",
|
|
388
392
|
"description": "属性说明:左侧图片Url,默认值:-"
|
|
@@ -497,19 +501,19 @@
|
|
|
497
501
|
},
|
|
498
502
|
"nut-checkbox/icon-size": {
|
|
499
503
|
"type": "string、number",
|
|
500
|
-
"description": "属性说明:[图标尺寸](#/icon),默认值:`18`"
|
|
504
|
+
"description": "属性说明:[图标尺寸](#/zh-CN/component/icon),默认值:`18`"
|
|
501
505
|
},
|
|
502
506
|
"nut-checkbox/icon-name": {
|
|
503
507
|
"type": "string",
|
|
504
|
-
"description": "属性说明:[图标名称](#/icon),选中前(建议和`icon-active-name`一起修改),默认值:`'check-normal'`"
|
|
508
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),选中前(建议和`icon-active-name`一起修改),默认值:`'check-normal'`"
|
|
505
509
|
},
|
|
506
510
|
"nut-checkbox/icon-active-name": {
|
|
507
511
|
"type": "string",
|
|
508
|
-
"description": "属性说明:[图标名称](#/icon),选中后(建议和`icon-name`一起修改),默认值:`'checked'`"
|
|
512
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),选中后(建议和`icon-name`一起修改),默认值:`'checked'`"
|
|
509
513
|
},
|
|
510
514
|
"nut-checkbox/icon-indeterminate-name": {
|
|
511
515
|
"type": "string",
|
|
512
|
-
"description": "属性说明:[图标名称](#/icon),半选状态,默认值:`'check-disabled'`"
|
|
516
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),半选状态,默认值:`'check-disabled'`"
|
|
513
517
|
},
|
|
514
518
|
"nut-checkbox/icon-class-prefix": {
|
|
515
519
|
"type": "string",
|
|
@@ -1289,7 +1293,7 @@
|
|
|
1289
1293
|
},
|
|
1290
1294
|
"nut-infiniteloading/pull-icon": {
|
|
1291
1295
|
"type": "string",
|
|
1292
|
-
"description": "属性说明:下拉刷新[图标名称](#/icon),默认值:<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40/>"
|
|
1296
|
+
"description": "属性说明:下拉刷新[图标名称](#/zh-CN/component/icon),默认值:<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40/>"
|
|
1293
1297
|
},
|
|
1294
1298
|
"nut-infiniteloading/pull-txt": {
|
|
1295
1299
|
"type": "string",
|
|
@@ -1297,7 +1301,7 @@
|
|
|
1297
1301
|
},
|
|
1298
1302
|
"nut-infiniteloading/load-icon": {
|
|
1299
1303
|
"type": "string",
|
|
1300
|
-
"description": "属性说明:上拉加载[图标名称](#/icon),默认值:<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40 />"
|
|
1304
|
+
"description": "属性说明:上拉加载[图标名称](#/zh-CN/component/icon),默认值:<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40 />"
|
|
1301
1305
|
},
|
|
1302
1306
|
"nut-infiniteloading/load-txt": {
|
|
1303
1307
|
"type": "string",
|
|
@@ -1369,7 +1373,7 @@
|
|
|
1369
1373
|
},
|
|
1370
1374
|
"nut-input/clear-icon": {
|
|
1371
1375
|
"type": "string",
|
|
1372
|
-
"description": "属性说明:清除图标 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon),默认值:`mask-close`"
|
|
1376
|
+
"description": "属性说明:清除图标 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon),默认值:`mask-close`"
|
|
1373
1377
|
},
|
|
1374
1378
|
"nut-input/clear-size": {
|
|
1375
1379
|
"type": "string",
|
|
@@ -1377,11 +1381,11 @@
|
|
|
1377
1381
|
},
|
|
1378
1382
|
"nut-input/left-icon": {
|
|
1379
1383
|
"type": "string",
|
|
1380
|
-
"description": "属性说明:左侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon),默认值:-"
|
|
1384
|
+
"description": "属性说明:左侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon),默认值:-"
|
|
1381
1385
|
},
|
|
1382
1386
|
"nut-input/right-icon": {
|
|
1383
1387
|
"type": "string",
|
|
1384
|
-
"description": "属性说明:右侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon),默认值:-"
|
|
1388
|
+
"description": "属性说明:右侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon),默认值:-"
|
|
1385
1389
|
},
|
|
1386
1390
|
"nut-input/left-icon-size": {
|
|
1387
1391
|
"type": "string",
|
|
@@ -1699,42 +1703,6 @@
|
|
|
1699
1703
|
"type": "string",
|
|
1700
1704
|
"description": "属性说明:自定义弹框类名,默认值:-"
|
|
1701
1705
|
},
|
|
1702
|
-
"nut-oldpicker/v-model:visible": {
|
|
1703
|
-
"type": "boolean",
|
|
1704
|
-
"description": "属性说明:是否可见,默认值:false"
|
|
1705
|
-
},
|
|
1706
|
-
"nut-oldpicker/title": {
|
|
1707
|
-
"type": "string",
|
|
1708
|
-
"description": "属性说明:设置标题,默认值:-"
|
|
1709
|
-
},
|
|
1710
|
-
"nut-oldpicker/cancel-text": {
|
|
1711
|
-
"type": "string",
|
|
1712
|
-
"description": "属性说明:取消按钮文案,默认值:取消"
|
|
1713
|
-
},
|
|
1714
|
-
"nut-oldpicker/ok-text": {
|
|
1715
|
-
"type": "string",
|
|
1716
|
-
"description": "属性说明:确定按钮文案,默认值:确定"
|
|
1717
|
-
},
|
|
1718
|
-
"nut-oldpicker/list-data": {
|
|
1719
|
-
"type": "column[]",
|
|
1720
|
-
"description": "属性说明:列表数据,默认值:-"
|
|
1721
|
-
},
|
|
1722
|
-
"nut-oldpicker/default-index": {
|
|
1723
|
-
"type": "number",
|
|
1724
|
-
"description": "属性说明:单列选择时,初始选中项的索引,默认为 0,默认值:0"
|
|
1725
|
-
},
|
|
1726
|
-
"nut-oldpicker/teleport": {
|
|
1727
|
-
"type": "string",
|
|
1728
|
-
"description": "属性说明:指定挂载节点,默认值:\"body\""
|
|
1729
|
-
},
|
|
1730
|
-
"nut-oldpicker/close-on-click-overlay": {
|
|
1731
|
-
"type": "boolean",
|
|
1732
|
-
"description": "属性说明:点击蒙层是否关闭对话框,默认值:false"
|
|
1733
|
-
},
|
|
1734
|
-
"nut-oldpicker/lock-scroll": {
|
|
1735
|
-
"type": "boolean",
|
|
1736
|
-
"description": "属性说明:背景是否锁定,默认值:false"
|
|
1737
|
-
},
|
|
1738
1706
|
"nut-overlay/v-model:visible": {
|
|
1739
1707
|
"type": "boolean",
|
|
1740
1708
|
"description": "属性说明:当前组件是否显示,默认值:`false`"
|
|
@@ -1925,7 +1893,7 @@
|
|
|
1925
1893
|
},
|
|
1926
1894
|
"nut-popup/close-icon": {
|
|
1927
1895
|
"type": "string",
|
|
1928
|
-
"description": "
|
|
1896
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon) 或图片链接,默认值:`\"close\"`"
|
|
1929
1897
|
},
|
|
1930
1898
|
"nut-popup/destroy-on-close": {
|
|
1931
1899
|
"type": "boolean",
|
|
@@ -2053,15 +2021,15 @@
|
|
|
2053
2021
|
},
|
|
2054
2022
|
"nut-radio/icon-size": {
|
|
2055
2023
|
"type": "string、number",
|
|
2056
|
-
"description": "属性说明:[图标尺寸](#/icon),默认值:`18`"
|
|
2024
|
+
"description": "属性说明:[图标尺寸](#/zh-CN/component/icon),默认值:`18`"
|
|
2057
2025
|
},
|
|
2058
2026
|
"nut-radio/icon-name": {
|
|
2059
2027
|
"type": "string",
|
|
2060
|
-
"description": "属性说明:[图标名称](#/icon),选中前(建议和`icon-active-name`一起修改),默认值:`'check-normal'`"
|
|
2028
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),选中前(建议和`icon-active-name`一起修改),默认值:`'check-normal'`"
|
|
2061
2029
|
},
|
|
2062
2030
|
"nut-radio/icon-active-name": {
|
|
2063
2031
|
"type": "string",
|
|
2064
|
-
"description": "属性说明:[图标名称](#/icon),选中后(建议和`icon-name`一起修改),默认值:`'check-checked'`"
|
|
2032
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),选中后(建议和`icon-name`一起修改),默认值:`'check-checked'`"
|
|
2065
2033
|
},
|
|
2066
2034
|
"nut-radio/icon-class-prefix": {
|
|
2067
2035
|
"type": "string",
|
|
@@ -2153,11 +2121,11 @@
|
|
|
2153
2121
|
},
|
|
2154
2122
|
"nut-rate/unchecked-icon": {
|
|
2155
2123
|
"type": "string",
|
|
2156
|
-
"description": "属性说明:使用图标(未选中)[图标名称](#/icon),默认值:star-n"
|
|
2124
|
+
"description": "属性说明:使用图标(未选中)[图标名称](#/zh-CN/component/icon),默认值:star-n"
|
|
2157
2125
|
},
|
|
2158
2126
|
"nut-rate/checked-icon": {
|
|
2159
2127
|
"type": "string",
|
|
2160
|
-
"description": "属性说明:使用图标(选中)[图标名称](#/icon),默认值:star-fill-n"
|
|
2128
|
+
"description": "属性说明:使用图标(选中)[图标名称](#/zh-CN/component/icon),默认值:star-fill-n"
|
|
2161
2129
|
},
|
|
2162
2130
|
"nut-rate/font-class-name": {
|
|
2163
2131
|
"type": "string",
|
|
@@ -2431,6 +2399,10 @@
|
|
|
2431
2399
|
"type": "number",
|
|
2432
2400
|
"description": "属性说明:吸附时的层级,默认值:`2000`"
|
|
2433
2401
|
},
|
|
2402
|
+
"nut-sticky/parent-height": {
|
|
2403
|
+
"type": "number",
|
|
2404
|
+
"description": "属性说明:设置粘性元素父级高度,默认值:`667`"
|
|
2405
|
+
},
|
|
2434
2406
|
"nut-swipe/name": {
|
|
2435
2407
|
"type": "string",
|
|
2436
2408
|
"description": "属性说明:唯一标识,默认值:-"
|
|
@@ -2513,15 +2485,15 @@
|
|
|
2513
2485
|
},
|
|
2514
2486
|
"nut-switch/name": {
|
|
2515
2487
|
"type": "string",
|
|
2516
|
-
"description": "属性说明:[图标名称](#/icon),默认值:`loading`"
|
|
2488
|
+
"description": "属性说明:[图标名称](#/zh-CN/component/icon),默认值:`loading`"
|
|
2517
2489
|
},
|
|
2518
2490
|
"nut-switch/color": {
|
|
2519
2491
|
"type": "string",
|
|
2520
|
-
"description": "属性说明:[图标颜色](#/icon),仅在`loading`状态下生效,默认值:-"
|
|
2492
|
+
"description": "属性说明:[图标颜色](#/zh-CN/component/icon),仅在`loading`状态下生效,默认值:-"
|
|
2521
2493
|
},
|
|
2522
2494
|
"nut-switch/size": {
|
|
2523
2495
|
"type": "string | number",
|
|
2524
|
-
"description": "属性说明:[图标尺寸](#/icon),仅在`loading`状态下生效,默认值:`12px`"
|
|
2496
|
+
"description": "属性说明:[图标尺寸](#/zh-CN/component/icon),仅在`loading`状态下生效,默认值:`12px`"
|
|
2525
2497
|
},
|
|
2526
2498
|
"nut-switch/active-color": {
|
|
2527
2499
|
"type": "string",
|
|
@@ -2897,11 +2869,11 @@
|
|
|
2897
2869
|
},
|
|
2898
2870
|
"nut-uploader/upload-icon": {
|
|
2899
2871
|
"type": "string",
|
|
2900
|
-
"description": "属性说明:上传区域[图标名称](#/icon)或图片链接,默认值:\"photograph\""
|
|
2872
|
+
"description": "属性说明:上传区域[图标名称](#/zh-CN/component/icon)或图片链接,默认值:\"photograph\""
|
|
2901
2873
|
},
|
|
2902
2874
|
"nut-uploader/upload-icon-size": {
|
|
2903
2875
|
"type": "string or number",
|
|
2904
|
-
"description": "属性说明:上传区域[图标尺寸](#/icon)大小,如 `20px` `2em` `2rem`,默认值:-"
|
|
2876
|
+
"description": "属性说明:上传区域[图标尺寸](#/zh-CN/component/icon)大小,如 `20px` `2em` `2rem`,默认值:-"
|
|
2905
2877
|
},
|
|
2906
2878
|
"nut-uploader/xhr-state": {
|
|
2907
2879
|
"type": "number",
|
|
@@ -2935,6 +2907,10 @@
|
|
|
2935
2907
|
"type": "function(file,filelist): boolean 丨promise",
|
|
2936
2908
|
"description": "属性说明:除文件时的回调,返回值为 false 时不移除。支持返回一个 `Promise` 对象,`Promise` 对象 resolve(false) 或 reject 时不移除,默认值:-"
|
|
2937
2909
|
},
|
|
2910
|
+
"nut-uploader/delete-icon": {
|
|
2911
|
+
"type": "string",
|
|
2912
|
+
"description": "属性说明:自定义删除按钮,可传入[图标名称](/#/zh-CN/component/icon)或图片链接,默认值:\"photograph\""
|
|
2913
|
+
},
|
|
2938
2914
|
"nut-video/source": {
|
|
2939
2915
|
"type": "object",
|
|
2940
2916
|
"description": "属性说明:视频地址和类型设置,默认值:-"
|
package/dist/smartips/tags.json
CHANGED
|
@@ -140,7 +140,8 @@
|
|
|
140
140
|
"confirm-text",
|
|
141
141
|
"show-title",
|
|
142
142
|
"show-sub-title",
|
|
143
|
-
"to-date-animation"
|
|
143
|
+
"to-date-animation",
|
|
144
|
+
"first-day-of-week"
|
|
144
145
|
]
|
|
145
146
|
},
|
|
146
147
|
"nut-card": {
|
|
@@ -620,19 +621,6 @@
|
|
|
620
621
|
"pop-class"
|
|
621
622
|
]
|
|
622
623
|
},
|
|
623
|
-
"nut-oldpicker": {
|
|
624
|
-
"attributes": [
|
|
625
|
-
"v-model:visible",
|
|
626
|
-
"title",
|
|
627
|
-
"cancel-text",
|
|
628
|
-
"ok-text",
|
|
629
|
-
"list-data",
|
|
630
|
-
"default-index",
|
|
631
|
-
"teleport",
|
|
632
|
-
"close-on-click-overlay",
|
|
633
|
-
"lock-scroll"
|
|
634
|
-
]
|
|
635
|
-
},
|
|
636
624
|
"nut-overlay": {
|
|
637
625
|
"attributes": [
|
|
638
626
|
"v-model:visible",
|
|
@@ -881,7 +869,8 @@
|
|
|
881
869
|
"top",
|
|
882
870
|
"bottom",
|
|
883
871
|
"container",
|
|
884
|
-
"z-index"
|
|
872
|
+
"z-index",
|
|
873
|
+
"parent-height"
|
|
885
874
|
]
|
|
886
875
|
},
|
|
887
876
|
"nut-swipe": {
|
|
@@ -1070,7 +1059,8 @@
|
|
|
1070
1059
|
"timeout",
|
|
1071
1060
|
"before-upload",
|
|
1072
1061
|
"before-xhr-upload",
|
|
1073
|
-
"before-delete"
|
|
1062
|
+
"before-delete",
|
|
1063
|
+
"delete-icon"
|
|
1074
1064
|
]
|
|
1075
1065
|
},
|
|
1076
1066
|
"nut-video": {
|
|
@@ -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": "3.2.
|
|
5
|
+
"version": "3.2.7",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"tags": [
|
|
@@ -951,6 +951,15 @@
|
|
|
951
951
|
"type": "boolean",
|
|
952
952
|
"kind": "expression"
|
|
953
953
|
}
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "first-day-of-week",
|
|
957
|
+
"default": "0",
|
|
958
|
+
"description": "设置周起始日",
|
|
959
|
+
"value": {
|
|
960
|
+
"type": "0-6",
|
|
961
|
+
"kind": "expression"
|
|
962
|
+
}
|
|
954
963
|
}
|
|
955
964
|
]
|
|
956
965
|
},
|
|
@@ -1242,7 +1251,7 @@
|
|
|
1242
1251
|
{
|
|
1243
1252
|
"name": "icon-size",
|
|
1244
1253
|
"default": "`18`",
|
|
1245
|
-
"description": "[图标尺寸](#/icon)",
|
|
1254
|
+
"description": "[图标尺寸](#/zh-CN/component/icon)",
|
|
1246
1255
|
"value": {
|
|
1247
1256
|
"type": "string、number",
|
|
1248
1257
|
"kind": "expression"
|
|
@@ -1251,7 +1260,7 @@
|
|
|
1251
1260
|
{
|
|
1252
1261
|
"name": "icon-name",
|
|
1253
1262
|
"default": "`'check-normal'`",
|
|
1254
|
-
"description": "[图标名称](#/icon),选中前(建议和`icon-active-name`一起修改)",
|
|
1263
|
+
"description": "[图标名称](#/zh-CN/component/icon),选中前(建议和`icon-active-name`一起修改)",
|
|
1255
1264
|
"value": {
|
|
1256
1265
|
"type": "string",
|
|
1257
1266
|
"kind": "expression"
|
|
@@ -1260,7 +1269,7 @@
|
|
|
1260
1269
|
{
|
|
1261
1270
|
"name": "icon-active-name",
|
|
1262
1271
|
"default": "`'checked'`",
|
|
1263
|
-
"description": "[图标名称](#/icon),选中后(建议和`icon-name`一起修改)",
|
|
1272
|
+
"description": "[图标名称](#/zh-CN/component/icon),选中后(建议和`icon-name`一起修改)",
|
|
1264
1273
|
"value": {
|
|
1265
1274
|
"type": "string",
|
|
1266
1275
|
"kind": "expression"
|
|
@@ -1269,7 +1278,7 @@
|
|
|
1269
1278
|
{
|
|
1270
1279
|
"name": "icon-indeterminate-name",
|
|
1271
1280
|
"default": "`'check-disabled'`",
|
|
1272
|
-
"description": "[图标名称](#/icon),半选状态",
|
|
1281
|
+
"description": "[图标名称](#/zh-CN/component/icon),半选状态",
|
|
1273
1282
|
"value": {
|
|
1274
1283
|
"type": "string",
|
|
1275
1284
|
"kind": "expression"
|
|
@@ -3178,7 +3187,7 @@
|
|
|
3178
3187
|
{
|
|
3179
3188
|
"name": "pull-icon",
|
|
3180
3189
|
"default": "<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40/>",
|
|
3181
|
-
"description": "下拉刷新[图标名称](#/icon)",
|
|
3190
|
+
"description": "下拉刷新[图标名称](#/zh-CN/component/icon)",
|
|
3182
3191
|
"value": {
|
|
3183
3192
|
"type": "string",
|
|
3184
3193
|
"kind": "expression"
|
|
@@ -3196,7 +3205,7 @@
|
|
|
3196
3205
|
{
|
|
3197
3206
|
"name": "load-icon",
|
|
3198
3207
|
"default": "<img src=\"https://img10.360buyimg.com/imagetools/jfs/t1/169863/6/4565/6306/60125948E7e92774e/40b3a0cf42852bcb.png\" width=40 />",
|
|
3199
|
-
"description": "上拉加载[图标名称](#/icon)",
|
|
3208
|
+
"description": "上拉加载[图标名称](#/zh-CN/component/icon)",
|
|
3200
3209
|
"value": {
|
|
3201
3210
|
"type": "string",
|
|
3202
3211
|
"kind": "expression"
|
|
@@ -3365,7 +3374,7 @@
|
|
|
3365
3374
|
{
|
|
3366
3375
|
"name": "clear-icon",
|
|
3367
3376
|
"default": "`mask-close`",
|
|
3368
|
-
"description": "清除图标 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon)",
|
|
3377
|
+
"description": "清除图标 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon)",
|
|
3369
3378
|
"value": {
|
|
3370
3379
|
"type": "string",
|
|
3371
3380
|
"kind": "expression"
|
|
@@ -3383,7 +3392,7 @@
|
|
|
3383
3392
|
{
|
|
3384
3393
|
"name": "left-icon",
|
|
3385
3394
|
"default": "-",
|
|
3386
|
-
"description": "左侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon)",
|
|
3395
|
+
"description": "左侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon)",
|
|
3387
3396
|
"value": {
|
|
3388
3397
|
"type": "string",
|
|
3389
3398
|
"kind": "expression"
|
|
@@ -3392,7 +3401,7 @@
|
|
|
3392
3401
|
{
|
|
3393
3402
|
"name": "right-icon",
|
|
3394
3403
|
"default": "-",
|
|
3395
|
-
"description": "右侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/icon)",
|
|
3404
|
+
"description": "右侧 Icon 名称或图片链接,[可参考 Icon 组件的 name 属性](#/zh-CN/component/icon)",
|
|
3396
3405
|
"value": {
|
|
3397
3406
|
"type": "string",
|
|
3398
3407
|
"kind": "expression"
|
|
@@ -4174,94 +4183,6 @@
|
|
|
4174
4183
|
}
|
|
4175
4184
|
]
|
|
4176
4185
|
},
|
|
4177
|
-
{
|
|
4178
|
-
"name": "nut-oldpicker",
|
|
4179
|
-
"slots": [],
|
|
4180
|
-
"events": [],
|
|
4181
|
-
"attributes": [
|
|
4182
|
-
{
|
|
4183
|
-
"name": "v-model:visible",
|
|
4184
|
-
"default": "false",
|
|
4185
|
-
"description": "是否可见",
|
|
4186
|
-
"value": {
|
|
4187
|
-
"type": "boolean",
|
|
4188
|
-
"kind": "expression"
|
|
4189
|
-
}
|
|
4190
|
-
},
|
|
4191
|
-
{
|
|
4192
|
-
"name": "title",
|
|
4193
|
-
"default": "-",
|
|
4194
|
-
"description": "设置标题",
|
|
4195
|
-
"value": {
|
|
4196
|
-
"type": "string",
|
|
4197
|
-
"kind": "expression"
|
|
4198
|
-
}
|
|
4199
|
-
},
|
|
4200
|
-
{
|
|
4201
|
-
"name": "cancel-text",
|
|
4202
|
-
"default": "取消",
|
|
4203
|
-
"description": "取消按钮文案",
|
|
4204
|
-
"value": {
|
|
4205
|
-
"type": "string",
|
|
4206
|
-
"kind": "expression"
|
|
4207
|
-
}
|
|
4208
|
-
},
|
|
4209
|
-
{
|
|
4210
|
-
"name": "ok-text",
|
|
4211
|
-
"default": "确定",
|
|
4212
|
-
"description": "确定按钮文案",
|
|
4213
|
-
"value": {
|
|
4214
|
-
"type": "string",
|
|
4215
|
-
"kind": "expression"
|
|
4216
|
-
}
|
|
4217
|
-
},
|
|
4218
|
-
{
|
|
4219
|
-
"name": "list-data",
|
|
4220
|
-
"default": "-",
|
|
4221
|
-
"description": "列表数据",
|
|
4222
|
-
"value": {
|
|
4223
|
-
"type": "column[]",
|
|
4224
|
-
"kind": "expression"
|
|
4225
|
-
}
|
|
4226
|
-
},
|
|
4227
|
-
{
|
|
4228
|
-
"name": "default-index",
|
|
4229
|
-
"default": "0",
|
|
4230
|
-
"description": "单列选择时,初始选中项的索引,默认为 0",
|
|
4231
|
-
"value": {
|
|
4232
|
-
"type": "number",
|
|
4233
|
-
"kind": "expression"
|
|
4234
|
-
}
|
|
4235
|
-
},
|
|
4236
|
-
{
|
|
4237
|
-
"name": "teleport",
|
|
4238
|
-
"default": "\"body\"",
|
|
4239
|
-
"description": "指定挂载节点",
|
|
4240
|
-
"value": {
|
|
4241
|
-
"type": "string",
|
|
4242
|
-
"kind": "expression"
|
|
4243
|
-
}
|
|
4244
|
-
},
|
|
4245
|
-
{
|
|
4246
|
-
"name": "close-on-click-overlay",
|
|
4247
|
-
"default": "false",
|
|
4248
|
-
"description": "点击蒙层是否关闭对话框",
|
|
4249
|
-
"value": {
|
|
4250
|
-
"type": "boolean",
|
|
4251
|
-
"kind": "expression"
|
|
4252
|
-
}
|
|
4253
|
-
},
|
|
4254
|
-
{
|
|
4255
|
-
"name": "lock-scroll",
|
|
4256
|
-
"default": "false",
|
|
4257
|
-
"description": "背景是否锁定",
|
|
4258
|
-
"value": {
|
|
4259
|
-
"type": "boolean",
|
|
4260
|
-
"kind": "expression"
|
|
4261
|
-
}
|
|
4262
|
-
}
|
|
4263
|
-
]
|
|
4264
|
-
},
|
|
4265
4186
|
{
|
|
4266
4187
|
"name": "nut-overlay",
|
|
4267
4188
|
"slots": [],
|
|
@@ -4721,7 +4642,7 @@
|
|
|
4721
4642
|
{
|
|
4722
4643
|
"name": "close-icon",
|
|
4723
4644
|
"default": "`\"close\"`",
|
|
4724
|
-
"description": "
|
|
4645
|
+
"description": "[图标名称](#/zh-CN/component/icon) 或图片链接",
|
|
4725
4646
|
"value": {
|
|
4726
4647
|
"type": "string",
|
|
4727
4648
|
"kind": "expression"
|
|
@@ -5037,7 +4958,7 @@
|
|
|
5037
4958
|
{
|
|
5038
4959
|
"name": "icon-size",
|
|
5039
4960
|
"default": "`18`",
|
|
5040
|
-
"description": "[图标尺寸](#/icon)",
|
|
4961
|
+
"description": "[图标尺寸](#/zh-CN/component/icon)",
|
|
5041
4962
|
"value": {
|
|
5042
4963
|
"type": "string、number",
|
|
5043
4964
|
"kind": "expression"
|
|
@@ -5046,7 +4967,7 @@
|
|
|
5046
4967
|
{
|
|
5047
4968
|
"name": "icon-name",
|
|
5048
4969
|
"default": "`'check-normal'`",
|
|
5049
|
-
"description": "[图标名称](#/icon),选中前(建议和`icon-active-name`一起修改)",
|
|
4970
|
+
"description": "[图标名称](#/zh-CN/component/icon),选中前(建议和`icon-active-name`一起修改)",
|
|
5050
4971
|
"value": {
|
|
5051
4972
|
"type": "string",
|
|
5052
4973
|
"kind": "expression"
|
|
@@ -5055,7 +4976,7 @@
|
|
|
5055
4976
|
{
|
|
5056
4977
|
"name": "icon-active-name",
|
|
5057
4978
|
"default": "`'check-checked'`",
|
|
5058
|
-
"description": "[图标名称](#/icon),选中后(建议和`icon-name`一起修改)",
|
|
4979
|
+
"description": "[图标名称](#/zh-CN/component/icon),选中后(建议和`icon-name`一起修改)",
|
|
5059
4980
|
"value": {
|
|
5060
4981
|
"type": "string",
|
|
5061
4982
|
"kind": "expression"
|
|
@@ -5276,7 +5197,7 @@
|
|
|
5276
5197
|
{
|
|
5277
5198
|
"name": "unchecked-icon",
|
|
5278
5199
|
"default": "star-n",
|
|
5279
|
-
"description": "使用图标(未选中)[图标名称](#/icon)",
|
|
5200
|
+
"description": "使用图标(未选中)[图标名称](#/zh-CN/component/icon)",
|
|
5280
5201
|
"value": {
|
|
5281
5202
|
"type": "string",
|
|
5282
5203
|
"kind": "expression"
|
|
@@ -5285,7 +5206,7 @@
|
|
|
5285
5206
|
{
|
|
5286
5207
|
"name": "checked-icon",
|
|
5287
5208
|
"default": "star-fill-n",
|
|
5288
|
-
"description": "使用图标(选中)[图标名称](#/icon)",
|
|
5209
|
+
"description": "使用图标(选中)[图标名称](#/zh-CN/component/icon)",
|
|
5289
5210
|
"value": {
|
|
5290
5211
|
"type": "string",
|
|
5291
5212
|
"kind": "expression"
|
|
@@ -5967,6 +5888,15 @@
|
|
|
5967
5888
|
"type": "number",
|
|
5968
5889
|
"kind": "expression"
|
|
5969
5890
|
}
|
|
5891
|
+
},
|
|
5892
|
+
{
|
|
5893
|
+
"name": "parent-height",
|
|
5894
|
+
"default": "`667`",
|
|
5895
|
+
"description": "设置粘性元素父级高度",
|
|
5896
|
+
"value": {
|
|
5897
|
+
"type": "number",
|
|
5898
|
+
"kind": "expression"
|
|
5899
|
+
}
|
|
5970
5900
|
}
|
|
5971
5901
|
]
|
|
5972
5902
|
},
|
|
@@ -6178,7 +6108,7 @@
|
|
|
6178
6108
|
{
|
|
6179
6109
|
"name": "name",
|
|
6180
6110
|
"default": "`loading`",
|
|
6181
|
-
"description": "[图标名称](#/icon)",
|
|
6111
|
+
"description": "[图标名称](#/zh-CN/component/icon)",
|
|
6182
6112
|
"value": {
|
|
6183
6113
|
"type": "string",
|
|
6184
6114
|
"kind": "expression"
|
|
@@ -6187,7 +6117,7 @@
|
|
|
6187
6117
|
{
|
|
6188
6118
|
"name": "color",
|
|
6189
6119
|
"default": "-",
|
|
6190
|
-
"description": "[图标颜色](#/icon),仅在`loading`状态下生效",
|
|
6120
|
+
"description": "[图标颜色](#/zh-CN/component/icon),仅在`loading`状态下生效",
|
|
6191
6121
|
"value": {
|
|
6192
6122
|
"type": "string",
|
|
6193
6123
|
"kind": "expression"
|
|
@@ -6196,7 +6126,7 @@
|
|
|
6196
6126
|
{
|
|
6197
6127
|
"name": "size",
|
|
6198
6128
|
"default": "`12px`",
|
|
6199
|
-
"description": "[图标尺寸](#/icon),仅在`loading`状态下生效",
|
|
6129
|
+
"description": "[图标尺寸](#/zh-CN/component/icon),仅在`loading`状态下生效",
|
|
6200
6130
|
"value": {
|
|
6201
6131
|
"type": "string | number",
|
|
6202
6132
|
"kind": "expression"
|
|
@@ -7126,7 +7056,7 @@
|
|
|
7126
7056
|
{
|
|
7127
7057
|
"name": "upload-icon",
|
|
7128
7058
|
"default": "\"photograph\"",
|
|
7129
|
-
"description": "上传区域[图标名称](#/icon)或图片链接",
|
|
7059
|
+
"description": "上传区域[图标名称](#/zh-CN/component/icon)或图片链接",
|
|
7130
7060
|
"value": {
|
|
7131
7061
|
"type": "string",
|
|
7132
7062
|
"kind": "expression"
|
|
@@ -7135,7 +7065,7 @@
|
|
|
7135
7065
|
{
|
|
7136
7066
|
"name": "upload-icon-size",
|
|
7137
7067
|
"default": "-",
|
|
7138
|
-
"description": "上传区域[图标尺寸](#/icon)大小,如 `20px` `2em` `2rem`",
|
|
7068
|
+
"description": "上传区域[图标尺寸](#/zh-CN/component/icon)大小,如 `20px` `2em` `2rem`",
|
|
7139
7069
|
"value": {
|
|
7140
7070
|
"type": "string or number",
|
|
7141
7071
|
"kind": "expression"
|
|
@@ -7212,6 +7142,15 @@
|
|
|
7212
7142
|
"type": "function(file,filelist): boolean 丨promise",
|
|
7213
7143
|
"kind": "expression"
|
|
7214
7144
|
}
|
|
7145
|
+
},
|
|
7146
|
+
{
|
|
7147
|
+
"name": "delete-icon",
|
|
7148
|
+
"default": "\"photograph\"",
|
|
7149
|
+
"description": "自定义删除按钮,可传入[图标名称](/#/zh-CN/component/icon)或图片链接",
|
|
7150
|
+
"value": {
|
|
7151
|
+
"type": "string",
|
|
7152
|
+
"kind": "expression"
|
|
7153
|
+
}
|
|
7215
7154
|
}
|
|
7216
7155
|
]
|
|
7217
7156
|
},
|