xml-model 0.2.2 → 0.2.3
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/build/main/defaults/models.js +4 -4
- package/build/main/errors.js +1 -0
- package/build/main/middleware.js +11 -11
- package/build/main/model/index.d.ts +0 -1
- package/build/main/model/index.js +37 -38
- package/build/main/model/property.js +14 -14
- package/build/main/model/types.js +72 -72
- package/build/main/types.js +9 -9
- package/build/main/xml/index.js +9 -9
- package/build/module/defaults/models.js +4 -4
- package/build/module/errors.js +1 -0
- package/build/module/middleware.js +11 -11
- package/build/module/model/index.d.ts +0 -1
- package/build/module/model/index.js +37 -38
- package/build/module/model/property.js +14 -14
- package/build/module/model/types.js +72 -72
- package/build/module/types.js +9 -9
- package/build/module/xml/index.js +9 -9
- package/package.json +1 -1
|
@@ -16,46 +16,46 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
|
|
|
16
16
|
__RΦ.t[id] = t = l;
|
|
17
17
|
}
|
|
18
18
|
return t;
|
|
19
|
-
}, t: { [
|
|
19
|
+
}, t: { [1370]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(214), p: [__RΦ.a(1341)] }) }, [214]: { TΦ: "5", name: "XMLModelPropertyOptions" }, [1341]: { LΦ: t => Object }, [1374]: { LΦ: t => Object }, [493]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(214), p: [__RΦ.a(375)] }) }, [375]: { LΦ: t => Object }, [107]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(105) }) }, [105]: { LΦ: t => require("../types").IΦXMLElement }, [496]: { LΦ: t => Object }, [497]: { LΦ: t => require("typescript-rtti").ReflectedProperty }, [13]: { LΦ: t => String }, [20]: { LΦ: t => Boolean }, [505]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(1)] }) }, [502]: { LΦ: t => require("../model").XMLModel }, [1]: { RΦ: t => ({ TΦ: "~" }) }, [357]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(20), p: [{ n: "element", t: () => __RΦ.a(105), v: null }, { n: "context", t: () => __RΦ.a(399), v: null }], f: "" }) }, [399]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(400), p: [__RΦ.a(377), __RΦ.a(378)] }) }, [400]: { LΦ: t => Object }, [377]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(374), p: [__RΦ.a(215)] }) }, [374]: { TΦ: "5", name: "PropertyFromXMLContext" }, [215]: { LΦ: t => Object }, [378]: { LΦ: t => "elements" }, [1221]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(107), p: [{ n: "context", t: () => __RΦ.a(399), v: null }], f: "" }) }, [1223]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(1336), p: [{ n: "context", t: () => __RΦ.a(377), v: null }], f: "" }) }, [1336]: { LΦ: t => Object }, [1225]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(111), p: [{ n: "context", t: () => __RΦ.a(1343), v: null }], f: "" }) }, [111]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(107) }] }) }, [1343]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1340), p: [__RΦ.a(215)] }) }, [1340]: { TΦ: "5", name: "PropertyToXMLContext" }, [1384]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(13), __RΦ.a(74), __RΦ.a(1383)] }) }, [74]: { LΦ: t => RegExp }, [1383]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [1277]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1346]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1299]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [506]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(505)] }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [610]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(12), __RΦ.a(602)] }) }, [12]: { RΦ: t => ({ TΦ: "n" }) }, [602]: { TΦ: "5", name: "ConversionOptions" }, [613]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(612) }) }, [612]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [656]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(657), p: [__RΦ.a(381)] }) }, [657]: { LΦ: t => Object }, [381]: { LΦ: t => Object }, [519]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(381)] }) }, [861]: { LΦ: t => Object }, [888]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(889), p: [__RΦ.a(861)] }) }, [889]: { LΦ: t => Object }, [926]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(861)] }) }, [528]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(523)] }) }, [523]: { LΦ: t => Object }, [660]: { RΦ: t => ({ TΦ: "O", m: [{ n: "fromXML", f: "", t: __RΦ.a(667) }, { n: "toXML", f: "", t: __RΦ.a(898) }, { n: "options", f: "", t: __RΦ.a(1074) }] }) }, [667]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(602), p: [__RΦ.a(663), __RΦ.a(665)] }) }, [663]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(664), p: [__RΦ.a(606), __RΦ.a(384)] }) }, [664]: { LΦ: t => Object }, [606]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(380), p: [__RΦ.a(523)] }) }, [380]: { TΦ: "5", name: "fromXMLContext" }, [384]: { LΦ: t => "properties" }, [665]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(666), p: [__RΦ.a(523)] }) }, [666]: { LΦ: t => Object }, [898]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(602), p: [__RΦ.a(894), __RΦ.a(896)] }) }, [894]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(895), p: [__RΦ.a(863), __RΦ.a(384)] }) }, [895]: { LΦ: t => Object }, [863]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(860), p: [__RΦ.a(523)] }) }, [860]: { TΦ: "5", name: "toXMLContext" }, [896]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(897), p: [__RΦ.a(523)] }) }, [897]: { LΦ: t => Object }, [1074]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1064), p: [__RΦ.a(1072), __RΦ.a(1073)] }) }, [1064]: { LΦ: t => Map }, [1072]: { LΦ: t => Object }, [1073]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(214), p: [__RΦ.a(523)] }) }, [607]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(602), p: [__RΦ.a(606), __RΦ.a(523)] }) }, [864]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(602), p: [__RΦ.a(863), __RΦ.a(111)] }) }, [1815]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(1814)] }) }, [1814]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(1621)] }) }, [1621]: { LΦ: t => Object }, [1642]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1632]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) } } };
|
|
20
20
|
var IΦPropertyToXMLContext = { name: "PropertyToXMLContext", prototype: {}, identity: Symbol("PropertyToXMLContext (interface)") };
|
|
21
21
|
exports.IΦPropertyToXMLContext = IΦPropertyToXMLContext;
|
|
22
|
-
(t => __RΦ.t[
|
|
22
|
+
(t => __RΦ.t[1340] = t)(IΦPropertyToXMLContext);
|
|
23
23
|
__RΦ.m("rt:P", ["property", "value"])(IΦPropertyToXMLContext);
|
|
24
24
|
__RΦ.m("rt:m", [])(IΦPropertyToXMLContext);
|
|
25
25
|
__RΦ.m("rt:i", [() => IΦOmit])(IΦPropertyToXMLContext);
|
|
26
26
|
__RΦ.m("rt:f", "Ie")(IΦPropertyToXMLContext);
|
|
27
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
27
|
+
__RΦ.m("rt:t", () => __RΦ.a(1370))(IΦPropertyToXMLContext.prototype, "property");
|
|
28
28
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
|
|
29
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
29
|
+
__RΦ.m("rt:t", () => __RΦ.a(1374))(IΦPropertyToXMLContext.prototype, "value");
|
|
30
30
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
|
|
31
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
31
|
+
__RΦ.m("rt:t", () => __RΦ.a(1370))(IΦPropertyToXMLContext.prototype, "property");
|
|
32
32
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
|
|
33
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
33
|
+
__RΦ.m("rt:t", () => __RΦ.a(1374))(IΦPropertyToXMLContext.prototype, "value");
|
|
34
34
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
|
|
35
35
|
var IΦPropertyFromXMLContext = { name: "PropertyFromXMLContext", prototype: {}, identity: Symbol("PropertyFromXMLContext (interface)") };
|
|
36
36
|
exports.IΦPropertyFromXMLContext = IΦPropertyFromXMLContext;
|
|
37
|
-
(t => __RΦ.t[
|
|
37
|
+
(t => __RΦ.t[374] = t)(IΦPropertyFromXMLContext);
|
|
38
38
|
__RΦ.m("rt:P", ["property", "elements"])(IΦPropertyFromXMLContext);
|
|
39
39
|
__RΦ.m("rt:m", [])(IΦPropertyFromXMLContext);
|
|
40
40
|
__RΦ.m("rt:i", [() => IΦOmit])(IΦPropertyFromXMLContext);
|
|
41
41
|
__RΦ.m("rt:f", "Ie")(IΦPropertyFromXMLContext);
|
|
42
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
42
|
+
__RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
|
|
43
43
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
|
|
44
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
44
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
|
|
45
45
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
|
|
46
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
46
|
+
__RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
|
|
47
47
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
|
|
48
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
48
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
|
|
49
49
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
|
|
50
50
|
var IΦXMLModelPropertyOptions = { name: "XMLModelPropertyOptions", prototype: {}, identity: Symbol("XMLModelPropertyOptions (interface)") };
|
|
51
51
|
exports.IΦXMLModelPropertyOptions = IΦXMLModelPropertyOptions;
|
|
52
|
-
(t => __RΦ.t[
|
|
52
|
+
(t => __RΦ.t[214] = t)(IΦXMLModelPropertyOptions);
|
|
53
53
|
__RΦ.m("rt:P", ["name", "reflected", "tagname", "ignored", "inline", "model", "isSourceElement", "resolveElements", "fromXML", "toXML"])(IΦXMLModelPropertyOptions);
|
|
54
54
|
__RΦ.m("rt:m", [])(IΦXMLModelPropertyOptions);
|
|
55
55
|
__RΦ.m("rt:f", "Ie")(IΦXMLModelPropertyOptions);
|
|
56
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
56
|
+
__RΦ.m("rt:t", () => __RΦ.a(496))(IΦXMLModelPropertyOptions.prototype, "name");
|
|
57
57
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "name");
|
|
58
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
58
|
+
__RΦ.m("rt:t", () => __RΦ.a(497))(IΦXMLModelPropertyOptions.prototype, "reflected");
|
|
59
59
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "reflected");
|
|
60
60
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelPropertyOptions.prototype, "tagname");
|
|
61
61
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "tagname");
|
|
@@ -63,19 +63,19 @@ __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "ignore
|
|
|
63
63
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "ignored");
|
|
64
64
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "inline");
|
|
65
65
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "inline");
|
|
66
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
66
|
+
__RΦ.m("rt:t", () => __RΦ.a(505))(IΦXMLModelPropertyOptions.prototype, "model");
|
|
67
67
|
__RΦ.m("rt:f", "P?")(IΦXMLModelPropertyOptions.prototype, "model");
|
|
68
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
68
|
+
__RΦ.m("rt:t", () => __RΦ.a(357))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
|
|
69
69
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
|
|
70
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
70
|
+
__RΦ.m("rt:t", () => __RΦ.a(1221))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
|
|
71
71
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "resolveElements");
|
|
72
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
72
|
+
__RΦ.m("rt:t", () => __RΦ.a(1223))(IΦXMLModelPropertyOptions.prototype, "fromXML");
|
|
73
73
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "fromXML");
|
|
74
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
74
|
+
__RΦ.m("rt:t", () => __RΦ.a(1225))(IΦXMLModelPropertyOptions.prototype, "toXML");
|
|
75
75
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "toXML");
|
|
76
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
76
|
+
__RΦ.m("rt:t", () => __RΦ.a(496))(IΦXMLModelPropertyOptions.prototype, "name");
|
|
77
77
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "name");
|
|
78
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
78
|
+
__RΦ.m("rt:t", () => __RΦ.a(497))(IΦXMLModelPropertyOptions.prototype, "reflected");
|
|
79
79
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "reflected");
|
|
80
80
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelPropertyOptions.prototype, "tagname");
|
|
81
81
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "tagname");
|
|
@@ -83,148 +83,148 @@ __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "ignore
|
|
|
83
83
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "ignored");
|
|
84
84
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "inline");
|
|
85
85
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "inline");
|
|
86
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
86
|
+
__RΦ.m("rt:t", () => __RΦ.a(505))(IΦXMLModelPropertyOptions.prototype, "model");
|
|
87
87
|
__RΦ.m("rt:f", "P?")(IΦXMLModelPropertyOptions.prototype, "model");
|
|
88
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
88
|
+
__RΦ.m("rt:t", () => __RΦ.a(357))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
|
|
89
89
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
|
|
90
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
90
|
+
__RΦ.m("rt:t", () => __RΦ.a(1221))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
|
|
91
91
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "resolveElements");
|
|
92
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
92
|
+
__RΦ.m("rt:t", () => __RΦ.a(1223))(IΦXMLModelPropertyOptions.prototype, "fromXML");
|
|
93
93
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "fromXML");
|
|
94
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
94
|
+
__RΦ.m("rt:t", () => __RΦ.a(1225))(IΦXMLModelPropertyOptions.prototype, "toXML");
|
|
95
95
|
__RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "toXML");
|
|
96
96
|
var IΦCreateXMLModelPropertyOptions = { name: "CreateXMLModelPropertyOptions", prototype: {}, identity: Symbol("CreateXMLModelPropertyOptions (interface)") };
|
|
97
97
|
exports.IΦCreateXMLModelPropertyOptions = IΦCreateXMLModelPropertyOptions;
|
|
98
|
-
(t => __RΦ.t[
|
|
98
|
+
(t => __RΦ.t[198] = t)(IΦCreateXMLModelPropertyOptions);
|
|
99
99
|
__RΦ.m("rt:P", ["tagname", "sourceElements", "resolveElements", "toXML", "fromXML", "inline", "ignore", "model"])(IΦCreateXMLModelPropertyOptions);
|
|
100
100
|
__RΦ.m("rt:m", [])(IΦCreateXMLModelPropertyOptions);
|
|
101
101
|
__RΦ.m("rt:f", "Ie")(IΦCreateXMLModelPropertyOptions);
|
|
102
102
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
|
|
103
103
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
|
|
104
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
104
|
+
__RΦ.m("rt:t", () => __RΦ.a(1384))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
|
|
105
105
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
|
|
106
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
106
|
+
__RΦ.m("rt:t", () => __RΦ.a(1277))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
|
|
107
107
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
|
|
108
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
108
|
+
__RΦ.m("rt:t", () => __RΦ.a(1346))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
|
|
109
109
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
|
|
110
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
110
|
+
__RΦ.m("rt:t", () => __RΦ.a(1299))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
|
|
111
111
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
|
|
112
112
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "inline");
|
|
113
113
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "inline");
|
|
114
114
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
|
|
115
115
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
|
|
116
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
116
|
+
__RΦ.m("rt:t", () => __RΦ.a(506))(IΦCreateXMLModelPropertyOptions.prototype, "model");
|
|
117
117
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "model");
|
|
118
118
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
|
|
119
119
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
|
|
120
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
120
|
+
__RΦ.m("rt:t", () => __RΦ.a(1384))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
|
|
121
121
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
|
|
122
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
122
|
+
__RΦ.m("rt:t", () => __RΦ.a(1277))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
|
|
123
123
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
|
|
124
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
124
|
+
__RΦ.m("rt:t", () => __RΦ.a(1346))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
|
|
125
125
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
|
|
126
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
126
|
+
__RΦ.m("rt:t", () => __RΦ.a(1299))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
|
|
127
127
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
|
|
128
128
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "inline");
|
|
129
129
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "inline");
|
|
130
130
|
__RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
|
|
131
131
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
|
|
132
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
132
|
+
__RΦ.m("rt:t", () => __RΦ.a(506))(IΦCreateXMLModelPropertyOptions.prototype, "model");
|
|
133
133
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "model");
|
|
134
134
|
var IΦConversionOptions = { name: "ConversionOptions", prototype: {}, identity: Symbol("ConversionOptions (interface)") };
|
|
135
|
-
(t => __RΦ.t[
|
|
135
|
+
(t => __RΦ.t[602] = t)(IΦConversionOptions);
|
|
136
136
|
__RΦ.m("rt:P", ["parent", "middlewares"])(IΦConversionOptions);
|
|
137
137
|
__RΦ.m("rt:m", [])(IΦConversionOptions);
|
|
138
138
|
__RΦ.m("rt:f", "I")(IΦConversionOptions);
|
|
139
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
139
|
+
__RΦ.m("rt:t", () => __RΦ.a(610))(IΦConversionOptions.prototype, "parent");
|
|
140
140
|
__RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "parent");
|
|
141
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
141
|
+
__RΦ.m("rt:t", () => __RΦ.a(613))(IΦConversionOptions.prototype, "middlewares");
|
|
142
142
|
__RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "middlewares");
|
|
143
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
143
|
+
__RΦ.m("rt:t", () => __RΦ.a(610))(IΦConversionOptions.prototype, "parent");
|
|
144
144
|
__RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "parent");
|
|
145
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
145
|
+
__RΦ.m("rt:t", () => __RΦ.a(613))(IΦConversionOptions.prototype, "middlewares");
|
|
146
146
|
__RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "middlewares");
|
|
147
147
|
var IΦfromXMLContext = { name: "fromXMLContext", prototype: {}, identity: Symbol("fromXMLContext (interface)") };
|
|
148
148
|
exports.IΦfromXMLContext = IΦfromXMLContext;
|
|
149
|
-
(t => __RΦ.t[
|
|
149
|
+
(t => __RΦ.t[380] = t)(IΦfromXMLContext);
|
|
150
150
|
__RΦ.m("rt:P", ["xml", "properties", "model"])(IΦfromXMLContext);
|
|
151
151
|
__RΦ.m("rt:m", [])(IΦfromXMLContext);
|
|
152
152
|
__RΦ.m("rt:f", "Ie")(IΦfromXMLContext);
|
|
153
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
153
|
+
__RΦ.m("rt:t", () => __RΦ.a(111))(IΦfromXMLContext.prototype, "xml");
|
|
154
154
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "xml");
|
|
155
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
155
|
+
__RΦ.m("rt:t", () => __RΦ.a(656))(IΦfromXMLContext.prototype, "properties");
|
|
156
156
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "properties");
|
|
157
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
157
|
+
__RΦ.m("rt:t", () => __RΦ.a(519))(IΦfromXMLContext.prototype, "model");
|
|
158
158
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "model");
|
|
159
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
159
|
+
__RΦ.m("rt:t", () => __RΦ.a(111))(IΦfromXMLContext.prototype, "xml");
|
|
160
160
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "xml");
|
|
161
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
161
|
+
__RΦ.m("rt:t", () => __RΦ.a(656))(IΦfromXMLContext.prototype, "properties");
|
|
162
162
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "properties");
|
|
163
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
163
|
+
__RΦ.m("rt:t", () => __RΦ.a(519))(IΦfromXMLContext.prototype, "model");
|
|
164
164
|
__RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "model");
|
|
165
165
|
var IΦtoXMLContext = { name: "toXMLContext", prototype: {}, identity: Symbol("toXMLContext (interface)") };
|
|
166
166
|
exports.IΦtoXMLContext = IΦtoXMLContext;
|
|
167
|
-
(t => __RΦ.t[
|
|
167
|
+
(t => __RΦ.t[860] = t)(IΦtoXMLContext);
|
|
168
168
|
__RΦ.m("rt:P", ["object", "properties", "model"])(IΦtoXMLContext);
|
|
169
169
|
__RΦ.m("rt:m", [])(IΦtoXMLContext);
|
|
170
170
|
__RΦ.m("rt:f", "Ie")(IΦtoXMLContext);
|
|
171
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
171
|
+
__RΦ.m("rt:t", () => __RΦ.a(861))(IΦtoXMLContext.prototype, "object");
|
|
172
172
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "object");
|
|
173
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
173
|
+
__RΦ.m("rt:t", () => __RΦ.a(888))(IΦtoXMLContext.prototype, "properties");
|
|
174
174
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "properties");
|
|
175
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
175
|
+
__RΦ.m("rt:t", () => __RΦ.a(926))(IΦtoXMLContext.prototype, "model");
|
|
176
176
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "model");
|
|
177
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
177
|
+
__RΦ.m("rt:t", () => __RΦ.a(861))(IΦtoXMLContext.prototype, "object");
|
|
178
178
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "object");
|
|
179
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
179
|
+
__RΦ.m("rt:t", () => __RΦ.a(888))(IΦtoXMLContext.prototype, "properties");
|
|
180
180
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "properties");
|
|
181
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
181
|
+
__RΦ.m("rt:t", () => __RΦ.a(926))(IΦtoXMLContext.prototype, "model");
|
|
182
182
|
__RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "model");
|
|
183
183
|
var IΦXMLModelOptions = { name: "XMLModelOptions", prototype: {}, identity: Symbol("XMLModelOptions (interface)") };
|
|
184
184
|
exports.IΦXMLModelOptions = IΦXMLModelOptions;
|
|
185
|
-
(t => __RΦ.t[
|
|
185
|
+
(t => __RΦ.t[522] = t)(IΦXMLModelOptions);
|
|
186
186
|
__RΦ.m("rt:P", ["parent", "properties", "fromXML", "toXML", "tagname"])(IΦXMLModelOptions);
|
|
187
187
|
__RΦ.m("rt:m", [])(IΦXMLModelOptions);
|
|
188
188
|
__RΦ.m("rt:f", "Ie")(IΦXMLModelOptions);
|
|
189
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
189
|
+
__RΦ.m("rt:t", () => __RΦ.a(528))(IΦXMLModelOptions.prototype, "parent");
|
|
190
190
|
__RΦ.m("rt:f", "P?")(IΦXMLModelOptions.prototype, "parent");
|
|
191
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
191
|
+
__RΦ.m("rt:t", () => __RΦ.a(660))(IΦXMLModelOptions.prototype, "properties");
|
|
192
192
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "properties");
|
|
193
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
193
|
+
__RΦ.m("rt:t", () => __RΦ.a(607))(IΦXMLModelOptions.prototype, "fromXML");
|
|
194
194
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "fromXML");
|
|
195
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
195
|
+
__RΦ.m("rt:t", () => __RΦ.a(864))(IΦXMLModelOptions.prototype, "toXML");
|
|
196
196
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "toXML");
|
|
197
197
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelOptions.prototype, "tagname");
|
|
198
198
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "tagname");
|
|
199
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
199
|
+
__RΦ.m("rt:t", () => __RΦ.a(528))(IΦXMLModelOptions.prototype, "parent");
|
|
200
200
|
__RΦ.m("rt:f", "P?")(IΦXMLModelOptions.prototype, "parent");
|
|
201
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
201
|
+
__RΦ.m("rt:t", () => __RΦ.a(660))(IΦXMLModelOptions.prototype, "properties");
|
|
202
202
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "properties");
|
|
203
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
203
|
+
__RΦ.m("rt:t", () => __RΦ.a(607))(IΦXMLModelOptions.prototype, "fromXML");
|
|
204
204
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "fromXML");
|
|
205
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
205
|
+
__RΦ.m("rt:t", () => __RΦ.a(864))(IΦXMLModelOptions.prototype, "toXML");
|
|
206
206
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "toXML");
|
|
207
207
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelOptions.prototype, "tagname");
|
|
208
208
|
__RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "tagname");
|
|
209
209
|
var IΦCreateXMLModelOptions = { name: "CreateXMLModelOptions", prototype: {}, identity: Symbol("CreateXMLModelOptions (interface)") };
|
|
210
210
|
exports.IΦCreateXMLModelOptions = IΦCreateXMLModelOptions;
|
|
211
|
-
(t => __RΦ.t[
|
|
211
|
+
(t => __RΦ.t[1620] = t)(IΦCreateXMLModelOptions);
|
|
212
212
|
__RΦ.m("rt:P", ["parent", "fromXML", "toXML", "tagname"])(IΦCreateXMLModelOptions);
|
|
213
213
|
__RΦ.m("rt:m", [])(IΦCreateXMLModelOptions);
|
|
214
214
|
__RΦ.m("rt:f", "Ie")(IΦCreateXMLModelOptions);
|
|
215
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
215
|
+
__RΦ.m("rt:t", () => __RΦ.a(1815))(IΦCreateXMLModelOptions.prototype, "parent");
|
|
216
216
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "parent");
|
|
217
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
217
|
+
__RΦ.m("rt:t", () => __RΦ.a(1642))(IΦCreateXMLModelOptions.prototype, "fromXML");
|
|
218
218
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "fromXML");
|
|
219
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
219
|
+
__RΦ.m("rt:t", () => __RΦ.a(1632))(IΦCreateXMLModelOptions.prototype, "toXML");
|
|
220
220
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "toXML");
|
|
221
221
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelOptions.prototype, "tagname");
|
|
222
222
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "tagname");
|
|
223
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
223
|
+
__RΦ.m("rt:t", () => __RΦ.a(1815))(IΦCreateXMLModelOptions.prototype, "parent");
|
|
224
224
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "parent");
|
|
225
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
225
|
+
__RΦ.m("rt:t", () => __RΦ.a(1642))(IΦCreateXMLModelOptions.prototype, "fromXML");
|
|
226
226
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "fromXML");
|
|
227
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
227
|
+
__RΦ.m("rt:t", () => __RΦ.a(1632))(IΦCreateXMLModelOptions.prototype, "toXML");
|
|
228
228
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "toXML");
|
|
229
229
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelOptions.prototype, "tagname");
|
|
230
230
|
__RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "tagname");
|
package/build/main/types.js
CHANGED
|
@@ -16,16 +16,16 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
|
|
|
16
16
|
__RΦ.t[id] = t = l;
|
|
17
17
|
}
|
|
18
18
|
return t;
|
|
19
|
-
}, t: { [13]: { LΦ: t => String }, [
|
|
19
|
+
}, t: { [13]: { LΦ: t => String }, [103]: { TΦ: "5", name: "XMLAttributes" }, [107]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(105) }) }, [105]: { TΦ: "5", name: "XMLElement" }, [109]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(13), __RΦ.a(14), __RΦ.a(17), __RΦ.a(19)] }) }, [14]: { LΦ: t => Number }, [17]: { RΦ: t => ({ TΦ: "0" }) }, [19]: { RΦ: t => ({ TΦ: "1" }) } } };
|
|
20
20
|
var IΦXMLAttributes = { name: "XMLAttributes", prototype: {}, identity: Symbol("XMLAttributes (interface)") };
|
|
21
21
|
exports.IΦXMLAttributes = IΦXMLAttributes;
|
|
22
|
-
(t => __RΦ.t[
|
|
22
|
+
(t => __RΦ.t[103] = t)(IΦXMLAttributes);
|
|
23
23
|
__RΦ.m("rt:P", [])(IΦXMLAttributes);
|
|
24
24
|
__RΦ.m("rt:m", [])(IΦXMLAttributes);
|
|
25
25
|
__RΦ.m("rt:f", "Ie")(IΦXMLAttributes);
|
|
26
26
|
var IΦXMLElement = { name: "XMLElement", prototype: {}, identity: Symbol("XMLElement (interface)") };
|
|
27
27
|
exports.IΦXMLElement = IΦXMLElement;
|
|
28
|
-
(t => __RΦ.t[
|
|
28
|
+
(t => __RΦ.t[105] = t)(IΦXMLElement);
|
|
29
29
|
__RΦ.m("rt:P", ["type", "name", "attributes", "elements", "text"])(IΦXMLElement);
|
|
30
30
|
__RΦ.m("rt:m", [])(IΦXMLElement);
|
|
31
31
|
__RΦ.m("rt:f", "Ie")(IΦXMLElement);
|
|
@@ -33,19 +33,19 @@ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
|
|
|
33
33
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
|
|
34
34
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
|
|
35
35
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
|
|
36
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
36
|
+
__RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
|
|
37
37
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
|
|
38
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
38
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
|
|
39
39
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
|
|
40
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
40
|
+
__RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
|
|
41
41
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
|
|
42
42
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
|
|
43
43
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
|
|
44
44
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
|
|
45
45
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
|
|
46
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
46
|
+
__RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
|
|
47
47
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
|
|
48
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
48
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
|
|
49
49
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
|
|
50
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
50
|
+
__RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
|
|
51
51
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
|
package/build/main/xml/index.js
CHANGED
|
@@ -19,7 +19,7 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
|
|
|
19
19
|
__RΦ.t[id] = t = l;
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
|
-
}, t: { [13]: { LΦ: t => String }, [
|
|
22
|
+
}, t: { [13]: { LΦ: t => String }, [111]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(107) }] }) }, [107]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(105) }) }, [105]: { LΦ: t => require("../types").IΦXMLElement }, [110]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(13), __RΦ.a(14), __RΦ.a(17), __RΦ.a(19)] }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [14]: { LΦ: t => Number }, [17]: { RΦ: t => ({ TΦ: "0" }) }, [19]: { RΦ: t => ({ TΦ: "1" }) }, [46]: { LΦ: t => "" }, [106]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(103)] }) }, [103]: { LΦ: t => require("../types").IΦXMLAttributes }, [22]: { RΦ: t => ({ TΦ: "V" }) } } };
|
|
23
23
|
/**
|
|
24
24
|
* @rtti:skip
|
|
25
25
|
*/
|
|
@@ -30,7 +30,7 @@ function parse(string) {
|
|
|
30
30
|
exports.parse = parse;
|
|
31
31
|
__RΦ.m("rt:p", [{ n: "string", t: () => __RΦ.a(13), v: null }])(parse);
|
|
32
32
|
__RΦ.m("rt:f", "F")(parse);
|
|
33
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
33
|
+
__RΦ.m("rt:t", () => __RΦ.a(111))(parse);
|
|
34
34
|
exports.stringify = xml_js_1.default.stringify;
|
|
35
35
|
function getContent(xml) {
|
|
36
36
|
var _a;
|
|
@@ -44,9 +44,9 @@ function getContent(xml) {
|
|
|
44
44
|
throw new TypeError(`can't get text from XMLElement: ${JSON.stringify(xml)}`);
|
|
45
45
|
}
|
|
46
46
|
exports.getContent = getContent;
|
|
47
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
47
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }])(getContent);
|
|
48
48
|
__RΦ.m("rt:f", "F")(getContent);
|
|
49
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
49
|
+
__RΦ.m("rt:t", () => __RΦ.a(110))(getContent);
|
|
50
50
|
function fromContent(content = "", tag, attributes) {
|
|
51
51
|
const el = {
|
|
52
52
|
elements: content ? [{ type: "text", text: String(content) }] : [],
|
|
@@ -63,16 +63,16 @@ function fromContent(content = "", tag, attributes) {
|
|
|
63
63
|
return el;
|
|
64
64
|
}
|
|
65
65
|
exports.fromContent = fromContent;
|
|
66
|
-
__RΦ.m("rt:p", [{ n: "content", t: () => __RΦ.a(46), v: function () { return ""; } }, { n: "tag", t: () => __RΦ.a(13), v: null, f: "?" }, { n: "attributes", t: () => __RΦ.a(
|
|
66
|
+
__RΦ.m("rt:p", [{ n: "content", t: () => __RΦ.a(46), v: function () { return ""; } }, { n: "tag", t: () => __RΦ.a(13), v: null, f: "?" }, { n: "attributes", t: () => __RΦ.a(106), v: null, f: "?" }])(fromContent);
|
|
67
67
|
__RΦ.m("rt:f", "F")(fromContent);
|
|
68
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
68
|
+
__RΦ.m("rt:t", () => __RΦ.a(105))(fromContent);
|
|
69
69
|
function addElement(xml, element) {
|
|
70
70
|
if (!xml.elements)
|
|
71
71
|
xml.elements = [];
|
|
72
72
|
xml.elements.push(element);
|
|
73
73
|
}
|
|
74
74
|
exports.addElement = addElement;
|
|
75
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
75
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }, { n: "element", t: () => __RΦ.a(105), v: null }])(addElement);
|
|
76
76
|
__RΦ.m("rt:f", "F")(addElement);
|
|
77
77
|
__RΦ.m("rt:t", () => __RΦ.a(22))(addElement);
|
|
78
78
|
function setAttribute(xml, attribute, value) {
|
|
@@ -81,7 +81,7 @@ function setAttribute(xml, attribute, value) {
|
|
|
81
81
|
xml.attributes[attribute] = value;
|
|
82
82
|
}
|
|
83
83
|
exports.setAttribute = setAttribute;
|
|
84
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
84
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }, { n: "value", t: () => __RΦ.a(13), v: null }])(setAttribute);
|
|
85
85
|
__RΦ.m("rt:f", "F")(setAttribute);
|
|
86
86
|
__RΦ.m("rt:t", () => __RΦ.a(22))(setAttribute);
|
|
87
87
|
function deleteAttribute(xml, attribute) {
|
|
@@ -90,7 +90,7 @@ function deleteAttribute(xml, attribute) {
|
|
|
90
90
|
delete xml.attributes[attribute];
|
|
91
91
|
}
|
|
92
92
|
exports.deleteAttribute = deleteAttribute;
|
|
93
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
93
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }])(deleteAttribute);
|
|
94
94
|
__RΦ.m("rt:f", "F")(deleteAttribute);
|
|
95
95
|
__RΦ.m("rt:t", () => __RΦ.a(22))(deleteAttribute);
|
|
96
96
|
const XML = {
|
|
@@ -13,7 +13,7 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
|
|
|
13
13
|
__RΦ.t[id] = t = l;
|
|
14
14
|
}
|
|
15
15
|
return t;
|
|
16
|
-
}, t: { [4]: { RΦ: t => ({ TΦ: "~" }) }, [
|
|
16
|
+
}, t: { [4]: { RΦ: t => ({ TΦ: "~" }) }, [111]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(107) }] }) }, [107]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(105) }) }, [105]: { LΦ: t => LΦ_0.IΦXMLElement }, [13]: { LΦ: t => String }, [14]: { LΦ: t => Number }, [1696]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(3123) }] }) }, [3123]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(3121) }) }, [3121]: { RΦ: t => ({ TΦ: "O", m: [{ n: "type", f: "", t: __RΦ.a(13) }, { n: "name", f: "", t: __RΦ.a(13) }] }) }, [20]: { LΦ: t => Boolean } } };
|
|
17
17
|
import { createModel } from "../model";
|
|
18
18
|
import { getContent, fromContent } from "../xml";
|
|
19
19
|
import * as LΦ_0 from "../types";
|
|
@@ -23,7 +23,7 @@ createModel(String, {
|
|
|
23
23
|
return {
|
|
24
24
|
elements: [fromContent(ctx.object, "string")],
|
|
25
25
|
};
|
|
26
|
-
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(
|
|
26
|
+
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(111))], "toXML"),
|
|
27
27
|
fromXML: __RΦ.f((ctx) => {
|
|
28
28
|
return String(getContent(ctx.xml.elements[0]));
|
|
29
29
|
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(13))], "fromXML"),
|
|
@@ -34,7 +34,7 @@ createModel(Number, {
|
|
|
34
34
|
return {
|
|
35
35
|
elements: [fromContent(String(ctx.object), "number")],
|
|
36
36
|
};
|
|
37
|
-
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(
|
|
37
|
+
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(111))], "toXML"),
|
|
38
38
|
fromXML: __RΦ.f((ctx) => {
|
|
39
39
|
return Number(getContent(ctx.xml.elements[0]));
|
|
40
40
|
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(14))], "fromXML"),
|
|
@@ -47,7 +47,7 @@ createModel(Boolean, {
|
|
|
47
47
|
Object.assign({ type: "element", name: "boolean" }, fromContent(String(ctx.object))),
|
|
48
48
|
],
|
|
49
49
|
};
|
|
50
|
-
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(
|
|
50
|
+
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(1696))], "toXML"),
|
|
51
51
|
fromXML: __RΦ.f((ctx) => {
|
|
52
52
|
return Boolean(getContent(ctx.xml.elements[0]));
|
|
53
53
|
}, [__RΦ.m("rt:p", [{ n: "ctx", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(20))], "fromXML"),
|
package/build/module/errors.js
CHANGED
|
@@ -13,19 +13,19 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
|
|
|
13
13
|
__RΦ.t[id] = t = l;
|
|
14
14
|
}
|
|
15
15
|
return t;
|
|
16
|
-
}, t: { [
|
|
16
|
+
}, t: { [120]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(12), __RΦ.a(117)] }) }, [12]: { RΦ: t => ({ TΦ: "n" }) }, [117]: { TΦ: "5", name: "ChainableOptions" }, [123]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(122) }) }, [122]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [126]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(117), p: [__RΦ.a(124), __RΦ.a(125)] }) }, [124]: { LΦ: t => Object }, [125]: { LΦ: t => Object }, [145]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(140), p: [__RΦ.a(127), __RΦ.a(22), __RΦ.a(8)] }) }, [140]: { LΦ: t => Object }, [127]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [22]: { RΦ: t => ({ TΦ: "V" }) }, [8]: { RΦ: t => ({ TΦ: "U" }) }, [157]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(149), p: [__RΦ.a(160), __RΦ.a(1), __RΦ.a(10)] }) }, [149]: { LΦ: t => Object }, [160]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1]: { RΦ: t => ({ TΦ: "~" }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [155]: { LΦ: t => Object }, [156]: { LΦ: t => Object } } };
|
|
17
17
|
var IΦChainableOptions = { name: "ChainableOptions", prototype: {}, identity: Symbol("ChainableOptions (interface)") };
|
|
18
|
-
(t => __RΦ.t[
|
|
18
|
+
(t => __RΦ.t[117] = t)(IΦChainableOptions);
|
|
19
19
|
__RΦ.m("rt:P", ["parent", "middlewares"])(IΦChainableOptions);
|
|
20
20
|
__RΦ.m("rt:m", [])(IΦChainableOptions);
|
|
21
21
|
__RΦ.m("rt:f", "I")(IΦChainableOptions);
|
|
22
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
22
|
+
__RΦ.m("rt:t", () => __RΦ.a(120))(IΦChainableOptions.prototype, "parent");
|
|
23
23
|
__RΦ.m("rt:f", "P")(IΦChainableOptions.prototype, "parent");
|
|
24
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
24
|
+
__RΦ.m("rt:t", () => __RΦ.a(123))(IΦChainableOptions.prototype, "middlewares");
|
|
25
25
|
__RΦ.m("rt:f", "P")(IΦChainableOptions.prototype, "middlewares");
|
|
26
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
26
|
+
__RΦ.m("rt:t", () => __RΦ.a(120))(IΦChainableOptions.prototype, "parent");
|
|
27
27
|
__RΦ.m("rt:f", "P")(IΦChainableOptions.prototype, "parent");
|
|
28
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
28
|
+
__RΦ.m("rt:t", () => __RΦ.a(123))(IΦChainableOptions.prototype, "middlewares");
|
|
29
29
|
__RΦ.m("rt:f", "P")(IΦChainableOptions.prototype, "middlewares");
|
|
30
30
|
export function* MiddlewareChain(options) {
|
|
31
31
|
do {
|
|
@@ -38,9 +38,9 @@ export function* MiddlewareChain(options) {
|
|
|
38
38
|
return;
|
|
39
39
|
} while (true);
|
|
40
40
|
}
|
|
41
|
-
__RΦ.m("rt:p", [{ n: "options", t: () => __RΦ.a(
|
|
41
|
+
__RΦ.m("rt:p", [{ n: "options", t: () => __RΦ.a(126), v: null }])(MiddlewareChain);
|
|
42
42
|
__RΦ.m("rt:f", "F")(MiddlewareChain);
|
|
43
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
43
|
+
__RΦ.m("rt:t", () => __RΦ.a(145))(MiddlewareChain);
|
|
44
44
|
export function resolve(middlewares, context) {
|
|
45
45
|
const next = __RΦ.f(() => {
|
|
46
46
|
const { value: nextMiddleware, done } = middlewares.next();
|
|
@@ -52,9 +52,9 @@ export function resolve(middlewares, context) {
|
|
|
52
52
|
else {
|
|
53
53
|
return nextMiddleware(context, next);
|
|
54
54
|
}
|
|
55
|
-
}, [__RΦ.m("rt:p", []), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(
|
|
55
|
+
}, [__RΦ.m("rt:p", []), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(156))], "next");
|
|
56
56
|
return next();
|
|
57
57
|
}
|
|
58
|
-
__RΦ.m("rt:p", [{ n: "middlewares", t: () => __RΦ.a(
|
|
58
|
+
__RΦ.m("rt:p", [{ n: "middlewares", t: () => __RΦ.a(157), v: null }, { n: "context", t: () => __RΦ.a(155), v: null }])(resolve);
|
|
59
59
|
__RΦ.m("rt:f", "F")(resolve);
|
|
60
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
60
|
+
__RΦ.m("rt:t", () => __RΦ.a(156))(resolve);
|