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
|
@@ -13,49 +13,49 @@ 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: { [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 => LΦ_0.IΦXMLElement }, [496]: { LΦ: t => Object }, [497]: { LΦ: t => LΦ_1.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 => LΦ_2.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) }] }) } } };
|
|
17
17
|
var IΦPropertyToXMLContext = { name: "PropertyToXMLContext", prototype: {}, identity: Symbol("PropertyToXMLContext (interface)") };
|
|
18
18
|
export { IΦPropertyToXMLContext };
|
|
19
|
-
(t => __RΦ.t[
|
|
19
|
+
(t => __RΦ.t[1340] = t)(IΦPropertyToXMLContext);
|
|
20
20
|
__RΦ.m("rt:P", ["property", "value"])(IΦPropertyToXMLContext);
|
|
21
21
|
__RΦ.m("rt:m", [])(IΦPropertyToXMLContext);
|
|
22
22
|
__RΦ.m("rt:i", [() => IΦOmit])(IΦPropertyToXMLContext);
|
|
23
23
|
__RΦ.m("rt:f", "Ie")(IΦPropertyToXMLContext);
|
|
24
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
24
|
+
__RΦ.m("rt:t", () => __RΦ.a(1370))(IΦPropertyToXMLContext.prototype, "property");
|
|
25
25
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
|
|
26
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
26
|
+
__RΦ.m("rt:t", () => __RΦ.a(1374))(IΦPropertyToXMLContext.prototype, "value");
|
|
27
27
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
|
|
28
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
28
|
+
__RΦ.m("rt:t", () => __RΦ.a(1370))(IΦPropertyToXMLContext.prototype, "property");
|
|
29
29
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
|
|
30
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
30
|
+
__RΦ.m("rt:t", () => __RΦ.a(1374))(IΦPropertyToXMLContext.prototype, "value");
|
|
31
31
|
__RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
|
|
32
32
|
import * as LΦ_0 from "../types";
|
|
33
33
|
var IΦPropertyFromXMLContext = { name: "PropertyFromXMLContext", prototype: {}, identity: Symbol("PropertyFromXMLContext (interface)") };
|
|
34
34
|
export { IΦPropertyFromXMLContext };
|
|
35
|
-
(t => __RΦ.t[
|
|
35
|
+
(t => __RΦ.t[374] = t)(IΦPropertyFromXMLContext);
|
|
36
36
|
__RΦ.m("rt:P", ["property", "elements"])(IΦPropertyFromXMLContext);
|
|
37
37
|
__RΦ.m("rt:m", [])(IΦPropertyFromXMLContext);
|
|
38
38
|
__RΦ.m("rt:i", [() => IΦOmit])(IΦPropertyFromXMLContext);
|
|
39
39
|
__RΦ.m("rt:f", "Ie")(IΦPropertyFromXMLContext);
|
|
40
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
40
|
+
__RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
|
|
41
41
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
|
|
42
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
42
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
|
|
43
43
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
|
|
44
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
44
|
+
__RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
|
|
45
45
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
|
|
46
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
46
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
|
|
47
47
|
__RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
|
|
48
48
|
import * as LΦ_1 from "typescript-rtti";
|
|
49
49
|
import * as LΦ_2 from "../model";
|
|
50
50
|
var IΦXMLModelPropertyOptions = { name: "XMLModelPropertyOptions", prototype: {}, identity: Symbol("XMLModelPropertyOptions (interface)") };
|
|
51
51
|
export { 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
|
export { 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
|
export { 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
|
export { 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
|
export { 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
|
export { 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/module/types.js
CHANGED
|
@@ -13,16 +13,16 @@ 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: { [13]: { LΦ: t => String }, [
|
|
16
|
+
}, 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" }) } } };
|
|
17
17
|
var IΦXMLAttributes = { name: "XMLAttributes", prototype: {}, identity: Symbol("XMLAttributes (interface)") };
|
|
18
18
|
export { IΦXMLAttributes };
|
|
19
|
-
(t => __RΦ.t[
|
|
19
|
+
(t => __RΦ.t[103] = t)(IΦXMLAttributes);
|
|
20
20
|
__RΦ.m("rt:P", [])(IΦXMLAttributes);
|
|
21
21
|
__RΦ.m("rt:m", [])(IΦXMLAttributes);
|
|
22
22
|
__RΦ.m("rt:f", "Ie")(IΦXMLAttributes);
|
|
23
23
|
var IΦXMLElement = { name: "XMLElement", prototype: {}, identity: Symbol("XMLElement (interface)") };
|
|
24
24
|
export { IΦXMLElement };
|
|
25
|
-
(t => __RΦ.t[
|
|
25
|
+
(t => __RΦ.t[105] = t)(IΦXMLElement);
|
|
26
26
|
__RΦ.m("rt:P", ["type", "name", "attributes", "elements", "text"])(IΦXMLElement);
|
|
27
27
|
__RΦ.m("rt:m", [])(IΦXMLElement);
|
|
28
28
|
__RΦ.m("rt:f", "Ie")(IΦXMLElement);
|
|
@@ -30,19 +30,19 @@ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
|
|
|
30
30
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
|
|
31
31
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
|
|
32
32
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
|
|
33
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
33
|
+
__RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
|
|
34
34
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
|
|
35
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
35
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
|
|
36
36
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
|
|
37
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
37
|
+
__RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
|
|
38
38
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
|
|
39
39
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
|
|
40
40
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
|
|
41
41
|
__RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
|
|
42
42
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
|
|
43
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
43
|
+
__RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
|
|
44
44
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
|
|
45
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
45
|
+
__RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
|
|
46
46
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
|
|
47
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
47
|
+
__RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
|
|
48
48
|
__RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
|
|
@@ -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: { [13]: { LΦ: t => String }, [
|
|
16
|
+
}, 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 => LΦ_0.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 => LΦ_0.IΦXMLAttributes }, [22]: { RΦ: t => ({ TΦ: "V" }) } } };
|
|
17
17
|
/**
|
|
18
18
|
* @rtti:skip
|
|
19
19
|
*/
|
|
@@ -24,7 +24,7 @@ export function parse(string) {
|
|
|
24
24
|
}
|
|
25
25
|
__RΦ.m("rt:p", [{ n: "string", t: () => __RΦ.a(13), v: null }])(parse);
|
|
26
26
|
__RΦ.m("rt:f", "F")(parse);
|
|
27
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
27
|
+
__RΦ.m("rt:t", () => __RΦ.a(111))(parse);
|
|
28
28
|
export const stringify = XMLJS.stringify;
|
|
29
29
|
export function getContent(xml) {
|
|
30
30
|
var _a;
|
|
@@ -37,9 +37,9 @@ export function getContent(xml) {
|
|
|
37
37
|
return "";
|
|
38
38
|
throw new TypeError(`can't get text from XMLElement: ${JSON.stringify(xml)}`);
|
|
39
39
|
}
|
|
40
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
40
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }])(getContent);
|
|
41
41
|
__RΦ.m("rt:f", "F")(getContent);
|
|
42
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
42
|
+
__RΦ.m("rt:t", () => __RΦ.a(110))(getContent);
|
|
43
43
|
export function fromContent(content = "", tag, attributes) {
|
|
44
44
|
const el = {
|
|
45
45
|
elements: content ? [{ type: "text", text: String(content) }] : [],
|
|
@@ -55,15 +55,15 @@ export function fromContent(content = "", tag, attributes) {
|
|
|
55
55
|
el.type = "element";
|
|
56
56
|
return el;
|
|
57
57
|
}
|
|
58
|
-
__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(
|
|
58
|
+
__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);
|
|
59
59
|
__RΦ.m("rt:f", "F")(fromContent);
|
|
60
|
-
__RΦ.m("rt:t", () => __RΦ.a(
|
|
60
|
+
__RΦ.m("rt:t", () => __RΦ.a(105))(fromContent);
|
|
61
61
|
export function addElement(xml, element) {
|
|
62
62
|
if (!xml.elements)
|
|
63
63
|
xml.elements = [];
|
|
64
64
|
xml.elements.push(element);
|
|
65
65
|
}
|
|
66
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
66
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }, { n: "element", t: () => __RΦ.a(105), v: null }])(addElement);
|
|
67
67
|
__RΦ.m("rt:f", "F")(addElement);
|
|
68
68
|
__RΦ.m("rt:t", () => __RΦ.a(22))(addElement);
|
|
69
69
|
export function setAttribute(xml, attribute, value) {
|
|
@@ -71,7 +71,7 @@ export function setAttribute(xml, attribute, value) {
|
|
|
71
71
|
xml.attributes = {};
|
|
72
72
|
xml.attributes[attribute] = value;
|
|
73
73
|
}
|
|
74
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
74
|
+
__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);
|
|
75
75
|
__RΦ.m("rt:f", "F")(setAttribute);
|
|
76
76
|
__RΦ.m("rt:t", () => __RΦ.a(22))(setAttribute);
|
|
77
77
|
export function deleteAttribute(xml, attribute) {
|
|
@@ -79,7 +79,7 @@ export function deleteAttribute(xml, attribute) {
|
|
|
79
79
|
return;
|
|
80
80
|
delete xml.attributes[attribute];
|
|
81
81
|
}
|
|
82
|
-
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(
|
|
82
|
+
__RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(105), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }])(deleteAttribute);
|
|
83
83
|
__RΦ.m("rt:f", "F")(deleteAttribute);
|
|
84
84
|
__RΦ.m("rt:t", () => __RΦ.a(22))(deleteAttribute);
|
|
85
85
|
const XML = {
|