dfs-page-config 0.0.95 → 0.0.96

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.
@@ -21137,18 +21137,19 @@ function Ol(r, a, l) {
21137
21137
  }), c;
21138
21138
  }
21139
21139
  function dY(r, a) {
21140
- if (r[a.url])
21141
- a.options = r[a.url];
21140
+ const l = a.url + "-" + (a.dataKey || "");
21141
+ if (r[l])
21142
+ a.options = r[l];
21142
21143
  else {
21143
- let l = a.method == "POST" ? "data" : "params";
21144
- const c = typeof a.params == "function" ? a.params() : a.params;
21144
+ let c = a.method == "POST" ? "data" : "params";
21145
+ const d = typeof a.params == "function" ? a.params() : a.params;
21145
21146
  ws({
21146
21147
  url: r._BASE_URL + a.url,
21147
- [l]: c || {},
21148
+ [c]: d || {},
21148
21149
  method: a.method || "GET"
21149
- }).then((d) => {
21150
- const f = d[a.dataKey] || d.items || d;
21151
- a.options = f, a.noCache || (r[a.url] = f);
21150
+ }).then((f) => {
21151
+ const h = f[a.dataKey] || f.items || f;
21152
+ a.options = h, a.noCache || (r[l] = h);
21152
21153
  });
21153
21154
  }
21154
21155
  }
@@ -23820,7 +23821,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
23820
23821
  }).catch((R) => {
23821
23822
  console.log(R);
23822
23823
  }).finally(() => {
23823
- a.state.loading = !0;
23824
+ a.state.loading = !1;
23824
23825
  });
23825
23826
  }
23826
23827
  function E() {
@@ -24082,7 +24083,7 @@ function Vq(r, a, l, c, d, f) {
24082
24083
  _: 3
24083
24084
  }, 8, ["locale"]);
24084
24085
  }
24085
- const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-db11dcec"]]), kq = _e({
24086
+ const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-3de4296d"]]), kq = _e({
24086
24087
  props: {
24087
24088
  url: String,
24088
24089
  text: {
@@ -56868,9 +56869,9 @@ const MX = /* @__PURE__ */ co(FX, [["render", IX]]), LX = (r) => {
56868
56869
  r.component(l.name, l);
56869
56870
  });
56870
56871
  }, VX = (r, a) => {
56871
- ["getters", "_actions"].forEach((c) => {
56872
- Object.keys(rs[c]).forEach((d) => {
56873
- a.store[c][d] = rs[c][d];
56872
+ ["getters", "_actions"].forEach((l) => {
56873
+ Object.keys(rs[l]).forEach((c) => {
56874
+ a.store[l][c] = rs[l][c];
56874
56875
  });
56875
56876
  }), a.store.state._BASE_URL = a.baseUrl, rs.commit("saveUrl", a.baseUrl), rs.commit("saveState", a.store), LX(r), r.component("DfsPageConfig", IY);
56876
56877
  };