vary-ui 3.21.60 → 3.21.61

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 (34) hide show
  1. package/dist/{Loading-BbLWtuW5.js → Loading-B77BLpR0.js} +2 -2
  2. package/dist/{Wrap-Bz5zyUL3.js → Wrap-CiLfWOx5.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 +3 -3
  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/Field/Field.js +2 -2
  12. package/dist/lib/Form/Form.js +1 -1
  13. package/dist/lib/Input/Input.js +3 -3
  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 +5 -5
  19. package/dist/lib/Popover/Popover.js +2 -2
  20. package/dist/lib/Radio/Radio.js +2 -2
  21. package/dist/lib/RadioGroup/RadioGroup.js +2 -2
  22. package/dist/lib/Scene/Scene.js +1 -1
  23. package/dist/lib/Scroll/Scroll.js +2 -2
  24. package/dist/lib/Select/Select.js +5 -5
  25. package/dist/lib/Skeleton/Skeleton.js +1 -1
  26. package/dist/lib/Tab/Tab.js +2 -2
  27. package/dist/lib/TabPanel/TabPanel.js +1 -1
  28. package/dist/lib/Table/Table.js +27 -9
  29. package/dist/lib/TableColumn/TableColumn.js +1 -1
  30. package/dist/vary-ui.js +5 -5
  31. package/package.json +1 -1
  32. /package/dist/{_plugin-vue_export-helper-DHfgb4ce.js → _plugin-vue_export-helper-99LJS6sQ.js} +0 -0
  33. /package/dist/{config-me5lgqIx.js → config-B6AmLjb9.js} +0 -0
  34. /package/dist/{utils-C-seGVif.js → utils-AtwISkPO.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, createVNode } from 'vue';
2
- import { c as config } from './config-me5lgqIx.js';
3
- import { _ as _export_sfc } from './_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from './config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-99LJS6sQ.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-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-99LJS6sQ.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  console.log(config);
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createVNode, createTextVNode } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, inject, createVNode } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, watch, provide, createVNode } from 'vue';
2
- import { i as isArray } from '../../utils-C-seGVif.js';
2
+ import { i as isArray } from '../../utils-AtwISkPO.js';
3
3
  import Checkbox from '../Checkbox/Checkbox.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
5
- import '../../config-me5lgqIx.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
5
+ import '../../config-B6AmLjb9.js';
6
6
 
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, createVNode, createApp, h } from 'vue';
2
2
  import Button from '../Button/Button.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
4
- import '../../config-me5lgqIx.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
+ import '../../config-B6AmLjb9.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -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-C-seGVif.js';
2
+ import { n as now, e as isTime, g as isYear, h as isMonth, d as isDate, f as isDateTime } from '../../utils-AtwISkPO.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-Bz5zyUL3.js';
7
- import { c as config } from '../../config-me5lgqIx.js';
8
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
6
+ import { W as Wrap } from '../../Wrap-CiLfWOx5.js';
7
+ import { c as config } from '../../config-B6AmLjb9.js';
8
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
9
9
 
10
10
  const weeks = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
11
11
  const months = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"].map((r, i) => {
@@ -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-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.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-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, createVNode } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, provide, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, watch, createVNode, mergeProps } from 'vue';
2
- import { W as Wrap } from '../../Wrap-Bz5zyUL3.js';
3
- import { c as isFun } from '../../utils-C-seGVif.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { W as Wrap } from '../../Wrap-CiLfWOx5.js';
3
+ import { c as isFun } from '../../utils-AtwISkPO.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  inheritAttrs: false,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, createVNode } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { shallowRef, createApp, h } from 'vue';
2
- import { L as Loading } from '../../Loading-BbLWtuW5.js';
3
- import { c as config } from '../../config-me5lgqIx.js';
4
- import '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { L as Loading } from '../../Loading-B77BLpR0.js';
3
+ import { c as config } from '../../config-B6AmLjb9.js';
4
+ import '../../_plugin-vue_export-helper-99LJS6sQ.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-C-seGVif.js';
2
+ import { k as debounce } from '../../utils-AtwISkPO.js';
3
3
  import Scroll from '../Scroll/Scroll.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.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-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = defineComponent({
6
6
  props: {
@@ -1,14 +1,14 @@
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-me5lgqIx.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
5
- import '../../utils-C-seGVif.js';
3
+ import { c as config } from '../../config-B6AmLjb9.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
5
+ import '../../utils-AtwISkPO.js';
6
6
  import '../Popover/Popover.js';
7
- import '../../Wrap-Bz5zyUL3.js';
7
+ import '../../Wrap-CiLfWOx5.js';
8
8
  import '../Input/Input.js';
9
9
  import '../Checkbox/Checkbox.js';
10
10
  import '../Scroll/Scroll.js';
11
- import '../../Loading-BbLWtuW5.js';
11
+ import '../../Loading-B77BLpR0.js';
12
12
 
13
13
  var _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, shallowRef, ref, watch, onMounted, onBeforeUnmount, createVNode, nextTick } from 'vue';
2
- import { t as throttle } from '../../utils-C-seGVif.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { t as throttle } from '../../utils-AtwISkPO.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, createVNode, inject } from 'vue';
2
- import { c as config } from '../../config-me5lgqIx.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { c as config } from '../../config-B6AmLjb9.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, watch, provide, createVNode } from 'vue';
2
2
  import Radio from '../Radio/Radio.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
4
- import '../../config-me5lgqIx.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
+ import '../../config-B6AmLjb9.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  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-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.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-C-seGVif.js';
3
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { k as debounce } from '../../utils-AtwISkPO.js';
3
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
4
4
 
5
5
  /**
6
6
  * note:
@@ -1,13 +1,13 @@
1
1
  import { defineComponent, ref, shallowRef, reactive, watch, createVNode, createTextVNode, isVNode, nextTick } from 'vue';
2
- import { k as debounce } from '../../utils-C-seGVif.js';
2
+ import { k as debounce } from '../../utils-AtwISkPO.js';
3
3
  import Popover from '../Popover/Popover.js';
4
- import { W as Wrap } from '../../Wrap-Bz5zyUL3.js';
4
+ import { W as Wrap } from '../../Wrap-CiLfWOx5.js';
5
5
  import Input from '../Input/Input.js';
6
6
  import Checkbox from '../Checkbox/Checkbox.js';
7
7
  import Scroll from '../Scroll/Scroll.js';
8
- import { c as config } from '../../config-me5lgqIx.js';
9
- import { L as Loading } from '../../Loading-BbLWtuW5.js';
10
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
8
+ import { c as config } from '../../config-B6AmLjb9.js';
9
+ import { L as Loading } from '../../Loading-B77BLpR0.js';
10
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
11
11
 
12
12
  /******************************************************************************
13
13
  Copyright (c) Microsoft Corporation.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.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-C-seGVif.js';
2
+ import { m as matchChildrenCoponent } from '../../utils-AtwISkPO.js';
3
3
  import TabPanel from '../TabPanel/TabPanel.js';
4
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
4
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
5
5
 
6
6
  var _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createVNode } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.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, nextTick, onMounted, watch, onBeforeMount, createVNode, createTextVNode } from 'vue';
2
- import { k as debounce, m as matchChildrenCoponent } from '../../utils-C-seGVif.js';
2
+ import { k as debounce, m as matchChildrenCoponent } from '../../utils-AtwISkPO.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-me5lgqIx.js';
7
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
6
+ import { c as config } from '../../config-B6AmLjb9.js';
7
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
8
8
 
9
9
  let colKey = 0;
10
10
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -179,6 +179,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
179
179
  const fixedRightColumns = ref([]);
180
180
  const mainColumns = ref([]);
181
181
  let mergeColumns = [];
182
+ /**
183
+ * 初始化表格, 初始化表格的列, 行数据
184
+ */
182
185
  function init() {
183
186
  const list = JSON.parse(JSON.stringify([..._props.data])); // 先从data中获取
184
187
  dataList.value = list;
@@ -261,10 +264,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
261
264
  rowsHeight.value = rawHeightTmp;
262
265
  }
263
266
  const computedSizeDebounce = debounce(function () {
267
+ debug && console.log('computedSizeDebounce');
264
268
  mapSize();
265
269
  }, 200);
270
+ /**
271
+ * 计算组件最终的宽度
272
+ * 再计算各列宽度
273
+ */
266
274
  function mapSize() {
267
275
  const rootWidth = rootRef.value.getBoundingClientRect().width;
276
+ debug && console.log('mapSize', needWidth, rootWidth);
268
277
  const initTableWidth = Math.max(needWidth, rootWidth);
269
278
  if (needWidth <= rootWidth) {
270
279
  // 如果最大宽度小于根宽度, 则设置为根宽度
@@ -329,6 +338,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
329
338
  let needWidth = 0; // 表格需要的宽度
330
339
  let fixedWidthTotal = 0; // 固定列的总宽度
331
340
  let flexColumnTotal = 0; // 可变列的总数量
341
+ /**
342
+ * 计算表格内容需要的实际宽度, 各列的最大宽度, 以及需要分配的列数
343
+ */
332
344
  function initStyle() {
333
345
  var _a;
334
346
  // 先计算表格各列的宽度
@@ -336,7 +348,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
336
348
  needWidth = 0;
337
349
  fixedWidthTotal = 0;
338
350
  flexColumnTotal = 0;
339
- const thEles = headMainRef.value.querySelectorAll('th');
351
+ const thEles = headMainRef.value.querySelectorAll('col');
340
352
  // const tdEles = bodyMainRef.value.querySelector('tr').querySelectorAll('td');
341
353
  const tdEles = ((_a = bodyMainRef.value) === null || _a === void 0 ? void 0 : _a.querySelectorAll('col')) || [];
342
354
  // 只计算需要的宽度
@@ -366,9 +378,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
366
378
  c._maxWidth = maxWidth;
367
379
  flexColumnTotal++;
368
380
  }
369
- // console.log('ci', ci, thEles[ci], tdEles[ci], thWidth, tdWidth, 'maxWidth', maxWidth, needWidth)
381
+ debug && console.log('ci', ci, thEles[ci], tdEles[ci], thWidth, tdWidth, 'maxWidth', maxWidth, needWidth);
370
382
  });
371
- mapSize();
383
+ debug && console.log('initStyle result', needWidth, fixedWidthTotal, flexColumnTotal);
372
384
  }
373
385
  /**
374
386
  * 选中状态发生变化时, 更新selection
@@ -444,15 +456,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
444
456
  init();
445
457
  nextTick(() => {
446
458
  initStyle();
447
- if (rootRef.value) {
448
- ro.observe(rootRef.value);
449
- }
459
+ setTimeout(() => {
460
+ if (rootRef.value) {
461
+ ro.observe(rootRef.value);
462
+ }
463
+ }, 1000);
450
464
  });
451
465
  });
452
466
  watch(() => _props.data, () => {
453
467
  init();
468
+ colsWidth.value = [];
469
+ defineWidth.value = 0;
454
470
  nextTick(() => {
455
471
  initStyle();
472
+ mapSize();
456
473
  });
457
474
  }, {
458
475
  deep: true
@@ -461,6 +478,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
461
478
  init();
462
479
  nextTick(() => {
463
480
  initStyle();
481
+ mapSize();
464
482
  });
465
483
  }, {
466
484
  deep: true
@@ -1,5 +1,5 @@
1
1
  import { defineComponent } from 'vue';
2
- import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DHfgb4ce.js';
2
+ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-99LJS6sQ.js';
3
3
 
4
4
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  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-DHfgb4ce.js';
20
+ import { _ as _export_sfc } from './_plugin-vue_export-helper-99LJS6sQ.js';
21
21
  import Tab from './lib/Tab/Tab.js';
22
22
  import Table from './lib/Table/Table.js';
23
23
  import TableColumn from './lib/TableColumn/TableColumn.js';
@@ -27,10 +27,10 @@ import RadioGroup from './lib/RadioGroup/RadioGroup.js';
27
27
  export { default as Message } from './lib/Message/Message.js';
28
28
  export { default as Confirm } from './lib/Confirm/Confirm.js';
29
29
  import './lib/Loading/Loading.js';
30
- import { c as config, s as setConfig } from './config-me5lgqIx.js';
31
- 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-C-seGVif.js';
32
- import { L as Loading } from './Loading-BbLWtuW5.js';
33
- import './Wrap-Bz5zyUL3.js';
30
+ import { c as config, s as setConfig } from './config-B6AmLjb9.js';
31
+ 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-AtwISkPO.js';
32
+ import { L as Loading } from './Loading-B77BLpR0.js';
33
+ import './Wrap-CiLfWOx5.js';
34
34
 
35
35
  var _sfc_main$2 = /* @__PURE__ */ defineComponent({
36
36
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vary-ui",
3
- "version": "3.21.60",
3
+ "version": "3.21.61",
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