xml-model 0.2.0 → 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.
@@ -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: { [1355]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(206), p: [__RΦ.a(1326)] }) }, [206]: { TΦ: "5", name: "XMLModelPropertyOptions" }, [1326]: { LΦ: t => Object }, [1359]: { LΦ: t => Object }, [485]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(206), p: [__RΦ.a(367)] }) }, [367]: { LΦ: t => Object }, [102]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(101) }) }, [101]: { LΦ: t => require("xml-js/types").IΦElement }, [488]: { LΦ: t => Object }, [489]: { LΦ: t => require("typescript-rtti").ReflectedProperty }, [13]: { LΦ: t => String }, [20]: { LΦ: t => Boolean }, [497]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(494), p: [__RΦ.a(1)] }) }, [494]: { LΦ: t => require("../model").XMLModel }, [1]: { RΦ: t => ({ TΦ: "~" }) }, [349]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(20), p: [{ n: "element", t: () => __RΦ.a(101), v: null }, { n: "context", t: () => __RΦ.a(391), v: null }], f: "" }) }, [391]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(392), p: [__RΦ.a(369), __RΦ.a(370)] }) }, [392]: { LΦ: t => Object }, [369]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(366), p: [__RΦ.a(207)] }) }, [366]: { TΦ: "5", name: "PropertyFromXMLContext" }, [207]: { LΦ: t => Object }, [370]: { LΦ: t => "elements" }, [1206]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(102), p: [{ n: "context", t: () => __RΦ.a(391), v: null }], f: "" }) }, [1208]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(1321), p: [{ n: "context", t: () => __RΦ.a(369), v: null }], f: "" }) }, [1321]: { LΦ: t => Object }, [1210]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(103), p: [{ n: "context", t: () => __RΦ.a(1328), v: null }], f: "" }) }, [103]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(102) }] }) }, [1328]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1325), p: [__RΦ.a(207)] }) }, [1325]: { TΦ: "5", name: "PropertyToXMLContext" }, [1369]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(13), __RΦ.a(74), __RΦ.a(1368)] }) }, [74]: { LΦ: t => RegExp }, [1368]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [1262]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1331]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1284]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [498]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(497)] }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [602]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(12), __RΦ.a(594)] }) }, [12]: { RΦ: t => ({ TΦ: "n" }) }, [594]: { TΦ: "5", name: "ConversionOptions" }, [605]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(604) }) }, [604]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [641]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(642), p: [__RΦ.a(373)] }) }, [642]: { LΦ: t => Object }, [373]: { LΦ: t => Object }, [511]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(494), p: [__RΦ.a(373)] }) }, [846]: { LΦ: t => Object }, [873]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(874), p: [__RΦ.a(846)] }) }, [874]: { LΦ: t => Object }, [911]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(494), p: [__RΦ.a(846)] }) }, [520]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(494), p: [__RΦ.a(515)] }) }, [515]: { LΦ: t => Object }, [645]: { RΦ: t => ({ TΦ: "O", m: [{ n: "fromXML", f: "", t: __RΦ.a(652) }, { n: "toXML", f: "", t: __RΦ.a(883) }, { n: "options", f: "", t: __RΦ.a(1059) }] }) }, [652]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(594), p: [__RΦ.a(648), __RΦ.a(650)] }) }, [648]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(649), p: [__RΦ.a(598), __RΦ.a(376)] }) }, [649]: { LΦ: t => Object }, [598]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(372), p: [__RΦ.a(515)] }) }, [372]: { TΦ: "5", name: "fromXMLContext" }, [376]: { LΦ: t => "properties" }, [650]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(651), p: [__RΦ.a(515)] }) }, [651]: { LΦ: t => Object }, [883]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(594), p: [__RΦ.a(879), __RΦ.a(881)] }) }, [879]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(880), p: [__RΦ.a(848), __RΦ.a(376)] }) }, [880]: { LΦ: t => Object }, [848]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(845), p: [__RΦ.a(515)] }) }, [845]: { TΦ: "5", name: "toXMLContext" }, [881]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(882), p: [__RΦ.a(515)] }) }, [882]: { LΦ: t => Object }, [1059]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1049), p: [__RΦ.a(1057), __RΦ.a(1058)] }) }, [1049]: { LΦ: t => Map }, [1057]: { LΦ: t => Object }, [1058]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(206), p: [__RΦ.a(515)] }) }, [599]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(594), p: [__RΦ.a(598), __RΦ.a(515)] }) }, [849]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(594), p: [__RΦ.a(848), __RΦ.a(103)] }) }, [1833]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(1832)] }) }, [1832]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(494), p: [__RΦ.a(1639)] }) }, [1639]: { LΦ: t => Object }, [1660]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1650]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) } } };
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[1325] = t)(IΦPropertyToXMLContext);
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(1355))(IΦPropertyToXMLContext.prototype, "property");
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(1359))(IΦPropertyToXMLContext.prototype, "value");
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(1355))(IΦPropertyToXMLContext.prototype, "property");
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(1359))(IΦPropertyToXMLContext.prototype, "value");
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[366] = t)(IΦPropertyFromXMLContext);
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(485))(IΦPropertyFromXMLContext.prototype, "property");
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(102))(IΦPropertyFromXMLContext.prototype, "elements");
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(485))(IΦPropertyFromXMLContext.prototype, "property");
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(102))(IΦPropertyFromXMLContext.prototype, "elements");
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[206] = t)(IΦXMLModelPropertyOptions);
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(488))(IΦXMLModelPropertyOptions.prototype, "name");
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(489))(IΦXMLModelPropertyOptions.prototype, "reflected");
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(497))(IΦXMLModelPropertyOptions.prototype, "model");
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(349))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
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(1206))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
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(1208))(IΦXMLModelPropertyOptions.prototype, "fromXML");
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(1210))(IΦXMLModelPropertyOptions.prototype, "toXML");
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(488))(IΦXMLModelPropertyOptions.prototype, "name");
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(489))(IΦXMLModelPropertyOptions.prototype, "reflected");
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(497))(IΦXMLModelPropertyOptions.prototype, "model");
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(349))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
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(1206))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
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(1208))(IΦXMLModelPropertyOptions.prototype, "fromXML");
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(1210))(IΦXMLModelPropertyOptions.prototype, "toXML");
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[190] = t)(IΦCreateXMLModelPropertyOptions);
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(1369))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
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(1262))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
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(1331))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
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(1284))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
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(498))(IΦCreateXMLModelPropertyOptions.prototype, "model");
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(1369))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
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(1262))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
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(1331))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
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(1284))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
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(498))(IΦCreateXMLModelPropertyOptions.prototype, "model");
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[594] = t)(IΦConversionOptions);
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(602))(IΦConversionOptions.prototype, "parent");
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(605))(IΦConversionOptions.prototype, "middlewares");
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(602))(IΦConversionOptions.prototype, "parent");
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(605))(IΦConversionOptions.prototype, "middlewares");
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[372] = t)(IΦfromXMLContext);
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(103))(IΦfromXMLContext.prototype, "xml");
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(641))(IΦfromXMLContext.prototype, "properties");
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(511))(IΦfromXMLContext.prototype, "model");
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(103))(IΦfromXMLContext.prototype, "xml");
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(641))(IΦfromXMLContext.prototype, "properties");
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(511))(IΦfromXMLContext.prototype, "model");
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[845] = t)(IΦtoXMLContext);
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(846))(IΦtoXMLContext.prototype, "object");
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(873))(IΦtoXMLContext.prototype, "properties");
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(911))(IΦtoXMLContext.prototype, "model");
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(846))(IΦtoXMLContext.prototype, "object");
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(873))(IΦtoXMLContext.prototype, "properties");
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(911))(IΦtoXMLContext.prototype, "model");
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[514] = t)(IΦXMLModelOptions);
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(520))(IΦXMLModelOptions.prototype, "parent");
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(645))(IΦXMLModelOptions.prototype, "properties");
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(599))(IΦXMLModelOptions.prototype, "fromXML");
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(849))(IΦXMLModelOptions.prototype, "toXML");
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(520))(IΦXMLModelOptions.prototype, "parent");
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(645))(IΦXMLModelOptions.prototype, "properties");
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(599))(IΦXMLModelOptions.prototype, "fromXML");
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(849))(IΦXMLModelOptions.prototype, "toXML");
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[1638] = t)(IΦCreateXMLModelOptions);
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(1833))(IΦCreateXMLModelOptions.prototype, "parent");
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(1660))(IΦCreateXMLModelOptions.prototype, "fromXML");
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(1650))(IΦCreateXMLModelOptions.prototype, "toXML");
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(1833))(IΦCreateXMLModelOptions.prototype, "parent");
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(1660))(IΦCreateXMLModelOptions.prototype, "fromXML");
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(1650))(IΦCreateXMLModelOptions.prototype, "toXML");
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");
@@ -1,8 +1,16 @@
1
1
  export type { Constructor } from "typescript-rtti";
2
2
  export declare type UnknownRecord = Record<string | number | symbol, unknown>;
3
3
  export declare type UnknownObject = object;
4
- import type { Element as _XMLElement } from "xml-js";
5
- export declare type XMLElement = _XMLElement;
4
+ export interface XMLAttributes {
5
+ [key: string]: string | number | undefined;
6
+ }
7
+ export interface XMLElement {
8
+ type?: string;
9
+ name?: string;
10
+ attributes?: XMLAttributes;
11
+ elements?: Array<XMLElement>;
12
+ text?: string | number | boolean;
13
+ }
6
14
  export declare type XMLRoot = {
7
15
  elements: XMLElement[];
8
16
  };
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IΦXMLElement = exports.IΦXMLAttributes = void 0;
3
4
  const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metadata(k, v)(t, ...a) : void 0, f: (f, d, n) => (d.forEach(d => d(f)), Object.defineProperty(f, "name", { value: n, writable: false }), f), c: (c, d, dp, dsp, n) => (d.forEach(d => d(c)), dp.forEach(([p, d]) => d(c.prototype, p)), dsp.forEach(([p, d]) => d(c, p)), n ? Object.defineProperty(c, "name", { value: n, writable: false }) : undefined, c), r: (o, a) => (Object.assign(o, a)), a: id => {
4
5
  let t = __RΦ.t[id];
5
6
  if (t === void 0)
@@ -15,4 +16,36 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
15
16
  __RΦ.t[id] = t = l;
16
17
  }
17
18
  return t;
18
- }, t: {} };
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
+ var IΦXMLAttributes = { name: "XMLAttributes", prototype: {}, identity: Symbol("XMLAttributes (interface)") };
21
+ exports.IΦXMLAttributes = IΦXMLAttributes;
22
+ (t => __RΦ.t[103] = t)(IΦXMLAttributes);
23
+ __RΦ.m("rt:P", [])(IΦXMLAttributes);
24
+ __RΦ.m("rt:m", [])(IΦXMLAttributes);
25
+ __RΦ.m("rt:f", "Ie")(IΦXMLAttributes);
26
+ var IΦXMLElement = { name: "XMLElement", prototype: {}, identity: Symbol("XMLElement (interface)") };
27
+ exports.IΦXMLElement = IΦXMLElement;
28
+ (t => __RΦ.t[105] = t)(IΦXMLElement);
29
+ __RΦ.m("rt:P", ["type", "name", "attributes", "elements", "text"])(IΦXMLElement);
30
+ __RΦ.m("rt:m", [])(IΦXMLElement);
31
+ __RΦ.m("rt:f", "Ie")(IΦXMLElement);
32
+ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
33
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
34
+ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
35
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
36
+ __RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
37
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
38
+ __RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
39
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
40
+ __RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
41
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
42
+ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "type");
43
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "type");
44
+ __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLElement.prototype, "name");
45
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "name");
46
+ __RΦ.m("rt:t", () => __RΦ.a(103))(IΦXMLElement.prototype, "attributes");
47
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
48
+ __RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
49
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "elements");
50
+ __RΦ.m("rt:t", () => __RΦ.a(109))(IΦXMLElement.prototype, "text");
51
+ __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
@@ -1,7 +1,6 @@
1
- import { js2xml } from "xml-js";
2
- import { XMLElement, XMLRoot } from "./types";
1
+ import { XMLElement, XMLRoot } from "../types";
3
2
  export declare function parse(string: string): XMLRoot;
4
- export declare function stringify(xml: XMLRoot, options?: Parameters<typeof js2xml>[1]): string;
3
+ export declare const stringify: typeof import("xml-js").js2xml;
5
4
  export declare function getContent(xml: XMLElement): string | number | boolean | undefined;
6
5
  export declare function fromContent(content: string): {
7
6
  elements: [{
@@ -23,7 +22,7 @@ export declare function setAttribute(xml: XMLElement, attribute: string, value:
23
22
  export declare function deleteAttribute(xml: XMLElement, attribute: string): void;
24
23
  declare const XML: {
25
24
  parse: typeof parse;
26
- stringify: typeof stringify;
25
+ stringify: typeof import("xml-js").js2xml;
27
26
  fromContent: typeof fromContent;
28
27
  getContent: typeof getContent;
29
28
  addElement: typeof addElement;
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.deleteAttribute = exports.setAttribute = exports.addElement = exports.fromContent = exports.getContent = exports.stringify = exports.parse = void 0;
4
7
  const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metadata(k, v)(t, ...a) : void 0, f: (f, d, n) => (d.forEach(d => d(f)), Object.defineProperty(f, "name", { value: n, writable: false }), f), c: (c, d, dp, dsp, n) => (d.forEach(d => d(c)), dp.forEach(([p, d]) => d(c.prototype, p)), dsp.forEach(([p, d]) => d(c, p)), n ? Object.defineProperty(c, "name", { value: n, writable: false }) : undefined, c), r: (o, a) => (Object.assign(o, a)), a: id => {
@@ -16,22 +19,19 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
16
19
  __RΦ.t[id] = t = l;
17
20
  }
18
21
  return t;
19
- }, t: { [13]: { LΦ: t => String }, [103]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(102) }] }) }, [102]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(101) }) }, [101]: { LΦ: t => require("xml-js/types").IΦElement }, [1497]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(1494)] }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [1494]: { LΦ: t => require("xml-js/types").IΦJS2XML }, [1521]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __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" }) }, [46]: { LΦ: t => "" }, [1537]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(1536)] }) }, [1536]: { LΦ: t => require("xml-js/types").IΦAttributes }, [22]: { RΦ: t => ({ TΦ: "V" }) } } };
20
- const xml_js_1 = require("xml-js");
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
+ /**
24
+ * @rtti:skip
25
+ */
26
+ const xml_js_1 = __importDefault(require("./xml-js"));
21
27
  function parse(string) {
22
- return (0, xml_js_1.xml2js)(string);
28
+ return xml_js_1.default.parse(string);
23
29
  }
24
30
  exports.parse = parse;
25
31
  __RΦ.m("rt:p", [{ n: "string", t: () => __RΦ.a(13), v: null }])(parse);
26
32
  __RΦ.m("rt:f", "F")(parse);
27
- __RΦ.m("rt:t", () => __RΦ.a(103))(parse);
28
- function stringify(xml, options) {
29
- return (0, xml_js_1.js2xml)(xml, options);
30
- }
31
- exports.stringify = stringify;
32
- __RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(103), v: null }, { n: "options", t: () => __RΦ.a(1497), v: null, f: "?" }])(stringify);
33
- __RΦ.m("rt:f", "F")(stringify);
34
- __RΦ.m("rt:t", () => __RΦ.a(13))(stringify);
33
+ __RΦ.m("rt:t", () => __RΦ.a(111))(parse);
34
+ exports.stringify = xml_js_1.default.stringify;
35
35
  function getContent(xml) {
36
36
  var _a;
37
37
  if (((_a = xml.elements) === null || _a === void 0 ? void 0 : _a.length) === 1) {
@@ -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(101), v: null }])(getContent);
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(1521))(getContent);
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(1537), v: null, f: "?" }])(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(106), v: null, f: "?" }])(fromContent);
67
67
  __RΦ.m("rt:f", "F")(fromContent);
68
- __RΦ.m("rt:t", () => __RΦ.a(101))(fromContent);
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(101), v: null }, { n: "element", t: () => __RΦ.a(101), v: null }])(addElement);
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(101), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }, { n: "value", t: () => __RΦ.a(13), v: null }])(setAttribute);
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,12 +90,12 @@ 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(101), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }])(deleteAttribute);
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 = {
97
97
  parse,
98
- stringify,
98
+ stringify: exports.stringify,
99
99
  fromContent,
100
100
  getContent,
101
101
  addElement,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @rtti:skip
3
+ */
4
+ import { xml2js as parse, js2xml as stringify } from "xml-js";
5
+ declare const _default: {
6
+ parse: typeof parse;
7
+ stringify: typeof stringify;
8
+ };
9
+ export default _default;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metadata(k, v)(t, ...a) : void 0, f: (f, d, n) => (d.forEach(d => d(f)), Object.defineProperty(f, "name", { value: n, writable: false }), f), c: (c, d, dp, dsp, n) => (d.forEach(d => d(c)), dp.forEach(([p, d]) => d(c.prototype, p)), dsp.forEach(([p, d]) => d(c, p)), n ? Object.defineProperty(c, "name", { value: n, writable: false }) : undefined, c), r: (o, a) => (Object.assign(o, a)), a: id => {
4
+ let t = __RΦ.t[id];
5
+ if (t === void 0)
6
+ return void 0;
7
+ if (t.RΦ) {
8
+ let r = t.RΦ;
9
+ delete t.RΦ;
10
+ __RΦ.r(t, r(t));
11
+ }
12
+ else if (t.LΦ) {
13
+ let l = t.LΦ();
14
+ delete t.LΦ;
15
+ __RΦ.t[id] = t = l;
16
+ }
17
+ return t;
18
+ }, t: {} };
19
+ /**
20
+ * @rtti:skip
21
+ */
22
+ const xml_js_1 = require("xml-js");
23
+ exports.default = {
24
+ parse: xml_js_1.xml2js,
25
+ stringify: xml_js_1.js2xml,
26
+ };
@@ -21,9 +21,10 @@ export const defaults = {
21
21
  throw new TypeError("you should define 'defaults.fromXML' yourself or provide a 'fromXML' function to @Model() decorator's options");
22
22
  },
23
23
  propertyResolveSourceElements(context) {
24
+ var _a;
24
25
  // We assume context.xml.elements is a single tag containing all the props
25
26
  // FIXME: is it safe ?
26
- const innerElements = context.xml.elements[0]?.elements || [];
27
+ const innerElements = ((_a = context.xml.elements[0]) === null || _a === void 0 ? void 0 : _a.elements) || [];
27
28
  return innerElements.filter((el) => context.property.isSourceElement(el, context));
28
29
  },
29
30
  propertySourceElementsFilter(element, context) {