@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,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
|
*/
|
|
@@ -96,19 +96,17 @@ const _sfc_main = create({
|
|
|
96
96
|
if (customKeys.length > 2) {
|
|
97
97
|
customKeys = [customKeys[0], customKeys[1]];
|
|
98
98
|
}
|
|
99
|
+
if (customKeys.length == 2 && props.title && props.type != "rightColumn") {
|
|
100
|
+
customKeys = [customKeys[0]];
|
|
101
|
+
}
|
|
99
102
|
if (customKeys.length === 1) {
|
|
100
|
-
if (props.title) {
|
|
103
|
+
if (props.title && props.type != "rightColumn") {
|
|
101
104
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: "delete", type: "delete" });
|
|
102
105
|
} else {
|
|
103
106
|
keys.push({ id: 0, type: "number" }, { id: customKeys[0], type: "custom" });
|
|
104
107
|
}
|
|
105
108
|
} else if (customKeys.length === 2) {
|
|
106
109
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: customKeys[1], type: "custom" });
|
|
107
|
-
if (props.title) {
|
|
108
|
-
keys.push({ id: "delete", type: "delete" });
|
|
109
|
-
}
|
|
110
|
-
} else {
|
|
111
|
-
keys.push({ id: 0, type: "number" });
|
|
112
110
|
}
|
|
113
111
|
return keys;
|
|
114
112
|
}
|
|
@@ -212,10 +210,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
210
|
createElementVNode("div", _hoisted_1, [
|
|
213
211
|
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
214
212
|
createElementVNode("h3", _hoisted_3, toDisplayString(_ctx.title), 1),
|
|
215
|
-
|
|
213
|
+
_ctx.type == "default" ? (openBlock(), createElementBlock("span", {
|
|
214
|
+
key: 0,
|
|
216
215
|
class: "keyboard-close",
|
|
217
216
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.closeBoard())
|
|
218
|
-
}, toDisplayString(_ctx.translate("done")), 1)
|
|
217
|
+
}, toDisplayString(_ctx.translate("done")), 1)) : createCommentVNode("", true)
|
|
219
218
|
])) : createCommentVNode("", true),
|
|
220
219
|
createElementVNode("div", _hoisted_4, [
|
|
221
220
|
createElementVNode("div", _hoisted_5, [
|
|
@@ -258,15 +257,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
258
257
|
onTouchend: _cache[4] || (_cache[4] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
|
|
259
258
|
}, _hoisted_12, 34)
|
|
260
259
|
]),
|
|
261
|
-
|
|
262
|
-
key: 0,
|
|
260
|
+
createElementVNode("div", {
|
|
263
261
|
class: "key-board-wrapper key-board-finish",
|
|
264
262
|
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.closeBoard())
|
|
265
263
|
}, [
|
|
266
264
|
createElementVNode("div", {
|
|
267
265
|
class: normalizeClass(["key", "finish", { activeFinsh: _ctx.clickKeyIndex == "finish" }])
|
|
268
266
|
}, toDisplayString(_ctx.confirmText || _ctx.translate("done")), 3)
|
|
269
|
-
])
|
|
267
|
+
])
|
|
270
268
|
])) : createCommentVNode("", true)
|
|
271
269
|
])
|
|
272
270
|
], 512)
|
|
@@ -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
|
*/
|
|
@@ -403,6 +403,12 @@ const _sfc_main = create({
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
const confirmHandler = () => {
|
|
406
|
+
if (defaultValues.value && !defaultValues.value.length) {
|
|
407
|
+
columnsList.value.forEach((columns) => {
|
|
408
|
+
defaultValues.value.push(columns[0].value);
|
|
409
|
+
selectedOptions.value.push(columns[0]);
|
|
410
|
+
});
|
|
411
|
+
}
|
|
406
412
|
emit("confirm", {
|
|
407
413
|
selectedValue: defaultValues.value,
|
|
408
414
|
selectedOptions: selectedOptions.value
|
|
@@ -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, toRefs, computed, onMounted, onUnmounted, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, withModifiers, renderSlot, createVNode, withCtx, createCommentVNode, renderList, toDisplayString } from "vue";
|
|
6
|
+
import { ref, toRefs, computed, onMounted, onUnmounted, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, withModifiers, renderSlot, createVNode, withCtx, createCommentVNode, renderList, mergeProps, toDisplayString } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import Popup, { popupProps } from "./Popup.js";
|
|
9
9
|
import Button from "./Button.js";
|
|
@@ -840,7 +840,6 @@ const _sfc_main = create({
|
|
|
840
840
|
};
|
|
841
841
|
});
|
|
842
842
|
const createPopperInstance = () => {
|
|
843
|
-
console.log(reference.value, popoverRef.value);
|
|
844
843
|
if (reference.value && popoverRef.value) {
|
|
845
844
|
return createPopper(reference.value, popoverRef.value.popupRef, {
|
|
846
845
|
placement: props.location,
|
|
@@ -863,7 +862,6 @@ const _sfc_main = create({
|
|
|
863
862
|
return null;
|
|
864
863
|
};
|
|
865
864
|
const clickOverlay = () => {
|
|
866
|
-
console.log("\u5173\u95ED");
|
|
867
865
|
};
|
|
868
866
|
const uploadLocation = () => {
|
|
869
867
|
nextTick(() => {
|
|
@@ -871,7 +869,6 @@ const _sfc_main = create({
|
|
|
871
869
|
return;
|
|
872
870
|
if (!popper) {
|
|
873
871
|
popper = createPopperInstance();
|
|
874
|
-
console.log(popper);
|
|
875
872
|
} else {
|
|
876
873
|
popper.setOptions({
|
|
877
874
|
placement: props.location
|
|
@@ -969,10 +966,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
969
966
|
onClick: withModifiers(($event) => _ctx.chooseItem(item, index2), ["stop"])
|
|
970
967
|
}, [
|
|
971
968
|
item.icon ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
|
|
972
|
-
createVNode(_component_nut_icon, {
|
|
969
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
973
970
|
class: "item-img",
|
|
974
971
|
name: item.icon
|
|
975
|
-
}, null,
|
|
972
|
+
}), null, 16, ["name"])
|
|
976
973
|
]) : createCommentVNode("", true),
|
|
977
974
|
createElementVNode("view", _hoisted_2, toDisplayString(item.name), 1)
|
|
978
975
|
], 10, _hoisted_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, reactive, computed, onMounted, onBeforeUnmount, onBeforeMount, onActivated, onDeactivated, watch, toRefs, resolveComponent, openBlock, createBlock, Teleport, normalizeClass, normalizeStyle, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createElementBlock, vShow } from "vue";
|
|
6
|
+
import { ref, reactive, computed, onMounted, onBeforeUnmount, onBeforeMount, onActivated, onDeactivated, watch, toRefs, resolveComponent, openBlock, createBlock, Teleport, normalizeClass, normalizeStyle, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createElementBlock, mergeProps, vShow } from "vue";
|
|
7
7
|
import overlay, { overlayProps } from "./OverLay.js";
|
|
8
8
|
import _sfc_main$1 from "./Icon.js";
|
|
9
9
|
import { c as createComponent } from "./component.js";
|
|
@@ -245,10 +245,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
245
245
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
|
|
246
246
|
class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
|
|
247
247
|
}, [
|
|
248
|
-
createVNode(_component_nut_icon, {
|
|
248
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
249
249
|
name: _ctx.closeIcon,
|
|
250
250
|
size: "12px"
|
|
251
|
-
}, null,
|
|
251
|
+
}), null, 16, ["name"])
|
|
252
252
|
], 2)) : createCommentVNode("", true)
|
|
253
253
|
], 6), [
|
|
254
254
|
[vShow, _ctx.visible]
|
|
@@ -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 { useSlots, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createBlock } from "vue";
|
|
6
|
+
import { useSlots, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createBlock, mergeProps } 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";
|
|
@@ -138,12 +138,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
138
138
|
_ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
|
|
139
139
|
key: 0,
|
|
140
140
|
style: normalizeStyle(_ctx.textStyle)
|
|
141
|
-
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, {
|
|
142
|
-
key: 1,
|
|
141
|
+
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
143
142
|
size: "16px",
|
|
144
143
|
name: _ctx.iconName,
|
|
145
144
|
color: _ctx.iconColor
|
|
146
|
-
}, null,
|
|
145
|
+
}), null, 16, ["name", "color"])) : createCommentVNode("", true)
|
|
147
146
|
], 4)) : createCommentVNode("", true)
|
|
148
147
|
]);
|
|
149
148
|
}
|
package/dist/packages/_es/Row.js
CHANGED
package/dist/packages/_es/Sku.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 { getCurrentInstance, inject, reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, Fragment, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
6
|
+
import { getCurrentInstance, inject, reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, mergeProps, Fragment, toDisplayString, 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";
|
|
@@ -92,13 +92,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
92
92
|
createElementVNode("view", {
|
|
93
93
|
class: normalizeClass(["nut-step-icon", [!_ctx.dot ? _ctx.icon ? "is-icon" : "is-text" : ""]])
|
|
94
94
|
}, [
|
|
95
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
95
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
96
96
|
key: 0,
|
|
97
|
-
class: "nut-step-icon-inner"
|
|
97
|
+
class: "nut-step-icon-inner"
|
|
98
|
+
}, _ctx.$attrs, {
|
|
98
99
|
color: _ctx.iconColor,
|
|
99
100
|
name: _ctx.icon,
|
|
100
101
|
size: _ctx.size
|
|
101
|
-
}, null,
|
|
102
|
+
}), null, 16, ["color", "name", "size"])) : _ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [], 64)) : (openBlock(), createElementBlock("view", _hoisted_3, toDisplayString(_ctx.index), 1))
|
|
102
103
|
], 2)
|
|
103
104
|
]),
|
|
104
105
|
createElementVNode("view", _hoisted_4, [
|
|
@@ -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 { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } from "vue";
|
|
6
|
+
import { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, mergeProps, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } 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";
|
|
@@ -108,12 +108,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
108
|
style: normalizeStyle(_ctx.style)
|
|
109
109
|
}, [
|
|
110
110
|
createElementVNode("view", _hoisted_1, [
|
|
111
|
-
_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
|
|
111
|
+
_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
112
112
|
key: 0,
|
|
113
|
-
name: _ctx.name
|
|
113
|
+
name: _ctx.name
|
|
114
|
+
}, _ctx.$attrs, {
|
|
114
115
|
size: _ctx.size,
|
|
115
116
|
color: _ctx.color
|
|
116
|
-
}, null,
|
|
117
|
+
}), null, 16, ["name", "size", "color"])) : createCommentVNode("", true),
|
|
117
118
|
_ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
118
119
|
withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
|
|
119
120
|
[vShow, _ctx.modelValue]
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -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
|
*/
|
|
@@ -47,23 +47,19 @@ const _sfc_main = create({
|
|
|
47
47
|
};
|
|
48
48
|
});
|
|
49
49
|
const getStyle = () => {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
const style = {};
|
|
51
|
+
if (textColor.value) {
|
|
52
|
+
style.color = textColor.value;
|
|
53
|
+
} else if (color.value && plain.value) {
|
|
54
|
+
style.color = color.value;
|
|
55
55
|
}
|
|
56
56
|
if (plain.value) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
57
|
+
style.background = "#fff";
|
|
58
|
+
style["border-color"] = color.value;
|
|
59
|
+
} else if (color.value) {
|
|
60
|
+
style.background = color.value;
|
|
62
61
|
}
|
|
63
|
-
return
|
|
64
|
-
color: "",
|
|
65
|
-
background: ""
|
|
66
|
-
};
|
|
62
|
+
return style;
|
|
67
63
|
};
|
|
68
64
|
const onClose = (event) => {
|
|
69
65
|
event.stopPropagation();
|
|
@@ -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 { reactive, onMounted, watch, computed, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, createVNode, createCommentVNode, toDisplayString, vShow, render } from "vue";
|
|
6
|
+
import { reactive, onMounted, watch, computed, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, createVNode, mergeProps, createCommentVNode, toDisplayString, vShow, render } 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";
|
|
@@ -176,11 +176,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
176
176
|
})
|
|
177
177
|
}, [
|
|
178
178
|
_ctx.hasIcon ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
179
|
-
createVNode(_component_nut_icon, {
|
|
180
|
-
size: _ctx.iconSize,
|
|
179
|
+
createVNode(_component_nut_icon, mergeProps({ size: _ctx.iconSize }, _ctx.$attrs, {
|
|
181
180
|
color: "#ffffff",
|
|
182
181
|
name: _ctx.icon
|
|
183
|
-
}, null,
|
|
182
|
+
}), null, 16, ["size", "name"])
|
|
184
183
|
])) : createCommentVNode("", true),
|
|
185
184
|
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
186
185
|
createElementVNode("view", {
|