@dialecte/core 0.6.2 → 0.6.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/document/query/any/any-query.d.ts +1 -0
- package/dist/document/query/any/any-query.d.ts.map +1 -1
- package/dist/document/query/find/descendant/find-descendant.d.ts +12 -0
- package/dist/document/query/find/descendant/find-descendant.d.ts.map +1 -1
- package/dist/document/query/find/descendant/record-source.d.ts +42 -0
- package/dist/document/query/find/descendant/record-source.d.ts.map +1 -0
- package/dist/document/query/get/attribute/get-attribute.d.ts +7 -7
- package/dist/document/query/get/attribute/get-attribute.d.ts.map +1 -1
- package/dist/document/query/get/attribute/get-attributes.d.ts +5 -3
- package/dist/document/query/get/attribute/get-attributes.d.ts.map +1 -1
- package/dist/document/query/get/record/index.d.ts +1 -0
- package/dist/document/query/get/record/index.d.ts.map +1 -1
- package/dist/document/query/get/record/load-live-records.d.ts +9 -0
- package/dist/document/query/get/record/load-live-records.d.ts.map +1 -0
- package/dist/document/query/main.d.ts +11 -0
- package/dist/document/query/main.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/read-attributes.d.ts +56 -0
- package/dist/helpers/read-attributes.d.ts.map +1 -0
- package/dist/helpers/read-attributes.types.d.ts +10 -0
- package/dist/helpers/read-attributes.types.d.ts.map +1 -0
- package/dist/helpers.js +167 -43
- package/dist/index.js +3 -3
- package/dist/{project-DQ6Yf6lO.js → project-DGQAe9G9.js} +854 -793
- package/dist/store/in-memory/in-memory-store.d.ts +1 -0
- package/dist/store/in-memory/in-memory-store.d.ts.map +1 -1
- package/dist/store/local/dexie-store.d.ts +6 -0
- package/dist/store/local/dexie-store.d.ts.map +1 -1
- package/dist/store/store.types.d.ts +6 -0
- package/dist/store/store.types.d.ts.map +1 -1
- package/dist/test/run-test-cases.d.ts.map +1 -1
- package/dist/test/run-test-cases.type.d.ts +8 -0
- package/dist/test/run-test-cases.type.d.ts.map +1 -1
- package/dist/test.js +33 -31
- package/package.json +1 -1
package/dist/helpers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, L as i, M as a, N as o, O as s, S as c,
|
|
1
|
+
import { A as e, C as t, D as n, E as r, L as i, M as a, N as o, O as s, S as c, _ as l, a as u, c as d, h as f, i as p, j as m, k as h, l as g, m as _, o as v, s as y, v as b, w as x, x as S, y as C } from "./utils-CTBHUFs9.js";
|
|
2
2
|
//#region src/helpers/guard.ts
|
|
3
|
-
var
|
|
3
|
+
var w = [
|
|
4
4
|
"id",
|
|
5
5
|
"tagName",
|
|
6
6
|
"namespace",
|
|
@@ -8,34 +8,34 @@ var S = [
|
|
|
8
8
|
"children",
|
|
9
9
|
"parent",
|
|
10
10
|
"value"
|
|
11
|
-
],
|
|
12
|
-
function
|
|
11
|
+
], T = [...w, "status"], E = [...T, "tree"];
|
|
12
|
+
function D(e, t) {
|
|
13
13
|
if (typeof e != "object" || !e) return !1;
|
|
14
14
|
let n = Object.keys(e);
|
|
15
15
|
return t.every((t) => t in e) && n.every((e) => t.includes(e)) && n.length === t.length;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function O(e) {
|
|
18
18
|
return Array.isArray(e);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function k(e) {
|
|
21
|
+
return D(e, w);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
return
|
|
23
|
+
function A(e) {
|
|
24
|
+
return D(e, T);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
26
|
+
function j(e) {
|
|
27
|
+
return D(e, E);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function M(e, t) {
|
|
30
30
|
return e.tagName === t;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function N(e, t) {
|
|
33
33
|
return e.tagName === t;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ee(e, t) {
|
|
36
36
|
return e.tagName === t;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function te(e, t) {
|
|
39
39
|
return t.elements.includes(e);
|
|
40
40
|
}
|
|
41
41
|
function P(e, t) {
|
|
@@ -105,14 +105,14 @@ function B(e) {
|
|
|
105
105
|
}
|
|
106
106
|
function V(e) {
|
|
107
107
|
let { attribute: t, dialecteConfig: n, tagName: r } = e, a;
|
|
108
|
-
typeof t.namespace == "string" ? (a =
|
|
108
|
+
typeof t.namespace == "string" ? (a = y(n, t.namespace), a || i("UNKNOWN_NAMESPACE_PREFIX", {
|
|
109
109
|
detail: `Unknown namespace '${t.namespace}' on attribute '${t.name}' — use a registered namespace key or pass a full { name, namespace: { prefix, uri } }.`,
|
|
110
110
|
ref: { tagName: r }
|
|
111
111
|
})) : a = t.namespace;
|
|
112
112
|
let o = t.name.indexOf(":");
|
|
113
113
|
if (!a && o !== -1) {
|
|
114
114
|
let e = t.name.slice(0, o);
|
|
115
|
-
e !== "xmlns" && (a =
|
|
115
|
+
e !== "xmlns" && (a = v(n, e), a || i("UNKNOWN_NAMESPACE_PREFIX", {
|
|
116
116
|
detail: `Unknown namespace prefix '${e}' on attribute '${t.name}' — pass it explicitly as { name, namespace: { prefix, uri } }.`,
|
|
117
117
|
ref: { tagName: r }
|
|
118
118
|
}));
|
|
@@ -122,7 +122,7 @@ function V(e) {
|
|
|
122
122
|
uri: a.uri
|
|
123
123
|
}) ?? a), a && a.prefix && a.prefix !== "xmlns" ? {
|
|
124
124
|
...t,
|
|
125
|
-
name: `${a.prefix}:${
|
|
125
|
+
name: `${a.prefix}:${_(t.name)}`,
|
|
126
126
|
namespace: a
|
|
127
127
|
} : (t.namespace, {
|
|
128
128
|
...t,
|
|
@@ -134,7 +134,7 @@ function H(e) {
|
|
|
134
134
|
return Object.values(t.namespaces).find((e) => e.uri === n && e.prefix !== "");
|
|
135
135
|
}
|
|
136
136
|
function U(e) {
|
|
137
|
-
return
|
|
137
|
+
return g(e, { detail: "The record or ref is undefined" }), {
|
|
138
138
|
id: e.id,
|
|
139
139
|
tagName: e.tagName
|
|
140
140
|
};
|
|
@@ -142,17 +142,17 @@ function U(e) {
|
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region src/helpers/standardizing.ts
|
|
144
144
|
function W(e) {
|
|
145
|
-
let { dialecteConfig: t, hooks: n, record: r } = e, { id: i, tagName: a, attributes: o, namespace: s, value: c } = r,
|
|
145
|
+
let { dialecteConfig: t, hooks: n, record: r } = e, { id: i, tagName: a, attributes: o, namespace: s, value: c } = r, l = i ?? crypto.randomUUID(), d = G({
|
|
146
146
|
dialecteConfig: t,
|
|
147
147
|
attributes: o ? z({
|
|
148
148
|
tagName: a,
|
|
149
149
|
attributes: o,
|
|
150
150
|
dialecteConfig: t
|
|
151
151
|
}) : []
|
|
152
|
-
}),
|
|
153
|
-
id:
|
|
152
|
+
}), f = {
|
|
153
|
+
id: l,
|
|
154
154
|
tagName: a,
|
|
155
|
-
attributes:
|
|
155
|
+
attributes: d,
|
|
156
156
|
namespace: s ?? {
|
|
157
157
|
prefix: "prefixNeededForNotSupportedNamespace",
|
|
158
158
|
uri: "uriNeededForNotSupportedNamespace"
|
|
@@ -161,35 +161,35 @@ function W(e) {
|
|
|
161
161
|
parent: r.parent ?? null,
|
|
162
162
|
children: r.children ?? []
|
|
163
163
|
}, m = Object.values(t.namespaces).map(({ uri: e }) => e), h = s?.uri != null && !m.includes(s.uri);
|
|
164
|
-
if (!(t.elements.includes(a) && !h)) return
|
|
165
|
-
let g =
|
|
164
|
+
if (!(t.elements.includes(a) && !h)) return f;
|
|
165
|
+
let g = C({
|
|
166
166
|
dialecteConfig: t,
|
|
167
167
|
record: {
|
|
168
|
-
...
|
|
168
|
+
...f,
|
|
169
169
|
namespace: s
|
|
170
170
|
}
|
|
171
|
-
}), _ = g?.attributes.sequence ?? [], v =
|
|
171
|
+
}), _ = g?.attributes.sequence ?? [], v = p({
|
|
172
172
|
wildcard: g?.attributes.any,
|
|
173
173
|
namespaceUri: ""
|
|
174
|
-
}), y =
|
|
174
|
+
}), y = d.filter((e) => {
|
|
175
175
|
let t = _.includes(e.name), n = "namespace" in e && e.namespace != null;
|
|
176
176
|
if (!t && !n && !v) return !1;
|
|
177
177
|
let r = e.value === void 0 || e.value === null || e.value === "";
|
|
178
178
|
return !(t && r);
|
|
179
|
-
}), b = t.namespaces.default.uri,
|
|
179
|
+
}), b = t.namespaces.default.uri, x = y.map((e) => {
|
|
180
180
|
if ("namespace" in e && e.namespace?.uri === b) {
|
|
181
181
|
let { namespace: t, ...n } = e;
|
|
182
182
|
return n;
|
|
183
183
|
}
|
|
184
184
|
return e;
|
|
185
|
-
}),
|
|
186
|
-
...
|
|
185
|
+
}), S = t.definition[a], w = [g?.namespace ?? S.namespace, ...Object.values(S.declarations ?? {}).map((e) => e.namespace)], T = w.find((e) => e.uri === s?.uri), E = {
|
|
186
|
+
...f,
|
|
187
187
|
namespace: T ?? s ?? w[0],
|
|
188
|
-
attributes:
|
|
188
|
+
attributes: u(x, _)
|
|
189
189
|
};
|
|
190
190
|
return n?.afterStandardizedRecord && (E = n.afterStandardizedRecord({ record: E }), E = {
|
|
191
191
|
...E,
|
|
192
|
-
attributes:
|
|
192
|
+
attributes: u(G({
|
|
193
193
|
dialecteConfig: t,
|
|
194
194
|
attributes: E.attributes
|
|
195
195
|
}), _)
|
|
@@ -197,7 +197,7 @@ function W(e) {
|
|
|
197
197
|
}
|
|
198
198
|
function G(e) {
|
|
199
199
|
let { dialecteConfig: n, attributes: r } = e;
|
|
200
|
-
return
|
|
200
|
+
return x({
|
|
201
201
|
dialecteConfig: n,
|
|
202
202
|
attributes: r,
|
|
203
203
|
namespaceOf: t({
|
|
@@ -211,7 +211,7 @@ function G(e) {
|
|
|
211
211
|
function K(e) {
|
|
212
212
|
let { dialecteConfig: t, record: n, attributes: r } = e;
|
|
213
213
|
for (let e of r) {
|
|
214
|
-
let r =
|
|
214
|
+
let r = f({
|
|
215
215
|
dialecteConfig: t,
|
|
216
216
|
record: n,
|
|
217
217
|
attributeName: e.name
|
|
@@ -225,13 +225,13 @@ function K(e) {
|
|
|
225
225
|
//#endregion
|
|
226
226
|
//#region src/helpers/assert-xsi-type.ts
|
|
227
227
|
function q(e) {
|
|
228
|
-
let { dialecteConfig: t, record: n } = e, r = n.attributes.find(
|
|
228
|
+
let { dialecteConfig: t, record: n } = e, r = n.attributes.find(S);
|
|
229
229
|
if (r === void 0) {
|
|
230
|
-
|
|
230
|
+
C({
|
|
231
231
|
dialecteConfig: t,
|
|
232
232
|
record: n
|
|
233
233
|
})?.abstractType && i("XSI_TYPE_REQUIRED", {
|
|
234
|
-
detail: `'${n.tagName}' is declared with an abstract type: name one of its variants with xsi:type (${
|
|
234
|
+
detail: `'${n.tagName}' is declared with an abstract type: name one of its variants with xsi:type (${b({
|
|
235
235
|
dialecteConfig: t,
|
|
236
236
|
record: n
|
|
237
237
|
}).join(", ")}).`,
|
|
@@ -239,7 +239,7 @@ function q(e) {
|
|
|
239
239
|
});
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
242
|
-
if (
|
|
242
|
+
if (C({
|
|
243
243
|
dialecteConfig: t,
|
|
244
244
|
record: n
|
|
245
245
|
}) === void 0) return;
|
|
@@ -248,7 +248,7 @@ function q(e) {
|
|
|
248
248
|
record: n
|
|
249
249
|
});
|
|
250
250
|
if (a?.namespace === "http://www.w3.org/2001/XMLSchema") return;
|
|
251
|
-
let o =
|
|
251
|
+
let o = b({
|
|
252
252
|
dialecteConfig: t,
|
|
253
253
|
record: n
|
|
254
254
|
});
|
|
@@ -262,7 +262,7 @@ function q(e) {
|
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
264
|
function J(e) {
|
|
265
|
-
let { dialecteConfig: t, merged: n, record: r } = e, a = new Set(r.attributes.map((e) => e.name)), o = n.filter((e) => e.value !== "" && !a.has(e.name)).map((e) => e.name), s =
|
|
265
|
+
let { dialecteConfig: t, merged: n, record: r } = e, a = new Set(r.attributes.map((e) => e.name)), o = n.filter((e) => e.value !== "" && !a.has(e.name)).map((e) => e.name), s = C({
|
|
266
266
|
dialecteConfig: t,
|
|
267
267
|
record: r
|
|
268
268
|
}), c = new Set(s?.children.sequence ?? []), l = s?.children.any ? [] : [...new Set(r.children.map((e) => e.tagName))].filter((e) => !c.has(e));
|
|
@@ -280,7 +280,7 @@ function J(e) {
|
|
|
280
280
|
function Y(e, t, n, r) {
|
|
281
281
|
if (!e || !t) return;
|
|
282
282
|
let i = Object.keys(t).filter((t) => t in e);
|
|
283
|
-
|
|
283
|
+
g(i.length === 0, {
|
|
284
284
|
key: "EXTENSION_METHOD_COLLISION",
|
|
285
285
|
detail: `Module "${n}" has conflicting ${r} method(s): ${i.map((e) => `"${e}"`).join(", ")}`
|
|
286
286
|
});
|
|
@@ -312,4 +312,128 @@ function Z(e, t) {
|
|
|
312
312
|
} : r;
|
|
313
313
|
}
|
|
314
314
|
//#endregion
|
|
315
|
-
|
|
315
|
+
//#region src/helpers/read-attributes.ts
|
|
316
|
+
function ne(e) {
|
|
317
|
+
let { record: t, dialecteConfig: n, name: r, namespace: i, fullObject: a, defaults: o = "optional" } = e, s = re({
|
|
318
|
+
dialecteConfig: n,
|
|
319
|
+
name: r,
|
|
320
|
+
namespace: i
|
|
321
|
+
}), c = t.attributes.find((e) => e.name === s);
|
|
322
|
+
if (c) return a ? c : c.value;
|
|
323
|
+
let u = l({
|
|
324
|
+
dialecteConfig: n,
|
|
325
|
+
record: t,
|
|
326
|
+
attributeName: s,
|
|
327
|
+
defaults: o
|
|
328
|
+
});
|
|
329
|
+
if (!a) return u ?? "";
|
|
330
|
+
if (u === void 0) return;
|
|
331
|
+
let { namespace: d } = f({
|
|
332
|
+
dialecteConfig: n,
|
|
333
|
+
record: t,
|
|
334
|
+
attributeName: s
|
|
335
|
+
});
|
|
336
|
+
return {
|
|
337
|
+
name: s,
|
|
338
|
+
value: u,
|
|
339
|
+
namespace: d
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
function re(e) {
|
|
343
|
+
let { dialecteConfig: t, name: n, namespace: r } = e;
|
|
344
|
+
if (r === void 0) return n;
|
|
345
|
+
let i = d(t, r);
|
|
346
|
+
return i ? `${i}:${n}` : n;
|
|
347
|
+
}
|
|
348
|
+
function ie(e) {
|
|
349
|
+
return e.fullObject ? oe(e) : ae(e);
|
|
350
|
+
}
|
|
351
|
+
function ae(e) {
|
|
352
|
+
let { record: t, dialecteConfig: n, namespace: r, defaults: i = "optional" } = e, a = r === void 0 ? void 0 : d(n, r), o = {};
|
|
353
|
+
for (let e of t.attributes) {
|
|
354
|
+
let t = $({
|
|
355
|
+
name: e.name,
|
|
356
|
+
namespace: e.namespace,
|
|
357
|
+
targetPrefix: a
|
|
358
|
+
});
|
|
359
|
+
t !== void 0 && (o[t] = e.value ?? "");
|
|
360
|
+
}
|
|
361
|
+
if (i === "none") return o;
|
|
362
|
+
for (let e of Q({
|
|
363
|
+
dialecteConfig: n,
|
|
364
|
+
record: t
|
|
365
|
+
})) {
|
|
366
|
+
let r = $({
|
|
367
|
+
name: e,
|
|
368
|
+
targetPrefix: a
|
|
369
|
+
});
|
|
370
|
+
if (r === void 0 || r in o) continue;
|
|
371
|
+
let s = l({
|
|
372
|
+
dialecteConfig: n,
|
|
373
|
+
record: t,
|
|
374
|
+
attributeName: e,
|
|
375
|
+
defaults: i
|
|
376
|
+
});
|
|
377
|
+
s !== void 0 && (o[r] = s);
|
|
378
|
+
}
|
|
379
|
+
return o;
|
|
380
|
+
}
|
|
381
|
+
function oe(e) {
|
|
382
|
+
let { record: t, dialecteConfig: n, defaults: r = "optional" } = e, i = [...t.attributes];
|
|
383
|
+
if (r === "none") return i;
|
|
384
|
+
let a = new Set(i.map((e) => e.name));
|
|
385
|
+
for (let e of Q({
|
|
386
|
+
dialecteConfig: n,
|
|
387
|
+
record: t
|
|
388
|
+
})) {
|
|
389
|
+
if (a.has(e)) continue;
|
|
390
|
+
let o = l({
|
|
391
|
+
dialecteConfig: n,
|
|
392
|
+
record: t,
|
|
393
|
+
attributeName: e,
|
|
394
|
+
defaults: r
|
|
395
|
+
});
|
|
396
|
+
if (o === void 0) continue;
|
|
397
|
+
let { namespace: s } = f({
|
|
398
|
+
dialecteConfig: n,
|
|
399
|
+
record: t,
|
|
400
|
+
attributeName: e
|
|
401
|
+
});
|
|
402
|
+
i.push({
|
|
403
|
+
name: e,
|
|
404
|
+
value: o,
|
|
405
|
+
namespace: s
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
return i;
|
|
409
|
+
}
|
|
410
|
+
function Q(e) {
|
|
411
|
+
let { dialecteConfig: t, record: n } = e;
|
|
412
|
+
return C({
|
|
413
|
+
dialecteConfig: t,
|
|
414
|
+
record: n
|
|
415
|
+
})?.attributes.sequence ?? [];
|
|
416
|
+
}
|
|
417
|
+
function $(e) {
|
|
418
|
+
let { name: t, namespace: n, targetPrefix: r } = e, { prefix: i, local: a, isXmlns: o } = se(t);
|
|
419
|
+
if (!(o || n?.uri === "http://www.w3.org/2000/xmlns/")) return r === void 0 ? t : i === r ? a : void 0;
|
|
420
|
+
}
|
|
421
|
+
function se(e) {
|
|
422
|
+
if (e === "xmlns" || e.startsWith("xmlns:")) return {
|
|
423
|
+
prefix: "",
|
|
424
|
+
local: e,
|
|
425
|
+
isXmlns: !0
|
|
426
|
+
};
|
|
427
|
+
let t = e.indexOf(":");
|
|
428
|
+
return t === -1 ? {
|
|
429
|
+
prefix: "",
|
|
430
|
+
local: e,
|
|
431
|
+
isXmlns: !1
|
|
432
|
+
} : {
|
|
433
|
+
prefix: e.slice(0, t),
|
|
434
|
+
local: e.slice(t + 1),
|
|
435
|
+
isXmlns: !1
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
//#endregion
|
|
439
|
+
export { r as CUSTOM_RECORD_ID_ATTRIBUTE, n as CUSTOM_RECORD_ID_ATTRIBUTE_NAME, s as DIALECTE_DEV_NAMESPACE, h as DIALECTE_NAMESPACES, e as XMLNS_NAMESPACE_URI, m as XMLNS_XSI_NAMESPACE, a as XSD_NAMESPACE_URI, o as XSI_NAMESPACE, K as assertNoFixedViolation, q as assertXsiTypeAdmitted, J as assertXsiTypeChangeLeavesNothing, P as isAttributeOf, N as isChildOf, te as isElementOf, O as isFullAttributeArray, ee as isParentOf, k as isRawRecord, M as isRecordOf, A as isTrackedRecord, j as isTreeRecord, X as mergeExtensions, ne as readAttribute, ie as readAttributes, W as standardizeRecord, Z as stripAttributes, z as toFullAttributeArray, F as toRawRecord, U as toRef, L as toTrackedRecord, R as toTreeRecord, I as widen };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, W as S, X as C, Y as w, Z as T, _ as E,
|
|
2
|
-
import { F as
|
|
3
|
-
export {
|
|
1
|
+
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, W as S, X as C, Y as w, Z as T, _ as E, _t as D, a as O, at as k, b as A, c as j, ct as M, d as N, dt as P, et as F, f as I, ft as L, g as R, h as z, ht as B, i as V, it as H, j as U, k as W, l as G, lt as K, m as q, mt as J, n as Y, nt as X, o as Z, ot as Q, p as $, pt as ee, q as te, r as ne, rt as re, s as ie, st as ae, t as oe, tt as se, u as ce, ut as le, v as ue, w as de, x as fe, y as pe, z as me } from "./project-DGQAe9G9.js";
|
|
2
|
+
import { F as he, I as ge, L as _e, P as ve, R as ye, z as be } from "./utils-CTBHUFs9.js";
|
|
3
|
+
export { W as AnyQuery, i as AnyTransaction, N as BLOBS_SCHEMA, I as BLOB_DATA_SCHEMA, $ as CHANGELOG_SCHEMA, q as DOCUMENTS_SCHEMA, ce as DexieStore, de as Document, be as ERROR_CATALOG, G as InMemoryStore, z as META_SCHEMA, m as NOOP_PERF, g as ParseSession, oe as Project, h as Query, R as TABLE_BLOBS, E as TABLE_BLOB_PREFIX, ue as TABLE_CHANGELOG, pe as TABLE_DOCUMENTS, A as TABLE_META, fe as TABLE_RECORD_PREFIX, me as TEMP_IDB_ID_ATTRIBUTE_NAME, a as Transaction, d as applyOmit, s as applyOrder, C as applyUnwrap, D as bindExtensions, y as blobTableName, V as buildDocumentState, l as buildXmlDocument, x as collectSnapshotRecords, ve as createDialecteError, p as createPerf, B as createStagedOperations, he as defineErrors, f as downloadFile, Z as exportBlob, ie as exportDocument, k as findAncestors, re as findByAttributes, X as findDescendants, n as formatXml, F as getAttribute, se as getAttributeFullObject, _ as getAttributes, e as getAttributesFullObject, M as getChild, ae as getChildren, T as getDefinition, L as getRecord, le as getRecords, K as getRecordsByTagName, t as getSnapshot, S as getTree, ne as importDocument, ee as indexStagedDeletesByParent, Y as initEmptyDocument, o as inspectXml, ge as isKnownDialecteError, te as isOmitted, b as isTransactionContext, Q as loadLiveRecords, H as matchesAttributeFilter, J as overlayAllStaged, u as parseOmit, U as parseXmlFile, O as reconcileDocumentState, r as recordTableName, c as recordsToTree, P as resolveRecord, j as resolveStore, w as shouldStopTraversal, _e as throwDialecteError, ye as toDialecteError, v as xmlDocumentToString };
|