@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.es.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:03 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { reactive, ref, defineComponent, h, toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot, getCurrentInstance, Fragment, toDisplayString, createTextVNode, watch, onDeactivated, onBeforeUnmount, onMounted, onActivated, Transition, withCtx, withDirectives, withModifiers, vShow, onBeforeMount, Teleport, createVNode, useSlots, inject, provide, unref, onUnmounted, shallowReactive, markRaw, isVNode, nextTick, renderList,
|
|
6
|
+
import { reactive, ref, defineComponent, h, toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, mergeProps, renderSlot, getCurrentInstance, Fragment, toDisplayString, createTextVNode, watch, onDeactivated, onBeforeUnmount, onMounted, onActivated, Transition, withCtx, withDirectives, withModifiers, vShow, onBeforeMount, Teleport, createVNode, useSlots, inject, provide, unref, onUnmounted, shallowReactive, markRaw, isVNode, nextTick, renderList, watchEffect, createSlots, readonly, vModelText, toRaw, resolveDynamicComponent, render as render$4 } from "vue";
|
|
7
7
|
class BaseLang {
|
|
8
8
|
}
|
|
9
9
|
class Lang$1 extends BaseLang {
|
|
@@ -486,7 +486,7 @@ const _sfc_main$1O = create$1O({
|
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
488
|
const _hoisted_1$1l = { class: "nut-button__warp" };
|
|
489
|
-
function _sfc_render$
|
|
489
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
490
490
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
491
491
|
return openBlock(), createElementBlock("view", {
|
|
492
492
|
class: normalizeClass(_ctx.classes),
|
|
@@ -498,12 +498,13 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
498
498
|
key: 0,
|
|
499
499
|
class: "nut-icon-loading"
|
|
500
500
|
})) : createCommentVNode("", true),
|
|
501
|
-
_ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
|
|
501
|
+
_ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
502
502
|
key: 1,
|
|
503
|
-
name: _ctx.icon
|
|
503
|
+
name: _ctx.icon
|
|
504
|
+
}, _ctx.$attrs, {
|
|
504
505
|
"class-prefix": _ctx.iconClassPrefix,
|
|
505
506
|
"font-class-name": _ctx.iconFontClassName
|
|
506
|
-
}, null,
|
|
507
|
+
}), null, 16, ["name", "class-prefix", "font-class-name"])) : createCommentVNode("", true),
|
|
507
508
|
_ctx.$slots.default ? (openBlock(), createElementBlock("view", {
|
|
508
509
|
key: 2,
|
|
509
510
|
class: normalizeClass({ text: _ctx.icon || _ctx.loading })
|
|
@@ -513,7 +514,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
513
514
|
])
|
|
514
515
|
], 6);
|
|
515
516
|
}
|
|
516
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$
|
|
517
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1B]]);
|
|
517
518
|
function useRouter() {
|
|
518
519
|
const proxy = getCurrentInstance().proxy;
|
|
519
520
|
return proxy.$router || null;
|
|
@@ -528,7 +529,7 @@ const _hoisted_2$14 = {
|
|
|
528
529
|
};
|
|
529
530
|
const _hoisted_3$Q = { class: "title" };
|
|
530
531
|
const _hoisted_4$E = { class: "nut-cell__title-desc" };
|
|
531
|
-
function render$
|
|
532
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
532
533
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
533
534
|
return openBlock(), createElementBlock("view", {
|
|
534
535
|
class: normalizeClass(_ctx.classes),
|
|
@@ -538,11 +539,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
538
539
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
539
540
|
_ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("view", _hoisted_1$1k, [
|
|
540
541
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
541
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
542
|
-
key: 0,
|
|
542
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
543
543
|
class: "icon",
|
|
544
544
|
name: _ctx.icon
|
|
545
|
-
}, null,
|
|
545
|
+
}), null, 16, ["name"])) : createCommentVNode("", true)
|
|
546
546
|
])
|
|
547
547
|
])) : createCommentVNode("", true),
|
|
548
548
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2$14, [
|
|
@@ -561,11 +561,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
561
561
|
style: normalizeStyle({ "text-align": _ctx.descTextAlign })
|
|
562
562
|
}, toDisplayString(_ctx.desc), 7)) : createCommentVNode("", true),
|
|
563
563
|
renderSlot(_ctx.$slots, "link", {}, () => [
|
|
564
|
-
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, {
|
|
564
|
+
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
565
565
|
key: 0,
|
|
566
|
-
class: "nut-cell__link"
|
|
567
|
-
|
|
568
|
-
})) : createCommentVNode("", true)
|
|
566
|
+
class: "nut-cell__link"
|
|
567
|
+
}, _ctx.$attrs, { name: _ctx.rightIcon }), null, 16, ["name"])) : createCommentVNode("", true)
|
|
569
568
|
])
|
|
570
569
|
])
|
|
571
570
|
], 6);
|
|
@@ -583,6 +582,7 @@ const _sfc_main$1N = create$1N({
|
|
|
583
582
|
roundRadius: { type: [String, Number], default: "" },
|
|
584
583
|
url: { type: String, default: "" },
|
|
585
584
|
icon: { type: String, default: "" },
|
|
585
|
+
rightIcon: { type: String, default: "right" },
|
|
586
586
|
center: { type: Boolean, default: false },
|
|
587
587
|
size: { type: String, default: "" }
|
|
588
588
|
},
|
|
@@ -618,7 +618,7 @@ const _sfc_main$1N = create$1N({
|
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
620
|
});
|
|
621
|
-
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$
|
|
621
|
+
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$3]]);
|
|
622
622
|
const { componentName: componentName$1q, create: create$1M } = createComponent("cell-group");
|
|
623
623
|
const _sfc_main$1M = create$1M({
|
|
624
624
|
props: {
|
|
@@ -646,7 +646,7 @@ const _hoisted_2$13 = {
|
|
|
646
646
|
class: "nut-cell-group__desc"
|
|
647
647
|
};
|
|
648
648
|
const _hoisted_3$P = { class: "nut-cell-group__warp" };
|
|
649
|
-
function _sfc_render$
|
|
649
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
650
650
|
return openBlock(), createElementBlock("view", {
|
|
651
651
|
class: normalizeClass(_ctx.classes)
|
|
652
652
|
}, [
|
|
@@ -657,7 +657,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
657
657
|
])
|
|
658
658
|
], 2);
|
|
659
659
|
}
|
|
660
|
-
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$
|
|
660
|
+
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1A]]);
|
|
661
661
|
const { componentName: componentName$1p, create: create$1L } = createComponent("overlay");
|
|
662
662
|
const overlayProps = {
|
|
663
663
|
visible: {
|
|
@@ -734,7 +734,7 @@ const _sfc_main$1L = create$1L({
|
|
|
734
734
|
return { classes, style, touchmove, onClick };
|
|
735
735
|
}
|
|
736
736
|
});
|
|
737
|
-
function _sfc_render$
|
|
737
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
738
738
|
return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
|
|
739
739
|
default: withCtx(() => [
|
|
740
740
|
withDirectives(createElementVNode("view", {
|
|
@@ -751,7 +751,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
751
751
|
_: 3
|
|
752
752
|
});
|
|
753
753
|
}
|
|
754
|
-
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$
|
|
754
|
+
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1z]]);
|
|
755
755
|
let count = 0;
|
|
756
756
|
const CLSNAME = "nut-overflow-hidden";
|
|
757
757
|
const useLockScroll = (isLock) => {
|
|
@@ -951,7 +951,7 @@ const _sfc_main$1K = create$1K({
|
|
|
951
951
|
}
|
|
952
952
|
});
|
|
953
953
|
const _hoisted_1$1i = { key: 1 };
|
|
954
|
-
function _sfc_render$
|
|
954
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
955
955
|
const _component_nut_overlay = resolveComponent("nut-overlay");
|
|
956
956
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
957
957
|
return _ctx.isWrapTeleport ? (openBlock(), createBlock(Teleport, {
|
|
@@ -987,10 +987,10 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
987
987
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
|
|
988
988
|
class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
|
|
989
989
|
}, [
|
|
990
|
-
createVNode(_component_nut_icon, {
|
|
990
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
991
991
|
name: _ctx.closeIcon,
|
|
992
992
|
size: "12px"
|
|
993
|
-
}, null,
|
|
993
|
+
}), null, 16, ["name"])
|
|
994
994
|
], 2)) : createCommentVNode("", true)
|
|
995
995
|
], 6), [
|
|
996
996
|
[vShow, _ctx.visible]
|
|
@@ -1040,8 +1040,8 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1040
1040
|
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
1041
1041
|
]));
|
|
1042
1042
|
}
|
|
1043
|
-
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$
|
|
1044
|
-
const component$
|
|
1043
|
+
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1y]]);
|
|
1044
|
+
const component$8 = {
|
|
1045
1045
|
props: {
|
|
1046
1046
|
theme: { type: String, default: "" },
|
|
1047
1047
|
tag: { type: String, default: "div" }
|
|
@@ -1056,7 +1056,7 @@ const component$7 = {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
};
|
|
1058
1058
|
const { componentName: componentName$1n, create: create$1J } = createComponent("config-provider");
|
|
1059
|
-
const _sfc_main$1J = create$1J(component$
|
|
1059
|
+
const _sfc_main$1J = create$1J(component$8);
|
|
1060
1060
|
const { componentName: componentName$1m, create: create$1I } = createComponent("image");
|
|
1061
1061
|
const _sfc_main$1I = create$1I({
|
|
1062
1062
|
props: {
|
|
@@ -1156,7 +1156,7 @@ const _hoisted_3$O = {
|
|
|
1156
1156
|
key: 1,
|
|
1157
1157
|
class: "nut-img-error"
|
|
1158
1158
|
};
|
|
1159
|
-
function _sfc_render$
|
|
1159
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1160
1160
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1161
1161
|
return openBlock(), createElementBlock("view", {
|
|
1162
1162
|
class: normalizeClass(_ctx.classes),
|
|
@@ -1187,7 +1187,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1187
1187
|
])) : createCommentVNode("", true)
|
|
1188
1188
|
], 6);
|
|
1189
1189
|
}
|
|
1190
|
-
var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$
|
|
1190
|
+
var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1x]]);
|
|
1191
1191
|
const { create: create$1H } = createComponent("layout");
|
|
1192
1192
|
const _sfc_main$1H = create$1H({});
|
|
1193
1193
|
const { componentName: componentName$1l, create: create$1G } = createComponent("col");
|
|
@@ -1231,7 +1231,7 @@ const _sfc_main$1G = create$1G({
|
|
|
1231
1231
|
};
|
|
1232
1232
|
}
|
|
1233
1233
|
});
|
|
1234
|
-
function _sfc_render$
|
|
1234
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1235
1235
|
return openBlock(), createElementBlock("view", {
|
|
1236
1236
|
class: normalizeClass(_ctx.classes),
|
|
1237
1237
|
style: normalizeStyle(_ctx.style),
|
|
@@ -1240,7 +1240,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1240
1240
|
renderSlot(_ctx.$slots, "default")
|
|
1241
1241
|
], 6);
|
|
1242
1242
|
}
|
|
1243
|
-
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$
|
|
1243
|
+
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1w]]);
|
|
1244
1244
|
const { componentName: componentName$1k, create: create$1F } = createComponent("row");
|
|
1245
1245
|
const _sfc_main$1F = create$1F({
|
|
1246
1246
|
props: {
|
|
@@ -1291,7 +1291,7 @@ const _sfc_main$1F = create$1F({
|
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
1293
1293
|
});
|
|
1294
|
-
function _sfc_render$
|
|
1294
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1295
1295
|
return openBlock(), createElementBlock("view", {
|
|
1296
1296
|
class: normalizeClass(_ctx.getClasses()),
|
|
1297
1297
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
@@ -1299,7 +1299,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1299
1299
|
renderSlot(_ctx.$slots, "default")
|
|
1300
1300
|
], 2);
|
|
1301
1301
|
}
|
|
1302
|
-
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$
|
|
1302
|
+
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1v]]);
|
|
1303
1303
|
function isWindow(val) {
|
|
1304
1304
|
return val === window;
|
|
1305
1305
|
}
|
|
@@ -1511,7 +1511,7 @@ const _sfc_main$1D = create$1D({
|
|
|
1511
1511
|
return { classes };
|
|
1512
1512
|
}
|
|
1513
1513
|
});
|
|
1514
|
-
function _sfc_render$
|
|
1514
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1515
1515
|
return _ctx.direction === "horizontal" ? (openBlock(), createElementBlock("view", {
|
|
1516
1516
|
key: 0,
|
|
1517
1517
|
class: normalizeClass(_ctx.classes)
|
|
@@ -1522,7 +1522,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1522
1522
|
class: normalizeClass(_ctx.classes)
|
|
1523
1523
|
}, null, 2));
|
|
1524
1524
|
}
|
|
1525
|
-
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$
|
|
1525
|
+
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1u]]);
|
|
1526
1526
|
function flattenVNodes(children, childName) {
|
|
1527
1527
|
const result = [];
|
|
1528
1528
|
const traverse = (children2) => {
|
|
@@ -1623,7 +1623,7 @@ const gridProps = {
|
|
|
1623
1623
|
default: false
|
|
1624
1624
|
}
|
|
1625
1625
|
};
|
|
1626
|
-
const component$
|
|
1626
|
+
const component$7 = {
|
|
1627
1627
|
props: gridProps,
|
|
1628
1628
|
setup(props, { slots }) {
|
|
1629
1629
|
useProvide(GRID_KEY, `${componentName$1h}-item`)({ props });
|
|
@@ -1651,7 +1651,7 @@ const component$6 = {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
1653
|
const { create: create$1C } = createComponent("grid");
|
|
1654
|
-
const _sfc_main$1C = create$1C(component$
|
|
1654
|
+
const _sfc_main$1C = create$1C(component$7);
|
|
1655
1655
|
function useInject(key) {
|
|
1656
1656
|
const parent = inject(key, null);
|
|
1657
1657
|
if (parent) {
|
|
@@ -1766,7 +1766,7 @@ const _hoisted_1$1g = {
|
|
|
1766
1766
|
key: 3,
|
|
1767
1767
|
class: "nut-grid-item__text"
|
|
1768
1768
|
};
|
|
1769
|
-
function _sfc_render$
|
|
1769
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1770
1770
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1771
1771
|
return openBlock(), createElementBlock("view", {
|
|
1772
1772
|
class: normalizeClass(_ctx.rootClass),
|
|
@@ -1777,18 +1777,19 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1777
1777
|
class: normalizeClass(_ctx.contentClass)
|
|
1778
1778
|
}, [
|
|
1779
1779
|
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1780
|
-
_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, {
|
|
1780
|
+
_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
1781
1781
|
key: 1,
|
|
1782
|
-
name: _ctx.iconProps.name
|
|
1782
|
+
name: _ctx.iconProps.name
|
|
1783
|
+
}, _ctx.$attrs, {
|
|
1783
1784
|
size: _ctx.iconProps.size,
|
|
1784
1785
|
color: _ctx.iconProps.color
|
|
1785
|
-
}, null,
|
|
1786
|
+
}), null, 16, ["name", "size", "color"])),
|
|
1786
1787
|
_ctx.$slots.text ? renderSlot(_ctx.$slots, "text", { key: 2 }) : (openBlock(), createElementBlock("view", _hoisted_1$1g, toDisplayString(_ctx.text), 1))
|
|
1787
1788
|
], 64))
|
|
1788
1789
|
], 2)
|
|
1789
1790
|
], 6);
|
|
1790
1791
|
}
|
|
1791
|
-
var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$
|
|
1792
|
+
var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1t]]);
|
|
1792
1793
|
const { componentName: componentName$1f, create: create$1A } = createComponent("navbar");
|
|
1793
1794
|
const _sfc_main$1A = create$1A({
|
|
1794
1795
|
props: {
|
|
@@ -1894,7 +1895,7 @@ const _hoisted_7$k = {
|
|
|
1894
1895
|
key: 0,
|
|
1895
1896
|
class: "nut-navbar__text"
|
|
1896
1897
|
};
|
|
1897
|
-
function _sfc_render$
|
|
1898
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1898
1899
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1899
1900
|
return _ctx.fixed && _ctx.placeholder ? (openBlock(), createElementBlock("view", _hoisted_1$1f, [
|
|
1900
1901
|
createElementVNode("view", {
|
|
@@ -1920,12 +1921,13 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1920
1921
|
class: "title",
|
|
1921
1922
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
|
|
1922
1923
|
}, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
1923
|
-
_ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
1924
|
+
_ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
1924
1925
|
key: 1,
|
|
1925
|
-
class: "icon"
|
|
1926
|
+
class: "icon"
|
|
1927
|
+
}, _ctx.$attrs, {
|
|
1926
1928
|
name: _ctx.titIcon,
|
|
1927
1929
|
onClick: _ctx.handleCenterIcon
|
|
1928
|
-
}, null,
|
|
1930
|
+
}), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
|
|
1929
1931
|
renderSlot(_ctx.$slots, "content")
|
|
1930
1932
|
]),
|
|
1931
1933
|
createElementVNode("view", {
|
|
@@ -1959,12 +1961,13 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1959
1961
|
class: "title",
|
|
1960
1962
|
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
|
|
1961
1963
|
}, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
1962
|
-
_ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
1964
|
+
_ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
1963
1965
|
key: 1,
|
|
1964
|
-
class: "icon"
|
|
1966
|
+
class: "icon"
|
|
1967
|
+
}, _ctx.$attrs, {
|
|
1965
1968
|
name: _ctx.titIcon,
|
|
1966
1969
|
onClick: _ctx.handleCenterIcon
|
|
1967
|
-
}, null,
|
|
1970
|
+
}), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
|
|
1968
1971
|
renderSlot(_ctx.$slots, "content")
|
|
1969
1972
|
]),
|
|
1970
1973
|
createElementVNode("view", {
|
|
@@ -1976,12 +1979,9 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1976
1979
|
])
|
|
1977
1980
|
], 6));
|
|
1978
1981
|
}
|
|
1979
|
-
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$
|
|
1980
|
-
const { componentName: componentName$1e,
|
|
1981
|
-
const
|
|
1982
|
-
components: {
|
|
1983
|
-
[OverLay.name]: OverLay
|
|
1984
|
-
},
|
|
1982
|
+
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1s]]);
|
|
1983
|
+
const { componentName: componentName$1e, translate: translate$t } = createComponent("fixednav");
|
|
1984
|
+
const component$6 = {
|
|
1985
1985
|
props: {
|
|
1986
1986
|
visible: {
|
|
1987
1987
|
type: Boolean,
|
|
@@ -1995,6 +1995,10 @@ const _sfc_main$1z = create$1z({
|
|
|
1995
1995
|
default: () => [],
|
|
1996
1996
|
type: Array
|
|
1997
1997
|
},
|
|
1998
|
+
activeColor: {
|
|
1999
|
+
default: "",
|
|
2000
|
+
type: String
|
|
2001
|
+
},
|
|
1998
2002
|
activeText: {
|
|
1999
2003
|
default: "",
|
|
2000
2004
|
type: String
|
|
@@ -2027,6 +2031,7 @@ const _sfc_main$1z = create$1z({
|
|
|
2027
2031
|
[props.type]: true
|
|
2028
2032
|
};
|
|
2029
2033
|
});
|
|
2034
|
+
const current = ref(-1);
|
|
2030
2035
|
const updateValue = (value = !props.visible) => {
|
|
2031
2036
|
emit("update:visible", value);
|
|
2032
2037
|
};
|
|
@@ -2035,10 +2040,11 @@ const _sfc_main$1z = create$1z({
|
|
|
2035
2040
|
item,
|
|
2036
2041
|
event
|
|
2037
2042
|
});
|
|
2043
|
+
current.value = item.id;
|
|
2038
2044
|
};
|
|
2039
|
-
return { classes, updateValue, selected, translate: translate$t };
|
|
2045
|
+
return { classes, updateValue, selected, translate: translate$t, current };
|
|
2040
2046
|
}
|
|
2041
|
-
}
|
|
2047
|
+
};
|
|
2042
2048
|
const _hoisted_1$1e = { class: "nut-fixednav__list" };
|
|
2043
2049
|
const _hoisted_2$10 = ["onClick"];
|
|
2044
2050
|
const _hoisted_3$M = ["src"];
|
|
@@ -2048,7 +2054,7 @@ const _hoisted_5$s = {
|
|
|
2048
2054
|
class: "b"
|
|
2049
2055
|
};
|
|
2050
2056
|
const _hoisted_6$p = { class: "text" };
|
|
2051
|
-
function
|
|
2057
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2052
2058
|
const _component_nut_overlay = resolveComponent("nut-overlay");
|
|
2053
2059
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
2054
2060
|
return openBlock(), createElementBlock("view", {
|
|
@@ -2065,7 +2071,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2065
2071
|
createElementVNode("view", _hoisted_1$1e, [
|
|
2066
2072
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navList, (item, index) => {
|
|
2067
2073
|
return openBlock(), createElementBlock("view", {
|
|
2068
|
-
class: "nut-fixednav__list-item",
|
|
2074
|
+
class: normalizeClass(["nut-fixednav__list-item", { active: item.id == _ctx.current }]),
|
|
2069
2075
|
onClick: ($event) => _ctx.selected(item, $event),
|
|
2070
2076
|
key: item.id || index
|
|
2071
2077
|
}, [
|
|
@@ -2074,7 +2080,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2074
2080
|
}, null, 8, _hoisted_3$M),
|
|
2075
2081
|
createElementVNode("view", _hoisted_4$C, toDisplayString(item.text), 1),
|
|
2076
2082
|
item.num ? (openBlock(), createElementBlock("view", _hoisted_5$s, toDisplayString(item.num), 1)) : createCommentVNode("", true)
|
|
2077
|
-
],
|
|
2083
|
+
], 10, _hoisted_2$10);
|
|
2078
2084
|
}), 128))
|
|
2079
2085
|
])
|
|
2080
2086
|
]),
|
|
@@ -2092,7 +2098,9 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2092
2098
|
])
|
|
2093
2099
|
], 6);
|
|
2094
2100
|
}
|
|
2095
|
-
|
|
2101
|
+
const { create: create$1z } = createComponent("fixednav");
|
|
2102
|
+
const _sfc_main$1z = create$1z(component$6);
|
|
2103
|
+
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", render$2]]);
|
|
2096
2104
|
const { componentName: componentName$1d, create: create$1y } = createComponent("menu");
|
|
2097
2105
|
const _sfc_main$1y = create$1y({
|
|
2098
2106
|
props: {
|
|
@@ -2112,6 +2120,7 @@ const _sfc_main$1y = create$1y({
|
|
|
2112
2120
|
type: [Number, String],
|
|
2113
2121
|
default: 0
|
|
2114
2122
|
},
|
|
2123
|
+
titleIcon: String,
|
|
2115
2124
|
closeOnClickOverlay: {
|
|
2116
2125
|
type: Boolean,
|
|
2117
2126
|
default: true
|
|
@@ -2244,11 +2253,11 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2244
2253
|
class: normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
|
|
2245
2254
|
}, [
|
|
2246
2255
|
createElementVNode("view", _hoisted_2$$, toDisplayString(item.renderTitle()), 1),
|
|
2247
|
-
createVNode(_component_nut_icon, {
|
|
2248
|
-
name:
|
|
2256
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
2257
|
+
name: _ctx.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
|
|
2249
2258
|
size: "10",
|
|
2250
2259
|
class: "nut-menu__title-icon"
|
|
2251
|
-
}, null,
|
|
2260
|
+
}), null, 16, ["name"])
|
|
2252
2261
|
], 2)
|
|
2253
2262
|
], 14, _hoisted_1$1d);
|
|
2254
2263
|
}), 128))
|
|
@@ -2274,7 +2283,6 @@ const _sfc_main$1x = create$1x({
|
|
|
2274
2283
|
type: Number,
|
|
2275
2284
|
default: 1
|
|
2276
2285
|
},
|
|
2277
|
-
titleIcon: String,
|
|
2278
2286
|
activeTitleClass: String,
|
|
2279
2287
|
inactiveTitleClass: String,
|
|
2280
2288
|
optionIcon: {
|
|
@@ -2406,12 +2414,11 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2406
2414
|
style: normalizeStyle({ "flex-basis": 100 / _ctx.cols + "%" }),
|
|
2407
2415
|
onClick: ($event) => _ctx.onClick(option)
|
|
2408
2416
|
}, [
|
|
2409
|
-
option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, {
|
|
2410
|
-
|
|
2411
|
-
class: normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
|
|
2417
|
+
option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
2418
|
+
class: { activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue },
|
|
2412
2419
|
name: _ctx.optionIcon,
|
|
2413
2420
|
color: _ctx.parent.props.activeColor
|
|
2414
|
-
}, null,
|
|
2421
|
+
}), null, 16, ["class", "name", "color"])) : createCommentVNode("", true),
|
|
2415
2422
|
createElementVNode("view", {
|
|
2416
2423
|
class: normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
|
|
2417
2424
|
style: normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
|
|
@@ -5445,12 +5452,12 @@ const _hoisted_5$m = {
|
|
|
5445
5452
|
const _hoisted_6$l = { class: "calendar-month-title" };
|
|
5446
5453
|
const _hoisted_7$i = { class: "calendar-month-con" };
|
|
5447
5454
|
const _hoisted_8$d = ["onClick"];
|
|
5448
|
-
const _hoisted_9$
|
|
5449
|
-
const _hoisted_10$
|
|
5455
|
+
const _hoisted_9$9 = { class: "calendar-day" };
|
|
5456
|
+
const _hoisted_10$6 = {
|
|
5450
5457
|
key: 0,
|
|
5451
5458
|
class: "calendar-curr-tips calendar-curr-tips-top"
|
|
5452
5459
|
};
|
|
5453
|
-
const _hoisted_11$
|
|
5460
|
+
const _hoisted_11$6 = {
|
|
5454
5461
|
key: 1,
|
|
5455
5462
|
class: "calendar-curr-tips calendar-curr-tips-bottom"
|
|
5456
5463
|
};
|
|
@@ -5462,7 +5469,7 @@ const _hoisted_13$3 = {
|
|
|
5462
5469
|
key: 4,
|
|
5463
5470
|
class: "calendar-day-tip"
|
|
5464
5471
|
};
|
|
5465
|
-
const _hoisted_14$
|
|
5472
|
+
const _hoisted_14$3 = {
|
|
5466
5473
|
key: 0,
|
|
5467
5474
|
class: "nut-calendar-footer"
|
|
5468
5475
|
};
|
|
@@ -5517,19 +5524,19 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5517
5524
|
class: normalizeClass(["calendar-month-day", _ctx.getClass(day, month)]),
|
|
5518
5525
|
onClick: ($event) => _ctx.chooseDay(day, month)
|
|
5519
5526
|
}, [
|
|
5520
|
-
createElementVNode("view", _hoisted_9$
|
|
5527
|
+
createElementVNode("view", _hoisted_9$9, [
|
|
5521
5528
|
renderSlot(_ctx.$slots, "day", {
|
|
5522
5529
|
date: day.type == "curr" ? day : ""
|
|
5523
5530
|
}, () => [
|
|
5524
5531
|
createTextVNode(toDisplayString(day.type == "curr" ? day.day : ""), 1)
|
|
5525
5532
|
])
|
|
5526
5533
|
]),
|
|
5527
|
-
_ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_10$
|
|
5534
|
+
_ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_10$6, [
|
|
5528
5535
|
renderSlot(_ctx.$slots, "topInfo", {
|
|
5529
5536
|
date: day.type == "curr" ? day : ""
|
|
5530
5537
|
})
|
|
5531
5538
|
])) : createCommentVNode("", true),
|
|
5532
|
-
_ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_11$
|
|
5539
|
+
_ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_11$6, [
|
|
5533
5540
|
renderSlot(_ctx.$slots, "bottomInfo", {
|
|
5534
5541
|
date: day.type == "curr" ? day : ""
|
|
5535
5542
|
})
|
|
@@ -5549,7 +5556,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5549
5556
|
], 4)
|
|
5550
5557
|
], 512)
|
|
5551
5558
|
], 544),
|
|
5552
|
-
_ctx.poppable && !_ctx.isAutoBackFill ? (openBlock(), createElementBlock("view", _hoisted_14$
|
|
5559
|
+
_ctx.poppable && !_ctx.isAutoBackFill ? (openBlock(), createElementBlock("view", _hoisted_14$3, [
|
|
5553
5560
|
createElementVNode("view", {
|
|
5554
5561
|
class: "calendar-confirm-btn",
|
|
5555
5562
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.confirm && _ctx.confirm(...args))
|
|
@@ -6403,6 +6410,12 @@ const _sfc_main$1d = create$1d({
|
|
|
6403
6410
|
}
|
|
6404
6411
|
};
|
|
6405
6412
|
const confirmHandler = () => {
|
|
6413
|
+
if (defaultValues.value && !defaultValues.value.length) {
|
|
6414
|
+
columnsList.value.forEach((columns) => {
|
|
6415
|
+
defaultValues.value.push(columns[0].value);
|
|
6416
|
+
selectedOptions.value.push(columns[0]);
|
|
6417
|
+
});
|
|
6418
|
+
}
|
|
6406
6419
|
emit("confirm", {
|
|
6407
6420
|
selectedValue: defaultValues.value,
|
|
6408
6421
|
selectedOptions: selectedOptions.value
|
|
@@ -7254,6 +7267,8 @@ const _sfc_main$1a = create$1a({
|
|
|
7254
7267
|
emit("blur", value, event);
|
|
7255
7268
|
};
|
|
7256
7269
|
const clear = (event) => {
|
|
7270
|
+
if (props.disabled)
|
|
7271
|
+
return;
|
|
7257
7272
|
emit("update:modelValue", "", event);
|
|
7258
7273
|
emit("change", "", event);
|
|
7259
7274
|
emit("clear", "", event);
|
|
@@ -7318,18 +7333,21 @@ const _hoisted_1$Y = { class: "label-string" };
|
|
|
7318
7333
|
const _hoisted_2$N = { class: "nut-input-value" };
|
|
7319
7334
|
const _hoisted_3$B = { class: "label-string" };
|
|
7320
7335
|
const _hoisted_4$t = { class: "nut-input-value" };
|
|
7321
|
-
const _hoisted_5$l =
|
|
7322
|
-
const _hoisted_6$k =
|
|
7323
|
-
const _hoisted_7$h =
|
|
7336
|
+
const _hoisted_5$l = { class: "nut-input-inner" };
|
|
7337
|
+
const _hoisted_6$k = { class: "nut-input-box" };
|
|
7338
|
+
const _hoisted_7$h = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
7339
|
+
const _hoisted_8$c = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
7340
|
+
const _hoisted_9$8 = { class: "nut-input-clear-box" };
|
|
7341
|
+
const _hoisted_10$5 = {
|
|
7324
7342
|
key: 0,
|
|
7325
7343
|
class: "nut-input-word-limit"
|
|
7326
7344
|
};
|
|
7327
|
-
const
|
|
7345
|
+
const _hoisted_11$5 = { class: "nut-input-word-num" };
|
|
7328
7346
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7329
7347
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
7330
7348
|
return openBlock(), createElementBlock("view", {
|
|
7331
7349
|
class: normalizeClass(_ctx.classes),
|
|
7332
|
-
onClick: _cache[
|
|
7350
|
+
onClick: _cache[11] || (_cache[11] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
7333
7351
|
}, [
|
|
7334
7352
|
_ctx.$slots.input ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7335
7353
|
_ctx.label ? (openBlock(), createElementBlock("view", {
|
|
@@ -7356,10 +7374,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7356
7374
|
class: "nut-input-left-icon",
|
|
7357
7375
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClickLeftIcon && _ctx.onClickLeftIcon(...args))
|
|
7358
7376
|
}, [
|
|
7359
|
-
createVNode(_component_nut_icon, {
|
|
7360
|
-
name: _ctx.leftIcon,
|
|
7361
|
-
size: _ctx.leftIconSize
|
|
7362
|
-
}, null, 8, ["name", "size"])
|
|
7377
|
+
createVNode(_component_nut_icon, mergeProps({ name: _ctx.leftIcon }, _ctx.$attrs, { size: _ctx.leftIconSize }), null, 16, ["name", "size"])
|
|
7363
7378
|
])) : createCommentVNode("", true),
|
|
7364
7379
|
_ctx.label ? (openBlock(), createElementBlock("view", {
|
|
7365
7380
|
key: 1,
|
|
@@ -7372,68 +7387,69 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7372
7387
|
createElementVNode("view", _hoisted_3$B, toDisplayString(_ctx.label) + " " + toDisplayString(_ctx.colon ? ":" : ""), 1)
|
|
7373
7388
|
], 6)) : createCommentVNode("", true),
|
|
7374
7389
|
createElementVNode("view", _hoisted_4$t, [
|
|
7375
|
-
createElementVNode("view",
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
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
|
-
|
|
7390
|
+
createElementVNode("view", _hoisted_5$l, [
|
|
7391
|
+
createElementVNode("view", _hoisted_6$k, [
|
|
7392
|
+
_ctx.type == "textarea" ? (openBlock(), createElementBlock("textarea", {
|
|
7393
|
+
key: 0,
|
|
7394
|
+
class: "input-text",
|
|
7395
|
+
ref: "inputRef",
|
|
7396
|
+
style: normalizeStyle(_ctx.stylesTextarea),
|
|
7397
|
+
maxlength: _ctx.maxLength,
|
|
7398
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
7399
|
+
disabled: _ctx.disabled,
|
|
7400
|
+
readonly: _ctx.readonly,
|
|
7401
|
+
value: _ctx.modelValue,
|
|
7402
|
+
formatTrigger: _ctx.formatTrigger,
|
|
7403
|
+
autofocus: _ctx.autofocus,
|
|
7404
|
+
onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
7405
|
+
onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
7406
|
+
onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
7407
|
+
onClick: _cache[5] || (_cache[5] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
|
|
7408
|
+
}, null, 44, _hoisted_7$h)) : (openBlock(), createElementBlock("input", {
|
|
7409
|
+
key: 1,
|
|
7410
|
+
class: "input-text",
|
|
7411
|
+
ref: "inputRef",
|
|
7412
|
+
style: normalizeStyle(_ctx.styles),
|
|
7413
|
+
type: _ctx.inputType(_ctx.type),
|
|
7414
|
+
maxlength: _ctx.maxLength,
|
|
7415
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
7416
|
+
disabled: _ctx.disabled,
|
|
7417
|
+
readonly: _ctx.readonly,
|
|
7418
|
+
value: _ctx.modelValue,
|
|
7419
|
+
formatTrigger: _ctx.formatTrigger,
|
|
7420
|
+
autofocus: _ctx.autofocus,
|
|
7421
|
+
onInput: _cache[6] || (_cache[6] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
7422
|
+
onFocus: _cache[7] || (_cache[7] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
7423
|
+
onBlur: _cache[8] || (_cache[8] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
7424
|
+
onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
|
|
7425
|
+
}, null, 44, _hoisted_8$c))
|
|
7426
|
+
]),
|
|
7427
|
+
createElementVNode("view", _hoisted_9$8, [
|
|
7428
|
+
_ctx.clearable && !_ctx.readonly ? withDirectives((openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
7429
|
+
key: 0,
|
|
7430
|
+
class: "nut-input-clear",
|
|
7431
|
+
name: _ctx.clearIcon
|
|
7432
|
+
}, _ctx.$attrs, {
|
|
7433
|
+
size: _ctx.clearSize,
|
|
7434
|
+
onClick: _ctx.clear
|
|
7435
|
+
}), null, 16, ["name", "size", "onClick"])), [
|
|
7436
|
+
[vShow, _ctx.active && _ctx.modelValue.length > 0]
|
|
7437
|
+
]) : createCommentVNode("", true)
|
|
7438
|
+
]),
|
|
7420
7439
|
_ctx.rightIcon && _ctx.rightIcon.length > 0 ? (openBlock(), createElementBlock("view", {
|
|
7421
|
-
key:
|
|
7440
|
+
key: 0,
|
|
7422
7441
|
class: "nut-input-right-icon",
|
|
7423
|
-
onClick: _cache[
|
|
7442
|
+
onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
|
|
7424
7443
|
}, [
|
|
7425
|
-
createVNode(_component_nut_icon, {
|
|
7426
|
-
name: _ctx.rightIcon,
|
|
7427
|
-
size: _ctx.rightIconSize
|
|
7428
|
-
}, null, 8, ["name", "size"])
|
|
7444
|
+
createVNode(_component_nut_icon, mergeProps({ name: _ctx.rightIcon }, _ctx.$attrs, { size: _ctx.rightIconSize }), null, 16, ["name", "size"])
|
|
7429
7445
|
])) : createCommentVNode("", true),
|
|
7430
7446
|
_ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {
|
|
7431
|
-
key:
|
|
7447
|
+
key: 1,
|
|
7432
7448
|
class: "nut-input-button"
|
|
7433
7449
|
}) : createCommentVNode("", true)
|
|
7434
7450
|
]),
|
|
7435
|
-
_ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view",
|
|
7436
|
-
createElementVNode("span",
|
|
7451
|
+
_ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_10$5, [
|
|
7452
|
+
createElementVNode("span", _hoisted_11$5, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
|
|
7437
7453
|
createTextVNode("/" + toDisplayString(_ctx.maxLength), 1)
|
|
7438
7454
|
])) : createCommentVNode("", true),
|
|
7439
7455
|
_ctx.errorMessage ? (openBlock(), createElementBlock("view", {
|
|
@@ -8186,34 +8202,38 @@ class Uploader$1 {
|
|
|
8186
8202
|
if (env === "WEB") {
|
|
8187
8203
|
this.upload();
|
|
8188
8204
|
} else {
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
(
|
|
8205
|
+
if (options.beforeXhrUpload) {
|
|
8206
|
+
options.beforeXhrUpload(uploadFile, options);
|
|
8207
|
+
} else {
|
|
8208
|
+
const uploadTask = uploadFile({
|
|
8209
|
+
url: options.url,
|
|
8210
|
+
filePath: options.taroFilePath,
|
|
8211
|
+
fileType: options.fileType,
|
|
8212
|
+
header: {
|
|
8213
|
+
"Content-Type": "multipart/form-data",
|
|
8214
|
+
...options.headers
|
|
8215
|
+
},
|
|
8216
|
+
formData: options.formData,
|
|
8217
|
+
name: options.name,
|
|
8218
|
+
success(response) {
|
|
8219
|
+
var _a2, _b;
|
|
8220
|
+
if (options.xhrState == response.statusCode) {
|
|
8221
|
+
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
8222
|
+
} else {
|
|
8223
|
+
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
8224
|
+
}
|
|
8225
|
+
},
|
|
8226
|
+
fail(e) {
|
|
8227
|
+
var _a2;
|
|
8228
|
+
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
8205
8229
|
}
|
|
8206
|
-
}
|
|
8207
|
-
|
|
8230
|
+
});
|
|
8231
|
+
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
8232
|
+
uploadTask.progress((res) => {
|
|
8208
8233
|
var _a2;
|
|
8209
|
-
(_a2 = options.
|
|
8210
|
-
}
|
|
8211
|
-
}
|
|
8212
|
-
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
8213
|
-
uploadTask.progress((res) => {
|
|
8214
|
-
var _a2;
|
|
8215
|
-
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
8216
|
-
});
|
|
8234
|
+
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
8235
|
+
});
|
|
8236
|
+
}
|
|
8217
8237
|
}
|
|
8218
8238
|
}
|
|
8219
8239
|
}
|
|
@@ -8483,7 +8503,7 @@ const _hoisted_13$2 = {
|
|
|
8483
8503
|
key: 1,
|
|
8484
8504
|
class: "nut-uploader__preview-list"
|
|
8485
8505
|
};
|
|
8486
|
-
const _hoisted_14$
|
|
8506
|
+
const _hoisted_14$2 = ["onClick"];
|
|
8487
8507
|
const _hoisted_15$1 = ["accept", "multiple", "name", "disabled"];
|
|
8488
8508
|
const _hoisted_16$1 = ["accept", "multiple", "name", "disabled"];
|
|
8489
8509
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -8563,7 +8583,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8563
8583
|
}, [
|
|
8564
8584
|
createVNode(_component_nut_icon, { name: "link" }),
|
|
8565
8585
|
createTextVNode("\xA0" + toDisplayString(item.name), 1)
|
|
8566
|
-
], 10, _hoisted_14$
|
|
8586
|
+
], 10, _hoisted_14$2),
|
|
8567
8587
|
createVNode(_component_nut_icon, {
|
|
8568
8588
|
class: "nut-uploader__preview-img__file__del",
|
|
8569
8589
|
onClick: ($event) => _ctx.onDelete(item, index),
|
|
@@ -8584,11 +8604,11 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8584
8604
|
key: 1,
|
|
8585
8605
|
class: normalizeClass(["nut-uploader__upload", [_ctx.listType]])
|
|
8586
8606
|
}, [
|
|
8587
|
-
createVNode(_component_nut_icon, {
|
|
8607
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
8588
8608
|
size: _ctx.uploadIconSize,
|
|
8589
8609
|
color: "#808080",
|
|
8590
8610
|
name: _ctx.uploadIcon
|
|
8591
|
-
}, null,
|
|
8611
|
+
}), null, 16, ["size", "name"]),
|
|
8592
8612
|
_ctx.capture ? (openBlock(), createElementBlock("input", {
|
|
8593
8613
|
key: 0,
|
|
8594
8614
|
class: "nut-uploader__input",
|
|
@@ -8702,19 +8722,17 @@ const _sfc_main$13 = create$13({
|
|
|
8702
8722
|
if (customKeys.length > 2) {
|
|
8703
8723
|
customKeys = [customKeys[0], customKeys[1]];
|
|
8704
8724
|
}
|
|
8725
|
+
if (customKeys.length == 2 && props.title && props.type != "rightColumn") {
|
|
8726
|
+
customKeys = [customKeys[0]];
|
|
8727
|
+
}
|
|
8705
8728
|
if (customKeys.length === 1) {
|
|
8706
|
-
if (props.title) {
|
|
8729
|
+
if (props.title && props.type != "rightColumn") {
|
|
8707
8730
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: "delete", type: "delete" });
|
|
8708
8731
|
} else {
|
|
8709
8732
|
keys.push({ id: 0, type: "number" }, { id: customKeys[0], type: "custom" });
|
|
8710
8733
|
}
|
|
8711
8734
|
} else if (customKeys.length === 2) {
|
|
8712
8735
|
keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: customKeys[1], type: "custom" });
|
|
8713
|
-
if (props.title) {
|
|
8714
|
-
keys.push({ id: "delete", type: "delete" });
|
|
8715
|
-
}
|
|
8716
|
-
} else {
|
|
8717
|
-
keys.push({ id: 0, type: "number" });
|
|
8718
8736
|
}
|
|
8719
8737
|
return keys;
|
|
8720
8738
|
}
|
|
@@ -8818,10 +8836,11 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8818
8836
|
createElementVNode("div", _hoisted_1$T, [
|
|
8819
8837
|
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
|
|
8820
8838
|
createElementVNode("h3", _hoisted_3$y, toDisplayString(_ctx.title), 1),
|
|
8821
|
-
|
|
8839
|
+
_ctx.type == "default" ? (openBlock(), createElementBlock("span", {
|
|
8840
|
+
key: 0,
|
|
8822
8841
|
class: "keyboard-close",
|
|
8823
8842
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.closeBoard())
|
|
8824
|
-
}, toDisplayString(_ctx.translate("done")), 1)
|
|
8843
|
+
}, toDisplayString(_ctx.translate("done")), 1)) : createCommentVNode("", true)
|
|
8825
8844
|
])) : createCommentVNode("", true),
|
|
8826
8845
|
createElementVNode("div", _hoisted_4$q, [
|
|
8827
8846
|
createElementVNode("div", _hoisted_5$i, [
|
|
@@ -8864,15 +8883,14 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8864
8883
|
onTouchend: _cache[4] || (_cache[4] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
|
|
8865
8884
|
}, _hoisted_12$3, 34)
|
|
8866
8885
|
]),
|
|
8867
|
-
|
|
8868
|
-
key: 0,
|
|
8886
|
+
createElementVNode("div", {
|
|
8869
8887
|
class: "key-board-wrapper key-board-finish",
|
|
8870
8888
|
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.closeBoard())
|
|
8871
8889
|
}, [
|
|
8872
8890
|
createElementVNode("div", {
|
|
8873
8891
|
class: normalizeClass(["key", "finish", { activeFinsh: _ctx.clickKeyIndex == "finish" }])
|
|
8874
8892
|
}, toDisplayString(_ctx.confirmText || _ctx.translate("done")), 3)
|
|
8875
|
-
])
|
|
8893
|
+
])
|
|
8876
8894
|
])) : createCommentVNode("", true)
|
|
8877
8895
|
])
|
|
8878
8896
|
], 512)
|
|
@@ -10544,7 +10562,7 @@ class DialogFunction {
|
|
|
10544
10562
|
};
|
|
10545
10563
|
this.instance = createVNode(Wrapper);
|
|
10546
10564
|
elWarp.appendChild(root);
|
|
10547
|
-
render$
|
|
10565
|
+
render$4(this.instance, root);
|
|
10548
10566
|
}
|
|
10549
10567
|
}
|
|
10550
10568
|
const _Dialog = function(options) {
|
|
@@ -10774,10 +10792,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10774
10792
|
style: normalizeStyle(_ctx.getStyle)
|
|
10775
10793
|
}, [
|
|
10776
10794
|
createElementVNode("view", _hoisted_1$M, [
|
|
10777
|
-
createVNode(_component_nut_icon, {
|
|
10778
|
-
class: "top-img",
|
|
10779
|
-
name: _ctx.pullIcon
|
|
10780
|
-
}, null, 8, ["name"]),
|
|
10795
|
+
createVNode(_component_nut_icon, mergeProps({ class: "top-img" }, _ctx.$attrs, { name: _ctx.pullIcon }), null, 16, ["name"]),
|
|
10781
10796
|
createElementVNode("view", _hoisted_2$D, toDisplayString(_ctx.pullTxt || _ctx.translate("pullTxt")), 1)
|
|
10782
10797
|
])
|
|
10783
10798
|
], 4),
|
|
@@ -10787,10 +10802,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10787
10802
|
createElementVNode("view", _hoisted_4$n, [
|
|
10788
10803
|
_ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_5$g, [
|
|
10789
10804
|
!_ctx.slots.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
10790
|
-
createVNode(_component_nut_icon, {
|
|
10791
|
-
class: "bottom-img",
|
|
10792
|
-
name: _ctx.loadIcon
|
|
10793
|
-
}, null, 8, ["name"]),
|
|
10805
|
+
createVNode(_component_nut_icon, mergeProps({ class: "bottom-img" }, _ctx.$attrs, { name: _ctx.loadIcon }), null, 16, ["name"]),
|
|
10794
10806
|
createElementVNode("view", _hoisted_6$f, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
|
|
10795
10807
|
], 64)) : renderSlot(_ctx.$slots, "loading", { key: 1 })
|
|
10796
10808
|
])) : !_ctx.hasMore ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -10943,7 +10955,7 @@ const updateNotify = (opts) => {
|
|
|
10943
10955
|
opts = { ...defaultOptions$1, ...opts };
|
|
10944
10956
|
}
|
|
10945
10957
|
const instance = createVNode(Notify, opts);
|
|
10946
|
-
render$
|
|
10958
|
+
render$4(instance, container);
|
|
10947
10959
|
return instance.component.ctx;
|
|
10948
10960
|
}
|
|
10949
10961
|
};
|
|
@@ -10979,7 +10991,7 @@ const mountNotify = (opts) => {
|
|
|
10979
10991
|
};
|
|
10980
10992
|
const instance = createVNode(Wrapper);
|
|
10981
10993
|
document.body.appendChild(root);
|
|
10982
|
-
render$
|
|
10994
|
+
render$4(instance, root);
|
|
10983
10995
|
};
|
|
10984
10996
|
const errorMsg$1 = (msg) => {
|
|
10985
10997
|
if (!msg) {
|
|
@@ -11456,12 +11468,13 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11456
11468
|
style: normalizeStyle(_ctx.style)
|
|
11457
11469
|
}, [
|
|
11458
11470
|
createElementVNode("view", _hoisted_1$K, [
|
|
11459
|
-
_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
|
|
11471
|
+
_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
11460
11472
|
key: 0,
|
|
11461
|
-
name: _ctx.name
|
|
11473
|
+
name: _ctx.name
|
|
11474
|
+
}, _ctx.$attrs, {
|
|
11462
11475
|
size: _ctx.size,
|
|
11463
11476
|
color: _ctx.color
|
|
11464
|
-
}, null,
|
|
11477
|
+
}), null, 16, ["name", "size", "color"])) : createCommentVNode("", true),
|
|
11465
11478
|
_ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11466
11479
|
withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
|
|
11467
11480
|
[vShow, _ctx.modelValue]
|
|
@@ -11641,11 +11654,10 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11641
11654
|
})
|
|
11642
11655
|
}, [
|
|
11643
11656
|
_ctx.hasIcon ? (openBlock(), createElementBlock("view", _hoisted_1$J, [
|
|
11644
|
-
createVNode(_component_nut_icon, {
|
|
11645
|
-
size: _ctx.iconSize,
|
|
11657
|
+
createVNode(_component_nut_icon, mergeProps({ size: _ctx.iconSize }, _ctx.$attrs, {
|
|
11646
11658
|
color: "#ffffff",
|
|
11647
11659
|
name: _ctx.icon
|
|
11648
|
-
}, null,
|
|
11660
|
+
}), null, 16, ["size", "name"])
|
|
11649
11661
|
])) : createCommentVNode("", true),
|
|
11650
11662
|
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2$C, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
11651
11663
|
createElementVNode("view", {
|
|
@@ -11713,7 +11725,7 @@ const updateToast = (opts) => {
|
|
|
11713
11725
|
opts = { ...defaultOptions, ...opts };
|
|
11714
11726
|
}
|
|
11715
11727
|
const instance = createVNode(Toast, opts);
|
|
11716
|
-
render$
|
|
11728
|
+
render$4(instance, container);
|
|
11717
11729
|
return instance.component.ctx;
|
|
11718
11730
|
}
|
|
11719
11731
|
};
|
|
@@ -11735,7 +11747,7 @@ const mountToast = (opts) => {
|
|
|
11735
11747
|
const container = document.createElement("div");
|
|
11736
11748
|
container.id = opts.id;
|
|
11737
11749
|
const instance = createVNode(Toast, opts);
|
|
11738
|
-
render$
|
|
11750
|
+
render$4(instance, container);
|
|
11739
11751
|
document.body.appendChild(container);
|
|
11740
11752
|
return instance.component.ctx;
|
|
11741
11753
|
};
|
|
@@ -12021,9 +12033,7 @@ const _sfc_main$P = create$P({
|
|
|
12021
12033
|
props: {
|
|
12022
12034
|
type: {
|
|
12023
12035
|
type: String,
|
|
12024
|
-
default()
|
|
12025
|
-
return "play";
|
|
12026
|
-
}
|
|
12036
|
+
default: () => "play"
|
|
12027
12037
|
}
|
|
12028
12038
|
},
|
|
12029
12039
|
components: {},
|
|
@@ -12256,11 +12266,10 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12256
12266
|
src: _ctx.url,
|
|
12257
12267
|
alt: _ctx.alt,
|
|
12258
12268
|
onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
|
|
12259
|
-
}, null, 40, _hoisted_1$G)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
12260
|
-
key: 1,
|
|
12269
|
+
}, null, 40, _hoisted_1$G)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
12261
12270
|
class: "icon",
|
|
12262
12271
|
name: _ctx.iconStyles
|
|
12263
|
-
}, null,
|
|
12272
|
+
}), null, 16, ["name"])) : createCommentVNode("", true),
|
|
12264
12273
|
_ctx.isShowText ? (openBlock(), createElementBlock("view", _hoisted_2$z, [
|
|
12265
12274
|
renderSlot(_ctx.$slots, "default")
|
|
12266
12275
|
])) : createCommentVNode("", true)
|
|
@@ -12569,12 +12578,11 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12569
12578
|
_ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
|
|
12570
12579
|
key: 0,
|
|
12571
12580
|
style: normalizeStyle(_ctx.textStyle)
|
|
12572
|
-
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, {
|
|
12573
|
-
key: 1,
|
|
12581
|
+
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
|
|
12574
12582
|
size: "16px",
|
|
12575
12583
|
name: _ctx.iconName,
|
|
12576
12584
|
color: _ctx.iconColor
|
|
12577
|
-
}, null,
|
|
12585
|
+
}), null, 16, ["name", "color"])) : createCommentVNode("", true)
|
|
12578
12586
|
], 4)) : createCommentVNode("", true)
|
|
12579
12587
|
]);
|
|
12580
12588
|
}
|
|
@@ -13046,10 +13054,10 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13046
13054
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
|
|
13047
13055
|
}, [
|
|
13048
13056
|
renderSlot(_ctx.$slots, "right-icon", {}, () => [
|
|
13049
|
-
createVNode(_component_nut_icon, {
|
|
13057
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
13050
13058
|
name: _ctx.rightIcon ? _ctx.rightIcon : "close",
|
|
13051
13059
|
color: _ctx.color
|
|
13052
|
-
}, null,
|
|
13060
|
+
}), null, 16, ["name", "color"])
|
|
13053
13061
|
])
|
|
13054
13062
|
])) : createCommentVNode("", true)
|
|
13055
13063
|
], 6)), [
|
|
@@ -13630,13 +13638,14 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13630
13638
|
createElementVNode("view", {
|
|
13631
13639
|
class: normalizeClass(["nut-step-icon", [!_ctx.dot ? _ctx.icon ? "is-icon" : "is-text" : ""]])
|
|
13632
13640
|
}, [
|
|
13633
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
13641
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
13634
13642
|
key: 0,
|
|
13635
|
-
class: "nut-step-icon-inner"
|
|
13643
|
+
class: "nut-step-icon-inner"
|
|
13644
|
+
}, _ctx.$attrs, {
|
|
13636
13645
|
color: _ctx.iconColor,
|
|
13637
13646
|
name: _ctx.icon,
|
|
13638
13647
|
size: _ctx.size
|
|
13639
|
-
}, null,
|
|
13648
|
+
}), null, 16, ["color", "name", "size"])) : _ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [], 64)) : (openBlock(), createElementBlock("view", _hoisted_3$n, toDisplayString(_ctx.index), 1))
|
|
13640
13649
|
], 2)
|
|
13641
13650
|
]),
|
|
13642
13651
|
createElementVNode("view", _hoisted_4$j, [
|
|
@@ -14753,10 +14762,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14753
14762
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleCloseIcon && _ctx.handleCloseIcon(...args)),
|
|
14754
14763
|
style: normalizeStyle(_ctx.styles)
|
|
14755
14764
|
}, [
|
|
14756
|
-
createVNode(_component_nut_icon, {
|
|
14757
|
-
name: _ctx.closeIcon,
|
|
14758
|
-
color: "#ffffff"
|
|
14759
|
-
}, null, 8, ["name"])
|
|
14765
|
+
createVNode(_component_nut_icon, mergeProps({ name: _ctx.closeIcon }, _ctx.$attrs, { color: "#ffffff" }), null, 16, ["name"])
|
|
14760
14766
|
], 4)) : createCommentVNode("", true)
|
|
14761
14767
|
]),
|
|
14762
14768
|
_: 1
|
|
@@ -14800,7 +14806,7 @@ class ImagePreviewFunction {
|
|
|
14800
14806
|
};
|
|
14801
14807
|
const instance = createVNode(Wrapper);
|
|
14802
14808
|
elWarp.appendChild(root);
|
|
14803
|
-
render$
|
|
14809
|
+
render$4(instance, root);
|
|
14804
14810
|
}
|
|
14805
14811
|
}
|
|
14806
14812
|
const _ImagePreview = function(options) {
|
|
@@ -15706,23 +15712,19 @@ const _sfc_main$w = create$w({
|
|
|
15706
15712
|
};
|
|
15707
15713
|
});
|
|
15708
15714
|
const getStyle = () => {
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
|
|
15715
|
+
const style = {};
|
|
15716
|
+
if (textColor.value) {
|
|
15717
|
+
style.color = textColor.value;
|
|
15718
|
+
} else if (color.value && plain.value) {
|
|
15719
|
+
style.color = color.value;
|
|
15714
15720
|
}
|
|
15715
15721
|
if (plain.value) {
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
};
|
|
15722
|
+
style.background = "#fff";
|
|
15723
|
+
style["border-color"] = color.value;
|
|
15724
|
+
} else if (color.value) {
|
|
15725
|
+
style.background = color.value;
|
|
15721
15726
|
}
|
|
15722
|
-
return
|
|
15723
|
-
color: "",
|
|
15724
|
-
background: ""
|
|
15725
|
-
};
|
|
15727
|
+
return style;
|
|
15726
15728
|
};
|
|
15727
15729
|
const onClose = (event) => {
|
|
15728
15730
|
event.stopPropagation();
|
|
@@ -16586,7 +16588,6 @@ const _sfc_main$v = create$v({
|
|
|
16586
16588
|
};
|
|
16587
16589
|
});
|
|
16588
16590
|
const createPopperInstance = () => {
|
|
16589
|
-
console.log(reference.value, popoverRef.value);
|
|
16590
16591
|
if (reference.value && popoverRef.value) {
|
|
16591
16592
|
return createPopper(reference.value, popoverRef.value.popupRef, {
|
|
16592
16593
|
placement: props.location,
|
|
@@ -16609,7 +16610,6 @@ const _sfc_main$v = create$v({
|
|
|
16609
16610
|
return null;
|
|
16610
16611
|
};
|
|
16611
16612
|
const clickOverlay = () => {
|
|
16612
|
-
console.log("\u5173\u95ED");
|
|
16613
16613
|
};
|
|
16614
16614
|
const uploadLocation = () => {
|
|
16615
16615
|
nextTick(() => {
|
|
@@ -16617,7 +16617,6 @@ const _sfc_main$v = create$v({
|
|
|
16617
16617
|
return;
|
|
16618
16618
|
if (!popper) {
|
|
16619
16619
|
popper = createPopperInstance();
|
|
16620
|
-
console.log(popper);
|
|
16621
16620
|
} else {
|
|
16622
16621
|
popper.setOptions({
|
|
16623
16622
|
placement: props.location
|
|
@@ -16715,10 +16714,10 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16715
16714
|
onClick: withModifiers(($event) => _ctx.chooseItem(item, index), ["stop"])
|
|
16716
16715
|
}, [
|
|
16717
16716
|
item.icon ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
|
|
16718
|
-
createVNode(_component_nut_icon, {
|
|
16717
|
+
createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
16719
16718
|
class: "item-img",
|
|
16720
16719
|
name: item.icon
|
|
16721
|
-
}, null,
|
|
16720
|
+
}), null, 16, ["name"])
|
|
16722
16721
|
]) : createCommentVNode("", true),
|
|
16723
16722
|
createElementVNode("view", _hoisted_2$o, toDisplayString(item.name), 1)
|
|
16724
16723
|
], 10, _hoisted_1$t);
|
|
@@ -17170,13 +17169,14 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17170
17169
|
createElementVNode("view", _hoisted_1$q, [
|
|
17171
17170
|
createElementVNode("view", null, [
|
|
17172
17171
|
createElementVNode("view", _hoisted_2$m, [
|
|
17173
|
-
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
17172
|
+
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
17174
17173
|
key: 0,
|
|
17175
|
-
name: _ctx.titleIcon
|
|
17174
|
+
name: _ctx.titleIcon
|
|
17175
|
+
}, _ctx.$attrs, {
|
|
17176
17176
|
size: _ctx.titleIconSize,
|
|
17177
17177
|
color: _ctx.titleIconColor,
|
|
17178
|
-
class:
|
|
17179
|
-
}, null,
|
|
17178
|
+
class: [_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"]
|
|
17179
|
+
}), null, 16, ["name", "size", "color", "class"])) : createCommentVNode("", true),
|
|
17180
17180
|
_ctx.$slots.mTitle ? renderSlot(_ctx.$slots, "mTitle", { key: 1 }) : (openBlock(), createElementBlock("view", {
|
|
17181
17181
|
key: 2,
|
|
17182
17182
|
innerHTML: _ctx.title,
|
|
@@ -17192,14 +17192,15 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17192
17192
|
innerHTML: _ctx.subTitle,
|
|
17193
17193
|
class: "subTitle"
|
|
17194
17194
|
}, null, 8, _hoisted_5$a)),
|
|
17195
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
17195
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
17196
17196
|
key: 2,
|
|
17197
|
-
name: _ctx.icon
|
|
17197
|
+
name: _ctx.icon
|
|
17198
|
+
}, _ctx.$attrs, {
|
|
17198
17199
|
size: _ctx.iconSize,
|
|
17199
17200
|
color: _ctx.iconColor,
|
|
17200
|
-
class:
|
|
17201
|
-
style:
|
|
17202
|
-
}, null,
|
|
17201
|
+
class: ["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }],
|
|
17202
|
+
style: _ctx.iconStyle
|
|
17203
|
+
}), null, 16, ["name", "size", "color", "class", "style"])) : createCommentVNode("", true)
|
|
17203
17204
|
], 2),
|
|
17204
17205
|
_ctx.$slots.extraRender ? (openBlock(), createElementBlock("view", _hoisted_6$9, [
|
|
17205
17206
|
createElementVNode("div", _hoisted_7$7, [
|
|
@@ -17752,7 +17753,6 @@ const _sfc_main$o = create$o({
|
|
|
17752
17753
|
const init = () => {
|
|
17753
17754
|
const canvas = document.createElement("canvas");
|
|
17754
17755
|
const ratio = window.devicePixelRatio;
|
|
17755
|
-
console.log(ratio);
|
|
17756
17756
|
const ctx = canvas.getContext("2d");
|
|
17757
17757
|
const canvasWidth = `${(gapX + width) * ratio}px`;
|
|
17758
17758
|
const canvasHeight = `${(gapY + height) * ratio}px`;
|
|
@@ -17772,7 +17772,6 @@ const _sfc_main$o = create$o({
|
|
|
17772
17772
|
ctx.drawImage(img, -imageWidth * ratio / 2, -imageHeight * ratio / 2, imageWidth * ratio, imageHeight * ratio);
|
|
17773
17773
|
ctx.restore();
|
|
17774
17774
|
state.base64Url = canvas.toDataURL();
|
|
17775
|
-
console.log(state.base64Url);
|
|
17776
17775
|
};
|
|
17777
17776
|
} else if (content) {
|
|
17778
17777
|
ctx.textBaseline = "middle";
|
|
@@ -17785,7 +17784,6 @@ const _sfc_main$o = create$o({
|
|
|
17785
17784
|
ctx.fillText(content, 0, 0);
|
|
17786
17785
|
ctx.restore();
|
|
17787
17786
|
state.base64Url = canvas.toDataURL();
|
|
17788
|
-
console.log(state.base64Url);
|
|
17789
17787
|
}
|
|
17790
17788
|
} else {
|
|
17791
17789
|
throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");
|
|
@@ -18208,7 +18206,7 @@ const _hoisted_11$1 = {
|
|
|
18208
18206
|
};
|
|
18209
18207
|
const _hoisted_12$1 = ["onClick"];
|
|
18210
18208
|
const _hoisted_13$1 = { class: "elevator-group" };
|
|
18211
|
-
const _hoisted_14 = {
|
|
18209
|
+
const _hoisted_14$1 = {
|
|
18212
18210
|
key: 2,
|
|
18213
18211
|
class: "exist-address"
|
|
18214
18212
|
};
|
|
@@ -18246,10 +18244,10 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18246
18244
|
class: "arrow-back",
|
|
18247
18245
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
|
|
18248
18246
|
}, [
|
|
18249
|
-
withDirectives(createVNode(_component_nut_icon, {
|
|
18247
|
+
withDirectives(createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
|
|
18250
18248
|
name: _ctx.backBtnIcon,
|
|
18251
18249
|
color: "#cccccc"
|
|
18252
|
-
}, null,
|
|
18250
|
+
}), null, 16, ["name"]), [
|
|
18253
18251
|
[vShow, _ctx.type == "exist" && _ctx.privateType == "custom" && _ctx.backBtnIcon]
|
|
18254
18252
|
])
|
|
18255
18253
|
]),
|
|
@@ -18258,12 +18256,11 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18258
18256
|
class: "arrow-close",
|
|
18259
18257
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
|
|
18260
18258
|
}, [
|
|
18261
|
-
_ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
18262
|
-
key: 0,
|
|
18259
|
+
_ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
18263
18260
|
name: _ctx.closeBtnIcon,
|
|
18264
18261
|
color: "#cccccc",
|
|
18265
18262
|
size: "18px"
|
|
18266
|
-
}, null,
|
|
18263
|
+
}), null, 16, ["name"])) : createCommentVNode("", true)
|
|
18267
18264
|
])
|
|
18268
18265
|
]),
|
|
18269
18266
|
_ctx.privateType == "custom" ? (openBlock(), createElementBlock("view", _hoisted_4$f, [
|
|
@@ -18291,13 +18288,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18291
18288
|
class: normalizeClass(["region-item", [_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? "active" : ""]]),
|
|
18292
18289
|
onClick: ($event) => _ctx.nextAreaList(item)
|
|
18293
18290
|
}, [
|
|
18294
|
-
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, {
|
|
18291
|
+
_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
18295
18292
|
key: 0,
|
|
18296
18293
|
class: "region-item-icon",
|
|
18297
|
-
type: "self"
|
|
18294
|
+
type: "self"
|
|
18295
|
+
}, _ctx.$attrs, {
|
|
18298
18296
|
name: _ctx.selectedIcon,
|
|
18299
18297
|
size: "13px"
|
|
18300
|
-
}, null,
|
|
18298
|
+
}), null, 16, ["name"])) : createCommentVNode("", true),
|
|
18301
18299
|
createTextVNode(toDisplayString(item.name), 1)
|
|
18302
18300
|
], 10, _hoisted_9$2);
|
|
18303
18301
|
}), 128))
|
|
@@ -18327,7 +18325,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18327
18325
|
onClickItem: _ctx.handleElevatorItem
|
|
18328
18326
|
}, null, 8, ["height", "index-list", "onClickItem"])
|
|
18329
18327
|
])
|
|
18330
|
-
])) : _ctx.privateType == "exist" ? (openBlock(), createElementBlock("view", _hoisted_14, [
|
|
18328
|
+
])) : _ctx.privateType == "exist" ? (openBlock(), createElementBlock("view", _hoisted_14$1, [
|
|
18331
18329
|
createElementVNode("div", _hoisted_15, [
|
|
18332
18330
|
createElementVNode("ul", _hoisted_16, [
|
|
18333
18331
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.existAddress, (item, index) => {
|
|
@@ -18336,12 +18334,13 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18336
18334
|
key: index,
|
|
18337
18335
|
onClick: ($event) => _ctx.selectedExist(item)
|
|
18338
18336
|
}, [
|
|
18339
|
-
createVNode(_component_nut_icon, {
|
|
18337
|
+
createVNode(_component_nut_icon, mergeProps({
|
|
18340
18338
|
class: "exist-item-icon",
|
|
18341
|
-
type: "self"
|
|
18339
|
+
type: "self"
|
|
18340
|
+
}, _ctx.$attrs, {
|
|
18342
18341
|
name: item.selectedAddress ? _ctx.selectedIcon : _ctx.defaultIcon,
|
|
18343
18342
|
size: "13px"
|
|
18344
|
-
}, null,
|
|
18343
|
+
}), null, 16, ["name"]),
|
|
18345
18344
|
createElementVNode("div", _hoisted_18, [
|
|
18346
18345
|
item.name && item.phone ? (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
18347
18346
|
createElementVNode("div", _hoisted_20, toDisplayString(item.name), 1),
|
|
@@ -19642,7 +19641,6 @@ const _sfc_main$a = create$a({
|
|
|
19642
19641
|
setup(props, { emit }) {
|
|
19643
19642
|
const delClick = (event) => {
|
|
19644
19643
|
emit("delIconClick", event, props.item);
|
|
19645
|
-
console.log(123);
|
|
19646
19644
|
event.stopPropagation();
|
|
19647
19645
|
};
|
|
19648
19646
|
const editClick = (event) => {
|
|
@@ -20091,7 +20089,6 @@ const _sfc_main$6 = create$6({
|
|
|
20091
20089
|
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"
|
|
20092
20090
|
});
|
|
20093
20091
|
const trowelData = () => {
|
|
20094
|
-
console.log("props.data", props.data);
|
|
20095
20092
|
if (Object.keys(props.dataMapOptions).length > 0) {
|
|
20096
20093
|
dataArray.value = props.data.map((item, index) => {
|
|
20097
20094
|
return floatData(dataInfo, item, props.dataMapOptions);
|
|
@@ -20277,7 +20274,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20277
20274
|
createElementVNode("div", {
|
|
20278
20275
|
class: normalizeClass([_ctx.checkIndex == index ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
|
|
20279
20276
|
onClick: ($event) => _ctx.getChildList(index)
|
|
20280
|
-
}, toDisplayString(item.catName), 11, _hoisted_4$5)
|
|
20277
|
+
}, toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4$5)
|
|
20281
20278
|
]);
|
|
20282
20279
|
}), 128))
|
|
20283
20280
|
])) : createCommentVNode("", true),
|
|
@@ -20286,7 +20283,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20286
20283
|
]);
|
|
20287
20284
|
}
|
|
20288
20285
|
var Category = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
20289
|
-
var index_vue_vue_type_style_index_0_lang = "";
|
|
20290
20286
|
const { componentName: componentName$4, create: create$4 } = createComponent("categorypane");
|
|
20291
20287
|
const _sfc_main$4 = create$4({
|
|
20292
20288
|
props: {
|
|
@@ -20340,13 +20336,14 @@ const _hoisted_13 = {
|
|
|
20340
20336
|
key: 2,
|
|
20341
20337
|
class: "nut-categorypane__selfItemList"
|
|
20342
20338
|
};
|
|
20339
|
+
const _hoisted_14 = ["onClick"];
|
|
20343
20340
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20344
20341
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
20345
20342
|
_ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
20346
20343
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
|
|
20347
20344
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
20348
|
-
createElementVNode("div", _hoisted_3$4, toDisplayString(item.catName), 1),
|
|
20349
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
20345
|
+
createElementVNode("div", _hoisted_3$4, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
20346
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
20350
20347
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
20351
20348
|
return openBlock(), createElementBlock("div", {
|
|
20352
20349
|
class: "nut-categorypane__childItem",
|
|
@@ -20357,7 +20354,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20357
20354
|
class: "nut-categorypane__childImg",
|
|
20358
20355
|
src: sku.backImg
|
|
20359
20356
|
}, null, 8, _hoisted_6$1),
|
|
20360
|
-
createElementVNode("div", _hoisted_7, toDisplayString(sku.catName), 1)
|
|
20357
|
+
createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
20361
20358
|
], 8, _hoisted_5$2);
|
|
20362
20359
|
}), 128))
|
|
20363
20360
|
])) : createCommentVNode("", true)
|
|
@@ -20367,15 +20364,15 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20367
20364
|
_ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
20368
20365
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
|
|
20369
20366
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
20370
|
-
createElementVNode("div", _hoisted_9, toDisplayString(item.catName), 1),
|
|
20371
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
20367
|
+
createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
20368
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
20372
20369
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
20373
20370
|
return openBlock(), createElementBlock("div", {
|
|
20374
20371
|
class: "nut-categorypane__childItem",
|
|
20375
20372
|
key,
|
|
20376
20373
|
onClick: ($event) => _ctx.onChange(sku)
|
|
20377
20374
|
}, [
|
|
20378
|
-
createElementVNode("div", _hoisted_12, toDisplayString(sku.catName), 1)
|
|
20375
|
+
createElementVNode("div", _hoisted_12, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
20379
20376
|
], 8, _hoisted_11);
|
|
20380
20377
|
}), 128))
|
|
20381
20378
|
])) : createCommentVNode("", true)
|
|
@@ -20387,8 +20384,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20387
20384
|
return openBlock(), createElementBlock("div", {
|
|
20388
20385
|
class: "nut-categorypane__skuName",
|
|
20389
20386
|
key,
|
|
20390
|
-
onClick:
|
|
20391
|
-
}, toDisplayString(sku.catName),
|
|
20387
|
+
onClick: ($event) => _ctx.onChange(sku)
|
|
20388
|
+
}, toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
|
|
20392
20389
|
}), 128))
|
|
20393
20390
|
])) : createCommentVNode("", true)
|
|
20394
20391
|
]);
|
|
@@ -20835,6 +20832,6 @@ function install(app) {
|
|
|
20835
20832
|
}
|
|
20836
20833
|
});
|
|
20837
20834
|
}
|
|
20838
|
-
const version = "3.2.
|
|
20835
|
+
const version = "3.2.1";
|
|
20839
20836
|
var nutui_vue_build = { install, version, Locale };
|
|
20840
20837
|
export { ActionSheet, Address, AddressList, Animate, Audio, AudioOperate, Avatar, AvatarGroup, BackTop, Badge, Barrage, Button, Calendar, CalendarItem, Card, Cascader, Category, CategoryPane, Cell, CellGroup, _sfc_main$1g as Checkbox, _sfc_main$1f as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, Comment, _sfc_main$1J as ConfigProvider, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Ecard, Elevator, Ellipsis, Empty, FixedNav, Form, FormItem, _sfc_main$1C as Grid, GridItem, _sfc_main$1P as Icon, Image$1 as Image, _ImagePreview as ImagePreview, Indicator, InfiniteLoading, Input, InputNumber, _sfc_main$1H as Layout, List, Locale, Menu, MenuItem, Navbar, NoticeBar, NotifyFunction as Notify, NumberKeyboard, OldPicker, OverLay, Pagination, Picker, Popover, Popup, Price, Progress, PullRefresh, _sfc_main$19 as Radio, _sfc_main$18 as RadioGroup, Range, Rate, Row, SearchBar, ShortPassword, SideNavBar, SideNavBarItem, Signature, Skeleton, Sku, Step, _sfc_main$G as Steps, _sfc_main$1E as Sticky, SubSideNavBar, Swipe, Swiper, SwiperItem, Switch, TabPane, Tabbar, TabbarItem, Table, Tabs, Tag, TextArea, TimeDetail, TimePannel, TimeSelect, ToastFunction as Toast, Uploader, Video, WaterMark, nutui_vue_build as default, install, version };
|