@nutui/nutui 3.2.0 → 3.2.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 +22 -0
- package/dist/nutui.es.js +272 -275
- package/dist/nutui.umd.js +265 -268
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +14 -13
- package/dist/packages/_es/AddressList.js +1 -3
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +2 -4
- package/dist/packages/_es/Avatar.js +4 -5
- 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 +6 -5
- 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 +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 +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 +13 -11
- 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 +18 -14
- 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 +6 -5
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +3 -6
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +4 -10
- package/dist/packages/_es/Input.js +68 -65
- 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 +6 -5
- package/dist/packages/_es/MenuItem.js +4 -6
- package/dist/packages/_es/Navbar.js +10 -8
- package/dist/packages/_es/NoticeBar.js +4 -4
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +10 -12
- 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 +7 -1
- package/dist/packages/_es/Popover.js +4 -7
- package/dist/packages/_es/Popup.js +4 -4
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +4 -5
- 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 +6 -5
- 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 +6 -5
- 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 +11 -15
- 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 +4 -5
- package/dist/packages/_es/Uploader.js +34 -30
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/WaterMark.js +1 -4
- 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/_es/style.css +1 -111
- package/dist/packages/addresslist/index.scss +57 -17
- package/dist/packages/category/index.scss +25 -4
- package/dist/packages/categorypane/index.scss +18 -65
- package/dist/packages/fixednav/index.scss +7 -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/step/index.scss +52 -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 +13 -1
- package/dist/smartips/tags.json +7 -3
- package/dist/smartips/web-types.json +31 -3
- package/dist/style.css +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/styles/variables-jdb.scss +22 -7
- package/dist/styles/variables-jdt.scss +22 -7
- package/dist/styles/variables.scss +21 -7
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
- package/dist/types/__VUE/address/index.vue.d.ts +4 -4
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +14 -71
- package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/backtop/index.vue.d.ts +4 -4
- package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cell/index.vue.d.ts +15 -8
- 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 +2 -2
- package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
- package/dist/types/__VUE/fixednav/common.d.ts +56 -0
- package/dist/types/__VUE/fixednav/index.vue.d.ts +18 -10
- package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +6 -11
- package/dist/types/__VUE/menu/index.vue.d.ts +5 -2
- package/dist/types/__VUE/menuitem/index.vue.d.ts +0 -3
- package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +4 -4
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +3 -3
- package/dist/types/__VUE/picker/index.vue.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +6 -6
- package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
- 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/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/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/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { ref, computed, reactive, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, vShow, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode, renderSlot } from "vue";
|
|
6
|
+
import { ref, computed, reactive, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, mergeProps, vShow, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { popupProps } from "./Popup.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
@@ -425,10 +425,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
425
425
|
class: "arrow-back",
|
|
426
426
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
|
|
427
427
|
}, [
|
|
428
|
-
withDirectives(createVNode(_component_nut_icon, {
|
|
428
|
+
withDirectives(createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
429
429
|
name: _ctx.backBtnIcon,
|
|
430
430
|
color: "#cccccc"
|
|
431
|
-
}, null,
|
|
431
|
+
}), null, 16, ["name"]), [
|
|
432
432
|
[vShow, _ctx.type == "exist" && _ctx.privateType == "custom" && _ctx.backBtnIcon]
|
|
433
433
|
])
|
|
434
434
|
]),
|
|
@@ -437,12 +437,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
437
437
|
class: "arrow-close",
|
|
438
438
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
|
|
439
439
|
}, [
|
|
440
|
-
_ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
441
|
-
key: 0,
|
|
440
|
+
_ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
442
441
|
name: _ctx.closeBtnIcon,
|
|
443
442
|
color: "#cccccc",
|
|
444
443
|
size: "18px"
|
|
445
|
-
}, null,
|
|
444
|
+
}), null, 16, ["name"])) : createCommentVNode("", true)
|
|
446
445
|
])
|
|
447
446
|
]),
|
|
448
447
|
_ctx.privateType == "custom" ? (openBlock(), createElementBlock("view", _hoisted_4, [
|
|
@@ -470,13 +469,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
470
469
|
class: normalizeClass(["region-item", [_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? "active" : ""]]),
|
|
471
470
|
onClick: ($event) => _ctx.nextAreaList(item)
|
|
472
471
|
}, [
|
|
473
|
-
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, {
|
|
472
|
+
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
474
473
|
key: 0,
|
|
475
474
|
class: "region-item-icon",
|
|
476
|
-
type: "self"
|
|
475
|
+
type: "self"
|
|
476
|
+
}, _ctx.$attrs, {
|
|
477
477
|
name: _ctx.selectedIcon,
|
|
478
478
|
size: "13px"
|
|
479
|
-
}, null,
|
|
479
|
+
}), null, 16, ["name"])) : createCommentVNode("", true),
|
|
480
480
|
createTextVNode(toDisplayString(item.name), 1)
|
|
481
481
|
], 10, _hoisted_9);
|
|
482
482
|
}), 128))
|
|
@@ -515,12 +515,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
515
515
|
key: index2,
|
|
516
516
|
onClick: ($event) => _ctx.selectedExist(item)
|
|
517
517
|
}, [
|
|
518
|
-
createVNode(_component_nut_icon, {
|
|
518
|
+
createVNode(_component_nut_icon, mergeProps({
|
|
519
519
|
class: "exist-item-icon",
|
|
520
|
-
type: "self"
|
|
520
|
+
type: "self"
|
|
521
|
+
}, _ctx.$attrs, {
|
|
521
522
|
name: item.selectedAddress ? _ctx.selectedIcon : _ctx.defaultIcon,
|
|
522
523
|
size: "13px"
|
|
523
|
-
}, null,
|
|
524
|
+
}), null, 16, ["name"]),
|
|
524
525
|
createElementVNode("div", _hoisted_18, [
|
|
525
526
|
item.name && item.phone ? (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
526
527
|
createElementVNode("div", _hoisted_20, toDisplayString(item.name), 1),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -26,7 +26,6 @@ const _sfc_main$4 = create$4({
|
|
|
26
26
|
setup(props, { emit }) {
|
|
27
27
|
const delClick = (event) => {
|
|
28
28
|
emit("delIconClick", event, props.item);
|
|
29
|
-
console.log(123);
|
|
30
29
|
event.stopPropagation();
|
|
31
30
|
};
|
|
32
31
|
const editClick = (event) => {
|
|
@@ -475,7 +474,6 @@ const _sfc_main = create({
|
|
|
475
474
|
fullAddress: "\u5317\u4EAC\u5E02\u901A\u5DDE\u533A\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5"
|
|
476
475
|
});
|
|
477
476
|
const trowelData = () => {
|
|
478
|
-
console.log("props.data", props.data);
|
|
479
477
|
if (Object.keys(props.dataMapOptions).length > 0) {
|
|
480
478
|
dataArray.value = props.data.map((item, index2) => {
|
|
481
479
|
return floatData(dataInfo, item, props.dataMapOptions);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -12,9 +12,7 @@ const _sfc_main = create({
|
|
|
12
12
|
props: {
|
|
13
13
|
type: {
|
|
14
14
|
type: String,
|
|
15
|
-
default()
|
|
16
|
-
return "play";
|
|
17
|
-
}
|
|
15
|
+
default: () => "play"
|
|
18
16
|
}
|
|
19
17
|
},
|
|
20
18
|
components: {},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { toRefs, inject, ref, reactive, onMounted, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, Fragment, createBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
|
|
6
|
+
import { toRefs, inject, ref, reactive, onMounted, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, Fragment, createBlock, mergeProps, createCommentVNode, renderSlot, toDisplayString } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
@@ -152,11 +152,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
152
152
|
src: _ctx.url,
|
|
153
153
|
alt: _ctx.alt,
|
|
154
154
|
onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
|
|
155
|
-
}, null, 40, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
156
|
-
key: 1,
|
|
155
|
+
}, null, 40, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
157
156
|
class: "icon",
|
|
158
157
|
name: _ctx.iconStyles
|
|
159
|
-
}, null,
|
|
158
|
+
}), null, 16, ["name"])) : createCommentVNode("", true),
|
|
160
159
|
_ctx.isShowText ? (openBlock(), createElementBlock("view", _hoisted_2, [
|
|
161
160
|
renderSlot(_ctx.$slots, "default")
|
|
162
161
|
])) : createCommentVNode("", true)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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
|
},
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, renderSlot
|
|
6
|
+
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, mergeProps, createCommentVNode, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
@@ -210,13 +210,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
210
210
|
createElementVNode("view", _hoisted_1, [
|
|
211
211
|
createElementVNode("view", null, [
|
|
212
212
|
createElementVNode("view", _hoisted_2, [
|
|
213
|
-
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
213
|
+
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
214
214
|
key: 0,
|
|
215
|
-
name: _ctx.titleIcon
|
|
215
|
+
name: _ctx.titleIcon
|
|
216
|
+
}, _ctx.$attrs, {
|
|
216
217
|
size: _ctx.titleIconSize,
|
|
217
218
|
color: _ctx.titleIconColor,
|
|
218
|
-
class:
|
|
219
|
-
}, null,
|
|
219
|
+
class: [_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"]
|
|
220
|
+
}), null, 16, ["name", "size", "color", "class"])) : createCommentVNode("", true),
|
|
220
221
|
_ctx.$slots.mTitle ? renderSlot(_ctx.$slots, "mTitle", { key: 1 }) : (openBlock(), createElementBlock("view", {
|
|
221
222
|
key: 2,
|
|
222
223
|
innerHTML: _ctx.title,
|
|
@@ -232,14 +233,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
232
233
|
innerHTML: _ctx.subTitle,
|
|
233
234
|
class: "subTitle"
|
|
234
235
|
}, null, 8, _hoisted_5)),
|
|
235
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
236
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
236
237
|
key: 2,
|
|
237
|
-
name: _ctx.icon
|
|
238
|
+
name: _ctx.icon
|
|
239
|
+
}, _ctx.$attrs, {
|
|
238
240
|
size: _ctx.iconSize,
|
|
239
241
|
color: _ctx.iconColor,
|
|
240
|
-
class:
|
|
241
|
-
style:
|
|
242
|
-
}, null,
|
|
242
|
+
class: ["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }],
|
|
243
|
+
style: _ctx.iconStyle
|
|
244
|
+
}), null, 16, ["name", "size", "color", "class", "style"])) : createCommentVNode("", true)
|
|
243
245
|
], 2),
|
|
244
246
|
_ctx.$slots.extraRender ? (openBlock(), createElementBlock("view", _hoisted_6, [
|
|
245
247
|
createElementVNode("div", _hoisted_7, [
|