@nutui/nutui 3.1.23-beta.0 → 3.1.23-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nutui.es.js +69 -75
- package/dist/nutui.umd.js +69 -75
- 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 +1 -1
- 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 -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 +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 +34 -40
- 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/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 +13 -0
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/styles/variables-jdb.scss +1 -1
- package/dist/styles/variables-jdt.scss +1 -1
- package/dist/styles/variables.scss +1 -1
- package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbar/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.1 Mon Jun 27 2022 21:38:58 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -522,7 +522,7 @@ const _hoisted_1$1k = {
|
|
|
522
522
|
key: 0,
|
|
523
523
|
class: "nut-cell__icon"
|
|
524
524
|
};
|
|
525
|
-
const _hoisted_2$
|
|
525
|
+
const _hoisted_2$13 = {
|
|
526
526
|
key: 1,
|
|
527
527
|
class: "nut-cell__title"
|
|
528
528
|
};
|
|
@@ -545,7 +545,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
545
545
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
546
546
|
])
|
|
547
547
|
])) : createCommentVNode("", true),
|
|
548
|
-
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
548
|
+
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2$13, [
|
|
549
549
|
_ctx.subTitle ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
550
550
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
551
551
|
createElementVNode("view", _hoisted_3$P, toDisplayString(_ctx.title), 1)
|
|
@@ -641,7 +641,7 @@ const _hoisted_1$1j = {
|
|
|
641
641
|
key: 1,
|
|
642
642
|
class: "nut-cell-group__title"
|
|
643
643
|
};
|
|
644
|
-
const _hoisted_2$
|
|
644
|
+
const _hoisted_2$12 = {
|
|
645
645
|
key: 3,
|
|
646
646
|
class: "nut-cell-group__desc"
|
|
647
647
|
};
|
|
@@ -651,7 +651,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
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
|
-
_ctx.$slots.desc ? renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
654
|
+
_ctx.$slots.desc ? renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_2$12, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
|
|
655
655
|
createElementVNode("view", _hoisted_3$O, [
|
|
656
656
|
renderSlot(_ctx.$slots, "default")
|
|
657
657
|
])
|
|
@@ -1152,7 +1152,7 @@ const _sfc_main$1H = create$1H({
|
|
|
1152
1152
|
}
|
|
1153
1153
|
});
|
|
1154
1154
|
const _hoisted_1$1h = ["src", "alt"];
|
|
1155
|
-
const _hoisted_2$
|
|
1155
|
+
const _hoisted_2$11 = {
|
|
1156
1156
|
key: 0,
|
|
1157
1157
|
class: "nut-img-loading"
|
|
1158
1158
|
};
|
|
@@ -1175,7 +1175,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1175
1175
|
onError: _cache[1] || (_cache[1] = (...args) => _ctx.error && _ctx.error(...args)),
|
|
1176
1176
|
style: normalizeStyle(_ctx.styles)
|
|
1177
1177
|
}, null, 44, _hoisted_1$1h),
|
|
1178
|
-
_ctx.loading ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
1178
|
+
_ctx.loading ? (openBlock(), createElementBlock("view", _hoisted_2$11, [
|
|
1179
1179
|
!_ctx.slotLoding ? (openBlock(), createBlock(_component_nut_icon, {
|
|
1180
1180
|
key: 0,
|
|
1181
1181
|
name: "image"
|
|
@@ -1880,7 +1880,7 @@ const _hoisted_1$1f = {
|
|
|
1880
1880
|
class: "nut-navbar--placeholder",
|
|
1881
1881
|
ref: "navBarWrap"
|
|
1882
1882
|
};
|
|
1883
|
-
const _hoisted_2$
|
|
1883
|
+
const _hoisted_2$10 = {
|
|
1884
1884
|
key: 1,
|
|
1885
1885
|
class: "nut-navbar__text"
|
|
1886
1886
|
};
|
|
@@ -1915,7 +1915,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1915
1915
|
color: "#979797",
|
|
1916
1916
|
name: "left"
|
|
1917
1917
|
})) : createCommentVNode("", true),
|
|
1918
|
-
_ctx.leftText ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
1918
|
+
_ctx.leftText ? (openBlock(), createElementBlock("view", _hoisted_2$10, toDisplayString(_ctx.leftText), 1)) : createCommentVNode("", true),
|
|
1919
1919
|
renderSlot(_ctx.$slots, "left")
|
|
1920
1920
|
]),
|
|
1921
1921
|
createElementVNode("view", _hoisted_3$M, [
|
|
@@ -2044,7 +2044,7 @@ const _sfc_main$1y = create$1y({
|
|
|
2044
2044
|
}
|
|
2045
2045
|
});
|
|
2046
2046
|
const _hoisted_1$1e = { class: "nut-fixednav__list" };
|
|
2047
|
-
const _hoisted_2
|
|
2047
|
+
const _hoisted_2$$ = ["onClick"];
|
|
2048
2048
|
const _hoisted_3$L = ["src"];
|
|
2049
2049
|
const _hoisted_4$C = { class: "span" };
|
|
2050
2050
|
const _hoisted_5$s = {
|
|
@@ -2078,7 +2078,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2078
2078
|
}, null, 8, _hoisted_3$L),
|
|
2079
2079
|
createElementVNode("view", _hoisted_4$C, toDisplayString(item.text), 1),
|
|
2080
2080
|
item.num ? (openBlock(), createElementBlock("view", _hoisted_5$s, toDisplayString(item.num), 1)) : createCommentVNode("", true)
|
|
2081
|
-
], 8, _hoisted_2
|
|
2081
|
+
], 8, _hoisted_2$$);
|
|
2082
2082
|
}), 128))
|
|
2083
2083
|
])
|
|
2084
2084
|
]),
|
|
@@ -2227,7 +2227,7 @@ const _sfc_main$1x = create$1x({
|
|
|
2227
2227
|
}
|
|
2228
2228
|
});
|
|
2229
2229
|
const _hoisted_1$1d = ["onClick"];
|
|
2230
|
-
const _hoisted_2
|
|
2230
|
+
const _hoisted_2$_ = { class: "nut-menu__title-text" };
|
|
2231
2231
|
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2232
2232
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
2233
2233
|
return openBlock(), createElementBlock("view", {
|
|
@@ -2247,7 +2247,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2247
2247
|
createElementVNode("view", {
|
|
2248
2248
|
class: normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
|
|
2249
2249
|
}, [
|
|
2250
|
-
createElementVNode("view", _hoisted_2
|
|
2250
|
+
createElementVNode("view", _hoisted_2$_, toDisplayString(item.renderTitle()), 1),
|
|
2251
2251
|
createVNode(_component_nut_icon, {
|
|
2252
2252
|
name: item.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
|
|
2253
2253
|
size: "10",
|
|
@@ -2369,7 +2369,7 @@ const _sfc_main$1w = create$1w({
|
|
|
2369
2369
|
}
|
|
2370
2370
|
});
|
|
2371
2371
|
const _hoisted_1$1c = { class: "nut-menu-item__content" };
|
|
2372
|
-
const _hoisted_2$
|
|
2372
|
+
const _hoisted_2$Z = ["onClick"];
|
|
2373
2373
|
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2374
2374
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
2375
2375
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
@@ -2416,7 +2416,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2416
2416
|
createElementVNode("view", {
|
|
2417
2417
|
style: normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
|
|
2418
2418
|
}, toDisplayString(option.text), 5)
|
|
2419
|
-
], 14, _hoisted_2$
|
|
2419
|
+
], 14, _hoisted_2$Z);
|
|
2420
2420
|
}), 128)),
|
|
2421
2421
|
renderSlot(_ctx.$slots, "default")
|
|
2422
2422
|
])
|
|
@@ -2588,7 +2588,7 @@ const _sfc_main$1u = create$1u({
|
|
|
2588
2588
|
}
|
|
2589
2589
|
});
|
|
2590
2590
|
const _hoisted_1$1b = { class: "nut-tabbar-item_icon-box" };
|
|
2591
|
-
const _hoisted_2$
|
|
2591
|
+
const _hoisted_2$Y = {
|
|
2592
2592
|
key: 0,
|
|
2593
2593
|
class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_num"
|
|
2594
2594
|
};
|
|
@@ -2613,7 +2613,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2613
2613
|
}, [
|
|
2614
2614
|
createElementVNode("view", _hoisted_1$1b, [
|
|
2615
2615
|
!_ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2616
|
-
_ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
2616
|
+
_ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2$Y, toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (openBlock(), createElementBlock("view", _hoisted_3$K, toDisplayString("99+"))) : createCommentVNode("", true)
|
|
2617
2617
|
], 64)) : createCommentVNode("", true),
|
|
2618
2618
|
_ctx.dot ? (openBlock(), createElementBlock("div", _hoisted_4$B)) : createCommentVNode("", true),
|
|
2619
2619
|
_ctx.icon ? (openBlock(), createElementBlock("view", _hoisted_5$r, [
|
|
@@ -2825,7 +2825,7 @@ const _sfc_main$1t = create$1t({
|
|
|
2825
2825
|
}
|
|
2826
2826
|
});
|
|
2827
2827
|
const _hoisted_1$1a = { class: "nut-elevator__list__item__code" };
|
|
2828
|
-
const _hoisted_2$
|
|
2828
|
+
const _hoisted_2$X = ["onClick"];
|
|
2829
2829
|
const _hoisted_3$J = ["innerHTML"];
|
|
2830
2830
|
const _hoisted_4$A = { class: "fixed-title" };
|
|
2831
2831
|
const _hoisted_5$q = { class: "nut-elevator__bars__inner" };
|
|
@@ -2861,7 +2861,7 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2861
2861
|
key: 1,
|
|
2862
2862
|
item: subitem
|
|
2863
2863
|
})
|
|
2864
|
-
], 10, _hoisted_2$
|
|
2864
|
+
], 10, _hoisted_2$X);
|
|
2865
2865
|
}), 128))
|
|
2866
2866
|
], 512);
|
|
2867
2867
|
}), 128)),
|
|
@@ -3009,7 +3009,7 @@ const _sfc_main$1s = create$1s({
|
|
|
3009
3009
|
}
|
|
3010
3010
|
});
|
|
3011
3011
|
const _hoisted_1$19 = { class: "nut-pagination" };
|
|
3012
|
-
const _hoisted_2$
|
|
3012
|
+
const _hoisted_2$W = {
|
|
3013
3013
|
key: 0,
|
|
3014
3014
|
class: "nut-pagination-contain"
|
|
3015
3015
|
};
|
|
@@ -3029,7 +3029,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3029
3029
|
createTextVNode(toDisplayString(_ctx.prevText || _ctx.translate("prev")), 1)
|
|
3030
3030
|
])
|
|
3031
3031
|
], 2),
|
|
3032
|
-
_ctx.mode == "multi" ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
3032
|
+
_ctx.mode == "multi" ? (openBlock(), createElementBlock("view", _hoisted_2$W, [
|
|
3033
3033
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.pages, (item, index) => {
|
|
3034
3034
|
return openBlock(), createElementBlock("view", {
|
|
3035
3035
|
key: index + "pagination",
|
|
@@ -3408,7 +3408,7 @@ const _sfc_main$1o = create$1o({
|
|
|
3408
3408
|
}
|
|
3409
3409
|
});
|
|
3410
3410
|
const _hoisted_1$17 = { class: "nut-sidenavbar__content" };
|
|
3411
|
-
const _hoisted_2$
|
|
3411
|
+
const _hoisted_2$V = {
|
|
3412
3412
|
class: "nut-sidenavbar__content__list",
|
|
3413
3413
|
ref: "list"
|
|
3414
3414
|
};
|
|
@@ -3417,7 +3417,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3417
3417
|
class: normalizeClass(_ctx.classes)
|
|
3418
3418
|
}, [
|
|
3419
3419
|
createElementVNode("view", _hoisted_1$17, [
|
|
3420
|
-
createElementVNode("view", _hoisted_2$
|
|
3420
|
+
createElementVNode("view", _hoisted_2$V, [
|
|
3421
3421
|
renderSlot(_ctx.$slots, "default")
|
|
3422
3422
|
], 512)
|
|
3423
3423
|
])
|
|
@@ -3454,14 +3454,14 @@ const _sfc_main$1n = create$1n({
|
|
|
3454
3454
|
}
|
|
3455
3455
|
});
|
|
3456
3456
|
const _hoisted_1$16 = ["ikey"];
|
|
3457
|
-
const _hoisted_2$
|
|
3457
|
+
const _hoisted_2$U = { class: "nut-sidenavbaritem__title" };
|
|
3458
3458
|
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3459
3459
|
return openBlock(), createElementBlock("view", {
|
|
3460
3460
|
class: "nut-sidenavbaritem",
|
|
3461
3461
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"])),
|
|
3462
3462
|
ikey: _ctx.ikey
|
|
3463
3463
|
}, [
|
|
3464
|
-
createElementVNode("span", _hoisted_2$
|
|
3464
|
+
createElementVNode("span", _hoisted_2$U, toDisplayString(_ctx.title), 1)
|
|
3465
3465
|
], 8, _hoisted_1$16);
|
|
3466
3466
|
}
|
|
3467
3467
|
var SideNavBarItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1h]]);
|
|
@@ -3513,7 +3513,7 @@ const _sfc_main$1m = create$1m({
|
|
|
3513
3513
|
}
|
|
3514
3514
|
});
|
|
3515
3515
|
const _hoisted_1$15 = ["ikey"];
|
|
3516
|
-
const _hoisted_2$
|
|
3516
|
+
const _hoisted_2$T = { class: "nut-subsidenavbar__title__text" };
|
|
3517
3517
|
const _hoisted_3$H = { class: "nut-subsidenavbar__title__icon" };
|
|
3518
3518
|
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3519
3519
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
@@ -3525,7 +3525,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3525
3525
|
class: "nut-subsidenavbar__title",
|
|
3526
3526
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"]))
|
|
3527
3527
|
}, [
|
|
3528
|
-
createElementVNode("span", _hoisted_2$
|
|
3528
|
+
createElementVNode("span", _hoisted_2$T, toDisplayString(_ctx.title), 1),
|
|
3529
3529
|
createElementVNode("span", _hoisted_3$H, [
|
|
3530
3530
|
createVNode(_component_nut_icon, {
|
|
3531
3531
|
name: "down-arrow",
|
|
@@ -3896,7 +3896,7 @@ const _hoisted_1$14 = {
|
|
|
3896
3896
|
key: 0,
|
|
3897
3897
|
class: "min"
|
|
3898
3898
|
};
|
|
3899
|
-
const _hoisted_2$
|
|
3899
|
+
const _hoisted_2$S = {
|
|
3900
3900
|
key: 0,
|
|
3901
3901
|
class: "nut-range-mark"
|
|
3902
3902
|
};
|
|
@@ -3925,7 +3925,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3925
3925
|
class: normalizeClass(_ctx.classes),
|
|
3926
3926
|
onClick: _cache[9] || (_cache[9] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
|
|
3927
3927
|
}, [
|
|
3928
|
-
_ctx.marksList.length > 0 ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
3928
|
+
_ctx.marksList.length > 0 ? (openBlock(), createElementBlock("view", _hoisted_2$S, [
|
|
3929
3929
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.marksList, (marks) => {
|
|
3930
3930
|
return openBlock(), createElementBlock("span", {
|
|
3931
3931
|
key: marks,
|
|
@@ -4160,7 +4160,7 @@ const _hoisted_1$13 = {
|
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
class: "nut-searchbar__search-label"
|
|
4162
4162
|
};
|
|
4163
|
-
const _hoisted_2$
|
|
4163
|
+
const _hoisted_2$R = {
|
|
4164
4164
|
key: 1,
|
|
4165
4165
|
class: "nut-searchbar__search-icon nut-searchbar__left-search-icon"
|
|
4166
4166
|
};
|
|
@@ -4177,7 +4177,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4177
4177
|
style: normalizeStyle(_ctx.searchbarStyle)
|
|
4178
4178
|
}, [
|
|
4179
4179
|
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$13, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
4180
|
-
_ctx.$slots.leftout ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
4180
|
+
_ctx.$slots.leftout ? (openBlock(), createElementBlock("view", _hoisted_2$R, [
|
|
4181
4181
|
renderSlot(_ctx.$slots, "leftout")
|
|
4182
4182
|
])) : createCommentVNode("", true),
|
|
4183
4183
|
createElementVNode("view", {
|
|
@@ -4582,7 +4582,7 @@ const _hoisted_1$12 = {
|
|
|
4582
4582
|
role: "menu",
|
|
4583
4583
|
class: "nut-cascader-pane"
|
|
4584
4584
|
};
|
|
4585
|
-
const _hoisted_2$
|
|
4585
|
+
const _hoisted_2$Q = ["aria-checked", "aria-disabled", "onClick"];
|
|
4586
4586
|
const _hoisted_3$E = { class: "nut-cascader-item__title" };
|
|
4587
4587
|
const _hoisted_4$w = /* @__PURE__ */ createElementVNode("view", { class: "nut-cascader-pane" }, null, -1);
|
|
4588
4588
|
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -4623,7 +4623,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4623
4623
|
class: "nut-cascader-item__icon-check",
|
|
4624
4624
|
name: "checklist"
|
|
4625
4625
|
}))
|
|
4626
|
-
], 10, _hoisted_2$
|
|
4626
|
+
], 10, _hoisted_2$Q);
|
|
4627
4627
|
}), 128))
|
|
4628
4628
|
])
|
|
4629
4629
|
]),
|
|
@@ -5405,7 +5405,7 @@ const _hoisted_1$10 = {
|
|
|
5405
5405
|
key: 0,
|
|
5406
5406
|
class: "calendar-title"
|
|
5407
5407
|
};
|
|
5408
|
-
const _hoisted_2$
|
|
5408
|
+
const _hoisted_2$P = {
|
|
5409
5409
|
key: 1,
|
|
5410
5410
|
class: "calendar-top-slot"
|
|
5411
5411
|
};
|
|
@@ -5456,7 +5456,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5456
5456
|
class: normalizeClass(["nut-calendar-header", { "nut-calendar-header-tile": !_ctx.poppable }])
|
|
5457
5457
|
}, [
|
|
5458
5458
|
_ctx.showTitle ? (openBlock(), createElementBlock("view", _hoisted_1$10, toDisplayString(_ctx.title || _ctx.translate("title")), 1)) : createCommentVNode("", true),
|
|
5459
|
-
_ctx.showTopBtn ? (openBlock(), createElementBlock("view", _hoisted_2$
|
|
5459
|
+
_ctx.showTopBtn ? (openBlock(), createElementBlock("view", _hoisted_2$P, [
|
|
5460
5460
|
renderSlot(_ctx.$slots, "btn")
|
|
5461
5461
|
])) : createCommentVNode("", true),
|
|
5462
5462
|
_ctx.showSubTitle ? (openBlock(), createElementBlock("view", _hoisted_3$D, toDisplayString(_ctx.yearMonthTitle), 1)) : createCommentVNode("", true),
|
|
@@ -6059,6 +6059,7 @@ const _sfc_main$1d = create$1d({
|
|
|
6059
6059
|
state.touchParams.lastTime = event.timeStamp || Date.now();
|
|
6060
6060
|
let move = state.touchParams.lastY - state.touchParams.startY;
|
|
6061
6061
|
let moveTime = state.touchParams.lastTime - state.touchParams.startTime;
|
|
6062
|
+
console.log("touchEnd", move, moveTime);
|
|
6062
6063
|
if (moveTime <= 300) {
|
|
6063
6064
|
move = move * 2;
|
|
6064
6065
|
moveTime = moveTime + 1e3;
|
|
@@ -6088,6 +6089,7 @@ const _sfc_main$1d = create$1d({
|
|
|
6088
6089
|
state.scrollDistance = translateY;
|
|
6089
6090
|
};
|
|
6090
6091
|
const setMove = (move, type, time) => {
|
|
6092
|
+
console.log("setMove");
|
|
6091
6093
|
let updateMove = move + state.transformY;
|
|
6092
6094
|
if (type === "end") {
|
|
6093
6095
|
if (updateMove > 0) {
|
|
@@ -6106,13 +6108,23 @@ const _sfc_main$1d = create$1d({
|
|
|
6106
6108
|
state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
|
|
6107
6109
|
} else {
|
|
6108
6110
|
let deg = "0deg";
|
|
6111
|
+
let degNum = 0;
|
|
6109
6112
|
if (updateMove < 0) {
|
|
6110
|
-
|
|
6113
|
+
degNum = (Math.abs(updateMove / state.lineSpacing) + 1) * state.rotation;
|
|
6111
6114
|
} else {
|
|
6112
|
-
|
|
6115
|
+
degNum = (-updateMove / state.lineSpacing + 1) * state.rotation;
|
|
6116
|
+
}
|
|
6117
|
+
const maxDeg = (props.column.length + 1) * state.rotation;
|
|
6118
|
+
const minDeg = 0;
|
|
6119
|
+
if (degNum > maxDeg) {
|
|
6120
|
+
deg = `${maxDeg}deg`;
|
|
6121
|
+
} else if (degNum < minDeg) {
|
|
6122
|
+
deg = `${minDeg}deg`;
|
|
6123
|
+
} else {
|
|
6124
|
+
deg = `${degNum}deg`;
|
|
6125
|
+
setTransform(updateMove, null, void 0, deg);
|
|
6126
|
+
state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
|
|
6113
6127
|
}
|
|
6114
|
-
setTransform(updateMove, null, void 0, deg);
|
|
6115
|
-
state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
|
|
6116
6128
|
}
|
|
6117
6129
|
};
|
|
6118
6130
|
const setChooseValue = () => {
|
|
@@ -6127,17 +6139,12 @@ const _sfc_main$1d = create$1d({
|
|
|
6127
6139
|
setMove(-move);
|
|
6128
6140
|
};
|
|
6129
6141
|
watch(() => props.column, (val) => {
|
|
6142
|
+
console.log("props.column\u53D8\u5316", props.column);
|
|
6130
6143
|
state.transformY = 0;
|
|
6131
6144
|
modifyStatus(false);
|
|
6132
6145
|
}, {
|
|
6133
6146
|
deep: true
|
|
6134
6147
|
});
|
|
6135
|
-
watch(() => props.value, (val) => {
|
|
6136
|
-
console.log("\u5217\u66F4\u65B0", val);
|
|
6137
|
-
modifyStatus(true);
|
|
6138
|
-
}, {
|
|
6139
|
-
deep: true
|
|
6140
|
-
});
|
|
6141
6148
|
onMounted(() => {
|
|
6142
6149
|
modifyStatus(true);
|
|
6143
6150
|
});
|
|
@@ -6159,11 +6166,7 @@ const _sfc_main$1d = create$1d({
|
|
|
6159
6166
|
};
|
|
6160
6167
|
}
|
|
6161
6168
|
});
|
|
6162
|
-
const _hoisted_1$$ = { class: "nut-picker-
|
|
6163
|
-
const _hoisted_2$P = {
|
|
6164
|
-
key: 0,
|
|
6165
|
-
class: "nut-picker-placeholder"
|
|
6166
|
-
};
|
|
6169
|
+
const _hoisted_1$$ = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
|
|
6167
6170
|
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6168
6171
|
return openBlock(), createElementBlock("view", {
|
|
6169
6172
|
class: "nut-picker__list",
|
|
@@ -6177,28 +6180,18 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6177
6180
|
style: normalizeStyle(_ctx.touchRollerStyle)
|
|
6178
6181
|
}, [
|
|
6179
6182
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.column, (item, index) => {
|
|
6180
|
-
return openBlock(), createElementBlock(
|
|
6181
|
-
class: normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
|
|
6182
|
-
style: normalizeStyle(_ctx.setRollerStyle(index + 1)),
|
|
6183
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
6183
6184
|
key: item.value ? item.value : index
|
|
6184
|
-
},
|
|
6185
|
+
}, [
|
|
6186
|
+
item && item.text ? (openBlock(), createElementBlock("view", {
|
|
6187
|
+
key: 0,
|
|
6188
|
+
class: normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
|
|
6189
|
+
style: normalizeStyle(_ctx.setRollerStyle(index + 1))
|
|
6190
|
+
}, toDisplayString(item.text), 7)) : createCommentVNode("", true)
|
|
6191
|
+
], 64);
|
|
6185
6192
|
}), 128))
|
|
6186
6193
|
], 4),
|
|
6187
|
-
|
|
6188
|
-
createElementVNode("view", {
|
|
6189
|
-
class: "nut-picker-list-panel",
|
|
6190
|
-
ref: "list",
|
|
6191
|
-
style: normalizeStyle(_ctx.touchListStyle)
|
|
6192
|
-
}, [
|
|
6193
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.column, (item, index) => {
|
|
6194
|
-
return openBlock(), createElementBlock("view", {
|
|
6195
|
-
class: normalizeClass(["nut-picker-item", "nut-picker-item-ref", item.className]),
|
|
6196
|
-
key: item.value ? item.value : index
|
|
6197
|
-
}, toDisplayString(item.text), 3);
|
|
6198
|
-
}), 128)),
|
|
6199
|
-
_ctx.column && _ctx.column.length === 1 ? (openBlock(), createElementBlock("view", _hoisted_2$P)) : createCommentVNode("", true)
|
|
6200
|
-
], 4)
|
|
6201
|
-
])
|
|
6194
|
+
_hoisted_1$$
|
|
6202
6195
|
], 32);
|
|
6203
6196
|
}
|
|
6204
6197
|
var column$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$19]]);
|
|
@@ -6244,6 +6237,7 @@ const _sfc_main$1c = create$1c({
|
|
|
6244
6237
|
formattedColumns: props.columns
|
|
6245
6238
|
});
|
|
6246
6239
|
let defaultValues = ref(props.modelValue);
|
|
6240
|
+
ref();
|
|
6247
6241
|
const classes = computed(() => {
|
|
6248
6242
|
const prefixCls = componentName$11;
|
|
6249
6243
|
return {
|
|
@@ -6334,7 +6328,6 @@ const _sfc_main$1c = create$1c({
|
|
|
6334
6328
|
emit("update:visible", false);
|
|
6335
6329
|
};
|
|
6336
6330
|
onMounted(() => {
|
|
6337
|
-
console.log(11, props.modelValue);
|
|
6338
6331
|
if (props.visible)
|
|
6339
6332
|
state.show = props.visible;
|
|
6340
6333
|
});
|
|
@@ -6343,7 +6336,6 @@ const _sfc_main$1c = create$1c({
|
|
|
6343
6336
|
state.show = false;
|
|
6344
6337
|
});
|
|
6345
6338
|
watch(() => props.modelValue, (newValues) => {
|
|
6346
|
-
console.log("change", newValues, defaultValues.value);
|
|
6347
6339
|
const isSameValue = JSON.stringify(newValues) === JSON.stringify(defaultValues.value);
|
|
6348
6340
|
if (!isSameValue) {
|
|
6349
6341
|
defaultValues.value = newValues;
|
|
@@ -6356,7 +6348,6 @@ const _sfc_main$1c = create$1c({
|
|
|
6356
6348
|
}
|
|
6357
6349
|
}, { immediate: true });
|
|
6358
6350
|
watch(() => props.visible, (val) => {
|
|
6359
|
-
console.log("props\u66F4\u65B0", props.columns);
|
|
6360
6351
|
state.show = val;
|
|
6361
6352
|
});
|
|
6362
6353
|
watch(() => props.columns, (val) => {
|
|
@@ -6379,7 +6370,10 @@ const _sfc_main$1c = create$1c({
|
|
|
6379
6370
|
});
|
|
6380
6371
|
const _hoisted_1$_ = { class: "nut-picker__bar" };
|
|
6381
6372
|
const _hoisted_2$O = { class: "nut-picker__title" };
|
|
6382
|
-
const _hoisted_3$C = {
|
|
6373
|
+
const _hoisted_3$C = {
|
|
6374
|
+
class: "nut-picker__column",
|
|
6375
|
+
ref: "wrapHeight"
|
|
6376
|
+
};
|
|
6383
6377
|
const _hoisted_4$u = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker__hairline" }, null, -1);
|
|
6384
6378
|
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6385
6379
|
const _component_nut_picker_column = resolveComponent("nut-picker-column");
|
|
@@ -6430,7 +6424,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6430
6424
|
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "onChange"])
|
|
6431
6425
|
]);
|
|
6432
6426
|
}), 128))
|
|
6433
|
-
]),
|
|
6427
|
+
], 512),
|
|
6434
6428
|
renderSlot(_ctx.$slots, "default")
|
|
6435
6429
|
]),
|
|
6436
6430
|
_: 3
|
|
@@ -20492,6 +20486,6 @@ function install(app) {
|
|
|
20492
20486
|
}
|
|
20493
20487
|
});
|
|
20494
20488
|
}
|
|
20495
|
-
const version = "3.1.23-beta.
|
|
20489
|
+
const version = "3.1.23-beta.1";
|
|
20496
20490
|
var nutui_vue_build = { install, version, Locale };
|
|
20497
20491
|
export { ActionSheet, Address, AddressList, Animate, Audio, AudioOperate, Avatar, AvatarGroup, BackTop, Badge, Barrage, Button, Calendar, CalendarItem, Card, Cascader, Category, CategoryPane, Cell, CellGroup, _sfc_main$1f as Checkbox, _sfc_main$1e as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, Comment, _sfc_main$1I as ConfigProvider, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Ecard, Elevator, Ellipsis, Empty, FixedNav, Form, FormItem, _sfc_main$1B as Grid, GridItem, _sfc_main$1O as Icon, Image, _ImagePreview as ImagePreview, Indicator, InfiniteLoading, Input, InputNumber, _sfc_main$1G as Layout, List, Locale, Menu, MenuItem, Navbar, NoticeBar, NotifyFunction as Notify, NumberKeyboard, OldPicker, OverLay, Pagination, Picker, Popover, Popup, Price, Progress, PullRefresh, _sfc_main$18 as Radio, _sfc_main$17 as RadioGroup, Range, Rate, Row, SearchBar, ShortPassword, SideNavBar, SideNavBarItem, Signature, Skeleton, Sku, Step, _sfc_main$F as Steps, _sfc_main$1D as Sticky, SubSideNavBar, Swipe, Swiper, SwiperItem, Switch, TabPane, Tabbar, TabbarItem, Table, Tabs, Tag, TextArea, TimeDetail, TimePannel, TimeSelect, ToastFunction as Toast, Uploader, Video, nutui_vue_build as default, install, version };
|