dpzvc3-ui 3.0.3 → 3.0.5

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.
Files changed (30) hide show
  1. package/dist/dpzvc3.esm.js +668 -651
  2. package/dist/dpzvc3.esm.js.map +1 -1
  3. package/dist/dpzvc3.esm.min.js +1 -1
  4. package/dist/dpzvc3.esm.min.js.map +1 -1
  5. package/dist/dpzvc3.js +212 -195
  6. package/dist/dpzvc3.js.map +1 -1
  7. package/dist/dpzvc3.min.js +1 -1
  8. package/dist/dpzvc3.min.js.map +1 -1
  9. package/dist-prod/91.e2fdec39667928bf57b9.js +3 -0
  10. package/dist-prod/{91.9d79b442ec3131707419.js.map → 91.e2fdec39667928bf57b9.js.map} +1 -1
  11. package/dist-prod/{cellswipe.53b0178e4638c201dcf1.chunk.js → cellswipe.04240414bed39e28e7b9.chunk.js} +2 -2
  12. package/dist-prod/{cellswipe.53b0178e4638c201dcf1.chunk.js.map → cellswipe.04240414bed39e28e7b9.chunk.js.map} +1 -1
  13. package/dist-prod/index.html +1 -1
  14. package/dist-prod/main.ca76d714164efdce0339.js +2 -0
  15. package/dist-prod/main.ca76d714164efdce0339.js.map +1 -0
  16. package/package.json +2 -2
  17. package/src/components/action-sheet/actionSheet.vue +8 -7
  18. package/src/components/app.vue +3 -5
  19. package/src/components/badge/badge.vue +3 -3
  20. package/src/components/cell/cell.vue +25 -5
  21. package/src/components/cell-swipe/cell-swipe.vue +5 -6
  22. package/src/components/header/header.vue +5 -4
  23. package/src/components/modal/modal.vue +3 -3
  24. package/src/components/popup/popup.vue +3 -3
  25. package/src/components/swipe/swipe.vue +4 -3
  26. package/src/lib/lib.js +22 -0
  27. package/dist-prod/91.9d79b442ec3131707419.js +0 -3
  28. package/dist-prod/main.09c75d988141f805e29c.js +0 -2
  29. package/dist-prod/main.09c75d988141f805e29c.js.map +0 -1
  30. /package/dist-prod/{91.9d79b442ec3131707419.js.LICENSE.txt → 91.e2fdec39667928bf57b9.js.LICENSE.txt} +0 -0
package/dist/dpzvc3.js CHANGED
@@ -4160,7 +4160,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `
4160
4160
  justify-content: center;
4161
4161
  flex-direction: column;
4162
4162
  }
4163
- `, "",{"version":3,"sources":["webpack://./radiobox-group.vue"],"names":[],"mappings":";AA4DA;EACE,aAAa;EACb,uBAAuB;EACvB,sBAAsB;AACxB","sourcesContent":["<template>\n <div :class=\"classes\">\n <slot />\n </div>\n</template>\n\n<script>\nimport { defineComponent, computed, watch, provide, ref } from 'vue'\n\nconst prefixCls = 'dpzvc3-radioBoxGroup'\n\nexport default defineComponent({\n name: 'RadioBoxGroup',\n props: {\n modelValue: {\n type: [String, Boolean, Number],\n default: ''\n },\n vertical: {\n type: Boolean,\n default: false\n }\n },\n emits: ['update:modelValue', 'on-change', 'on-form-change'],\n setup (props, { emit }) {\n const currentValue = ref(props.modelValue)\n\n // 提供给子组件\n provide('radioBoxGroup', {\n currentValue,\n change: (val) => {\n currentValue.value = val\n emit('update:modelValue', val)\n emit('on-change', val)\n emit('on-form-change', val)\n }\n })\n\n // 监听外部 v-model 改变\n watch(\n () => props.modelValue,\n (val) => {\n currentValue.value = val\n }\n )\n\n const classes = computed(() => [\n prefixCls,\n { [`${prefixCls}-vertical`]: props.vertical }\n ])\n\n return {\n classes,\n currentValue\n }\n }\n})\n</script>\n\n<style scoped>\n.dpzvc3-radioBoxGroup-vertical {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n</style>\n"],"sourceRoot":""}]);
4163
+ `, "",{"version":3,"sources":["webpack://./src/components/radioBox/radiobox-group.vue"],"names":[],"mappings":";AA4DA;EACE,aAAa;EACb,uBAAuB;EACvB,sBAAsB;AACxB","sourcesContent":["<template>\n <div :class=\"classes\">\n <slot />\n </div>\n</template>\n\n<script>\nimport { defineComponent, computed, watch, provide, ref } from 'vue'\n\nconst prefixCls = 'dpzvc3-radioBoxGroup'\n\nexport default defineComponent({\n name: 'RadioBoxGroup',\n props: {\n modelValue: {\n type: [String, Boolean, Number],\n default: ''\n },\n vertical: {\n type: Boolean,\n default: false\n }\n },\n emits: ['update:modelValue', 'on-change', 'on-form-change'],\n setup (props, { emit }) {\n const currentValue = ref(props.modelValue)\n\n // 提供给子组件\n provide('radioBoxGroup', {\n currentValue,\n change: (val) => {\n currentValue.value = val\n emit('update:modelValue', val)\n emit('on-change', val)\n emit('on-form-change', val)\n }\n })\n\n // 监听外部 v-model 改变\n watch(\n () => props.modelValue,\n (val) => {\n currentValue.value = val\n }\n )\n\n const classes = computed(() => [\n prefixCls,\n { [`${prefixCls}-vertical`]: props.vertical }\n ])\n\n return {\n classes,\n currentValue\n }\n }\n})\n</script>\n\n<style scoped>\n.dpzvc3-radioBoxGroup-vertical {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n</style>\n"],"sourceRoot":""}]);
4164
4164
  // Exports
4165
4165
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
4166
4166
 
@@ -4811,7 +4811,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `
4811
4811
  display: flex;
4812
4812
  flex-direction: column;
4813
4813
  }
4814
- `, "",{"version":3,"sources":["webpack://./checkbox-group.vue"],"names":[],"mappings":";AAqEA;EACE,aAAa;EACb,sBAAsB;AACxB","sourcesContent":["<template>\n <div\n :class=\"[\n 'dpzvc3-checkBoxGroup',\n vertical ? 'dpzvc3-checkBoxGroup-vertical' : ''\n ]\"\n >\n <slot />\n </div>\n</template>\n\n<script>\nimport { defineComponent, ref, watch, provide } from 'vue'\n// import Emitter from '../../mixin/emitter'\n\nexport default defineComponent({\n name: 'CheckBoxGroup',\n // mixins: [Emitter],\n\n props: {\n modelValue: {\n type: Array,\n default: () => []\n },\n single: {\n type: Boolean,\n default: false\n },\n vertical: {\n type: Boolean,\n default: false\n }\n },\n\n emits: ['update:modelValue', 'on-change'],\n\n setup (props, { emit }) {\n // alert(props)\n const currentValue = ref([...props.modelValue])\n\n /** 对外暴露给 checkbox 的方法 */\n const toggleOption = (label) => {\n let newValue = []\n newValue = [...label]\n // currentValue.value = newValue\n emit('update:modelValue', newValue)\n emit('on-change', newValue)\n }\n\n /** 提供给子 checkbox */\n provide('CheckBoxGroup', {\n currentValue,\n toggleOption\n // single: props.single\n })\n\n watch(\n () => props.modelValue,\n (val) => {\n currentValue.value = [...val]\n }\n )\n\n return {}\n }\n})\n</script>\n\n<style scoped>\n.dpzvc3-checkBoxGroup-vertical {\n display: flex;\n flex-direction: column;\n}\n</style>\n"],"sourceRoot":""}]);
4814
+ `, "",{"version":3,"sources":["webpack://./src/components/checkBox/checkbox-group.vue"],"names":[],"mappings":";AAqEA;EACE,aAAa;EACb,sBAAsB;AACxB","sourcesContent":["<template>\n <div\n :class=\"[\n 'dpzvc3-checkBoxGroup',\n vertical ? 'dpzvc3-checkBoxGroup-vertical' : ''\n ]\"\n >\n <slot />\n </div>\n</template>\n\n<script>\nimport { defineComponent, ref, watch, provide } from 'vue'\n// import Emitter from '../../mixin/emitter'\n\nexport default defineComponent({\n name: 'CheckBoxGroup',\n // mixins: [Emitter],\n\n props: {\n modelValue: {\n type: Array,\n default: () => []\n },\n single: {\n type: Boolean,\n default: false\n },\n vertical: {\n type: Boolean,\n default: false\n }\n },\n\n emits: ['update:modelValue', 'on-change'],\n\n setup (props, { emit }) {\n // alert(props)\n const currentValue = ref([...props.modelValue])\n\n /** 对外暴露给 checkbox 的方法 */\n const toggleOption = (label) => {\n let newValue = []\n newValue = [...label]\n // currentValue.value = newValue\n emit('update:modelValue', newValue)\n emit('on-change', newValue)\n }\n\n /** 提供给子 checkbox */\n provide('CheckBoxGroup', {\n currentValue,\n toggleOption\n // single: props.single\n })\n\n watch(\n () => props.modelValue,\n (val) => {\n currentValue.value = [...val]\n }\n )\n\n return {}\n }\n})\n</script>\n\n<style scoped>\n.dpzvc3-checkBoxGroup-vertical {\n display: flex;\n flex-direction: column;\n}\n</style>\n"],"sourceRoot":""}]);
4815
4815
  // Exports
4816
4816
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
4817
4817
 
@@ -5858,19 +5858,19 @@ const checkbox_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(che
5858
5858
 
5859
5859
  checkBox_checkbox.group = checkbox_group;
5860
5860
  /* harmony default export */ const checkBox = (checkBox_checkbox);
5861
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/header/header.vue?vue&type=template&id=3f178334
5861
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/header/header.vue?vue&type=template&id=3d91850c
5862
5862
 
5863
- var headervue_type_template_id_3f178334_hoisted_1 = {
5863
+ var headervue_type_template_id_3d91850c_hoisted_1 = {
5864
5864
  "class": "title dpzvc3-nowrap"
5865
5865
  };
5866
- var headervue_type_template_id_3f178334_hoisted_2 = {
5866
+ var headervue_type_template_id_3d91850c_hoisted_2 = {
5867
5867
  "class": "right"
5868
5868
  };
5869
5869
  var _hoisted_3 = {
5870
5870
  key: 0,
5871
5871
  "class": "header-place"
5872
5872
  };
5873
- function headervue_type_template_id_3f178334_render(_ctx, _cache, $props, $setup, $data, $options) {
5873
+ function headervue_type_template_id_3d91850c_render(_ctx, _cache, $props, $setup, $data, $options) {
5874
5874
  return _ctx.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
5875
5875
  key: 0,
5876
5876
  "class": (0,external_vue_.normalizeClass)(_ctx.classes)
@@ -5885,11 +5885,11 @@ function headervue_type_template_id_3f178334_render(_ctx, _cache, $props, $setup
5885
5885
  }, null, -1 /* CACHED */)), _cache[2] || (_cache[2] = (0,external_vue_.createElementVNode)("span", {
5886
5886
  "class": "text"
5887
5887
  }, "返回", -1 /* CACHED */))];
5888
- })]), (0,external_vue_.createElementVNode)("div", headervue_type_template_id_3f178334_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.title), 1 /* TEXT */), (0,external_vue_.createElementVNode)("div", headervue_type_template_id_3f178334_hoisted_2, [(0,external_vue_.renderSlot)(_ctx.$slots, "right", {}, function () {
5888
+ })]), (0,external_vue_.createElementVNode)("div", headervue_type_template_id_3d91850c_hoisted_1, (0,external_vue_.toDisplayString)(_ctx.title), 1 /* TEXT */), (0,external_vue_.createElementVNode)("div", headervue_type_template_id_3d91850c_hoisted_2, [(0,external_vue_.renderSlot)(_ctx.$slots, "right", {}, function () {
5889
5889
  return [_cache[3] || (_cache[3] = (0,external_vue_.createElementVNode)("div", null, null, -1 /* CACHED */))];
5890
5890
  })])]), _ctx.fixed ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_3)) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true);
5891
5891
  }
5892
- ;// ./src/components/header/header.vue?vue&type=template&id=3f178334
5892
+ ;// ./src/components/header/header.vue?vue&type=template&id=3d91850c
5893
5893
 
5894
5894
  ;// ./node_modules/vue-router/dist/devtools-EWN81iOl.mjs
5895
5895
  /*!
@@ -8647,9 +8647,11 @@ var headervue_type_script_lang_js_prefixCls = 'dpzvc3-header';
8647
8647
  }, function (val) {
8648
8648
  visible.value = val;
8649
8649
  });
8650
- (0,external_vue_.watch)(visible, function (val) {
8651
- emit('update:modelValue', val);
8652
- });
8650
+
8651
+ // watch(visible, val => {
8652
+ // emit('update:modelValue', val)
8653
+ // })
8654
+
8653
8655
  (0,external_vue_.watch)(function () {
8654
8656
  return props.wechat;
8655
8657
  }, function (val) {
@@ -8659,7 +8661,8 @@ var headervue_type_script_lang_js_prefixCls = 'dpzvc3-header';
8659
8661
  /** mounted 逻辑 */
8660
8662
  (0,external_vue_.onMounted)(function () {
8661
8663
  if ((isWeixin.value || isPcWeixin.value) && !isWechat.value) {
8662
- visible.value = false;
8664
+ // visible.value = false
8665
+ emit('update:modelValue', false);
8663
8666
  }
8664
8667
  });
8665
8668
 
@@ -8686,7 +8689,7 @@ var headervue_type_script_lang_js_prefixCls = 'dpzvc3-header';
8686
8689
 
8687
8690
 
8688
8691
  ;
8689
- const header_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(headervue_type_script_lang_js, [['render',headervue_type_template_id_3f178334_render]])
8692
+ const header_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(headervue_type_script_lang_js, [['render',headervue_type_template_id_3d91850c_render]])
8690
8693
 
8691
8694
  /* harmony default export */ const header = (header_exports_);
8692
8695
  ;// ./src/components/header/index.js
@@ -9495,33 +9498,33 @@ function message_message() {
9495
9498
  MGInstance = null;
9496
9499
  }
9497
9500
  });
9498
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/modal/modal.vue?vue&type=template&id=737e331f
9501
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/modal/modal.vue?vue&type=template&id=2638be96
9499
9502
 
9500
- var modalvue_type_template_id_737e331f_hoisted_1 = {
9503
+ var modalvue_type_template_id_2638be96_hoisted_1 = {
9501
9504
  key: 0,
9502
9505
  "class": "dpzvc3-modal-header"
9503
9506
  };
9504
- var modalvue_type_template_id_737e331f_hoisted_2 = {
9507
+ var modalvue_type_template_id_2638be96_hoisted_2 = {
9505
9508
  "class": "dpzvc3-modal-header-inner ellipse-fir"
9506
9509
  };
9507
- var modalvue_type_template_id_737e331f_hoisted_3 = {
9510
+ var modalvue_type_template_id_2638be96_hoisted_3 = {
9508
9511
  "class": "dpzvc3-modal-body"
9509
9512
  };
9510
9513
  var _hoisted_4 = {
9511
9514
  key: 1,
9512
9515
  "class": "dpzvc3-modal-footer"
9513
9516
  };
9514
- function modalvue_type_template_id_737e331f_render(_ctx, _cache, $props, $setup, $data, $options) {
9517
+ function modalvue_type_template_id_2638be96_render(_ctx, _cache, $props, $setup, $data, $options) {
9515
9518
  var _component_VButton = (0,external_vue_.resolveComponent)("VButton");
9516
9519
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", null, [(0,external_vue_.createCommentVNode)(" 遮罩层 "), (0,external_vue_.createVNode)(external_vue_.Transition, {
9517
9520
  name: "dpzvc3-ani-fade"
9518
9521
  }, {
9519
9522
  "default": (0,external_vue_.withCtx)(function () {
9520
- return [$setup.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9523
+ return [_ctx.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9521
9524
  key: 0,
9522
9525
  "class": "dpzvc3-modal-mask",
9523
9526
  onClick: _cache[0] || (_cache[0] = function () {
9524
- return $setup.mask && $setup.mask.apply($setup, arguments);
9527
+ return _ctx.mask && _ctx.mask.apply(_ctx, arguments);
9525
9528
  }),
9526
9529
  onTouchstart: _cache[1] || (_cache[1] = (0,external_vue_.withModifiers)(function () {}, ["prevent"])),
9527
9530
  onTouchmove: _cache[2] || (_cache[2] = (0,external_vue_.withModifiers)(function () {}, ["prevent"])),
@@ -9533,31 +9536,31 @@ function modalvue_type_template_id_737e331f_render(_ctx, _cache, $props, $setup,
9533
9536
  name: "dpzvc3-ani-scale"
9534
9537
  }, {
9535
9538
  "default": (0,external_vue_.withCtx)(function () {
9536
- return [$setup.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9539
+ return [_ctx.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9537
9540
  key: 0,
9538
9541
  "class": "dpzvc3-modal",
9539
- style: (0,external_vue_.normalizeStyle)($setup.getWrapperStyle)
9540
- }, [(0,external_vue_.createCommentVNode)(" 头部 "), $setup.isHead ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", modalvue_type_template_id_737e331f_hoisted_1, [(0,external_vue_.renderSlot)(_ctx.$slots, "header", {}, function () {
9541
- return [(0,external_vue_.createElementVNode)("div", modalvue_type_template_id_737e331f_hoisted_2, (0,external_vue_.toDisplayString)($props.title), 1 /* TEXT */)];
9542
- })])) : (0,external_vue_.createCommentVNode)("v-if", true), (0,external_vue_.createCommentVNode)(" 内容 "), (0,external_vue_.createElementVNode)("div", modalvue_type_template_id_737e331f_hoisted_3, [(0,external_vue_.renderSlot)(_ctx.$slots, "body", {}, function () {
9543
- return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)($props.body), 1 /* TEXT */)];
9544
- })]), (0,external_vue_.createCommentVNode)(" 底部 "), !$props.footerHide ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_4, [(0,external_vue_.renderSlot)(_ctx.$slots, "footer", {}, function () {
9545
- return [$props.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_VButton, {
9542
+ style: (0,external_vue_.normalizeStyle)(_ctx.getWrapperStyle)
9543
+ }, [(0,external_vue_.createCommentVNode)(" 头部 "), _ctx.isHead ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", modalvue_type_template_id_2638be96_hoisted_1, [(0,external_vue_.renderSlot)(_ctx.$slots, "header", {}, function () {
9544
+ return [(0,external_vue_.createElementVNode)("div", modalvue_type_template_id_2638be96_hoisted_2, (0,external_vue_.toDisplayString)(_ctx.title), 1 /* TEXT */)];
9545
+ })])) : (0,external_vue_.createCommentVNode)("v-if", true), (0,external_vue_.createCommentVNode)(" 内容 "), (0,external_vue_.createElementVNode)("div", modalvue_type_template_id_2638be96_hoisted_3, [(0,external_vue_.renderSlot)(_ctx.$slots, "body", {}, function () {
9546
+ return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(_ctx.body), 1 /* TEXT */)];
9547
+ })]), (0,external_vue_.createCommentVNode)(" 底部 "), !_ctx.footerHide ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_4, [(0,external_vue_.renderSlot)(_ctx.$slots, "footer", {}, function () {
9548
+ return [_ctx.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_VButton, {
9546
9549
  key: 0,
9547
9550
  type: "primary",
9548
- onClick: $setup.close
9551
+ onClick: _ctx.close
9549
9552
  }, {
9550
9553
  "default": (0,external_vue_.withCtx)(function () {
9551
- return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)($props.cancleText), 1 /* TEXT */)];
9554
+ return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(_ctx.cancleText), 1 /* TEXT */)];
9552
9555
  }),
9553
9556
  _: 1 /* STABLE */
9554
9557
  }, 8 /* PROPS */, ["onClick"])) : (0,external_vue_.createCommentVNode)("v-if", true), (0,external_vue_.createVNode)(_component_VButton, {
9555
9558
  type: "normal",
9556
- loading: $setup.buttonLoading,
9557
- onClick: $setup.ok
9559
+ loading: _ctx.buttonLoading,
9560
+ onClick: _ctx.ok
9558
9561
  }, {
9559
9562
  "default": (0,external_vue_.withCtx)(function () {
9560
- return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)($props.okText), 1 /* TEXT */)];
9563
+ return [(0,external_vue_.createTextVNode)((0,external_vue_.toDisplayString)(_ctx.okText), 1 /* TEXT */)];
9561
9564
  }),
9562
9565
  _: 1 /* STABLE */
9563
9566
  }, 8 /* PROPS */, ["loading", "onClick"])];
@@ -9566,12 +9569,12 @@ function modalvue_type_template_id_737e331f_render(_ctx, _cache, $props, $setup,
9566
9569
  _: 3 /* FORWARDED */
9567
9570
  })]);
9568
9571
  }
9569
- ;// ./src/components/modal/modal.vue?vue&type=template&id=737e331f
9572
+ ;// ./src/components/modal/modal.vue?vue&type=template&id=2638be96
9570
9573
 
9571
9574
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/modal/modal.vue?vue&type=script&lang=js
9572
9575
 
9573
9576
 
9574
- /* harmony default export */ const modalvue_type_script_lang_js = ({
9577
+ /* harmony default export */ const modalvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
9575
9578
  name: 'Dpzvc3Modal',
9576
9579
  components: {
9577
9580
  VButton: components_button
@@ -9666,7 +9669,7 @@ function modalvue_type_template_id_737e331f_render(_ctx, _cache, $props, $setup,
9666
9669
  ok: ok
9667
9670
  };
9668
9671
  }
9669
- });
9672
+ }));
9670
9673
  ;// ./src/components/modal/modal.vue?vue&type=script&lang=js
9671
9674
 
9672
9675
  ;// ./src/components/modal/modal.vue
@@ -9675,7 +9678,7 @@ function modalvue_type_template_id_737e331f_render(_ctx, _cache, $props, $setup,
9675
9678
 
9676
9679
 
9677
9680
  ;
9678
- const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_737e331f_render]])
9681
+ const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_2638be96_render]])
9679
9682
 
9680
9683
  /* harmony default export */ const modal = (modal_exports_);
9681
9684
  ;// ./src/components/modal/confirm.js
@@ -9896,39 +9899,39 @@ function pickervue_type_template_id_453579d3_render(_ctx, _cache, $props, $setup
9896
9899
  }
9897
9900
  ;// ./src/components/picker/picker.vue?vue&type=template&id=453579d3
9898
9901
 
9899
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/popup/popup.vue?vue&type=template&id=560adf42
9902
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/popup/popup.vue?vue&type=template&id=895482f2
9900
9903
 
9901
- function popupvue_type_template_id_560adf42_render(_ctx, _cache, $props, $setup, $data, $options) {
9904
+ function popupvue_type_template_id_895482f2_render(_ctx, _cache, $props, $setup, $data, $options) {
9902
9905
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9903
- "class": (0,external_vue_.normalizeClass)($setup.classes)
9906
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes)
9904
9907
  }, [(0,external_vue_.createVNode)(external_vue_.Transition, {
9905
9908
  name: "dpzvc3-ani-fade"
9906
9909
  }, {
9907
9910
  "default": (0,external_vue_.withCtx)(function () {
9908
- return [$setup.mask && $setup.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9911
+ return [_ctx.mask && _ctx.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9909
9912
  key: 0,
9910
9913
  "class": "dpzvc3-popup-mask",
9911
9914
  onClick: _cache[0] || (_cache[0] = function () {
9912
- return $setup.close && $setup.close.apply($setup, arguments);
9915
+ return _ctx.close && _ctx.close.apply(_ctx, arguments);
9913
9916
  }),
9914
9917
  onTouchmove: _cache[1] || (_cache[1] = (0,external_vue_.withModifiers)(function () {}, ["prevent"]))
9915
9918
  }, null, 32 /* NEED_HYDRATION */)) : (0,external_vue_.createCommentVNode)("v-if", true)];
9916
9919
  }),
9917
9920
  _: 1 /* STABLE */
9918
9921
  }), (0,external_vue_.createVNode)(external_vue_.Transition, {
9919
- name: 'dpzvc3-ani-' + $props.position
9922
+ name: 'dpzvc3-ani-' + _ctx.position
9920
9923
  }, {
9921
9924
  "default": (0,external_vue_.withCtx)(function () {
9922
- return [$setup.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9925
+ return [_ctx.visible ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
9923
9926
  key: 0,
9924
- "class": (0,external_vue_.normalizeClass)($setup.popupClasses),
9925
- style: (0,external_vue_.normalizeStyle)($setup.contentStyle)
9927
+ "class": (0,external_vue_.normalizeClass)(_ctx.popupClasses),
9928
+ style: (0,external_vue_.normalizeStyle)(_ctx.contentStyle)
9926
9929
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "default")], 6 /* CLASS, STYLE */)) : (0,external_vue_.createCommentVNode)("v-if", true)];
9927
9930
  }),
9928
9931
  _: 3 /* FORWARDED */
9929
9932
  }, 8 /* PROPS */, ["name"])], 2 /* CLASS */);
9930
9933
  }
9931
- ;// ./src/components/popup/popup.vue?vue&type=template&id=560adf42
9934
+ ;// ./src/components/popup/popup.vue?vue&type=template&id=895482f2
9932
9935
 
9933
9936
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/popup/popup.vue?vue&type=script&lang=js
9934
9937
 
@@ -9936,7 +9939,7 @@ function popupvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if
9936
9939
  function popupvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? popupvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : popupvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9937
9940
 
9938
9941
  var popupvue_type_script_lang_js_prefixCls = 'dpzvc3-popup';
9939
- /* harmony default export */ const popupvue_type_script_lang_js = ({
9942
+ /* harmony default export */ const popupvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
9940
9943
  name: 'Dpzvc3Popup',
9941
9944
  props: {
9942
9945
  modelValue: {
@@ -10017,7 +10020,7 @@ var popupvue_type_script_lang_js_prefixCls = 'dpzvc3-popup';
10017
10020
  close: close
10018
10021
  };
10019
10022
  }
10020
- });
10023
+ }));
10021
10024
  ;// ./src/components/popup/popup.vue?vue&type=script&lang=js
10022
10025
 
10023
10026
  ;// ./src/components/popup/popup.vue
@@ -10026,7 +10029,7 @@ var popupvue_type_script_lang_js_prefixCls = 'dpzvc3-popup';
10026
10029
 
10027
10030
 
10028
10031
  ;
10029
- const popup_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(popupvue_type_script_lang_js, [['render',popupvue_type_template_id_560adf42_render]])
10032
+ const popup_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(popupvue_type_script_lang_js, [['render',popupvue_type_template_id_895482f2_render]])
10030
10033
 
10031
10034
  /* harmony default export */ const popup = (popup_exports_);
10032
10035
  ;// ./src/components/popup/index.js
@@ -11355,13 +11358,13 @@ const radiobox_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(rad
11355
11358
 
11356
11359
  radiobox.group = radiobox_group;
11357
11360
  /* harmony default export */ const radioBox = (radiobox);
11358
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/swipe/swipe.vue?vue&type=template&id=0053c134
11361
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/swipe/swipe.vue?vue&type=template&id=d6e9d1f0
11359
11362
 
11360
- var swipevue_type_template_id_0053c134_hoisted_1 = ["onClick"];
11361
- var swipevue_type_template_id_0053c134_hoisted_2 = ["src"];
11362
- var swipevue_type_template_id_0053c134_hoisted_3 = ["onClick"];
11363
- var swipevue_type_template_id_0053c134_hoisted_4 = ["src"];
11364
- function swipevue_type_template_id_0053c134_render(_ctx, _cache, $props, $setup, $data, $options) {
11363
+ var swipevue_type_template_id_d6e9d1f0_hoisted_1 = ["onClick"];
11364
+ var swipevue_type_template_id_d6e9d1f0_hoisted_2 = ["src"];
11365
+ var swipevue_type_template_id_d6e9d1f0_hoisted_3 = ["onClick"];
11366
+ var swipevue_type_template_id_d6e9d1f0_hoisted_4 = ["src"];
11367
+ function swipevue_type_template_id_d6e9d1f0_render(_ctx, _cache, $props, $setup, $data, $options) {
11365
11368
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
11366
11369
  ref: "swipeRef",
11367
11370
  "class": (0,external_vue_.normalizeClass)(_ctx.classes),
@@ -11393,8 +11396,8 @@ function swipevue_type_template_id_0053c134_render(_ctx, _cache, $props, $setup,
11393
11396
  }, function () {
11394
11397
  return [(0,external_vue_.createElementVNode)("img", {
11395
11398
  src: _item.image
11396
- }, null, 8 /* PROPS */, swipevue_type_template_id_0053c134_hoisted_2), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_item.spec), 1 /* TEXT */)];
11397
- })], 10 /* CLASS, PROPS */, swipevue_type_template_id_0053c134_hoisted_1);
11399
+ }, null, 8 /* PROPS */, swipevue_type_template_id_d6e9d1f0_hoisted_2), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_item.spec), 1 /* TEXT */)];
11400
+ })], 10 /* CLASS, PROPS */, swipevue_type_template_id_d6e9d1f0_hoisted_1);
11398
11401
  }), 128 /* KEYED_FRAGMENT */)) : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
11399
11402
  key: 1,
11400
11403
  "class": (0,external_vue_.normalizeClass)(_ctx.singleClass),
@@ -11407,8 +11410,8 @@ function swipevue_type_template_id_0053c134_render(_ctx, _cache, $props, $setup,
11407
11410
  }, function () {
11408
11411
  return [(0,external_vue_.createElementVNode)("img", {
11409
11412
  src: item.image
11410
- }, null, 8 /* PROPS */, swipevue_type_template_id_0053c134_hoisted_4), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.spec), 1 /* TEXT */)];
11411
- })], 10 /* CLASS, PROPS */, swipevue_type_template_id_0053c134_hoisted_3))], 2 /* CLASS */);
11413
+ }, null, 8 /* PROPS */, swipevue_type_template_id_d6e9d1f0_hoisted_4), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.spec), 1 /* TEXT */)];
11414
+ })], 10 /* CLASS, PROPS */, swipevue_type_template_id_d6e9d1f0_hoisted_3))], 2 /* CLASS */);
11412
11415
  }), 128 /* KEYED_FRAGMENT */)) : (0,external_vue_.createCommentVNode)("v-if", true)], 6 /* CLASS, STYLE */), (0,external_vue_.createCommentVNode)(" :class=\"['dpzvc3-swipe-dots-item', (loop ? index + 1 : index) === slideIndex ? 'active' : '']\" "), (0,external_vue_.createElementVNode)("div", {
11413
11416
  "class": (0,external_vue_.normalizeClass)(_ctx.dotsClasses)
11414
11417
  }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.dotLength, function (item, index) {
@@ -11418,12 +11421,34 @@ function swipevue_type_template_id_0053c134_render(_ctx, _cache, $props, $setup,
11418
11421
  }, null, 2 /* CLASS */);
11419
11422
  }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */)], 6 /* CLASS, STYLE */);
11420
11423
  }
11421
- ;// ./src/components/swipe/swipe.vue?vue&type=template&id=0053c134
11424
+ ;// ./src/components/swipe/swipe.vue?vue&type=template&id=d6e9d1f0
11425
+
11426
+ ;// ./src/lib/lib.js
11427
+ var rafTimeout = function rafTimeout(callback, delay) {
11428
+ var start = null;
11429
+ var rafId;
11430
+ function loop(timestamp) {
11431
+ if (!start) start = timestamp;
11432
+ if (timestamp - start >= delay) {
11433
+ callback();
11434
+ cancelAnimationFrame(rafId);
11435
+ } else {
11436
+ rafId = requestAnimationFrame(loop);
11437
+ }
11438
+ }
11439
+ rafId = requestAnimationFrame(loop);
11422
11440
 
11441
+ // 返回清除方法
11442
+ return function () {
11443
+ return cancelAnimationFrame(rafId);
11444
+ };
11445
+ };
11446
+ /* harmony default export */ const lib = (rafTimeout);
11423
11447
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/swipe/swipe.vue?vue&type=script&lang=js
11424
11448
 
11425
11449
 
11426
11450
 
11451
+
11427
11452
  var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11428
11453
  /* harmony default export */ const swipevue_type_script_lang_js = ((0,external_vue_.defineComponent)({
11429
11454
  name: 'Dpzvc3Swipe',
@@ -11607,7 +11632,7 @@ var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11607
11632
  }
11608
11633
  }
11609
11634
  function autoSlide() {
11610
- timer.value = setTimeout(function () {
11635
+ timer.value = lib(function () {
11611
11636
  if (!dragging.value && autoSwipe.value) {
11612
11637
  translateX.value -= clientWidth.value;
11613
11638
  console.log(slideIndex.value, maxIndex.value, 'dsdadddasdss');
@@ -11633,7 +11658,8 @@ var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11633
11658
  }, 0);
11634
11659
  }
11635
11660
  function clearTimer() {
11636
- if (timer.value) clearTimeout(timer.value);
11661
+ // if (timer.value) clearTimeout(timer.value)
11662
+ timer.value && timer.value();
11637
11663
  timer.value = null;
11638
11664
  }
11639
11665
  function onResize() {
@@ -11688,7 +11714,7 @@ var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11688
11714
 
11689
11715
 
11690
11716
  ;
11691
- const swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(swipevue_type_script_lang_js, [['render',swipevue_type_template_id_0053c134_render]])
11717
+ const swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(swipevue_type_script_lang_js, [['render',swipevue_type_template_id_d6e9d1f0_render]])
11692
11718
 
11693
11719
  /* harmony default export */ const swipe = (swipe_exports_);
11694
11720
  ;// ./src/components/swipe/index.js
@@ -13443,15 +13469,15 @@ const upload_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(uploadvue_t
13443
13469
  */
13444
13470
 
13445
13471
  /* harmony default export */ const components_upload = (upload);
13446
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/action-sheet/actionSheet.vue?vue&type=template&id=bded2a8e
13472
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/action-sheet/actionSheet.vue?vue&type=template&id=3e21ff72
13447
13473
 
13448
- var actionSheetvue_type_template_id_bded2a8e_hoisted_1 = ["onClick"];
13449
- function actionSheetvue_type_template_id_bded2a8e_render(_ctx, _cache, $props, $setup, $data, $options) {
13474
+ var actionSheetvue_type_template_id_3e21ff72_hoisted_1 = ["onClick"];
13475
+ function actionSheetvue_type_template_id_3e21ff72_render(_ctx, _cache, $props, $setup, $data, $options) {
13450
13476
  var _component_Popup = (0,external_vue_.resolveComponent)("Popup");
13451
13477
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", null, [(0,external_vue_.createVNode)(_component_Popup, {
13452
- modelValue: $setup.visible,
13478
+ modelValue: _ctx.visible,
13453
13479
  "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
13454
- return $setup.visible = $event;
13480
+ return _ctx.visible = $event;
13455
13481
  }),
13456
13482
  position: "bottom",
13457
13483
  styles: {
@@ -13460,36 +13486,36 @@ function actionSheetvue_type_template_id_bded2a8e_render(_ctx, _cache, $props, $
13460
13486
  }, {
13461
13487
  "default": (0,external_vue_.withCtx)(function () {
13462
13488
  return [(0,external_vue_.createElementVNode)("div", {
13463
- "class": (0,external_vue_.normalizeClass)($setup.classes)
13489
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes)
13464
13490
  }, [(0,external_vue_.createElementVNode)("ul", {
13465
- "class": (0,external_vue_.normalizeClass)($setup.wrapperClasses)
13466
- }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)($setup.actions, function (item, key) {
13491
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperClasses)
13492
+ }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.actions, function (item, key) {
13467
13493
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("li", {
13468
13494
  key: key,
13469
- "class": (0,external_vue_.normalizeClass)($setup.wrapperActionClass),
13495
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperActionClass),
13470
13496
  onClick: function onClick($event) {
13471
- return $setup.emit(item, key);
13497
+ return _ctx.emit(item, key);
13472
13498
  }
13473
- }, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.text), 1 /* TEXT */)], 10 /* CLASS, PROPS */, actionSheetvue_type_template_id_bded2a8e_hoisted_1);
13474
- }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), $props.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
13499
+ }, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.text), 1 /* TEXT */)], 10 /* CLASS, PROPS */, actionSheetvue_type_template_id_3e21ff72_hoisted_1);
13500
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), _ctx.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
13475
13501
  key: 0,
13476
13502
  href: "javascript:;",
13477
- "class": (0,external_vue_.normalizeClass)($setup.cancleClass),
13503
+ "class": (0,external_vue_.normalizeClass)(_ctx.cancleClass),
13478
13504
  onClick: _cache[0] || (_cache[0] = function ($event) {
13479
- return $setup.visible = false;
13505
+ return _ctx.visible = false;
13480
13506
  })
13481
- }, (0,external_vue_.toDisplayString)($props.cancleText), 3 /* TEXT, CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */)];
13507
+ }, (0,external_vue_.toDisplayString)(_ctx.cancleText), 3 /* TEXT, CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */)];
13482
13508
  }),
13483
13509
  _: 1 /* STABLE */
13484
13510
  }, 8 /* PROPS */, ["modelValue"])]);
13485
13511
  }
13486
- ;// ./src/components/action-sheet/actionSheet.vue?vue&type=template&id=bded2a8e
13512
+ ;// ./src/components/action-sheet/actionSheet.vue?vue&type=template&id=3e21ff72
13487
13513
 
13488
13514
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/action-sheet/actionSheet.vue?vue&type=script&lang=js
13489
13515
 
13490
13516
 
13491
13517
  var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13492
- /* harmony default export */ const actionSheetvue_type_script_lang_js = ({
13518
+ /* harmony default export */ const actionSheetvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
13493
13519
  name: 'ActionSheet',
13494
13520
  components: {
13495
13521
  Popup: components_popup
@@ -13525,9 +13551,9 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13525
13551
  });
13526
13552
 
13527
13553
  // 监听 visible 改变,通知父组件
13528
- (0,external_vue_.watch)(visible, function (val) {
13529
- emit('update:modelValue', val);
13530
- });
13554
+ // watch(visible, (val) => {
13555
+ // emit('update:modelValue', val)
13556
+ // })
13531
13557
 
13532
13558
  // 样式类
13533
13559
  var classes = (0,external_vue_.computed)(function () {
@@ -13548,7 +13574,8 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13548
13574
  if (item.onClick && typeof item.onClick === 'function') {
13549
13575
  item.onClick(item, index);
13550
13576
  }
13551
- visible.value = false;
13577
+ // visible.value = false
13578
+ emit('update:modelValue', false);
13552
13579
  };
13553
13580
  return {
13554
13581
  visible: visible,
@@ -13560,7 +13587,7 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13560
13587
  emit: emitAction
13561
13588
  };
13562
13589
  }
13563
- });
13590
+ }));
13564
13591
  ;// ./src/components/action-sheet/actionSheet.vue?vue&type=script&lang=js
13565
13592
 
13566
13593
  ;// ./src/components/action-sheet/actionSheet.vue
@@ -13569,7 +13596,7 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13569
13596
 
13570
13597
 
13571
13598
  ;
13572
- const actionSheet_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(actionSheetvue_type_script_lang_js, [['render',actionSheetvue_type_template_id_bded2a8e_render]])
13599
+ const actionSheet_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(actionSheetvue_type_script_lang_js, [['render',actionSheetvue_type_template_id_3e21ff72_render]])
13573
13600
 
13574
13601
  /* harmony default export */ const actionSheet = (actionSheet_exports_);
13575
13602
  ;// ./src/components/action-sheet/index.js
@@ -14562,52 +14589,61 @@ const topTop_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(topTopvue_t
14562
14589
  */
14563
14590
 
14564
14591
  /* harmony default export */ const toTop = (topTop);
14565
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell/cell.vue?vue&type=template&id=4e8ecb4b
14592
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell/cell.vue?vue&type=template&id=134ad428
14566
14593
 
14567
- var cellvue_type_template_id_4e8ecb4b_hoisted_1 = ["href"];
14568
- var cellvue_type_template_id_4e8ecb4b_hoisted_2 = ["textContent"];
14569
- var cellvue_type_template_id_4e8ecb4b_hoisted_3 = ["textContent"];
14570
- var cellvue_type_template_id_4e8ecb4b_hoisted_4 = ["textContent"];
14571
- function cellvue_type_template_id_4e8ecb4b_render(_ctx, _cache, $props, $setup, $data, $options) {
14594
+ var cellvue_type_template_id_134ad428_hoisted_1 = ["href"];
14595
+ var cellvue_type_template_id_134ad428_hoisted_2 = ["textContent"];
14596
+ var cellvue_type_template_id_134ad428_hoisted_3 = ["textContent"];
14597
+ var cellvue_type_template_id_134ad428_hoisted_4 = ["textContent"];
14598
+ function cellvue_type_template_id_134ad428_render(_ctx, _cache, $props, $setup, $data, $options) {
14572
14599
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
14573
- href: $setup.toLink,
14574
- "class": (0,external_vue_.normalizeClass)($setup.classes),
14600
+ href: _ctx.toLink,
14601
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes),
14575
14602
  onClick: _cache[0] || (_cache[0] = (0,external_vue_.withModifiers)(function () {
14576
- return $setup.handleClick && $setup.handleClick.apply($setup, arguments);
14577
- }, ["prevent"]))
14578
- }, [$props.hasMask ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14603
+ return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
14604
+ }, ["prevent"])),
14605
+ onTouchstart: _cache[1] || (_cache[1] = function () {
14606
+ return _ctx.cellTouchStart && _ctx.cellTouchStart.apply(_ctx, arguments);
14607
+ }),
14608
+ onTouchmove: _cache[2] || (_cache[2] = function () {
14609
+ return _ctx.cellTouchMove && _ctx.cellTouchMove.apply(_ctx, arguments);
14610
+ }),
14611
+ onTouchend: _cache[3] || (_cache[3] = function () {
14612
+ return _ctx.cellTouchEnd && _ctx.cellTouchEnd.apply(_ctx, arguments);
14613
+ })
14614
+ }, [_ctx.hasMask ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14579
14615
  key: 0,
14580
- "class": (0,external_vue_.normalizeClass)($setup.maskClass)
14616
+ "class": (0,external_vue_.normalizeClass)(_ctx.maskClass)
14581
14617
  }, null, 2 /* CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true), (0,external_vue_.createElementVNode)("div", {
14582
- "class": (0,external_vue_.normalizeClass)($setup.leftClasses)
14618
+ "class": (0,external_vue_.normalizeClass)(_ctx.leftClasses)
14583
14619
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "left")], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14584
- "class": (0,external_vue_.normalizeClass)($setup.wrapperClasses)
14620
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperClasses)
14585
14621
  }, [(0,external_vue_.createElementVNode)("div", {
14586
- "class": (0,external_vue_.normalizeClass)($setup.titleClass)
14622
+ "class": (0,external_vue_.normalizeClass)(_ctx.titleClass)
14587
14623
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "icon"), (0,external_vue_.renderSlot)(_ctx.$slots, "title", {}, function () {
14588
14624
  return [(0,external_vue_.createElementVNode)("span", {
14589
- textContent: (0,external_vue_.toDisplayString)($props.title)
14590
- }, null, 8 /* PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_2), (0,external_vue_.createElementVNode)("span", {
14591
- "class": (0,external_vue_.normalizeClass)($setup.labelClass),
14592
- textContent: (0,external_vue_.toDisplayString)($props.label)
14593
- }, null, 10 /* CLASS, PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_3)];
14625
+ textContent: (0,external_vue_.toDisplayString)(_ctx.title)
14626
+ }, null, 8 /* PROPS */, cellvue_type_template_id_134ad428_hoisted_2), (0,external_vue_.createElementVNode)("span", {
14627
+ "class": (0,external_vue_.normalizeClass)(_ctx.labelClass),
14628
+ textContent: (0,external_vue_.toDisplayString)(_ctx.label)
14629
+ }, null, 10 /* CLASS, PROPS */, cellvue_type_template_id_134ad428_hoisted_3)];
14594
14630
  })], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14595
- "class": (0,external_vue_.normalizeClass)($setup.valueClass)
14631
+ "class": (0,external_vue_.normalizeClass)(_ctx.valueClass)
14596
14632
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "value", {}, function () {
14597
14633
  return [(0,external_vue_.createElementVNode)("span", {
14598
- textContent: (0,external_vue_.toDisplayString)($props.value)
14599
- }, null, 8 /* PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_4)];
14634
+ textContent: (0,external_vue_.toDisplayString)(_ctx.value)
14635
+ }, null, 8 /* PROPS */, cellvue_type_template_id_134ad428_hoisted_4)];
14600
14636
  })], 2 /* CLASS */)], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14601
- "class": (0,external_vue_.normalizeClass)($setup.rightClasses)
14602
- }, [(0,external_vue_.renderSlot)(_ctx.$slots, "right")], 2 /* CLASS */)], 10 /* CLASS, PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_1);
14637
+ "class": (0,external_vue_.normalizeClass)(_ctx.rightClasses)
14638
+ }, [(0,external_vue_.renderSlot)(_ctx.$slots, "right")], 2 /* CLASS */)], 42 /* CLASS, PROPS, NEED_HYDRATION */, cellvue_type_template_id_134ad428_hoisted_1);
14603
14639
  }
14604
- ;// ./src/components/cell/cell.vue?vue&type=template&id=4e8ecb4b
14640
+ ;// ./src/components/cell/cell.vue?vue&type=template&id=134ad428
14605
14641
 
14606
14642
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell/cell.vue?vue&type=script&lang=js
14607
14643
 
14608
14644
 
14609
14645
  var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14610
- /* harmony default export */ const cellvue_type_script_lang_js = ({
14646
+ /* harmony default export */ const cellvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14611
14647
  name: 'Dpzvc3Cell',
14612
14648
  props: {
14613
14649
  title: String,
@@ -14616,6 +14652,7 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14616
14652
  link: String,
14617
14653
  hasMask: Boolean
14618
14654
  },
14655
+ emits: ['touchstart', 'touchmove', 'touchend', 'click'],
14619
14656
  setup: function setup(props, _ref) {
14620
14657
  var emit = _ref.emit;
14621
14658
  var router = useRouter();
@@ -14656,7 +14693,22 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14656
14693
 
14657
14694
  // 点击跳转
14658
14695
  var handleClick = function handleClick(e) {
14659
- if (props.link) router.push(props.link);
14696
+ if (props.link) {
14697
+ router.push(props.link);
14698
+ } else {
14699
+ emit('click', e);
14700
+ }
14701
+ };
14702
+
14703
+ // 定义touchstart,touchmove,touchend事件
14704
+ var cellTouchStart = function cellTouchStart(e) {
14705
+ emit('touchstart', e);
14706
+ };
14707
+ var cellTouchMove = function cellTouchMove(e) {
14708
+ emit('touchmove', e);
14709
+ };
14710
+ var cellTouchEnd = function cellTouchEnd(e) {
14711
+ emit('touchend', e);
14660
14712
  };
14661
14713
  return {
14662
14714
  toLink: toLink,
@@ -14669,10 +14721,13 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14669
14721
  valueClass: valueClass,
14670
14722
  labelClass: labelClass,
14671
14723
  handleClick: handleClick,
14672
- emit: emit
14724
+ emit: emit,
14725
+ cellTouchStart: cellTouchStart,
14726
+ cellTouchMove: cellTouchMove,
14727
+ cellTouchEnd: cellTouchEnd
14673
14728
  };
14674
14729
  }
14675
- });
14730
+ }));
14676
14731
  ;// ./src/components/cell/cell.vue?vue&type=script&lang=js
14677
14732
 
14678
14733
  ;// ./src/components/cell/cell.vue
@@ -14681,7 +14736,7 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14681
14736
 
14682
14737
 
14683
14738
  ;
14684
- const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_script_lang_js, [['render',cellvue_type_template_id_4e8ecb4b_render]])
14739
+ const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_script_lang_js, [['render',cellvue_type_template_id_134ad428_render]])
14685
14740
 
14686
14741
  /* harmony default export */ const cell = (cell_exports_);
14687
14742
  ;// ./src/components/cell/index.js
@@ -14690,116 +14745,78 @@ const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_
14690
14745
  */
14691
14746
 
14692
14747
  /* harmony default export */ const components_cell = (cell);
14693
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=796ae3a8
14748
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=65db72d2
14694
14749
 
14695
- var cell_swipevue_type_template_id_796ae3a8_hoisted_1 = {
14750
+ var cell_swipevue_type_template_id_65db72d2_hoisted_1 = {
14696
14751
  ref: "leftRef",
14697
14752
  "class": "dpzvc3-cell-swipe-group"
14698
14753
  };
14699
- var cell_swipevue_type_template_id_796ae3a8_hoisted_2 = ["onClick", "innerHTML"];
14700
- var cell_swipevue_type_template_id_796ae3a8_hoisted_3 = {
14754
+ var cell_swipevue_type_template_id_65db72d2_hoisted_2 = ["onClick", "innerHTML"];
14755
+ var cell_swipevue_type_template_id_65db72d2_hoisted_3 = {
14701
14756
  ref: "rightRef",
14702
14757
  "class": "dpzvc3-cell-swipe-group"
14703
14758
  };
14704
- var cell_swipevue_type_template_id_796ae3a8_hoisted_4 = ["onClick", "innerHTML"];
14705
- function cell_swipevue_type_template_id_796ae3a8_render(_ctx, _cache, $props, $setup, $data, $options) {
14759
+ var cell_swipevue_type_template_id_65db72d2_hoisted_4 = ["onClick", "innerHTML"];
14760
+ function cell_swipevue_type_template_id_65db72d2_render(_ctx, _cache, $props, $setup, $data, $options) {
14706
14761
  var _component_Cell = (0,external_vue_.resolveComponent)("Cell");
14707
- var _directive_clickoutside = (0,external_vue_.resolveDirective)("clickoutside");
14708
- return (0,external_vue_.withDirectives)(((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_Cell, {
14762
+ return (0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_Cell, {
14709
14763
  ref: "cell",
14710
- title: $props.title,
14711
- value: $props.value,
14712
- label: $props.label,
14713
- link: $props.link,
14714
- "has-mask": $props.hasMask,
14764
+ title: _ctx.title,
14765
+ value: _ctx.value,
14766
+ label: _ctx.label,
14767
+ link: _ctx.link,
14768
+ "has-mask": _ctx.hasMask,
14715
14769
  onClick: _cache[0] || (_cache[0] = function ($event) {
14716
- return $setup.swipe();
14770
+ return _ctx.swipe();
14717
14771
  }),
14718
- onTouchstart: $setup.onTouchStart,
14719
- onTouchmove: $setup.onTouchMove,
14720
- onTouchend: $setup.onTouchEnd
14772
+ onTouchstart: _ctx.onTouchStart,
14773
+ onTouchmove: _ctx.onTouchMove,
14774
+ onTouchend: _ctx.onTouchEnd
14721
14775
  }, {
14722
14776
  left: (0,external_vue_.withCtx)(function () {
14723
- return [(0,external_vue_.createElementVNode)("div", cell_swipevue_type_template_id_796ae3a8_hoisted_1, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)($props.left, function (item, key) {
14777
+ return [(0,external_vue_.createElementVNode)("div", cell_swipevue_type_template_id_65db72d2_hoisted_1, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.left, function (item, key) {
14724
14778
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14725
14779
  key: key,
14726
14780
  "class": "dpzvc3-cell-swipe-btn",
14727
14781
  style: (0,external_vue_.normalizeStyle)(item.style),
14728
14782
  onClick: (0,external_vue_.withModifiers)(function () {
14729
14783
  item.handleClick && item.handleClick();
14730
- $setup.swipe();
14784
+ _ctx.swipe();
14731
14785
  }, ["stop"]),
14732
14786
  innerHTML: item.content
14733
- }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_796ae3a8_hoisted_2);
14787
+ }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_65db72d2_hoisted_2);
14734
14788
  }), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */)];
14735
14789
  }),
14736
14790
  right: (0,external_vue_.withCtx)(function () {
14737
- return [(0,external_vue_.createElementVNode)("div", cell_swipevue_type_template_id_796ae3a8_hoisted_3, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)($props.right, function (item, key) {
14791
+ return [(0,external_vue_.createElementVNode)("div", cell_swipevue_type_template_id_65db72d2_hoisted_3, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.right, function (item, key) {
14738
14792
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14739
14793
  key: key,
14740
14794
  "class": "dpzvc3-cell-swipe-btn",
14741
14795
  style: (0,external_vue_.normalizeStyle)(item.style),
14742
14796
  onClick: (0,external_vue_.withModifiers)(function () {
14743
14797
  item.handleClick && item.handleClick();
14744
- $setup.swipe();
14798
+ _ctx.swipe();
14745
14799
  }, ["stop"]),
14746
14800
  innerHTML: item.content
14747
- }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_796ae3a8_hoisted_4);
14801
+ }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_65db72d2_hoisted_4);
14748
14802
  }), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */)];
14749
14803
  }),
14750
14804
  _: 1 /* STABLE */
14751
- }, 8 /* PROPS */, ["title", "value", "label", "link", "has-mask", "onTouchstart", "onTouchmove", "onTouchend"])), [[_directive_clickoutside, $setup.swipe, "touchstart"]]);
14752
- }
14753
- ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=796ae3a8
14754
-
14755
- ;// ./src/directives/clickoutside.js
14756
- var clickoutsideContext = '@@clickoutsideContext';
14757
- /* harmony default export */ const clickoutside = ({
14758
- beforeMount: function beforeMount(el, binding) {
14759
- // document 事件处理函数
14760
- var documentHandler = function documentHandler(e) {
14761
- // 如果点击元素本身或其子元素,则不触发
14762
- if (!el.contains(e.target)) {
14763
- // 调用传入的方法
14764
- if (typeof binding.value === 'function') {
14765
- binding.value(e);
14766
- }
14767
- }
14768
- };
14805
+ }, 8 /* PROPS */, ["title", "value", "label", "link", "has-mask", "onTouchstart", "onTouchmove", "onTouchend"]);
14806
+ }
14807
+ ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=65db72d2
14769
14808
 
14770
- // 保存上下文信息到 el 上,方便解绑
14771
- el[clickoutsideContext] = {
14772
- documentHandler: documentHandler,
14773
- event: binding.arg || 'click'
14774
- };
14775
- document.addEventListener(el[clickoutsideContext].event, documentHandler);
14776
- },
14777
- updated: function updated(el, binding) {
14778
- // 可以在更新时替换方法
14779
- // binding.value 已经是最新函数
14780
- el[clickoutsideContext].documentHandler = function (e) {
14781
- if (!el.contains(e.target) && typeof binding.value === 'function') {
14782
- binding.value(e);
14783
- }
14784
- };
14785
- },
14786
- unmounted: function unmounted(el) {
14787
- document.removeEventListener(el[clickoutsideContext].event, el[clickoutsideContext].documentHandler);
14788
- delete el[clickoutsideContext];
14789
- }
14790
- });
14791
14809
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/cell-swipe/cell-swipe.vue?vue&type=script&lang=js
14792
14810
 
14793
14811
 
14812
+ // import Clickoutside from '../../directives/clickoutside'
14794
14813
 
14795
- /* harmony default export */ const cell_swipevue_type_script_lang_js = ({
14814
+ /* harmony default export */ const cell_swipevue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14796
14815
  name: 'CellSwipe',
14797
14816
  components: {
14798
14817
  Cell: components_cell
14799
14818
  },
14800
- directives: {
14801
- Clickoutside: clickoutside
14802
- },
14819
+ // directives: { Clickoutside },
14803
14820
  props: {
14804
14821
  title: String,
14805
14822
  value: {},
@@ -14907,7 +14924,7 @@ var clickoutsideContext = '@@clickoutsideContext';
14907
14924
  onTouchEnd: onTouchEnd
14908
14925
  };
14909
14926
  }
14910
- });
14927
+ }));
14911
14928
  ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=script&lang=js
14912
14929
 
14913
14930
  ;// ./src/components/cell-swipe/cell-swipe.vue
@@ -14916,7 +14933,7 @@ var clickoutsideContext = '@@clickoutsideContext';
14916
14933
 
14917
14934
 
14918
14935
  ;
14919
- const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_swipevue_type_script_lang_js, [['render',cell_swipevue_type_template_id_796ae3a8_render]])
14936
+ const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_swipevue_type_script_lang_js, [['render',cell_swipevue_type_template_id_65db72d2_render]])
14920
14937
 
14921
14938
  /* harmony default export */ const cell_swipe = (cell_swipe_exports_);
14922
14939
  ;// ./src/components/cell-swipe/index.js
@@ -14925,22 +14942,22 @@ const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_sw
14925
14942
  */
14926
14943
 
14927
14944
  /* harmony default export */ const components_cell_swipe = (cell_swipe);
14928
- ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/badge/badge.vue?vue&type=template&id=b074a0ce
14945
+ ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/badge/badge.vue?vue&type=template&id=fde94178
14929
14946
 
14930
- function badgevue_type_template_id_b074a0ce_render(_ctx, _cache, $props, $setup, $data, $options) {
14947
+ function badgevue_type_template_id_fde94178_render(_ctx, _cache, $props, $setup, $data, $options) {
14931
14948
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14932
- "class": (0,external_vue_.normalizeClass)($setup.classes)
14949
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes)
14933
14950
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "default"), (0,external_vue_.withDirectives)((0,external_vue_.createElementVNode)("sup", {
14934
- "class": (0,external_vue_.normalizeClass)($setup.supClasses)
14935
- }, (0,external_vue_.toDisplayString)($setup.displayCount), 3 /* TEXT, CLASS */), [[external_vue_.vShow, $setup.visible]])], 2 /* CLASS */);
14951
+ "class": (0,external_vue_.normalizeClass)(_ctx.supClasses)
14952
+ }, (0,external_vue_.toDisplayString)(_ctx.displayCount), 3 /* TEXT, CLASS */), [[external_vue_.vShow, _ctx.visible]])], 2 /* CLASS */);
14936
14953
  }
14937
- ;// ./src/components/badge/badge.vue?vue&type=template&id=b074a0ce
14954
+ ;// ./src/components/badge/badge.vue?vue&type=template&id=fde94178
14938
14955
 
14939
14956
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/badge/badge.vue?vue&type=script&lang=js
14940
14957
 
14941
14958
 
14942
14959
  var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
14943
- /* harmony default export */ const badgevue_type_script_lang_js = ({
14960
+ /* harmony default export */ const badgevue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14944
14961
  name: 'Dpzvc3Badge',
14945
14962
  props: {
14946
14963
  type: {
@@ -15002,7 +15019,7 @@ var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
15002
15019
  displayCount: displayCount
15003
15020
  };
15004
15021
  }
15005
- });
15022
+ }));
15006
15023
  ;// ./src/components/badge/badge.vue?vue&type=script&lang=js
15007
15024
 
15008
15025
  ;// ./src/components/badge/badge.vue
@@ -15011,7 +15028,7 @@ var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
15011
15028
 
15012
15029
 
15013
15030
  ;
15014
- const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_b074a0ce_render]])
15031
+ const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_fde94178_render]])
15015
15032
 
15016
15033
  /* harmony default export */ const badge = (badge_exports_);
15017
15034
  ;// ./src/components/badge/index.js