vary-ui 3.22.40 → 3.22.42

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 (36) hide show
  1. package/dist/{Loading-C_uaS8xl.js → Loading-irVvRKfb.js} +2 -2
  2. package/dist/{Wrap-BqOi_KXH.js → Wrap-rhLW3rzL.js} +1 -1
  3. package/dist/lib/Button/Button.js +2 -2
  4. package/dist/lib/Card/Card.js +2 -2
  5. package/dist/lib/Checkbox/Checkbox.js +2 -2
  6. package/dist/lib/CheckboxGroup/CheckboxGroup.js +2 -2
  7. package/dist/lib/Confirm/Confirm.js +2 -2
  8. package/dist/lib/Date/Date.js +4 -4
  9. package/dist/lib/Dialog/Dialog.js +1 -1
  10. package/dist/lib/Divider/Divider.js +1 -1
  11. package/dist/lib/Form/Form.js +2 -2
  12. package/dist/lib/FormItem/FormItem.js +3 -3
  13. package/dist/lib/Input/Input.js +4 -4
  14. package/dist/lib/Link/Link.js +2 -2
  15. package/dist/lib/Loading/Loading.js +3 -3
  16. package/dist/lib/Menu/Menu.js +2 -2
  17. package/dist/lib/Message/Message.js +2 -2
  18. package/dist/lib/Pagination/Pagination.js +6 -6
  19. package/dist/lib/Popover/Popover.js +1 -1
  20. package/dist/lib/Radio/Radio.js +2 -2
  21. package/dist/lib/RadioButton/RadioButton.js +2 -2
  22. package/dist/lib/RadioGroup/RadioGroup.js +1 -1
  23. package/dist/lib/Scene/Scene.js +1 -1
  24. package/dist/lib/Scroll/Scroll.js +55 -3
  25. package/dist/lib/Select/Select.js +6 -6
  26. package/dist/lib/Skeleton/Skeleton.js +1 -1
  27. package/dist/lib/Tab/Tab.js +1 -1
  28. package/dist/lib/Table/Table.js +30 -3
  29. package/dist/lib/TableColumn/TableColumn.js +1 -1
  30. package/dist/lib/Tabs/Tabs.js +2 -2
  31. package/dist/vary-ui.js +6 -6
  32. package/package.json +1 -1
  33. /package/dist/{_plugin-vue_export-helper-UXKBO7lP.js → _plugin-vue_export-helper-Dyrzw6D0.js} +0 -0
  34. /package/dist/{_tslib-C2Un_z02.js → _tslib-NqQDnvbL.js} +0 -0
  35. /package/dist/{config-c257nIql.js → config-D7GK0MUk.js} +0 -0
  36. /package/dist/{utils-Cy9rxYMU.js → utils-D-oc4_Di.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, createVNode } from 'vue';
2
- import { c as config } from './config-c257nIql.js';
3
- import { _ as _export_sfc } from './_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from './config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _a;
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from './_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
3
  import { Icon } from '@iconify/vue';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createVNode, createTextVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, createVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, provide, computed, createVNode } from 'vue';
2
- import { i as isArray } from '../../utils-Cy9rxYMU.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { i as isArray } from '../../utils-D-oc4_Di.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, createVNode, createApp, h, isVNode } from 'vue';
2
2
  import Button from '../Button/Button.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
- import '../../config-c257nIql.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
+ import '../../config-D7GK0MUk.js';
5
5
  import '@iconify/vue';
6
6
 
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, shallowRef, ref, reactive, watch, createVNode, createTextVNode } from 'vue';
2
- import { n as now, e as isTime, g as isYear, h as isMonth, d as isDate, f as isDateTime } from '../../utils-Cy9rxYMU.js';
2
+ import { n as now, e as isTime, g as isYear, h as isMonth, d as isDate, f as isDateTime } from '../../utils-D-oc4_Di.js';
3
3
  import Popover from '../Popover/Popover.js';
4
4
  import Scroll from '../Scroll/Scroll.js';
5
5
  import Link from '../Link/Link.js';
6
- import { W as Wrap } from '../../Wrap-BqOi_KXH.js';
7
- import { c as config } from '../../config-c257nIql.js';
8
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
6
+ import { W as Wrap } from '../../Wrap-rhLW3rzL.js';
7
+ import { c as config } from '../../config-D7GK0MUk.js';
8
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
9
9
  import '@iconify/vue';
10
10
 
11
11
  const weeks = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, onMounted, onBeforeUnmount, createVNode, createTextVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, provide, createVNode } from 'vue';
2
- import { _ as __awaiter } from '../../_tslib-C2Un_z02.js';
2
+ import { _ as __awaiter } from '../../_tslib-NqQDnvbL.js';
3
3
  import Schema from 'async-validator';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, inject, computed, ref, onMounted, onUnmounted, provide, createVNode } from 'vue';
2
- import { _ as __awaiter } from '../../_tslib-C2Un_z02.js';
3
- import { c as config } from '../../config-c257nIql.js';
2
+ import { _ as __awaiter } from '../../_tslib-NqQDnvbL.js';
3
+ import { c as config } from '../../config-D7GK0MUk.js';
4
4
  import Schema from 'async-validator';
5
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
5
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
6
6
 
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, inject, watch, createVNode } from 'vue';
2
- import { W as Wrap } from '../../Wrap-BqOi_KXH.js';
3
- import { c as isFun } from '../../utils-Cy9rxYMU.js';
4
- import { c as config } from '../../config-c257nIql.js';
5
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { W as Wrap } from '../../Wrap-rhLW3rzL.js';
3
+ import { c as isFun } from '../../utils-D-oc4_Di.js';
4
+ import { c as config } from '../../config-D7GK0MUk.js';
5
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
6
6
 
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
3
  import { Icon } from '@iconify/vue';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { shallowRef, createApp, h } from 'vue';
2
- import { L as Loading } from '../../Loading-C_uaS8xl.js';
3
- import { c as config } from '../../config-c257nIql.js';
4
- import '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { L as Loading } from '../../Loading-irVvRKfb.js';
3
+ import { c as config } from '../../config-D7GK0MUk.js';
4
+ import '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  const defaultOptions = {
7
7
  lock: false,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, watch, createVNode } from 'vue';
2
- import { k as debounce } from '../../utils-Cy9rxYMU.js';
2
+ import { k as debounce } from '../../utils-D-oc4_Di.js';
3
3
  import Scroll from '../Scroll/Scroll.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, onMounted, h, createApp } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = defineComponent({
6
6
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent, ref, watch, createVNode, createTextVNode } from 'vue';
2
2
  import Select from '../Select/Select.js';
3
- import { c as config } from '../../config-c257nIql.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
5
- import '../../_tslib-C2Un_z02.js';
6
- import '../../utils-Cy9rxYMU.js';
3
+ import { c as config } from '../../config-D7GK0MUk.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
+ import '../../_tslib-NqQDnvbL.js';
6
+ import '../../utils-D-oc4_Di.js';
7
7
  import '../Popover/Popover.js';
8
- import '../../Wrap-BqOi_KXH.js';
8
+ import '../../Wrap-rhLW3rzL.js';
9
9
  import '../Input/Input.js';
10
10
  import '../Checkbox/Checkbox.js';
11
11
  import '../Scroll/Scroll.js';
12
- import '../../Loading-C_uaS8xl.js';
12
+ import '../../Loading-irVvRKfb.js';
13
13
 
14
14
  var _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, shallowRef, ref, reactive, watch, createVNode, Teleport, nextTick } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-c257nIql.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { c as config } from '../../config-D7GK0MUk.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, provide, computed, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, renderSlot } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /*@__PURE__*/ defineComponent({
5
5
  __name: 'Scene',
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, shallowRef, ref, onMounted, nextTick, onBeforeUnmount, createVNode } from 'vue';
2
- import { k as debounce } from '../../utils-Cy9rxYMU.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { k as debounce } from '../../utils-D-oc4_Di.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
4
4
 
5
5
  /**
6
6
  * note:
@@ -85,6 +85,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
85
85
  let thumbBarWidth = 0;
86
86
  let ratioX = 1;
87
87
  let ratioY = 1;
88
+ // 触摸事件相关变量
89
+ let touchStartX = 0;
90
+ let touchStartY = 0;
91
+ let touchStartLeft = 0;
92
+ let touchStartTop = 0;
93
+ let isTouching = false;
88
94
  function updateRootSize() {
89
95
  const rootRect = rootRef.value.getBoundingClientRect();
90
96
  rootHeight = rootRect.height;
@@ -370,6 +376,49 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
370
376
  const reachRight = function () {
371
377
  _emit("reach-right");
372
378
  };
379
+ // 触摸开始事件
380
+ function handleTouchStart(e) {
381
+ if (_props.disabled) return;
382
+ const touch = e.touches[0];
383
+ touchStartX = touch.clientX;
384
+ touchStartY = touch.clientY;
385
+ touchStartLeft = bodyLeft;
386
+ touchStartTop = bodyTop;
387
+ isTouching = true;
388
+ }
389
+ // 触摸移动事件
390
+ function handleTouchMove(e) {
391
+ if (_props.disabled || !isTouching) return;
392
+ if (_props.lockPrevent) {
393
+ e.preventDefault(); // 阻止页面滚动
394
+ }
395
+ const touch = e.touches[0];
396
+ const deltaX = touch.clientX - touchStartX;
397
+ const deltaY = touch.clientY - touchStartY;
398
+ let newLeft = touchStartLeft + deltaX;
399
+ let newTop = touchStartTop + deltaY;
400
+ // 限制滚动范围
401
+ const maxLeft = rootWidth - bodyWidth;
402
+ const maxTop = rootHeight - bodyHeight;
403
+ if (newLeft > 0) newLeft = 0;
404
+ if (newLeft < maxLeft) newLeft = maxLeft;
405
+ if (newTop > 0) newTop = 0;
406
+ if (newTop < maxTop) newTop = maxTop;
407
+ bodyLeft = newLeft;
408
+ bodyTop = newTop;
409
+ // 更新滑块位置
410
+ thumbLeft = Math.abs(bodyLeft) / ratioX;
411
+ thumbTop = Math.abs(bodyTop) / ratioY;
412
+ // 更新DOM
413
+ bodyRef.value.style.transform = `matrix(1,0,0,1,${bodyLeft},${bodyTop})`;
414
+ thumbXRef.value.style.transform = `translateX(${thumbLeft}px)`;
415
+ thumbYRef.value.style.transform = `translateY(${thumbTop}px)`;
416
+ emitScroll();
417
+ }
418
+ // 触摸结束事件
419
+ function handleTouchEnd(e) {
420
+ isTouching = false;
421
+ }
373
422
  return () => {
374
423
  return createVNode("div", {
375
424
  "ref": rootRef,
@@ -512,7 +561,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
512
561
  thumbLeft = Math.abs(currentLeft) / ratioX;
513
562
  thumbXRef.value.style.transform = `translateX(${thumbLeft}px)`;
514
563
  emitScroll();
515
- }
564
+ },
565
+ "onTouchstart": handleTouchStart,
566
+ "onTouchmove": handleTouchMove,
567
+ "onTouchend": handleTouchEnd
516
568
  }, [createVNode("div", {
517
569
  "ref": bodyRef,
518
570
  "class": "v_scroll_body"
@@ -1,14 +1,14 @@
1
1
  import { defineComponent, ref, shallowRef, reactive, watch, onMounted, createVNode, createTextVNode, nextTick, isVNode } from 'vue';
2
- import { _ as __awaiter } from '../../_tslib-C2Un_z02.js';
3
- import { i as isArray, a as isObject, k as debounce } from '../../utils-Cy9rxYMU.js';
2
+ import { _ as __awaiter } from '../../_tslib-NqQDnvbL.js';
3
+ import { i as isArray, a as isObject, k as debounce } from '../../utils-D-oc4_Di.js';
4
4
  import Popover from '../Popover/Popover.js';
5
- import { W as Wrap } from '../../Wrap-BqOi_KXH.js';
5
+ import { W as Wrap } from '../../Wrap-rhLW3rzL.js';
6
6
  import Input from '../Input/Input.js';
7
7
  import Checkbox from '../Checkbox/Checkbox.js';
8
8
  import Scroll from '../Scroll/Scroll.js';
9
- import { c as config } from '../../config-c257nIql.js';
10
- import { L as Loading } from '../../Loading-C_uaS8xl.js';
11
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
9
+ import { c as config } from '../../config-D7GK0MUk.js';
10
+ import { L as Loading } from '../../Loading-irVvRKfb.js';
11
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
12
12
 
13
13
  /**
14
14
  关于远程搜索:
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  setup(_props, {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, shallowRef, reactive, computed, nextTick, onMounted, watch, onBeforeMount, createVNode, createTextVNode } from 'vue';
2
- import { m as matchChildrenCoponent, k as debounce, t as throttle } from '../../utils-Cy9rxYMU.js';
2
+ import { m as matchChildrenCoponent, k as debounce, t as throttle } from '../../utils-D-oc4_Di.js';
3
3
  import Checkbox from '../Checkbox/Checkbox.js';
4
4
  import Scroll from '../Scroll/Scroll.js';
5
5
  import TableColumn from '../TableColumn/TableColumn.js';
6
- import { c as config } from '../../config-c257nIql.js';
7
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
6
+ import { c as config } from '../../config-D7GK0MUk.js';
7
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
8
8
 
9
9
  let colKey = 0;
10
10
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -904,6 +904,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
904
904
  onSortChange(e, {
905
905
  prop: c.prop,
906
906
  order: "asc"});
907
+ },
908
+ "onTouchstart": e => {
909
+ e.stopPropagation();
910
+ },
911
+ "onTouchend": e => {
912
+ e.stopPropagation();
913
+ onSortChange(e, {
914
+ prop: c.prop,
915
+ order: "asc"});
907
916
  }
908
917
  }, null), createVNode("span", {
909
918
  "class": ["icon-triangle-down"],
@@ -911,6 +920,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
911
920
  onSortChange(e, {
912
921
  prop: c.prop,
913
922
  order: "desc"});
923
+ },
924
+ "onTouchstart": e => {
925
+ e.stopPropagation();
926
+ },
927
+ "onTouchend": e => {
928
+ e.stopPropagation();
929
+ onSortChange(e, {
930
+ prop: c.prop,
931
+ order: "desc"});
914
932
  }
915
933
  }, null)]));
916
934
  }
@@ -1060,6 +1078,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1060
1078
  "onClick": e => {
1061
1079
  e.stopPropagation();
1062
1080
  toggleRowExpand(r);
1081
+ },
1082
+ "onTouchstart": e => {
1083
+ e.stopPropagation();
1084
+ },
1085
+ "onTouchend": e => {
1086
+ e.stopPropagation();
1087
+ toggleRowExpand(r);
1063
1088
  }
1064
1089
  }, [createVNode("i", {
1065
1090
  "class": "icon-arrow-right"
@@ -1193,6 +1218,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1193
1218
  "ref": scrollHeadMainRef,
1194
1219
  "class": "v_table_head_main",
1195
1220
  "showScrollX": false,
1221
+ "lockPrevent": true,
1196
1222
  "onScroll": e => {
1197
1223
  scrollBodyMainRef.value && scrollBodyMainRef.value.scrollTo(e.left, 0);
1198
1224
  closeContextMenu();
@@ -1290,6 +1316,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1290
1316
  "ref": scrollBodyMainRef,
1291
1317
  "height": "100%",
1292
1318
  "class": "v_table_body_main",
1319
+ "lockPrevent": true,
1293
1320
  "onScroll": e => {
1294
1321
  closeContextMenu();
1295
1322
  scrollHeadMainRef.value && scrollHeadMainRef.value.scrollTo(e.left, 0);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, watch, onBeforeUnmount, createVNode } from 'vue';
2
- import { m as matchChildrenCoponent } from '../../utils-Cy9rxYMU.js';
2
+ import { m as matchChildrenCoponent } from '../../utils-D-oc4_Di.js';
3
3
  import Tab from '../Tab/Tab.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-UXKBO7lP.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-Dyrzw6D0.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
package/dist/vary-ui.js CHANGED
@@ -17,7 +17,7 @@ import Scroll from './lib/Scroll/Scroll.js';
17
17
  import Select from './lib/Select/Select.js';
18
18
  import Skeleton from './lib/Skeleton/Skeleton.js';
19
19
  import { defineComponent, ref, watch, createVNode, onMounted, onBeforeUnmount, createTextVNode, createApp, h } from 'vue';
20
- import { _ as _export_sfc } from './_plugin-vue_export-helper-UXKBO7lP.js';
20
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-Dyrzw6D0.js';
21
21
  import Tab from './lib/Tab/Tab.js';
22
22
  import Tabs from './lib/Tabs/Tabs.js';
23
23
  import Table from './lib/Table/Table.js';
@@ -28,13 +28,13 @@ import RadioGroup from './lib/RadioGroup/RadioGroup.js';
28
28
  import Message from './lib/Message/Message.js';
29
29
  import createConfirm from './lib/Confirm/Confirm.js';
30
30
  import './lib/Loading/Loading.js';
31
- import { c as config, s as setConfig } from './config-c257nIql.js';
31
+ import { c as config, s as setConfig } from './config-D7GK0MUk.js';
32
32
  import { Icon } from '@iconify/vue';
33
33
  export { Icon } from '@iconify/vue';
34
- export { k as debounce, i as isArray, b as isBoolean, d as isDate, f as isDateTime, c as isFun, h as isMonth, j as isNumber, a as isObject, e as isTime, g as isYear, m as matchChildrenCoponent, n as now, t as throttle } from './utils-Cy9rxYMU.js';
35
- import { L as Loading } from './Loading-C_uaS8xl.js';
36
- import './Wrap-BqOi_KXH.js';
37
- import './_tslib-C2Un_z02.js';
34
+ export { k as debounce, i as isArray, b as isBoolean, d as isDate, f as isDateTime, c as isFun, h as isMonth, j as isNumber, a as isObject, e as isTime, g as isYear, m as matchChildrenCoponent, n as now, t as throttle } from './utils-D-oc4_Di.js';
35
+ import { L as Loading } from './Loading-irVvRKfb.js';
36
+ import './Wrap-rhLW3rzL.js';
37
+ import './_tslib-NqQDnvbL.js';
38
38
  import 'async-validator';
39
39
 
40
40
  var _sfc_main$2 = /* @__PURE__ */ defineComponent({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vary-ui",
3
- "version": "3.22.40",
3
+ "version": "3.22.42",
4
4
  "description": "vary-ui base vue3",
5
5
  "homepage": "https://varyui.com",
6
6
  "main": "dist/vary-ui.js",
File without changes
File without changes
File without changes