@partex/one-core 3.0.10 → 3.0.11

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 +113 -112
  2. package/package.json +1 -1
package/lib/one-core.js CHANGED
@@ -2298,7 +2298,7 @@ const nr = /* @__PURE__ */ L(or, [["render", ar]]), lr = X({
2298
2298
  }
2299
2299
  });
2300
2300
  function rr(e, o, a, s, n, d) {
2301
- const i = u("NDivider"), c = u("NInput"), m = u("NInputNumber"), f = u("NDatePicker"), g = u("NSelect"), v = u("NCascader"), y = u("NColorPicker"), k = u("NCheckbox"), I = u("NFlex"), T = u("NCheckboxGroup"), $ = u("NTimePicker"), B = u("NSwitch"), j = u("IconMailInboxAdd"), O = u("NIcon"), V = u("NUploadDragger"), F = u("NUpload");
2301
+ const i = u("NDivider"), c = u("NInput"), m = u("NInputNumber"), f = u("NDatePicker"), g = u("NSelect"), v = u("NCascader"), y = u("NColorPicker"), N = u("NCheckbox"), I = u("NFlex"), T = u("NCheckboxGroup"), $ = u("NTimePicker"), B = u("NSwitch"), j = u("IconMailInboxAdd"), O = u("NIcon"), V = u("NUploadDragger"), F = u("NUpload");
2302
2302
  return p(), z(ie, null, [
2303
2303
  e.item.input === "divider" ? (p(), P(i, {
2304
2304
  key: 0,
@@ -2467,7 +2467,7 @@ function rr(e, o, a, s, n, d) {
2467
2467
  default: l(() => [
2468
2468
  r(I, null, {
2469
2469
  default: l(() => [
2470
- (p(!0), z(ie, null, Ke(e.item.options, (S) => (p(), P(k, {
2470
+ (p(!0), z(ie, null, Ke(e.item.options, (S) => (p(), P(N, {
2471
2471
  label: S.label,
2472
2472
  value: S.value
2473
2473
  }, null, 8, ["label", "value"]))), 256))
@@ -2608,19 +2608,19 @@ const sr = /* @__PURE__ */ L(lr, [["render", rr]]), ir = X({
2608
2608
  const g = de(e.items);
2609
2609
  g.forEach((v) => {
2610
2610
  if (typeof v.show > "u" && (v.show = !0), v.input !== "divider" && v.rule && v.rule.validator && typeof v.rule.validator == "string") {
2611
- const y = v.rule.validator, k = new Function("rule", "value", y);
2612
- v.rule.validator = (I, T) => k(I, T);
2611
+ const y = v.rule.validator, N = new Function("rule", "value", y);
2612
+ v.rule.validator = (I, T) => N(I, T);
2613
2613
  }
2614
2614
  if (v.input === "date" && v.isDateDisabled && typeof v.isDateDisabled == "string") {
2615
- const y = v.isDateDisabled, k = new Function("ts", "detail", y);
2616
- v.isDateDisabled = (I, T) => k(I, T);
2615
+ const y = v.isDateDisabled, N = new Function("ts", "detail", y);
2616
+ v.isDateDisabled = (I, T) => N(I, T);
2617
2617
  }
2618
2618
  v.input === "select" && v.fallbackOption && v.multiple && (!n.value[v.key] || n.value[v.key].length === 0) && (n.value[v.key] = [""]);
2619
2619
  }), d.value = g;
2620
2620
  }, m = () => new Promise((g, v) => {
2621
2621
  var y;
2622
- (y = s.value) == null || y.validate((k) => {
2623
- if (k)
2622
+ (y = s.value) == null || y.validate((N) => {
2623
+ if (N)
2624
2624
  v();
2625
2625
  else {
2626
2626
  const I = de(n.value), T = JSON.stringify(
@@ -2913,8 +2913,9 @@ const mr = () => {
2913
2913
  messageId: e
2914
2914
  });
2915
2915
  let Ut = !0;
2916
- const N = vo({
2916
+ const k = vo({
2917
2917
  commissioner: !1,
2918
+ isHy: !1,
2918
2919
  factoryId: "",
2919
2920
  tenantLoginCode: "",
2920
2921
  thirdUserId: "",
@@ -2965,9 +2966,9 @@ function qt(e) {
2965
2966
  const o = window.location.host;
2966
2967
  if (o.includes("partexiot.cn")) {
2967
2968
  const a = pe("token", !1);
2968
- N.industryCategory = e.industryCategory || "0", (!o.includes("test") || !o.includes("vpn")) && Ut && (e.industryCategory === "0" && o.includes("printing") && (window.location.href = `https://www.partexiot.cn/auth?auth=${a}`), e.industryCategory === "1" && !o.includes("printing") && (window.location.href = `https://printing.partexiot.cn/auth?auth=${a}`));
2969
+ k.industryCategory = e.industryCategory || "0", (!o.includes("test") || !o.includes("vpn")) && Ut && (e.industryCategory === "0" && o.includes("printing") && (window.location.href = `https://www.partexiot.cn/auth?auth=${a}`), e.industryCategory === "1" && !o.includes("printing") && (window.location.href = `https://printing.partexiot.cn/auth?auth=${a}`));
2969
2970
  }
2970
- if (N.commissioner = e.commissioner, N.factoryId = e.factoryId, N.tenantLoginCode = e.tenantLoginCode, N.userId = e.userId, N.email = e.email, N.name = e.name, N.realName = e.realName, N.tenantName = e.tenantName, N.phone = e.phone, N.info = e.info, N.kind = e.kind, N.oeeStatus = e.oeeStatus || 0, N.ncFlg = e.ncFlg || 0, N.systemType = e.systemType, N.platform_tdm = e.platform_tdm, N.platform_qms = e.platform_qms, N.platform_twin = e.platform_twin, N.platform_maintain = e.platform_maintain, N.platform_order = e.platform_order, N.platform_simple_tdm = e.platform_simple_tdm, N.authorizationGroupArray = e.authorizationGroupArray || [], N.authorizationMachineArray = e.authorizationMachineArray || [], N.iot_menu_authorization = e.iot_menu_authorization || [], N.tdm_menu_authorization = e.tdm_menu_authorization || [], N.qms_menu_authorization = e.qms_menu_authorization || [], N.maintain_menu_authorization = e.maintain_menu_authorization || [], N.order_menu_authorization = e.order_menu_authorization || [], N.endTime = e.endTime ?? 0, N.tenantStatus = e.tenantStatus ?? 1, N.renewalStatus = e.renewalStatus ?? 0, N.roleId = e.roleId || 0, N.kind === 1) {
2971
+ if (k.isHy = e.isHy, k.commissioner = e.commissioner, k.factoryId = e.factoryId, k.tenantLoginCode = e.tenantLoginCode, k.userId = e.userId, k.email = e.email, k.name = e.name, k.realName = e.realName, k.tenantName = e.tenantName, k.phone = e.phone, k.info = e.info, k.kind = e.kind, k.oeeStatus = e.oeeStatus || 0, k.ncFlg = e.ncFlg || 0, k.systemType = e.systemType, k.platform_tdm = e.platform_tdm, k.platform_qms = e.platform_qms, k.platform_twin = e.platform_twin, k.platform_maintain = e.platform_maintain, k.platform_order = e.platform_order, k.platform_simple_tdm = e.platform_simple_tdm, k.authorizationGroupArray = e.authorizationGroupArray || [], k.authorizationMachineArray = e.authorizationMachineArray || [], k.iot_menu_authorization = e.iot_menu_authorization || [], k.tdm_menu_authorization = e.tdm_menu_authorization || [], k.qms_menu_authorization = e.qms_menu_authorization || [], k.maintain_menu_authorization = e.maintain_menu_authorization || [], k.order_menu_authorization = e.order_menu_authorization || [], k.endTime = e.endTime ?? 0, k.tenantStatus = e.tenantStatus ?? 1, k.renewalStatus = e.renewalStatus ?? 0, k.roleId = e.roleId || 0, k.kind === 1) {
2971
2972
  const a = e.info, s = String(e.info.type);
2972
2973
  s === "0" && Oe.replace(
2973
2974
  `/dashboard/list?machGroupId=${a.id}&theme=${a.theme || "light"}`
@@ -2991,13 +2992,13 @@ function qo() {
2991
2992
  });
2992
2993
  }
2993
2994
  function _o() {
2994
- N.factoryId = "", N.commissioner = !1, N.tenantLoginCode = "", N.userId = "", N.email = "", N.name = "", N.realName = "", N.tenantName = "", N.phone = "", N.description = "", N.info = {
2995
+ k.factoryId = "", k.isHy = !1, k.commissioner = !1, k.tenantLoginCode = "", k.userId = "", k.email = "", k.name = "", k.realName = "", k.tenantName = "", k.phone = "", k.description = "", k.info = {
2995
2996
  type: 0,
2996
2997
  id: "",
2997
2998
  viewType: 1,
2998
2999
  interval: 5,
2999
3000
  theme: "light"
3000
- }, N.kind = 0, N.systemType = 0, N.oeeStatus = 0, N.ncFlg = 0, N.password = "", N.enable = !0, N.platform_tdm = !1, N.platform_qms = !1, N.platform_twin = !1, N.platform_maintain = !1, N.platform_order = !1, N.platform_simple_tdm = !1, N.authorizationGroupArray = [], N.authorizationMachineArray = [], N.iot_menu_authorization = [], N.tdm_menu_authorization = [], N.qms_menu_authorization = [], N.maintain_menu_authorization = [], N.order_menu_authorization = [], N.endTime = 0, N.tenantStatus = 1, N.renewalStatus = 0, N.roleId = 1;
3001
+ }, k.kind = 0, k.systemType = 0, k.oeeStatus = 0, k.ncFlg = 0, k.password = "", k.enable = !0, k.platform_tdm = !1, k.platform_qms = !1, k.platform_twin = !1, k.platform_maintain = !1, k.platform_order = !1, k.platform_simple_tdm = !1, k.authorizationGroupArray = [], k.authorizationMachineArray = [], k.iot_menu_authorization = [], k.tdm_menu_authorization = [], k.qms_menu_authorization = [], k.maintain_menu_authorization = [], k.order_menu_authorization = [], k.endTime = 0, k.tenantStatus = 1, k.renewalStatus = 0, k.roleId = 1;
3001
3002
  }
3002
3003
  async function _t() {
3003
3004
  await yr().catch(() => null), Ze("token"), _o(), window.location.href = "/login";
@@ -3027,7 +3028,7 @@ const Tr = X({
3027
3028
  title: () => e("Common.importer.fileName"),
3028
3029
  key: "jobName",
3029
3030
  width: 300,
3030
- render(k) {
3031
+ render(N) {
3031
3032
  return H(
3032
3033
  "div",
3033
3034
  {},
@@ -3037,7 +3038,7 @@ const Tr = X({
3037
3038
  "p",
3038
3039
  {},
3039
3040
  {
3040
- default: () => k.jobName || "--"
3041
+ default: () => N.jobName || "--"
3041
3042
  }
3042
3043
  ),
3043
3044
  H(
@@ -3048,7 +3049,7 @@ const Tr = X({
3048
3049
  }
3049
3050
  },
3050
3051
  {
3051
- default: () => Ae(k.commitTime, "yyyy-MM-dd hh:mm:ss")
3052
+ default: () => Ae(N.commitTime, "yyyy-MM-dd hh:mm:ss")
3052
3053
  }
3053
3054
  )
3054
3055
  ]
@@ -3061,9 +3062,9 @@ const Tr = X({
3061
3062
  key: "jobStatus",
3062
3063
  align: "center",
3063
3064
  width: 90,
3064
- render(k) {
3065
+ render(N) {
3065
3066
  let I = e("Common.processing");
3066
- return k.jobStatus === 1 && (I = e("Common.success")), k.jobStatus === 2 && (I = e("Common.failed")), H(
3067
+ return N.jobStatus === 1 && (I = e("Common.success")), N.jobStatus === 2 && (I = e("Common.failed")), H(
3067
3068
  "span",
3068
3069
  {},
3069
3070
  {
@@ -3078,12 +3079,12 @@ const Tr = X({
3078
3079
  align: "center",
3079
3080
  fixed: "right",
3080
3081
  width: 90,
3081
- render(k) {
3082
+ render(N) {
3082
3083
  const I = [
3083
3084
  {
3084
3085
  type: "delete",
3085
3086
  onClick: () => {
3086
- wr([k.jobId]).then(() => {
3087
+ wr([N.jobId]).then(() => {
3087
3088
  a.success({
3088
3089
  content: () => e("Notice.success"),
3089
3090
  duration: 3e3
@@ -3097,10 +3098,10 @@ const Tr = X({
3097
3098
  }
3098
3099
  }
3099
3100
  ];
3100
- return k.jobStatus === 2 ? I.unshift({
3101
+ return N.jobStatus === 2 ? I.unshift({
3101
3102
  type: "custom",
3102
3103
  onClick: () => {
3103
- kr(k.jobId).then(() => {
3104
+ kr(N.jobId).then(() => {
3104
3105
  a.success({
3105
3106
  content: () => e("Notice.success"),
3106
3107
  duration: 3e3
@@ -3117,9 +3118,9 @@ const Tr = X({
3117
3118
  tooltipText: () => e("Common.importer.retry")
3118
3119
  }) : I.unshift({
3119
3120
  type: "custom",
3120
- disabled: k.jobStatus !== 1,
3121
+ disabled: N.jobStatus !== 1,
3121
3122
  onClick: () => {
3122
- window.open(k.downloadUrl);
3123
+ window.open(N.downloadUrl);
3123
3124
  },
3124
3125
  icon: co,
3125
3126
  color: "success",
@@ -3127,10 +3128,10 @@ const Tr = X({
3127
3128
  }), Ve(I);
3128
3129
  }
3129
3130
  }
3130
- ]), m = (k) => {
3131
- i.value.page = k, v();
3132
- }, f = (k) => {
3133
- i.value.pageSize = k, i.value.page = 1, v();
3131
+ ]), m = (N) => {
3132
+ i.value.page = N, v();
3133
+ }, f = (N) => {
3134
+ i.value.pageSize = N, i.value.page = 1, v();
3134
3135
  }, g = () => {
3135
3136
  i.value.page = 1, v();
3136
3137
  }, v = () => {
@@ -3138,18 +3139,18 @@ const Tr = X({
3138
3139
  jobType: "EXPORT",
3139
3140
  jobName: n.value,
3140
3141
  query: i.value
3141
- }).then((k) => {
3142
- i.value = k.query, s.value = k.records, d.value = !1;
3142
+ }).then((N) => {
3143
+ i.value = N.query, s.value = N.records, d.value = !1;
3143
3144
  }).catch(() => {
3144
3145
  d.value = !1;
3145
3146
  }));
3146
- }, y = (k) => {
3147
- Lo(k), o.value = k;
3147
+ }, y = (N) => {
3148
+ Lo(N), o.value = N;
3148
3149
  };
3149
3150
  return v(), we(
3150
3151
  () => q.download,
3151
- (k) => {
3152
- o.value = k, k && v();
3152
+ (N) => {
3153
+ o.value = N, N && v();
3153
3154
  }
3154
3155
  ), {
3155
3156
  jobName: n,
@@ -3167,7 +3168,7 @@ const Tr = X({
3167
3168
  }
3168
3169
  }), Or = { class: "oc-header-download" };
3169
3170
  function Pr(e, o, a, s, n, d) {
3170
- const i = u("IconArrowSquareDown"), c = u("NIcon"), m = u("NButton"), f = u("NInput"), g = u("IconSearch"), v = u("NTooltip"), y = u("IconArrowClockwise"), k = u("NFlex"), I = u("NDataTable"), T = u("NPopover");
3171
+ const i = u("IconArrowSquareDown"), c = u("NIcon"), m = u("NButton"), f = u("NInput"), g = u("IconSearch"), v = u("NTooltip"), y = u("IconArrowClockwise"), N = u("NFlex"), I = u("NDataTable"), T = u("NPopover");
3171
3172
  return p(), P(T, {
3172
3173
  trigger: "click",
3173
3174
  placement: "bottom-end",
@@ -3193,7 +3194,7 @@ function Pr(e, o, a, s, n, d) {
3193
3194
  })
3194
3195
  ]),
3195
3196
  default: l(() => [
3196
- r(k, {
3197
+ r(N, {
3197
3198
  justify: "end",
3198
3199
  wrap: !1
3199
3200
  }, {
@@ -3297,15 +3298,15 @@ const Ir = /* @__PURE__ */ L(Tr, [["render", Pr]]), Dr = X({
3297
3298
  title: () => e("Common.message.title2"),
3298
3299
  key: "messageContent",
3299
3300
  width: 300,
3300
- render(k) {
3301
+ render(N) {
3301
3302
  return [
3302
3303
  H(
3303
3304
  "div",
3304
3305
  {
3305
- class: k.status === 1 ? "card-grey-txt" : ""
3306
+ class: N.status === 1 ? "card-grey-txt" : ""
3306
3307
  },
3307
3308
  {
3308
- default: () => k.messageContent
3309
+ default: () => N.messageContent
3309
3310
  }
3310
3311
  ),
3311
3312
  H(
@@ -3314,7 +3315,7 @@ const Ir = /* @__PURE__ */ L(Tr, [["render", Pr]]), Dr = X({
3314
3315
  class: "card-grey-txt"
3315
3316
  },
3316
3317
  {
3317
- default: () => Ae(k.createTime, "yyyy-MM-dd hh:mm:ss")
3318
+ default: () => Ae(N.createTime, "yyyy-MM-dd hh:mm:ss")
3318
3319
  }
3319
3320
  )
3320
3321
  ];
@@ -3326,15 +3327,15 @@ const Ir = /* @__PURE__ */ L(Tr, [["render", Pr]]), Dr = X({
3326
3327
  align: "center",
3327
3328
  fixed: "right",
3328
3329
  width: 90,
3329
- render(k) {
3330
- return k.status === 0 ? Ve([
3330
+ render(N) {
3331
+ return N.status === 0 ? Ve([
3331
3332
  {
3332
3333
  type: "custom",
3333
3334
  color: "primary",
3334
3335
  tooltipText: () => e("Common.message.read"),
3335
3336
  buttonText: () => e("Common.message.read"),
3336
3337
  onClick: () => {
3337
- Sr(k.messageId).then(() => {
3338
+ Sr(N.messageId).then(() => {
3338
3339
  y();
3339
3340
  }).catch(() => {
3340
3341
  y();
@@ -3345,29 +3346,29 @@ const Ir = /* @__PURE__ */ L(Tr, [["render", Pr]]), Dr = X({
3345
3346
  "div",
3346
3347
  {},
3347
3348
  {
3348
- default: () => `${k.updateByName} ${e("Common.message.read")}`
3349
+ default: () => `${N.updateByName} ${e("Common.message.read")}`
3349
3350
  }
3350
3351
  );
3351
3352
  }
3352
3353
  }
3353
- ]), m = (k) => {
3354
- i.value.page = 1, o.value = k, y();
3354
+ ]), m = (N) => {
3355
+ i.value.page = 1, o.value = N, y();
3355
3356
  }, f = () => {
3356
3357
  br().then(() => {
3357
3358
  y();
3358
3359
  }).catch(() => {
3359
3360
  y();
3360
3361
  });
3361
- }, g = (k) => {
3362
- i.value.page = k, y();
3363
- }, v = (k) => {
3364
- i.value.pageSize = k, i.value.page = 1, y();
3362
+ }, g = (N) => {
3363
+ i.value.page = N, y();
3364
+ }, v = (N) => {
3365
+ i.value.pageSize = N, i.value.page = 1, y();
3365
3366
  }, y = () => {
3366
3367
  d.value || (d.value = !0, Nr({
3367
3368
  status: o.value,
3368
3369
  query: i.value
3369
- }).then((k) => {
3370
- a.value = k.unRead, i.value = k.data.query, s.value = k.data.records, d.value = !1;
3370
+ }).then((N) => {
3371
+ a.value = N.unRead, i.value = N.data.query, s.value = N.data.records, d.value = !1;
3371
3372
  }).catch(() => {
3372
3373
  d.value = !1;
3373
3374
  }));
@@ -3389,7 +3390,7 @@ const Ir = /* @__PURE__ */ L(Tr, [["render", Pr]]), Dr = X({
3389
3390
  }
3390
3391
  }), zr = { class: "com-title" };
3391
3392
  function Ar(e, o, a, s, n, d) {
3392
- const i = u("IconAlert"), c = u("NIcon"), m = u("NButton"), f = u("NBadge"), g = u("NRadioButton"), v = u("NRadioGroup"), y = u("IconClear"), k = u("NTooltip"), I = u("IconArrowClockwise"), T = u("NFlex"), $ = u("NDataTable"), B = u("NPopover");
3393
+ const i = u("IconAlert"), c = u("NIcon"), m = u("NButton"), f = u("NBadge"), g = u("NRadioButton"), v = u("NRadioGroup"), y = u("IconClear"), N = u("NTooltip"), I = u("IconArrowClockwise"), T = u("NFlex"), $ = u("NDataTable"), B = u("NPopover");
3393
3394
  return p(), P(B, {
3394
3395
  trigger: "click",
3395
3396
  placement: "bottom-end",
@@ -3451,7 +3452,7 @@ function Ar(e, o, a, s, n, d) {
3451
3452
  _: 1
3452
3453
  }, 8, ["value", "on-update:value"]),
3453
3454
  h("div", null, [
3454
- r(k, { trigger: "hover" }, {
3455
+ r(N, { trigger: "hover" }, {
3455
3456
  trigger: l(() => [
3456
3457
  r(m, { onClick: e.clearAll }, {
3457
3458
  icon: l(() => [
@@ -3470,7 +3471,7 @@ function Ar(e, o, a, s, n, d) {
3470
3471
  ]),
3471
3472
  _: 1
3472
3473
  }),
3473
- r(k, { trigger: "hover" }, {
3474
+ r(N, { trigger: "hover" }, {
3474
3475
  trigger: l(() => [
3475
3476
  r(m, { onClick: e.init }, {
3476
3477
  icon: l(() => [
@@ -3582,7 +3583,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3582
3583
  {
3583
3584
  default: () => typeof b.label == "function" ? b.label() : b.label
3584
3585
  }
3585
- ), k = (b) => H(
3586
+ ), N = (b) => H(
3586
3587
  "div",
3587
3588
  {
3588
3589
  onClick: () => v(b)
@@ -3606,7 +3607,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3606
3607
  }, B = () => {
3607
3608
  const b = [
3608
3609
  {
3609
- label: N.tenantName,
3610
+ label: k.tenantName,
3610
3611
  key: "tenantName"
3611
3612
  },
3612
3613
  {
@@ -3682,7 +3683,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3682
3683
  });
3683
3684
  });
3684
3685
  }, V = () => {
3685
- if (N.tenantStatus === 0 && N.renewalStatus === 0) {
3686
+ if (k.tenantStatus === 0 && k.renewalStatus === 0) {
3686
3687
  const b = document.getElementById("app");
3687
3688
  b && b.classList.add("outrange"), n.info({
3688
3689
  action: () => H(
@@ -3707,14 +3708,14 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3707
3708
  ),
3708
3709
  closable: !1,
3709
3710
  content: `您的订阅已于${Ae(
3710
- N.endTime
3711
+ k.endTime
3711
3712
  )}到期,如需继续使用请联系我们`,
3712
3713
  title: "到期提示"
3713
3714
  });
3714
3715
  }
3715
- if (N.tenantStatus === 2 && N.renewalStatus === 0) {
3716
+ if (k.tenantStatus === 2 && k.renewalStatus === 0) {
3716
3717
  let b = `您的订阅即将于${Ae(
3717
- N.endTime
3718
+ k.endTime
3718
3719
  )}到期,请联系管理员进行续订`, t = [
3719
3720
  H(
3720
3721
  te,
@@ -3729,8 +3730,8 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3729
3730
  }
3730
3731
  )
3731
3732
  ];
3732
- N.kind === 99 && (b = `您的订阅即将于${Ae(
3733
- N.endTime
3733
+ k.kind === 99 && (b = `您的订阅即将于${Ae(
3734
+ k.endTime
3734
3735
  )}到期,为保证持续有效的提供服务请立即续订`, t = [
3735
3736
  H(
3736
3737
  te,
@@ -3776,7 +3777,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3776
3777
  };
3777
3778
  "backdropFilter" in document.documentElement.style || "WebkitBackdropFilter" in document.documentElement.style || document.body.classList.add("not-support-backdrop");
3778
3779
  const S = () => {
3779
- if (N.tenantStatus === 0) {
3780
+ if (k.tenantStatus === 0) {
3780
3781
  const b = document.body;
3781
3782
  b && b.classList.add("outrange");
3782
3783
  }
@@ -3789,7 +3790,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3789
3790
  f(b), S();
3790
3791
  }
3791
3792
  ), {
3792
- userStore: N,
3793
+ userStore: k,
3793
3794
  commonStore: q,
3794
3795
  activeMenu: d,
3795
3796
  platformOption: c,
@@ -3797,7 +3798,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3797
3798
  fnSetLang: Xe,
3798
3799
  setDropdownMenu: B,
3799
3800
  renderMenuLabel: y,
3800
- renderMenuLabel2: k,
3801
+ renderMenuLabel2: N,
3801
3802
  renderMenuIcon: I,
3802
3803
  indexClick: F,
3803
3804
  platformClick: T,
@@ -3808,7 +3809,7 @@ const Mr = /* @__PURE__ */ L(Dr, [["render", Ar]]), Br = X({
3808
3809
  }
3809
3810
  }), Vr = { class: "oc-header" }, Fr = { class: "menu" };
3810
3811
  function Rr(e, o, a, s, n, d) {
3811
- const i = u("IconGridDots"), c = u("NIcon"), m = u("NButton"), f = u("NDropdown"), g = u("IconNavigation"), v = u("NMenu"), y = u("Pop"), k = u("Message"), I = u("IconWeatherMoon"), T = u("IconWeatherSunny"), $ = u("IconUser"), B = u("NDrawerContent"), j = u("NDrawer");
3812
+ const i = u("IconGridDots"), c = u("NIcon"), m = u("NButton"), f = u("NDropdown"), g = u("IconNavigation"), v = u("NMenu"), y = u("Pop"), N = u("Message"), I = u("IconWeatherMoon"), T = u("IconWeatherSunny"), $ = u("IconUser"), B = u("NDrawerContent"), j = u("NDrawer");
3812
3813
  return p(), z("header", Vr, [
3813
3814
  e.platformOption.length > 1 && e.platformShow ? (p(), P(f, {
3814
3815
  key: 0,
@@ -3868,7 +3869,7 @@ function Rr(e, o, a, s, n, d) {
3868
3869
  class: "oc-header-menu"
3869
3870
  }, null, 8, ["value", "options", "render-icon", "render-label"])),
3870
3871
  e.download && !e.commonStore.isPad ? (p(), P(y, { key: 2 })) : A("", !0),
3871
- e.message && !e.commonStore.isPad ? (p(), P(k, { key: 3 })) : A("", !0),
3872
+ e.message && !e.commonStore.isPad ? (p(), P(N, { key: 3 })) : A("", !0),
3872
3873
  e.commonStore.isPad ? A("", !0) : (p(), P(m, {
3873
3874
  key: 4,
3874
3875
  style: { "margin-left": "15px" },
@@ -4076,9 +4077,9 @@ const Lr = /* @__PURE__ */ L(Br, [["render", Rr]]), Ur = X({
4076
4077
  ]), m = C([]), f = () => {
4077
4078
  o("update:show", !1);
4078
4079
  }, g = (T) => {
4079
- i.value.page = T, k();
4080
+ i.value.page = T, N();
4080
4081
  }, v = (T) => {
4081
- i.value.pageSize = T, i.value.page = 1, k();
4082
+ i.value.pageSize = T, i.value.page = 1, N();
4082
4083
  }, y = (T) => new Promise(($, B) => {
4083
4084
  T.file.file && Ft({
4084
4085
  jobType: "IMPORT",
@@ -4086,11 +4087,11 @@ const Lr = /* @__PURE__ */ L(Br, [["render", Rr]]), Ur = X({
4086
4087
  jobParams: e.data.params,
4087
4088
  file: T.file.file
4088
4089
  }).then(() => {
4089
- k(), $();
4090
+ N(), $();
4090
4091
  }).catch(() => {
4091
- k(), B();
4092
+ N(), B();
4092
4093
  }), B();
4093
- }), k = () => {
4094
+ }), N = () => {
4094
4095
  d.value = !0, Rt({
4095
4096
  jobType: "IMPORT",
4096
4097
  jobTypeName: e.data.type,
@@ -4118,7 +4119,7 @@ const Lr = /* @__PURE__ */ L(Br, [["render", Rr]]), Ur = X({
4118
4119
  page: 1,
4119
4120
  pageCount: 1,
4120
4121
  pageSize: 30
4121
- }, k());
4122
+ }, N());
4122
4123
  }
4123
4124
  ), {
4124
4125
  modal: n,
@@ -4126,7 +4127,7 @@ const Lr = /* @__PURE__ */ L(Br, [["render", Rr]]), Ur = X({
4126
4127
  coldata: m,
4127
4128
  query: i,
4128
4129
  loading: d,
4129
- init: k,
4130
+ init: N,
4130
4131
  closeModel: f,
4131
4132
  pageChange: g,
4132
4133
  pageSizeChange: v,
@@ -4136,7 +4137,7 @@ const Lr = /* @__PURE__ */ L(Br, [["render", Rr]]), Ur = X({
4136
4137
  }
4137
4138
  }), qr = { class: "oc-header-download" };
4138
4139
  function _r(e, o, a, s, n, d) {
4139
- const i = u("IconMailInboxAdd"), c = u("NIcon"), m = u("NButton"), f = u("NUpload"), g = u("IconCloudArrowDown"), v = u("IconArrowClockwise"), y = u("NTooltip"), k = u("IconDismiss"), I = u("NFlex"), T = u("NDataTable"), $ = u("NCard"), B = u("NModal");
4140
+ const i = u("IconMailInboxAdd"), c = u("NIcon"), m = u("NButton"), f = u("NUpload"), g = u("IconCloudArrowDown"), v = u("IconArrowClockwise"), y = u("NTooltip"), N = u("IconDismiss"), I = u("NFlex"), T = u("NDataTable"), $ = u("NCard"), B = u("NModal");
4140
4141
  return p(), P(B, {
4141
4142
  show: e.modal,
4142
4143
  "onUpdate:show": o[0] || (o[0] = (j) => e.modal = j),
@@ -4221,7 +4222,7 @@ function _r(e, o, a, s, n, d) {
4221
4222
  icon: l(() => [
4222
4223
  r(c, null, {
4223
4224
  default: l(() => [
4224
- r(k)
4225
+ r(N)
4225
4226
  ]),
4226
4227
  _: 1
4227
4228
  })
@@ -4292,7 +4293,7 @@ const Et = /* @__PURE__ */ L(Ur, [["render", _r]]), Er = X({
4292
4293
  phone: "",
4293
4294
  name: "",
4294
4295
  password: ""
4295
- }), k = C({
4296
+ }), N = C({
4296
4297
  name: {
4297
4298
  required: !0,
4298
4299
  // validator: (rule: string, value: string) => {
@@ -4487,7 +4488,7 @@ const Et = /* @__PURE__ */ L(Ur, [["render", _r]]), Er = X({
4487
4488
  formRef: d,
4488
4489
  formPhoneRef: n,
4489
4490
  formValue: y,
4490
- formRules: k,
4491
+ formRules: N,
4491
4492
  showPhoneDropdown: g,
4492
4493
  showNameDropdown: v,
4493
4494
  optionsName: I,
@@ -4510,7 +4511,7 @@ const Et = /* @__PURE__ */ L(Ur, [["render", _r]]), Er = X({
4510
4511
  }
4511
4512
  }), jr = { class: "oc-login" }, Hr = { class: "oc-login-right" }, Gr = { class: "oc-login-language" }, Jr = { class: "oc-login-platform" }, Wr = { class: "oc-login-form" }, Kr = { class: "oc-login-submit" }, Qr = ["href"], Xr = { class: "oc-login-footer" };
4512
4513
  function Yr(e, o, a, s, n, d) {
4513
- const i = u("IconWeatherMoon"), c = u("NIcon"), m = u("IconWeatherSunny"), f = u("NButton"), g = u("NInput"), v = u("NDropdown"), y = u("NFormItem"), k = u("NForm"), I = u("NTabPane"), T = u("NTabs"), $ = u("NPopover"), B = u("NGi"), j = u("NGrid");
4514
+ const i = u("IconWeatherMoon"), c = u("NIcon"), m = u("IconWeatherSunny"), f = u("NButton"), g = u("NInput"), v = u("NDropdown"), y = u("NFormItem"), N = u("NForm"), I = u("NTabPane"), T = u("NTabs"), $ = u("NPopover"), B = u("NGi"), j = u("NGrid");
4514
4515
  return p(), z("div", jr, [
4515
4516
  h("div", {
4516
4517
  class: "oc-login-left",
@@ -4574,7 +4575,7 @@ function Yr(e, o, a, s, n, d) {
4574
4575
  }, {
4575
4576
  default: l(() => [
4576
4577
  o[14] || (o[14] = h("br", null, null, -1)),
4577
- r(k, {
4578
+ r(N, {
4578
4579
  ref: "formPhoneRef",
4579
4580
  model: e.formValue,
4580
4581
  rules: e.formRules,
@@ -4642,7 +4643,7 @@ function Yr(e, o, a, s, n, d) {
4642
4643
  }, {
4643
4644
  default: l(() => [
4644
4645
  o[15] || (o[15] = h("br", null, null, -1)),
4645
- r(k, {
4646
+ r(N, {
4646
4647
  ref: "formRef",
4647
4648
  model: e.formValue,
4648
4649
  rules: e.formRules,
@@ -4817,8 +4818,8 @@ const Zr = /* @__PURE__ */ L(Er, [["render", Yr]]), xr = X({
4817
4818
  const o = C(!1), a = C(0), s = (c) => 1 - Math.pow(1 - c, 5), n = (c) => e.format ? e.format(c) : c;
4818
4819
  function d(c, m, f = e.duration) {
4819
4820
  const g = () => {
4820
- const y = performance.now(), k = Math.min(y - v, f), I = c + (m - c) * s(k / f);
4821
- if (k === f) {
4821
+ const y = performance.now(), N = Math.min(y - v, f), I = c + (m - c) * s(N / f);
4822
+ if (N === f) {
4822
4823
  a.value = n(Number(e.value)), o.value = !1;
4823
4824
  return;
4824
4825
  }
@@ -5037,7 +5038,7 @@ const is = /* @__PURE__ */ L(rs, [["render", ss]]), us = (e) => {
5037
5038
  message: () => e("Common.my.checkPasswordMessage"),
5038
5039
  trigger: "blur"
5039
5040
  }
5040
- }), c = C(N), m = C({
5041
+ }), c = C(k), m = C({
5041
5042
  // realName: {
5042
5043
  // required: false,
5043
5044
  // trigger: 'blur',
@@ -5076,12 +5077,12 @@ const is = /* @__PURE__ */ L(rs, [["render", ss]]), us = (e) => {
5076
5077
  var v;
5077
5078
  n.value || (n.value = !0, (v = a.value) == null || v.validate((y) => {
5078
5079
  y ? n.value = !1 : us(d.value).then(() => {
5079
- var k;
5080
+ var N;
5080
5081
  d.value = {
5081
5082
  oldPassword: "",
5082
5083
  newPassword: "",
5083
5084
  comfirmPassword: ""
5084
- }, (k = a.value) == null || k.restoreValidation(), o.success({
5085
+ }, (N = a.value) == null || N.restoreValidation(), o.success({
5085
5086
  content: () => e("Notice.success"),
5086
5087
  duration: 3e3
5087
5088
  }), setTimeout(() => {
@@ -5508,7 +5509,7 @@ function Ai(e, o, a) {
5508
5509
  }, v.value));
5509
5510
  }
5510
5511
  }
5511
- }, { run: k } = Ht(
5512
+ }, { run: N } = Ht(
5512
5513
  y,
5513
5514
  a != null && a.pollingInterval ? a.pollingInterval - 100 > 0 ? a.pollingInterval - 100 : 0 : 300
5514
5515
  ), I = (V) => {
@@ -5523,9 +5524,9 @@ function Ai(e, o, a) {
5523
5524
  }, B = () => {
5524
5525
  mr(), n.value && n.value();
5525
5526
  }, j = () => {
5526
- B(), k(), a != null && a.pollingInterval && (O(), i.value = setInterval(
5527
+ B(), y(), a != null && a.pollingInterval && (O(), i.value = setInterval(
5527
5528
  () => {
5528
- k();
5529
+ N();
5529
5530
  },
5530
5531
  a == null ? void 0 : a.pollingInterval
5531
5532
  ));
@@ -5539,9 +5540,9 @@ function Ai(e, o, a) {
5539
5540
  } catch {
5540
5541
  I(!1);
5541
5542
  }
5542
- return (a === void 0 || a.manual === void 0 || a.manual === !1) && y(), a != null && a.pollingInterval && (k(), i.value = setInterval(
5543
+ return (a === void 0 || a.manual === void 0 || a.manual === !1) && y(), a != null && a.pollingInterval && (y(), i.value = setInterval(
5543
5544
  () => {
5544
- k();
5545
+ N();
5545
5546
  },
5546
5547
  a == null ? void 0 : a.pollingInterval
5547
5548
  )), ro(() => {
@@ -5573,8 +5574,8 @@ const $s = X({
5573
5574
  const v = (F, S) => {
5574
5575
  f.beginPath(), f.moveTo(F.x, F.y), f.lineTo(S.x, S.y), f.lineWidth = 2, f.strokeStyle = "green", f.stroke();
5575
5576
  }, y = () => {
5576
- d.value && requestAnimationFrame(k);
5577
- }, k = () => {
5577
+ d.value && requestAnimationFrame(N);
5578
+ }, N = () => {
5578
5579
  if (g && g.readyState === g.HAVE_ENOUGH_DATA) {
5579
5580
  g.width = c, g.height = m, f.drawImage(a.value, 0, 0, c, m);
5580
5581
  const F = f.getImageData(0, 0, c, m);
@@ -5817,7 +5818,7 @@ const Ms = /* @__PURE__ */ L(zs, [["render", As]]), Bs = X({
5817
5818
  }) : () => ({
5818
5819
  label: "匹配失败",
5819
5820
  value: "匹配失败"
5820
- }) : O.fallbackOption : !1, k = (O, V, F) => {
5821
+ }) : O.fallbackOption : !1, N = (O, V, F) => {
5821
5822
  const S = F.options.filter(
5822
5823
  (b) => String(b.label).toLocaleLowerCase().indexOf(String(V).toLocaleLowerCase()) > -1
5823
5824
  ) || [];
@@ -5863,7 +5864,7 @@ const Ms = /* @__PURE__ */ L(zs, [["render", As]]), Bs = X({
5863
5864
  isSlotHeader: n,
5864
5865
  showMore: $,
5865
5866
  setValues: j,
5866
- dropValueChange: k,
5867
+ dropValueChange: N,
5867
5868
  dropDisplayToggle: T,
5868
5869
  getDefaultDate: We,
5869
5870
  selectFallback: y
@@ -5874,7 +5875,7 @@ const Ms = /* @__PURE__ */ L(zs, [["render", As]]), Bs = X({
5874
5875
  class: "oc-search-action-more"
5875
5876
  };
5876
5877
  function Ls(e, o, a, s, n, d) {
5877
- const i = u("NGridItem"), c = u("NInputGroupLabel"), m = u("NInput"), f = u("NInputNumber"), g = u("NSelect"), v = u("NDataTable"), y = u("NPopover"), k = u("NCascader"), I = u("NTreeSelect"), T = u("OcTimePickRange"), $ = u("NDatePicker"), B = u("NInputGroup"), j = u("NGrid"), O = u("IconArrowDown"), V = u("NIcon"), F = u("IconArrowUp"), S = u("NButton"), b = u("NTooltip");
5878
+ const i = u("NGridItem"), c = u("NInputGroupLabel"), m = u("NInput"), f = u("NInputNumber"), g = u("NSelect"), v = u("NDataTable"), y = u("NPopover"), N = u("NCascader"), I = u("NTreeSelect"), T = u("OcTimePickRange"), $ = u("NDatePicker"), B = u("NInputGroup"), j = u("NGrid"), O = u("IconArrowDown"), V = u("NIcon"), F = u("IconArrowUp"), S = u("NButton"), b = u("NTooltip");
5878
5879
  return p(), z("div", Vs, [
5879
5880
  r(j, {
5880
5881
  "x-gap": "15",
@@ -6034,7 +6035,7 @@ function Ls(e, o, a, s, n, d) {
6034
6035
  }),
6035
6036
  _: 2
6036
6037
  }, 1032, ["show", "on-clickoutside"])) : A("", !0),
6037
- t.type === "cascader" ? (p(), P(k, {
6038
+ t.type === "cascader" ? (p(), P(N, {
6038
6039
  key: 4,
6039
6040
  value: e.searchData[D],
6040
6041
  "onUpdate:value": (M) => e.searchData[D] = M,
@@ -6387,8 +6388,8 @@ const Js = /* @__PURE__ */ L(qs, [["render", Gs]]), Ws = X({
6387
6388
  }
6388
6389
  }
6389
6390
  }, y = () => {
6390
- e.loading || (k(JSON.parse(JSON.stringify(e.defaultValue))), v());
6391
- }, k = (T, $ = !1) => {
6391
+ e.loading || (N(JSON.parse(JSON.stringify(e.defaultValue))), v());
6392
+ }, N = (T, $ = !1) => {
6392
6393
  if (i.value && i.value.setValues(JSON.parse(JSON.stringify(T))), I(e.data), $)
6393
6394
  d.replace(n.path);
6394
6395
  else if (e.cache) {
@@ -6398,7 +6399,7 @@ const Js = /* @__PURE__ */ L(qs, [["render", Gs]]), Ws = X({
6398
6399
  }, I = (T) => {
6399
6400
  i.value && i.value.dataFactory(T);
6400
6401
  };
6401
- return s({ setValues: k, setData: I }), Ie(() => {
6402
+ return s({ setValues: N, setData: I }), Ie(() => {
6402
6403
  setTimeout(() => {
6403
6404
  let T = e.value;
6404
6405
  if (e.cache) {
@@ -6426,7 +6427,7 @@ const Js = /* @__PURE__ */ L(qs, [["render", Gs]]), Ws = X({
6426
6427
  class: "oc-search-bar-popover"
6427
6428
  }, Qs = { key: 0 }, Xs = { class: "oc-search-bar-center" };
6428
6429
  function Ys(e, o, a, s, n, d) {
6429
- const i = u("OcSearchBarItem"), c = u("IconArrowDown"), m = u("NIcon"), f = u("NButton"), g = u("IconReset"), v = u("IconSearch"), y = u("NFlex"), k = u("OcSearchBarPop"), I = u("IconFilter"), T = u("NTooltip");
6430
+ const i = u("OcSearchBarItem"), c = u("IconArrowDown"), m = u("NIcon"), f = u("NButton"), g = u("IconReset"), v = u("IconSearch"), y = u("NFlex"), N = u("OcSearchBarPop"), I = u("IconFilter"), T = u("NTooltip");
6430
6431
  return p(), z("div", {
6431
6432
  class: at(["oc-search-bar", {
6432
6433
  small: !e.isSlotHeader && (e.small || e.commonStore.isMobile)
@@ -6440,7 +6441,7 @@ function Ys(e, o, a, s, n, d) {
6440
6441
  ke(e.$slots, "header")
6441
6442
  ], 2)) : A("", !0),
6442
6443
  e.small || e.commonStore.isMobile ? (p(), z("div", Ks, [
6443
- r(k, {
6444
+ r(N, {
6444
6445
  value: e.drawer,
6445
6446
  "onUpdate:value": o[2] || (o[2] = ($) => e.drawer = $),
6446
6447
  "onOnUpdate:value": o[3] || (o[3] = ($) => e.drawer = $)
@@ -6788,7 +6789,7 @@ const oi = /* @__PURE__ */ L(Zs, [["render", ei]]), ti = X({
6788
6789
  },
6789
6790
  emits: ["update:loading", "on-update:value", "on-update:filter"],
6790
6791
  setup(e, { emit: o, expose: a, slots: s }) {
6791
- const n = C(!!s.header), d = C(), { t: i } = $e(), c = io(), m = je(), f = ze(), g = C(!1), v = C(!1), y = C(!1), k = C([]), I = C([]), T = C([]), $ = C({
6792
+ const n = C(!!s.header), d = C(), { t: i } = $e(), c = io(), m = je(), f = ze(), g = C(!1), v = C(!1), y = C(!1), N = C([]), I = C([]), T = C([]), $ = C({
6792
6793
  query: {
6793
6794
  page: 1
6794
6795
  }
@@ -6818,7 +6819,7 @@ const oi = /* @__PURE__ */ L(Zs, [["render", ei]]), ti = X({
6818
6819
  const w = [];
6819
6820
  I.value.forEach((x) => {
6820
6821
  x.show && w.push(x);
6821
- }), k.value = w;
6822
+ }), N.value = w;
6822
6823
  }, Q = (w) => {
6823
6824
  if ($.value = w, e.cache) {
6824
6825
  const x = Fe(F), le = Fe($.value);
@@ -6922,7 +6923,7 @@ const oi = /* @__PURE__ */ L(Zs, [["render", ei]]), ti = X({
6922
6923
  ...$.value,
6923
6924
  ...se
6924
6925
  };
6925
- k.value = le, j.value = ve, I.value = Y, d.value && d.value.setValues(de($.value)), d.value && d.value.setData(de(j.value));
6926
+ N.value = le, j.value = ve, I.value = Y, d.value && d.value.setValues(de($.value)), d.value && d.value.setData(de(j.value));
6926
6927
  }, J = (w) => typeof w == "number" ? `${w}px` : w, ge = () => {
6927
6928
  if (e.height) {
6928
6929
  const w = J(e.height);
@@ -6979,7 +6980,7 @@ const oi = /* @__PURE__ */ L(Zs, [["render", ei]]), ti = X({
6979
6980
  maxH: V,
6980
6981
  searchRef: d,
6981
6982
  exportLoading: v,
6982
- tableColumns: k,
6983
+ tableColumns: N,
6983
6984
  tableData: T,
6984
6985
  tableQuery: $,
6985
6986
  searchDefaultValue: B,
@@ -7000,7 +7001,7 @@ const oi = /* @__PURE__ */ L(Zs, [["render", ei]]), ti = X({
7000
7001
  }
7001
7002
  }), ai = { class: "com-card" };
7002
7003
  function ni(e, o, a, s, n, d) {
7003
- const i = u("IconAdd"), c = u("NIcon"), m = u("NButton"), f = u("NTooltip"), g = u("IconMailInboxAdd"), v = u("IconCloudArrowDown"), y = u("NPopconfirm"), k = u("IconFilter"), I = u("IconNavigation"), T = u("IconPin"), $ = u("IconPinOff"), B = u("IconEye"), j = u("IconEyeOff"), O = u("Draggable"), V = u("NPopover"), F = u("OcSearchBar"), S = u("NDataTable"), b = u("OcImporter");
7004
+ const i = u("IconAdd"), c = u("NIcon"), m = u("NButton"), f = u("NTooltip"), g = u("IconMailInboxAdd"), v = u("IconCloudArrowDown"), y = u("NPopconfirm"), N = u("IconFilter"), I = u("IconNavigation"), T = u("IconPin"), $ = u("IconPinOff"), B = u("IconEye"), j = u("IconEyeOff"), O = u("Draggable"), V = u("NPopover"), F = u("OcSearchBar"), S = u("NDataTable"), b = u("OcImporter");
7004
7005
  return p(), z(ie, null, [
7005
7006
  r(F, {
7006
7007
  ref: "searchRef",
@@ -7110,7 +7111,7 @@ function ni(e, o, a, s, n, d) {
7110
7111
  icon: l(() => [
7111
7112
  r(c, null, {
7112
7113
  default: l(() => [
7113
- r(k)
7114
+ r(N)
7114
7115
  ]),
7115
7116
  _: 1
7116
7117
  })
@@ -7297,7 +7298,7 @@ const li = /* @__PURE__ */ L(ti, [["render", ni]]), st = /* @__PURE__ */ Object.
7297
7298
  fnSetUser: qt,
7298
7299
  fnUserLogout: _t,
7299
7300
  i18n: Se,
7300
- userStore: N
7301
+ userStore: k
7301
7302
  }, Symbol.toStringTag, { value: "Module" }));
7302
7303
  let Eo = 3840, jo = 2160;
7303
7304
  const ri = vo({
@@ -7330,7 +7331,7 @@ function Bi() {
7330
7331
  Eo = 3840, jo = 2160, window.removeEventListener("resize", e);
7331
7332
  };
7332
7333
  }
7333
- const Vi = (e) => !!(N.kind === -1 || N.kind === 99 || N.iot_menu_authorization.includes(e)), Fi = (e) => N.platform_tdm ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.tdm_menu_authorization.includes(e) : !1, Ri = (e) => N.platform_qms ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.qms_menu_authorization.includes(e) : !1, Li = (e) => N.platform_twin ? (N.kind === -1 || N.kind === 99 || e === "home", !0) : !1, Ui = (e) => !!(N.kind === -1 || N.kind === 99 || N.maintain_menu_authorization.includes(e)), qi = (e) => !!(N.kind === -1 || N.kind === 99 || N.order_menu_authorization.includes(e)), ii = "3.0.10";
7334
+ const Vi = (e) => !!(k.kind === -1 || k.kind === 99 || k.iot_menu_authorization.includes(e)), Fi = (e) => k.platform_tdm ? k.kind === -1 || k.kind === 99 || e === "home" ? !0 : k.tdm_menu_authorization.includes(e) : !1, Ri = (e) => k.platform_qms ? k.kind === -1 || k.kind === 99 || e === "home" ? !0 : k.qms_menu_authorization.includes(e) : !1, Li = (e) => k.platform_twin ? (k.kind === -1 || k.kind === 99 || e === "home", !0) : !1, Ui = (e) => !!(k.kind === -1 || k.kind === 99 || k.maintain_menu_authorization.includes(e)), qi = (e) => !!(k.kind === -1 || k.kind === 99 || k.order_menu_authorization.includes(e)), ii = "3.0.11";
7334
7335
  function ui({ components: e = [] } = {}) {
7335
7336
  const o = [];
7336
7337
  function a(n, d, i) {
@@ -7457,5 +7458,5 @@ export {
7457
7458
  zi as useLocalStorage,
7458
7459
  Ai as useQuery,
7459
7460
  Di as useThrottleFn,
7460
- N as userStore
7461
+ k as userStore
7461
7462
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.10",
2
+ "version": "3.0.11",
3
3
  "author": {
4
4
  "name": "DotWho"
5
5
  },