@effect-app/vue-components 4.0.0-beta.22 → 4.0.0-beta.221
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/README.md +13 -9
- package/dist/reset.css +39 -38
- package/dist/types/components/CommandButton.vue.d.ts +6 -4
- package/dist/types/components/OmegaForm/OmegaArray.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +2 -2
- package/dist/types/components/OmegaForm/OmegaErrorsInternal.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaFormInput.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaInput.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +2 -1
- package/dist/types/components/OmegaForm/OmegaWrapper.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/createUseFormWithCustomInput.d.ts +2 -2
- package/dist/types/components/OmegaForm/errors.d.ts +33 -0
- package/dist/types/components/OmegaForm/getOmegaStore.d.ts +1 -1
- package/dist/types/components/OmegaForm/hocs.d.ts +3 -0
- package/dist/types/components/OmegaForm/index.d.ts +13 -3
- package/dist/types/components/OmegaForm/inputs.d.ts +4 -0
- package/dist/types/components/OmegaForm/meta/checks.d.ts +4 -0
- package/dist/types/components/OmegaForm/meta/createMeta.d.ts +33 -0
- package/dist/types/components/OmegaForm/meta/defaults.d.ts +2 -0
- package/dist/types/components/OmegaForm/meta/redacted.d.ts +2 -0
- package/dist/types/components/OmegaForm/meta/types.d.ts +56 -0
- package/dist/types/components/OmegaForm/meta/walker.d.ts +18 -0
- package/dist/types/components/OmegaForm/persistency.d.ts +58 -0
- package/dist/types/components/OmegaForm/submit.d.ts +60 -0
- package/dist/types/components/OmegaForm/types.d.ts +283 -0
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +7 -213
- package/dist/types/components/OmegaForm/validation/localized.d.ts +10 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/utils/index.d.ts +8 -8
- package/dist/vue-components.es.js +29 -44
- package/dist/vue-components10.es.js +5 -0
- package/dist/vue-components100.es.js +269 -0
- package/dist/vue-components102.es.js +8 -0
- package/dist/vue-components103.es.js +73 -0
- package/dist/vue-components104.es.js +5 -0
- package/dist/vue-components105.es.js +52 -0
- package/dist/vue-components106.es.js +5 -0
- package/dist/vue-components107.es.js +24 -0
- package/dist/vue-components108.es.js +5 -0
- package/dist/vue-components109.es.js +59 -0
- package/dist/vue-components11.es.js +20 -0
- package/dist/vue-components110.es.js +5 -0
- package/dist/vue-components111.es.js +12 -0
- package/dist/vue-components112.es.js +22 -0
- package/dist/vue-components114.es.js +9 -0
- package/dist/vue-components115.es.js +4 -0
- package/dist/vue-components116.es.js +38 -0
- package/dist/vue-components117.es.js +27 -0
- package/dist/vue-components118.es.js +28 -0
- package/dist/vue-components119.es.js +7 -0
- package/dist/vue-components12.es.js +27 -0
- package/dist/vue-components120.es.js +18 -0
- package/dist/vue-components121.es.js +36 -0
- package/dist/vue-components122.es.js +18 -0
- package/dist/vue-components123.es.js +21 -0
- package/dist/vue-components124.es.js +30 -0
- package/dist/vue-components125.es.js +7 -0
- package/dist/vue-components126.es.js +9 -0
- package/dist/vue-components127.es.js +38 -0
- package/dist/vue-components128.es.js +25 -0
- package/dist/vue-components129.es.js +128 -0
- package/dist/vue-components13.es.js +70 -0
- package/dist/vue-components130.es.js +24 -0
- package/dist/vue-components131.es.js +21 -0
- package/dist/vue-components132.es.js +9 -0
- package/dist/vue-components133.es.js +19 -0
- package/dist/vue-components134.es.js +5 -0
- package/dist/vue-components135.es.js +29 -0
- package/dist/vue-components136.es.js +5 -0
- package/dist/vue-components137.es.js +43 -0
- package/dist/vue-components138.es.js +82 -0
- package/dist/vue-components139.es.js +33 -0
- package/dist/vue-components14.es.js +15 -0
- package/dist/vue-components140.es.js +19 -0
- package/dist/vue-components141.es.js +48 -0
- package/dist/vue-components15.es.js +29 -0
- package/dist/vue-components16.es.js +53 -0
- package/dist/vue-components17.es.js +87 -0
- package/dist/vue-components18.es.js +4 -0
- package/dist/vue-components19.es.js +4 -0
- package/dist/vue-components2.es.js +20 -0
- package/dist/vue-components20.es.js +19 -0
- package/dist/vue-components21.es.js +73 -0
- package/dist/vue-components22.es.js +14 -0
- package/dist/vue-components23.es.js +26 -0
- package/dist/vue-components24.es.js +252 -0
- package/dist/vue-components25.es.js +65 -0
- package/dist/vue-components26.es.js +68 -0
- package/dist/vue-components27.es.js +8 -0
- package/dist/vue-components28.es.js +12 -0
- package/dist/vue-components29.es.js +6 -0
- package/dist/vue-components3.es.js +86 -0
- package/dist/vue-components30.es.js +28 -0
- package/dist/vue-components31.es.js +75 -0
- package/dist/vue-components32.es.js +109 -0
- package/dist/vue-components33.es.js +57 -0
- package/dist/vue-components34.es.js +7 -0
- package/dist/vue-components35.es.js +4 -0
- package/dist/vue-components36.es.js +6 -0
- package/dist/vue-components37.es.js +688 -0
- package/dist/vue-components38.es.js +7 -0
- package/dist/vue-components39.es.js +5 -0
- package/dist/vue-components4.es.js +5 -0
- package/dist/vue-components40.es.js +6 -0
- package/dist/vue-components41.es.js +27 -0
- package/dist/vue-components42.es.js +5 -0
- package/dist/vue-components43.es.js +48 -0
- package/dist/vue-components44.es.js +70 -0
- package/dist/vue-components45.es.js +9 -0
- package/dist/vue-components46.es.js +10 -0
- package/dist/vue-components47.es.js +8 -0
- package/dist/vue-components48.es.js +173 -0
- package/dist/vue-components49.es.js +14 -0
- package/dist/vue-components5.es.js +24 -0
- package/dist/vue-components50.es.js +11 -0
- package/dist/vue-components51.es.js +4 -0
- package/dist/vue-components52.es.js +7 -0
- package/dist/vue-components53.es.js +29 -0
- package/dist/vue-components54.es.js +221 -0
- package/dist/vue-components55.es.js +85 -0
- package/dist/vue-components56.es.js +74 -0
- package/dist/vue-components57.es.js +819 -0
- package/dist/vue-components58.es.js +4 -0
- package/dist/vue-components59.es.js +109 -0
- package/dist/vue-components6.es.js +13 -0
- package/dist/vue-components60.es.js +54 -0
- package/dist/vue-components61.es.js +520 -0
- package/dist/vue-components62.es.js +440 -0
- package/dist/vue-components63.es.js +10 -0
- package/dist/vue-components64.es.js +13 -0
- package/dist/vue-components65.es.js +19 -0
- package/dist/vue-components66.es.js +29 -0
- package/dist/vue-components67.es.js +22 -0
- package/dist/vue-components68.es.js +30 -0
- package/dist/vue-components69.es.js +29 -0
- package/dist/vue-components7.es.js +13 -0
- package/dist/vue-components70.es.js +73 -0
- package/dist/vue-components71.es.js +6 -0
- package/dist/vue-components72.es.js +18 -0
- package/dist/vue-components73.es.js +5 -0
- package/dist/vue-components74.es.js +70 -0
- package/dist/vue-components75.es.js +140 -0
- package/dist/vue-components76.es.js +4 -0
- package/dist/vue-components77.es.js +21 -0
- package/dist/vue-components78.es.js +55 -0
- package/dist/vue-components79.es.js +9 -0
- package/dist/vue-components8.es.js +35 -0
- package/dist/vue-components80.es.js +16 -0
- package/dist/vue-components81.es.js +39 -0
- package/dist/vue-components82.es.js +49 -0
- package/dist/vue-components83.es.js +128 -0
- package/dist/vue-components84.es.js +65 -0
- package/dist/vue-components85.es.js +63 -0
- package/dist/vue-components86.es.js +25 -0
- package/dist/vue-components87.es.js +5 -0
- package/dist/vue-components88.es.js +80 -0
- package/dist/vue-components89.es.js +95 -0
- package/dist/vue-components9.es.js +47 -0
- package/dist/vue-components90.es.js +73 -0
- package/dist/vue-components91.es.js +12 -0
- package/dist/vue-components92.es.js +56 -0
- package/dist/vue-components93.es.js +5 -0
- package/dist/vue-components94.es.js +44 -0
- package/dist/vue-components95.es.js +5 -0
- package/dist/vue-components96.es.js +84 -0
- package/dist/vue-components98.es.js +8 -0
- package/dist/vue-components99.es.js +9 -0
- package/package.json +29 -29
- package/src/components/CommandButton.vue +55 -7
- package/src/components/OmegaForm/OmegaArray.vue +2 -4
- package/src/components/OmegaForm/OmegaAutoGen.vue +3 -2
- package/src/components/OmegaForm/OmegaErrorsInternal.vue +1 -1
- package/src/components/OmegaForm/OmegaFormInput.vue +1 -1
- package/src/components/OmegaForm/OmegaInput.vue +7 -36
- package/src/components/OmegaForm/OmegaInputVuetify.vue +5 -2
- package/src/components/OmegaForm/OmegaInternalInput.vue +12 -6
- package/src/components/OmegaForm/OmegaTaggedUnion.vue +2 -1
- package/src/components/OmegaForm/OmegaTaggedUnionInternal.vue +1 -1
- package/src/components/OmegaForm/OmegaWrapper.vue +1 -1
- package/src/components/OmegaForm/blockDialog.ts +18 -6
- package/src/components/OmegaForm/createUseFormWithCustomInput.ts +2 -1
- package/src/components/OmegaForm/errors.ts +136 -0
- package/src/components/OmegaForm/getOmegaStore.ts +1 -1
- package/src/components/OmegaForm/hocs.ts +19 -0
- package/src/components/OmegaForm/index.ts +16 -4
- package/src/components/OmegaForm/inputs.ts +22 -0
- package/src/components/OmegaForm/meta/checks.ts +82 -0
- package/src/components/OmegaForm/meta/createMeta.ts +140 -0
- package/src/components/OmegaForm/meta/defaults.ts +134 -0
- package/src/components/OmegaForm/meta/redacted.ts +66 -0
- package/src/components/OmegaForm/meta/types.ts +78 -0
- package/src/components/OmegaForm/meta/walker.ts +248 -0
- package/src/components/OmegaForm/persistency.ts +247 -0
- package/src/components/OmegaForm/submit.ts +131 -0
- package/src/components/OmegaForm/types.ts +753 -0
- package/src/components/OmegaForm/useOmegaForm.ts +59 -893
- package/src/components/OmegaForm/useRegisterField.ts +1 -1
- package/src/components/OmegaForm/validation/localized.ts +203 -0
- package/src/index.ts +0 -1
- package/src/reset.css +39 -38
- package/src/utils/index.ts +11 -8
- package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +0 -159
- package/dist/types/constants/index.d.ts +0 -1
- package/dist/vue-components.es10.js +0 -239
- package/dist/vue-components.es11.js +0 -32
- package/dist/vue-components.es12.js +0 -503
- package/dist/vue-components.es13.js +0 -49
- package/dist/vue-components.es14.js +0 -4
- package/dist/vue-components.es15.js +0 -4
- package/dist/vue-components.es16.js +0 -6
- package/dist/vue-components.es17.js +0 -13
- package/dist/vue-components.es18.js +0 -57
- package/dist/vue-components.es19.js +0 -56
- package/dist/vue-components.es2.js +0 -30
- package/dist/vue-components.es20.js +0 -8
- package/dist/vue-components.es21.js +0 -8
- package/dist/vue-components.es22.js +0 -5
- package/dist/vue-components.es23.js +0 -5
- package/dist/vue-components.es24.js +0 -4
- package/dist/vue-components.es25.js +0 -4
- package/dist/vue-components.es26.js +0 -4
- package/dist/vue-components.es27.js +0 -4
- package/dist/vue-components.es28.js +0 -19
- package/dist/vue-components.es29.js +0 -13
- package/dist/vue-components.es3.js +0 -17
- package/dist/vue-components.es30.js +0 -194
- package/dist/vue-components.es32.js +0 -31
- package/dist/vue-components.es33.js +0 -6
- package/dist/vue-components.es34.js +0 -4
- package/dist/vue-components.es35.js +0 -4
- package/dist/vue-components.es36.js +0 -113
- package/dist/vue-components.es38.js +0 -9
- package/dist/vue-components.es39.js +0 -34
- package/dist/vue-components.es4.js +0 -52
- package/dist/vue-components.es41.js +0 -6
- package/dist/vue-components.es42.js +0 -25
- package/dist/vue-components.es43.js +0 -7
- package/dist/vue-components.es44.js +0 -23
- package/dist/vue-components.es45.js +0 -32
- package/dist/vue-components.es46.js +0 -24
- package/dist/vue-components.es47.js +0 -14
- package/dist/vue-components.es48.js +0 -7
- package/dist/vue-components.es49.js +0 -21
- package/dist/vue-components.es5.js +0 -52
- package/dist/vue-components.es50.js +0 -11
- package/dist/vue-components.es51.js +0 -33
- package/dist/vue-components.es52.js +0 -50
- package/dist/vue-components.es53.js +0 -28
- package/dist/vue-components.es54.js +0 -13
- package/dist/vue-components.es55.js +0 -67
- package/dist/vue-components.es56.js +0 -58
- package/dist/vue-components.es57.js +0 -19
- package/dist/vue-components.es58.js +0 -35
- package/dist/vue-components.es59.js +0 -31
- package/dist/vue-components.es6.js +0 -69
- package/dist/vue-components.es60.js +0 -44
- package/dist/vue-components.es61.js +0 -4
- package/dist/vue-components.es62.js +0 -46
- package/dist/vue-components.es63.js +0 -4
- package/dist/vue-components.es7.js +0 -83
- package/dist/vue-components.es8.js +0 -63
- package/dist/vue-components.es9.js +0 -21
- package/src/components/OmegaForm/OmegaFormStuff.ts +0 -1276
- package/src/constants/index.ts +0 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { memoize as e } from "./vue-components13.es.js";
|
|
2
|
+
import { isFunction as t } from "./vue-components15.es.js";
|
|
3
|
+
import { isSome as n, some as r } from "./vue-components28.es.js";
|
|
4
|
+
import { isArrayNonEmpty as i } from "./vue-components30.es.js";
|
|
5
|
+
import { getSuccess as a, isSuccess as o } from "./vue-components40.es.js";
|
|
6
|
+
import { catchEager as s, fail as c, flatMapEager as l, mapErrorEager as u, runSync as d, runSyncExit as f, succeed as p } from "./vue-components46.es.js";
|
|
7
|
+
import { resolve as m } from "./vue-components49.es.js";
|
|
8
|
+
import { Composite as h, Encoding as g, InvalidValue as _ } from "./vue-components54.es.js";
|
|
9
|
+
import { ClassTypeId as v, Link as y, STRUCTURAL_ANNOTATION_KEY as b, collectIssues as x, defaultParseOptions as S, isArrays as C, isDeclaration as w, isObjects as T, replaceEncoding as E, toType as D } from "./vue-components57.es.js";
|
|
10
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/SchemaParser.js
|
|
11
|
+
var O = /* @__PURE__ */ e((e) => {
|
|
12
|
+
switch (e._tag) {
|
|
13
|
+
case "Declaration": {
|
|
14
|
+
let n = e.annotations?.[v];
|
|
15
|
+
if (t(n)) {
|
|
16
|
+
let t = n(e.typeParameters), r = O(t.to);
|
|
17
|
+
return E(e, r === t.to ? [t] : [new y(r, t.transformation)]);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
case "Objects":
|
|
22
|
+
case "Arrays": return e.recur((e) => {
|
|
23
|
+
let t = e.context?.defaultValue;
|
|
24
|
+
return t ? E(O(e), t) : O(e);
|
|
25
|
+
});
|
|
26
|
+
case "Suspend": return e.recur(O);
|
|
27
|
+
default: return e;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
function k(e) {
|
|
31
|
+
let t = I(O(D(e.ast)));
|
|
32
|
+
return (e, n) => t(e, n?.disableChecks ? n?.parseOptions ? {
|
|
33
|
+
...n.parseOptions,
|
|
34
|
+
disableChecks: !0
|
|
35
|
+
} : { disableChecks: !0 } : n?.parseOptions);
|
|
36
|
+
}
|
|
37
|
+
function A(e) {
|
|
38
|
+
let t = k(e);
|
|
39
|
+
return (e, n) => a(f(t(e, n)));
|
|
40
|
+
}
|
|
41
|
+
function j(e) {
|
|
42
|
+
let t = k(e);
|
|
43
|
+
return (e, n) => d(u(t(e, n), (e) => Error(e.toString(), { cause: e })));
|
|
44
|
+
}
|
|
45
|
+
function M(e) {
|
|
46
|
+
let t = L(I(D(e)));
|
|
47
|
+
return (e) => o(t(e, S));
|
|
48
|
+
}
|
|
49
|
+
function N(e) {
|
|
50
|
+
return I(e.ast);
|
|
51
|
+
}
|
|
52
|
+
function P(e) {
|
|
53
|
+
return R(N(e));
|
|
54
|
+
}
|
|
55
|
+
var F = P;
|
|
56
|
+
function I(e) {
|
|
57
|
+
let t = z(e);
|
|
58
|
+
return (e, n) => l(t(r(e), n ?? S), (e) => e._tag === "None" ? c(new _(e)) : p(e.value));
|
|
59
|
+
}
|
|
60
|
+
function L(e) {
|
|
61
|
+
return (t, n) => f(e(t, n));
|
|
62
|
+
}
|
|
63
|
+
function R(e) {
|
|
64
|
+
return (t, n) => d(u(e(t, n), (e) => Error(e.toString(), { cause: e })));
|
|
65
|
+
}
|
|
66
|
+
var z = /* @__PURE__ */ e((e) => {
|
|
67
|
+
let t, r = m(e)?.parseOptions;
|
|
68
|
+
if (!e.context && !e.encoding && !e.checks) return (n, i) => (t ??= e.getParser(z), r && (i = {
|
|
69
|
+
...i,
|
|
70
|
+
...r
|
|
71
|
+
}), t(n, i));
|
|
72
|
+
let a = C(e) || T(e) || w(e) && e.typeParameters.length > 0;
|
|
73
|
+
return (o, d) => {
|
|
74
|
+
r && (d = {
|
|
75
|
+
...d,
|
|
76
|
+
...r
|
|
77
|
+
});
|
|
78
|
+
let f = e.encoding, m;
|
|
79
|
+
if (f) {
|
|
80
|
+
let t = f, n = t.length;
|
|
81
|
+
for (let e = n - 1; e >= 0; e--) {
|
|
82
|
+
let n = t[e], r = n.to, i = z(r);
|
|
83
|
+
if (m = m ? l(m, (e) => i(e, d)) : i(o, d), n.transformation._tag === "Transformation") {
|
|
84
|
+
let e = n.transformation.decode;
|
|
85
|
+
m = l(m, (t) => e.run(t, d));
|
|
86
|
+
} else m = n.transformation.decode(m, d);
|
|
87
|
+
}
|
|
88
|
+
m = u(m, (t) => new g(e, o, t));
|
|
89
|
+
}
|
|
90
|
+
t ??= e.getParser(z);
|
|
91
|
+
let _ = m ? l(m, (e) => t(e, d)) : t(o, d);
|
|
92
|
+
if (e.checks && !d?.disableChecks) {
|
|
93
|
+
let t = e.checks;
|
|
94
|
+
d?.errors === "all" && a && n(o) && (_ = s(_, (n) => {
|
|
95
|
+
let r = [];
|
|
96
|
+
return x(t.filter((e) => e.annotations?.[b]), o.value, r, e, d), c(i(r) ? n._tag === "Composite" && n.ast === e ? new h(e, n.actual, [...n.issues, ...r]) : new h(e, o, [n, ...r]) : n);
|
|
97
|
+
})), _ = l(_, (r) => {
|
|
98
|
+
if (n(r)) {
|
|
99
|
+
let n = r.value, a = [];
|
|
100
|
+
if (x(t, n, a, e, d), i(a)) return c(new h(e, r, a));
|
|
101
|
+
}
|
|
102
|
+
return p(r);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
return _;
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
//#endregion
|
|
109
|
+
export { M as _is, F as decodeSync, N as decodeUnknownEffect, k as makeEffect, A as makeOption, j as makeUnsafe };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { inject as e, provide as t } from "vue";
|
|
2
|
+
//#region src/utils/index.ts
|
|
3
|
+
var n = Symbol(), r = () => {
|
|
4
|
+
let t = e(n);
|
|
5
|
+
if (!t) throw Error("useIntl must be used within a IntlProvider");
|
|
6
|
+
return t();
|
|
7
|
+
}, i = (e) => t(n, e);
|
|
8
|
+
function a(e) {
|
|
9
|
+
for (; e.encoding;) e = e.encoding[0].to;
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { a as getTransformationFrom, i as provideIntl, r as useIntl, n as useIntlKey };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { pipeArguments as e } from "./vue-components12.es.js";
|
|
2
|
+
import { flow as t } from "./vue-components13.es.js";
|
|
3
|
+
import { mapErrorEager as n } from "./vue-components46.es.js";
|
|
4
|
+
import { annotate as r, annotateKey as i, appendChecks as a, toEncoded as o } from "./vue-components57.es.js";
|
|
5
|
+
import { makeEffect as s, makeOption as c, makeUnsafe as l } from "./vue-components59.es.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/internal/schema/schema.js
|
|
7
|
+
var u = "~effect/Schema/Schema", d = {
|
|
8
|
+
[u]: u,
|
|
9
|
+
pipe() {
|
|
10
|
+
return e(this, arguments);
|
|
11
|
+
},
|
|
12
|
+
annotate(e) {
|
|
13
|
+
return this.rebuild(r(this.ast, e));
|
|
14
|
+
},
|
|
15
|
+
annotateKey(e) {
|
|
16
|
+
return this.rebuild(i(this.ast, e));
|
|
17
|
+
},
|
|
18
|
+
check(...e) {
|
|
19
|
+
return this.rebuild(a(this.ast, e));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function f(e, r) {
|
|
23
|
+
let i = Object.create(d);
|
|
24
|
+
return r && Object.assign(i, r), i.ast = e, i.rebuild = (e) => f(e, r), i.makeEffect = t(s(i), n((e) => new m(e))), i.make = l(i), i.makeOption = c(i), i;
|
|
25
|
+
}
|
|
26
|
+
var p = "~effect/Schema/SchemaError", m = class {
|
|
27
|
+
[p] = p;
|
|
28
|
+
_tag = "SchemaError";
|
|
29
|
+
name = "SchemaError";
|
|
30
|
+
issue;
|
|
31
|
+
constructor(e) {
|
|
32
|
+
this.issue = e;
|
|
33
|
+
}
|
|
34
|
+
get message() {
|
|
35
|
+
return this.issue.toString();
|
|
36
|
+
}
|
|
37
|
+
toString() {
|
|
38
|
+
return `SchemaError(${this.message})`;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function h(e) {
|
|
42
|
+
return (t) => {
|
|
43
|
+
let n = /* @__PURE__ */ new Map();
|
|
44
|
+
for (let e = 0; e < t.length; e++) n.set(o(t[e]), e);
|
|
45
|
+
let r = [...t].sort((t, r) => {
|
|
46
|
+
t = o(t), r = o(r);
|
|
47
|
+
let i = e(t), a = e(r);
|
|
48
|
+
return i === a ? n.get(t) - n.get(r) : i - a;
|
|
49
|
+
});
|
|
50
|
+
return r.some((e, n) => e !== t[n]) ? r : t;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
export { m as SchemaError, p as SchemaErrorTypeId, f as make, h as makeReorder };
|
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
var e = new class {
|
|
2
|
+
[Symbol.iterator]() {
|
|
3
|
+
return this;
|
|
4
|
+
}
|
|
5
|
+
next(e) {
|
|
6
|
+
return {
|
|
7
|
+
value: e,
|
|
8
|
+
done: !0
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}();
|
|
12
|
+
function t() {
|
|
13
|
+
return e;
|
|
14
|
+
}
|
|
15
|
+
function* n(e, t) {
|
|
16
|
+
for (let n of e) yield t(n);
|
|
17
|
+
}
|
|
18
|
+
function* r(e, t) {
|
|
19
|
+
for (let n of e) yield* t(n);
|
|
20
|
+
}
|
|
21
|
+
function* i(e, t) {
|
|
22
|
+
for (let n of e) t(n) && (yield n);
|
|
23
|
+
}
|
|
24
|
+
function* a(e, t) {
|
|
25
|
+
for (let n = 0; n < t; ++n) {
|
|
26
|
+
let t = e.next();
|
|
27
|
+
if (t.done) break;
|
|
28
|
+
yield t.value;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function* o(e, t) {
|
|
32
|
+
let n = e.next();
|
|
33
|
+
for (; !n.done && t(n.value);) yield n.value, n = e.next();
|
|
34
|
+
}
|
|
35
|
+
function* s(e, t) {
|
|
36
|
+
for (let t = e.next(); !t.done; t = e.next()) yield t.value;
|
|
37
|
+
for (let e of t) for (let t = e.next(); !t.done; t = e.next()) yield t.value;
|
|
38
|
+
}
|
|
39
|
+
var c = Symbol.iterator, l = class e {
|
|
40
|
+
static nil() {
|
|
41
|
+
return new e(t());
|
|
42
|
+
}
|
|
43
|
+
static of(...t) {
|
|
44
|
+
return new e(t[c]());
|
|
45
|
+
}
|
|
46
|
+
constructor(e) {
|
|
47
|
+
this.g = e;
|
|
48
|
+
}
|
|
49
|
+
next() {
|
|
50
|
+
return this.g.next();
|
|
51
|
+
}
|
|
52
|
+
[Symbol.iterator]() {
|
|
53
|
+
return this.g;
|
|
54
|
+
}
|
|
55
|
+
map(t) {
|
|
56
|
+
return new e(n(this.g, t));
|
|
57
|
+
}
|
|
58
|
+
flatMap(t) {
|
|
59
|
+
return new e(r(this.g, t));
|
|
60
|
+
}
|
|
61
|
+
dropWhile(e) {
|
|
62
|
+
let t = !1;
|
|
63
|
+
function* n(n) {
|
|
64
|
+
(t || !e(n)) && (t = !0, yield n);
|
|
65
|
+
}
|
|
66
|
+
return this.flatMap(n);
|
|
67
|
+
}
|
|
68
|
+
drop(e) {
|
|
69
|
+
if (e <= 0) return this;
|
|
70
|
+
let t = 0;
|
|
71
|
+
function n() {
|
|
72
|
+
return t++ < e;
|
|
73
|
+
}
|
|
74
|
+
return this.dropWhile(n);
|
|
75
|
+
}
|
|
76
|
+
takeWhile(t) {
|
|
77
|
+
return new e(o(this.g, t));
|
|
78
|
+
}
|
|
79
|
+
take(t) {
|
|
80
|
+
return new e(a(this.g, t));
|
|
81
|
+
}
|
|
82
|
+
filter(t) {
|
|
83
|
+
return new e(i(this.g, t));
|
|
84
|
+
}
|
|
85
|
+
every(e) {
|
|
86
|
+
for (let t of this.g) if (!e(t)) return !1;
|
|
87
|
+
return !0;
|
|
88
|
+
}
|
|
89
|
+
has(e) {
|
|
90
|
+
for (let t of this.g) if (e(t)) return [!0, t];
|
|
91
|
+
return [!1, null];
|
|
92
|
+
}
|
|
93
|
+
join(...t) {
|
|
94
|
+
return new e(s(this.g, t));
|
|
95
|
+
}
|
|
96
|
+
getNthOrLast(e) {
|
|
97
|
+
let t = e, n = null;
|
|
98
|
+
for (let e of this.g) {
|
|
99
|
+
if (t-- === 0) return e;
|
|
100
|
+
n = e;
|
|
101
|
+
}
|
|
102
|
+
return n;
|
|
103
|
+
}
|
|
104
|
+
}, u = Symbol.for("fast-check/cloneMethod");
|
|
105
|
+
function d(e) {
|
|
106
|
+
return e !== null && (typeof e == "object" || typeof e == "function") && u in e && typeof e[u] == "function";
|
|
107
|
+
}
|
|
108
|
+
var f = Object.defineProperty, p = class {
|
|
109
|
+
constructor(e, t, n = void 0) {
|
|
110
|
+
this.value_ = e, this.context = t, this.hasToBeCloned = n !== void 0 || d(e), this.readOnce = !1, this.hasToBeCloned ? f(this, "value", { get: n === void 0 ? this.getValue : n }) : this.value = e;
|
|
111
|
+
}
|
|
112
|
+
getValue() {
|
|
113
|
+
return this.hasToBeCloned ? this.readOnce ? this.value_[u]() : (this.readOnce = !0, this.value_) : this.value_;
|
|
114
|
+
}
|
|
115
|
+
}, m = class {
|
|
116
|
+
filter(e) {
|
|
117
|
+
return new _(this, e);
|
|
118
|
+
}
|
|
119
|
+
map(e, t) {
|
|
120
|
+
return new g(this, e, t);
|
|
121
|
+
}
|
|
122
|
+
chain(e) {
|
|
123
|
+
return new h(this, e);
|
|
124
|
+
}
|
|
125
|
+
}, h = class extends m {
|
|
126
|
+
constructor(e, t) {
|
|
127
|
+
super(), this.arb = e, this.chainer = t;
|
|
128
|
+
}
|
|
129
|
+
generate(e, t) {
|
|
130
|
+
let n = e.clone(), r = this.arb.generate(e, t);
|
|
131
|
+
return this.valueChainer(r, e, n, t);
|
|
132
|
+
}
|
|
133
|
+
canShrinkWithoutContext(e) {
|
|
134
|
+
return !1;
|
|
135
|
+
}
|
|
136
|
+
shrink(e, t) {
|
|
137
|
+
return this.isSafeContext(t) ? (t.stoppedForOriginal ? l.nil() : this.arb.shrink(t.originalValue, t.originalContext).map((e) => this.valueChainer(e, t.clonedMrng.clone(), t.clonedMrng, t.originalBias))).join(t.chainedArbitrary.shrink(e, t.chainedContext).map((e) => {
|
|
138
|
+
let n = {
|
|
139
|
+
...t,
|
|
140
|
+
chainedContext: e.context,
|
|
141
|
+
stoppedForOriginal: !0
|
|
142
|
+
};
|
|
143
|
+
return new p(e.value_, n);
|
|
144
|
+
})) : l.nil();
|
|
145
|
+
}
|
|
146
|
+
valueChainer(e, t, n, r) {
|
|
147
|
+
let i = this.chainer(e.value_), a = i.generate(t, r), o = {
|
|
148
|
+
originalBias: r,
|
|
149
|
+
originalValue: e.value_,
|
|
150
|
+
originalContext: e.context,
|
|
151
|
+
stoppedForOriginal: !1,
|
|
152
|
+
chainedArbitrary: i,
|
|
153
|
+
chainedContext: a.context,
|
|
154
|
+
clonedMrng: n
|
|
155
|
+
};
|
|
156
|
+
return new p(a.value_, o);
|
|
157
|
+
}
|
|
158
|
+
isSafeContext(e) {
|
|
159
|
+
return typeof e == "object" && !!e && "originalBias" in e && "originalValue" in e && "originalContext" in e && "stoppedForOriginal" in e && "chainedArbitrary" in e && "chainedContext" in e && "clonedMrng" in e;
|
|
160
|
+
}
|
|
161
|
+
}, g = class extends m {
|
|
162
|
+
constructor(e, t, n) {
|
|
163
|
+
super(), this.arb = e, this.mapper = t, this.unmapper = n, this.bindValueMapper = (e) => this.valueMapper(e);
|
|
164
|
+
}
|
|
165
|
+
generate(e, t) {
|
|
166
|
+
let n = this.arb.generate(e, t);
|
|
167
|
+
return this.valueMapper(n);
|
|
168
|
+
}
|
|
169
|
+
canShrinkWithoutContext(e) {
|
|
170
|
+
if (this.unmapper !== void 0) try {
|
|
171
|
+
let t = this.unmapper(e);
|
|
172
|
+
return this.arb.canShrinkWithoutContext(t);
|
|
173
|
+
} catch {
|
|
174
|
+
return !1;
|
|
175
|
+
}
|
|
176
|
+
return !1;
|
|
177
|
+
}
|
|
178
|
+
shrink(e, t) {
|
|
179
|
+
if (this.isSafeContext(t)) return this.arb.shrink(t.originalValue, t.originalContext).map(this.bindValueMapper);
|
|
180
|
+
if (this.unmapper !== void 0) {
|
|
181
|
+
let t = this.unmapper(e);
|
|
182
|
+
return this.arb.shrink(t, void 0).map(this.bindValueMapper);
|
|
183
|
+
}
|
|
184
|
+
return l.nil();
|
|
185
|
+
}
|
|
186
|
+
mapperWithCloneIfNeeded(e) {
|
|
187
|
+
let t = e.value, n = this.mapper(t);
|
|
188
|
+
return e.hasToBeCloned && (typeof n == "object" && n || typeof n == "function") && Object.isExtensible(n) && !d(n) && Object.defineProperty(n, u, { get: () => () => this.mapperWithCloneIfNeeded(e)[0] }), [n, t];
|
|
189
|
+
}
|
|
190
|
+
valueMapper(e) {
|
|
191
|
+
let [t, n] = this.mapperWithCloneIfNeeded(e);
|
|
192
|
+
return new p(t, {
|
|
193
|
+
originalValue: n,
|
|
194
|
+
originalContext: e.context
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
isSafeContext(e) {
|
|
198
|
+
return typeof e == "object" && !!e && "originalValue" in e && "originalContext" in e;
|
|
199
|
+
}
|
|
200
|
+
}, _ = class extends m {
|
|
201
|
+
constructor(e, t) {
|
|
202
|
+
super(), this.arb = e, this.refinement = t, this.bindRefinementOnValue = (e) => this.refinementOnValue(e);
|
|
203
|
+
}
|
|
204
|
+
generate(e, t) {
|
|
205
|
+
for (;;) {
|
|
206
|
+
let n = this.arb.generate(e, t);
|
|
207
|
+
if (this.refinementOnValue(n)) return n;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
canShrinkWithoutContext(e) {
|
|
211
|
+
return this.arb.canShrinkWithoutContext(e) && this.refinement(e);
|
|
212
|
+
}
|
|
213
|
+
shrink(e, t) {
|
|
214
|
+
return this.arb.shrink(e, t).filter(this.bindRefinementOnValue);
|
|
215
|
+
}
|
|
216
|
+
refinementOnValue(e) {
|
|
217
|
+
return this.refinement(e.value);
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
Function.prototype.apply;
|
|
221
|
+
var v = Array, y = BigInt;
|
|
222
|
+
BigInt64Array, BigUint64Array;
|
|
223
|
+
var b = Number;
|
|
224
|
+
Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.join, Array.prototype.map, Array.prototype.flat, Array.prototype.filter, Array.prototype.push, Array.prototype.pop, Array.prototype.splice, Array.prototype.slice, Array.prototype.sort, Array.prototype.every, Date.prototype.getTime, Date.prototype.toISOString, Set.prototype.add, Set.prototype.has, WeakMap.prototype.set, WeakMap.prototype.get, Map.prototype.set, Map.prototype.get, Map.prototype.has, String.prototype.split, String.prototype.startsWith, String.prototype.endsWith, String.prototype.substring, String.prototype.toLowerCase, String.prototype.toUpperCase, String.prototype.padStart, String.prototype.charCodeAt, String.prototype.normalize, String.prototype.replace, Number.prototype.toString, Error.prototype.toString, Array.isArray, Date.now, Array.from, typeof Buffer < "u" && Buffer.isBuffer, Number.isNaN, Date.now, Array.isArray, Number.isInteger, Number.isInteger, Array.isArray;
|
|
225
|
+
var x = Object.getPrototypeOf, S = class extends m {
|
|
226
|
+
constructor(e) {
|
|
227
|
+
super(), this.arb = e;
|
|
228
|
+
}
|
|
229
|
+
generate(e, t) {
|
|
230
|
+
return this.arb.generate(e, void 0);
|
|
231
|
+
}
|
|
232
|
+
canShrinkWithoutContext(e) {
|
|
233
|
+
return this.arb.canShrinkWithoutContext(e);
|
|
234
|
+
}
|
|
235
|
+
shrink(e, t) {
|
|
236
|
+
return this.arb.shrink(e, t);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
function C(e) {
|
|
240
|
+
return x(e) === S.prototype && e.generate === S.prototype.generate && e.canShrinkWithoutContext === S.prototype.canShrinkWithoutContext && e.shrink === S.prototype.shrink ? e : new S(e);
|
|
241
|
+
}
|
|
242
|
+
Number.isNaN, Number.isNaN, Array.isArray, Number.isNaN, Number.isInteger, Number.isInteger, String.fromCodePoint, String.fromCharCode, b.NEGATIVE_INFINITY, b.POSITIVE_INFINITY, b.EPSILON, -(y(2146435072) * y(4294967296)) - y(1), y(0xfffffffffffff), y("9007199254740992");
|
|
243
|
+
var w = new Float64Array(1);
|
|
244
|
+
new Uint32Array(w.buffer, w.byteOffset), Number.isInteger, Number.MAX_VALUE, Number.isInteger, Number.isNaN, Number.MAX_VALUE;
|
|
245
|
+
var T = new Float32Array(1);
|
|
246
|
+
new Uint32Array(T.buffer, T.byteOffset), Number.isInteger, Number.isNaN;
|
|
247
|
+
var E = Object.getPrototypeOf, D = class extends m {
|
|
248
|
+
constructor(e) {
|
|
249
|
+
super(), this.arb = e;
|
|
250
|
+
}
|
|
251
|
+
generate(e, t) {
|
|
252
|
+
return this.arb.generate(e, t);
|
|
253
|
+
}
|
|
254
|
+
canShrinkWithoutContext(e) {
|
|
255
|
+
return this.arb.canShrinkWithoutContext(e);
|
|
256
|
+
}
|
|
257
|
+
shrink(e, t) {
|
|
258
|
+
return l.nil();
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
function O(e) {
|
|
262
|
+
return E(e) === D.prototype && e.generate === D.prototype.generate && e.canShrinkWithoutContext === D.prototype.canShrinkWithoutContext && e.shrink === D.prototype.shrink ? e : new D(e);
|
|
263
|
+
}
|
|
264
|
+
Number.parseInt, v.isArray, String.fromCharCode, Array.isArray, k({
|
|
265
|
+
ASCII: "ASCII",
|
|
266
|
+
ASCII_Hex_Digit: "AHex",
|
|
267
|
+
Alphabetic: "Alpha",
|
|
268
|
+
Any: "Any",
|
|
269
|
+
Assigned: "Assigned",
|
|
270
|
+
Bidi_Control: "Bidi_C",
|
|
271
|
+
Bidi_Mirrored: "Bidi_M",
|
|
272
|
+
Case_Ignorable: "CI",
|
|
273
|
+
Cased: "Cased",
|
|
274
|
+
Changes_When_Casefolded: "CWCF",
|
|
275
|
+
Changes_When_Casemapped: "CWCM",
|
|
276
|
+
Changes_When_Lowercased: "CWL",
|
|
277
|
+
Changes_When_NFKC_Casefolded: "CWKCF",
|
|
278
|
+
Changes_When_Titlecased: "CWT",
|
|
279
|
+
Changes_When_Uppercased: "CWU",
|
|
280
|
+
Dash: "Dash",
|
|
281
|
+
Default_Ignorable_Code_Point: "DI",
|
|
282
|
+
Deprecated: "Dep",
|
|
283
|
+
Diacritic: "Dia",
|
|
284
|
+
Emoji: "Emoji",
|
|
285
|
+
Emoji_Component: "Emoji_Component",
|
|
286
|
+
Emoji_Modifier: "Emoji_Modifier",
|
|
287
|
+
Emoji_Modifier_Base: "Emoji_Modifier_Base",
|
|
288
|
+
Emoji_Presentation: "Emoji_Presentation",
|
|
289
|
+
Extended_Pictographic: "Extended_Pictographic",
|
|
290
|
+
Extender: "Ext",
|
|
291
|
+
Grapheme_Base: "Gr_Base",
|
|
292
|
+
Grapheme_Extend: "Gr_Ext",
|
|
293
|
+
Hex_Digit: "Hex",
|
|
294
|
+
IDS_Binary_Operator: "IDSB",
|
|
295
|
+
IDS_Trinary_Operator: "IDST",
|
|
296
|
+
ID_Continue: "IDC",
|
|
297
|
+
ID_Start: "IDS",
|
|
298
|
+
Ideographic: "Ideo",
|
|
299
|
+
Join_Control: "Join_C",
|
|
300
|
+
Logical_Order_Exception: "LOE",
|
|
301
|
+
Lowercase: "Lower",
|
|
302
|
+
Math: "Math",
|
|
303
|
+
Noncharacter_Code_Point: "NChar",
|
|
304
|
+
Pattern_Syntax: "Pat_Syn",
|
|
305
|
+
Pattern_White_Space: "Pat_WS",
|
|
306
|
+
Quotation_Mark: "QMark",
|
|
307
|
+
Radical: "Radical",
|
|
308
|
+
Regional_Indicator: "RI",
|
|
309
|
+
Sentence_Terminal: "STerm",
|
|
310
|
+
Soft_Dotted: "SD",
|
|
311
|
+
Terminal_Punctuation: "Term",
|
|
312
|
+
Unified_Ideograph: "UIdeo",
|
|
313
|
+
Uppercase: "Upper",
|
|
314
|
+
Variation_Selector: "VS",
|
|
315
|
+
White_Space: "space",
|
|
316
|
+
XID_Continue: "XIDC",
|
|
317
|
+
XID_Start: "XIDS"
|
|
318
|
+
}), k({
|
|
319
|
+
Cased_Letter: "LC",
|
|
320
|
+
Close_Punctuation: "Pe",
|
|
321
|
+
Connector_Punctuation: "Pc",
|
|
322
|
+
Control: ["Cc", "cntrl"],
|
|
323
|
+
Currency_Symbol: "Sc",
|
|
324
|
+
Dash_Punctuation: "Pd",
|
|
325
|
+
Decimal_Number: ["Nd", "digit"],
|
|
326
|
+
Enclosing_Mark: "Me",
|
|
327
|
+
Final_Punctuation: "Pf",
|
|
328
|
+
Format: "Cf",
|
|
329
|
+
Initial_Punctuation: "Pi",
|
|
330
|
+
Letter: "L",
|
|
331
|
+
Letter_Number: "Nl",
|
|
332
|
+
Line_Separator: "Zl",
|
|
333
|
+
Lowercase_Letter: "Ll",
|
|
334
|
+
Mark: ["M", "Combining_Mark"],
|
|
335
|
+
Math_Symbol: "Sm",
|
|
336
|
+
Modifier_Letter: "Lm",
|
|
337
|
+
Modifier_Symbol: "Sk",
|
|
338
|
+
Nonspacing_Mark: "Mn",
|
|
339
|
+
Number: "N",
|
|
340
|
+
Open_Punctuation: "Ps",
|
|
341
|
+
Other: "C",
|
|
342
|
+
Other_Letter: "Lo",
|
|
343
|
+
Other_Number: "No",
|
|
344
|
+
Other_Punctuation: "Po",
|
|
345
|
+
Other_Symbol: "So",
|
|
346
|
+
Paragraph_Separator: "Zp",
|
|
347
|
+
Private_Use: "Co",
|
|
348
|
+
Punctuation: ["P", "punct"],
|
|
349
|
+
Separator: "Z",
|
|
350
|
+
Space_Separator: "Zs",
|
|
351
|
+
Spacing_Mark: "Mc",
|
|
352
|
+
Surrogate: "Cs",
|
|
353
|
+
Symbol: "S",
|
|
354
|
+
Titlecase_Letter: "Lt",
|
|
355
|
+
Unassigned: "Cn",
|
|
356
|
+
Uppercase_Letter: "Lu"
|
|
357
|
+
}), k({
|
|
358
|
+
Adlam: "Adlm",
|
|
359
|
+
Ahom: "Ahom",
|
|
360
|
+
Anatolian_Hieroglyphs: "Hluw",
|
|
361
|
+
Arabic: "Arab",
|
|
362
|
+
Armenian: "Armn",
|
|
363
|
+
Avestan: "Avst",
|
|
364
|
+
Balinese: "Bali",
|
|
365
|
+
Bamum: "Bamu",
|
|
366
|
+
Bassa_Vah: "Bass",
|
|
367
|
+
Batak: "Batk",
|
|
368
|
+
Bengali: "Beng",
|
|
369
|
+
Bhaiksuki: "Bhks",
|
|
370
|
+
Bopomofo: "Bopo",
|
|
371
|
+
Brahmi: "Brah",
|
|
372
|
+
Braille: "Brai",
|
|
373
|
+
Buginese: "Bugi",
|
|
374
|
+
Buhid: "Buhd",
|
|
375
|
+
Canadian_Aboriginal: "Cans",
|
|
376
|
+
Carian: "Cari",
|
|
377
|
+
Caucasian_Albanian: "Aghb",
|
|
378
|
+
Chakma: "Cakm",
|
|
379
|
+
Cham: "Cham",
|
|
380
|
+
Cherokee: "Cher",
|
|
381
|
+
Common: "Zyyy",
|
|
382
|
+
Coptic: ["Copt", "Qaac"],
|
|
383
|
+
Cuneiform: "Xsux",
|
|
384
|
+
Cypriot: "Cprt",
|
|
385
|
+
Cyrillic: "Cyrl",
|
|
386
|
+
Deseret: "Dsrt",
|
|
387
|
+
Devanagari: "Deva",
|
|
388
|
+
Dogra: "Dogr",
|
|
389
|
+
Duployan: "Dupl",
|
|
390
|
+
Egyptian_Hieroglyphs: "Egyp",
|
|
391
|
+
Elbasan: "Elba",
|
|
392
|
+
Ethiopic: "Ethi",
|
|
393
|
+
Georgian: "Geor",
|
|
394
|
+
Glagolitic: "Glag",
|
|
395
|
+
Gothic: "Goth",
|
|
396
|
+
Grantha: "Gran",
|
|
397
|
+
Greek: "Grek",
|
|
398
|
+
Gujarati: "Gujr",
|
|
399
|
+
Gunjala_Gondi: "Gong",
|
|
400
|
+
Gurmukhi: "Guru",
|
|
401
|
+
Han: "Hani",
|
|
402
|
+
Hangul: "Hang",
|
|
403
|
+
Hanifi_Rohingya: "Rohg",
|
|
404
|
+
Hanunoo: "Hano",
|
|
405
|
+
Hatran: "Hatr",
|
|
406
|
+
Hebrew: "Hebr",
|
|
407
|
+
Hiragana: "Hira",
|
|
408
|
+
Imperial_Aramaic: "Armi",
|
|
409
|
+
Inherited: ["Zinh", "Qaai"],
|
|
410
|
+
Inscriptional_Pahlavi: "Phli",
|
|
411
|
+
Inscriptional_Parthian: "Prti",
|
|
412
|
+
Javanese: "Java",
|
|
413
|
+
Kaithi: "Kthi",
|
|
414
|
+
Kannada: "Knda",
|
|
415
|
+
Katakana: "Kana",
|
|
416
|
+
Kayah_Li: "Kali",
|
|
417
|
+
Kharoshthi: "Khar",
|
|
418
|
+
Khmer: "Khmr",
|
|
419
|
+
Khojki: "Khoj",
|
|
420
|
+
Khudawadi: "Sind",
|
|
421
|
+
Lao: "Laoo",
|
|
422
|
+
Latin: "Latn",
|
|
423
|
+
Lepcha: "Lepc",
|
|
424
|
+
Limbu: "Limb",
|
|
425
|
+
Linear_A: "Lina",
|
|
426
|
+
Linear_B: "Linb",
|
|
427
|
+
Lisu: "Lisu",
|
|
428
|
+
Lycian: "Lyci",
|
|
429
|
+
Lydian: "Lydi",
|
|
430
|
+
Mahajani: "Mahj",
|
|
431
|
+
Makasar: "Maka",
|
|
432
|
+
Malayalam: "Mlym",
|
|
433
|
+
Mandaic: "Mand",
|
|
434
|
+
Manichaean: "Mani",
|
|
435
|
+
Marchen: "Marc",
|
|
436
|
+
Medefaidrin: "Medf",
|
|
437
|
+
Masaram_Gondi: "Gonm",
|
|
438
|
+
Meetei_Mayek: "Mtei",
|
|
439
|
+
Mende_Kikakui: "Mend",
|
|
440
|
+
Meroitic_Cursive: "Merc",
|
|
441
|
+
Meroitic_Hieroglyphs: "Mero",
|
|
442
|
+
Miao: "Plrd",
|
|
443
|
+
Modi: "Modi",
|
|
444
|
+
Mongolian: "Mong",
|
|
445
|
+
Mro: "Mroo",
|
|
446
|
+
Multani: "Mult",
|
|
447
|
+
Myanmar: "Mymr",
|
|
448
|
+
Nabataean: "Nbat",
|
|
449
|
+
New_Tai_Lue: "Talu",
|
|
450
|
+
Newa: "Newa",
|
|
451
|
+
Nko: "Nkoo",
|
|
452
|
+
Nushu: "Nshu",
|
|
453
|
+
Ogham: "Ogam",
|
|
454
|
+
Ol_Chiki: "Olck",
|
|
455
|
+
Old_Hungarian: "Hung",
|
|
456
|
+
Old_Italic: "Ital",
|
|
457
|
+
Old_North_Arabian: "Narb",
|
|
458
|
+
Old_Permic: "Perm",
|
|
459
|
+
Old_Persian: "Xpeo",
|
|
460
|
+
Old_Sogdian: "Sogo",
|
|
461
|
+
Old_South_Arabian: "Sarb",
|
|
462
|
+
Old_Turkic: "Orkh",
|
|
463
|
+
Oriya: "Orya",
|
|
464
|
+
Osage: "Osge",
|
|
465
|
+
Osmanya: "Osma",
|
|
466
|
+
Pahawh_Hmong: "Hmng",
|
|
467
|
+
Palmyrene: "Palm",
|
|
468
|
+
Pau_Cin_Hau: "Pauc",
|
|
469
|
+
Phags_Pa: "Phag",
|
|
470
|
+
Phoenician: "Phnx",
|
|
471
|
+
Psalter_Pahlavi: "Phlp",
|
|
472
|
+
Rejang: "Rjng",
|
|
473
|
+
Runic: "Runr",
|
|
474
|
+
Samaritan: "Samr",
|
|
475
|
+
Saurashtra: "Saur",
|
|
476
|
+
Sharada: "Shrd",
|
|
477
|
+
Shavian: "Shaw",
|
|
478
|
+
Siddham: "Sidd",
|
|
479
|
+
SignWriting: "Sgnw",
|
|
480
|
+
Sinhala: "Sinh",
|
|
481
|
+
Sogdian: "Sogd",
|
|
482
|
+
Sora_Sompeng: "Sora",
|
|
483
|
+
Soyombo: "Soyo",
|
|
484
|
+
Sundanese: "Sund",
|
|
485
|
+
Syloti_Nagri: "Sylo",
|
|
486
|
+
Syriac: "Syrc",
|
|
487
|
+
Tagalog: "Tglg",
|
|
488
|
+
Tagbanwa: "Tagb",
|
|
489
|
+
Tai_Le: "Tale",
|
|
490
|
+
Tai_Tham: "Lana",
|
|
491
|
+
Tai_Viet: "Tavt",
|
|
492
|
+
Takri: "Takr",
|
|
493
|
+
Tamil: "Taml",
|
|
494
|
+
Tangut: "Tang",
|
|
495
|
+
Telugu: "Telu",
|
|
496
|
+
Thaana: "Thaa",
|
|
497
|
+
Thai: "Thai",
|
|
498
|
+
Tibetan: "Tibt",
|
|
499
|
+
Tifinagh: "Tfng",
|
|
500
|
+
Tirhuta: "Tirh",
|
|
501
|
+
Ugaritic: "Ugar",
|
|
502
|
+
Vai: "Vaii",
|
|
503
|
+
Warang_Citi: "Wara",
|
|
504
|
+
Yi: "Yiii",
|
|
505
|
+
Zanabazar_Square: "Zanb"
|
|
506
|
+
});
|
|
507
|
+
function k(e) {
|
|
508
|
+
let t = {};
|
|
509
|
+
for (let n of Object.keys(e)) {
|
|
510
|
+
let r = e[n];
|
|
511
|
+
if (Array.isArray(r)) for (let e = 0; e !== r.length; ++e) t[r[e]] = n;
|
|
512
|
+
else t[r] = n;
|
|
513
|
+
}
|
|
514
|
+
return t;
|
|
515
|
+
}
|
|
516
|
+
String.fromCodePoint, String.fromCodePoint, String.fromCodePoint;
|
|
517
|
+
var A = [..."\r\n"], j = [...""];
|
|
518
|
+
[...A, ...j];
|
|
519
|
+
//#endregion
|
|
520
|
+
export { C as noBias, O as noShrink };
|