@partex/one-core 2.0.53 → 2.0.55

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/lib/one-core.js CHANGED
@@ -830,7 +830,7 @@ const Yx = {
830
830
  "zh-CN": { ...Yx },
831
831
  "fr-FR": {}
832
832
  }
833
- }), Ut = Xx, L_ = "2.0.53", _p = {
833
+ }), Ut = Xx, L_ = "2.0.55", _p = {
834
834
  Components: {
835
835
  platformName: () => `${Ut.global.t("Platform.components")} v${L_}`,
836
836
  platformType: "T0",
@@ -1095,7 +1095,7 @@ const hs = (e, t) => ge(
1095
1095
  ge(
1096
1096
  en,
1097
1097
  {
1098
- trigger: "click"
1098
+ trigger: "hover"
1099
1099
  },
1100
1100
  {
1101
1101
  trigger: () => Fr(
@@ -28801,11 +28801,11 @@ const WH = /* @__PURE__ */ ae(GH, [["render", UH]]), YH = Ie({
28801
28801
  }
28802
28802
  },
28803
28803
  setup(e) {
28804
- const { t } = kr(), r = hu(), n = xi(), a = kn(), i = W("/iot/home"), o = W(!1), s = W(void 0), l = W(10), u = W([]), f = (x) => {
28804
+ const { t } = kr(), r = hu(), n = xi(), a = kn(), i = W(pe.platformUrl), o = W(!1), s = W(void 0), l = W(10), u = W([]), f = (x) => {
28805
28805
  yu(x), Sr("theme", x, 0);
28806
28806
  }, c = (x) => {
28807
28807
  const A = x.split("/");
28808
- i.value = `/${A[1]}/${A[2]}`, Qc();
28808
+ A.length > 2 ? i.value = `/${A[1]}/${A[2]}/${A[3]}` : i.value = `/${A[1]}`, Qc();
28809
28809
  }, d = (x) => {
28810
28810
  x.disabled || (c(x.key), n.push(x.key));
28811
28811
  }, h = (x) => {
@@ -29177,7 +29177,6 @@ function jH(e, t, r, n, a, i) {
29177
29177
  })) : (V(), J(c, {
29178
29178
  key: 1,
29179
29179
  value: e.activeMenu,
29180
- "onUpdate:value": t[3] || (t[3] = (y) => e.activeMenu = y),
29181
29180
  mode: "horizontal",
29182
29181
  options: e.menuOptions,
29183
29182
  "render-icon": e.renderMenuIcon,
@@ -29189,7 +29188,7 @@ function jH(e, t, r, n, a, i) {
29189
29188
  e.commonStore.isPad ? te("", !0) : (V(), J(l, {
29190
29189
  key: 4,
29191
29190
  style: { "margin-left": "15px" },
29192
- onClick: t[4] || (t[4] = (y) => e.changeTheme(!e.commonStore.theme))
29191
+ onClick: t[3] || (t[3] = (y) => e.changeTheme(!e.commonStore.theme))
29193
29192
  }, {
29194
29193
  icon: k(() => [
29195
29194
  di(N(s, { color: "#8e54c8" }, {
@@ -29214,7 +29213,7 @@ function jH(e, t, r, n, a, i) {
29214
29213
  e.commonStore.language && !e.commonStore.isPad ? (V(), J(l, {
29215
29214
  key: 5,
29216
29215
  class: "com-header-icon",
29217
- onClick: t[5] || (t[5] = (y) => e.fnSetLang())
29216
+ onClick: t[4] || (t[4] = (y) => e.fnSetLang())
29218
29217
  }, {
29219
29218
  default: k(() => [
29220
29219
  me(le(e.commonStore.lang === "zh-CN" ? "EN" : "中文"), 1)
@@ -29260,7 +29259,7 @@ function jH(e, t, r, n, a, i) {
29260
29259
  ]),
29261
29260
  N(_, {
29262
29261
  show: e.showMenu,
29263
- "onUpdate:show": t[7] || (t[7] = (y) => e.showMenu = y)
29262
+ "onUpdate:show": t[5] || (t[5] = (y) => e.showMenu = y)
29264
29263
  }, {
29265
29264
  default: k(() => [
29266
29265
  N(m, {
@@ -29271,7 +29270,6 @@ function jH(e, t, r, n, a, i) {
29271
29270
  default: k(() => [
29272
29271
  N(c, {
29273
29272
  value: e.activeMenu,
29274
- "onUpdate:value": t[6] || (t[6] = (y) => e.activeMenu = y),
29275
29273
  "default-expand-all": !0,
29276
29274
  options: e.menuOptions,
29277
29275
  "render-label": e.renderMenuLabel2