@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
package/dist/nutui.umd.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:03 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
const _hoisted_1$1l = { class: "nut-button__warp" };
|
|
492
|
-
function _sfc_render$
|
|
492
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
493
493
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
494
494
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
495
495
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -501,12 +501,13 @@
|
|
|
501
501
|
key: 0,
|
|
502
502
|
class: "nut-icon-loading"
|
|
503
503
|
})) : vue.createCommentVNode("", true),
|
|
504
|
-
_ctx.icon && !_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
504
|
+
_ctx.icon && !_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
505
505
|
key: 1,
|
|
506
|
-
name: _ctx.icon
|
|
506
|
+
name: _ctx.icon
|
|
507
|
+
}, _ctx.$attrs, {
|
|
507
508
|
"class-prefix": _ctx.iconClassPrefix,
|
|
508
509
|
"font-class-name": _ctx.iconFontClassName
|
|
509
|
-
}, null,
|
|
510
|
+
}), null, 16, ["name", "class-prefix", "font-class-name"])) : vue.createCommentVNode("", true),
|
|
510
511
|
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
511
512
|
key: 2,
|
|
512
513
|
class: vue.normalizeClass({ text: _ctx.icon || _ctx.loading })
|
|
@@ -516,7 +517,7 @@
|
|
|
516
517
|
])
|
|
517
518
|
], 6);
|
|
518
519
|
}
|
|
519
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$
|
|
520
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1B]]);
|
|
520
521
|
function useRouter() {
|
|
521
522
|
const proxy = vue.getCurrentInstance().proxy;
|
|
522
523
|
return proxy.$router || null;
|
|
@@ -531,7 +532,7 @@
|
|
|
531
532
|
};
|
|
532
533
|
const _hoisted_3$Q = { class: "title" };
|
|
533
534
|
const _hoisted_4$E = { class: "nut-cell__title-desc" };
|
|
534
|
-
function render$
|
|
535
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
535
536
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
536
537
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
537
538
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -541,11 +542,10 @@
|
|
|
541
542
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
542
543
|
_ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1k, [
|
|
543
544
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
544
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
545
|
-
key: 0,
|
|
545
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
546
546
|
class: "icon",
|
|
547
547
|
name: _ctx.icon
|
|
548
|
-
}, null,
|
|
548
|
+
}), null, 16, ["name"])) : vue.createCommentVNode("", true)
|
|
549
549
|
])
|
|
550
550
|
])) : vue.createCommentVNode("", true),
|
|
551
551
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$14, [
|
|
@@ -564,11 +564,10 @@
|
|
|
564
564
|
style: vue.normalizeStyle({ "text-align": _ctx.descTextAlign })
|
|
565
565
|
}, vue.toDisplayString(_ctx.desc), 7)) : vue.createCommentVNode("", true),
|
|
566
566
|
vue.renderSlot(_ctx.$slots, "link", {}, () => [
|
|
567
|
-
_ctx.isLink || _ctx.to ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
567
|
+
_ctx.isLink || _ctx.to ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
568
568
|
key: 0,
|
|
569
|
-
class: "nut-cell__link"
|
|
570
|
-
|
|
571
|
-
})) : vue.createCommentVNode("", true)
|
|
569
|
+
class: "nut-cell__link"
|
|
570
|
+
}, _ctx.$attrs, { name: _ctx.rightIcon }), null, 16, ["name"])) : vue.createCommentVNode("", true)
|
|
572
571
|
])
|
|
573
572
|
])
|
|
574
573
|
], 6);
|
|
@@ -586,6 +585,7 @@
|
|
|
586
585
|
roundRadius: { type: [String, Number], default: "" },
|
|
587
586
|
url: { type: String, default: "" },
|
|
588
587
|
icon: { type: String, default: "" },
|
|
588
|
+
rightIcon: { type: String, default: "right" },
|
|
589
589
|
center: { type: Boolean, default: false },
|
|
590
590
|
size: { type: String, default: "" }
|
|
591
591
|
},
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
|
-
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$
|
|
624
|
+
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$3]]);
|
|
625
625
|
const { componentName: componentName$1q, create: create$1M } = createComponent("cell-group");
|
|
626
626
|
const _sfc_main$1M = create$1M({
|
|
627
627
|
props: {
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
class: "nut-cell-group__desc"
|
|
650
650
|
};
|
|
651
651
|
const _hoisted_3$P = { class: "nut-cell-group__warp" };
|
|
652
|
-
function _sfc_render$
|
|
652
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
653
653
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
654
654
|
class: vue.normalizeClass(_ctx.classes)
|
|
655
655
|
}, [
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
])
|
|
661
661
|
], 2);
|
|
662
662
|
}
|
|
663
|
-
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$
|
|
663
|
+
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1A]]);
|
|
664
664
|
const { componentName: componentName$1p, create: create$1L } = createComponent("overlay");
|
|
665
665
|
const overlayProps = {
|
|
666
666
|
visible: {
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
return { classes, style, touchmove, onClick };
|
|
738
738
|
}
|
|
739
739
|
});
|
|
740
|
-
function _sfc_render$
|
|
740
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
741
741
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "overlay-fade" }, {
|
|
742
742
|
default: vue.withCtx(() => [
|
|
743
743
|
vue.withDirectives(vue.createElementVNode("view", {
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
_: 3
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$
|
|
757
|
+
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1z]]);
|
|
758
758
|
let count = 0;
|
|
759
759
|
const CLSNAME = "nut-overflow-hidden";
|
|
760
760
|
const useLockScroll = (isLock) => {
|
|
@@ -954,7 +954,7 @@
|
|
|
954
954
|
}
|
|
955
955
|
});
|
|
956
956
|
const _hoisted_1$1i = { key: 1 };
|
|
957
|
-
function _sfc_render$
|
|
957
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
958
958
|
const _component_nut_overlay = vue.resolveComponent("nut-overlay");
|
|
959
959
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
960
960
|
return _ctx.isWrapTeleport ? (vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
@@ -990,10 +990,10 @@
|
|
|
990
990
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
|
|
991
991
|
class: vue.normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
|
|
992
992
|
}, [
|
|
993
|
-
vue.createVNode(_component_nut_icon, {
|
|
993
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
994
994
|
name: _ctx.closeIcon,
|
|
995
995
|
size: "12px"
|
|
996
|
-
}, null,
|
|
996
|
+
}), null, 16, ["name"])
|
|
997
997
|
], 2)) : vue.createCommentVNode("", true)
|
|
998
998
|
], 6), [
|
|
999
999
|
[vue.vShow, _ctx.visible]
|
|
@@ -1043,8 +1043,8 @@
|
|
|
1043
1043
|
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
1044
1044
|
]));
|
|
1045
1045
|
}
|
|
1046
|
-
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$
|
|
1047
|
-
const component$
|
|
1046
|
+
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1y]]);
|
|
1047
|
+
const component$8 = {
|
|
1048
1048
|
props: {
|
|
1049
1049
|
theme: { type: String, default: "" },
|
|
1050
1050
|
tag: { type: String, default: "div" }
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
const { componentName: componentName$1n, create: create$1J } = createComponent("config-provider");
|
|
1062
|
-
const _sfc_main$1J = create$1J(component$
|
|
1062
|
+
const _sfc_main$1J = create$1J(component$8);
|
|
1063
1063
|
const { componentName: componentName$1m, create: create$1I } = createComponent("image");
|
|
1064
1064
|
const _sfc_main$1I = create$1I({
|
|
1065
1065
|
props: {
|
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
key: 1,
|
|
1160
1160
|
class: "nut-img-error"
|
|
1161
1161
|
};
|
|
1162
|
-
function _sfc_render$
|
|
1162
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1163
1163
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1164
1164
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1165
1165
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
])) : vue.createCommentVNode("", true)
|
|
1191
1191
|
], 6);
|
|
1192
1192
|
}
|
|
1193
|
-
var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$
|
|
1193
|
+
var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1x]]);
|
|
1194
1194
|
const { create: create$1H } = createComponent("layout");
|
|
1195
1195
|
const _sfc_main$1H = create$1H({});
|
|
1196
1196
|
const { componentName: componentName$1l, create: create$1G } = createComponent("col");
|
|
@@ -1234,7 +1234,7 @@
|
|
|
1234
1234
|
};
|
|
1235
1235
|
}
|
|
1236
1236
|
});
|
|
1237
|
-
function _sfc_render$
|
|
1237
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1238
1238
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1239
1239
|
class: vue.normalizeClass(_ctx.classes),
|
|
1240
1240
|
style: vue.normalizeStyle(_ctx.style),
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1244
1244
|
], 6);
|
|
1245
1245
|
}
|
|
1246
|
-
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$
|
|
1246
|
+
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1w]]);
|
|
1247
1247
|
const { componentName: componentName$1k, create: create$1F } = createComponent("row");
|
|
1248
1248
|
const _sfc_main$1F = create$1F({
|
|
1249
1249
|
props: {
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
};
|
|
1295
1295
|
}
|
|
1296
1296
|
});
|
|
1297
|
-
function _sfc_render$
|
|
1297
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1298
1298
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1299
1299
|
class: vue.normalizeClass(_ctx.getClasses()),
|
|
1300
1300
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1303
1303
|
], 2);
|
|
1304
1304
|
}
|
|
1305
|
-
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$
|
|
1305
|
+
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1v]]);
|
|
1306
1306
|
function isWindow(val) {
|
|
1307
1307
|
return val === window;
|
|
1308
1308
|
}
|
|
@@ -1514,7 +1514,7 @@
|
|
|
1514
1514
|
return { classes };
|
|
1515
1515
|
}
|
|
1516
1516
|
});
|
|
1517
|
-
function _sfc_render$
|
|
1517
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1518
1518
|
return _ctx.direction === "horizontal" ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
class: vue.normalizeClass(_ctx.classes)
|
|
1526
1526
|
}, null, 2));
|
|
1527
1527
|
}
|
|
1528
|
-
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$
|
|
1528
|
+
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1u]]);
|
|
1529
1529
|
function flattenVNodes(children, childName) {
|
|
1530
1530
|
const result = [];
|
|
1531
1531
|
const traverse = (children2) => {
|
|
@@ -1626,7 +1626,7 @@
|
|
|
1626
1626
|
default: false
|
|
1627
1627
|
}
|
|
1628
1628
|
};
|
|
1629
|
-
const component$
|
|
1629
|
+
const component$7 = {
|
|
1630
1630
|
props: gridProps,
|
|
1631
1631
|
setup(props, { slots }) {
|
|
1632
1632
|
useProvide(GRID_KEY, `${componentName$1h}-item`)({ props });
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
}
|
|
1655
1655
|
};
|
|
1656
1656
|
const { create: create$1C } = createComponent("grid");
|
|
1657
|
-
const _sfc_main$1C = create$1C(component$
|
|
1657
|
+
const _sfc_main$1C = create$1C(component$7);
|
|
1658
1658
|
function useInject(key) {
|
|
1659
1659
|
const parent = vue.inject(key, null);
|
|
1660
1660
|
if (parent) {
|
|
@@ -1769,7 +1769,7 @@
|
|
|
1769
1769
|
key: 3,
|
|
1770
1770
|
class: "nut-grid-item__text"
|
|
1771
1771
|
};
|
|
1772
|
-
function _sfc_render$
|
|
1772
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1773
1773
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1774
1774
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1775
1775
|
class: vue.normalizeClass(_ctx.rootClass),
|
|
@@ -1780,18 +1780,19 @@
|
|
|
1780
1780
|
class: vue.normalizeClass(_ctx.contentClass)
|
|
1781
1781
|
}, [
|
|
1782
1782
|
_ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
1783
|
-
_ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
1783
|
+
_ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
1784
1784
|
key: 1,
|
|
1785
|
-
name: _ctx.iconProps.name
|
|
1785
|
+
name: _ctx.iconProps.name
|
|
1786
|
+
}, _ctx.$attrs, {
|
|
1786
1787
|
size: _ctx.iconProps.size,
|
|
1787
1788
|
color: _ctx.iconProps.color
|
|
1788
|
-
}, null,
|
|
1789
|
+
}), null, 16, ["name", "size", "color"])),
|
|
1789
1790
|
_ctx.$slots.text ? vue.renderSlot(_ctx.$slots, "text", { key: 2 }) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1g, vue.toDisplayString(_ctx.text), 1))
|
|
1790
1791
|
], 64))
|
|
1791
1792
|
], 2)
|
|
1792
1793
|
], 6);
|
|
1793
1794
|
}
|
|
1794
|
-
var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$
|
|
1795
|
+
var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1t]]);
|
|
1795
1796
|
const { componentName: componentName$1f, create: create$1A } = createComponent("navbar");
|
|
1796
1797
|
const _sfc_main$1A = create$1A({
|
|
1797
1798
|
props: {
|
|
@@ -1897,7 +1898,7 @@
|
|
|
1897
1898
|
key: 0,
|
|
1898
1899
|
class: "nut-navbar__text"
|
|
1899
1900
|
};
|
|
1900
|
-
function _sfc_render$
|
|
1901
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1901
1902
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1902
1903
|
return _ctx.fixed && _ctx.placeholder ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1f, [
|
|
1903
1904
|
vue.createElementVNode("view", {
|
|
@@ -1923,12 +1924,13 @@
|
|
|
1923
1924
|
class: "title",
|
|
1924
1925
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
|
|
1925
1926
|
}, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
1926
|
-
_ctx.titIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
1927
|
+
_ctx.titIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
1927
1928
|
key: 1,
|
|
1928
|
-
class: "icon"
|
|
1929
|
+
class: "icon"
|
|
1930
|
+
}, _ctx.$attrs, {
|
|
1929
1931
|
name: _ctx.titIcon,
|
|
1930
1932
|
onClick: _ctx.handleCenterIcon
|
|
1931
|
-
}, null,
|
|
1933
|
+
}), null, 16, ["name", "onClick"])) : vue.createCommentVNode("", true),
|
|
1932
1934
|
vue.renderSlot(_ctx.$slots, "content")
|
|
1933
1935
|
]),
|
|
1934
1936
|
vue.createElementVNode("view", {
|
|
@@ -1962,12 +1964,13 @@
|
|
|
1962
1964
|
class: "title",
|
|
1963
1965
|
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
|
|
1964
1966
|
}, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
1965
|
-
_ctx.titIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
1967
|
+
_ctx.titIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
1966
1968
|
key: 1,
|
|
1967
|
-
class: "icon"
|
|
1969
|
+
class: "icon"
|
|
1970
|
+
}, _ctx.$attrs, {
|
|
1968
1971
|
name: _ctx.titIcon,
|
|
1969
1972
|
onClick: _ctx.handleCenterIcon
|
|
1970
|
-
}, null,
|
|
1973
|
+
}), null, 16, ["name", "onClick"])) : vue.createCommentVNode("", true),
|
|
1971
1974
|
vue.renderSlot(_ctx.$slots, "content")
|
|
1972
1975
|
]),
|
|
1973
1976
|
vue.createElementVNode("view", {
|
|
@@ -1979,12 +1982,9 @@
|
|
|
1979
1982
|
])
|
|
1980
1983
|
], 6));
|
|
1981
1984
|
}
|
|
1982
|
-
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$
|
|
1983
|
-
const { componentName: componentName$1e,
|
|
1984
|
-
const
|
|
1985
|
-
components: {
|
|
1986
|
-
[OverLay.name]: OverLay
|
|
1987
|
-
},
|
|
1985
|
+
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1s]]);
|
|
1986
|
+
const { componentName: componentName$1e, translate: translate$t } = createComponent("fixednav");
|
|
1987
|
+
const component$6 = {
|
|
1988
1988
|
props: {
|
|
1989
1989
|
visible: {
|
|
1990
1990
|
type: Boolean,
|
|
@@ -1998,6 +1998,10 @@
|
|
|
1998
1998
|
default: () => [],
|
|
1999
1999
|
type: Array
|
|
2000
2000
|
},
|
|
2001
|
+
activeColor: {
|
|
2002
|
+
default: "",
|
|
2003
|
+
type: String
|
|
2004
|
+
},
|
|
2001
2005
|
activeText: {
|
|
2002
2006
|
default: "",
|
|
2003
2007
|
type: String
|
|
@@ -2030,6 +2034,7 @@
|
|
|
2030
2034
|
[props.type]: true
|
|
2031
2035
|
};
|
|
2032
2036
|
});
|
|
2037
|
+
const current = vue.ref(-1);
|
|
2033
2038
|
const updateValue = (value = !props.visible) => {
|
|
2034
2039
|
emit("update:visible", value);
|
|
2035
2040
|
};
|
|
@@ -2038,10 +2043,11 @@
|
|
|
2038
2043
|
item,
|
|
2039
2044
|
event
|
|
2040
2045
|
});
|
|
2046
|
+
current.value = item.id;
|
|
2041
2047
|
};
|
|
2042
|
-
return { classes, updateValue, selected, translate: translate$t };
|
|
2048
|
+
return { classes, updateValue, selected, translate: translate$t, current };
|
|
2043
2049
|
}
|
|
2044
|
-
}
|
|
2050
|
+
};
|
|
2045
2051
|
const _hoisted_1$1e = { class: "nut-fixednav__list" };
|
|
2046
2052
|
const _hoisted_2$10 = ["onClick"];
|
|
2047
2053
|
const _hoisted_3$M = ["src"];
|
|
@@ -2051,7 +2057,7 @@
|
|
|
2051
2057
|
class: "b"
|
|
2052
2058
|
};
|
|
2053
2059
|
const _hoisted_6$p = { class: "text" };
|
|
2054
|
-
function
|
|
2060
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2055
2061
|
const _component_nut_overlay = vue.resolveComponent("nut-overlay");
|
|
2056
2062
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
2057
2063
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -2068,7 +2074,7 @@
|
|
|
2068
2074
|
vue.createElementVNode("view", _hoisted_1$1e, [
|
|
2069
2075
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navList, (item, index) => {
|
|
2070
2076
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
2071
|
-
class: "nut-fixednav__list-item",
|
|
2077
|
+
class: vue.normalizeClass(["nut-fixednav__list-item", { active: item.id == _ctx.current }]),
|
|
2072
2078
|
onClick: ($event) => _ctx.selected(item, $event),
|
|
2073
2079
|
key: item.id || index
|
|
2074
2080
|
}, [
|
|
@@ -2077,7 +2083,7 @@
|
|
|
2077
2083
|
}, null, 8, _hoisted_3$M),
|
|
2078
2084
|
vue.createElementVNode("view", _hoisted_4$C, vue.toDisplayString(item.text), 1),
|
|
2079
2085
|
item.num ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$s, vue.toDisplayString(item.num), 1)) : vue.createCommentVNode("", true)
|
|
2080
|
-
],
|
|
2086
|
+
], 10, _hoisted_2$10);
|
|
2081
2087
|
}), 128))
|
|
2082
2088
|
])
|
|
2083
2089
|
]),
|
|
@@ -2095,7 +2101,9 @@
|
|
|
2095
2101
|
])
|
|
2096
2102
|
], 6);
|
|
2097
2103
|
}
|
|
2098
|
-
|
|
2104
|
+
const { create: create$1z } = createComponent("fixednav");
|
|
2105
|
+
const _sfc_main$1z = create$1z(component$6);
|
|
2106
|
+
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", render$2]]);
|
|
2099
2107
|
const { componentName: componentName$1d, create: create$1y } = createComponent("menu");
|
|
2100
2108
|
const _sfc_main$1y = create$1y({
|
|
2101
2109
|
props: {
|
|
@@ -2115,6 +2123,7 @@
|
|
|
2115
2123
|
type: [Number, String],
|
|
2116
2124
|
default: 0
|
|
2117
2125
|
},
|
|
2126
|
+
titleIcon: String,
|
|
2118
2127
|
closeOnClickOverlay: {
|
|
2119
2128
|
type: Boolean,
|
|
2120
2129
|
default: true
|
|
@@ -2247,11 +2256,11 @@
|
|
|
2247
2256
|
class: vue.normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
|
|
2248
2257
|
}, [
|
|
2249
2258
|
vue.createElementVNode("view", _hoisted_2$$, vue.toDisplayString(item.renderTitle()), 1),
|
|
2250
|
-
vue.createVNode(_component_nut_icon, {
|
|
2251
|
-
name:
|
|
2259
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
2260
|
+
name: _ctx.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
|
|
2252
2261
|
size: "10",
|
|
2253
2262
|
class: "nut-menu__title-icon"
|
|
2254
|
-
}, null,
|
|
2263
|
+
}), null, 16, ["name"])
|
|
2255
2264
|
], 2)
|
|
2256
2265
|
], 14, _hoisted_1$1d);
|
|
2257
2266
|
}), 128))
|
|
@@ -2277,7 +2286,6 @@
|
|
|
2277
2286
|
type: Number,
|
|
2278
2287
|
default: 1
|
|
2279
2288
|
},
|
|
2280
|
-
titleIcon: String,
|
|
2281
2289
|
activeTitleClass: String,
|
|
2282
2290
|
inactiveTitleClass: String,
|
|
2283
2291
|
optionIcon: {
|
|
@@ -2409,12 +2417,11 @@
|
|
|
2409
2417
|
style: vue.normalizeStyle({ "flex-basis": 100 / _ctx.cols + "%" }),
|
|
2410
2418
|
onClick: ($event) => _ctx.onClick(option)
|
|
2411
2419
|
}, [
|
|
2412
|
-
option.value === _ctx.modelValue ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
2413
|
-
|
|
2414
|
-
class: vue.normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
|
|
2420
|
+
option.value === _ctx.modelValue ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
2421
|
+
class: { activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue },
|
|
2415
2422
|
name: _ctx.optionIcon,
|
|
2416
2423
|
color: _ctx.parent.props.activeColor
|
|
2417
|
-
}, null,
|
|
2424
|
+
}), null, 16, ["class", "name", "color"])) : vue.createCommentVNode("", true),
|
|
2418
2425
|
vue.createElementVNode("view", {
|
|
2419
2426
|
class: vue.normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
|
|
2420
2427
|
style: vue.normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
|
|
@@ -5448,12 +5455,12 @@
|
|
|
5448
5455
|
const _hoisted_6$l = { class: "calendar-month-title" };
|
|
5449
5456
|
const _hoisted_7$i = { class: "calendar-month-con" };
|
|
5450
5457
|
const _hoisted_8$d = ["onClick"];
|
|
5451
|
-
const _hoisted_9$
|
|
5452
|
-
const _hoisted_10$
|
|
5458
|
+
const _hoisted_9$9 = { class: "calendar-day" };
|
|
5459
|
+
const _hoisted_10$6 = {
|
|
5453
5460
|
key: 0,
|
|
5454
5461
|
class: "calendar-curr-tips calendar-curr-tips-top"
|
|
5455
5462
|
};
|
|
5456
|
-
const _hoisted_11$
|
|
5463
|
+
const _hoisted_11$6 = {
|
|
5457
5464
|
key: 1,
|
|
5458
5465
|
class: "calendar-curr-tips calendar-curr-tips-bottom"
|
|
5459
5466
|
};
|
|
@@ -5465,7 +5472,7 @@
|
|
|
5465
5472
|
key: 4,
|
|
5466
5473
|
class: "calendar-day-tip"
|
|
5467
5474
|
};
|
|
5468
|
-
const _hoisted_14$
|
|
5475
|
+
const _hoisted_14$3 = {
|
|
5469
5476
|
key: 0,
|
|
5470
5477
|
class: "nut-calendar-footer"
|
|
5471
5478
|
};
|
|
@@ -5520,19 +5527,19 @@
|
|
|
5520
5527
|
class: vue.normalizeClass(["calendar-month-day", _ctx.getClass(day, month)]),
|
|
5521
5528
|
onClick: ($event) => _ctx.chooseDay(day, month)
|
|
5522
5529
|
}, [
|
|
5523
|
-
vue.createElementVNode("view", _hoisted_9$
|
|
5530
|
+
vue.createElementVNode("view", _hoisted_9$9, [
|
|
5524
5531
|
vue.renderSlot(_ctx.$slots, "day", {
|
|
5525
5532
|
date: day.type == "curr" ? day : ""
|
|
5526
5533
|
}, () => [
|
|
5527
5534
|
vue.createTextVNode(vue.toDisplayString(day.type == "curr" ? day.day : ""), 1)
|
|
5528
5535
|
])
|
|
5529
5536
|
]),
|
|
5530
|
-
_ctx.topInfo ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_10$
|
|
5537
|
+
_ctx.topInfo ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_10$6, [
|
|
5531
5538
|
vue.renderSlot(_ctx.$slots, "topInfo", {
|
|
5532
5539
|
date: day.type == "curr" ? day : ""
|
|
5533
5540
|
})
|
|
5534
5541
|
])) : vue.createCommentVNode("", true),
|
|
5535
|
-
_ctx.bottomInfo ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_11$
|
|
5542
|
+
_ctx.bottomInfo ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_11$6, [
|
|
5536
5543
|
vue.renderSlot(_ctx.$slots, "bottomInfo", {
|
|
5537
5544
|
date: day.type == "curr" ? day : ""
|
|
5538
5545
|
})
|
|
@@ -5552,7 +5559,7 @@
|
|
|
5552
5559
|
], 4)
|
|
5553
5560
|
], 512)
|
|
5554
5561
|
], 544),
|
|
5555
|
-
_ctx.poppable && !_ctx.isAutoBackFill ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_14$
|
|
5562
|
+
_ctx.poppable && !_ctx.isAutoBackFill ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_14$3, [
|
|
5556
5563
|
vue.createElementVNode("view", {
|
|
5557
5564
|
class: "calendar-confirm-btn",
|
|
5558
5565
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.confirm && _ctx.confirm(...args))
|
|
@@ -6406,6 +6413,12 @@
|
|
|
6406
6413
|
}
|
|
6407
6414
|
};
|
|
6408
6415
|
const confirmHandler = () => {
|
|
6416
|
+
if (defaultValues.value && !defaultValues.value.length) {
|
|
6417
|
+
columnsList.value.forEach((columns) => {
|
|
6418
|
+
defaultValues.value.push(columns[0].value);
|
|
6419
|
+
selectedOptions.value.push(columns[0]);
|
|
6420
|
+
});
|
|
6421
|
+
}
|
|
6409
6422
|
emit("confirm", {
|
|
6410
6423
|
selectedValue: defaultValues.value,
|
|
6411
6424
|
selectedOptions: selectedOptions.value
|
|
@@ -7257,6 +7270,8 @@
|
|
|
7257
7270
|
emit("blur", value, event);
|
|
7258
7271
|
};
|
|
7259
7272
|
const clear = (event) => {
|
|
7273
|
+
if (props.disabled)
|
|
7274
|
+
return;
|
|
7260
7275
|
emit("update:modelValue", "", event);
|
|
7261
7276
|
emit("change", "", event);
|
|
7262
7277
|
emit("clear", "", event);
|
|
@@ -7321,18 +7336,21 @@
|
|
|
7321
7336
|
const _hoisted_2$N = { class: "nut-input-value" };
|
|
7322
7337
|
const _hoisted_3$B = { class: "label-string" };
|
|
7323
7338
|
const _hoisted_4$t = { class: "nut-input-value" };
|
|
7324
|
-
const _hoisted_5$l =
|
|
7325
|
-
const _hoisted_6$k =
|
|
7326
|
-
const _hoisted_7$h =
|
|
7339
|
+
const _hoisted_5$l = { class: "nut-input-inner" };
|
|
7340
|
+
const _hoisted_6$k = { class: "nut-input-box" };
|
|
7341
|
+
const _hoisted_7$h = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
7342
|
+
const _hoisted_8$c = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
7343
|
+
const _hoisted_9$8 = { class: "nut-input-clear-box" };
|
|
7344
|
+
const _hoisted_10$5 = {
|
|
7327
7345
|
key: 0,
|
|
7328
7346
|
class: "nut-input-word-limit"
|
|
7329
7347
|
};
|
|
7330
|
-
const
|
|
7348
|
+
const _hoisted_11$5 = { class: "nut-input-word-num" };
|
|
7331
7349
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7332
7350
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
7333
7351
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
7334
7352
|
class: vue.normalizeClass(_ctx.classes),
|
|
7335
|
-
onClick: _cache[
|
|
7353
|
+
onClick: _cache[11] || (_cache[11] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
7336
7354
|
}, [
|
|
7337
7355
|
_ctx.$slots.input ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
7338
7356
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -7359,10 +7377,7 @@
|
|
|
7359
7377
|
class: "nut-input-left-icon",
|
|
7360
7378
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClickLeftIcon && _ctx.onClickLeftIcon(...args))
|
|
7361
7379
|
}, [
|
|
7362
|
-
vue.createVNode(_component_nut_icon, {
|
|
7363
|
-
name: _ctx.leftIcon,
|
|
7364
|
-
size: _ctx.leftIconSize
|
|
7365
|
-
}, null, 8, ["name", "size"])
|
|
7380
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ name: _ctx.leftIcon }, _ctx.$attrs, { size: _ctx.leftIconSize }), null, 16, ["name", "size"])
|
|
7366
7381
|
])) : vue.createCommentVNode("", true),
|
|
7367
7382
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
7368
7383
|
key: 1,
|
|
@@ -7375,68 +7390,69 @@
|
|
|
7375
7390
|
vue.createElementVNode("view", _hoisted_3$B, vue.toDisplayString(_ctx.label) + " " + vue.toDisplayString(_ctx.colon ? ":" : ""), 1)
|
|
7376
7391
|
], 6)) : vue.createCommentVNode("", true),
|
|
7377
7392
|
vue.createElementVNode("view", _hoisted_4$t, [
|
|
7378
|
-
vue.createElementVNode("view",
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7393
|
+
vue.createElementVNode("view", _hoisted_5$l, [
|
|
7394
|
+
vue.createElementVNode("view", _hoisted_6$k, [
|
|
7395
|
+
_ctx.type == "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
7396
|
+
key: 0,
|
|
7397
|
+
class: "input-text",
|
|
7398
|
+
ref: "inputRef",
|
|
7399
|
+
style: vue.normalizeStyle(_ctx.stylesTextarea),
|
|
7400
|
+
maxlength: _ctx.maxLength,
|
|
7401
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
7402
|
+
disabled: _ctx.disabled,
|
|
7403
|
+
readonly: _ctx.readonly,
|
|
7404
|
+
value: _ctx.modelValue,
|
|
7405
|
+
formatTrigger: _ctx.formatTrigger,
|
|
7406
|
+
autofocus: _ctx.autofocus,
|
|
7407
|
+
onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
7408
|
+
onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
7409
|
+
onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
7410
|
+
onClick: _cache[5] || (_cache[5] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
|
|
7411
|
+
}, null, 44, _hoisted_7$h)) : (vue.openBlock(), vue.createElementBlock("input", {
|
|
7412
|
+
key: 1,
|
|
7413
|
+
class: "input-text",
|
|
7414
|
+
ref: "inputRef",
|
|
7415
|
+
style: vue.normalizeStyle(_ctx.styles),
|
|
7416
|
+
type: _ctx.inputType(_ctx.type),
|
|
7417
|
+
maxlength: _ctx.maxLength,
|
|
7418
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
7419
|
+
disabled: _ctx.disabled,
|
|
7420
|
+
readonly: _ctx.readonly,
|
|
7421
|
+
value: _ctx.modelValue,
|
|
7422
|
+
formatTrigger: _ctx.formatTrigger,
|
|
7423
|
+
autofocus: _ctx.autofocus,
|
|
7424
|
+
onInput: _cache[6] || (_cache[6] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
7425
|
+
onFocus: _cache[7] || (_cache[7] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
7426
|
+
onBlur: _cache[8] || (_cache[8] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
7427
|
+
onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
|
|
7428
|
+
}, null, 44, _hoisted_8$c))
|
|
7429
|
+
]),
|
|
7430
|
+
vue.createElementVNode("view", _hoisted_9$8, [
|
|
7431
|
+
_ctx.clearable && !_ctx.readonly ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
7432
|
+
key: 0,
|
|
7433
|
+
class: "nut-input-clear",
|
|
7434
|
+
name: _ctx.clearIcon
|
|
7435
|
+
}, _ctx.$attrs, {
|
|
7436
|
+
size: _ctx.clearSize,
|
|
7437
|
+
onClick: _ctx.clear
|
|
7438
|
+
}), null, 16, ["name", "size", "onClick"])), [
|
|
7439
|
+
[vue.vShow, _ctx.active && _ctx.modelValue.length > 0]
|
|
7440
|
+
]) : vue.createCommentVNode("", true)
|
|
7441
|
+
]),
|
|
7423
7442
|
_ctx.rightIcon && _ctx.rightIcon.length > 0 ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
7424
|
-
key:
|
|
7443
|
+
key: 0,
|
|
7425
7444
|
class: "nut-input-right-icon",
|
|
7426
|
-
onClick: _cache[
|
|
7445
|
+
onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
|
|
7427
7446
|
}, [
|
|
7428
|
-
vue.createVNode(_component_nut_icon, {
|
|
7429
|
-
name: _ctx.rightIcon,
|
|
7430
|
-
size: _ctx.rightIconSize
|
|
7431
|
-
}, null, 8, ["name", "size"])
|
|
7447
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ name: _ctx.rightIcon }, _ctx.$attrs, { size: _ctx.rightIconSize }), null, 16, ["name", "size"])
|
|
7432
7448
|
])) : vue.createCommentVNode("", true),
|
|
7433
7449
|
_ctx.$slots.button ? vue.renderSlot(_ctx.$slots, "button", {
|
|
7434
|
-
key:
|
|
7450
|
+
key: 1,
|
|
7435
7451
|
class: "nut-input-button"
|
|
7436
7452
|
}) : vue.createCommentVNode("", true)
|
|
7437
7453
|
]),
|
|
7438
|
-
_ctx.showWordLimit && _ctx.maxLength ? (vue.openBlock(), vue.createElementBlock("view",
|
|
7439
|
-
vue.createElementVNode("span",
|
|
7454
|
+
_ctx.showWordLimit && _ctx.maxLength ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_10$5, [
|
|
7455
|
+
vue.createElementVNode("span", _hoisted_11$5, vue.toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
|
|
7440
7456
|
vue.createTextVNode("/" + vue.toDisplayString(_ctx.maxLength), 1)
|
|
7441
7457
|
])) : vue.createCommentVNode("", true),
|
|
7442
7458
|
_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -8189,34 +8205,38 @@
|
|
|
8189
8205
|
if (env === "WEB") {
|
|
8190
8206
|
this.upload();
|
|
8191
8207
|
} else {
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
(
|
|
8208
|
+
if (options.beforeXhrUpload) {
|
|
8209
|
+
options.beforeXhrUpload(uploadFile, options);
|
|
8210
|
+
} else {
|
|
8211
|
+
const uploadTask = uploadFile({
|
|
8212
|
+
url: options.url,
|
|
8213
|
+
filePath: options.taroFilePath,
|
|
8214
|
+
fileType: options.fileType,
|
|
8215
|
+
header: {
|
|
8216
|
+
"Content-Type": "multipart/form-data",
|
|
8217
|
+
...options.headers
|
|
8218
|
+
},
|
|
8219
|
+
formData: options.formData,
|
|
8220
|
+
name: options.name,
|
|
8221
|
+
success(response) {
|
|
8222
|
+
var _a2, _b;
|
|
8223
|
+
if (options.xhrState == response.statusCode) {
|
|
8224
|
+
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
8225
|
+
} else {
|
|
8226
|
+
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
8227
|
+
}
|
|
8228
|
+
},
|
|
8229
|
+
fail(e) {
|
|
8230
|
+
var _a2;
|
|
8231
|
+
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
8208
8232
|
}
|
|
8209
|
-
}
|
|
8210
|
-
|
|
8233
|
+
});
|
|
8234
|
+
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
8235
|
+
uploadTask.progress((res) => {
|
|
8211
8236
|
var _a2;
|
|
8212
|
-
(_a2 = options.
|
|
8213
|
-
}
|
|
8214
|
-
}
|
|
8215
|
-
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
8216
|
-
uploadTask.progress((res) => {
|
|
8217
|
-
var _a2;
|
|
8218
|
-
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
8219
|
-
});
|
|
8237
|
+
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
8238
|
+
});
|
|
8239
|
+
}
|
|
8220
8240
|
}
|
|
8221
8241
|
}
|
|
8222
8242
|
}
|
|
@@ -8486,7 +8506,7 @@
|
|
|
8486
8506
|
key: 1,
|
|
8487
8507
|
class: "nut-uploader__preview-list"
|
|
8488
8508
|
};
|
|
8489
|
-
const _hoisted_14$
|
|
8509
|
+
const _hoisted_14$2 = ["onClick"];
|
|
8490
8510
|
const _hoisted_15$1 = ["accept", "multiple", "name", "disabled"];
|
|
8491
8511
|
const _hoisted_16$1 = ["accept", "multiple", "name", "disabled"];
|
|
8492
8512
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -8566,7 +8586,7 @@
|
|
|
8566
8586
|
}, [
|
|
8567
8587
|
vue.createVNode(_component_nut_icon, { name: "link" }),
|
|
8568
8588
|
vue.createTextVNode("\xA0" + vue.toDisplayString(item.name), 1)
|
|
8569
|
-
], 10, _hoisted_14$
|
|
8589
|
+
], 10, _hoisted_14$2),
|
|
8570
8590
|
vue.createVNode(_component_nut_icon, {
|
|
8571
8591
|
class: "nut-uploader__preview-img__file__del",
|
|
8572
8592
|
onClick: ($event) => _ctx.onDelete(item, index),
|
|
@@ -8587,11 +8607,11 @@
|
|
|
8587
8607
|
key: 1,
|
|
8588
8608
|
class: vue.normalizeClass(["nut-uploader__upload", [_ctx.listType]])
|
|
8589
8609
|
}, [
|
|
8590
|
-
vue.createVNode(_component_nut_icon, {
|
|
8610
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
8591
8611
|
size: _ctx.uploadIconSize,
|
|
8592
8612
|
color: "#808080",
|
|
8593
8613
|
name: _ctx.uploadIcon
|
|
8594
|
-
}, null,
|
|
8614
|
+
}), null, 16, ["size", "name"]),
|
|
8595
8615
|
_ctx.capture ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
8596
8616
|
key: 0,
|
|
8597
8617
|
class: "nut-uploader__input",
|
|
@@ -8705,19 +8725,17 @@
|
|
|
8705
8725
|
if (customKeys.length > 2) {
|
|
8706
8726
|
customKeys = [customKeys[0], customKeys[1]];
|
|
8707
8727
|
}
|
|
8728
|
+
if (customKeys.length == 2 && props.title && props.type != "rightColumn") {
|
|
8729
|
+
customKeys = [customKeys[0]];
|
|
8730
|
+
}
|
|
8708
8731
|
if (customKeys.length === 1) {
|
|
8709
|
-
if (props.title) {
|
|
8732
|
+
if (props.title && props.type != "rightColumn") {
|
|
8710
8733
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: "delete", type: "delete" });
|
|
8711
8734
|
} else {
|
|
8712
8735
|
keys.push({ id: 0, type: "number" }, { id: customKeys[0], type: "custom" });
|
|
8713
8736
|
}
|
|
8714
8737
|
} else if (customKeys.length === 2) {
|
|
8715
8738
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: customKeys[1], type: "custom" });
|
|
8716
|
-
if (props.title) {
|
|
8717
|
-
keys.push({ id: "delete", type: "delete" });
|
|
8718
|
-
}
|
|
8719
|
-
} else {
|
|
8720
|
-
keys.push({ id: 0, type: "number" });
|
|
8721
8739
|
}
|
|
8722
8740
|
return keys;
|
|
8723
8741
|
}
|
|
@@ -8821,10 +8839,11 @@
|
|
|
8821
8839
|
vue.createElementVNode("div", _hoisted_1$T, [
|
|
8822
8840
|
_ctx.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$J, [
|
|
8823
8841
|
vue.createElementVNode("h3", _hoisted_3$y, vue.toDisplayString(_ctx.title), 1),
|
|
8824
|
-
vue.
|
|
8842
|
+
_ctx.type == "default" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
8843
|
+
key: 0,
|
|
8825
8844
|
class: "keyboard-close",
|
|
8826
8845
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.closeBoard())
|
|
8827
|
-
}, vue.toDisplayString(_ctx.translate("done")), 1)
|
|
8846
|
+
}, vue.toDisplayString(_ctx.translate("done")), 1)) : vue.createCommentVNode("", true)
|
|
8828
8847
|
])) : vue.createCommentVNode("", true),
|
|
8829
8848
|
vue.createElementVNode("div", _hoisted_4$q, [
|
|
8830
8849
|
vue.createElementVNode("div", _hoisted_5$i, [
|
|
@@ -8867,15 +8886,14 @@
|
|
|
8867
8886
|
onTouchend: _cache[4] || (_cache[4] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
|
|
8868
8887
|
}, _hoisted_12$3, 34)
|
|
8869
8888
|
]),
|
|
8870
|
-
|
|
8871
|
-
key: 0,
|
|
8889
|
+
vue.createElementVNode("div", {
|
|
8872
8890
|
class: "key-board-wrapper key-board-finish",
|
|
8873
8891
|
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.closeBoard())
|
|
8874
8892
|
}, [
|
|
8875
8893
|
vue.createElementVNode("div", {
|
|
8876
8894
|
class: vue.normalizeClass(["key", "finish", { activeFinsh: _ctx.clickKeyIndex == "finish" }])
|
|
8877
8895
|
}, vue.toDisplayString(_ctx.confirmText || _ctx.translate("done")), 3)
|
|
8878
|
-
])
|
|
8896
|
+
])
|
|
8879
8897
|
])) : vue.createCommentVNode("", true)
|
|
8880
8898
|
])
|
|
8881
8899
|
], 512)
|
|
@@ -10777,10 +10795,7 @@
|
|
|
10777
10795
|
style: vue.normalizeStyle(_ctx.getStyle)
|
|
10778
10796
|
}, [
|
|
10779
10797
|
vue.createElementVNode("view", _hoisted_1$M, [
|
|
10780
|
-
vue.createVNode(_component_nut_icon, {
|
|
10781
|
-
class: "top-img",
|
|
10782
|
-
name: _ctx.pullIcon
|
|
10783
|
-
}, null, 8, ["name"]),
|
|
10798
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ class: "top-img" }, _ctx.$attrs, { name: _ctx.pullIcon }), null, 16, ["name"]),
|
|
10784
10799
|
vue.createElementVNode("view", _hoisted_2$D, vue.toDisplayString(_ctx.pullTxt || _ctx.translate("pullTxt")), 1)
|
|
10785
10800
|
])
|
|
10786
10801
|
], 4),
|
|
@@ -10790,10 +10805,7 @@
|
|
|
10790
10805
|
vue.createElementVNode("view", _hoisted_4$n, [
|
|
10791
10806
|
_ctx.isInfiniting ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$g, [
|
|
10792
10807
|
!_ctx.slots.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
10793
|
-
vue.createVNode(_component_nut_icon, {
|
|
10794
|
-
class: "bottom-img",
|
|
10795
|
-
name: _ctx.loadIcon
|
|
10796
|
-
}, null, 8, ["name"]),
|
|
10808
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ class: "bottom-img" }, _ctx.$attrs, { name: _ctx.loadIcon }), null, 16, ["name"]),
|
|
10797
10809
|
vue.createElementVNode("view", _hoisted_6$f, vue.toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
|
|
10798
10810
|
], 64)) : vue.renderSlot(_ctx.$slots, "loading", { key: 1 })
|
|
10799
10811
|
])) : !_ctx.hasMore ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
@@ -11459,12 +11471,13 @@
|
|
|
11459
11471
|
style: vue.normalizeStyle(_ctx.style)
|
|
11460
11472
|
}, [
|
|
11461
11473
|
vue.createElementVNode("view", _hoisted_1$K, [
|
|
11462
|
-
_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
11474
|
+
_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
11463
11475
|
key: 0,
|
|
11464
|
-
name: _ctx.name
|
|
11476
|
+
name: _ctx.name
|
|
11477
|
+
}, _ctx.$attrs, {
|
|
11465
11478
|
size: _ctx.size,
|
|
11466
11479
|
color: _ctx.color
|
|
11467
|
-
}, null,
|
|
11480
|
+
}), null, 16, ["name", "size", "color"])) : vue.createCommentVNode("", true),
|
|
11468
11481
|
_ctx.activeText ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
11469
11482
|
vue.withDirectives(vue.createElementVNode("view", { class: "nut-switch-label open" }, vue.toDisplayString(_ctx.activeText), 513), [
|
|
11470
11483
|
[vue.vShow, _ctx.modelValue]
|
|
@@ -11644,11 +11657,10 @@
|
|
|
11644
11657
|
})
|
|
11645
11658
|
}, [
|
|
11646
11659
|
_ctx.hasIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$J, [
|
|
11647
|
-
vue.createVNode(_component_nut_icon, {
|
|
11648
|
-
size: _ctx.iconSize,
|
|
11660
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ size: _ctx.iconSize }, _ctx.$attrs, {
|
|
11649
11661
|
color: "#ffffff",
|
|
11650
11662
|
name: _ctx.icon
|
|
11651
|
-
}, null,
|
|
11663
|
+
}), null, 16, ["size", "name"])
|
|
11652
11664
|
])) : vue.createCommentVNode("", true),
|
|
11653
11665
|
_ctx.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
11654
11666
|
vue.createElementVNode("view", {
|
|
@@ -12024,9 +12036,7 @@
|
|
|
12024
12036
|
props: {
|
|
12025
12037
|
type: {
|
|
12026
12038
|
type: String,
|
|
12027
|
-
default()
|
|
12028
|
-
return "play";
|
|
12029
|
-
}
|
|
12039
|
+
default: () => "play"
|
|
12030
12040
|
}
|
|
12031
12041
|
},
|
|
12032
12042
|
components: {},
|
|
@@ -12259,11 +12269,10 @@
|
|
|
12259
12269
|
src: _ctx.url,
|
|
12260
12270
|
alt: _ctx.alt,
|
|
12261
12271
|
onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
|
|
12262
|
-
}, null, 40, _hoisted_1$G)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
12263
|
-
key: 1,
|
|
12272
|
+
}, null, 40, _hoisted_1$G)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
12264
12273
|
class: "icon",
|
|
12265
12274
|
name: _ctx.iconStyles
|
|
12266
|
-
}, null,
|
|
12275
|
+
}), null, 16, ["name"])) : vue.createCommentVNode("", true),
|
|
12267
12276
|
_ctx.isShowText ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$z, [
|
|
12268
12277
|
vue.renderSlot(_ctx.$slots, "default")
|
|
12269
12278
|
])) : vue.createCommentVNode("", true)
|
|
@@ -12572,12 +12581,11 @@
|
|
|
12572
12581
|
_ctx.status == "active" || _ctx.status == "" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
12573
12582
|
key: 0,
|
|
12574
12583
|
style: vue.normalizeStyle(_ctx.textStyle)
|
|
12575
|
-
}, vue.toDisplayString(_ctx.percentage) + vue.toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
12576
|
-
key: 1,
|
|
12584
|
+
}, vue.toDisplayString(_ctx.percentage) + vue.toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
12577
12585
|
size: "16px",
|
|
12578
12586
|
name: _ctx.iconName,
|
|
12579
12587
|
color: _ctx.iconColor
|
|
12580
|
-
}, null,
|
|
12588
|
+
}), null, 16, ["name", "color"])) : vue.createCommentVNode("", true)
|
|
12581
12589
|
], 4)) : vue.createCommentVNode("", true)
|
|
12582
12590
|
]);
|
|
12583
12591
|
}
|
|
@@ -13049,10 +13057,10 @@
|
|
|
13049
13057
|
onClick: _cache[2] || (_cache[2] = vue.withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
|
|
13050
13058
|
}, [
|
|
13051
13059
|
vue.renderSlot(_ctx.$slots, "right-icon", {}, () => [
|
|
13052
|
-
vue.createVNode(_component_nut_icon, {
|
|
13060
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
13053
13061
|
name: _ctx.rightIcon ? _ctx.rightIcon : "close",
|
|
13054
13062
|
color: _ctx.color
|
|
13055
|
-
}, null,
|
|
13063
|
+
}), null, 16, ["name", "color"])
|
|
13056
13064
|
])
|
|
13057
13065
|
])) : vue.createCommentVNode("", true)
|
|
13058
13066
|
], 6)), [
|
|
@@ -13633,13 +13641,14 @@
|
|
|
13633
13641
|
vue.createElementVNode("view", {
|
|
13634
13642
|
class: vue.normalizeClass(["nut-step-icon", [!_ctx.dot ? _ctx.icon ? "is-icon" : "is-text" : ""]])
|
|
13635
13643
|
}, [
|
|
13636
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
13644
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
13637
13645
|
key: 0,
|
|
13638
|
-
class: "nut-step-icon-inner"
|
|
13646
|
+
class: "nut-step-icon-inner"
|
|
13647
|
+
}, _ctx.$attrs, {
|
|
13639
13648
|
color: _ctx.iconColor,
|
|
13640
13649
|
name: _ctx.icon,
|
|
13641
13650
|
size: _ctx.size
|
|
13642
|
-
}, null,
|
|
13651
|
+
}), null, 16, ["color", "name", "size"])) : _ctx.dot ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [], 64)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$n, vue.toDisplayString(_ctx.index), 1))
|
|
13643
13652
|
], 2)
|
|
13644
13653
|
]),
|
|
13645
13654
|
vue.createElementVNode("view", _hoisted_4$j, [
|
|
@@ -14756,10 +14765,7 @@
|
|
|
14756
14765
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleCloseIcon && _ctx.handleCloseIcon(...args)),
|
|
14757
14766
|
style: vue.normalizeStyle(_ctx.styles)
|
|
14758
14767
|
}, [
|
|
14759
|
-
vue.createVNode(_component_nut_icon, {
|
|
14760
|
-
name: _ctx.closeIcon,
|
|
14761
|
-
color: "#ffffff"
|
|
14762
|
-
}, null, 8, ["name"])
|
|
14768
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({ name: _ctx.closeIcon }, _ctx.$attrs, { color: "#ffffff" }), null, 16, ["name"])
|
|
14763
14769
|
], 4)) : vue.createCommentVNode("", true)
|
|
14764
14770
|
]),
|
|
14765
14771
|
_: 1
|
|
@@ -15709,23 +15715,19 @@
|
|
|
15709
15715
|
};
|
|
15710
15716
|
});
|
|
15711
15717
|
const getStyle = () => {
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15718
|
+
const style = {};
|
|
15719
|
+
if (textColor.value) {
|
|
15720
|
+
style.color = textColor.value;
|
|
15721
|
+
} else if (color.value && plain.value) {
|
|
15722
|
+
style.color = color.value;
|
|
15717
15723
|
}
|
|
15718
15724
|
if (plain.value) {
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
};
|
|
15725
|
+
style.background = "#fff";
|
|
15726
|
+
style["border-color"] = color.value;
|
|
15727
|
+
} else if (color.value) {
|
|
15728
|
+
style.background = color.value;
|
|
15724
15729
|
}
|
|
15725
|
-
return
|
|
15726
|
-
color: "",
|
|
15727
|
-
background: ""
|
|
15728
|
-
};
|
|
15730
|
+
return style;
|
|
15729
15731
|
};
|
|
15730
15732
|
const onClose = (event) => {
|
|
15731
15733
|
event.stopPropagation();
|
|
@@ -16589,7 +16591,6 @@
|
|
|
16589
16591
|
};
|
|
16590
16592
|
});
|
|
16591
16593
|
const createPopperInstance = () => {
|
|
16592
|
-
console.log(reference.value, popoverRef.value);
|
|
16593
16594
|
if (reference.value && popoverRef.value) {
|
|
16594
16595
|
return createPopper(reference.value, popoverRef.value.popupRef, {
|
|
16595
16596
|
placement: props.location,
|
|
@@ -16612,7 +16613,6 @@
|
|
|
16612
16613
|
return null;
|
|
16613
16614
|
};
|
|
16614
16615
|
const clickOverlay = () => {
|
|
16615
|
-
console.log("\u5173\u95ED");
|
|
16616
16616
|
};
|
|
16617
16617
|
const uploadLocation = () => {
|
|
16618
16618
|
vue.nextTick(() => {
|
|
@@ -16620,7 +16620,6 @@
|
|
|
16620
16620
|
return;
|
|
16621
16621
|
if (!popper) {
|
|
16622
16622
|
popper = createPopperInstance();
|
|
16623
|
-
console.log(popper);
|
|
16624
16623
|
} else {
|
|
16625
16624
|
popper.setOptions({
|
|
16626
16625
|
placement: props.location
|
|
@@ -16718,10 +16717,10 @@
|
|
|
16718
16717
|
onClick: vue.withModifiers(($event) => _ctx.chooseItem(item, index), ["stop"])
|
|
16719
16718
|
}, [
|
|
16720
16719
|
item.icon ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
|
|
16721
|
-
vue.createVNode(_component_nut_icon, {
|
|
16720
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
16722
16721
|
class: "item-img",
|
|
16723
16722
|
name: item.icon
|
|
16724
|
-
}, null,
|
|
16723
|
+
}), null, 16, ["name"])
|
|
16725
16724
|
]) : vue.createCommentVNode("", true),
|
|
16726
16725
|
vue.createElementVNode("view", _hoisted_2$o, vue.toDisplayString(item.name), 1)
|
|
16727
16726
|
], 10, _hoisted_1$t);
|
|
@@ -17173,13 +17172,14 @@
|
|
|
17173
17172
|
vue.createElementVNode("view", _hoisted_1$q, [
|
|
17174
17173
|
vue.createElementVNode("view", null, [
|
|
17175
17174
|
vue.createElementVNode("view", _hoisted_2$m, [
|
|
17176
|
-
_ctx.titleIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
17175
|
+
_ctx.titleIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
17177
17176
|
key: 0,
|
|
17178
|
-
name: _ctx.titleIcon
|
|
17177
|
+
name: _ctx.titleIcon
|
|
17178
|
+
}, _ctx.$attrs, {
|
|
17179
17179
|
size: _ctx.titleIconSize,
|
|
17180
17180
|
color: _ctx.titleIconColor,
|
|
17181
|
-
class:
|
|
17182
|
-
}, null,
|
|
17181
|
+
class: [_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"]
|
|
17182
|
+
}), null, 16, ["name", "size", "color", "class"])) : vue.createCommentVNode("", true),
|
|
17183
17183
|
_ctx.$slots.mTitle ? vue.renderSlot(_ctx.$slots, "mTitle", { key: 1 }) : (vue.openBlock(), vue.createElementBlock("view", {
|
|
17184
17184
|
key: 2,
|
|
17185
17185
|
innerHTML: _ctx.title,
|
|
@@ -17195,14 +17195,15 @@
|
|
|
17195
17195
|
innerHTML: _ctx.subTitle,
|
|
17196
17196
|
class: "subTitle"
|
|
17197
17197
|
}, null, 8, _hoisted_5$a)),
|
|
17198
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
17198
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
17199
17199
|
key: 2,
|
|
17200
|
-
name: _ctx.icon
|
|
17200
|
+
name: _ctx.icon
|
|
17201
|
+
}, _ctx.$attrs, {
|
|
17201
17202
|
size: _ctx.iconSize,
|
|
17202
17203
|
color: _ctx.iconColor,
|
|
17203
|
-
class:
|
|
17204
|
-
style:
|
|
17205
|
-
}, null,
|
|
17204
|
+
class: ["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }],
|
|
17205
|
+
style: _ctx.iconStyle
|
|
17206
|
+
}), null, 16, ["name", "size", "color", "class", "style"])) : vue.createCommentVNode("", true)
|
|
17206
17207
|
], 2),
|
|
17207
17208
|
_ctx.$slots.extraRender ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$9, [
|
|
17208
17209
|
vue.createElementVNode("div", _hoisted_7$7, [
|
|
@@ -17755,7 +17756,6 @@
|
|
|
17755
17756
|
const init = () => {
|
|
17756
17757
|
const canvas = document.createElement("canvas");
|
|
17757
17758
|
const ratio = window.devicePixelRatio;
|
|
17758
|
-
console.log(ratio);
|
|
17759
17759
|
const ctx = canvas.getContext("2d");
|
|
17760
17760
|
const canvasWidth = `${(gapX + width) * ratio}px`;
|
|
17761
17761
|
const canvasHeight = `${(gapY + height) * ratio}px`;
|
|
@@ -17775,7 +17775,6 @@
|
|
|
17775
17775
|
ctx.drawImage(img, -imageWidth * ratio / 2, -imageHeight * ratio / 2, imageWidth * ratio, imageHeight * ratio);
|
|
17776
17776
|
ctx.restore();
|
|
17777
17777
|
state.base64Url = canvas.toDataURL();
|
|
17778
|
-
console.log(state.base64Url);
|
|
17779
17778
|
};
|
|
17780
17779
|
} else if (content) {
|
|
17781
17780
|
ctx.textBaseline = "middle";
|
|
@@ -17788,7 +17787,6 @@
|
|
|
17788
17787
|
ctx.fillText(content, 0, 0);
|
|
17789
17788
|
ctx.restore();
|
|
17790
17789
|
state.base64Url = canvas.toDataURL();
|
|
17791
|
-
console.log(state.base64Url);
|
|
17792
17790
|
}
|
|
17793
17791
|
} else {
|
|
17794
17792
|
throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");
|
|
@@ -18211,7 +18209,7 @@
|
|
|
18211
18209
|
};
|
|
18212
18210
|
const _hoisted_12$1 = ["onClick"];
|
|
18213
18211
|
const _hoisted_13$1 = { class: "elevator-group" };
|
|
18214
|
-
const _hoisted_14 = {
|
|
18212
|
+
const _hoisted_14$1 = {
|
|
18215
18213
|
key: 2,
|
|
18216
18214
|
class: "exist-address"
|
|
18217
18215
|
};
|
|
@@ -18249,10 +18247,10 @@
|
|
|
18249
18247
|
class: "arrow-back",
|
|
18250
18248
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
|
|
18251
18249
|
}, [
|
|
18252
|
-
vue.withDirectives(vue.createVNode(_component_nut_icon, {
|
|
18250
|
+
vue.withDirectives(vue.createVNode(_component_nut_icon, vue.mergeProps(_ctx.$attrs, {
|
|
18253
18251
|
name: _ctx.backBtnIcon,
|
|
18254
18252
|
color: "#cccccc"
|
|
18255
|
-
}, null,
|
|
18253
|
+
}), null, 16, ["name"]), [
|
|
18256
18254
|
[vue.vShow, _ctx.type == "exist" && _ctx.privateType == "custom" && _ctx.backBtnIcon]
|
|
18257
18255
|
])
|
|
18258
18256
|
]),
|
|
@@ -18261,12 +18259,11 @@
|
|
|
18261
18259
|
class: "arrow-close",
|
|
18262
18260
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
|
|
18263
18261
|
}, [
|
|
18264
|
-
_ctx.closeBtnIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
18265
|
-
key: 0,
|
|
18262
|
+
_ctx.closeBtnIcon ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
18266
18263
|
name: _ctx.closeBtnIcon,
|
|
18267
18264
|
color: "#cccccc",
|
|
18268
18265
|
size: "18px"
|
|
18269
|
-
}, null,
|
|
18266
|
+
}), null, 16, ["name"])) : vue.createCommentVNode("", true)
|
|
18270
18267
|
])
|
|
18271
18268
|
]),
|
|
18272
18269
|
_ctx.privateType == "custom" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$f, [
|
|
@@ -18294,13 +18291,14 @@
|
|
|
18294
18291
|
class: vue.normalizeClass(["region-item", [_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? "active" : ""]]),
|
|
18295
18292
|
onClick: ($event) => _ctx.nextAreaList(item)
|
|
18296
18293
|
}, [
|
|
18297
|
-
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
18294
|
+
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (vue.openBlock(), vue.createBlock(_component_nut_icon, vue.mergeProps({
|
|
18298
18295
|
key: 0,
|
|
18299
18296
|
class: "region-item-icon",
|
|
18300
|
-
type: "self"
|
|
18297
|
+
type: "self"
|
|
18298
|
+
}, _ctx.$attrs, {
|
|
18301
18299
|
name: _ctx.selectedIcon,
|
|
18302
18300
|
size: "13px"
|
|
18303
|
-
}, null,
|
|
18301
|
+
}), null, 16, ["name"])) : vue.createCommentVNode("", true),
|
|
18304
18302
|
vue.createTextVNode(vue.toDisplayString(item.name), 1)
|
|
18305
18303
|
], 10, _hoisted_9$2);
|
|
18306
18304
|
}), 128))
|
|
@@ -18330,7 +18328,7 @@
|
|
|
18330
18328
|
onClickItem: _ctx.handleElevatorItem
|
|
18331
18329
|
}, null, 8, ["height", "index-list", "onClickItem"])
|
|
18332
18330
|
])
|
|
18333
|
-
])) : _ctx.privateType == "exist" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_14, [
|
|
18331
|
+
])) : _ctx.privateType == "exist" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_14$1, [
|
|
18334
18332
|
vue.createElementVNode("div", _hoisted_15, [
|
|
18335
18333
|
vue.createElementVNode("ul", _hoisted_16, [
|
|
18336
18334
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.existAddress, (item, index) => {
|
|
@@ -18339,12 +18337,13 @@
|
|
|
18339
18337
|
key: index,
|
|
18340
18338
|
onClick: ($event) => _ctx.selectedExist(item)
|
|
18341
18339
|
}, [
|
|
18342
|
-
vue.createVNode(_component_nut_icon, {
|
|
18340
|
+
vue.createVNode(_component_nut_icon, vue.mergeProps({
|
|
18343
18341
|
class: "exist-item-icon",
|
|
18344
|
-
type: "self"
|
|
18342
|
+
type: "self"
|
|
18343
|
+
}, _ctx.$attrs, {
|
|
18345
18344
|
name: item.selectedAddress ? _ctx.selectedIcon : _ctx.defaultIcon,
|
|
18346
18345
|
size: "13px"
|
|
18347
|
-
}, null,
|
|
18346
|
+
}), null, 16, ["name"]),
|
|
18348
18347
|
vue.createElementVNode("div", _hoisted_18, [
|
|
18349
18348
|
item.name && item.phone ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
|
|
18350
18349
|
vue.createElementVNode("div", _hoisted_20, vue.toDisplayString(item.name), 1),
|
|
@@ -19645,7 +19644,6 @@
|
|
|
19645
19644
|
setup(props, { emit }) {
|
|
19646
19645
|
const delClick = (event) => {
|
|
19647
19646
|
emit("delIconClick", event, props.item);
|
|
19648
|
-
console.log(123);
|
|
19649
19647
|
event.stopPropagation();
|
|
19650
19648
|
};
|
|
19651
19649
|
const editClick = (event) => {
|
|
@@ -20094,7 +20092,6 @@
|
|
|
20094
20092
|
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"
|
|
20095
20093
|
});
|
|
20096
20094
|
const trowelData = () => {
|
|
20097
|
-
console.log("props.data", props.data);
|
|
20098
20095
|
if (Object.keys(props.dataMapOptions).length > 0) {
|
|
20099
20096
|
dataArray.value = props.data.map((item, index) => {
|
|
20100
20097
|
return floatData(dataInfo, item, props.dataMapOptions);
|
|
@@ -20280,7 +20277,7 @@
|
|
|
20280
20277
|
vue.createElementVNode("div", {
|
|
20281
20278
|
class: vue.normalizeClass([_ctx.checkIndex == index ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
|
|
20282
20279
|
onClick: ($event) => _ctx.getChildList(index)
|
|
20283
|
-
}, vue.toDisplayString(item.catName), 11, _hoisted_4$5)
|
|
20280
|
+
}, vue.toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4$5)
|
|
20284
20281
|
]);
|
|
20285
20282
|
}), 128))
|
|
20286
20283
|
])) : vue.createCommentVNode("", true),
|
|
@@ -20289,7 +20286,6 @@
|
|
|
20289
20286
|
]);
|
|
20290
20287
|
}
|
|
20291
20288
|
var Category = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
20292
|
-
var index_vue_vue_type_style_index_0_lang = "";
|
|
20293
20289
|
const { componentName: componentName$4, create: create$4 } = createComponent("categorypane");
|
|
20294
20290
|
const _sfc_main$4 = create$4({
|
|
20295
20291
|
props: {
|
|
@@ -20343,13 +20339,14 @@
|
|
|
20343
20339
|
key: 2,
|
|
20344
20340
|
class: "nut-categorypane__selfItemList"
|
|
20345
20341
|
};
|
|
20342
|
+
const _hoisted_14 = ["onClick"];
|
|
20346
20343
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20347
20344
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
|
|
20348
20345
|
_ctx.type == "classify" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
|
|
20349
20346
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.categoryChild, (item, index) => {
|
|
20350
20347
|
return vue.openBlock(), vue.createElementBlock("div", { key: index }, [
|
|
20351
|
-
vue.createElementVNode("div", _hoisted_3$4, vue.toDisplayString(item.catName), 1),
|
|
20352
|
-
item.catType == 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
|
|
20348
|
+
vue.createElementVNode("div", _hoisted_3$4, vue.toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
20349
|
+
(item == null ? void 0 : item.catType) == 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
|
|
20353
20350
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.childCateList, (sku, key) => {
|
|
20354
20351
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20355
20352
|
class: "nut-categorypane__childItem",
|
|
@@ -20360,7 +20357,7 @@
|
|
|
20360
20357
|
class: "nut-categorypane__childImg",
|
|
20361
20358
|
src: sku.backImg
|
|
20362
20359
|
}, null, 8, _hoisted_6$1),
|
|
20363
|
-
vue.createElementVNode("div", _hoisted_7, vue.toDisplayString(sku.catName), 1)
|
|
20360
|
+
vue.createElementVNode("div", _hoisted_7, vue.toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
20364
20361
|
], 8, _hoisted_5$2);
|
|
20365
20362
|
}), 128))
|
|
20366
20363
|
])) : vue.createCommentVNode("", true)
|
|
@@ -20370,15 +20367,15 @@
|
|
|
20370
20367
|
_ctx.type == "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
20371
20368
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.categoryChild, (item, index) => {
|
|
20372
20369
|
return vue.openBlock(), vue.createElementBlock("div", { key: index }, [
|
|
20373
|
-
vue.createElementVNode("div", _hoisted_9, vue.toDisplayString(item.catName), 1),
|
|
20374
|
-
item.catType == 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
20370
|
+
vue.createElementVNode("div", _hoisted_9, vue.toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
20371
|
+
(item == null ? void 0 : item.catType) == 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
20375
20372
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.childCateList, (sku, key) => {
|
|
20376
20373
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20377
20374
|
class: "nut-categorypane__childItem",
|
|
20378
20375
|
key,
|
|
20379
20376
|
onClick: ($event) => _ctx.onChange(sku)
|
|
20380
20377
|
}, [
|
|
20381
|
-
vue.createElementVNode("div", _hoisted_12, vue.toDisplayString(sku.catName), 1)
|
|
20378
|
+
vue.createElementVNode("div", _hoisted_12, vue.toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
20382
20379
|
], 8, _hoisted_11);
|
|
20383
20380
|
}), 128))
|
|
20384
20381
|
])) : vue.createCommentVNode("", true)
|
|
@@ -20390,8 +20387,8 @@
|
|
|
20390
20387
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20391
20388
|
class: "nut-categorypane__skuName",
|
|
20392
20389
|
key,
|
|
20393
|
-
onClick:
|
|
20394
|
-
}, vue.toDisplayString(sku.catName),
|
|
20390
|
+
onClick: ($event) => _ctx.onChange(sku)
|
|
20391
|
+
}, vue.toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
|
|
20395
20392
|
}), 128))
|
|
20396
20393
|
])) : vue.createCommentVNode("", true)
|
|
20397
20394
|
]);
|
|
@@ -20838,7 +20835,7 @@
|
|
|
20838
20835
|
}
|
|
20839
20836
|
});
|
|
20840
20837
|
}
|
|
20841
|
-
const version = "3.2.
|
|
20838
|
+
const version = "3.2.1";
|
|
20842
20839
|
var nutui_vue_build = { install, version, Locale };
|
|
20843
20840
|
exports2.ActionSheet = ActionSheet;
|
|
20844
20841
|
exports2.Address = Address;
|