@nutui/nutui 3.1.23-beta.6 → 3.2.2-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/CHANGELOG.md +63 -1
- package/dist/nutui.es.js +1475 -1070
- package/dist/nutui.umd.js +1468 -1063
- package/dist/packages/_es/ActionSheet.js +4 -22
- package/dist/packages/_es/Address.js +79 -71
- package/dist/packages/_es/AddressList.js +7 -5
- package/dist/packages/_es/Animate.js +2 -21
- package/dist/packages/_es/Audio.js +39 -68
- package/dist/packages/_es/AudioOperate.js +3 -24
- package/dist/packages/_es/Avatar.js +8 -24
- 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 +7 -4
- package/dist/packages/_es/Button.js +6 -5
- package/dist/packages/_es/Calendar.js +10 -4
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +51 -65
- package/dist/packages/_es/Category.js +2 -2
- package/dist/packages/_es/CategoryPane.js +10 -10
- package/dist/packages/_es/Cell.js +8 -9
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +31 -17
- package/dist/packages/_es/CheckboxGroup.js +14 -7
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +5 -11
- package/dist/packages/_es/Collapse.js +22 -19
- package/dist/packages/_es/CollapseItem.js +30 -42
- package/dist/packages/_es/Comment.js +13 -9
- package/dist/packages/_es/ConfigProvider.js +8 -4
- package/dist/packages/_es/CountDown.js +40 -46
- package/dist/packages/_es/CountUp.js +39 -40
- package/dist/packages/_es/DatePicker.js +25 -33
- package/dist/packages/_es/Dialog.js +12 -27
- package/dist/packages/_es/Divider.js +7 -24
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +7 -4
- package/dist/packages/_es/Elevator.js +25 -38
- package/dist/packages/_es/Ellipsis.js +14 -28
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +18 -14
- package/dist/packages/_es/Form.js +8 -4
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +6 -5
- package/dist/packages/_es/Icon.js +15 -11
- package/dist/packages/_es/Image.js +8 -24
- package/dist/packages/_es/ImagePreview.js +24 -39
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +8 -33
- package/dist/packages/_es/Input.js +75 -69
- package/dist/packages/_es/InputNumber.js +20 -14
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +10 -25
- package/dist/packages/_es/Menu.js +17 -10
- package/dist/packages/_es/MenuItem.js +5 -26
- package/dist/packages/_es/Navbar.js +10 -8
- package/dist/packages/_es/NoticeBar.js +20 -31
- package/dist/packages/_es/Notify.js +16 -32
- package/dist/packages/_es/NumberKeyboard.js +21 -16
- package/dist/packages/_es/OldPicker.js +47 -46
- package/dist/packages/_es/OverLay.js +11 -23
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +81 -59
- package/dist/packages/_es/Popover.js +58 -58
- package/dist/packages/_es/Popup.js +38 -43
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +4 -5
- package/dist/packages/_es/PullRefresh.js +5 -20
- package/dist/packages/_es/Radio.js +25 -13
- package/dist/packages/_es/RadioGroup.js +12 -5
- package/dist/packages/_es/Range.js +20 -33
- package/dist/packages/_es/Rate.js +5 -24
- package/dist/packages/_es/Row.js +5 -11
- package/dist/packages/_es/SearchBar.js +5 -24
- package/dist/packages/_es/ShortPassword.js +18 -11
- package/dist/packages/_es/SideNavBar.js +4 -22
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +15 -23
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +24 -32
- package/dist/packages/_es/Step.js +9 -26
- package/dist/packages/_es/Steps.js +8 -4
- package/dist/packages/_es/Sticky.js +23 -12
- package/dist/packages/_es/SubSideNavBar.js +4 -22
- package/dist/packages/_es/Swipe.js +5 -24
- package/dist/packages/_es/Swiper.js +23 -14
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +15 -11
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +7 -4
- package/dist/packages/_es/TabbarItem.js +13 -14
- package/dist/packages/_es/Table.js +10 -25
- package/dist/packages/_es/Tabs.js +20 -29
- package/dist/packages/_es/Tag.js +11 -15
- package/dist/packages/_es/TextArea.js +8 -5
- package/dist/packages/_es/TimeDetail.js +5 -24
- package/dist/packages/_es/TimePannel.js +4 -22
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +22 -39
- package/dist/packages/_es/Uploader.js +54 -54
- package/dist/packages/_es/Video.js +22 -33
- package/dist/packages/_es/WaterMark.js +31 -44
- package/dist/packages/_es/common.js +21 -11
- package/dist/packages/_es/component.js +5 -5
- 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 +26 -35
- 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/_es/style.css +1 -111
- package/dist/packages/actionsheet/index.scss +17 -0
- package/dist/packages/address/index.scss +60 -0
- package/dist/packages/addresslist/index.scss +57 -17
- package/dist/packages/audio/index.scss +8 -0
- package/dist/packages/barrage/index.scss +7 -0
- package/dist/packages/button/index.scss +1 -0
- package/dist/packages/card/index.scss +8 -1
- package/dist/packages/category/index.scss +25 -4
- package/dist/packages/categorypane/index.scss +18 -65
- package/dist/packages/circleprogress/index.scss +6 -0
- package/dist/packages/collapseitem/index.scss +21 -0
- package/dist/packages/comment/index.scss +37 -0
- package/dist/packages/countup/index.scss +24 -3
- package/dist/packages/ecard/index.scss +31 -1
- package/dist/packages/elevator/index.scss +16 -0
- package/dist/packages/empty/index.scss +6 -0
- package/dist/packages/fixednav/index.scss +7 -0
- package/dist/packages/image/index.scss +12 -0
- package/dist/packages/infiniteloading/index.scss +18 -0
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menu/index.scss +14 -2
- package/dist/packages/menuitem/index.scss +8 -0
- package/dist/packages/noticebar/index.scss +13 -0
- package/dist/packages/numberkeyboard/index.scss +10 -0
- package/dist/packages/picker/index.scss +33 -0
- package/dist/packages/popup/index.scss +10 -0
- package/dist/packages/radio/index.scss +1 -0
- package/dist/packages/shortpassword/index.scss +20 -0
- package/dist/packages/sidenavbaritem/index.scss +9 -0
- package/dist/packages/sku/index.scss +40 -0
- package/dist/packages/step/index.scss +52 -0
- package/dist/packages/subsidenavbar/index.scss +12 -0
- package/dist/packages/swiper/index.scss +2 -0
- package/dist/packages/swiperitem/index.scss +3 -0
- package/dist/packages/tag/index.scss +20 -0
- package/dist/packages/watermark/index.scss +1 -1
- package/dist/smartips/attributes.json +38 -2
- package/dist/smartips/tags.json +14 -4
- package/dist/smartips/web-types.json +86 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +51 -51
- package/dist/styles/themes/jdb.scss +51 -51
- package/dist/styles/themes/jdt.scss +51 -51
- package/dist/styles/variables-jdb.scss +28 -7
- package/dist/styles/variables-jdt.scss +28 -7
- package/dist/styles/variables.scss +27 -7
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
- package/dist/types/__VUE/address/index.vue.d.ts +1 -1
- package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
- package/dist/types/__VUE/audio/index.vue.d.ts +4 -1
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +15 -72
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendar/index.vue.d.ts +7 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +9 -2
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
- package/dist/types/__VUE/col/index.vue.d.ts +2 -5
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/fixednav/common.d.ts +56 -0
- package/dist/types/__VUE/fixednav/index.vue.d.ts +17 -9
- package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.d.ts +7 -6
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +4 -4
- package/dist/types/__VUE/imagepreview/types.d.ts +7 -0
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +4 -9
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +15 -1
- package/dist/types/__VUE/menu/index.vue.d.ts +3 -0
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -4
- package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +8 -0
- package/dist/types/__VUE/picker/index.vue.d.ts +28 -13
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/row/index.vue.d.ts +2 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/signature/index.vue.d.ts +5 -2
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +7 -0
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
- package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -1
- package/dist/packages/index.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -64,9 +64,12 @@ const _sfc_main = create({
|
|
|
64
64
|
clearInterval(timer);
|
|
65
65
|
timer = 0;
|
|
66
66
|
});
|
|
67
|
-
watch(
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
watch(
|
|
68
|
+
() => props.danmu,
|
|
69
|
+
(newValue, oldVlaue) => {
|
|
70
|
+
danmuList.value = [...newValue];
|
|
71
|
+
}
|
|
72
|
+
);
|
|
70
73
|
const add = (word) => {
|
|
71
74
|
const _index = index2.value % danmuList.value.length;
|
|
72
75
|
if (!props.loop && index2.value === danmuList.value.length) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
|
|
6
|
+
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, mergeProps, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import _sfc_main$1 from "./Icon.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
@@ -115,12 +115,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
115
115
|
key: 0,
|
|
116
116
|
class: "nut-icon-loading"
|
|
117
117
|
})) : createCommentVNode("", true),
|
|
118
|
-
_ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
|
|
118
|
+
_ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
119
119
|
key: 1,
|
|
120
|
-
name: _ctx.icon
|
|
120
|
+
name: _ctx.icon
|
|
121
|
+
}, _ctx.$attrs, {
|
|
121
122
|
"class-prefix": _ctx.iconClassPrefix,
|
|
122
123
|
"font-class-name": _ctx.iconFontClassName
|
|
123
|
-
}, null,
|
|
124
|
+
}), null, 16, ["name", "class-prefix", "font-class-name"])) : createCommentVNode("", true),
|
|
124
125
|
_ctx.$slots.default ? (openBlock(), createElementBlock("view", {
|
|
125
126
|
key: 2,
|
|
126
127
|
class: normalizeClass({ text: _ctx.icon || _ctx.loading })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -24,6 +24,10 @@ const _sfc_main = create({
|
|
|
24
24
|
type: Boolean,
|
|
25
25
|
default: false
|
|
26
26
|
},
|
|
27
|
+
toDateAnimation: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: true
|
|
30
|
+
},
|
|
27
31
|
poppable: {
|
|
28
32
|
type: Boolean,
|
|
29
33
|
default: true
|
|
@@ -160,7 +164,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
164
|
onSelect: _ctx.select,
|
|
161
165
|
"show-today": _ctx.showToday,
|
|
162
166
|
"show-title": _ctx.showTitle,
|
|
163
|
-
"show-sub-title": _ctx.showSubTitle
|
|
167
|
+
"show-sub-title": _ctx.showSubTitle,
|
|
168
|
+
"to-date-animation": _ctx.toDateAnimation
|
|
164
169
|
}, createSlots({ _: 2 }, [
|
|
165
170
|
_ctx.showTopBtn ? {
|
|
166
171
|
name: "btn",
|
|
@@ -192,7 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
192
197
|
})
|
|
193
198
|
])
|
|
194
199
|
} : void 0
|
|
195
|
-
]), 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"])) : createCommentVNode("", true)
|
|
200
|
+
]), 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"])) : createCommentVNode("", true)
|
|
196
201
|
]),
|
|
197
202
|
_: 3
|
|
198
203
|
}, 8, ["visible", "onClickOverlay", "onClickCloseIcon"])) : (openBlock(), createBlock(_component_nut_calendar_item, {
|
|
@@ -214,6 +219,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
219
|
"show-today": _ctx.showToday,
|
|
215
220
|
"show-title": _ctx.showTitle,
|
|
216
221
|
"show-sub-title": _ctx.showSubTitle,
|
|
222
|
+
"to-date-animation": _ctx.toDateAnimation,
|
|
217
223
|
ref: "calendarRef"
|
|
218
224
|
}, createSlots({ _: 2 }, [
|
|
219
225
|
_ctx.showTopBtn ? {
|
|
@@ -246,7 +252,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
246
252
|
})
|
|
247
253
|
])
|
|
248
254
|
} : void 0
|
|
249
|
-
]), 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"]));
|
|
255
|
+
]), 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"]));
|
|
250
256
|
}
|
|
251
257
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
252
258
|
export { index as default };
|
|
@@ -1,37 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __restKey = (key) => typeof key === "symbol" ? key : key + "";
|
|
21
|
-
var __objRest = (source, exclude) => {
|
|
22
|
-
var target = {};
|
|
23
|
-
for (var prop in source)
|
|
24
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
25
|
-
target[prop] = source[prop];
|
|
26
|
-
if (source != null && __getOwnPropSymbols)
|
|
27
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
28
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
}
|
|
31
|
-
return target;
|
|
32
|
-
};
|
|
33
1
|
/*!
|
|
34
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
35
3
|
* (c) 2022 @jdf2e.
|
|
36
4
|
* Released under the MIT License.
|
|
37
5
|
*/
|
|
@@ -45,16 +13,16 @@ import "./Icon.js";
|
|
|
45
13
|
import "./pxCheck.js";
|
|
46
14
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
47
15
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
48
|
-
const
|
|
49
|
-
const newNode =
|
|
50
|
-
loading: false
|
|
51
|
-
|
|
16
|
+
const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
|
|
17
|
+
const newNode = {
|
|
18
|
+
loading: false,
|
|
19
|
+
...others,
|
|
52
20
|
level: parent ? (parent && parent.level || 0) + 1 : 0,
|
|
53
21
|
value,
|
|
54
22
|
text,
|
|
55
23
|
children,
|
|
56
24
|
_parent: parent
|
|
57
|
-
}
|
|
25
|
+
};
|
|
58
26
|
if (newNode.children && newNode.children.length) {
|
|
59
27
|
newNode.children = formatTree(newNode.children, newNode, config);
|
|
60
28
|
}
|
|
@@ -79,12 +47,15 @@ const defaultConvertConfig = {
|
|
|
79
47
|
sortKey: ""
|
|
80
48
|
};
|
|
81
49
|
const convertListToOptions = (list, options) => {
|
|
82
|
-
const mergedOptions =
|
|
50
|
+
const mergedOptions = {
|
|
51
|
+
...defaultConvertConfig,
|
|
52
|
+
...options || {}
|
|
53
|
+
};
|
|
83
54
|
const { topId, idKey, pidKey, sortKey } = mergedOptions;
|
|
84
55
|
let result = [];
|
|
85
56
|
let map = {};
|
|
86
57
|
list.forEach((node) => {
|
|
87
|
-
node =
|
|
58
|
+
node = { ...node };
|
|
88
59
|
const { [idKey]: id, [pidKey]: pid } = node;
|
|
89
60
|
const children = map[pid] = map[pid] || [];
|
|
90
61
|
if (!result.length && pid === topId) {
|
|
@@ -105,11 +76,12 @@ const convertListToOptions = (list, options) => {
|
|
|
105
76
|
};
|
|
106
77
|
class Tree {
|
|
107
78
|
constructor(nodes, config) {
|
|
108
|
-
this.config =
|
|
79
|
+
this.config = {
|
|
109
80
|
value: "value",
|
|
110
81
|
text: "text",
|
|
111
|
-
children: "children"
|
|
112
|
-
|
|
82
|
+
children: "children",
|
|
83
|
+
...config || {}
|
|
84
|
+
};
|
|
113
85
|
this.nodes = formatTree(nodes, null, this.config);
|
|
114
86
|
}
|
|
115
87
|
updateChildren(nodes, parent) {
|
|
@@ -357,24 +329,34 @@ const _sfc_main$1 = create$1({
|
|
|
357
329
|
return pane.selectedNode && pane.selectedNode.value === node.value;
|
|
358
330
|
}
|
|
359
331
|
};
|
|
360
|
-
watch(
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
innerValue.value = value;
|
|
369
|
-
syncValue();
|
|
332
|
+
watch(
|
|
333
|
+
[configs, () => props.options],
|
|
334
|
+
() => {
|
|
335
|
+
init();
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
deep: true,
|
|
339
|
+
immediate: true
|
|
370
340
|
}
|
|
371
|
-
|
|
372
|
-
watch(
|
|
373
|
-
|
|
374
|
-
|
|
341
|
+
);
|
|
342
|
+
watch(
|
|
343
|
+
() => props.modelValue,
|
|
344
|
+
(value) => {
|
|
345
|
+
if (value !== innerValue.value) {
|
|
346
|
+
innerValue.value = value;
|
|
347
|
+
syncValue();
|
|
348
|
+
}
|
|
375
349
|
}
|
|
376
|
-
|
|
377
|
-
|
|
350
|
+
);
|
|
351
|
+
watch(
|
|
352
|
+
() => props.visible,
|
|
353
|
+
(val) => {
|
|
354
|
+
if (val && Array.isArray(innerValue.value) && innerValue.value.length > 0) {
|
|
355
|
+
syncValue();
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
return { panes, initLoading, tabsCursor, ...methods };
|
|
378
360
|
}
|
|
379
361
|
});
|
|
380
362
|
const _hoisted_1$1 = {
|
|
@@ -447,7 +429,8 @@ const _sfc_main = create({
|
|
|
447
429
|
components: {
|
|
448
430
|
[CascaderItem.name]: CascaderItem
|
|
449
431
|
},
|
|
450
|
-
props:
|
|
432
|
+
props: {
|
|
433
|
+
...popupProps,
|
|
451
434
|
modelValue: Array,
|
|
452
435
|
visible: Boolean,
|
|
453
436
|
title: String,
|
|
@@ -470,7 +453,7 @@ const _sfc_main = create({
|
|
|
470
453
|
default: "children"
|
|
471
454
|
},
|
|
472
455
|
convertConfig: Object
|
|
473
|
-
}
|
|
456
|
+
},
|
|
474
457
|
emits: ["update:modelValue", "change", "pathChange", "update:visible"],
|
|
475
458
|
setup(props, { emit }) {
|
|
476
459
|
const innerValue = ref(props.modelValue);
|
|
@@ -491,11 +474,14 @@ const _sfc_main = create({
|
|
|
491
474
|
const onPathChange = (pathNodes) => {
|
|
492
475
|
emit("pathChange", pathNodes);
|
|
493
476
|
};
|
|
494
|
-
watch(
|
|
495
|
-
|
|
496
|
-
|
|
477
|
+
watch(
|
|
478
|
+
() => props.modelValue,
|
|
479
|
+
(value) => {
|
|
480
|
+
if (value !== innerValue.value) {
|
|
481
|
+
innerValue.value = value;
|
|
482
|
+
}
|
|
497
483
|
}
|
|
498
|
-
|
|
484
|
+
);
|
|
499
485
|
return {
|
|
500
486
|
onChange,
|
|
501
487
|
onPathChange,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -51,7 +51,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
51
51
|
createElementVNode("div", {
|
|
52
52
|
class: normalizeClass([_ctx.checkIndex == index2 ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
|
|
53
53
|
onClick: ($event) => _ctx.getChildList(index2)
|
|
54
|
-
}, toDisplayString(item.catName), 11, _hoisted_4)
|
|
54
|
+
}, toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4)
|
|
55
55
|
]);
|
|
56
56
|
}), 128))
|
|
57
57
|
])) : createCommentVNode("", true),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,7 +7,6 @@ import { c as createComponent } from "./component.js";
|
|
|
7
7
|
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
10
|
-
var index_vue_vue_type_style_index_0_lang = "";
|
|
11
10
|
const { componentName, create } = createComponent("categorypane");
|
|
12
11
|
const _sfc_main = create({
|
|
13
12
|
props: {
|
|
@@ -61,13 +60,14 @@ const _hoisted_13 = {
|
|
|
61
60
|
key: 2,
|
|
62
61
|
class: "nut-categorypane__selfItemList"
|
|
63
62
|
};
|
|
63
|
+
const _hoisted_14 = ["onClick"];
|
|
64
64
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
65
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
66
66
|
_ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
67
67
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
|
|
68
68
|
return openBlock(), createElementBlock("div", { key: index2 }, [
|
|
69
|
-
createElementVNode("div", _hoisted_3, toDisplayString(item.catName), 1),
|
|
70
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
69
|
+
createElementVNode("div", _hoisted_3, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
70
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
71
71
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
72
72
|
return openBlock(), createElementBlock("div", {
|
|
73
73
|
class: "nut-categorypane__childItem",
|
|
@@ -78,7 +78,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78
78
|
class: "nut-categorypane__childImg",
|
|
79
79
|
src: sku.backImg
|
|
80
80
|
}, null, 8, _hoisted_6),
|
|
81
|
-
createElementVNode("div", _hoisted_7, toDisplayString(sku.catName), 1)
|
|
81
|
+
createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
82
82
|
], 8, _hoisted_5);
|
|
83
83
|
}), 128))
|
|
84
84
|
])) : createCommentVNode("", true)
|
|
@@ -88,15 +88,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
88
88
|
_ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
89
89
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
|
|
90
90
|
return openBlock(), createElementBlock("div", { key: index2 }, [
|
|
91
|
-
createElementVNode("div", _hoisted_9, toDisplayString(item.catName), 1),
|
|
92
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
91
|
+
createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
92
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
93
93
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
94
94
|
return openBlock(), createElementBlock("div", {
|
|
95
95
|
class: "nut-categorypane__childItem",
|
|
96
96
|
key,
|
|
97
97
|
onClick: ($event) => _ctx.onChange(sku)
|
|
98
98
|
}, [
|
|
99
|
-
createElementVNode("div", _hoisted_12, toDisplayString(sku.catName), 1)
|
|
99
|
+
createElementVNode("div", _hoisted_12, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
100
100
|
], 8, _hoisted_11);
|
|
101
101
|
}), 128))
|
|
102
102
|
])) : createCommentVNode("", true)
|
|
@@ -108,8 +108,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
108
|
return openBlock(), createElementBlock("div", {
|
|
109
109
|
class: "nut-categorypane__skuName",
|
|
110
110
|
key,
|
|
111
|
-
onClick:
|
|
112
|
-
}, toDisplayString(sku.catName),
|
|
111
|
+
onClick: ($event) => _ctx.onChange(sku)
|
|
112
|
+
}, toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
|
|
113
113
|
}), 128))
|
|
114
114
|
])) : createCommentVNode("", true)
|
|
115
115
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, computed } from "vue";
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, mergeProps, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, computed } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useRouter } from "./index.js";
|
|
9
9
|
import { p as pxCheck } from "./pxCheck.js";
|
|
@@ -29,11 +29,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29
29
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
30
30
|
_ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
31
31
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
32
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
33
|
-
key: 0,
|
|
32
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
34
33
|
class: "icon",
|
|
35
34
|
name: _ctx.icon
|
|
36
|
-
}, null,
|
|
35
|
+
}), null, 16, ["name"])) : createCommentVNode("", true)
|
|
37
36
|
])
|
|
38
37
|
])) : createCommentVNode("", true),
|
|
39
38
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2, [
|
|
@@ -52,11 +51,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52
51
|
style: normalizeStyle({ "text-align": _ctx.descTextAlign })
|
|
53
52
|
}, toDisplayString(_ctx.desc), 7)) : createCommentVNode("", true),
|
|
54
53
|
renderSlot(_ctx.$slots, "link", {}, () => [
|
|
55
|
-
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, {
|
|
54
|
+
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
56
55
|
key: 0,
|
|
57
|
-
class: "nut-cell__link"
|
|
58
|
-
|
|
59
|
-
})) : createCommentVNode("", true)
|
|
56
|
+
class: "nut-cell__link"
|
|
57
|
+
}, _ctx.$attrs, { name: _ctx.rightIcon }), null, 16, ["name"])) : createCommentVNode("", true)
|
|
60
58
|
])
|
|
61
59
|
])
|
|
62
60
|
], 6);
|
|
@@ -74,6 +72,7 @@ const _sfc_main = create({
|
|
|
74
72
|
roundRadius: { type: [String, Number], default: "" },
|
|
75
73
|
url: { type: String, default: "" },
|
|
76
74
|
icon: { type: String, default: "" },
|
|
75
|
+
rightIcon: { type: String, default: "right" },
|
|
77
76
|
center: { type: Boolean, default: false },
|
|
78
77
|
size: { type: String, default: "" }
|
|
79
78
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -86,13 +86,16 @@ const component = (componentName2, nutIcon) => {
|
|
|
86
86
|
emit("update:modelValue", value);
|
|
87
87
|
emit("change", value, label);
|
|
88
88
|
};
|
|
89
|
-
watch(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
watch(
|
|
90
|
+
() => props.modelValue,
|
|
91
|
+
(v) => {
|
|
92
|
+
if (updateType == "click") {
|
|
93
|
+
updateType = "";
|
|
94
|
+
} else {
|
|
95
|
+
emit("change", v);
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
|
-
|
|
98
|
+
);
|
|
96
99
|
const renderIcon = () => {
|
|
97
100
|
const { iconName, iconSize, iconActiveName, iconClassPrefix, iconFontClassName, iconIndeterminateName } = props;
|
|
98
101
|
return h(nutIcon, {
|
|
@@ -105,9 +108,13 @@ const component = (componentName2, nutIcon) => {
|
|
|
105
108
|
};
|
|
106
109
|
const renderLabel = () => {
|
|
107
110
|
var _a;
|
|
108
|
-
return h(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
return h(
|
|
112
|
+
"view",
|
|
113
|
+
{
|
|
114
|
+
class: `${componentName2}__label ${pDisabled.value ? `${componentName2}__label--disabled` : ""}`
|
|
115
|
+
},
|
|
116
|
+
(_a = slots.default) == null ? void 0 : _a.call(slots)
|
|
117
|
+
);
|
|
111
118
|
};
|
|
112
119
|
const handleClick = (e) => {
|
|
113
120
|
var _a, _b;
|
|
@@ -135,14 +142,21 @@ const component = (componentName2, nutIcon) => {
|
|
|
135
142
|
onMounted(() => {
|
|
136
143
|
hasParent.value && parent["relation"](getCurrentInstance());
|
|
137
144
|
});
|
|
138
|
-
watch(
|
|
139
|
-
|
|
140
|
-
|
|
145
|
+
watch(
|
|
146
|
+
() => props.indeterminate,
|
|
147
|
+
(newVal) => {
|
|
148
|
+
state.partialSelect = newVal;
|
|
149
|
+
}
|
|
150
|
+
);
|
|
141
151
|
return () => {
|
|
142
|
-
return h(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
152
|
+
return h(
|
|
153
|
+
"view",
|
|
154
|
+
{
|
|
155
|
+
class: `${componentName2} ${props.textPosition === "left" ? `${componentName2}--reverse` : ""}`,
|
|
156
|
+
onClick: handleClick
|
|
157
|
+
},
|
|
158
|
+
[renderIcon(), renderLabel()]
|
|
159
|
+
);
|
|
146
160
|
};
|
|
147
161
|
}
|
|
148
162
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -69,15 +69,22 @@ const _sfc_main = create({
|
|
|
69
69
|
updateValue,
|
|
70
70
|
relation
|
|
71
71
|
});
|
|
72
|
-
watch(
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
watch(
|
|
73
|
+
() => props.modelValue,
|
|
74
|
+
(value) => {
|
|
75
|
+
emit("change", value);
|
|
76
|
+
}
|
|
77
|
+
);
|
|
75
78
|
useExpose({ toggleAll, toggleReverse });
|
|
76
79
|
return () => {
|
|
77
80
|
var _a;
|
|
78
|
-
return h(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
return h(
|
|
82
|
+
"view",
|
|
83
|
+
{
|
|
84
|
+
class: `${componentName}`
|
|
85
|
+
},
|
|
86
|
+
(_a = slots.default) == null ? void 0 : _a.call(slots)
|
|
87
|
+
);
|
|
81
88
|
};
|
|
82
89
|
}
|
|
83
90
|
});
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -19,8 +19,8 @@ const _sfc_main = create({
|
|
|
19
19
|
default: "0"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
emits: [
|
|
23
|
-
setup(props
|
|
22
|
+
emits: [],
|
|
23
|
+
setup(props) {
|
|
24
24
|
const prefixCls = componentName;
|
|
25
25
|
const gutter = inject("gutter");
|
|
26
26
|
const classes = computed(() => {
|
|
@@ -37,22 +37,16 @@ const _sfc_main = create({
|
|
|
37
37
|
paddingRight: gutter / 2 + "px"
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
|
-
const handleClick = (evt) => {
|
|
41
|
-
evt.stopPropagation();
|
|
42
|
-
emit("click", evt);
|
|
43
|
-
};
|
|
44
40
|
return {
|
|
45
41
|
classes,
|
|
46
|
-
style
|
|
47
|
-
handleClick
|
|
42
|
+
style
|
|
48
43
|
};
|
|
49
44
|
}
|
|
50
45
|
});
|
|
51
46
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
47
|
return openBlock(), createElementBlock("view", {
|
|
53
48
|
class: normalizeClass(_ctx.classes),
|
|
54
|
-
style: normalizeStyle(_ctx.style)
|
|
55
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
49
|
+
style: normalizeStyle(_ctx.style)
|
|
56
50
|
}, [
|
|
57
51
|
renderSlot(_ctx.$slots, "default")
|
|
58
52
|
], 6);
|