dpzvc3-ui 3.0.2 → 3.0.4

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 (35) hide show
  1. package/dist/dpzvc3.esm.js +722 -718
  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 +230 -217
  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.bcc12e5051993020bbea.js +2 -0
  15. package/dist-prod/main.bcc12e5051993020bbea.js.map +1 -0
  16. package/dist-prod/slidebar.d7ad5de495550613661f.chunk.js +2 -0
  17. package/dist-prod/slidebar.d7ad5de495550613661f.chunk.js.map +1 -0
  18. package/package.json +1 -1
  19. package/src/components/action-sheet/actionSheet.vue +8 -7
  20. package/src/components/app.vue +3 -5
  21. package/src/components/badge/badge.vue +3 -3
  22. package/src/components/cell/cell.vue +25 -5
  23. package/src/components/cell-swipe/cell-swipe.vue +5 -6
  24. package/src/components/header/header.vue +5 -4
  25. package/src/components/modal/modal.vue +3 -3
  26. package/src/components/popup/popup.vue +3 -3
  27. package/src/components/radioBox/radiobox.vue +5 -4
  28. package/src/components/slideBar/slideBar.vue +23 -5
  29. package/src/views/SlideBar.vue +5 -2
  30. package/dist-prod/91.9d79b442ec3131707419.js +0 -3
  31. package/dist-prod/main.500d6bc40855d284c027.js +0 -2
  32. package/dist-prod/main.500d6bc40855d284c027.js.map +0 -1
  33. package/dist-prod/slidebar.3d3f48a631f03a2210c9.chunk.js +0 -2
  34. package/dist-prod/slidebar.3d3f48a631f03a2210c9.chunk.js.map +0 -1
  35. /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://./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":""}]);
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":""}]);
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://./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":""}]);
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":""}]);
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
@@ -11158,10 +11161,10 @@ const picker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(pickervue_t
11158
11161
  */
11159
11162
 
11160
11163
  /* harmony default export */ const components_picker = (picker);
11161
- ;// ./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/radioBox/radiobox.vue?vue&type=template&id=12c1d7f9
11164
+ ;// ./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/radioBox/radiobox.vue?vue&type=template&id=1ec5a25f
11162
11165
 
11163
- var radioboxvue_type_template_id_12c1d7f9_hoisted_1 = ["disabled", "checked"];
11164
- function radioboxvue_type_template_id_12c1d7f9_render(_ctx, _cache, $props, $setup, $data, $options) {
11166
+ var radioboxvue_type_template_id_1ec5a25f_hoisted_1 = ["disabled", "checked"];
11167
+ function radioboxvue_type_template_id_1ec5a25f_render(_ctx, _cache, $props, $setup, $data, $options) {
11165
11168
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("label", {
11166
11169
  "class": (0,external_vue_.normalizeClass)(_ctx.classes)
11167
11170
  }, [(0,external_vue_.createElementVNode)("span", {
@@ -11176,7 +11179,7 @@ function radioboxvue_type_template_id_12c1d7f9_render(_ctx, _cache, $props, $set
11176
11179
  onChange: _cache[0] || (_cache[0] = function () {
11177
11180
  return _ctx.handleChange && _ctx.handleChange.apply(_ctx, arguments);
11178
11181
  })
11179
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, radioboxvue_type_template_id_12c1d7f9_hoisted_1)], 2 /* CLASS */)], 2 /* CLASS */), _ctx.show ? (0,external_vue_.renderSlot)(_ctx.$slots, "default", {
11182
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, radioboxvue_type_template_id_1ec5a25f_hoisted_1)], 2 /* CLASS */)], 2 /* CLASS */), _ctx.show ? (0,external_vue_.renderSlot)(_ctx.$slots, "default", {
11180
11183
  key: 0
11181
11184
  }, function () {
11182
11185
  return [(0,external_vue_.createElementVNode)("span", {
@@ -11184,7 +11187,7 @@ function radioboxvue_type_template_id_12c1d7f9_render(_ctx, _cache, $props, $set
11184
11187
  }, (0,external_vue_.toDisplayString)(_ctx.label), 513 /* TEXT, NEED_PATCH */)];
11185
11188
  }) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */);
11186
11189
  }
11187
- ;// ./src/components/radioBox/radiobox.vue?vue&type=template&id=12c1d7f9
11190
+ ;// ./src/components/radioBox/radiobox.vue?vue&type=template&id=1ec5a25f
11188
11191
 
11189
11192
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/radioBox/radiobox.vue?vue&type=script&lang=js
11190
11193
 
@@ -11197,7 +11200,7 @@ var radioboxvue_type_script_lang_js_prefixCls = 'dpzvc3-radiobox';
11197
11200
  type: [String, Number],
11198
11201
  required: true
11199
11202
  },
11200
- modalValue: {
11203
+ modelValue: {
11201
11204
  type: Boolean,
11202
11205
  "default": false
11203
11206
  },
@@ -11206,7 +11209,7 @@ var radioboxvue_type_script_lang_js_prefixCls = 'dpzvc3-radiobox';
11206
11209
  "default": false
11207
11210
  }
11208
11211
  },
11209
- emits: ['update:value', 'on-change'],
11212
+ emits: ['update:modelValue', 'on-change'],
11210
11213
  setup: function setup(props, _ref) {
11211
11214
  var emit = _ref.emit;
11212
11215
  var slotEl = (0,external_vue_.ref)(null);
@@ -11217,7 +11220,7 @@ var radioboxvue_type_script_lang_js_prefixCls = 'dpzvc3-radiobox';
11217
11220
  if (group) {
11218
11221
  return group.currentValue.value === props.label;
11219
11222
  } else {
11220
- return props.modalValue;
11223
+ return props.modelValue;
11221
11224
  }
11222
11225
  });
11223
11226
  var classes = (0,external_vue_.computed)(function () {
@@ -11238,7 +11241,8 @@ var radioboxvue_type_script_lang_js_prefixCls = 'dpzvc3-radiobox';
11238
11241
  if (group) {
11239
11242
  group.change(props.label);
11240
11243
  } else {
11241
- emit('update:modalValue', checked);
11244
+ // console.log(checked, 'ddadda')
11245
+ emit('update:modelValue', checked);
11242
11246
  emit('on-change', checked);
11243
11247
  }
11244
11248
  }
@@ -11270,7 +11274,7 @@ var radioboxvue_type_script_lang_js_prefixCls = 'dpzvc3-radiobox';
11270
11274
 
11271
11275
 
11272
11276
  ;
11273
- const radiobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(radioboxvue_type_script_lang_js, [['render',radioboxvue_type_template_id_12c1d7f9_render]])
11277
+ const radiobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(radioboxvue_type_script_lang_js, [['render',radioboxvue_type_template_id_1ec5a25f_render]])
11274
11278
 
11275
11279
  /* harmony default export */ const radiobox = (radiobox_exports_);
11276
11280
  ;// ./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/radioBox/radiobox-group.vue?vue&type=template&id=d101a504&scoped=true
@@ -11354,13 +11358,13 @@ const radiobox_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(rad
11354
11358
 
11355
11359
  radiobox.group = radiobox_group;
11356
11360
  /* harmony default export */ const radioBox = (radiobox);
11357
- ;// ./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=4bcc6d9d
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=0053c134
11358
11362
 
11359
- var swipevue_type_template_id_4bcc6d9d_hoisted_1 = ["onClick"];
11360
- var swipevue_type_template_id_4bcc6d9d_hoisted_2 = ["src"];
11361
- var swipevue_type_template_id_4bcc6d9d_hoisted_3 = ["onClick"];
11362
- var swipevue_type_template_id_4bcc6d9d_hoisted_4 = ["src"];
11363
- function swipevue_type_template_id_4bcc6d9d_render(_ctx, _cache, $props, $setup, $data, $options) {
11363
+ var swipevue_type_template_id_0053c134_hoisted_1 = ["onClick"];
11364
+ var swipevue_type_template_id_0053c134_hoisted_2 = ["src"];
11365
+ var swipevue_type_template_id_0053c134_hoisted_3 = ["onClick"];
11366
+ var swipevue_type_template_id_0053c134_hoisted_4 = ["src"];
11367
+ function swipevue_type_template_id_0053c134_render(_ctx, _cache, $props, $setup, $data, $options) {
11364
11368
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
11365
11369
  ref: "swipeRef",
11366
11370
  "class": (0,external_vue_.normalizeClass)(_ctx.classes),
@@ -11392,8 +11396,8 @@ function swipevue_type_template_id_4bcc6d9d_render(_ctx, _cache, $props, $setup,
11392
11396
  }, function () {
11393
11397
  return [(0,external_vue_.createElementVNode)("img", {
11394
11398
  src: _item.image
11395
- }, null, 8 /* PROPS */, swipevue_type_template_id_4bcc6d9d_hoisted_2), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_item.spec), 1 /* TEXT */)];
11396
- })], 10 /* CLASS, PROPS */, swipevue_type_template_id_4bcc6d9d_hoisted_1);
11399
+ }, null, 8 /* PROPS */, swipevue_type_template_id_0053c134_hoisted_2), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_item.spec), 1 /* TEXT */)];
11400
+ })], 10 /* CLASS, PROPS */, swipevue_type_template_id_0053c134_hoisted_1);
11397
11401
  }), 128 /* KEYED_FRAGMENT */)) : ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
11398
11402
  key: 1,
11399
11403
  "class": (0,external_vue_.normalizeClass)(_ctx.singleClass),
@@ -11406,8 +11410,8 @@ function swipevue_type_template_id_4bcc6d9d_render(_ctx, _cache, $props, $setup,
11406
11410
  }, function () {
11407
11411
  return [(0,external_vue_.createElementVNode)("img", {
11408
11412
  src: item.image
11409
- }, null, 8 /* PROPS */, swipevue_type_template_id_4bcc6d9d_hoisted_4), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.spec), 1 /* TEXT */)];
11410
- })], 10 /* CLASS, PROPS */, swipevue_type_template_id_4bcc6d9d_hoisted_3))], 2 /* CLASS */);
11413
+ }, null, 8 /* PROPS */, swipevue_type_template_id_0053c134_hoisted_4), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.spec), 1 /* TEXT */)];
11414
+ })], 10 /* CLASS, PROPS */, swipevue_type_template_id_0053c134_hoisted_3))], 2 /* CLASS */);
11411
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", {
11412
11416
  "class": (0,external_vue_.normalizeClass)(_ctx.dotsClasses)
11413
11417
  }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.dotLength, function (item, index) {
@@ -11417,7 +11421,7 @@ function swipevue_type_template_id_4bcc6d9d_render(_ctx, _cache, $props, $setup,
11417
11421
  }, null, 2 /* CLASS */);
11418
11422
  }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */)], 6 /* CLASS, STYLE */);
11419
11423
  }
11420
- ;// ./src/components/swipe/swipe.vue?vue&type=template&id=4bcc6d9d
11424
+ ;// ./src/components/swipe/swipe.vue?vue&type=template&id=0053c134
11421
11425
 
11422
11426
  ;// ./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
11423
11427
 
@@ -11636,7 +11640,8 @@ var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11636
11640
  timer.value = null;
11637
11641
  }
11638
11642
  function onResize() {
11639
- if (wrapper.value) clientWidth.value = wrapper.value.clientWidth;
11643
+ // if (wrapper.value) clientWidth.value = wrapper.value.clientWidth
11644
+ clientWidth.value = swipeRef.value ? swipeRef.value.clientWidth : 0;
11640
11645
  }
11641
11646
  (0,external_vue_.onMounted)(function () {
11642
11647
  // nextTick(() => {
@@ -11686,7 +11691,7 @@ var swipevue_type_script_lang_js_prefixCls = 'dpzvc3-swipe';
11686
11691
 
11687
11692
 
11688
11693
  ;
11689
- const swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(swipevue_type_script_lang_js, [['render',swipevue_type_template_id_4bcc6d9d_render]])
11694
+ const swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(swipevue_type_script_lang_js, [['render',swipevue_type_template_id_0053c134_render]])
11690
11695
 
11691
11696
  /* harmony default export */ const swipe = (swipe_exports_);
11692
11697
  ;// ./src/components/swipe/index.js
@@ -12385,13 +12390,13 @@ prompt_confirm.remove = function () {
12385
12390
  instance.remove();
12386
12391
  };
12387
12392
  /* harmony default export */ const components_prompt = (prompt_confirm);
12388
- ;// ./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/slideBar/slideBar.vue?vue&type=template&id=6ee7198d
12393
+ ;// ./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/slideBar/slideBar.vue?vue&type=template&id=b7dd0e7a
12389
12394
 
12390
- var slideBarvue_type_template_id_6ee7198d_hoisted_1 = ["onClick"];
12391
- var slideBarvue_type_template_id_6ee7198d_hoisted_2 = {
12395
+ var slideBarvue_type_template_id_b7dd0e7a_hoisted_1 = ["onClick"];
12396
+ var slideBarvue_type_template_id_b7dd0e7a_hoisted_2 = {
12392
12397
  "class": "content ellipse-fir"
12393
12398
  };
12394
- function slideBarvue_type_template_id_6ee7198d_render(_ctx, _cache, $props, $setup, $data, $options) {
12399
+ function slideBarvue_type_template_id_b7dd0e7a_render(_ctx, _cache, $props, $setup, $data, $options) {
12395
12400
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
12396
12401
  "class": (0,external_vue_.normalizeClass)(_ctx.classes),
12397
12402
  style: (0,external_vue_.normalizeStyle)(_ctx.getStyles)
@@ -12418,8 +12423,8 @@ function slideBarvue_type_template_id_6ee7198d_render(_ctx, _cache, $props, $set
12418
12423
  return _ctx.changeBar(key);
12419
12424
  }
12420
12425
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, 'slide-bar-header-' + key, {}, function () {
12421
- return [(0,external_vue_.createElementVNode)("a", slideBarvue_type_template_id_6ee7198d_hoisted_2, (0,external_vue_.toDisplayString)(item.name), 1 /* TEXT */)];
12422
- })], 14 /* CLASS, STYLE, PROPS */, slideBarvue_type_template_id_6ee7198d_hoisted_1);
12426
+ return [(0,external_vue_.createElementVNode)("a", slideBarvue_type_template_id_b7dd0e7a_hoisted_2, (0,external_vue_.toDisplayString)(item.name), 1 /* TEXT */)];
12427
+ })], 14 /* CLASS, STYLE, PROPS */, slideBarvue_type_template_id_b7dd0e7a_hoisted_1);
12423
12428
  }), 128 /* KEYED_FRAGMENT */))], 6 /* CLASS, STYLE */), (0,external_vue_.createElementVNode)("div", {
12424
12429
  "class": (0,external_vue_.normalizeClass)(_ctx.absoluteClass),
12425
12430
  style: (0,external_vue_.normalizeStyle)(_ctx.getScrollStyle)
@@ -12442,7 +12447,7 @@ function slideBarvue_type_template_id_6ee7198d_render(_ctx, _cache, $props, $set
12442
12447
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, 'slot-item-' + index)], 6 /* CLASS, STYLE */);
12443
12448
  }), 128 /* KEYED_FRAGMENT */))], 6 /* CLASS, STYLE */)], 6 /* CLASS, STYLE */)], 6 /* CLASS, STYLE */);
12444
12449
  }
12445
- ;// ./src/components/slideBar/slideBar.vue?vue&type=template&id=6ee7198d
12450
+ ;// ./src/components/slideBar/slideBar.vue?vue&type=template&id=b7dd0e7a
12446
12451
 
12447
12452
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[7].use[0]!./src/components/slideBar/slideBar.vue?vue&type=script&lang=js
12448
12453
 
@@ -12531,9 +12536,8 @@ var slideBarvue_type_script_lang_js_prefixCls = 'dpzvc3-slideBar';
12531
12536
  var getItemWidth = (0,external_vue_.computed)(function () {
12532
12537
  return isFlex.value ? clientWidth.value / items.value.length : props.childWidth;
12533
12538
  });
12534
- var translateX = (0,external_vue_.computed)(function () {
12535
- return -startIndex.value * clientWidth.value;
12536
- });
12539
+ // const translateX = computed(() => -startIndex.value * clientWidth.value)
12540
+ var translateX = (0,external_vue_.ref)(0);
12537
12541
  var classes = (0,external_vue_.computed)(function () {
12538
12542
  return [slideBarvue_type_script_lang_js_prefixCls];
12539
12543
  });
@@ -12581,6 +12585,7 @@ var slideBarvue_type_script_lang_js_prefixCls = 'dpzvc3-slideBar';
12581
12585
  function changeBar(index) {
12582
12586
  if (startIndex.value === index) return;
12583
12587
  startIndex.value = index;
12588
+ translateX.value = -startIndex.value * clientWidth.value;
12584
12589
  emit('on-change', index);
12585
12590
  }
12586
12591
 
@@ -12594,21 +12599,35 @@ var slideBarvue_type_script_lang_js_prefixCls = 'dpzvc3-slideBar';
12594
12599
  function onTouchMove(e) {
12595
12600
  var currentX = e.touches[0].clientX;
12596
12601
  distance.value = props.distanceIndex ? (currentX - startX.value) / props.distanceIndex : currentX - startX.value;
12602
+ translateX.value = startTranslateX.value + distance.value;
12597
12603
  }
12598
12604
  function onTouchEnd() {
12599
12605
  if (distance.value < 0 && Math.abs(distance.value) > clientWidth.value / 2) {
12600
12606
  slideLeft();
12601
12607
  } else if (distance.value > 0 && Math.abs(distance.value) > clientWidth.value / 2) {
12602
12608
  slideRight();
12609
+ } else {
12610
+ translateX.value = startTranslateX.value;
12603
12611
  }
12604
12612
  dragging.value = false;
12605
12613
  }
12606
12614
  function slideLeft() {
12607
- if (startIndex.value < maxIndex.value) startIndex.value++;
12615
+ if (startIndex.value >= maxIndex.value) {
12616
+ translateX.value = startTranslateX.value;
12617
+ } else {
12618
+ startIndex.value++;
12619
+ translateX.value = startTranslateX.value - clientWidth.value;
12620
+ }
12608
12621
  emit('on-change', startIndex.value);
12609
12622
  }
12610
12623
  function slideRight() {
12611
- if (startIndex.value > 0) startIndex.value--;
12624
+ // if (startIndex.value > 0) startIndex.value--
12625
+ if (startIndex.value <= 0) {
12626
+ translateX.value = startTranslateX.value;
12627
+ } else {
12628
+ startIndex.value--;
12629
+ translateX.value = startTranslateX.value + clientWidth.value;
12630
+ }
12612
12631
  emit('on-change', startIndex.value);
12613
12632
  }
12614
12633
 
@@ -12621,8 +12640,11 @@ var slideBarvue_type_script_lang_js_prefixCls = 'dpzvc3-slideBar';
12621
12640
  }
12622
12641
  (0,external_vue_.onMounted)(function () {
12623
12642
  clientWidth.value = header.value.clientWidth;
12643
+ translateX.value = -startIndex.value * clientWidth.value;
12624
12644
  window.addEventListener('resize', onResize);
12645
+ onScroll();
12625
12646
  if (props.canDrag && content.value) {
12647
+ // console.log(content.value, 'dadsds')
12626
12648
  content.value.addEventListener('touchstart', onTouchStart);
12627
12649
  content.value.addEventListener('touchmove', onTouchMove);
12628
12650
  content.value.addEventListener('touchend', onTouchEnd);
@@ -12669,7 +12691,7 @@ var slideBarvue_type_script_lang_js_prefixCls = 'dpzvc3-slideBar';
12669
12691
 
12670
12692
 
12671
12693
  ;
12672
- const slideBar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(slideBarvue_type_script_lang_js, [['render',slideBarvue_type_template_id_6ee7198d_render]])
12694
+ const slideBar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(slideBarvue_type_script_lang_js, [['render',slideBarvue_type_template_id_b7dd0e7a_render]])
12673
12695
 
12674
12696
  /* harmony default export */ const slideBar = (slideBar_exports_);
12675
12697
  ;// ./src/components/slideBar/index.js
@@ -13424,15 +13446,15 @@ const upload_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(uploadvue_t
13424
13446
  */
13425
13447
 
13426
13448
  /* harmony default export */ const components_upload = (upload);
13427
- ;// ./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
13449
+ ;// ./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
13428
13450
 
13429
- var actionSheetvue_type_template_id_bded2a8e_hoisted_1 = ["onClick"];
13430
- function actionSheetvue_type_template_id_bded2a8e_render(_ctx, _cache, $props, $setup, $data, $options) {
13451
+ var actionSheetvue_type_template_id_3e21ff72_hoisted_1 = ["onClick"];
13452
+ function actionSheetvue_type_template_id_3e21ff72_render(_ctx, _cache, $props, $setup, $data, $options) {
13431
13453
  var _component_Popup = (0,external_vue_.resolveComponent)("Popup");
13432
13454
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", null, [(0,external_vue_.createVNode)(_component_Popup, {
13433
- modelValue: $setup.visible,
13455
+ modelValue: _ctx.visible,
13434
13456
  "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
13435
- return $setup.visible = $event;
13457
+ return _ctx.visible = $event;
13436
13458
  }),
13437
13459
  position: "bottom",
13438
13460
  styles: {
@@ -13441,36 +13463,36 @@ function actionSheetvue_type_template_id_bded2a8e_render(_ctx, _cache, $props, $
13441
13463
  }, {
13442
13464
  "default": (0,external_vue_.withCtx)(function () {
13443
13465
  return [(0,external_vue_.createElementVNode)("div", {
13444
- "class": (0,external_vue_.normalizeClass)($setup.classes)
13466
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes)
13445
13467
  }, [(0,external_vue_.createElementVNode)("ul", {
13446
- "class": (0,external_vue_.normalizeClass)($setup.wrapperClasses)
13447
- }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)($setup.actions, function (item, key) {
13468
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperClasses)
13469
+ }, [((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.actions, function (item, key) {
13448
13470
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("li", {
13449
13471
  key: key,
13450
- "class": (0,external_vue_.normalizeClass)($setup.wrapperActionClass),
13472
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperActionClass),
13451
13473
  onClick: function onClick($event) {
13452
- return $setup.emit(item, key);
13474
+ return _ctx.emit(item, key);
13453
13475
  }
13454
- }, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.text), 1 /* TEXT */)], 10 /* CLASS, PROPS */, actionSheetvue_type_template_id_bded2a8e_hoisted_1);
13455
- }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), $props.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
13476
+ }, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(item.text), 1 /* TEXT */)], 10 /* CLASS, PROPS */, actionSheetvue_type_template_id_3e21ff72_hoisted_1);
13477
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), _ctx.cancleText ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("a", {
13456
13478
  key: 0,
13457
13479
  href: "javascript:;",
13458
- "class": (0,external_vue_.normalizeClass)($setup.cancleClass),
13480
+ "class": (0,external_vue_.normalizeClass)(_ctx.cancleClass),
13459
13481
  onClick: _cache[0] || (_cache[0] = function ($event) {
13460
- return $setup.visible = false;
13482
+ return _ctx.visible = false;
13461
13483
  })
13462
- }, (0,external_vue_.toDisplayString)($props.cancleText), 3 /* TEXT, CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */)];
13484
+ }, (0,external_vue_.toDisplayString)(_ctx.cancleText), 3 /* TEXT, CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true)], 2 /* CLASS */)];
13463
13485
  }),
13464
13486
  _: 1 /* STABLE */
13465
13487
  }, 8 /* PROPS */, ["modelValue"])]);
13466
13488
  }
13467
- ;// ./src/components/action-sheet/actionSheet.vue?vue&type=template&id=bded2a8e
13489
+ ;// ./src/components/action-sheet/actionSheet.vue?vue&type=template&id=3e21ff72
13468
13490
 
13469
13491
  ;// ./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
13470
13492
 
13471
13493
 
13472
13494
  var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13473
- /* harmony default export */ const actionSheetvue_type_script_lang_js = ({
13495
+ /* harmony default export */ const actionSheetvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
13474
13496
  name: 'ActionSheet',
13475
13497
  components: {
13476
13498
  Popup: components_popup
@@ -13506,9 +13528,9 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13506
13528
  });
13507
13529
 
13508
13530
  // 监听 visible 改变,通知父组件
13509
- (0,external_vue_.watch)(visible, function (val) {
13510
- emit('update:modelValue', val);
13511
- });
13531
+ // watch(visible, (val) => {
13532
+ // emit('update:modelValue', val)
13533
+ // })
13512
13534
 
13513
13535
  // 样式类
13514
13536
  var classes = (0,external_vue_.computed)(function () {
@@ -13529,7 +13551,8 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13529
13551
  if (item.onClick && typeof item.onClick === 'function') {
13530
13552
  item.onClick(item, index);
13531
13553
  }
13532
- visible.value = false;
13554
+ // visible.value = false
13555
+ emit('update:modelValue', false);
13533
13556
  };
13534
13557
  return {
13535
13558
  visible: visible,
@@ -13541,7 +13564,7 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13541
13564
  emit: emitAction
13542
13565
  };
13543
13566
  }
13544
- });
13567
+ }));
13545
13568
  ;// ./src/components/action-sheet/actionSheet.vue?vue&type=script&lang=js
13546
13569
 
13547
13570
  ;// ./src/components/action-sheet/actionSheet.vue
@@ -13550,7 +13573,7 @@ var actionSheetvue_type_script_lang_js_prefixCls = 'dpzvc3-actionSheet';
13550
13573
 
13551
13574
 
13552
13575
  ;
13553
- const actionSheet_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(actionSheetvue_type_script_lang_js, [['render',actionSheetvue_type_template_id_bded2a8e_render]])
13576
+ const actionSheet_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(actionSheetvue_type_script_lang_js, [['render',actionSheetvue_type_template_id_3e21ff72_render]])
13554
13577
 
13555
13578
  /* harmony default export */ const actionSheet = (actionSheet_exports_);
13556
13579
  ;// ./src/components/action-sheet/index.js
@@ -14543,52 +14566,61 @@ const topTop_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(topTopvue_t
14543
14566
  */
14544
14567
 
14545
14568
  /* harmony default export */ const toTop = (topTop);
14546
- ;// ./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
14569
+ ;// ./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
14547
14570
 
14548
- var cellvue_type_template_id_4e8ecb4b_hoisted_1 = ["href"];
14549
- var cellvue_type_template_id_4e8ecb4b_hoisted_2 = ["textContent"];
14550
- var cellvue_type_template_id_4e8ecb4b_hoisted_3 = ["textContent"];
14551
- var cellvue_type_template_id_4e8ecb4b_hoisted_4 = ["textContent"];
14552
- function cellvue_type_template_id_4e8ecb4b_render(_ctx, _cache, $props, $setup, $data, $options) {
14571
+ var cellvue_type_template_id_134ad428_hoisted_1 = ["href"];
14572
+ var cellvue_type_template_id_134ad428_hoisted_2 = ["textContent"];
14573
+ var cellvue_type_template_id_134ad428_hoisted_3 = ["textContent"];
14574
+ var cellvue_type_template_id_134ad428_hoisted_4 = ["textContent"];
14575
+ function cellvue_type_template_id_134ad428_render(_ctx, _cache, $props, $setup, $data, $options) {
14553
14576
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
14554
- href: $setup.toLink,
14555
- "class": (0,external_vue_.normalizeClass)($setup.classes),
14577
+ href: _ctx.toLink,
14578
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes),
14556
14579
  onClick: _cache[0] || (_cache[0] = (0,external_vue_.withModifiers)(function () {
14557
- return $setup.handleClick && $setup.handleClick.apply($setup, arguments);
14558
- }, ["prevent"]))
14559
- }, [$props.hasMask ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14580
+ return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
14581
+ }, ["prevent"])),
14582
+ onTouchstart: _cache[1] || (_cache[1] = function () {
14583
+ return _ctx.cellTouchStart && _ctx.cellTouchStart.apply(_ctx, arguments);
14584
+ }),
14585
+ onTouchmove: _cache[2] || (_cache[2] = function () {
14586
+ return _ctx.cellTouchMove && _ctx.cellTouchMove.apply(_ctx, arguments);
14587
+ }),
14588
+ onTouchend: _cache[3] || (_cache[3] = function () {
14589
+ return _ctx.cellTouchEnd && _ctx.cellTouchEnd.apply(_ctx, arguments);
14590
+ })
14591
+ }, [_ctx.hasMask ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14560
14592
  key: 0,
14561
- "class": (0,external_vue_.normalizeClass)($setup.maskClass)
14593
+ "class": (0,external_vue_.normalizeClass)(_ctx.maskClass)
14562
14594
  }, null, 2 /* CLASS */)) : (0,external_vue_.createCommentVNode)("v-if", true), (0,external_vue_.createElementVNode)("div", {
14563
- "class": (0,external_vue_.normalizeClass)($setup.leftClasses)
14595
+ "class": (0,external_vue_.normalizeClass)(_ctx.leftClasses)
14564
14596
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "left")], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14565
- "class": (0,external_vue_.normalizeClass)($setup.wrapperClasses)
14597
+ "class": (0,external_vue_.normalizeClass)(_ctx.wrapperClasses)
14566
14598
  }, [(0,external_vue_.createElementVNode)("div", {
14567
- "class": (0,external_vue_.normalizeClass)($setup.titleClass)
14599
+ "class": (0,external_vue_.normalizeClass)(_ctx.titleClass)
14568
14600
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "icon"), (0,external_vue_.renderSlot)(_ctx.$slots, "title", {}, function () {
14569
14601
  return [(0,external_vue_.createElementVNode)("span", {
14570
- textContent: (0,external_vue_.toDisplayString)($props.title)
14571
- }, null, 8 /* PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_2), (0,external_vue_.createElementVNode)("span", {
14572
- "class": (0,external_vue_.normalizeClass)($setup.labelClass),
14573
- textContent: (0,external_vue_.toDisplayString)($props.label)
14574
- }, null, 10 /* CLASS, PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_3)];
14602
+ textContent: (0,external_vue_.toDisplayString)(_ctx.title)
14603
+ }, null, 8 /* PROPS */, cellvue_type_template_id_134ad428_hoisted_2), (0,external_vue_.createElementVNode)("span", {
14604
+ "class": (0,external_vue_.normalizeClass)(_ctx.labelClass),
14605
+ textContent: (0,external_vue_.toDisplayString)(_ctx.label)
14606
+ }, null, 10 /* CLASS, PROPS */, cellvue_type_template_id_134ad428_hoisted_3)];
14575
14607
  })], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14576
- "class": (0,external_vue_.normalizeClass)($setup.valueClass)
14608
+ "class": (0,external_vue_.normalizeClass)(_ctx.valueClass)
14577
14609
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "value", {}, function () {
14578
14610
  return [(0,external_vue_.createElementVNode)("span", {
14579
- textContent: (0,external_vue_.toDisplayString)($props.value)
14580
- }, null, 8 /* PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_4)];
14611
+ textContent: (0,external_vue_.toDisplayString)(_ctx.value)
14612
+ }, null, 8 /* PROPS */, cellvue_type_template_id_134ad428_hoisted_4)];
14581
14613
  })], 2 /* CLASS */)], 2 /* CLASS */), (0,external_vue_.createElementVNode)("div", {
14582
- "class": (0,external_vue_.normalizeClass)($setup.rightClasses)
14583
- }, [(0,external_vue_.renderSlot)(_ctx.$slots, "right")], 2 /* CLASS */)], 10 /* CLASS, PROPS */, cellvue_type_template_id_4e8ecb4b_hoisted_1);
14614
+ "class": (0,external_vue_.normalizeClass)(_ctx.rightClasses)
14615
+ }, [(0,external_vue_.renderSlot)(_ctx.$slots, "right")], 2 /* CLASS */)], 42 /* CLASS, PROPS, NEED_HYDRATION */, cellvue_type_template_id_134ad428_hoisted_1);
14584
14616
  }
14585
- ;// ./src/components/cell/cell.vue?vue&type=template&id=4e8ecb4b
14617
+ ;// ./src/components/cell/cell.vue?vue&type=template&id=134ad428
14586
14618
 
14587
14619
  ;// ./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
14588
14620
 
14589
14621
 
14590
14622
  var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14591
- /* harmony default export */ const cellvue_type_script_lang_js = ({
14623
+ /* harmony default export */ const cellvue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14592
14624
  name: 'Dpzvc3Cell',
14593
14625
  props: {
14594
14626
  title: String,
@@ -14597,6 +14629,7 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14597
14629
  link: String,
14598
14630
  hasMask: Boolean
14599
14631
  },
14632
+ emits: ['touchstart', 'touchmove', 'touchend', 'click'],
14600
14633
  setup: function setup(props, _ref) {
14601
14634
  var emit = _ref.emit;
14602
14635
  var router = useRouter();
@@ -14637,7 +14670,22 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14637
14670
 
14638
14671
  // 点击跳转
14639
14672
  var handleClick = function handleClick(e) {
14640
- if (props.link) router.push(props.link);
14673
+ if (props.link) {
14674
+ router.push(props.link);
14675
+ } else {
14676
+ emit('click', e);
14677
+ }
14678
+ };
14679
+
14680
+ // 定义touchstart,touchmove,touchend事件
14681
+ var cellTouchStart = function cellTouchStart(e) {
14682
+ emit('touchstart', e);
14683
+ };
14684
+ var cellTouchMove = function cellTouchMove(e) {
14685
+ emit('touchmove', e);
14686
+ };
14687
+ var cellTouchEnd = function cellTouchEnd(e) {
14688
+ emit('touchend', e);
14641
14689
  };
14642
14690
  return {
14643
14691
  toLink: toLink,
@@ -14650,10 +14698,13 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14650
14698
  valueClass: valueClass,
14651
14699
  labelClass: labelClass,
14652
14700
  handleClick: handleClick,
14653
- emit: emit
14701
+ emit: emit,
14702
+ cellTouchStart: cellTouchStart,
14703
+ cellTouchMove: cellTouchMove,
14704
+ cellTouchEnd: cellTouchEnd
14654
14705
  };
14655
14706
  }
14656
- });
14707
+ }));
14657
14708
  ;// ./src/components/cell/cell.vue?vue&type=script&lang=js
14658
14709
 
14659
14710
  ;// ./src/components/cell/cell.vue
@@ -14662,7 +14713,7 @@ var cellvue_type_script_lang_js_prefixCls = 'dpzvc3-cell';
14662
14713
 
14663
14714
 
14664
14715
  ;
14665
- const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_script_lang_js, [['render',cellvue_type_template_id_4e8ecb4b_render]])
14716
+ const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_script_lang_js, [['render',cellvue_type_template_id_134ad428_render]])
14666
14717
 
14667
14718
  /* harmony default export */ const cell = (cell_exports_);
14668
14719
  ;// ./src/components/cell/index.js
@@ -14671,116 +14722,78 @@ const cell_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cellvue_type_
14671
14722
  */
14672
14723
 
14673
14724
  /* harmony default export */ const components_cell = (cell);
14674
- ;// ./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
14725
+ ;// ./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
14675
14726
 
14676
- var cell_swipevue_type_template_id_796ae3a8_hoisted_1 = {
14727
+ var cell_swipevue_type_template_id_65db72d2_hoisted_1 = {
14677
14728
  ref: "leftRef",
14678
14729
  "class": "dpzvc3-cell-swipe-group"
14679
14730
  };
14680
- var cell_swipevue_type_template_id_796ae3a8_hoisted_2 = ["onClick", "innerHTML"];
14681
- var cell_swipevue_type_template_id_796ae3a8_hoisted_3 = {
14731
+ var cell_swipevue_type_template_id_65db72d2_hoisted_2 = ["onClick", "innerHTML"];
14732
+ var cell_swipevue_type_template_id_65db72d2_hoisted_3 = {
14682
14733
  ref: "rightRef",
14683
14734
  "class": "dpzvc3-cell-swipe-group"
14684
14735
  };
14685
- var cell_swipevue_type_template_id_796ae3a8_hoisted_4 = ["onClick", "innerHTML"];
14686
- function cell_swipevue_type_template_id_796ae3a8_render(_ctx, _cache, $props, $setup, $data, $options) {
14736
+ var cell_swipevue_type_template_id_65db72d2_hoisted_4 = ["onClick", "innerHTML"];
14737
+ function cell_swipevue_type_template_id_65db72d2_render(_ctx, _cache, $props, $setup, $data, $options) {
14687
14738
  var _component_Cell = (0,external_vue_.resolveComponent)("Cell");
14688
- var _directive_clickoutside = (0,external_vue_.resolveDirective)("clickoutside");
14689
- return (0,external_vue_.withDirectives)(((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_Cell, {
14739
+ return (0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_Cell, {
14690
14740
  ref: "cell",
14691
- title: $props.title,
14692
- value: $props.value,
14693
- label: $props.label,
14694
- link: $props.link,
14695
- "has-mask": $props.hasMask,
14741
+ title: _ctx.title,
14742
+ value: _ctx.value,
14743
+ label: _ctx.label,
14744
+ link: _ctx.link,
14745
+ "has-mask": _ctx.hasMask,
14696
14746
  onClick: _cache[0] || (_cache[0] = function ($event) {
14697
- return $setup.swipe();
14747
+ return _ctx.swipe();
14698
14748
  }),
14699
- onTouchstart: $setup.onTouchStart,
14700
- onTouchmove: $setup.onTouchMove,
14701
- onTouchend: $setup.onTouchEnd
14749
+ onTouchstart: _ctx.onTouchStart,
14750
+ onTouchmove: _ctx.onTouchMove,
14751
+ onTouchend: _ctx.onTouchEnd
14702
14752
  }, {
14703
14753
  left: (0,external_vue_.withCtx)(function () {
14704
- 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) {
14754
+ 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) {
14705
14755
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14706
14756
  key: key,
14707
14757
  "class": "dpzvc3-cell-swipe-btn",
14708
14758
  style: (0,external_vue_.normalizeStyle)(item.style),
14709
14759
  onClick: (0,external_vue_.withModifiers)(function () {
14710
14760
  item.handleClick && item.handleClick();
14711
- $setup.swipe();
14761
+ _ctx.swipe();
14712
14762
  }, ["stop"]),
14713
14763
  innerHTML: item.content
14714
- }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_796ae3a8_hoisted_2);
14764
+ }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_65db72d2_hoisted_2);
14715
14765
  }), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */)];
14716
14766
  }),
14717
14767
  right: (0,external_vue_.withCtx)(function () {
14718
- 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) {
14768
+ 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) {
14719
14769
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14720
14770
  key: key,
14721
14771
  "class": "dpzvc3-cell-swipe-btn",
14722
14772
  style: (0,external_vue_.normalizeStyle)(item.style),
14723
14773
  onClick: (0,external_vue_.withModifiers)(function () {
14724
14774
  item.handleClick && item.handleClick();
14725
- $setup.swipe();
14775
+ _ctx.swipe();
14726
14776
  }, ["stop"]),
14727
14777
  innerHTML: item.content
14728
- }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_796ae3a8_hoisted_4);
14778
+ }, null, 12 /* STYLE, PROPS */, cell_swipevue_type_template_id_65db72d2_hoisted_4);
14729
14779
  }), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */)];
14730
14780
  }),
14731
14781
  _: 1 /* STABLE */
14732
- }, 8 /* PROPS */, ["title", "value", "label", "link", "has-mask", "onTouchstart", "onTouchmove", "onTouchend"])), [[_directive_clickoutside, $setup.swipe, "touchstart"]]);
14733
- }
14734
- ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=796ae3a8
14735
-
14736
- ;// ./src/directives/clickoutside.js
14737
- var clickoutsideContext = '@@clickoutsideContext';
14738
- /* harmony default export */ const clickoutside = ({
14739
- beforeMount: function beforeMount(el, binding) {
14740
- // document 事件处理函数
14741
- var documentHandler = function documentHandler(e) {
14742
- // 如果点击元素本身或其子元素,则不触发
14743
- if (!el.contains(e.target)) {
14744
- // 调用传入的方法
14745
- if (typeof binding.value === 'function') {
14746
- binding.value(e);
14747
- }
14748
- }
14749
- };
14782
+ }, 8 /* PROPS */, ["title", "value", "label", "link", "has-mask", "onTouchstart", "onTouchmove", "onTouchend"]);
14783
+ }
14784
+ ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=template&id=65db72d2
14750
14785
 
14751
- // 保存上下文信息到 el 上,方便解绑
14752
- el[clickoutsideContext] = {
14753
- documentHandler: documentHandler,
14754
- event: binding.arg || 'click'
14755
- };
14756
- document.addEventListener(el[clickoutsideContext].event, documentHandler);
14757
- },
14758
- updated: function updated(el, binding) {
14759
- // 可以在更新时替换方法
14760
- // binding.value 已经是最新函数
14761
- el[clickoutsideContext].documentHandler = function (e) {
14762
- if (!el.contains(e.target) && typeof binding.value === 'function') {
14763
- binding.value(e);
14764
- }
14765
- };
14766
- },
14767
- unmounted: function unmounted(el) {
14768
- document.removeEventListener(el[clickoutsideContext].event, el[clickoutsideContext].documentHandler);
14769
- delete el[clickoutsideContext];
14770
- }
14771
- });
14772
14786
  ;// ./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
14773
14787
 
14774
14788
 
14789
+ // import Clickoutside from '../../directives/clickoutside'
14775
14790
 
14776
- /* harmony default export */ const cell_swipevue_type_script_lang_js = ({
14791
+ /* harmony default export */ const cell_swipevue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14777
14792
  name: 'CellSwipe',
14778
14793
  components: {
14779
14794
  Cell: components_cell
14780
14795
  },
14781
- directives: {
14782
- Clickoutside: clickoutside
14783
- },
14796
+ // directives: { Clickoutside },
14784
14797
  props: {
14785
14798
  title: String,
14786
14799
  value: {},
@@ -14888,7 +14901,7 @@ var clickoutsideContext = '@@clickoutsideContext';
14888
14901
  onTouchEnd: onTouchEnd
14889
14902
  };
14890
14903
  }
14891
- });
14904
+ }));
14892
14905
  ;// ./src/components/cell-swipe/cell-swipe.vue?vue&type=script&lang=js
14893
14906
 
14894
14907
  ;// ./src/components/cell-swipe/cell-swipe.vue
@@ -14897,7 +14910,7 @@ var clickoutsideContext = '@@clickoutsideContext';
14897
14910
 
14898
14911
 
14899
14912
  ;
14900
- const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_swipevue_type_script_lang_js, [['render',cell_swipevue_type_template_id_796ae3a8_render]])
14913
+ const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_swipevue_type_script_lang_js, [['render',cell_swipevue_type_template_id_65db72d2_render]])
14901
14914
 
14902
14915
  /* harmony default export */ const cell_swipe = (cell_swipe_exports_);
14903
14916
  ;// ./src/components/cell-swipe/index.js
@@ -14906,22 +14919,22 @@ const cell_swipe_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(cell_sw
14906
14919
  */
14907
14920
 
14908
14921
  /* harmony default export */ const components_cell_swipe = (cell_swipe);
14909
- ;// ./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
14922
+ ;// ./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
14910
14923
 
14911
- function badgevue_type_template_id_b074a0ce_render(_ctx, _cache, $props, $setup, $data, $options) {
14924
+ function badgevue_type_template_id_fde94178_render(_ctx, _cache, $props, $setup, $data, $options) {
14912
14925
  return (0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
14913
- "class": (0,external_vue_.normalizeClass)($setup.classes)
14926
+ "class": (0,external_vue_.normalizeClass)(_ctx.classes)
14914
14927
  }, [(0,external_vue_.renderSlot)(_ctx.$slots, "default"), (0,external_vue_.withDirectives)((0,external_vue_.createElementVNode)("sup", {
14915
- "class": (0,external_vue_.normalizeClass)($setup.supClasses)
14916
- }, (0,external_vue_.toDisplayString)($setup.displayCount), 3 /* TEXT, CLASS */), [[external_vue_.vShow, $setup.visible]])], 2 /* CLASS */);
14928
+ "class": (0,external_vue_.normalizeClass)(_ctx.supClasses)
14929
+ }, (0,external_vue_.toDisplayString)(_ctx.displayCount), 3 /* TEXT, CLASS */), [[external_vue_.vShow, _ctx.visible]])], 2 /* CLASS */);
14917
14930
  }
14918
- ;// ./src/components/badge/badge.vue?vue&type=template&id=b074a0ce
14931
+ ;// ./src/components/badge/badge.vue?vue&type=template&id=fde94178
14919
14932
 
14920
14933
  ;// ./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
14921
14934
 
14922
14935
 
14923
14936
  var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
14924
- /* harmony default export */ const badgevue_type_script_lang_js = ({
14937
+ /* harmony default export */ const badgevue_type_script_lang_js = ((0,external_vue_.defineComponent)({
14925
14938
  name: 'Dpzvc3Badge',
14926
14939
  props: {
14927
14940
  type: {
@@ -14983,7 +14996,7 @@ var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
14983
14996
  displayCount: displayCount
14984
14997
  };
14985
14998
  }
14986
- });
14999
+ }));
14987
15000
  ;// ./src/components/badge/badge.vue?vue&type=script&lang=js
14988
15001
 
14989
15002
  ;// ./src/components/badge/badge.vue
@@ -14992,7 +15005,7 @@ var badgevue_type_script_lang_js_prefixCls = 'dpzvc3-badge';
14992
15005
 
14993
15006
 
14994
15007
  ;
14995
- const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_b074a0ce_render]])
15008
+ const badge_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(badgevue_type_script_lang_js, [['render',badgevue_type_template_id_fde94178_render]])
14996
15009
 
14997
15010
  /* harmony default export */ const badge = (badge_exports_);
14998
15011
  ;// ./src/components/badge/index.js