@vtj/ui 0.12.63 → 0.12.65

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
@@ -9,10 +9,10 @@ import { VXETable as jt, VxeTableFilterModule as yl, VxeTableEditModule as bl, V
9
9
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
10
10
  * @name @vtj/ui
11
11
  * @author CHC chenhuachun1549@dingtalk.com
12
- * @version 0.12.63
12
+ * @version 0.12.65
13
13
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
14
14
  */
15
- const t2 = "0.12.63", Dl = {
15
+ const t2 = "0.12.65", Dl = {
16
16
  default: 14,
17
17
  small: 12,
18
18
  large: 18
@@ -1323,6 +1323,9 @@ const Ta = {
1323
1323
  },
1324
1324
  pure: {
1325
1325
  type: Boolean
1326
+ },
1327
+ zIndex: {
1328
+ type: Number
1326
1329
  }
1327
1330
  };
1328
1331
  let kt = 1e3;
@@ -1335,14 +1338,18 @@ function os(o, t) {
1335
1338
  height: 0,
1336
1339
  top: 0,
1337
1340
  left: 0,
1338
- zIndex: ++kt,
1341
+ zIndex: o.zIndex || ++kt,
1339
1342
  dragging: !1,
1340
1343
  resizing: !1
1341
1344
  });
1342
1345
  return re([n, e], ([a, l]) => {
1343
1346
  r.wrapperWidth = a, r.wrapperHeight = l, r.width = on(o.width, a), r.height = on(o.height, l), r.left = o.left ? on(o.left, a) - r.width / 2 : Math.max(Math.floor((a - r.width) / 2), 0), r.top = o.top ? on(o.top, l) : Math.max(Math.floor((l - r.height) / 2), 0);
1344
1347
  }), re(r, (a) => {
1345
- kt = Math.max(a.zIndex, kt);
1348
+ kt = Math.max(
1349
+ a.zIndex,
1350
+ kt,
1351
+ o.zIndex || 1
1352
+ );
1346
1353
  }), {
1347
1354
  state: r,
1348
1355
  normal: D(() => r.mode === "normal"),
@@ -1401,7 +1408,11 @@ function as(o, t, n) {
1401
1408
  const f = d.target.nodeName || "";
1402
1409
  ["INPUT", "TEXTAREA", "RADIO", "CHECKBOX"].includes(
1403
1410
  f.toUpperCase()
1404
- ) || (t.zIndex = Math.max(t.zIndex, ++kt));
1411
+ ) || (t.zIndex = Math.max(
1412
+ t.zIndex,
1413
+ ++kt,
1414
+ o.zIndex || 1
1415
+ ));
1405
1416
  },
1406
1417
  submit: () => n("submit"),
1407
1418
  cancel: () => {
@@ -7280,12 +7291,12 @@ const vu = {
7280
7291
  ])), 128)),
7281
7292
  c(i) ? (v(), F("div", Mu, [
7282
7293
  N(P.$slots, "loading", {}, () => [
7283
- E[2] || (E[2] = W(" 正在加载数据... "))
7294
+ E[2] || (E[2] = W(" 正在加载数据... ", -1))
7284
7295
  ])
7285
7296
  ])) : $("", !0),
7286
7297
  u.value ? (v(), F("div", Pu, [
7287
7298
  N(P.$slots, "nomore", {}, () => [
7288
- E[3] || (E[3] = W(" 没有更多数据 "))
7299
+ E[3] || (E[3] = W(" 没有更多数据 ", -1))
7289
7300
  ])
7290
7301
  ])) : $("", !0)
7291
7302
  ], 16)), [
@@ -7302,12 +7313,12 @@ const vu = {
7302
7313
  ])), 128)),
7303
7314
  c(i) ? (v(), F("div", Iu, [
7304
7315
  N(P.$slots, "loading", {}, () => [
7305
- E[4] || (E[4] = W(" 正在加载数据... "))
7316
+ E[4] || (E[4] = W(" 正在加载数据... ", -1))
7306
7317
  ])
7307
7318
  ])) : $("", !0),
7308
7319
  u.value ? (v(), F("div", $u, [
7309
7320
  N(P.$slots, "nomore", {}, () => [
7310
- E[5] || (E[5] = W(" 没有更多数据 "))
7321
+ E[5] || (E[5] = W(" 没有更多数据 ", -1))
7311
7322
  ])
7312
7323
  ])) : $("", !0)
7313
7324
  ], 16)), [
@@ -7458,7 +7469,7 @@ const vu = {
7458
7469
  default: b(() => [
7459
7470
  I(c(Be), null, {
7460
7471
  default: b(() => h[2] || (h[2] = [
7461
- W("内部数据")
7472
+ W("内部数据", -1)
7462
7473
  ])),
7463
7474
  _: 1,
7464
7475
  __: [2]
@@ -7471,7 +7482,7 @@ const vu = {
7471
7482
  }),
7472
7483
  I(c(Be), null, {
7473
7484
  default: b(() => h[3] || (h[3] = [
7474
- W("属性")
7485
+ W("属性", -1)
7475
7486
  ])),
7476
7487
  _: 1,
7477
7488
  __: [3]
@@ -7492,7 +7503,7 @@ const vu = {
7492
7503
  }),
7493
7504
  I(c(Be), null, {
7494
7505
  default: b(() => h[4] || (h[4] = [
7495
- W("插槽")
7506
+ W("插槽", -1)
7496
7507
  ])),
7497
7508
  _: 1,
7498
7509
  __: [4]
@@ -7542,7 +7553,7 @@ const vu = {
7542
7553
  }),
7543
7554
  I(c(Be), null, {
7544
7555
  default: b(() => h[5] || (h[5] = [
7545
- W("动态插槽")
7556
+ W("动态插槽", -1)
7546
7557
  ])),
7547
7558
  _: 1,
7548
7559
  __: [5]
@@ -7555,7 +7566,7 @@ const vu = {
7555
7566
  }),
7556
7567
  I(c(Be), null, {
7557
7568
  default: b(() => h[6] || (h[6] = [
7558
- W("双向绑定")
7569
+ W("双向绑定", -1)
7559
7570
  ])),
7560
7571
  _: 1,
7561
7572
  __: [6]
@@ -7593,7 +7604,7 @@ const vu = {
7593
7604
  }),
7594
7605
  I(c(Be), null, {
7595
7606
  default: b(() => h[7] || (h[7] = [
7596
- W("事件和方法")
7607
+ W("事件和方法", -1)
7597
7608
  ])),
7598
7609
  _: 1,
7599
7610
  __: [7]
@@ -7602,21 +7613,21 @@ const vu = {
7602
7613
  default: b(() => [
7603
7614
  I(c(je), { onClick: d }, {
7604
7615
  default: b(() => h[8] || (h[8] = [
7605
- W("click")
7616
+ W("click", -1)
7606
7617
  ])),
7607
7618
  _: 1,
7608
7619
  __: [8]
7609
7620
  }),
7610
7621
  I(c(je), { onClick: f }, {
7611
7622
  default: b(() => h[9] || (h[9] = [
7612
- W("submit")
7623
+ W("submit", -1)
7613
7624
  ])),
7614
7625
  _: 1,
7615
7626
  __: [9]
7616
7627
  }),
7617
7628
  I(c(je), { onClick: g }, {
7618
7629
  default: b(() => h[10] || (h[10] = [
7619
- W("change")
7630
+ W("change", -1)
7620
7631
  ])),
7621
7632
  _: 1,
7622
7633
  __: [10]
@@ -9373,7 +9384,7 @@ const vc = /* @__PURE__ */ Yu(hc), yc = ["src"], bc = {
9373
9384
  onClick: f,
9374
9385
  size: 32
9375
9386
  }, null, 8, ["icon"]),
9376
- g[0] || (g[0] = W(" 刷新 "))
9387
+ g[0] || (g[0] = W(" 刷新 ", -1))
9377
9388
  ]),
9378
9389
  Z("div", _c, [
9379
9390
  N(m.$slots, "tip", {}, () => [
@@ -9418,9 +9429,9 @@ const vc = /* @__PURE__ */ Yu(hc), yc = ["src"], bc = {
9418
9429
  suffix: b(() => [
9419
9430
  I(c(Be), { direction: "vertical" }),
9420
9431
  r.value ? (v(), F("span", Cc, [
9421
- d[1] || (d[1] = W(" 重新获取 ")),
9432
+ d[1] || (d[1] = W(" 重新获取 ", -1)),
9422
9433
  Z("strong", null, ee(a.value), 1),
9423
- d[2] || (d[2] = W(" 秒 "))
9434
+ d[2] || (d[2] = W(" 秒 ", -1))
9424
9435
  ])) : (v(), k(c(_o), {
9425
9436
  key: 1,
9426
9437
  type: "primary",
@@ -9428,7 +9439,7 @@ const vc = /* @__PURE__ */ Yu(hc), yc = ["src"], bc = {
9428
9439
  onClick: Ve(i, ["stop"])
9429
9440
  }, {
9430
9441
  default: b(() => d[3] || (d[3] = [
9431
- W(" 获取验证码 ")
9442
+ W(" 获取验证码 ", -1)
9432
9443
  ])),
9433
9444
  _: 1,
9434
9445
  __: [3]
@@ -9900,7 +9911,7 @@ const xc = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9900
9911
  I(c(je), $t(At(l.$attrs)), {
9901
9912
  default: b(() => [
9902
9913
  N(l.$slots, "default", {}, () => [
9903
- i[0] || (i[0] = W("导入"))
9914
+ i[0] || (i[0] = W("导入", -1))
9904
9915
  ])
9905
9916
  ]),
9906
9917
  _: 3