@vtj/ui 0.8.40 → 0.8.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.
package/dist/index.mjs CHANGED
@@ -8,10 +8,10 @@ import { useRouter as dd, RouterView as ub, useRoute as dm, routeLocationKey as
8
8
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
9
9
  * @name @vtj/ui
10
10
  * @author CHC chenhuachun1549@dingtalk.com
11
- * @version 0.8.40
11
+ * @version 0.8.42
12
12
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
13
13
  */
14
- const aI = "0.8.40", fb = {
14
+ const aI = "0.8.42", fb = {
15
15
  default: 14,
16
16
  small: 12,
17
17
  large: 18
@@ -23278,7 +23278,7 @@ const q7 = {
23278
23278
  if (t.multiple)
23279
23279
  r();
23280
23280
  else {
23281
- const { row: u } = n.value?.vxeRef.getSelectedCell();
23281
+ const { row: u } = n.value?.vxeRef.getSelectedCell() || {};
23282
23282
  u && t.onPick(u);
23283
23283
  }
23284
23284
  }, a = () => {
@@ -23481,22 +23481,24 @@ function J7(e, t) {
23481
23481
  };
23482
23482
  }
23483
23483
  function Q7(e) {
23484
- const { multiple: t, columns: n = [] } = e;
23485
- return Z(() => [
23486
- {
23487
- type: t ? "checkbox" : "radio",
23488
- width: 41,
23489
- fixed: "left",
23490
- showOverflow: !1,
23491
- resizable: !1
23492
- },
23493
- {
23494
- type: "seq",
23495
- title: "序号",
23496
- width: 60,
23497
- fixed: "left"
23498
- }
23499
- ].concat(n));
23484
+ return Z(() => {
23485
+ const { multiple: t, columns: n = [] } = e;
23486
+ return [
23487
+ {
23488
+ type: t ? "checkbox" : "radio",
23489
+ width: 41,
23490
+ fixed: "left",
23491
+ showOverflow: !1,
23492
+ resizable: !1
23493
+ },
23494
+ {
23495
+ type: "seq",
23496
+ title: "序号",
23497
+ width: 60,
23498
+ fixed: "left"
23499
+ }
23500
+ ].concat(n);
23501
+ });
23500
23502
  }
23501
23503
  const $0 = /* @__PURE__ */ nt({
23502
23504
  name: "XPicker",
@@ -23537,7 +23539,8 @@ const $0 = /* @__PURE__ */ nt({
23537
23539
  disabled: v,
23538
23540
  options: u,
23539
23541
  setOptions: c,
23540
- current: h
23542
+ current: h,
23543
+ visible: i
23541
23544
  }), (D, P) => (we(), mt(Dn, null, [
23542
23545
  rt(V(id), Mt({
23543
23546
  ref_key: "selectRef",