xmlui 0.6.2-beta.7 → 0.6.3-beta.8

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.
@@ -7,7 +7,7 @@ var $ = (e, t, r) => Lr(e, typeof t != "symbol" ? t + "" : t, r), ve = (e, t, r)
7
7
  var Q = (e, t, r) => (ve(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ee = (e, t, r) => t.has(e) ? Be("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Ve = (e, t, r, s) => (ve(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r), ie = (e, t, r) => (ve(e, t, "access private method"), r);
8
8
  import { isArray as It, isObject as Nt, mapValues as Sr } from "lodash-es";
9
9
  import { delay as Dr, HttpResponse as K, http as Cr } from "msw";
10
- import { r as qr, d as Mr, m as $r, a as Ur, g as jr, o as we, T as Fr } from "./index-CKGVnDJW.mjs";
10
+ import { r as qr, d as Mr, m as $r, a as Ur, g as jr, o as we, T as Fr } from "./index-CdzFKPyG.mjs";
11
11
  import We from "dexie";
12
12
  var Br = /(%?)(%([sdijo]))/g;
13
13
  function Vr(e, t) {
@@ -6365,16 +6365,20 @@ function ca(e) {
6365
6365
  let i = [n.url];
6366
6366
  It(n.url) && (i = n.url), i.forEach((a) => {
6367
6367
  r.push(
6368
- Cr[n.method](`${e.getApiUrl()}${a}`, async ({ request: l, cookies: o, params: c }) => await e.executeOperation(s, l, o, c))
6368
+ Cr[n.method](
6369
+ `${e.getApiUrl()}${a}`,
6370
+ async ({ request: l, cookies: o, params: c }) => await e.executeOperation(s, l, o, c)
6371
+ )
6369
6372
  );
6370
6373
  });
6371
6374
  }), r;
6372
6375
  }
6373
- const fa = async (e) => {
6374
- const t = new aa(e);
6375
- await t.initialize();
6376
- const r = ca(t);
6377
- return Jo(...r);
6376
+ const fa = async (e, t) => {
6377
+ const r = new aa(e);
6378
+ await r.initialize();
6379
+ const s = ca(r);
6380
+ let n = t;
6381
+ return n || (n = Jo()), n.use(...s), n;
6378
6382
  };
6379
6383
  export {
6380
6384
  fa as createApiInterceptorWorker