@recats/cdeebee 2.3.7 → 3.0.0-beta.4

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/dist/cdeebee.js DELETED
@@ -1,1160 +0,0 @@
1
- function d(e) {
2
- return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
3
- }
4
- function P(e) {
5
- return function t(r) {
6
- return arguments.length === 0 || d(r) ? t : e.apply(this, arguments);
7
- };
8
- }
9
- function D(e) {
10
- return function t(r, n) {
11
- switch (arguments.length) {
12
- case 0:
13
- return t;
14
- case 1:
15
- return d(r) ? t : P(function(s) {
16
- return e(r, s);
17
- });
18
- default:
19
- return d(r) && d(n) ? t : d(r) ? P(function(s) {
20
- return e(s, n);
21
- }) : d(n) ? P(function(s) {
22
- return e(r, s);
23
- }) : e(r, n);
24
- }
25
- };
26
- }
27
- function F(e) {
28
- return function t(r, n, s) {
29
- switch (arguments.length) {
30
- case 0:
31
- return t;
32
- case 1:
33
- return d(r) ? t : D(function(i, l) {
34
- return e(r, i, l);
35
- });
36
- case 2:
37
- return d(r) && d(n) ? t : d(r) ? D(function(i, l) {
38
- return e(i, n, l);
39
- }) : d(n) ? D(function(i, l) {
40
- return e(r, i, l);
41
- }) : P(function(i) {
42
- return e(r, n, i);
43
- });
44
- default:
45
- return d(r) && d(n) && d(s) ? t : d(r) && d(n) ? D(function(i, l) {
46
- return e(i, l, s);
47
- }) : d(r) && d(s) ? D(function(i, l) {
48
- return e(i, n, l);
49
- }) : d(n) && d(s) ? D(function(i, l) {
50
- return e(r, i, l);
51
- }) : d(r) ? P(function(i) {
52
- return e(i, n, s);
53
- }) : d(n) ? P(function(i) {
54
- return e(r, i, s);
55
- }) : d(s) ? P(function(i) {
56
- return e(r, n, i);
57
- }) : e(r, n, s);
58
- }
59
- };
60
- }
61
- const re = Array.isArray || function(t) {
62
- return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
63
- };
64
- function k(e, t) {
65
- return Object.prototype.hasOwnProperty.call(t, e);
66
- }
67
- function ae(e) {
68
- return Object.prototype.toString.call(e) === "[object Object]";
69
- }
70
- const W = Number.isInteger || function(t) {
71
- return t << 0 === t;
72
- };
73
- function Oe(e, t, r) {
74
- if (W(e) && re(r)) {
75
- var n = [].concat(r);
76
- return n[e] = t, n;
77
- }
78
- var s = {};
79
- for (var i in r)
80
- s[i] = r[i];
81
- return s[e] = t, s;
82
- }
83
- var De = /* @__PURE__ */ P(function(t) {
84
- return t == null;
85
- }), N = /* @__PURE__ */ F(function e(t, r, n) {
86
- if (t.length === 0)
87
- return r;
88
- var s = t[0];
89
- if (t.length > 1) {
90
- var i = !De(n) && k(s, n) && typeof n[s] == "object" ? n[s] : W(t[1]) ? [] : {};
91
- r = e(Array.prototype.slice.call(t, 1), r, i);
92
- }
93
- return Oe(s, r, n);
94
- }), Be = /* @__PURE__ */ F(function(t, r, n) {
95
- return N([t], r, n);
96
- }), Pe = /* @__PURE__ */ F(function(t, r, n) {
97
- var s = Array.prototype.slice.call(n, 0);
98
- return s.splice(t, r), s;
99
- });
100
- function Se(e, t) {
101
- if (t == null)
102
- return t;
103
- if (W(e) && re(t))
104
- return Pe(e, 1, t);
105
- var r = {};
106
- for (var n in t)
107
- r[n] = t[n];
108
- return delete r[e], r;
109
- }
110
- function Ce(e, t) {
111
- if (W(e) && re(t))
112
- return [].concat(t);
113
- var r = {};
114
- for (var n in t)
115
- r[n] = t[n];
116
- return r;
117
- }
118
- var Ie = /* @__PURE__ */ D(function e(t, r) {
119
- if (r == null)
120
- return r;
121
- switch (t.length) {
122
- case 0:
123
- return r;
124
- case 1:
125
- return Se(t[0], r);
126
- default:
127
- var n = t[0], s = Array.prototype.slice.call(t, 1);
128
- return r[n] == null ? Ce(n, r) : Be(n, e(s, r[n]), r);
129
- }
130
- }), ue = /* @__PURE__ */ D(function(t, r) {
131
- return Ie([t], r);
132
- }), Ne = /* @__PURE__ */ F(function(t, r, n) {
133
- var s = {}, i;
134
- r = r || {}, n = n || {};
135
- for (i in r)
136
- k(i, r) && (s[i] = k(i, n) ? t(i, r[i], n[i]) : r[i]);
137
- for (i in n)
138
- k(i, n) && !k(i, s) && (s[i] = n[i]);
139
- return s;
140
- }), Ue = /* @__PURE__ */ F(function e(t, r, n) {
141
- return Ne(function(s, i, l) {
142
- return ae(i) && ae(l) ? e(t, i, l) : t(s, i, l);
143
- }, r, n);
144
- }), $ = /* @__PURE__ */ D(function(t, r) {
145
- return Ue(function(n, s, i) {
146
- return i;
147
- }, t, r);
148
- }), ne = /* @__PURE__ */ D(function(t, r) {
149
- for (var n = {}, s = {}, i = 0, l = t.length; i < l; )
150
- s[t[i]] = 1, i += 1;
151
- for (var v in r)
152
- s.hasOwnProperty(v) || (n[v] = r[v]);
153
- return n;
154
- }), y = /* @__PURE__ */ ((e) => (e.CDEEBEE_REQUESTMANAGER_SHIFT = "@@cdeebee/REQUESTMANAGER_SHIFT", e.CDEEBEE_REQUESTMANAGER_SET = "@@cdeebee/REQUESTMANAGER_SET", e.CDEEBEE_ERRORHANDLER_SET = "@@cdeebee/ERRORHANDLER_SET", e.CDEEBEE_ENTITY_CHANGE_FIELD = "@@cdeebee/ENTITY_CHANGE_FIELD", e.CDEEBEE_ENTITY_UNSAFE_UPDATE_STORE = "@@cdeebee/ENTITY_UNSAFE_UPDATE_STORE", e.CDEEBEE_RESET_ENTITY = "@@cdeebee/RESET_ENTITY", e.CDEEBEE_SET_ENTITY = "@@cdeebee/SET_ENTITY", e.CDEEBEEE_UPDATE = "@@cdeebee/UPDATE", e.CDEEBEEE_DROP = "@@cdeebee/DROP", e.CDEEBEEE_DROP_PATH = "@@cdeebee/DROP_PATH", e.CDEEBEE_INTERNAL_ERROR = "@@cdeebee/INTERNAL_ERROR", e.CDEEBEE_REQUEST_ABORTED = "@@cdeebee/REQUEST_ABORTED", e.CDEEBEEE_DROP_REQUEST_BY_API_URL = "@@cdeebee/DROP_REQUEST_BY_API_URL", e.CDEEBEEE_DROP_ERROR_BY_API_URL = "@@cdeebee/DROP_ERROR_BY_API_URL", e.CHANGE_ROUTE = "@@router/LOCATION_CHANGE", e))(y || {}), U = /* @__PURE__ */ ((e) => (e.NEW = "NEW", e.EDITING = "EDITING", e.NORMAL = "NORMAL", e))(U || {}), de = /* @__PURE__ */ ((e) => (e.merge = "merge", e.replace = "replace", e))(de || {});
155
- const pe = (e) => ne(["__entity", "__state"], e), he = (e) => e.filter((t) => t.requestCancel ? (_e(t), !1) : !0), _e = (e) => {
156
- e.controller && e.controller.abort instanceof Function && e.controller.abort();
157
- }, Le = (e, t) => {
158
- if (!t || e.length === 0)
159
- return !1;
160
- const r = t instanceof Array ? t : [t], n = e.map((s) => s.api);
161
- for (let s = 0; s < r.length; s += 1)
162
- if (n.includes(r[s]))
163
- return !0;
164
- return !1;
165
- }, qe = (e) => Object.prototype.hasOwnProperty.call(e, "__entity") ? e.__entity : e, V = (e) => {
166
- var r;
167
- const t = ((r = e == null ? void 0 : e.__entity) == null ? void 0 : r.__state) || (e == null ? void 0 : e.__state);
168
- return t || U.NORMAL;
169
- }, je = (e) => (e.__state = U.NEW, e), He = (e) => V(e) === U.NORMAL ? (console.warn("commit works only in editing and new states"), e) : pe(e), be = (e) => V(e) === U.NORMAL ? (console.warn("reset works only in editing and new states"), e) : pe(e), ve = (e, t, r) => {
170
- const n = e[t];
171
- if (V(n[r]) === U.EDITING)
172
- return e;
173
- const i = N([t, r, "__entity"], n[r], e);
174
- return N([t, r, "__entity", "__state"], U.EDITING, i);
175
- }, Ae = (e, t, r) => {
176
- const n = r || [];
177
- let s = e;
178
- for (let i = 0; i < t.length; i++) {
179
- const l = t[i];
180
- s = N([...n, ...l.key], l.value, s);
181
- }
182
- return s;
183
- }, Re = ({
184
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
185
- response: { responseStatus: e, ...t },
186
- cdeebee: r,
187
- mergeListStrategy: n,
188
- primaryKey: s
189
- }) => {
190
- const i = Object.keys(t);
191
- for (const l of i) {
192
- const v = {};
193
- if (t[l] instanceof Object && Object.prototype.hasOwnProperty.call(t[l], s)) {
194
- for (const m of t[l].data)
195
- v[m[t[l][s]]] = m;
196
- n[l] === de.replace ? t[l] = v : t[l] = $(r[l], v);
197
- } else (t[l] === null || t[l] === void 0 || typeof t[l] == "string") && (t = ne([l], t));
198
- }
199
- return t;
200
- }, st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
201
- __proto__: null,
202
- batchingUpdate: Ae,
203
- checkNetworkActivity: Le,
204
- commitEntity: He,
205
- defaultNormalize: Re,
206
- dropRequestFromArray: he,
207
- editEntity: ve,
208
- getEntityState: V,
209
- getSubEntity: qe,
210
- insertEntity: je,
211
- requestCancel: _e,
212
- resetEntity: be
213
- }, Symbol.toStringTag, { value: "Module" })), ce = {}, at = (e = ce, t) => {
214
- const { type: r, payload: n } = t;
215
- switch (r) {
216
- case y.CDEEBEEE_UPDATE:
217
- return { ...e, ...n.response };
218
- case y.CDEEBEE_ENTITY_CHANGE_FIELD: {
219
- const s = ve(e, n.entityList, n.entityID);
220
- return Ae(s, n.valueList, [n.entityList, n.entityID, "__entity"]);
221
- }
222
- case y.CDEEBEE_ENTITY_UNSAFE_UPDATE_STORE:
223
- return N([n.entityList, n.entityID], n.value, e);
224
- case y.CDEEBEE_SET_ENTITY:
225
- return N([n.entityList, n.entityID], n.entity, e);
226
- case y.CDEEBEE_RESET_ENTITY: {
227
- const s = e[n.entityList];
228
- return N(
229
- [n.entityList, n.entityID],
230
- be(s[n.entityID]),
231
- e
232
- );
233
- }
234
- case y.CDEEBEEE_DROP:
235
- return ce;
236
- case y.CDEEBEEE_DROP_PATH:
237
- return ne(n.path, e);
238
- default:
239
- return e;
240
- }
241
- }, le = {
242
- activeRequest: [],
243
- requestByApiUrl: {},
244
- errorHandler: {}
245
- }, ut = (e = le, t) => {
246
- const { type: r, payload: n } = t;
247
- switch (r) {
248
- case y.CDEEBEE_REQUESTMANAGER_SET:
249
- return { ...e, activeRequest: [...e.activeRequest, n] };
250
- case y.CDEEBEE_REQUESTMANAGER_SHIFT:
251
- case y.CDEEBEE_REQUEST_ABORTED:
252
- return { ...e, activeRequest: e.activeRequest.filter((s) => s.requestID !== n.requestID) };
253
- case y.CDEEBEEE_UPDATE:
254
- return {
255
- ...e,
256
- requestByApiUrl: {
257
- ...e.requestByApiUrl,
258
- [n.api]: n.cleanResponse
259
- }
260
- };
261
- case y.CDEEBEEE_DROP_REQUEST_BY_API_URL:
262
- return {
263
- ...e,
264
- requestByApiUrl: ue(n.api, e.requestByApiUrl)
265
- };
266
- case y.CDEEBEEE_DROP_ERROR_BY_API_URL:
267
- return {
268
- ...e,
269
- errorHandler: ue(n.api, e.errorHandler)
270
- };
271
- case y.CDEEBEE_ERRORHANDLER_SET:
272
- return {
273
- ...e,
274
- errorHandler: {
275
- ...e.errorHandler,
276
- [n.api]: n.cleanResponse
277
- }
278
- };
279
- case y.CDEEBEE_INTERNAL_ERROR:
280
- return { ...e, activeRequest: [], requestByApiUrl: {} };
281
- case y.CHANGE_ROUTE:
282
- return { ...le, activeRequest: he(e.activeRequest) };
283
- default:
284
- return e;
285
- }
286
- };
287
- var xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, fe = {}, Ee;
288
- function ke() {
289
- return Ee || (Ee = 1, function(e) {
290
- e();
291
- }(function() {
292
- function e(o, a) {
293
- (a == null || a > o.length) && (a = o.length);
294
- for (var u = 0, c = Array(a); u < a; u++) c[u] = o[u];
295
- return c;
296
- }
297
- function t(o) {
298
- if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
299
- return o;
300
- }
301
- function r(o, a, u) {
302
- return a = m(a), j(o, T() ? Reflect.construct(a, [], m(o).constructor) : a.apply(o, u));
303
- }
304
- function n(o, a) {
305
- if (!(o instanceof a)) throw new TypeError("Cannot call a class as a function");
306
- }
307
- function s(o, a) {
308
- for (var u = 0; u < a.length; u++) {
309
- var c = a[u];
310
- c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(o, J(c.key), c);
311
- }
312
- }
313
- function i(o, a, u) {
314
- return a && s(o.prototype, a), u && s(o, u), Object.defineProperty(o, "prototype", {
315
- writable: !1
316
- }), o;
317
- }
318
- function l(o, a) {
319
- var u = typeof Symbol < "u" && o[Symbol.iterator] || o["@@iterator"];
320
- if (!u) {
321
- if (Array.isArray(o) || (u = Y(o)) || a) {
322
- u && (o = u);
323
- var c = 0, E = function() {
324
- };
325
- return {
326
- s: E,
327
- n: function() {
328
- return c >= o.length ? {
329
- done: !0
330
- } : {
331
- done: !1,
332
- value: o[c++]
333
- };
334
- },
335
- e: function(f) {
336
- throw f;
337
- },
338
- f: E
339
- };
340
- }
341
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
342
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
343
- }
344
- var h, g = !0, b = !1;
345
- return {
346
- s: function() {
347
- u = u.call(o);
348
- },
349
- n: function() {
350
- var f = u.next();
351
- return g = f.done, f;
352
- },
353
- e: function(f) {
354
- b = !0, h = f;
355
- },
356
- f: function() {
357
- try {
358
- g || u.return == null || u.return();
359
- } finally {
360
- if (b) throw h;
361
- }
362
- }
363
- };
364
- }
365
- function v() {
366
- return v = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(o, a, u) {
367
- var c = M(o, a);
368
- if (c) {
369
- var E = Object.getOwnPropertyDescriptor(c, a);
370
- return E.get ? E.get.call(arguments.length < 3 ? o : u) : E.value;
371
- }
372
- }, v.apply(null, arguments);
373
- }
374
- function m(o) {
375
- return m = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(a) {
376
- return a.__proto__ || Object.getPrototypeOf(a);
377
- }, m(o);
378
- }
379
- function p(o, a) {
380
- if (typeof a != "function" && a !== null) throw new TypeError("Super expression must either be null or a function");
381
- o.prototype = Object.create(a && a.prototype, {
382
- constructor: {
383
- value: o,
384
- writable: !0,
385
- configurable: !0
386
- }
387
- }), Object.defineProperty(o, "prototype", {
388
- writable: !1
389
- }), a && S(o, a);
390
- }
391
- function T() {
392
- try {
393
- var o = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
394
- }));
395
- } catch {
396
- }
397
- return (T = function() {
398
- return !!o;
399
- })();
400
- }
401
- function j(o, a) {
402
- if (a && (typeof a == "object" || typeof a == "function")) return a;
403
- if (a !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
404
- return t(o);
405
- }
406
- function S(o, a) {
407
- return S = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(u, c) {
408
- return u.__proto__ = c, u;
409
- }, S(o, a);
410
- }
411
- function M(o, a) {
412
- for (; !{}.hasOwnProperty.call(o, a) && (o = m(o)) !== null; ) ;
413
- return o;
414
- }
415
- function X(o, a, u, c) {
416
- var E = v(m(o.prototype), a, u);
417
- return typeof E == "function" ? function(h) {
418
- return E.apply(u, h);
419
- } : E;
420
- }
421
- function G(o, a) {
422
- if (typeof o != "object" || !o) return o;
423
- var u = o[Symbol.toPrimitive];
424
- if (u !== void 0) {
425
- var c = u.call(o, a);
426
- if (typeof c != "object") return c;
427
- throw new TypeError("@@toPrimitive must return a primitive value.");
428
- }
429
- return String(o);
430
- }
431
- function J(o) {
432
- var a = G(o, "string");
433
- return typeof a == "symbol" ? a : a + "";
434
- }
435
- function Y(o, a) {
436
- if (o) {
437
- if (typeof o == "string") return e(o, a);
438
- var u = {}.toString.call(o).slice(8, -1);
439
- return u === "Object" && o.constructor && (u = o.constructor.name), u === "Map" || u === "Set" ? Array.from(o) : u === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u) ? e(o, a) : void 0;
440
- }
441
- }
442
- function Z(o) {
443
- var a;
444
- try {
445
- a = new Event("abort");
446
- } catch {
447
- typeof document < "u" ? document.createEvent ? (a = document.createEvent("Event"), a.initEvent("abort", !1, !1)) : (a = document.createEventObject(), a.type = "abort") : a = {
448
- type: "abort",
449
- bubbles: !1,
450
- cancelable: !1
451
- };
452
- }
453
- return a.reason = o, a;
454
- }
455
- function ee(o) {
456
- if (o === void 0)
457
- if (typeof document > "u")
458
- o = new Error("This operation was aborted"), o.name = "AbortError";
459
- else
460
- try {
461
- o = new DOMException("signal is aborted without reason"), Object.defineProperty(o, "name", {
462
- value: "AbortError"
463
- });
464
- } catch {
465
- o = new Error("This operation was aborted"), o.name = "AbortError";
466
- }
467
- return o;
468
- }
469
- var K = /* @__PURE__ */ function() {
470
- function o() {
471
- n(this, o), Object.defineProperty(this, "listeners", {
472
- value: {},
473
- writable: !0,
474
- configurable: !0
475
- });
476
- }
477
- return i(o, [{
478
- key: "addEventListener",
479
- value: function(u, c, E) {
480
- u in this.listeners || (this.listeners[u] = []), this.listeners[u].push({
481
- callback: c,
482
- options: E
483
- });
484
- }
485
- }, {
486
- key: "removeEventListener",
487
- value: function(u, c) {
488
- if (u in this.listeners) {
489
- for (var E = this.listeners[u], h = 0, g = E.length; h < g; h++)
490
- if (E[h].callback === c) {
491
- E.splice(h, 1);
492
- return;
493
- }
494
- }
495
- }
496
- }, {
497
- key: "dispatchEvent",
498
- value: function(u) {
499
- var c = this;
500
- if (u.type in this.listeners) {
501
- for (var E = this.listeners[u.type], h = E.slice(), g = function() {
502
- var O = h[b];
503
- try {
504
- O.callback.call(c, u);
505
- } catch (z) {
506
- Promise.resolve().then(function() {
507
- throw z;
508
- });
509
- }
510
- O.options && O.options.once && c.removeEventListener(u.type, O.callback);
511
- }, b = 0, f = h.length; b < f; b++)
512
- g();
513
- return !u.defaultPrevented;
514
- }
515
- }
516
- }]);
517
- }(), H = /* @__PURE__ */ function(o) {
518
- function a() {
519
- var u;
520
- return n(this, a), u = r(this, a), u.listeners || K.call(u), Object.defineProperty(u, "aborted", {
521
- value: !1,
522
- writable: !0,
523
- configurable: !0
524
- }), Object.defineProperty(u, "onabort", {
525
- value: null,
526
- writable: !0,
527
- configurable: !0
528
- }), Object.defineProperty(u, "reason", {
529
- value: void 0,
530
- writable: !0,
531
- configurable: !0
532
- }), u;
533
- }
534
- return p(a, o), i(a, [{
535
- key: "toString",
536
- value: function() {
537
- return "[object AbortSignal]";
538
- }
539
- }, {
540
- key: "dispatchEvent",
541
- value: function(c) {
542
- c.type === "abort" && (this.aborted = !0, typeof this.onabort == "function" && this.onabort.call(this, c)), X(a, "dispatchEvent", this)([c]);
543
- }
544
- /**
545
- * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/throwIfAborted}
546
- */
547
- }, {
548
- key: "throwIfAborted",
549
- value: function() {
550
- var c = this.aborted, E = this.reason, h = E === void 0 ? "Aborted" : E;
551
- if (c)
552
- throw h;
553
- }
554
- /**
555
- * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/timeout_static}
556
- * @param {number} time The "active" time in milliseconds before the returned {@link AbortSignal} will abort.
557
- * The value must be within range of 0 and {@link Number.MAX_SAFE_INTEGER}.
558
- * @returns {AbortSignal} The signal will abort with its {@link AbortSignal.reason} property set to a `TimeoutError` {@link DOMException} on timeout,
559
- * or an `AbortError` {@link DOMException} if the operation was user-triggered.
560
- */
561
- }], [{
562
- key: "timeout",
563
- value: function(c) {
564
- var E = new C();
565
- return setTimeout(function() {
566
- return E.abort(new DOMException("This signal is timeout in ".concat(c, "ms"), "TimeoutError"));
567
- }, c), E.signal;
568
- }
569
- /**
570
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static}
571
- * @param {Iterable<AbortSignal>} iterable An {@link Iterable} (such as an {@link Array}) of abort signals.
572
- * @returns {AbortSignal} - **Already aborted**, if any of the abort signals given is already aborted.
573
- * The returned {@link AbortSignal}'s reason will be already set to the `reason` of the first abort signal that was already aborted.
574
- * - **Asynchronously aborted**, when any abort signal in `iterable` aborts.
575
- * The `reason` will be set to the reason of the first abort signal that is aborted.
576
- */
577
- }, {
578
- key: "any",
579
- value: function(c) {
580
- var E = new C();
581
- function h() {
582
- E.abort(this.reason), g();
583
- }
584
- function g() {
585
- var O = l(c), z;
586
- try {
587
- for (O.s(); !(z = O.n()).done; ) {
588
- var ge = z.value;
589
- ge.removeEventListener("abort", h);
590
- }
591
- } catch (we) {
592
- O.e(we);
593
- } finally {
594
- O.f();
595
- }
596
- }
597
- var b = l(c), f;
598
- try {
599
- for (b.s(); !(f = b.n()).done; ) {
600
- var Q = f.value;
601
- if (Q.aborted) {
602
- E.abort(Q.reason);
603
- break;
604
- } else Q.addEventListener("abort", h);
605
- }
606
- } catch (O) {
607
- b.e(O);
608
- } finally {
609
- b.f();
610
- }
611
- return E.signal;
612
- }
613
- }]);
614
- }(K), C = /* @__PURE__ */ function() {
615
- function o() {
616
- n(this, o), Object.defineProperty(this, "signal", {
617
- value: new H(),
618
- writable: !0,
619
- configurable: !0
620
- });
621
- }
622
- return i(o, [{
623
- key: "abort",
624
- value: function(u) {
625
- var c = ee(u), E = Z(c);
626
- this.signal.reason = c, this.signal.dispatchEvent(E);
627
- }
628
- }, {
629
- key: "toString",
630
- value: function() {
631
- return "[object AbortController]";
632
- }
633
- }]);
634
- }();
635
- typeof Symbol < "u" && Symbol.toStringTag && (C.prototype[Symbol.toStringTag] = "AbortController", H.prototype[Symbol.toStringTag] = "AbortSignal");
636
- function w(o) {
637
- return o.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL ? (console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"), !0) : typeof o.Request == "function" && !o.Request.prototype.hasOwnProperty("signal") || !o.AbortController;
638
- }
639
- (function(o) {
640
- w(o) && (o.AbortController = C, o.AbortSignal = H);
641
- })(typeof self < "u" ? self : xe);
642
- })), fe;
643
- }
644
- ke();
645
- var A = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
646
- typeof global < "u" && global || {}, R = {
647
- searchParams: "URLSearchParams" in A,
648
- iterable: "Symbol" in A && "iterator" in Symbol,
649
- blob: "FileReader" in A && "Blob" in A && function() {
650
- try {
651
- return new Blob(), !0;
652
- } catch {
653
- return !1;
654
- }
655
- }(),
656
- formData: "FormData" in A,
657
- arrayBuffer: "ArrayBuffer" in A
658
- };
659
- function Fe(e) {
660
- return e && DataView.prototype.isPrototypeOf(e);
661
- }
662
- if (R.arrayBuffer)
663
- var Me = [
664
- "[object Int8Array]",
665
- "[object Uint8Array]",
666
- "[object Uint8ClampedArray]",
667
- "[object Int16Array]",
668
- "[object Uint16Array]",
669
- "[object Int32Array]",
670
- "[object Uint32Array]",
671
- "[object Float32Array]",
672
- "[object Float64Array]"
673
- ], Ge = ArrayBuffer.isView || function(e) {
674
- return e && Me.indexOf(Object.prototype.toString.call(e)) > -1;
675
- };
676
- function q(e) {
677
- if (typeof e != "string" && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || e === "")
678
- throw new TypeError('Invalid character in header field name: "' + e + '"');
679
- return e.toLowerCase();
680
- }
681
- function oe(e) {
682
- return typeof e != "string" && (e = String(e)), e;
683
- }
684
- function ie(e) {
685
- var t = {
686
- next: function() {
687
- var r = e.shift();
688
- return { done: r === void 0, value: r };
689
- }
690
- };
691
- return R.iterable && (t[Symbol.iterator] = function() {
692
- return t;
693
- }), t;
694
- }
695
- function _(e) {
696
- this.map = {}, e instanceof _ ? e.forEach(function(t, r) {
697
- this.append(r, t);
698
- }, this) : Array.isArray(e) ? e.forEach(function(t) {
699
- if (t.length != 2)
700
- throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + t.length);
701
- this.append(t[0], t[1]);
702
- }, this) : e && Object.getOwnPropertyNames(e).forEach(function(t) {
703
- this.append(t, e[t]);
704
- }, this);
705
- }
706
- _.prototype.append = function(e, t) {
707
- e = q(e), t = oe(t);
708
- var r = this.map[e];
709
- this.map[e] = r ? r + ", " + t : t;
710
- };
711
- _.prototype.delete = function(e) {
712
- delete this.map[q(e)];
713
- };
714
- _.prototype.get = function(e) {
715
- return e = q(e), this.has(e) ? this.map[e] : null;
716
- };
717
- _.prototype.has = function(e) {
718
- return this.map.hasOwnProperty(q(e));
719
- };
720
- _.prototype.set = function(e, t) {
721
- this.map[q(e)] = oe(t);
722
- };
723
- _.prototype.forEach = function(e, t) {
724
- for (var r in this.map)
725
- this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this);
726
- };
727
- _.prototype.keys = function() {
728
- var e = [];
729
- return this.forEach(function(t, r) {
730
- e.push(r);
731
- }), ie(e);
732
- };
733
- _.prototype.values = function() {
734
- var e = [];
735
- return this.forEach(function(t) {
736
- e.push(t);
737
- }), ie(e);
738
- };
739
- _.prototype.entries = function() {
740
- var e = [];
741
- return this.forEach(function(t, r) {
742
- e.push([r, t]);
743
- }), ie(e);
744
- };
745
- R.iterable && (_.prototype[Symbol.iterator] = _.prototype.entries);
746
- function te(e) {
747
- if (!e._noBody) {
748
- if (e.bodyUsed)
749
- return Promise.reject(new TypeError("Already read"));
750
- e.bodyUsed = !0;
751
- }
752
- }
753
- function me(e) {
754
- return new Promise(function(t, r) {
755
- e.onload = function() {
756
- t(e.result);
757
- }, e.onerror = function() {
758
- r(e.error);
759
- };
760
- });
761
- }
762
- function Ye(e) {
763
- var t = new FileReader(), r = me(t);
764
- return t.readAsArrayBuffer(e), r;
765
- }
766
- function Ke(e) {
767
- var t = new FileReader(), r = me(t), n = /charset=([A-Za-z0-9_-]+)/.exec(e.type), s = n ? n[1] : "utf-8";
768
- return t.readAsText(e, s), r;
769
- }
770
- function Qe(e) {
771
- for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++)
772
- r[n] = String.fromCharCode(t[n]);
773
- return r.join("");
774
- }
775
- function ye(e) {
776
- if (e.slice)
777
- return e.slice(0);
778
- var t = new Uint8Array(e.byteLength);
779
- return t.set(new Uint8Array(e)), t.buffer;
780
- }
781
- function Te() {
782
- return this.bodyUsed = !1, this._initBody = function(e) {
783
- this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : R.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : R.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : R.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : R.arrayBuffer && R.blob && Fe(e) ? (this._bodyArrayBuffer = ye(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : R.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || Ge(e)) ? this._bodyArrayBuffer = ye(e) : this._bodyText = e = Object.prototype.toString.call(e) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof e == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : R.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
784
- }, R.blob && (this.blob = function() {
785
- var e = te(this);
786
- if (e)
787
- return e;
788
- if (this._bodyBlob)
789
- return Promise.resolve(this._bodyBlob);
790
- if (this._bodyArrayBuffer)
791
- return Promise.resolve(new Blob([this._bodyArrayBuffer]));
792
- if (this._bodyFormData)
793
- throw new Error("could not read FormData body as blob");
794
- return Promise.resolve(new Blob([this._bodyText]));
795
- }), this.arrayBuffer = function() {
796
- if (this._bodyArrayBuffer) {
797
- var e = te(this);
798
- return e || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
799
- this._bodyArrayBuffer.buffer.slice(
800
- this._bodyArrayBuffer.byteOffset,
801
- this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
802
- )
803
- ) : Promise.resolve(this._bodyArrayBuffer));
804
- } else {
805
- if (R.blob)
806
- return this.blob().then(Ye);
807
- throw new Error("could not read as ArrayBuffer");
808
- }
809
- }, this.text = function() {
810
- var e = te(this);
811
- if (e)
812
- return e;
813
- if (this._bodyBlob)
814
- return Ke(this._bodyBlob);
815
- if (this._bodyArrayBuffer)
816
- return Promise.resolve(Qe(this._bodyArrayBuffer));
817
- if (this._bodyFormData)
818
- throw new Error("could not read FormData body as text");
819
- return Promise.resolve(this._bodyText);
820
- }, R.formData && (this.formData = function() {
821
- return this.text().then(We);
822
- }), this.json = function() {
823
- return this.text().then(JSON.parse);
824
- }, this;
825
- }
826
- var ze = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
827
- function $e(e) {
828
- var t = e.toUpperCase();
829
- return ze.indexOf(t) > -1 ? t : e;
830
- }
831
- function L(e, t) {
832
- if (!(this instanceof L))
833
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
834
- t = t || {};
835
- var r = t.body;
836
- if (e instanceof L) {
837
- if (e.bodyUsed)
838
- throw new TypeError("Already read");
839
- this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new _(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, !r && e._bodyInit != null && (r = e._bodyInit, e.bodyUsed = !0);
840
- } else
841
- this.url = String(e);
842
- if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new _(t.headers)), this.method = $e(t.method || this.method || "GET"), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal || function() {
843
- if ("AbortController" in A) {
844
- var i = new AbortController();
845
- return i.signal;
846
- }
847
- }(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && r)
848
- throw new TypeError("Body not allowed for GET or HEAD requests");
849
- if (this._initBody(r), (this.method === "GET" || this.method === "HEAD") && (t.cache === "no-store" || t.cache === "no-cache")) {
850
- var n = /([?&])_=[^&]*/;
851
- if (n.test(this.url))
852
- this.url = this.url.replace(n, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
853
- else {
854
- var s = /\?/;
855
- this.url += (s.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
856
- }
857
- }
858
- }
859
- L.prototype.clone = function() {
860
- return new L(this, { body: this._bodyInit });
861
- };
862
- function We(e) {
863
- var t = new FormData();
864
- return e.trim().split("&").forEach(function(r) {
865
- if (r) {
866
- var n = r.split("="), s = n.shift().replace(/\+/g, " "), i = n.join("=").replace(/\+/g, " ");
867
- t.append(decodeURIComponent(s), decodeURIComponent(i));
868
- }
869
- }), t;
870
- }
871
- function Ve(e) {
872
- var t = new _(), r = e.replace(/\r?\n[\t ]+/g, " ");
873
- return r.split("\r").map(function(n) {
874
- return n.indexOf(`
875
- `) === 0 ? n.substr(1, n.length) : n;
876
- }).forEach(function(n) {
877
- var s = n.split(":"), i = s.shift().trim();
878
- if (i) {
879
- var l = s.join(":").trim();
880
- try {
881
- t.append(i, l);
882
- } catch (v) {
883
- console.warn("Response " + v.message);
884
- }
885
- }
886
- }), t;
887
- }
888
- Te.call(L.prototype);
889
- function B(e, t) {
890
- if (!(this instanceof B))
891
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
892
- if (t || (t = {}), this.type = "default", this.status = t.status === void 0 ? 200 : t.status, this.status < 200 || this.status > 599)
893
- throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
894
- this.ok = this.status >= 200 && this.status < 300, this.statusText = t.statusText === void 0 ? "" : "" + t.statusText, this.headers = new _(t.headers), this.url = t.url || "", this._initBody(e);
895
- }
896
- Te.call(B.prototype);
897
- B.prototype.clone = function() {
898
- return new B(this._bodyInit, {
899
- status: this.status,
900
- statusText: this.statusText,
901
- headers: new _(this.headers),
902
- url: this.url
903
- });
904
- };
905
- B.error = function() {
906
- var e = new B(null, { status: 200, statusText: "" });
907
- return e.ok = !1, e.status = 0, e.type = "error", e;
908
- };
909
- var Xe = [301, 302, 303, 307, 308];
910
- B.redirect = function(e, t) {
911
- if (Xe.indexOf(t) === -1)
912
- throw new RangeError("Invalid status code");
913
- return new B(null, { status: t, headers: { location: e } });
914
- };
915
- var I = A.DOMException;
916
- try {
917
- new I();
918
- } catch {
919
- I = function(t, r) {
920
- this.message = t, this.name = r;
921
- var n = Error(t);
922
- this.stack = n.stack;
923
- }, I.prototype = Object.create(Error.prototype), I.prototype.constructor = I;
924
- }
925
- function se(e, t) {
926
- return new Promise(function(r, n) {
927
- var s = new L(e, t);
928
- if (s.signal && s.signal.aborted)
929
- return n(new I("Aborted", "AbortError"));
930
- var i = new XMLHttpRequest();
931
- function l() {
932
- i.abort();
933
- }
934
- i.onload = function() {
935
- var p = {
936
- statusText: i.statusText,
937
- headers: Ve(i.getAllResponseHeaders() || "")
938
- };
939
- s.url.indexOf("file://") === 0 && (i.status < 200 || i.status > 599) ? p.status = 200 : p.status = i.status, p.url = "responseURL" in i ? i.responseURL : p.headers.get("X-Request-URL");
940
- var T = "response" in i ? i.response : i.responseText;
941
- setTimeout(function() {
942
- r(new B(T, p));
943
- }, 0);
944
- }, i.onerror = function() {
945
- setTimeout(function() {
946
- n(new TypeError("Network request failed"));
947
- }, 0);
948
- }, i.ontimeout = function() {
949
- setTimeout(function() {
950
- n(new TypeError("Network request timed out"));
951
- }, 0);
952
- }, i.onabort = function() {
953
- setTimeout(function() {
954
- n(new I("Aborted", "AbortError"));
955
- }, 0);
956
- };
957
- function v(p) {
958
- try {
959
- return p === "" && A.location.href ? A.location.href : p;
960
- } catch {
961
- return p;
962
- }
963
- }
964
- if (i.open(s.method, v(s.url), !0), s.credentials === "include" ? i.withCredentials = !0 : s.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (R.blob ? i.responseType = "blob" : R.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof _ || A.Headers && t.headers instanceof A.Headers)) {
965
- var m = [];
966
- Object.getOwnPropertyNames(t.headers).forEach(function(p) {
967
- m.push(q(p)), i.setRequestHeader(p, oe(t.headers[p]));
968
- }), s.headers.forEach(function(p, T) {
969
- m.indexOf(T) === -1 && i.setRequestHeader(T, p);
970
- });
971
- } else
972
- s.headers.forEach(function(p, T) {
973
- i.setRequestHeader(T, p);
974
- });
975
- s.signal && (s.signal.addEventListener("abort", l), i.onreadystatechange = function() {
976
- i.readyState === 4 && s.signal.removeEventListener("abort", l);
977
- }), i.send(typeof s._bodyInit > "u" ? null : s._bodyInit);
978
- });
979
- }
980
- se.polyfill = !0;
981
- A.fetch || (A.fetch = se, A.Headers = _, A.Request = L, A.Response = B);
982
- let x = {};
983
- const Je = typeof window < "u" ? "signal" in new Request("") ? window.fetch : se : fetch;
984
- class ct {
985
- constructor(t, r) {
986
- this.send = (n) => async (s, i) => {
987
- var a, u;
988
- const {
989
- api: l,
990
- preUpdate: v,
991
- postUpdate: m,
992
- preError: p,
993
- postError: T,
994
- data: j,
995
- files: S,
996
- requestCancel: M = !0,
997
- updateStore: X = !0,
998
- fileKey: G = this.options.fileKey,
999
- primaryKey: J = this.options.primaryKey,
1000
- bodyKey: Y = this.options.bodyKey,
1001
- method: Z = this.options.method,
1002
- normalize: ee = this.options.normalize,
1003
- mergeListStrategy: K = this.options.mergeListStrategy,
1004
- headers: H = this.options.headers,
1005
- responseKeyCode: C = this.options.responseKeyCode
1006
- } = $(this.requestObject, n), w = Math.random().toString(36).substr(2), o = /* @__PURE__ */ new Date();
1007
- try {
1008
- let c = JSON.stringify({ ...j, requestID: w });
1009
- const E = new AbortController(), { signal: h } = E;
1010
- if (s({
1011
- type: y.CDEEBEE_REQUESTMANAGER_SET,
1012
- payload: { requestID: w, api: l, controller: E, data: j, requestCancel: M, requestStartTime: o, requestEndTime: void 0 }
1013
- }), S) {
1014
- const b = new FormData();
1015
- for (let f = 0; f < S.length; f += 1)
1016
- G && b.append(G, S[f]);
1017
- Y && b.append(Y, c), c = b;
1018
- }
1019
- const g = await (await Je(l, {
1020
- method: Z,
1021
- signal: h,
1022
- headers: { "ui-request-id": w, ...H },
1023
- body: c
1024
- })).json();
1025
- if (g)
1026
- for (x = Object.assign(
1027
- {
1028
- [w]: {
1029
- requestID: w,
1030
- response: g,
1031
- requestApi: l,
1032
- requestStartTime: o,
1033
- preUpdate: v,
1034
- postUpdate: m,
1035
- normalize: ee,
1036
- preError: p,
1037
- postError: T,
1038
- mergeListStrategy: K,
1039
- updateStore: X,
1040
- data: j,
1041
- requestCancel: M,
1042
- controller: E
1043
- }
1044
- },
1045
- x
1046
- ); x[(u = (a = i().requestManager.activeRequest) == null ? void 0 : a[0]) == null ? void 0 : u.requestID]; ) {
1047
- const b = i().requestManager.activeRequest[0].requestID, f = x[b];
1048
- C && f.response[C] === 0 ? (f.preUpdate && f.preUpdate(f.response), f.updateStore && s({
1049
- type: y.CDEEBEEE_UPDATE,
1050
- payload: {
1051
- response: f.normalize instanceof Function && f.normalize({
1052
- response: f.response,
1053
- cdeebee: i().cdeebee,
1054
- mergeListStrategy: f.mergeListStrategy,
1055
- primaryKey: J
1056
- }),
1057
- cleanResponse: f.response,
1058
- api: f.requestApi,
1059
- mergeListStrategy: f.mergeListStrategy
1060
- }
1061
- }), f.postUpdate && f.postUpdate(f.response)) : (f.preError && f.preError(f.response), s({
1062
- type: y.CDEEBEE_ERRORHANDLER_SET,
1063
- payload: { api: f.requestApi, cleanResponse: f.response }
1064
- }), f.postError && f.postError(g)), s({
1065
- type: y.CDEEBEE_REQUESTMANAGER_SHIFT,
1066
- payload: {
1067
- requestID: f.requestID,
1068
- api: f.requestApi,
1069
- controller: f.controller,
1070
- data: f.data,
1071
- requestCancel: f.requestCancel,
1072
- requestStartTime: f.requestStartTime,
1073
- requestEndTime: /* @__PURE__ */ new Date()
1074
- }
1075
- }), delete x[b];
1076
- }
1077
- } catch (c) {
1078
- if (c.name === "AbortError")
1079
- s({ type: y.CDEEBEE_REQUEST_ABORTED, payload: { requestID: w, api: l } });
1080
- else {
1081
- const E = /* @__PURE__ */ new Date();
1082
- s({ type: y.CDEEBEE_INTERNAL_ERROR, payload: { requestStartTime: o, requestEndTime: E, requestID: w, api: l } }), console.warn("@@makeRequest-error", c), console.warn("@@makeRequest-object", $(this.requestObject, n)), console.warn("@@makeRequest-info", { requestStartTime: o, requestEndTime: E, requestID: w }), Object.prototype.hasOwnProperty.call(this.options, "globalErrorHandler") && this.options.globalErrorHandler instanceof Function && this.options.globalErrorHandler(
1083
- c,
1084
- $(this.requestObject, n),
1085
- { requestStartTime: o, requestEndTime: E, requestID: w }
1086
- )(s, i);
1087
- }
1088
- }
1089
- }, this.requestObject = t, this.options = {
1090
- fileKey: "files",
1091
- bodyKey: "body",
1092
- method: "POST",
1093
- normalize: Re,
1094
- responseKeyCode: "responseStatus",
1095
- headers: { "content-type": "application/json" },
1096
- ...r
1097
- };
1098
- }
1099
- }
1100
- function Ze(e, t, r) {
1101
- return (n) => {
1102
- n({
1103
- type: y.CDEEBEE_ENTITY_UNSAFE_UPDATE_STORE,
1104
- payload: { entityList: e, entityID: t, value: r }
1105
- });
1106
- };
1107
- }
1108
- function et(e, t, r) {
1109
- return (n) => {
1110
- n({
1111
- type: y.CDEEBEE_ENTITY_CHANGE_FIELD,
1112
- payload: { entityList: e, entityID: t, valueList: r }
1113
- });
1114
- };
1115
- }
1116
- function tt(e, t, r) {
1117
- return (n) => {
1118
- n({
1119
- type: y.CDEEBEE_SET_ENTITY,
1120
- payload: { entityList: e, entityID: t, entity: r }
1121
- });
1122
- };
1123
- }
1124
- function rt(e, t) {
1125
- return (r) => {
1126
- r({
1127
- type: y.CDEEBEE_RESET_ENTITY,
1128
- payload: { entityList: e, entityID: t }
1129
- });
1130
- };
1131
- }
1132
- function nt(e) {
1133
- return (t) => t({ type: y.CDEEBEEE_DROP_PATH, payload: { path: e } });
1134
- }
1135
- function ot(e) {
1136
- return (t) => t({ type: y.CDEEBEEE_DROP_REQUEST_BY_API_URL, payload: { api: e } });
1137
- }
1138
- function it(e) {
1139
- return (t) => t({ type: y.CDEEBEEE_DROP_ERROR_BY_API_URL, payload: { api: e } });
1140
- }
1141
- const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1142
- __proto__: null,
1143
- commitEntity: tt,
1144
- dropCdeebeePath: nt,
1145
- dropErrorsByApiUrl: it,
1146
- dropRequestByApiUrl: ot,
1147
- resetEntity: rt,
1148
- setKeyValue: et,
1149
- unsafe_updateStore: Ze
1150
- }, Symbol.toStringTag, { value: "Module" }));
1151
- export {
1152
- ct as CdeebeeRequest,
1153
- at as cdeebee,
1154
- lt as cdeebeeActions,
1155
- U as cdeebeeEntityState,
1156
- st as cdeebeeHelpers,
1157
- de as cdeebeeMergeStrategy,
1158
- y as cdeebeeTypes,
1159
- ut as requestManager
1160
- };