@partex/one-core 2.1.19 → 2.1.20

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 (2) hide show
  1. package/lib/one-core.js +83 -81
  2. package/package.json +1 -1
package/lib/one-core.js CHANGED
@@ -2434,7 +2434,7 @@ const ws = /* @__PURE__ */ L(ms, [["render", bs]]), vs = X({
2434
2434
  }
2435
2435
  }), ks = /* @__PURE__ */ m("br", null, null, -1), Cs = /* @__PURE__ */ m("p", null, "点击或者拖动文件到该区域来上传", -1), Ns = /* @__PURE__ */ m("p", null, "请不要上传敏感数据,比如你的银行卡号和密码,信用卡号有效期和安全码", -1);
2436
2436
  function $s(e, o, a, s, n, u) {
2437
- const i = d("NDivider"), c = d("NInput"), h = d("NInputNumber"), f = d("NDatePicker"), g = d("NSelect"), b = d("NCascader"), y = d("NColorPicker"), w = d("NCheckbox"), P = d("NFlex"), _ = d("NCheckboxGroup"), S = d("NTimePicker"), B = d("NSwitch"), j = d("IconMailInboxAdd"), T = d("NIcon"), U = d("NUploadDragger"), V = d("NUpload");
2437
+ const i = d("NDivider"), c = d("NInput"), h = d("NInputNumber"), f = d("NDatePicker"), g = d("NSelect"), b = d("NCascader"), y = d("NColorPicker"), w = d("NCheckbox"), P = d("NFlex"), _ = d("NCheckboxGroup"), S = d("NTimePicker"), B = d("NSwitch"), j = d("IconMailInboxAdd"), T = d("NIcon"), R = d("NUploadDragger"), V = d("NUpload");
2438
2438
  return p(), D(ie, null, [
2439
2439
  e.item.input === "divider" ? (p(), O(i, {
2440
2440
  key: 0,
@@ -2673,7 +2673,7 @@ function $s(e, o, a, s, n, u) {
2673
2673
  "directory-dnd": ""
2674
2674
  }, {
2675
2675
  default: l(() => [
2676
- Le(r(U, null, {
2676
+ Le(r(R, null, {
2677
2677
  default: l(() => [
2678
2678
  r(T, { size: "32" }, {
2679
2679
  default: l(() => [
@@ -3682,7 +3682,7 @@ const Ws = /* @__PURE__ */ L(Hs, [["render", Js]]), Ks = X({
3682
3682
  duration: 3e3
3683
3683
  });
3684
3684
  });
3685
- }, U = () => {
3685
+ }, R = () => {
3686
3686
  if (N.tenantStatus === 0 && N.renewalStatus === 0) {
3687
3687
  const v = document.getElementById("app");
3688
3688
  v && v.classList.add("outrange"), n.info({
@@ -3783,7 +3783,7 @@ const Ws = /* @__PURE__ */ L(Hs, [["render", Js]]), Ks = X({
3783
3783
  }
3784
3784
  };
3785
3785
  return Oe(() => {
3786
- U(), f(a.path), $();
3786
+ R(), f(a.path), $();
3787
3787
  }), ve(
3788
3788
  () => a.path,
3789
3789
  (v) => {
@@ -4310,7 +4310,7 @@ const jt = /* @__PURE__ */ L(xs, [["render", oi]]), ti = X({
4310
4310
  },
4311
4311
  phone: {
4312
4312
  required: !0,
4313
- validator: (q, R) => R ? /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(R) : !1,
4313
+ validator: (q, U) => U ? /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(U) : !1,
4314
4314
  message: () => e("Common.login.mobileMessage"),
4315
4315
  trigger: "blur"
4316
4316
  },
@@ -4320,27 +4320,27 @@ const jt = /* @__PURE__ */ L(xs, [["render", oi]]), ti = X({
4320
4320
  trigger: "input"
4321
4321
  }
4322
4322
  }), P = C([]), _ = C([]), S = C([]), B = C([]), j = () => {
4323
- const q = pe("loginOption", {}), R = [];
4323
+ const q = pe("loginOption", {}), U = [];
4324
4324
  Object.keys(q).forEach((J) => {
4325
- R.push({
4325
+ U.push({
4326
4326
  label: J,
4327
4327
  key: J
4328
4328
  });
4329
- }), P.value = R, _.value = R;
4329
+ }), P.value = U, _.value = U;
4330
4330
  }, T = () => {
4331
- const q = pe("phoneOption", {}), R = [];
4331
+ const q = pe("phoneOption", {}), U = [];
4332
4332
  Object.keys(q).forEach((J) => {
4333
- R.push({
4333
+ U.push({
4334
4334
  label: J,
4335
4335
  key: J
4336
4336
  });
4337
- }), S.value = R, B.value = R;
4338
- }, U = (q) => {
4339
- ye("token", q, 0), Uo().then((R) => {
4337
+ }), S.value = U, B.value = U;
4338
+ }, R = (q) => {
4339
+ ye("token", q, 0), Uo().then((U) => {
4340
4340
  o.success({
4341
4341
  content: () => e("Notice.success"),
4342
4342
  duration: 3e3
4343
- }), R.kind !== 1 && a.replace(A.platformUrl);
4343
+ }), U.kind !== 1 && a.replace(A.platformUrl);
4344
4344
  }).catch(() => {
4345
4345
  o.error({
4346
4346
  content: () => e("Notice.error"),
@@ -4348,65 +4348,65 @@ const jt = /* @__PURE__ */ L(xs, [["render", oi]]), ti = X({
4348
4348
  }), y.value.password = "", f.value = !1;
4349
4349
  });
4350
4350
  }, V = () => {
4351
- var q, R;
4351
+ var q, U;
4352
4352
  f.value || (f.value = !0, s.value === "0" ? (q = u.value) == null || q.validate((J) => {
4353
4353
  J ? f.value = !1 : rt({
4354
4354
  type: s.value,
4355
4355
  ...y.value
4356
4356
  }).then((ge) => {
4357
4357
  const ne = pe("loginOption", {});
4358
- ne[y.value.name] = !0, ye("loginOption", ne, 0), U(ge);
4358
+ ne[y.value.name] = !0, ye("loginOption", ne, 0), R(ge);
4359
4359
  }).catch(() => {
4360
4360
  y.value.password = "", f.value = !1;
4361
4361
  });
4362
- }) : (R = n.value) == null || R.validate((J) => {
4362
+ }) : (U = n.value) == null || U.validate((J) => {
4363
4363
  J ? f.value = !1 : rt({
4364
4364
  type: s.value,
4365
4365
  ...y.value
4366
4366
  }).then((ge) => {
4367
4367
  const ne = pe("phoneOption", {});
4368
- ne[y.value.name] = !0, ye("phoneOption", ne, 0), U(ge);
4368
+ ne[y.value.name] = !0, ye("phoneOption", ne, 0), R(ge);
4369
4369
  }).catch(() => {
4370
4370
  y.value.password = "", f.value = !1;
4371
4371
  });
4372
4372
  }));
4373
4373
  }, $ = (q) => {
4374
4374
  y.value.name = q;
4375
- const R = _.value.filter(
4375
+ const U = _.value.filter(
4376
4376
  (J) => J.label.indexOf(q) > -1
4377
4377
  );
4378
- P.value = R, R.length === 0 ? b.value = !1 : b.value = !0;
4378
+ P.value = U, U.length === 0 ? b.value = !1 : b.value = !0;
4379
4379
  }, v = (q) => {
4380
4380
  y.value.name = q, b.value = !1, i.value.focus(), setTimeout(() => {
4381
- var R;
4382
- (R = u.value) == null || R.restoreValidation();
4381
+ var U;
4382
+ (U = u.value) == null || U.restoreValidation();
4383
4383
  }, 80);
4384
4384
  }, t = (q) => {
4385
- var R;
4386
- P.value.length === 0 ? b.value = !1 : b.value = q, (R = u.value) == null || R.restoreValidation();
4385
+ var U;
4386
+ P.value.length === 0 ? b.value = !1 : b.value = q, (U = u.value) == null || U.restoreValidation();
4387
4387
  }, I = (q) => {
4388
4388
  y.value.phone = q;
4389
- const R = B.value.filter(
4389
+ const U = B.value.filter(
4390
4390
  (J) => J.label.indexOf(q) > -1
4391
4391
  );
4392
- S.value = R, R.length === 0 ? g.value = !1 : g.value = !0;
4392
+ S.value = U, U.length === 0 ? g.value = !1 : g.value = !0;
4393
4393
  }, G = (q) => {
4394
4394
  y.value.phone = q, g.value = !1, c.value.focus(), setTimeout(() => {
4395
- var R;
4396
- (R = n.value) == null || R.restoreValidation();
4395
+ var U;
4396
+ (U = n.value) == null || U.restoreValidation();
4397
4397
  }, 80);
4398
4398
  }, ae = (q) => {
4399
- var R;
4400
- S.value.length === 0 ? g.value = !1 : g.value = q, (R = n.value) == null || R.restoreValidation();
4399
+ var U;
4400
+ S.value.length === 0 ? g.value = !1 : g.value = q, (U = n.value) == null || U.restoreValidation();
4401
4401
  }, M = (q) => {
4402
4402
  h.value = q, po(q), ye("theme", q, 0);
4403
4403
  }, Q = (q) => {
4404
- var R, J;
4404
+ var U, J;
4405
4405
  s.value = q, y.value = {
4406
4406
  phone: "",
4407
4407
  name: "",
4408
4408
  password: ""
4409
- }, ye("loginTab", q, 0), (R = u.value) == null || R.restoreValidation(), (J = n.value) == null || J.restoreValidation();
4409
+ }, ye("loginTab", q, 0), (U = u.value) == null || U.restoreValidation(), (J = n.value) == null || J.restoreValidation();
4410
4410
  }, Ce = (q) => H(
4411
4411
  "div",
4412
4412
  {
@@ -4427,8 +4427,8 @@ const jt = /* @__PURE__ */ L(xs, [["render", oi]]), ti = X({
4427
4427
  Ue,
4428
4428
  {
4429
4429
  class: "oc-login-drop-menu",
4430
- onclick: (R) => {
4431
- R.stopPropagation(), R.stopImmediatePropagation();
4430
+ onclick: (U) => {
4431
+ U.stopPropagation(), U.stopImmediatePropagation();
4432
4432
  const J = pe("loginOption", {});
4433
4433
  delete J[q.label], ye("loginOption", J, 0), j();
4434
4434
  const ge = y.value.name, ne = _.value.filter(
@@ -4463,8 +4463,8 @@ const jt = /* @__PURE__ */ L(xs, [["render", oi]]), ti = X({
4463
4463
  Ue,
4464
4464
  {
4465
4465
  class: "oc-login-drop-menu",
4466
- onclick: (R) => {
4467
- R.stopPropagation(), R.stopImmediatePropagation();
4466
+ onclick: (U) => {
4467
+ U.stopPropagation(), U.stopImmediatePropagation();
4468
4468
  const J = pe("phoneOption", {});
4469
4469
  delete J[q.label], ye("phoneOption", J, 0), T();
4470
4470
  const ge = y.value.name, ne = B.value.filter(
@@ -5487,9 +5487,9 @@ function id(e, o, a) {
5487
5487
  if (!c.value) {
5488
5488
  _(!0, "loading");
5489
5489
  try {
5490
- let U;
5490
+ let R;
5491
5491
  if (Array.isArray(o))
5492
- U = await new Promise(($, v) => {
5492
+ R = await new Promise(($, v) => {
5493
5493
  n.value = v, Promise.all(o.map((t) => t.call(null))).then((t) => {
5494
5494
  $(t);
5495
5495
  }).catch((t) => {
@@ -5500,11 +5500,11 @@ function id(e, o, a) {
5500
5500
  const V = new Promise(($, v) => {
5501
5501
  n.value = v;
5502
5502
  });
5503
- U = await Promise.race([V, o()]);
5503
+ R = await Promise.race([V, o()]);
5504
5504
  }
5505
- _(!1, "success"), P(U), ye(s, U, 0);
5506
- } catch (U) {
5507
- S(U), _(!1, "error"), g.value > 0 && (g.value = g.value - 1, setTimeout(() => {
5505
+ _(!1, "success"), P(R), ye(s, R, 0);
5506
+ } catch (R) {
5507
+ S(R), _(!1, "error"), g.value > 0 && (g.value = g.value - 1, setTimeout(() => {
5508
5508
  y();
5509
5509
  }, b.value));
5510
5510
  }
@@ -5512,13 +5512,15 @@ function id(e, o, a) {
5512
5512
  }, { run: w } = Gt(
5513
5513
  y,
5514
5514
  a != null && a.pollingInterval ? a.pollingInterval - 100 > 0 ? a.pollingInterval - 100 : 0 : 300
5515
- ), P = (U) => {
5516
- let V = U;
5517
- a != null && a.formatResult && (V = a.formatResult(U)), u.value = V;
5518
- }, _ = (U, V) => {
5519
- c.value = U, V && (h.value = V);
5520
- }, S = (U) => {
5521
- f.value = U;
5515
+ ), P = (R) => {
5516
+ if (R) {
5517
+ let V = R;
5518
+ a != null && a.formatResult && (V = a.formatResult(R)), u.value = V;
5519
+ }
5520
+ }, _ = (R, V) => {
5521
+ c.value = R, V && (h.value = V);
5522
+ }, S = (R) => {
5523
+ f.value = R;
5522
5524
  }, B = () => {
5523
5525
  Tr(), n.value && n.value();
5524
5526
  }, j = () => {
@@ -5528,12 +5530,12 @@ function id(e, o, a) {
5528
5530
  };
5529
5531
  if (a != null && a.retry && a.pollingInterval === void 0 && (g.value = a.retry.retryCount || 3, b.value = a.retry.retryInterval || 1e3 * 2 ** 3), a != null && a.initialData && P(a.initialData()), a === void 0 || a.initialData === void 0 || a.cache === void 0 || a.cache === !0)
5530
5532
  try {
5531
- const U = pe(s, !1);
5532
- U && P(U);
5533
+ const R = pe(s, !1);
5534
+ R && P(R);
5533
5535
  } catch {
5534
5536
  P(!1);
5535
5537
  }
5536
- return (a === void 0 || a.manual === void 0 || a.manual === !1) && w(), a != null && a.pollingInterval && (i.value = setInterval(
5538
+ return (a === void 0 || a.manual === void 0 || a.manual === !1) && y(), a != null && a.pollingInterval && (w(), i.value = setInterval(
5537
5539
  () => {
5538
5540
  w();
5539
5541
  },
@@ -5608,14 +5610,14 @@ const eu = X({
5608
5610
  const { run: T } = Gt(() => {
5609
5611
  B && o("on-update:value", B), B = "", j = 0;
5610
5612
  }, 300);
5611
- function U(V) {
5613
+ function R(V) {
5612
5614
  let $ = (/* @__PURE__ */ new Date()).getTime();
5613
5615
  $ - j <= 50 ? T() : B = "", j = $, B += V.key;
5614
5616
  }
5615
5617
  return Oe(() => {
5616
- window.addEventListener("keypress", U);
5618
+ window.addEventListener("keypress", R);
5617
5619
  }), lo(() => {
5618
- window.removeEventListener("keypress", U), P();
5620
+ window.removeEventListener("keypress", R), P();
5619
5621
  }), {
5620
5622
  videoRef: a,
5621
5623
  inputRef: s,
@@ -5808,9 +5810,9 @@ const du = /* @__PURE__ */ L(su, [["render", uu]]), cu = X({
5808
5810
  label: s("Common.message.all"),
5809
5811
  value: "",
5810
5812
  disabled: !0
5811
- }) : T.fallbackOption : !1, w = (T, U, V) => {
5813
+ }) : T.fallbackOption : !1, w = (T, R, V) => {
5812
5814
  const $ = V.options.filter(
5813
- (v) => String(v.label).toLocaleLowerCase().indexOf(String(U).toLocaleLowerCase()) > -1
5815
+ (v) => String(v.label).toLocaleLowerCase().indexOf(String(R).toLocaleLowerCase()) > -1
5814
5816
  ) || [];
5815
5817
  f.value[T].options = $, $.length === 0 ? f.value[T].display = !1 : f.value[T].display = !0;
5816
5818
  }, P = (T) => {
@@ -5823,13 +5825,13 @@ const du = /* @__PURE__ */ L(su, [["render", uu]]), cu = X({
5823
5825
  options: G.options
5824
5826
  }), G.type === "select" && G.fallbackOption && G.multiple && g.value[I].length === 0 && (g.value[I] = [""]), G.type === "group" && (g.value[I] || (g.value[I] = G.options[0].value), G.inputTemp = G.input.options[g.value[I] ? g.value[I] : G.options[0].value], ((ae = G.inputTemp) == null ? void 0 : ae.type) === "select" && ((M = G.inputTemp) != null && M.fallbackOption) && ((Q = G.inputTemp) != null && Q.multiple) && g.value[G.input.key].length === 0 && (g.value[G.input.key] = [""]));
5825
5827
  });
5826
- let U = 0;
5828
+ let R = 0;
5827
5829
  const V = e.small ? 1 : e.cols, $ = Object.keys(T);
5828
5830
  if (Object.keys(T).length > 0)
5829
5831
  for (let I = 0; I <= V; I++)
5830
- (t = T[$[I]]) != null && t.show && (U = U + 1);
5831
- let v = V - U >= 0 ? V - U - 1 : -1;
5832
- n.value && (v = v - 1, U = U + 1), h.value = v, U > V ? c.value = !0 : c.value = !1, e.small && (i.value = !1, c.value = !1), u.value = T;
5832
+ (t = T[$[I]]) != null && t.show && (R = R + 1);
5833
+ let v = V - R >= 0 ? V - R - 1 : -1;
5834
+ n.value && (v = v - 1, R = R + 1), h.value = v, R > V ? c.value = !0 : c.value = !1, e.small && (i.value = !1, c.value = !1), u.value = T;
5833
5835
  }, _ = (T) => {
5834
5836
  f.value[T].options.length === 0 ? f.value[T].display = !1 : f.value[T].display = !0;
5835
5837
  }, S = () => {
@@ -5837,7 +5839,7 @@ const du = /* @__PURE__ */ L(su, [["render", uu]]), cu = X({
5837
5839
  }, B = () => {
5838
5840
  const T = JSON.stringify(
5839
5841
  g.value,
5840
- (U, V) => V === void 0 ? null : Array.isArray(V) ? V.filter(($) => $ !== "") : V
5842
+ (R, V) => V === void 0 ? null : Array.isArray(V) ? V.filter(($) => $ !== "") : V
5841
5843
  );
5842
5844
  return JSON.parse(T);
5843
5845
  }, j = (T) => {
@@ -5865,7 +5867,7 @@ const du = /* @__PURE__ */ L(su, [["render", uu]]), cu = X({
5865
5867
  class: "oc-search-action-more"
5866
5868
  };
5867
5869
  function hu(e, o, a, s, n, u) {
5868
- const i = d("NGridItem"), c = d("NInputGroupLabel"), h = d("NInput"), f = d("NInputNumber"), g = d("NSelect"), b = d("NDataTable"), y = d("NPopover"), w = d("NCascader"), P = d("NTreeSelect"), _ = d("OcTimePickRange"), S = d("NDatePicker"), B = d("NInputGroup"), j = d("NGrid"), T = d("IconArrowDown"), U = d("NIcon"), V = d("IconArrowUp"), $ = d("NButton"), v = d("NTooltip");
5870
+ const i = d("NGridItem"), c = d("NInputGroupLabel"), h = d("NInput"), f = d("NInputNumber"), g = d("NSelect"), b = d("NDataTable"), y = d("NPopover"), w = d("NCascader"), P = d("NTreeSelect"), _ = d("OcTimePickRange"), S = d("NDatePicker"), B = d("NInputGroup"), j = d("NGrid"), T = d("IconArrowDown"), R = d("NIcon"), V = d("IconArrowUp"), $ = d("NButton"), v = d("NTooltip");
5869
5871
  return p(), D("div", pu, [
5870
5872
  r(j, {
5871
5873
  "x-gap": "15",
@@ -6107,7 +6109,7 @@ function hu(e, o, a, s, n, u) {
6107
6109
  }, 1024)) : z("", !0),
6108
6110
  t.type === "group" ? (p(), O(B, { key: 1 }, {
6109
6111
  default: l(() => {
6110
- var ae, M, Q, Ce, he, q, R, J, ge, ne, k, x, le, Y, se, we, ee, W, re, oe, ce, ue, Ze, Ho, Go, Jo, Wo, Ko, Qo, Xo, Yo, Zo, xo;
6112
+ var ae, M, Q, Ce, he, q, U, J, ge, ne, k, x, le, Y, se, we, ee, W, re, oe, ce, ue, Ze, Ho, Go, Jo, Wo, Ko, Qo, Xo, Yo, Zo, xo;
6111
6113
  return [
6112
6114
  r(g, {
6113
6115
  value: e.searchData[I],
@@ -6153,7 +6155,7 @@ function hu(e, o, a, s, n, u) {
6153
6155
  clearable: t.inputTemp.clearable ?? !0,
6154
6156
  style: { flex: "1" }
6155
6157
  }, null, 8, ["value", "onUpdate:value", "disabled", "placeholder", "on-update:value", "clearable"])) : z("", !0),
6156
- ((R = t.inputTemp) == null ? void 0 : R.type) === "number" ? (p(), O(f, {
6158
+ ((U = t.inputTemp) == null ? void 0 : U.type) === "number" ? (p(), O(f, {
6157
6159
  key: 1,
6158
6160
  value: e.searchData[t.input.key],
6159
6161
  "onUpdate:value": (K) => e.searchData[t.input.key] = K,
@@ -6253,12 +6255,12 @@ function hu(e, o, a, s, n, u) {
6253
6255
  trigger: l(() => [
6254
6256
  r($, { onClick: e.showMore }, {
6255
6257
  icon: l(() => [
6256
- e.collapsed ? (p(), O(U, { key: 0 }, {
6258
+ e.collapsed ? (p(), O(R, { key: 0 }, {
6257
6259
  default: l(() => [
6258
6260
  r(T)
6259
6261
  ]),
6260
6262
  _: 1
6261
- })) : (p(), O(U, { key: 1 }, {
6263
+ })) : (p(), O(R, { key: 1 }, {
6262
6264
  default: l(() => [
6263
6265
  r(V)
6264
6266
  ]),
@@ -6396,8 +6398,8 @@ const Nu = /* @__PURE__ */ L(yu, [["render", Cu]]), $u = X({
6396
6398
  if (e.cache) {
6397
6399
  const { cursor: S, routerId: B } = n.query;
6398
6400
  if (S && B) {
6399
- const j = n.path, T = to(B), U = to(S);
6400
- T === j && (_ = U);
6401
+ const j = n.path, T = to(B), R = to(S);
6402
+ T === j && (_ = R);
6401
6403
  }
6402
6404
  }
6403
6405
  i.value && (i.value.setValues(JSON.parse(JSON.stringify(_))), i.value.dataFactory(e.data)), e.autoSubmit && b(!0);
@@ -6784,7 +6786,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6784
6786
  query: {
6785
6787
  page: 1
6786
6788
  }
6787
- }), B = C({}), j = C({}), T = C(void 0), U = C(void 0), V = c.path, $ = (k) => {
6789
+ }), B = C({}), j = C({}), T = C(void 0), R = C(void 0), V = c.path, $ = (k) => {
6788
6790
  g.value = !0, o("update:loading", !0), k && (S.value.query = {
6789
6791
  ...S.value.query,
6790
6792
  ...k
@@ -6859,7 +6861,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6859
6861
  value: Y,
6860
6862
  data: le
6861
6863
  });
6862
- }), R = async (k = !1, x) => {
6864
+ }), U = async (k = !1, x) => {
6863
6865
  const le = [], Y = [];
6864
6866
  let se = {}, we = {};
6865
6867
  const ee = he(x);
@@ -6918,10 +6920,10 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6918
6920
  }, J = (k) => typeof k == "number" ? `${k}px` : k, ge = () => {
6919
6921
  if (e.height) {
6920
6922
  const k = J(e.height);
6921
- T.value = k, U.value = k;
6923
+ T.value = k, R.value = k;
6922
6924
  return;
6923
6925
  }
6924
- e.minHeight && (T.value = J(e.minHeight)), e.maxHeight && (U.value = J(e.maxHeight));
6926
+ e.minHeight && (T.value = J(e.minHeight)), e.maxHeight && (R.value = J(e.maxHeight));
6925
6927
  }, ne = () => {
6926
6928
  const k = [];
6927
6929
  P.value.forEach((x) => {
@@ -6934,7 +6936,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6934
6936
  }), o("on-update:filter", k);
6935
6937
  };
6936
6938
  return a({ init: $ }), Oe(() => {
6937
- R(!0), ge();
6939
+ U(!0), ge();
6938
6940
  }), ve(
6939
6941
  () => P.value,
6940
6942
  () => {
@@ -6944,7 +6946,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6944
6946
  ), ve(
6945
6947
  () => e.columns,
6946
6948
  () => {
6947
- e.realtime && R();
6949
+ e.realtime && U();
6948
6950
  },
6949
6951
  {
6950
6952
  deep: !0
@@ -6952,7 +6954,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6952
6954
  ), ve(
6953
6955
  () => e.actions,
6954
6956
  () => {
6955
- e.realtime && R();
6957
+ e.realtime && U();
6956
6958
  },
6957
6959
  {
6958
6960
  deep: !0
@@ -6960,7 +6962,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6960
6962
  ), ve(
6961
6963
  () => e.filters,
6962
6964
  (k) => {
6963
- R(!1, k);
6965
+ U(!1, k);
6964
6966
  },
6965
6967
  {
6966
6968
  deep: !0
@@ -6968,7 +6970,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6968
6970
  ), {
6969
6971
  loading: g,
6970
6972
  minH: T,
6971
- maxH: U,
6973
+ maxH: R,
6972
6974
  searchRef: u,
6973
6975
  exportLoading: b,
6974
6976
  tableColumns: w,
@@ -6992,7 +6994,7 @@ const zu = /* @__PURE__ */ L(Pu, [["render", Du]]), Au = X({
6992
6994
  }
6993
6995
  }), Mu = { class: "com-card" };
6994
6996
  function Bu(e, o, a, s, n, u) {
6995
- const i = d("IconAdd"), c = d("NIcon"), h = d("NButton"), f = d("NTooltip"), g = d("IconMailInboxAdd"), b = d("IconCloudArrowDown"), y = d("NPopconfirm"), w = d("IconFilter"), P = d("IconNavigation"), _ = d("IconPin"), S = d("IconPinOff"), B = d("IconEye"), j = d("IconEyeOff"), T = d("Draggable"), U = d("NPopover"), V = d("OcSearchBar"), $ = d("NDataTable"), v = d("OcImporter");
6997
+ const i = d("IconAdd"), c = d("NIcon"), h = d("NButton"), f = d("NTooltip"), g = d("IconMailInboxAdd"), b = d("IconCloudArrowDown"), y = d("NPopconfirm"), w = d("IconFilter"), P = d("IconNavigation"), _ = d("IconPin"), S = d("IconPinOff"), B = d("IconEye"), j = d("IconEyeOff"), T = d("Draggable"), R = d("NPopover"), V = d("OcSearchBar"), $ = d("NDataTable"), v = d("OcImporter");
6996
6998
  return p(), D(ie, null, [
6997
6999
  r(V, {
6998
7000
  ref: "searchRef",
@@ -7091,7 +7093,7 @@ function Bu(e, o, a, s, n, u) {
7091
7093
  trigger: "hover"
7092
7094
  }, {
7093
7095
  trigger: l(() => [
7094
- r(U, {
7096
+ r(R, {
7095
7097
  placement: "bottom-end",
7096
7098
  trigger: "click",
7097
7099
  "show-arrow": !1
@@ -7322,7 +7324,7 @@ function dd() {
7322
7324
  Eo = 3840, jo = 2160, window.removeEventListener("resize", e);
7323
7325
  };
7324
7326
  }
7325
- const cd = (e) => !!(N.kind === -1 || N.kind === 99 || N.iot_menu_authorization.includes(e)), pd = (e) => N.platform_tdm ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.tdm_menu_authorization.includes(e) : !1, fd = (e) => N.platform_qms ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.qms_menu_authorization.includes(e) : !1, md = (e) => N.platform_twin ? (N.kind === -1 || N.kind === 99 || e === "home", !0) : !1, hd = (e) => !!(N.kind === -1 || N.kind === 99 || N.maintain_menu_authorization.includes(e)), gd = (e) => !!(N.kind === -1 || N.kind === 99 || N.order_menu_authorization.includes(e)), Ru = "2.1.19";
7327
+ const cd = (e) => !!(N.kind === -1 || N.kind === 99 || N.iot_menu_authorization.includes(e)), pd = (e) => N.platform_tdm ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.tdm_menu_authorization.includes(e) : !1, fd = (e) => N.platform_qms ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.qms_menu_authorization.includes(e) : !1, md = (e) => N.platform_twin ? (N.kind === -1 || N.kind === 99 || e === "home", !0) : !1, hd = (e) => !!(N.kind === -1 || N.kind === 99 || N.maintain_menu_authorization.includes(e)), gd = (e) => !!(N.kind === -1 || N.kind === 99 || N.order_menu_authorization.includes(e)), Ru = "2.1.20";
7326
7328
  function Uu({ components: e = [] } = {}) {
7327
7329
  const o = [];
7328
7330
  function a(n, u, i) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.19",
2
+ "version": "2.1.20",
3
3
  "author": {
4
4
  "name": "DotWho"
5
5
  },