@nutui/nutui 3.1.23-beta.2 → 3.1.23-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nutui.es.js +90 -60
- package/dist/nutui.umd.js +90 -60
- package/dist/packages/_es/ActionSheet.js +8 -3
- 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 +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +7 -4
- 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 +4 -3
- 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 +8 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/packages/_es/InputNumber.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 +1 -1
- 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/OldPicker.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 +41 -25
- 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/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 +1 -1
- 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 +1 -1
- 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/Uploader.js +1 -1
- 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/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/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/picker/index.scss +9 -0
- package/dist/smartips/attributes.json +8 -0
- package/dist/smartips/tags.json +4 -2
- package/dist/smartips/web-types.json +19 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +50 -50
- package/dist/styles/themes/jdb.scss +50 -50
- package/dist/styles/themes/jdt.scss +50 -50
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -0
- package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/backtop/index.vue.d.ts +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cell/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/datepicker/index.vue.d.ts +7 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/Column.vue.d.ts +10 -3
- package/dist/types/__VUE/picker/index.vue.d.ts +17 -3
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/nutui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:15 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -526,7 +526,7 @@ const _hoisted_2$14 = {
|
|
|
526
526
|
key: 1,
|
|
527
527
|
class: "nut-cell__title"
|
|
528
528
|
};
|
|
529
|
-
const _hoisted_3$
|
|
529
|
+
const _hoisted_3$Q = { class: "title" };
|
|
530
530
|
const _hoisted_4$E = { class: "nut-cell__title-desc" };
|
|
531
531
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
532
532
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
@@ -548,7 +548,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
548
548
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2$14, [
|
|
549
549
|
_ctx.subTitle ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
550
550
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
551
|
-
createElementVNode("view", _hoisted_3$
|
|
551
|
+
createElementVNode("view", _hoisted_3$Q, toDisplayString(_ctx.title), 1)
|
|
552
552
|
]),
|
|
553
553
|
createElementVNode("view", _hoisted_4$E, toDisplayString(_ctx.subTitle), 1)
|
|
554
554
|
], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
@@ -645,14 +645,14 @@ const _hoisted_2$13 = {
|
|
|
645
645
|
key: 3,
|
|
646
646
|
class: "nut-cell-group__desc"
|
|
647
647
|
};
|
|
648
|
-
const _hoisted_3$
|
|
648
|
+
const _hoisted_3$P = { class: "nut-cell-group__warp" };
|
|
649
649
|
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
650
650
|
return openBlock(), createElementBlock("view", {
|
|
651
651
|
class: normalizeClass(_ctx.classes)
|
|
652
652
|
}, [
|
|
653
653
|
_ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : _ctx.title ? (openBlock(), createElementBlock("view", _hoisted_1$1j, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
654
654
|
_ctx.$slots.desc ? renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_2$13, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
|
|
655
|
-
createElementVNode("view", _hoisted_3$
|
|
655
|
+
createElementVNode("view", _hoisted_3$P, [
|
|
656
656
|
renderSlot(_ctx.$slots, "default")
|
|
657
657
|
])
|
|
658
658
|
], 2);
|
|
@@ -1152,7 +1152,7 @@ const _hoisted_2$12 = {
|
|
|
1152
1152
|
key: 0,
|
|
1153
1153
|
class: "nut-img-loading"
|
|
1154
1154
|
};
|
|
1155
|
-
const _hoisted_3$
|
|
1155
|
+
const _hoisted_3$O = {
|
|
1156
1156
|
key: 1,
|
|
1157
1157
|
class: "nut-img-error"
|
|
1158
1158
|
};
|
|
@@ -1178,7 +1178,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1178
1178
|
})) : createCommentVNode("", true),
|
|
1179
1179
|
renderSlot(_ctx.$slots, "loading")
|
|
1180
1180
|
])) : createCommentVNode("", true),
|
|
1181
|
-
_ctx.isError && !_ctx.loading ? (openBlock(), createElementBlock("view", _hoisted_3$
|
|
1181
|
+
_ctx.isError && !_ctx.loading ? (openBlock(), createElementBlock("view", _hoisted_3$O, [
|
|
1182
1182
|
!_ctx.slotError ? (openBlock(), createBlock(_component_nut_icon, {
|
|
1183
1183
|
key: 0,
|
|
1184
1184
|
name: "image-error"
|
|
@@ -1880,7 +1880,7 @@ const _hoisted_2$11 = {
|
|
|
1880
1880
|
key: 1,
|
|
1881
1881
|
class: "nut-navbar__text"
|
|
1882
1882
|
};
|
|
1883
|
-
const _hoisted_3$
|
|
1883
|
+
const _hoisted_3$N = { class: "nut-navbar__title" };
|
|
1884
1884
|
const _hoisted_4$D = {
|
|
1885
1885
|
key: 0,
|
|
1886
1886
|
class: "nut-navbar__text"
|
|
@@ -1914,7 +1914,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1914
1914
|
_ctx.leftText ? (openBlock(), createElementBlock("view", _hoisted_2$11, toDisplayString(_ctx.leftText), 1)) : createCommentVNode("", true),
|
|
1915
1915
|
renderSlot(_ctx.$slots, "left")
|
|
1916
1916
|
]),
|
|
1917
|
-
createElementVNode("view", _hoisted_3$
|
|
1917
|
+
createElementVNode("view", _hoisted_3$N, [
|
|
1918
1918
|
_ctx.title ? (openBlock(), createElementBlock("view", {
|
|
1919
1919
|
key: 0,
|
|
1920
1920
|
class: "title",
|
|
@@ -2041,7 +2041,7 @@ const _sfc_main$1z = create$1z({
|
|
|
2041
2041
|
});
|
|
2042
2042
|
const _hoisted_1$1e = { class: "nut-fixednav__list" };
|
|
2043
2043
|
const _hoisted_2$10 = ["onClick"];
|
|
2044
|
-
const _hoisted_3$
|
|
2044
|
+
const _hoisted_3$M = ["src"];
|
|
2045
2045
|
const _hoisted_4$C = { class: "span" };
|
|
2046
2046
|
const _hoisted_5$s = {
|
|
2047
2047
|
key: 0,
|
|
@@ -2071,7 +2071,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2071
2071
|
}, [
|
|
2072
2072
|
createElementVNode("img", {
|
|
2073
2073
|
src: item.icon
|
|
2074
|
-
}, null, 8, _hoisted_3$
|
|
2074
|
+
}, null, 8, _hoisted_3$M),
|
|
2075
2075
|
createElementVNode("view", _hoisted_4$C, toDisplayString(item.text), 1),
|
|
2076
2076
|
item.num ? (openBlock(), createElementBlock("view", _hoisted_5$s, toDisplayString(item.num), 1)) : createCommentVNode("", true)
|
|
2077
2077
|
], 8, _hoisted_2$10);
|
|
@@ -2588,7 +2588,7 @@ const _hoisted_2$Z = {
|
|
|
2588
2588
|
key: 0,
|
|
2589
2589
|
class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_num"
|
|
2590
2590
|
};
|
|
2591
|
-
const _hoisted_3$
|
|
2591
|
+
const _hoisted_3$L = {
|
|
2592
2592
|
key: 1,
|
|
2593
2593
|
class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_nums"
|
|
2594
2594
|
};
|
|
@@ -2609,7 +2609,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2609
2609
|
}, [
|
|
2610
2610
|
createElementVNode("view", _hoisted_1$1b, [
|
|
2611
2611
|
!_ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2612
|
-
_ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2$Z, toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (openBlock(), createElementBlock("view", _hoisted_3$
|
|
2612
|
+
_ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2$Z, toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (openBlock(), createElementBlock("view", _hoisted_3$L, toDisplayString("99+"))) : createCommentVNode("", true)
|
|
2613
2613
|
], 64)) : createCommentVNode("", true),
|
|
2614
2614
|
_ctx.dot ? (openBlock(), createElementBlock("div", _hoisted_4$B)) : createCommentVNode("", true),
|
|
2615
2615
|
_ctx.icon ? (openBlock(), createElementBlock("view", _hoisted_5$r, [
|
|
@@ -2822,7 +2822,7 @@ const _sfc_main$1u = create$1u({
|
|
|
2822
2822
|
});
|
|
2823
2823
|
const _hoisted_1$1a = { class: "nut-elevator__list__item__code" };
|
|
2824
2824
|
const _hoisted_2$Y = ["onClick"];
|
|
2825
|
-
const _hoisted_3$
|
|
2825
|
+
const _hoisted_3$K = ["innerHTML"];
|
|
2826
2826
|
const _hoisted_4$A = { class: "fixed-title" };
|
|
2827
2827
|
const _hoisted_5$q = { class: "nut-elevator__bars__inner" };
|
|
2828
2828
|
const _hoisted_6$n = ["data-index", "onClick"];
|
|
@@ -2853,7 +2853,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2853
2853
|
!_ctx.$slots.default ? (openBlock(), createElementBlock("span", {
|
|
2854
2854
|
key: 0,
|
|
2855
2855
|
innerHTML: subitem.name
|
|
2856
|
-
}, null, 8, _hoisted_3$
|
|
2856
|
+
}, null, 8, _hoisted_3$K)) : renderSlot(_ctx.$slots, "default", {
|
|
2857
2857
|
key: 1,
|
|
2858
2858
|
item: subitem
|
|
2859
2859
|
})
|
|
@@ -3009,7 +3009,7 @@ const _hoisted_2$X = {
|
|
|
3009
3009
|
key: 0,
|
|
3010
3010
|
class: "nut-pagination-contain"
|
|
3011
3011
|
};
|
|
3012
|
-
const _hoisted_3$
|
|
3012
|
+
const _hoisted_3$J = ["onClick"];
|
|
3013
3013
|
const _hoisted_4$z = {
|
|
3014
3014
|
key: 1,
|
|
3015
3015
|
class: "nut-pagination-contain"
|
|
@@ -3035,7 +3035,7 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3035
3035
|
renderSlot(_ctx.$slots, "page", { item }, () => [
|
|
3036
3036
|
createTextVNode(toDisplayString(item.text), 1)
|
|
3037
3037
|
])
|
|
3038
|
-
], 10, _hoisted_3$
|
|
3038
|
+
], 10, _hoisted_3$J);
|
|
3039
3039
|
}), 128))
|
|
3040
3040
|
])) : createCommentVNode("", true),
|
|
3041
3041
|
_ctx.mode == "simple" ? (openBlock(), createElementBlock("view", _hoisted_4$z, [
|
|
@@ -3510,7 +3510,7 @@ const _sfc_main$1n = create$1n({
|
|
|
3510
3510
|
});
|
|
3511
3511
|
const _hoisted_1$15 = ["ikey"];
|
|
3512
3512
|
const _hoisted_2$U = { class: "nut-subsidenavbar__title__text" };
|
|
3513
|
-
const _hoisted_3$
|
|
3513
|
+
const _hoisted_3$I = { class: "nut-subsidenavbar__title__icon" };
|
|
3514
3514
|
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3515
3515
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
3516
3516
|
return openBlock(), createElementBlock("view", {
|
|
@@ -3522,7 +3522,7 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3522
3522
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"]))
|
|
3523
3523
|
}, [
|
|
3524
3524
|
createElementVNode("span", _hoisted_2$U, toDisplayString(_ctx.title), 1),
|
|
3525
|
-
createElementVNode("span", _hoisted_3$
|
|
3525
|
+
createElementVNode("span", _hoisted_3$I, [
|
|
3526
3526
|
createVNode(_component_nut_icon, {
|
|
3527
3527
|
name: "down-arrow",
|
|
3528
3528
|
class: normalizeClass(_ctx.direction)
|
|
@@ -3896,7 +3896,7 @@ const _hoisted_2$T = {
|
|
|
3896
3896
|
key: 0,
|
|
3897
3897
|
class: "nut-range-mark"
|
|
3898
3898
|
};
|
|
3899
|
-
const _hoisted_3$
|
|
3899
|
+
const _hoisted_3$H = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax", "onTouchstart"];
|
|
3900
3900
|
const _hoisted_4$y = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "number"
|
|
@@ -3971,7 +3971,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3971
3971
|
}, [
|
|
3972
3972
|
!_ctx.hiddenTag ? (openBlock(), createElementBlock("view", _hoisted_4$y, toDisplayString(_ctx.curValue(index)), 1)) : createCommentVNode("", true)
|
|
3973
3973
|
], 4))
|
|
3974
|
-
], 42, _hoisted_3$
|
|
3974
|
+
], 42, _hoisted_3$H);
|
|
3975
3975
|
}), 64)) : (openBlock(), createElementBlock("view", {
|
|
3976
3976
|
key: 1,
|
|
3977
3977
|
role: "slider",
|
|
@@ -4160,7 +4160,7 @@ const _hoisted_2$S = {
|
|
|
4160
4160
|
key: 1,
|
|
4161
4161
|
class: "nut-searchbar__search-icon nut-searchbar__left-search-icon"
|
|
4162
4162
|
};
|
|
4163
|
-
const _hoisted_3$
|
|
4163
|
+
const _hoisted_3$G = { class: "nut-searchbar__input-inner" };
|
|
4164
4164
|
const _hoisted_4$x = ["type", "maxlength", "placeholder", "value", "disabled", "readonly"];
|
|
4165
4165
|
const _hoisted_5$n = {
|
|
4166
4166
|
key: 2,
|
|
@@ -4187,7 +4187,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4187
4187
|
}, [
|
|
4188
4188
|
renderSlot(_ctx.$slots, "leftin")
|
|
4189
4189
|
])) : createCommentVNode("", true),
|
|
4190
|
-
createElementVNode("view", _hoisted_3$
|
|
4190
|
+
createElementVNode("view", _hoisted_3$G, [
|
|
4191
4191
|
createElementVNode("form", {
|
|
4192
4192
|
action: "#",
|
|
4193
4193
|
onSubmit: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.handleSubmit && _ctx.handleSubmit(...args), ["prevent"]))
|
|
@@ -4579,7 +4579,7 @@ const _hoisted_1$12 = {
|
|
|
4579
4579
|
class: "nut-cascader-pane"
|
|
4580
4580
|
};
|
|
4581
4581
|
const _hoisted_2$R = ["aria-checked", "aria-disabled", "onClick"];
|
|
4582
|
-
const _hoisted_3$
|
|
4582
|
+
const _hoisted_3$F = { class: "nut-cascader-item__title" };
|
|
4583
4583
|
const _hoisted_4$w = /* @__PURE__ */ createElementVNode("view", { class: "nut-cascader-pane" }, null, -1);
|
|
4584
4584
|
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4585
4585
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
@@ -4609,7 +4609,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4609
4609
|
role: "menuitemradio",
|
|
4610
4610
|
onClick: ($event) => _ctx.handleNode(node, false)
|
|
4611
4611
|
}, [
|
|
4612
|
-
createElementVNode("view", _hoisted_3$
|
|
4612
|
+
createElementVNode("view", _hoisted_3$F, toDisplayString(node.text), 1),
|
|
4613
4613
|
node.loading ? (openBlock(), createBlock(_component_nut_icon, {
|
|
4614
4614
|
key: 0,
|
|
4615
4615
|
class: "nut-cascader-item__icon-loading",
|
|
@@ -5406,7 +5406,7 @@ const _hoisted_2$Q = {
|
|
|
5406
5406
|
key: 1,
|
|
5407
5407
|
class: "calendar-top-slot"
|
|
5408
5408
|
};
|
|
5409
|
-
const _hoisted_3$
|
|
5409
|
+
const _hoisted_3$E = {
|
|
5410
5410
|
key: 2,
|
|
5411
5411
|
class: "calendar-curr-month"
|
|
5412
5412
|
};
|
|
@@ -5456,7 +5456,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5456
5456
|
_ctx.showTopBtn ? (openBlock(), createElementBlock("view", _hoisted_2$Q, [
|
|
5457
5457
|
renderSlot(_ctx.$slots, "btn")
|
|
5458
5458
|
])) : createCommentVNode("", true),
|
|
5459
|
-
_ctx.showSubTitle ? (openBlock(), createElementBlock("view", _hoisted_3$
|
|
5459
|
+
_ctx.showSubTitle ? (openBlock(), createElementBlock("view", _hoisted_3$E, toDisplayString(_ctx.yearMonthTitle), 1)) : createCommentVNode("", true),
|
|
5460
5460
|
createElementVNode("view", _hoisted_4$v, [
|
|
5461
5461
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.weeks, (item, index) => {
|
|
5462
5462
|
return openBlock(), createElementBlock("view", {
|
|
@@ -6004,6 +6004,10 @@ const _sfc_main$1e = create$1e({
|
|
|
6004
6004
|
readonly: {
|
|
6005
6005
|
type: Boolean,
|
|
6006
6006
|
default: false
|
|
6007
|
+
},
|
|
6008
|
+
threeDimensional: {
|
|
6009
|
+
type: Boolean,
|
|
6010
|
+
default: true
|
|
6007
6011
|
}
|
|
6008
6012
|
},
|
|
6009
6013
|
emits: ["click", "change"],
|
|
@@ -6028,7 +6032,6 @@ const _sfc_main$1e = create$1e({
|
|
|
6028
6032
|
});
|
|
6029
6033
|
const roller = ref(null);
|
|
6030
6034
|
const list = ref(null);
|
|
6031
|
-
const listItem = ref(null);
|
|
6032
6035
|
const moving = ref(false);
|
|
6033
6036
|
const touchDeg = ref(0);
|
|
6034
6037
|
const touchTime = ref(0);
|
|
@@ -6040,7 +6043,7 @@ const _sfc_main$1e = create$1e({
|
|
|
6040
6043
|
transform: `rotate3d(1, 0, 0, ${touchDeg.value})`
|
|
6041
6044
|
};
|
|
6042
6045
|
});
|
|
6043
|
-
const
|
|
6046
|
+
const touchTileStyle = computed(() => {
|
|
6044
6047
|
return {
|
|
6045
6048
|
transition: `transform ${touchTime.value}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,
|
|
6046
6049
|
transform: `translate3d(0, ${state.scrollDistance}px, 0)`
|
|
@@ -6052,7 +6055,11 @@ const _sfc_main$1e = create$1e({
|
|
|
6052
6055
|
const onTouchStart = (event) => {
|
|
6053
6056
|
touch.start(event);
|
|
6054
6057
|
if (moving.value) {
|
|
6055
|
-
|
|
6058
|
+
let dom = list.value;
|
|
6059
|
+
if (!props.threeDimensional) {
|
|
6060
|
+
dom = roller.value;
|
|
6061
|
+
}
|
|
6062
|
+
const { transform } = window.getComputedStyle(dom);
|
|
6056
6063
|
state.scrollDistance = +transform.slice(7, transform.length - 1).split(", ")[5];
|
|
6057
6064
|
}
|
|
6058
6065
|
state.touchParams.startY = touch.deltaY.value;
|
|
@@ -6066,13 +6073,8 @@ const _sfc_main$1e = create$1e({
|
|
|
6066
6073
|
preventDefault2(event, true);
|
|
6067
6074
|
}
|
|
6068
6075
|
state.touchParams.lastY = touch.deltaY.value;
|
|
6069
|
-
const now = Date.now();
|
|
6070
6076
|
let move = state.touchParams.lastY - state.touchParams.startY;
|
|
6071
6077
|
setMove(move);
|
|
6072
|
-
if (now - state.touchParams.startTime > INERTIA_TIME) {
|
|
6073
|
-
state.touchParams.startTime = now;
|
|
6074
|
-
state.touchParams.startY = state.touchParams.lastY;
|
|
6075
|
-
}
|
|
6076
6078
|
};
|
|
6077
6079
|
const onTouchEnd = (event) => {
|
|
6078
6080
|
state.touchParams.lastY = touch.deltaY.value;
|
|
@@ -6126,13 +6128,15 @@ const _sfc_main$1e = create$1e({
|
|
|
6126
6128
|
setTransform(endMove, type, time, deg);
|
|
6127
6129
|
state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
|
|
6128
6130
|
} else {
|
|
6129
|
-
let deg =
|
|
6131
|
+
let deg = 0;
|
|
6130
6132
|
let currentDeg = (-updateMove / state.lineSpacing + 1) * state.rotation;
|
|
6131
6133
|
const maxDeg = (props.column.length + 1) * state.rotation;
|
|
6132
6134
|
const minDeg = 0;
|
|
6133
|
-
deg = Math.min(Math.max(currentDeg, minDeg), maxDeg)
|
|
6134
|
-
|
|
6135
|
-
|
|
6135
|
+
deg = Math.min(Math.max(currentDeg, minDeg), maxDeg);
|
|
6136
|
+
if (minDeg < deg && deg < maxDeg) {
|
|
6137
|
+
setTransform(updateMove, null, void 0, deg + "deg");
|
|
6138
|
+
state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
|
|
6139
|
+
}
|
|
6136
6140
|
}
|
|
6137
6141
|
};
|
|
6138
6142
|
const setChooseValue = () => {
|
|
@@ -6176,19 +6180,25 @@ const _sfc_main$1e = create$1e({
|
|
|
6176
6180
|
isHidden,
|
|
6177
6181
|
roller,
|
|
6178
6182
|
list,
|
|
6179
|
-
listItem,
|
|
6180
6183
|
onTouchStart,
|
|
6181
6184
|
onTouchMove,
|
|
6182
6185
|
onTouchEnd,
|
|
6183
6186
|
touchRollerStyle,
|
|
6184
|
-
|
|
6187
|
+
touchTileStyle,
|
|
6185
6188
|
setMove,
|
|
6186
6189
|
stopMomentum
|
|
6187
6190
|
};
|
|
6188
6191
|
}
|
|
6189
6192
|
});
|
|
6190
|
-
const _hoisted_1$$ =
|
|
6191
|
-
|
|
6193
|
+
const _hoisted_1$$ = {
|
|
6194
|
+
key: 1,
|
|
6195
|
+
class: "nut-picker-roller-item-tile"
|
|
6196
|
+
};
|
|
6197
|
+
const _hoisted_2$P = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
|
|
6198
|
+
const _hoisted_3$D = {
|
|
6199
|
+
key: 0,
|
|
6200
|
+
class: "nut-picker-content"
|
|
6201
|
+
};
|
|
6192
6202
|
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6193
6203
|
return openBlock(), createElementBlock("view", {
|
|
6194
6204
|
class: "nut-picker__list",
|
|
@@ -6199,29 +6209,30 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6199
6209
|
createElementVNode("view", {
|
|
6200
6210
|
class: "nut-picker-roller",
|
|
6201
6211
|
ref: "roller",
|
|
6202
|
-
style: normalizeStyle(_ctx.touchRollerStyle),
|
|
6212
|
+
style: normalizeStyle(_ctx.threeDimensional ? _ctx.touchRollerStyle : _ctx.touchTileStyle),
|
|
6203
6213
|
onTransitionend: _cache[0] || (_cache[0] = (...args) => _ctx.stopMomentum && _ctx.stopMomentum(...args))
|
|
6204
6214
|
}, [
|
|
6205
6215
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.column, (item, index) => {
|
|
6206
6216
|
return openBlock(), createElementBlock(Fragment, {
|
|
6207
6217
|
key: item.value ? item.value : index
|
|
6208
6218
|
}, [
|
|
6209
|
-
item && item.text ? (openBlock(), createElementBlock("view", {
|
|
6219
|
+
item && item.text && _ctx.threeDimensional ? (openBlock(), createElementBlock("view", {
|
|
6210
6220
|
key: 0,
|
|
6211
6221
|
class: normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
|
|
6212
6222
|
style: normalizeStyle(_ctx.setRollerStyle(index + 1))
|
|
6213
|
-
}, toDisplayString(item.text), 7)) : createCommentVNode("", true)
|
|
6223
|
+
}, toDisplayString(item.text), 7)) : createCommentVNode("", true),
|
|
6224
|
+
item && item.text && !_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_1$$, toDisplayString(item.text), 1)) : createCommentVNode("", true)
|
|
6214
6225
|
], 64);
|
|
6215
6226
|
}), 128))
|
|
6216
6227
|
], 36),
|
|
6217
|
-
|
|
6218
|
-
|
|
6228
|
+
_hoisted_2$P,
|
|
6229
|
+
_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_3$D, [
|
|
6219
6230
|
createElementVNode("view", {
|
|
6220
6231
|
class: "nut-picker-list-panel",
|
|
6221
6232
|
ref: "list",
|
|
6222
|
-
style: normalizeStyle(_ctx.
|
|
6233
|
+
style: normalizeStyle(_ctx.touchTileStyle)
|
|
6223
6234
|
}, null, 4)
|
|
6224
|
-
])
|
|
6235
|
+
])) : createCommentVNode("", true)
|
|
6225
6236
|
], 32);
|
|
6226
6237
|
}
|
|
6227
6238
|
var column$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1a]]);
|
|
@@ -6258,6 +6269,10 @@ const _sfc_main$1d = create$1d({
|
|
|
6258
6269
|
readonly: {
|
|
6259
6270
|
type: Boolean,
|
|
6260
6271
|
default: false
|
|
6272
|
+
},
|
|
6273
|
+
threeDimensional: {
|
|
6274
|
+
type: Boolean,
|
|
6275
|
+
default: true
|
|
6261
6276
|
}
|
|
6262
6277
|
},
|
|
6263
6278
|
emits: ["close", "change", "confirm", "update:visible", "update:modelValue"],
|
|
@@ -6451,10 +6466,11 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6451
6466
|
readonly: _ctx.readonly,
|
|
6452
6467
|
columnsType: _ctx.columnsType,
|
|
6453
6468
|
value: _ctx.defaultValues[columnIndex],
|
|
6469
|
+
threeDimensional: _ctx.threeDimensional,
|
|
6454
6470
|
onChange: (option) => {
|
|
6455
6471
|
_ctx.changeHandler(columnIndex, option);
|
|
6456
6472
|
}
|
|
6457
|
-
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "onChange"])
|
|
6473
|
+
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "threeDimensional", "onChange"])
|
|
6458
6474
|
]);
|
|
6459
6475
|
}), 128))
|
|
6460
6476
|
], 512),
|
|
@@ -6530,6 +6546,10 @@ const _sfc_main$1c = create$1c({
|
|
|
6530
6546
|
type: Function,
|
|
6531
6547
|
default: null
|
|
6532
6548
|
},
|
|
6549
|
+
threeDimensional: {
|
|
6550
|
+
type: Boolean,
|
|
6551
|
+
default: true
|
|
6552
|
+
},
|
|
6533
6553
|
filter: Function
|
|
6534
6554
|
},
|
|
6535
6555
|
emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
|
|
@@ -6767,13 +6787,14 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6767
6787
|
onChange: _ctx.changeHandler,
|
|
6768
6788
|
title: _ctx.title,
|
|
6769
6789
|
onConfirm: _ctx.confirm,
|
|
6770
|
-
isWrapTeleport: _ctx.isWrapTeleport
|
|
6790
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
6791
|
+
threeDimensional: _ctx.threeDimensional
|
|
6771
6792
|
}, {
|
|
6772
6793
|
default: withCtx(() => [
|
|
6773
6794
|
renderSlot(_ctx.$slots, "default")
|
|
6774
6795
|
]),
|
|
6775
6796
|
_: 3
|
|
6776
|
-
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport"]);
|
|
6797
|
+
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional"]);
|
|
6777
6798
|
}
|
|
6778
6799
|
var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$18]]);
|
|
6779
6800
|
const { componentName: componentName$10, create: create$1b } = createComponent("inputnumber");
|
|
@@ -9708,6 +9729,10 @@ const _sfc_main$Z = create$Z({
|
|
|
9708
9729
|
isWrapTeleport: {
|
|
9709
9730
|
type: Boolean,
|
|
9710
9731
|
default: true
|
|
9732
|
+
},
|
|
9733
|
+
closeAbled: {
|
|
9734
|
+
type: Boolean,
|
|
9735
|
+
default: true
|
|
9711
9736
|
}
|
|
9712
9737
|
},
|
|
9713
9738
|
emits: ["cancel", "close", "choose", "update:visible"],
|
|
@@ -9775,7 +9800,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9775
9800
|
isWrapTeleport: _ctx.isWrapTeleport,
|
|
9776
9801
|
position: "bottom",
|
|
9777
9802
|
round: "",
|
|
9778
|
-
onClickOverlay: _ctx.close
|
|
9803
|
+
onClickOverlay: _ctx.close,
|
|
9804
|
+
closeOnClickOverlay: _ctx.closeAbled
|
|
9779
9805
|
}, {
|
|
9780
9806
|
default: withCtx(() => [
|
|
9781
9807
|
createElementVNode("view", _hoisted_1$O, [
|
|
@@ -9808,7 +9834,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9808
9834
|
])
|
|
9809
9835
|
]),
|
|
9810
9836
|
_: 3
|
|
9811
|
-
}, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
|
|
9837
|
+
}, 8, ["visible", "isWrapTeleport", "onClickOverlay", "closeOnClickOverlay"])
|
|
9812
9838
|
], 2);
|
|
9813
9839
|
}
|
|
9814
9840
|
var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Y]]);
|
|
@@ -19321,9 +19347,12 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19321
19347
|
createElementVNode("div", _hoisted_5$6, toDisplayString(_ctx.title), 1),
|
|
19322
19348
|
renderSlot(_ctx.$slots, "prolist"),
|
|
19323
19349
|
_ctx.isNeedPrice ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
19324
|
-
|
|
19325
|
-
_ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
19350
|
+
_ctx.isHaveSlot("price") ? renderSlot(_ctx.$slots, "price", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
19326
19351
|
key: 1,
|
|
19352
|
+
price: _ctx.price
|
|
19353
|
+
}, null, 8, ["price"])),
|
|
19354
|
+
_ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 2 }) : (openBlock(), createBlock(_component_nut_price, {
|
|
19355
|
+
key: 3,
|
|
19327
19356
|
class: "nut-card__right__price__origin",
|
|
19328
19357
|
price: _ctx.vipPrice
|
|
19329
19358
|
}, null, 8, ["price"]))
|
|
@@ -20342,7 +20371,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20342
20371
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
|
|
20343
20372
|
"icon-size": "10",
|
|
20344
20373
|
spacing: "5",
|
|
20345
|
-
|
|
20374
|
+
readonly: "",
|
|
20346
20375
|
onChange: _ctx.handleClick
|
|
20347
20376
|
}, null, 8, ["modelValue", "onChange"])
|
|
20348
20377
|
])
|
|
@@ -20366,7 +20395,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20366
20395
|
modelValue: _ctx.info.score,
|
|
20367
20396
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
|
|
20368
20397
|
"icon-size": "12",
|
|
20369
|
-
spacing: "3"
|
|
20398
|
+
spacing: "3",
|
|
20399
|
+
readonly: ""
|
|
20370
20400
|
}, null, 8, ["modelValue"]),
|
|
20371
20401
|
createElementVNode("i", {
|
|
20372
20402
|
class: normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
|
|
@@ -20717,6 +20747,6 @@ function install(app) {
|
|
|
20717
20747
|
}
|
|
20718
20748
|
});
|
|
20719
20749
|
}
|
|
20720
|
-
const version = "3.1.23-beta.
|
|
20750
|
+
const version = "3.1.23-beta.3";
|
|
20721
20751
|
var nutui_vue_build = { install, version, Locale };
|
|
20722
20752
|
export { ActionSheet, Address, AddressList, Animate, Audio, AudioOperate, Avatar, AvatarGroup, BackTop, Badge, Barrage, Button, Calendar, CalendarItem, Card, Cascader, Category, CategoryPane, Cell, CellGroup, _sfc_main$1g as Checkbox, _sfc_main$1f as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, Comment, _sfc_main$1J as ConfigProvider, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Ecard, Elevator, Ellipsis, Empty, FixedNav, Form, FormItem, _sfc_main$1C as Grid, GridItem, _sfc_main$1P as Icon, Image$1 as Image, _ImagePreview as ImagePreview, Indicator, InfiniteLoading, Input, InputNumber, _sfc_main$1H as Layout, List, Locale, Menu, MenuItem, Navbar, NoticeBar, NotifyFunction as Notify, NumberKeyboard, OldPicker, OverLay, Pagination, Picker, Popover, Popup, Price, Progress, PullRefresh, _sfc_main$19 as Radio, _sfc_main$18 as RadioGroup, Range, Rate, Row, SearchBar, ShortPassword, SideNavBar, SideNavBarItem, Signature, Skeleton, Sku, Step, _sfc_main$G as Steps, _sfc_main$1E as Sticky, SubSideNavBar, Swipe, Swiper, SwiperItem, Switch, TabPane, Tabbar, TabbarItem, Table, Tabs, Tag, TextArea, TimeDetail, TimePannel, TimeSelect, ToastFunction as Toast, Uploader, Video, WaterMark, nutui_vue_build as default, install, version };
|