g-ui-web 0.10.16 → 0.10.18

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/g-ui-web.js CHANGED
@@ -2150,7 +2150,7 @@ const Rde = (e, t) => t.reduce((r, n) => r[n], e), Lde = (e) => {
2150
2150
  const t = {
2151
2151
  // axios基础配置
2152
2152
  sysCode: (e == null ? void 0 : e.sysCode) || "",
2153
- appType: (e == null ? void 0 : e.appType) || "",
2153
+ appType: (e == null ? void 0 : e.appType) || "pc",
2154
2154
  tokenName: (e == null ? void 0 : e.tokenName) || "gt-token",
2155
2155
  token: (e == null ? void 0 : e.token) || ""
2156
2156
  };
@@ -48209,19 +48209,20 @@ function dL(e, t = {}) {
48209
48209
  }
48210
48210
  const fL = (e) => Array.isArray(e) ? "数组" : typeof e == "object" && e !== null ? "对象" : typeof e == "string" ? "字符串" : "其他类型", r$e = {
48211
48211
  getList(e) {
48212
+ var t;
48212
48213
  if (fL(e) == "对象") {
48213
- const t = !e.method || e.method.toLowerCase() == "get" || e.method.toLowerCase() == "GET" || e.method.toLowerCase() == "delete" || e.method.toLowerCase() == "DELETE";
48214
+ const r = !e.method || e.method.toLowerCase() == "get" || e.method.toLowerCase() == "GET" || e.method.toLowerCase() == "delete" || e.method.toLowerCase() == "DELETE";
48214
48215
  return dL({
48215
48216
  url: e.path,
48216
48217
  method: e.method,
48217
- data: t ? null : e.params,
48218
- params: t ? e.params : null,
48218
+ data: r ? null : e.params,
48219
+ params: r ? e.params : null,
48219
48220
  ContentType: e.ContentType,
48220
48221
  // resultFilter: props.resultFilter,
48221
48222
  headers: {
48222
- [mo.state["gui-baseConfig"].tokenName]: mo.state["gui-baseConfig"].token || "",
48223
- sysCode: mo.state["gui-baseConfig"].sysCode || "",
48224
- appType: mo.state["gui-baseConfig"].appType || "",
48223
+ [(t = mo.state["gui-ajax-config"]) == null ? void 0 : t.tokenName]: mo.state["gui-ajax-config"].token || "",
48224
+ sysCode: mo.state["gui-ajax-config"].sysCode || "",
48225
+ appType: mo.state["gui-ajax-config"].appType || "",
48225
48226
  ...e.headers
48226
48227
  },
48227
48228
  isLoading: !1
@@ -95629,15 +95630,15 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
95629
95630
  emits: ["click"],
95630
95631
  setup(e, { expose: t, emit: r }) {
95631
95632
  vc((A) => ({
95632
- 68726568: l.value,
95633
- a163dfcc: u.value,
95634
- "0ac60ade": c.value,
95635
- "74be9496": d.value,
95636
- "2360e646": f.value,
95637
- "7dc9f8f9": g.value,
95638
- "2668e6e0": h.value,
95639
- "32d7962f": v.value,
95640
- "3868f862": m.value
95633
+ "189060d4": l.value,
95634
+ "22e4ca86": u.value,
95635
+ "0c44e4b6": c.value,
95636
+ "5770dcaa": d.value,
95637
+ e2b4681e: f.value,
95638
+ c3526d36: g.value,
95639
+ cc00bd68: h.value,
95640
+ "1589de43": v.value,
95641
+ a8009a64: m.value
95641
95642
  }));
95642
95643
  const n = Jn(), a = e, o = O(() => a.bg && a.type != "default" ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-top-${a.size} g-target-s-${a.type}`), i = O(() => a.bg && a.type != "default" ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-bottom-${a.size} g-target-s-${a.type}`), s = O(() => a.bg && a.type != "default" ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-left-${a.size} g-target-s-${a.type}`), l = O(() => a.border ? "1px solid" : "0"), u = O(() => a.border ? "var(--border-radius-base)" : ""), c = O(() => a.bg ? `var(--color-${a.type}-lights-7)` : ""), d = O(() => a.bg ? `var(--color-${a.type})` : ""), f = O(() => a.border ? `var(--color-${a.type})` : ""), p = O(() => {
95643
95644
  if (a.aspect)
@@ -95868,7 +95869,7 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
95868
95869
  ], 64);
95869
95870
  };
95870
95871
  }
95871
- }), Klt = /* @__PURE__ */ ma(jlt, [["__scopeId", "data-v-6571ac9d"]]), Ylt = tr(Klt), qlt = { class: "left" }, Xlt = { class: "right" }, Zlt = { class: "top" }, Qlt = { class: "bottom" }, Jlt = H({
95872
+ }), Klt = /* @__PURE__ */ ma(jlt, [["__scopeId", "data-v-cfd24f7f"]]), Ylt = tr(Klt), qlt = { class: "left" }, Xlt = { class: "right" }, Zlt = { class: "top" }, Qlt = { class: "bottom" }, Jlt = H({
95872
95873
  name: "GTargetR"
95873
95874
  }), eut = /* @__PURE__ */ H({
95874
95875
  ...Jlt,
Binary file