@nutui/nutui 3.3.7 → 3.3.8
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 +11 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +7 -8
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +3 -2
- 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 +9 -17
- 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 +1 -1
- 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 -3
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +13 -6
- 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 +2 -3
- package/dist/packages/_es/Ellipsis.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +2 -2
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Invoice.js +3 -2
- 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 +1 -1
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +2 -2
- 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 -2
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.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 -2
- 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 -3
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +4 -7
- 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 +5 -4
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +24 -8
- 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 +3 -3
- package/dist/packages/_es/Video.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/interceptor.js +1 -1
- package/dist/packages/_es/mountComponent.js +1 -1
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/props.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- 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/tabs/index.scss +7 -0
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +48 -48
- package/dist/styles/themes/jdb.scss +48 -48
- package/dist/styles/themes/jddkh.scss +48 -48
- package/dist/styles/themes/jdt.scss +48 -48
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +64 -124
- package/dist/types/__VUE/address/index.vue.d.ts +78 -152
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +9 -14
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +5 -6
- package/dist/types/__VUE/addresslist/index.vue.d.ts +13 -22
- package/dist/types/__VUE/animate/index.vue.d.ts +9 -14
- package/dist/types/__VUE/audio/index.vue.d.ts +21 -34
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +5 -6
- package/dist/types/__VUE/avatar/index.vue.d.ts +17 -30
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +19 -34
- package/dist/types/__VUE/backtop/index.vue.d.ts +17 -30
- package/dist/types/__VUE/badge/index.vue.d.ts +22 -37
- package/dist/types/__VUE/barrage/index.vue.d.ts +15 -26
- package/dist/types/__VUE/button/index.vue.d.ts +26 -43
- package/dist/types/__VUE/calendar/index.vue.d.ts +36 -66
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +37 -66
- package/dist/types/__VUE/card/index.vue.d.ts +19 -34
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +22 -23
- package/dist/types/__VUE/cascader/index.vue.d.ts +64 -106
- package/dist/types/__VUE/category/index.vue.d.ts +7 -10
- package/dist/types/__VUE/categorypane/index.vue.d.ts +9 -14
- package/dist/types/__VUE/cell/index.vue.d.ts +31 -52
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +7 -10
- package/dist/types/__VUE/checkbox/index.vue.d.ts +27 -50
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +9 -14
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +17 -30
- package/dist/types/__VUE/col/index.vue.d.ts +7 -10
- package/dist/types/__VUE/collapse/index.vue.d.ts +25 -41
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +21 -29
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +9 -14
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +9 -14
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +9 -14
- package/dist/types/__VUE/comment/index.vue.d.ts +19 -34
- package/dist/types/__VUE/configprovider/index.vue.d.ts +11 -18
- package/dist/types/__VUE/countdown/index.vue.d.ts +20 -34
- package/dist/types/__VUE/countup/index.vue.d.ts +42 -75
- package/dist/types/__VUE/datepicker/index.vue.d.ts +70 -132
- package/dist/types/__VUE/dialog/index.d.ts +1 -0
- package/dist/types/__VUE/dialog/index.vue.d.ts +74 -137
- package/dist/types/__VUE/divider/index.vue.d.ts +11 -18
- package/dist/types/__VUE/drag/index.vue.d.ts +9 -19
- package/dist/types/__VUE/ecard/index.vue.d.ts +23 -42
- package/dist/types/__VUE/elevator/index.vue.d.ts +15 -26
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +17 -30
- package/dist/types/__VUE/empty/index.vue.d.ts +9 -14
- package/dist/types/__VUE/fixednav/index.vue.d.ts +19 -37
- package/dist/types/__VUE/form/index.vue.d.ts +7 -10
- package/dist/types/__VUE/formitem/index.vue.d.ts +23 -42
- package/dist/types/__VUE/grid/index.vue.d.ts +24 -40
- package/dist/types/__VUE/griditem/index.vue.d.ts +18 -25
- package/dist/types/__VUE/icon/index.vue.d.ts +15 -26
- package/dist/types/__VUE/image/index.vue.d.ts +24 -36
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +21 -38
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +40 -74
- package/dist/types/__VUE/indicator/index.vue.d.ts +13 -24
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +25 -46
- package/dist/types/__VUE/input/index.vue.d.ts +69 -134
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +25 -46
- package/dist/types/__VUE/invoice/index.vue.d.ts +9 -14
- package/dist/types/__VUE/layout/index.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +13 -22
- package/dist/types/__VUE/menu/index.vue.d.ts +22 -32
- package/dist/types/__VUE/menuitem/index.vue.d.ts +22 -26
- package/dist/types/__VUE/navbar/index.vue.d.ts +24 -43
- package/dist/types/__VUE/noticebar/index.vue.d.ts +36 -65
- package/dist/types/__VUE/notify/index.vue.d.ts +30 -42
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +27 -53
- package/dist/types/__VUE/overlay/index.vue.d.ts +18 -29
- package/dist/types/__VUE/pagination/index.vue.d.ts +21 -38
- package/dist/types/__VUE/picker/Column.vue.d.ts +22 -28
- package/dist/types/__VUE/picker/index.vue.d.ts +86 -152
- package/dist/types/__VUE/popover/index.vue.d.ts +40 -73
- package/dist/types/__VUE/popup/common.d.ts +2 -2
- package/dist/types/__VUE/popup/index.vue.d.ts +46 -86
- package/dist/types/__VUE/price/index.vue.d.ts +19 -34
- package/dist/types/__VUE/progress/index.vue.d.ts +27 -51
- package/dist/types/__VUE/radio/index.vue.d.ts +19 -34
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +9 -14
- package/dist/types/__VUE/range/index.vue.d.ts +37 -49
- package/dist/types/__VUE/rate/index.vue.d.ts +31 -58
- package/dist/types/__VUE/row/index.vue.d.ts +13 -22
- package/dist/types/__VUE/searchbar/index.vue.d.ts +31 -58
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +23 -42
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +5 -6
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +7 -10
- package/dist/types/__VUE/signature/index.vue.d.ts +18 -22
- package/dist/types/__VUE/skeleton/common.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +24 -43
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +5 -6
- package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +13 -22
- package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +5 -6
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +11 -18
- package/dist/types/__VUE/sku/index.vue.d.ts +66 -128
- package/dist/types/__VUE/step/index.vue.d.ts +14 -23
- package/dist/types/__VUE/steps/index.vue.d.ts +9 -14
- package/dist/types/__VUE/sticky/index.vue.d.ts +14 -21
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +9 -14
- package/dist/types/__VUE/swipe/index.vue.d.ts +11 -18
- package/dist/types/__VUE/swiper/index.vue.d.ts +28 -51
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +28 -50
- package/dist/types/__VUE/tabbar/index.vue.d.ts +17 -30
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +26 -42
- package/dist/types/__VUE/table/common.d.ts +1 -1
- package/dist/types/__VUE/table/index.vue.d.ts +14 -23
- package/dist/types/__VUE/tabpane/index.vue.d.ts +9 -14
- package/dist/types/__VUE/tabs/common.d.ts +1 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +30 -54
- package/dist/types/__VUE/tag/index.vue.d.ts +17 -30
- package/dist/types/__VUE/textarea/index.vue.d.ts +24 -43
- package/dist/types/__VUE/timedetail/index.vue.d.ts +7 -10
- package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -10
- package/dist/types/__VUE/timeselect/index.vue.d.ts +17 -30
- package/dist/types/__VUE/toast/index.vue.d.ts +42 -57
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +27 -50
- package/dist/types/__VUE/uploader/index.vue.d.ts +59 -110
- package/dist/types/__VUE/video/index.vue.d.ts +11 -28
- package/dist/types/__VUE/watermark/index.vue.d.ts +37 -70
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -234,6 +234,7 @@ const _hoisted_7 = [
|
|
|
234
234
|
_hoisted_6
|
|
235
235
|
];
|
|
236
236
|
const _hoisted_8 = { class: "nut-addresslist-swipe" };
|
|
237
|
+
const _hoisted_9 = /* @__PURE__ */ createTextVNode("\u5220\u9664");
|
|
237
238
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
238
239
|
const _component_nut_button = resolveComponent("nut-button");
|
|
239
240
|
const _component_nut_swipe = resolveComponent("nut-swipe");
|
|
@@ -253,7 +254,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
253
254
|
renderSlot(_ctx.$slots, "contentAddrs")
|
|
254
255
|
]),
|
|
255
256
|
_: 3
|
|
256
|
-
},
|
|
257
|
+
}, 8, ["onTouchstart", "onTouchend", "onTouchmove"])),
|
|
257
258
|
_ctx.longPress && _ctx.showMaskRef ? (openBlock(), createElementBlock("div", {
|
|
258
259
|
key: 0,
|
|
259
260
|
class: "nut-addresslist-general__mask",
|
|
@@ -289,7 +290,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
289
290
|
onClick: _ctx.swipeDelClick
|
|
290
291
|
}, {
|
|
291
292
|
default: withCtx(() => [
|
|
292
|
-
|
|
293
|
+
_hoisted_9
|
|
293
294
|
]),
|
|
294
295
|
_: 1
|
|
295
296
|
}, 8, ["onClick"])
|
|
@@ -311,7 +312,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
311
312
|
renderSlot(_ctx.$slots, "contentAddrs")
|
|
312
313
|
]),
|
|
313
314
|
_: 3
|
|
314
|
-
},
|
|
315
|
+
}, 8, ["onTouchmove", "onTouchstart"]))
|
|
315
316
|
])
|
|
316
317
|
]),
|
|
317
318
|
_: 3
|
|
@@ -458,15 +459,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
458
459
|
name: "longpressAll",
|
|
459
460
|
fn: withCtx(() => [
|
|
460
461
|
renderSlot(_ctx.$slots, "longpressbtns")
|
|
461
|
-
])
|
|
462
|
-
key: "0"
|
|
462
|
+
])
|
|
463
463
|
} : void 0,
|
|
464
464
|
_ctx.swipeEdition ? {
|
|
465
465
|
name: "swiperightbtn",
|
|
466
466
|
fn: withCtx(() => [
|
|
467
467
|
renderSlot(_ctx.$slots, "swiperight")
|
|
468
|
-
])
|
|
469
|
-
key: "1"
|
|
468
|
+
])
|
|
470
469
|
} : void 0
|
|
471
470
|
]), 1032, ["item", "longPress", "swipeEdition", "onDelIcon", "onEditIcon", "onItemClick", "onSwipeDel", "onLongCopy", "onLongSet", "onLongDel"]);
|
|
472
471
|
}), 128)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -25,6 +25,7 @@ const _sfc_main = create({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
const _hoisted_1 = { class: "nut-audio-operate" };
|
|
28
|
+
const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u5FEB\u8FDB");
|
|
28
29
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29
30
|
const _component_nut_button = resolveComponent("nut-button");
|
|
30
31
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -73,7 +74,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
74
|
size: "small"
|
|
74
75
|
}, {
|
|
75
76
|
default: withCtx(() => [
|
|
76
|
-
|
|
77
|
+
_hoisted_2
|
|
77
78
|
]),
|
|
78
79
|
_: 1
|
|
79
80
|
})) : createCommentVNode("", true),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -182,8 +182,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
182
182
|
name: "btn",
|
|
183
183
|
fn: withCtx(() => [
|
|
184
184
|
renderSlot(_ctx.$slots, "btn")
|
|
185
|
-
])
|
|
186
|
-
key: "0"
|
|
185
|
+
])
|
|
187
186
|
} : void 0,
|
|
188
187
|
_ctx.dayInfo ? {
|
|
189
188
|
name: "day",
|
|
@@ -191,8 +190,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
190
|
renderSlot(_ctx.$slots, "day", {
|
|
192
191
|
date: date.date
|
|
193
192
|
})
|
|
194
|
-
])
|
|
195
|
-
key: "1"
|
|
193
|
+
])
|
|
196
194
|
} : void 0,
|
|
197
195
|
_ctx.topInfo ? {
|
|
198
196
|
name: "topInfo",
|
|
@@ -200,8 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
198
|
renderSlot(_ctx.$slots, "topInfo", {
|
|
201
199
|
date: date.date
|
|
202
200
|
})
|
|
203
|
-
])
|
|
204
|
-
key: "2"
|
|
201
|
+
])
|
|
205
202
|
} : void 0,
|
|
206
203
|
_ctx.bottomInfo ? {
|
|
207
204
|
name: "bottomInfo",
|
|
@@ -209,8 +206,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
209
206
|
renderSlot(_ctx.$slots, "bottomInfo", {
|
|
210
207
|
date: date.date
|
|
211
208
|
})
|
|
212
|
-
])
|
|
213
|
-
key: "3"
|
|
209
|
+
])
|
|
214
210
|
} : void 0
|
|
215
211
|
]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation", "first-day-of-week"])) : createCommentVNode("", true)
|
|
216
212
|
]),
|
|
@@ -242,8 +238,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
242
238
|
name: "btn",
|
|
243
239
|
fn: withCtx(() => [
|
|
244
240
|
renderSlot(_ctx.$slots, "btn")
|
|
245
|
-
])
|
|
246
|
-
key: "0"
|
|
241
|
+
])
|
|
247
242
|
} : void 0,
|
|
248
243
|
_ctx.dayInfo ? {
|
|
249
244
|
name: "day",
|
|
@@ -251,8 +246,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
251
246
|
renderSlot(_ctx.$slots, "day", {
|
|
252
247
|
date: date.date
|
|
253
248
|
})
|
|
254
|
-
])
|
|
255
|
-
key: "1"
|
|
249
|
+
])
|
|
256
250
|
} : void 0,
|
|
257
251
|
_ctx.topInfo ? {
|
|
258
252
|
name: "topInfo",
|
|
@@ -260,8 +254,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
260
254
|
renderSlot(_ctx.$slots, "topInfo", {
|
|
261
255
|
date: date.date
|
|
262
256
|
})
|
|
263
|
-
])
|
|
264
|
-
key: "2"
|
|
257
|
+
])
|
|
265
258
|
} : void 0,
|
|
266
259
|
_ctx.bottomInfo ? {
|
|
267
260
|
name: "bottomInfo",
|
|
@@ -269,8 +262,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
269
262
|
renderSlot(_ctx.$slots, "bottomInfo", {
|
|
270
263
|
date: date.date
|
|
271
264
|
})
|
|
272
|
-
])
|
|
273
|
-
key: "3"
|
|
265
|
+
])
|
|
274
266
|
} : void 0
|
|
275
267
|
]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation", "first-day-of-week"]));
|
|
276
268
|
}
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -468,7 +468,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
468
468
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.machineNum, (val, index2) => {
|
|
469
469
|
return openBlock(), createElementBlock("view", {
|
|
470
470
|
class: "run-number-machine-img-li",
|
|
471
|
-
ref_for: true,
|
|
472
471
|
ref: "run-number-machine-img-li",
|
|
473
472
|
key: "mImg" + index2,
|
|
474
473
|
style: normalizeStyle({
|
|
@@ -523,7 +522,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
523
522
|
}, [
|
|
524
523
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.num_total_len, (val, index2) => {
|
|
525
524
|
return openBlock(), createElementBlock("view", {
|
|
526
|
-
ref_for: true,
|
|
527
525
|
ref: _ctx.setRef,
|
|
528
526
|
class: "numberItem",
|
|
529
527
|
key: val,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -23,7 +23,7 @@ const _sfc_main = create({
|
|
|
23
23
|
...popupProps,
|
|
24
24
|
closeOnClickOverlay: {
|
|
25
25
|
type: Boolean,
|
|
26
|
-
default:
|
|
26
|
+
default: true
|
|
27
27
|
},
|
|
28
28
|
title: {
|
|
29
29
|
type: String,
|
|
@@ -126,12 +126,18 @@ const _sfc_main = create({
|
|
|
126
126
|
emit("ok");
|
|
127
127
|
closed("ok");
|
|
128
128
|
};
|
|
129
|
+
const onClickOverlay = () => {
|
|
130
|
+
if (props.closeOnClickOverlay) {
|
|
131
|
+
closed("");
|
|
132
|
+
}
|
|
133
|
+
};
|
|
129
134
|
return {
|
|
130
135
|
closed,
|
|
131
136
|
classes,
|
|
132
137
|
onCancel,
|
|
133
138
|
onOk,
|
|
134
139
|
showPopup,
|
|
140
|
+
onClickOverlay,
|
|
135
141
|
translate
|
|
136
142
|
};
|
|
137
143
|
}
|
|
@@ -148,14 +154,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
148
154
|
teleport: _ctx.teleport,
|
|
149
155
|
visible: _ctx.showPopup,
|
|
150
156
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.showPopup = $event),
|
|
151
|
-
"close-on-click-overlay":
|
|
157
|
+
"close-on-click-overlay": false,
|
|
152
158
|
"lock-scroll": _ctx.lockScroll,
|
|
153
159
|
"pop-class": _ctx.popClass,
|
|
154
160
|
style: normalizeStyle(_ctx.popStyle),
|
|
155
161
|
"overlay-class": _ctx.overlayClass,
|
|
156
162
|
"overlay-style": _ctx.overlayStyle,
|
|
157
163
|
round: "",
|
|
158
|
-
onClickOverlay: _ctx.
|
|
164
|
+
onClickOverlay: _ctx.onClickOverlay,
|
|
159
165
|
onClickCloseIcon: _ctx.closed
|
|
160
166
|
}, {
|
|
161
167
|
default: withCtx(() => [
|
|
@@ -211,7 +217,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
211
217
|
], 2)
|
|
212
218
|
]),
|
|
213
219
|
_: 3
|
|
214
|
-
}, 8, ["teleport", "visible", "
|
|
220
|
+
}, 8, ["teleport", "visible", "lock-scroll", "pop-class", "style", "overlay-class", "overlay-style", "onClickOverlay", "onClickCloseIcon"]);
|
|
215
221
|
}
|
|
216
222
|
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
217
223
|
class DialogOptions {
|
|
@@ -245,7 +251,8 @@ class DialogOptions {
|
|
|
245
251
|
this.noCancelBtn = false;
|
|
246
252
|
this.okBtnDisabled = false;
|
|
247
253
|
this.closeOnPopstate = false;
|
|
248
|
-
this.
|
|
254
|
+
this.closeOnClickOverlay = true;
|
|
255
|
+
this.lockScroll = true;
|
|
249
256
|
}
|
|
250
257
|
}
|
|
251
258
|
class DialogFunction {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.3.
|
|
2
|
+
* @nutui/nutui v3.3.8 Mon Jun 12 2023 11:24:18 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -213,7 +213,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
213
|
return openBlock(), createElementBlock("view", {
|
|
214
214
|
class: "nut-elevator__list__item",
|
|
215
215
|
key: item[_ctx.acceptKey],
|
|
216
|
-
ref_for: true,
|
|
217
216
|
ref: _ctx.setListGroup
|
|
218
217
|
}, [
|
|
219
218
|
createElementVNode("view", _hoisted_1, toDisplayString(item[_ctx.acceptKey]), 1),
|
|
@@ -234,7 +233,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
234
233
|
})
|
|
235
234
|
], 10, _hoisted_2);
|
|
236
235
|
}), 128))
|
|
237
|
-
]);
|
|
236
|
+
], 512);
|
|
238
237
|
}), 128)),
|
|
239
238
|
_ctx.isSticky ? withDirectives((openBlock(), createElementBlock("view", {
|
|
240
239
|
key: 0,
|