g-ui-web 0.10.19 → 0.10.21

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
@@ -48209,20 +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
+ var t, r, n, a;
48213
48213
  if (fL(e) == "对象") {
48214
- const r = !e.method || e.method.toLowerCase() == "get" || e.method.toLowerCase() == "GET" || e.method.toLowerCase() == "delete" || e.method.toLowerCase() == "DELETE";
48214
+ const o = !e.method || e.method.toLowerCase() == "get" || e.method.toLowerCase() == "GET" || e.method.toLowerCase() == "delete" || e.method.toLowerCase() == "DELETE";
48215
48215
  return dL({
48216
48216
  url: e.path,
48217
48217
  method: e.method,
48218
- data: r ? null : e.params,
48219
- params: r ? e.params : null,
48218
+ data: o ? null : e.params,
48219
+ params: o ? e.params : null,
48220
48220
  ContentType: e.ContentType,
48221
48221
  // resultFilter: props.resultFilter,
48222
48222
  headers: {
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 || "",
48223
+ [(t = mo.state["gui-ajax-config"]) == null ? void 0 : t.tokenName]: ((r = mo.state["gui-ajax-config"]) == null ? void 0 : r.token) || "",
48224
+ sysCode: ((n = mo.state["gui-ajax-config"]) == null ? void 0 : n.sysCode) || "",
48225
+ appType: ((a = mo.state["gui-ajax-config"]) == null ? void 0 : a.appType) || "",
48226
48226
  ...e.headers
48227
48227
  },
48228
48228
  isLoading: !1
@@ -95630,15 +95630,15 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
95630
95630
  emits: ["click"],
95631
95631
  setup(e, { expose: t, emit: r }) {
95632
95632
  vc((A) => ({
95633
- "3c91153f": l.value,
95634
- "44c942b1": u.value,
95635
- "14881ada": c.value,
95636
- db5199c2: d.value,
95637
- "7ac357b4": f.value,
95638
- "7607e1e0": g.value,
95639
- "8837cd12": h.value,
95640
- "507034b8": v.value,
95641
- "6437aa0e": m.value
95633
+ "3219a882": l.value,
95634
+ "009917b4": u.value,
95635
+ "5a9a3392": c.value,
95636
+ "1c8731bc": d.value,
95637
+ "50ab1afa": f.value,
95638
+ "7aacdd93": g.value,
95639
+ "77b3ee7a": h.value,
95640
+ "4abf9956": v.value,
95641
+ ec980008: m.value
95642
95642
  }));
95643
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(() => {
95644
95644
  if (a.aspect)
@@ -95869,7 +95869,7 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
95869
95869
  ], 64);
95870
95870
  };
95871
95871
  }
95872
- }), Klt = /* @__PURE__ */ ma(jlt, [["__scopeId", "data-v-8019fabd"]]), 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-50d80bdc"]]), Ylt = tr(Klt), qlt = { class: "left" }, Xlt = { class: "right" }, Zlt = { class: "top" }, Qlt = { class: "bottom" }, Jlt = H({
95873
95873
  name: "GTargetR"
95874
95874
  }), eut = /* @__PURE__ */ H({
95875
95875
  ...Jlt,
@@ -96462,13 +96462,13 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
96462
96462
  setup(e, { expose: t, emit: r }) {
96463
96463
  var C;
96464
96464
  vc((x) => ({
96465
- "993c2154": l.value,
96466
- "7f4a8298": h.value,
96467
- aa1a91f4: s.value,
96468
- "24417c72": v.value,
96469
- "6a028132": f.value,
96470
- b44e7364: c.value,
96471
- "7951ddfe": d.value
96465
+ "1c012480": l.value,
96466
+ "0db6459e": h.value,
96467
+ "28d6c35c": s.value,
96468
+ 68707131: v.value,
96469
+ "4f93695e": f.value,
96470
+ 19976590: c.value,
96471
+ "534bf652": d.value
96472
96472
  }));
96473
96473
  const n = Jn(), a = z(null), o = e, i = O(() => {
96474
96474
  if (o.bg)
Binary file