xml-model 0.2.8 → 0.2.9

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,66 +16,38 @@ 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: { [1363]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(214), p: [__RΦ.a(1334)] }) }, [214]: { TΦ: "5", name: "XMLModelPropertyOptions" }, [1334]: { LΦ: t => Object }, [1367]: { 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" }, [1214]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(107), p: [{ n: "context", t: () => __RΦ.a(399), v: null }], f: "" }) }, [1216]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(1329), p: [{ n: "context", t: () => __RΦ.a(377), v: null }], f: "" }) }, [1329]: { LΦ: t => Object }, [1218]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(111), p: [{ n: "context", t: () => __RΦ.a(1336), v: null }], f: "" }) }, [111]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(107) }] }) }, [1336]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1333), p: [__RΦ.a(215)] }) }, [1333]: { TΦ: "5", name: "PropertyToXMLContext" }, [1379]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(13), __RΦ.a(74), __RΦ.a(1378)] }) }, [74]: { LΦ: t => RegExp }, [1378]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [1270]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1339]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1292]: { 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(1067) }] }) }, [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 }, [1067]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1055), p: [__RΦ.a(1065), __RΦ.a(1066)] }) }, [1055]: { LΦ: t => Map }, [1065]: { LΦ: t => Object }, [1066]: { 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)] }) }, [1912]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(1911)] }) }, [1911]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(502), p: [__RΦ.a(1623)] }) }, [1623]: { LΦ: t => Object }, [1644]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) }, [1634]: { RΦ: t => ({ TΦ: "O", m: [{ n: "__call", f: "", t: __RΦ.a(4) }] }) } } };
19
+ }, t: { [1335]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(235), p: [__RΦ.a(1323)] }) }, [235]: { TΦ: "5", name: "XMLModelPropertyOptions" }, [1323]: { LΦ: t => Object }, [1339]: { LΦ: t => Object }, [337]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(235), p: [__RΦ.a(299)] }) }, [299]: { LΦ: t => Object }, [96]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(93) }) }, [93]: { LΦ: t => require("../types").IΦXMLElement }, [1177]: { LΦ: t => Object }, [783]: { LΦ: t => require("typescript-rtti").ReflectedProperty }, [13]: { LΦ: t => String }, [20]: { LΦ: t => Boolean }, [272]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(1)] }) }, [269]: { LΦ: t => require("../model").XMLModel }, [1]: { RΦ: t => ({ TΦ: "~" }) }, [241]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(20), p: [{ n: "element", t: () => __RΦ.a(93), b: void 0, v: null }, { n: "context", t: () => __RΦ.a(318), b: void 0, v: null }], f: "" }) }, [318]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(319), p: [__RΦ.a(301), __RΦ.a(302)], m: [{ n: "model", f: "", t: __RΦ.a(3262) }, { n: "xml", f: "", t: __RΦ.a(100) }, { n: "property", f: "", t: __RΦ.a(235) }] }) }, [319]: { LΦ: t => Object }, [301]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(298), p: [__RΦ.a(236)] }) }, [298]: { TΦ: "5", name: "PropertyFromXMLContext" }, [236]: { LΦ: t => Object }, [302]: { LΦ: t => "elements" }, [3262]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(236)] }) }, [100]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(96) }] }) }, [245]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(96), p: [{ n: "context", t: () => __RΦ.a(318), b: void 0, v: null }], f: "" }) }, [255]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(1178), p: [{ n: "context", t: () => __RΦ.a(301), b: void 0, v: null }], f: "" }) }, [1178]: { LΦ: t => Object }, [275]: { RΦ: t => ({ TΦ: "F", r: __RΦ.a(100), p: [{ n: "context", t: () => __RΦ.a(1325), b: void 0, v: null }], f: "" }) }, [1325]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1322), p: [__RΦ.a(236)] }) }, [1322]: { TΦ: "5", name: "PropertyToXMLContext" }, [2081]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(13), __RΦ.a(74), __RΦ.a(2080)] }) }, [74]: { LΦ: t => RegExp }, [2080]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [2012]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [2056]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [2031]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [349]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(272)] }) }, [10]: { RΦ: t => ({ TΦ: "u" }) }, [530]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(12), __RΦ.a(216)] }) }, [12]: { RΦ: t => ({ TΦ: "n" }) }, [216]: { TΦ: "5", name: "ConversionOptions" }, [230]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(229) }) }, [229]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [574]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(575), p: [__RΦ.a(221)], m: [] }) }, [575]: { LΦ: t => Object }, [221]: { LΦ: t => Object }, [605]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(221)] }) }, [259]: { LΦ: t => Object }, [1300]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(1301), p: [__RΦ.a(259)], m: [] }) }, [1301]: { LΦ: t => Object }, [1304]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(259)] }) }, [1750]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(199)] }) }, [199]: { LΦ: t => Object }, [578]: { RΦ: t => ({ TΦ: "O", m: [{ n: "fromXML", f: "", t: __RΦ.a(585) }, { n: "toXML", f: "", t: __RΦ.a(1366) }, { n: "options", f: "", t: __RΦ.a(1573) }] }) }, [585]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(216), p: [__RΦ.a(581), __RΦ.a(583)] }) }, [581]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(582), p: [__RΦ.a(223), __RΦ.a(211)], m: [{ n: "model", f: "", t: __RΦ.a(1750) }, { n: "xml", f: "", t: __RΦ.a(100) }] }) }, [582]: { LΦ: t => Object }, [223]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(220), p: [__RΦ.a(199)] }) }, [220]: { TΦ: "5", name: "fromXMLContext" }, [211]: { LΦ: t => "properties" }, [583]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(584), p: [__RΦ.a(199)], m: [] }) }, [584]: { LΦ: t => Object }, [1366]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(216), p: [__RΦ.a(1362), __RΦ.a(1364)] }) }, [1362]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(1363), p: [__RΦ.a(261), __RΦ.a(211)], m: [{ n: "object", f: "", t: __RΦ.a(199) }, { n: "model", f: "", t: __RΦ.a(1750) }] }) }, [1363]: { LΦ: t => Object }, [261]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(258), p: [__RΦ.a(199)] }) }, [258]: { TΦ: "5", name: "toXMLContext" }, [1364]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(1365), p: [__RΦ.a(199)], m: [] }) }, [1365]: { LΦ: t => Object }, [1573]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(1066), p: [__RΦ.a(1571), __RΦ.a(1572)] }) }, [1066]: { LΦ: t => Map }, [1571]: { LΦ: t => Object }, [1572]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(235), p: [__RΦ.a(199)] }) }, [224]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(216), p: [__RΦ.a(223), __RΦ.a(199)] }) }, [262]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(216), p: [__RΦ.a(261), __RΦ.a(100)] }) }, [2522]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(2521)] }) }, [2521]: { RΦ: t => ({ TΦ: "g", t: __RΦ.a(269), p: [__RΦ.a(2270)] }) }, [2270]: { LΦ: t => Object }, [2289]: { RΦ: t => ({ TΦ: "O", m: [] }) }, [2279]: { RΦ: t => ({ TΦ: "O", m: [] }) } } };
20
20
  var IΦPropertyToXMLContext = { name: "PropertyToXMLContext", prototype: {}, identity: Symbol("PropertyToXMLContext (interface)") };
21
21
  exports.IΦPropertyToXMLContext = IΦPropertyToXMLContext;
22
- (t => __RΦ.t[1333] = t)(IΦPropertyToXMLContext);
22
+ (t => __RΦ.t[1322] = 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(1363))(IΦPropertyToXMLContext.prototype, "property");
27
+ __RΦ.m("rt:t", () => __RΦ.a(1335))(IΦPropertyToXMLContext.prototype, "property");
28
28
  __RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
29
- __RΦ.m("rt:t", () => __RΦ.a(1367))(IΦPropertyToXMLContext.prototype, "value");
30
- __RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
31
- __RΦ.m("rt:t", () => __RΦ.a(1363))(IΦPropertyToXMLContext.prototype, "property");
32
- __RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "property");
33
- __RΦ.m("rt:t", () => __RΦ.a(1367))(IΦPropertyToXMLContext.prototype, "value");
29
+ __RΦ.m("rt:t", () => __RΦ.a(1339))(IΦPropertyToXMLContext.prototype, "value");
34
30
  __RΦ.m("rt:f", "P")(IΦPropertyToXMLContext.prototype, "value");
35
31
  var IΦPropertyFromXMLContext = { name: "PropertyFromXMLContext", prototype: {}, identity: Symbol("PropertyFromXMLContext (interface)") };
36
32
  exports.IΦPropertyFromXMLContext = IΦPropertyFromXMLContext;
37
- (t => __RΦ.t[374] = t)(IΦPropertyFromXMLContext);
33
+ (t => __RΦ.t[298] = t)(IΦPropertyFromXMLContext);
38
34
  __RΦ.m("rt:P", ["property", "elements"])(IΦPropertyFromXMLContext);
39
35
  __RΦ.m("rt:m", [])(IΦPropertyFromXMLContext);
40
36
  __RΦ.m("rt:i", [() => IΦOmit])(IΦPropertyFromXMLContext);
41
37
  __RΦ.m("rt:f", "Ie")(IΦPropertyFromXMLContext);
42
- __RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
43
- __RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
44
- __RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
45
- __RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
46
- __RΦ.m("rt:t", () => __RΦ.a(493))(IΦPropertyFromXMLContext.prototype, "property");
38
+ __RΦ.m("rt:t", () => __RΦ.a(337))(IΦPropertyFromXMLContext.prototype, "property");
47
39
  __RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "property");
48
- __RΦ.m("rt:t", () => __RΦ.a(107))(IΦPropertyFromXMLContext.prototype, "elements");
40
+ __RΦ.m("rt:t", () => __RΦ.a(96))(IΦPropertyFromXMLContext.prototype, "elements");
49
41
  __RΦ.m("rt:f", "P")(IΦPropertyFromXMLContext.prototype, "elements");
50
42
  var IΦXMLModelPropertyOptions = { name: "XMLModelPropertyOptions", prototype: {}, identity: Symbol("XMLModelPropertyOptions (interface)") };
51
43
  exports.IΦXMLModelPropertyOptions = IΦXMLModelPropertyOptions;
52
- (t => __RΦ.t[214] = t)(IΦXMLModelPropertyOptions);
44
+ (t => __RΦ.t[235] = t)(IΦXMLModelPropertyOptions);
53
45
  __RΦ.m("rt:P", ["name", "reflected", "tagname", "ignored", "inline", "model", "isSourceElement", "resolveElements", "fromXML", "toXML"])(IΦXMLModelPropertyOptions);
54
46
  __RΦ.m("rt:m", [])(IΦXMLModelPropertyOptions);
55
47
  __RΦ.m("rt:f", "Ie")(IΦXMLModelPropertyOptions);
56
- __RΦ.m("rt:t", () => __RΦ.a(496))(IΦXMLModelPropertyOptions.prototype, "name");
57
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "name");
58
- __RΦ.m("rt:t", () => __RΦ.a(497))(IΦXMLModelPropertyOptions.prototype, "reflected");
59
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "reflected");
60
- __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelPropertyOptions.prototype, "tagname");
61
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "tagname");
62
- __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "ignored");
63
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "ignored");
64
- __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "inline");
65
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "inline");
66
- __RΦ.m("rt:t", () => __RΦ.a(505))(IΦXMLModelPropertyOptions.prototype, "model");
67
- __RΦ.m("rt:f", "P?")(IΦXMLModelPropertyOptions.prototype, "model");
68
- __RΦ.m("rt:t", () => __RΦ.a(357))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
69
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
70
- __RΦ.m("rt:t", () => __RΦ.a(1214))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
71
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "resolveElements");
72
- __RΦ.m("rt:t", () => __RΦ.a(1216))(IΦXMLModelPropertyOptions.prototype, "fromXML");
73
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "fromXML");
74
- __RΦ.m("rt:t", () => __RΦ.a(1218))(IΦXMLModelPropertyOptions.prototype, "toXML");
75
- __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "toXML");
76
- __RΦ.m("rt:t", () => __RΦ.a(496))(IΦXMLModelPropertyOptions.prototype, "name");
48
+ __RΦ.m("rt:t", () => __RΦ.a(1177))(IΦXMLModelPropertyOptions.prototype, "name");
77
49
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "name");
78
- __RΦ.m("rt:t", () => __RΦ.a(497))(IΦXMLModelPropertyOptions.prototype, "reflected");
50
+ __RΦ.m("rt:t", () => __RΦ.a(783))(IΦXMLModelPropertyOptions.prototype, "reflected");
79
51
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "reflected");
80
52
  __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelPropertyOptions.prototype, "tagname");
81
53
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "tagname");
@@ -83,148 +55,98 @@ __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "ignore
83
55
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "ignored");
84
56
  __RΦ.m("rt:t", () => __RΦ.a(20))(IΦXMLModelPropertyOptions.prototype, "inline");
85
57
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "inline");
86
- __RΦ.m("rt:t", () => __RΦ.a(505))(IΦXMLModelPropertyOptions.prototype, "model");
58
+ __RΦ.m("rt:t", () => __RΦ.a(272))(IΦXMLModelPropertyOptions.prototype, "model");
87
59
  __RΦ.m("rt:f", "P?")(IΦXMLModelPropertyOptions.prototype, "model");
88
- __RΦ.m("rt:t", () => __RΦ.a(357))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
60
+ __RΦ.m("rt:t", () => __RΦ.a(241))(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
89
61
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "isSourceElement");
90
- __RΦ.m("rt:t", () => __RΦ.a(1214))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
62
+ __RΦ.m("rt:t", () => __RΦ.a(245))(IΦXMLModelPropertyOptions.prototype, "resolveElements");
91
63
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "resolveElements");
92
- __RΦ.m("rt:t", () => __RΦ.a(1216))(IΦXMLModelPropertyOptions.prototype, "fromXML");
64
+ __RΦ.m("rt:t", () => __RΦ.a(255))(IΦXMLModelPropertyOptions.prototype, "fromXML");
93
65
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "fromXML");
94
- __RΦ.m("rt:t", () => __RΦ.a(1218))(IΦXMLModelPropertyOptions.prototype, "toXML");
66
+ __RΦ.m("rt:t", () => __RΦ.a(275))(IΦXMLModelPropertyOptions.prototype, "toXML");
95
67
  __RΦ.m("rt:f", "P")(IΦXMLModelPropertyOptions.prototype, "toXML");
96
68
  var IΦCreateXMLModelPropertyOptions = { name: "CreateXMLModelPropertyOptions", prototype: {}, identity: Symbol("CreateXMLModelPropertyOptions (interface)") };
97
69
  exports.IΦCreateXMLModelPropertyOptions = IΦCreateXMLModelPropertyOptions;
98
- (t => __RΦ.t[198] = t)(IΦCreateXMLModelPropertyOptions);
70
+ (t => __RΦ.t[1617] = t)(IΦCreateXMLModelPropertyOptions);
99
71
  __RΦ.m("rt:P", ["tagname", "sourceElements", "resolveElements", "toXML", "fromXML", "inline", "ignore", "model"])(IΦCreateXMLModelPropertyOptions);
100
72
  __RΦ.m("rt:m", [])(IΦCreateXMLModelPropertyOptions);
101
73
  __RΦ.m("rt:f", "Ie")(IΦCreateXMLModelPropertyOptions);
102
74
  __RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
103
75
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
104
- __RΦ.m("rt:t", () => __RΦ.a(1379))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
76
+ __RΦ.m("rt:t", () => __RΦ.a(2081))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
105
77
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
106
- __RΦ.m("rt:t", () => __RΦ.a(1270))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
78
+ __RΦ.m("rt:t", () => __RΦ.a(2012))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
107
79
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
108
- __RΦ.m("rt:t", () => __RΦ.a(1339))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
80
+ __RΦ.m("rt:t", () => __RΦ.a(2056))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
109
81
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
110
- __RΦ.m("rt:t", () => __RΦ.a(1292))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
82
+ __RΦ.m("rt:t", () => __RΦ.a(2031))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
111
83
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
112
84
  __RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "inline");
113
85
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "inline");
114
86
  __RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
115
87
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
116
- __RΦ.m("rt:t", () => __RΦ.a(506))(IΦCreateXMLModelPropertyOptions.prototype, "model");
117
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "model");
118
- __RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
119
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "tagname");
120
- __RΦ.m("rt:t", () => __RΦ.a(1379))(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
121
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "sourceElements");
122
- __RΦ.m("rt:t", () => __RΦ.a(1270))(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
123
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "resolveElements");
124
- __RΦ.m("rt:t", () => __RΦ.a(1339))(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
125
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "toXML");
126
- __RΦ.m("rt:t", () => __RΦ.a(1292))(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
127
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "fromXML");
128
- __RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "inline");
129
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "inline");
130
- __RΦ.m("rt:t", () => __RΦ.a(20))(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
131
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "ignore");
132
- __RΦ.m("rt:t", () => __RΦ.a(506))(IΦCreateXMLModelPropertyOptions.prototype, "model");
88
+ __RΦ.m("rt:t", () => __RΦ.a(349))(IΦCreateXMLModelPropertyOptions.prototype, "model");
133
89
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelPropertyOptions.prototype, "model");
134
90
  var IΦConversionOptions = { name: "ConversionOptions", prototype: {}, identity: Symbol("ConversionOptions (interface)") };
135
- (t => __RΦ.t[602] = t)(IΦConversionOptions);
91
+ (t => __RΦ.t[216] = t)(IΦConversionOptions);
136
92
  __RΦ.m("rt:P", ["parent", "middlewares"])(IΦConversionOptions);
137
93
  __RΦ.m("rt:m", [])(IΦConversionOptions);
138
94
  __RΦ.m("rt:f", "I")(IΦConversionOptions);
139
- __RΦ.m("rt:t", () => __RΦ.a(610))(IΦConversionOptions.prototype, "parent");
140
- __RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "parent");
141
- __RΦ.m("rt:t", () => __RΦ.a(613))(IΦConversionOptions.prototype, "middlewares");
142
- __RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "middlewares");
143
- __RΦ.m("rt:t", () => __RΦ.a(610))(IΦConversionOptions.prototype, "parent");
95
+ __RΦ.m("rt:t", () => __RΦ.a(530))(IΦConversionOptions.prototype, "parent");
144
96
  __RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "parent");
145
- __RΦ.m("rt:t", () => __RΦ.a(613))(IΦConversionOptions.prototype, "middlewares");
97
+ __RΦ.m("rt:t", () => __RΦ.a(230))(IΦConversionOptions.prototype, "middlewares");
146
98
  __RΦ.m("rt:f", "P")(IΦConversionOptions.prototype, "middlewares");
147
99
  var IΦfromXMLContext = { name: "fromXMLContext", prototype: {}, identity: Symbol("fromXMLContext (interface)") };
148
100
  exports.IΦfromXMLContext = IΦfromXMLContext;
149
- (t => __RΦ.t[380] = t)(IΦfromXMLContext);
101
+ (t => __RΦ.t[220] = t)(IΦfromXMLContext);
150
102
  __RΦ.m("rt:P", ["xml", "properties", "model"])(IΦfromXMLContext);
151
103
  __RΦ.m("rt:m", [])(IΦfromXMLContext);
152
104
  __RΦ.m("rt:f", "Ie")(IΦfromXMLContext);
153
- __RΦ.m("rt:t", () => __RΦ.a(111))(IΦfromXMLContext.prototype, "xml");
105
+ __RΦ.m("rt:t", () => __RΦ.a(100))(IΦfromXMLContext.prototype, "xml");
154
106
  __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "xml");
155
- __RΦ.m("rt:t", () => __RΦ.a(656))(IΦfromXMLContext.prototype, "properties");
107
+ __RΦ.m("rt:t", () => __RΦ.a(574))(IΦfromXMLContext.prototype, "properties");
156
108
  __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "properties");
157
- __RΦ.m("rt:t", () => __RΦ.a(519))(IΦfromXMLContext.prototype, "model");
158
- __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "model");
159
- __RΦ.m("rt:t", () => __RΦ.a(111))(IΦfromXMLContext.prototype, "xml");
160
- __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "xml");
161
- __RΦ.m("rt:t", () => __RΦ.a(656))(IΦfromXMLContext.prototype, "properties");
162
- __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "properties");
163
- __RΦ.m("rt:t", () => __RΦ.a(519))(IΦfromXMLContext.prototype, "model");
109
+ __RΦ.m("rt:t", () => __RΦ.a(605))(IΦfromXMLContext.prototype, "model");
164
110
  __RΦ.m("rt:f", "P")(IΦfromXMLContext.prototype, "model");
165
111
  var IΦtoXMLContext = { name: "toXMLContext", prototype: {}, identity: Symbol("toXMLContext (interface)") };
166
112
  exports.IΦtoXMLContext = IΦtoXMLContext;
167
- (t => __RΦ.t[860] = t)(IΦtoXMLContext);
113
+ (t => __RΦ.t[258] = t)(IΦtoXMLContext);
168
114
  __RΦ.m("rt:P", ["object", "properties", "model"])(IΦtoXMLContext);
169
115
  __RΦ.m("rt:m", [])(IΦtoXMLContext);
170
116
  __RΦ.m("rt:f", "Ie")(IΦtoXMLContext);
171
- __RΦ.m("rt:t", () => __RΦ.a(861))(IΦtoXMLContext.prototype, "object");
172
- __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "object");
173
- __RΦ.m("rt:t", () => __RΦ.a(888))(IΦtoXMLContext.prototype, "properties");
174
- __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "properties");
175
- __RΦ.m("rt:t", () => __RΦ.a(926))(IΦtoXMLContext.prototype, "model");
176
- __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "model");
177
- __RΦ.m("rt:t", () => __RΦ.a(861))(IΦtoXMLContext.prototype, "object");
117
+ __RΦ.m("rt:t", () => __RΦ.a(259))(IΦtoXMLContext.prototype, "object");
178
118
  __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "object");
179
- __RΦ.m("rt:t", () => __RΦ.a(888))(IΦtoXMLContext.prototype, "properties");
119
+ __RΦ.m("rt:t", () => __RΦ.a(1300))(IΦtoXMLContext.prototype, "properties");
180
120
  __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "properties");
181
- __RΦ.m("rt:t", () => __RΦ.a(926))(IΦtoXMLContext.prototype, "model");
121
+ __RΦ.m("rt:t", () => __RΦ.a(1304))(IΦtoXMLContext.prototype, "model");
182
122
  __RΦ.m("rt:f", "P")(IΦtoXMLContext.prototype, "model");
183
123
  var IΦXMLModelOptions = { name: "XMLModelOptions", prototype: {}, identity: Symbol("XMLModelOptions (interface)") };
184
124
  exports.IΦXMLModelOptions = IΦXMLModelOptions;
185
- (t => __RΦ.t[522] = t)(IΦXMLModelOptions);
125
+ (t => __RΦ.t[198] = t)(IΦXMLModelOptions);
186
126
  __RΦ.m("rt:P", ["parent", "properties", "fromXML", "toXML", "tagname"])(IΦXMLModelOptions);
187
127
  __RΦ.m("rt:m", [])(IΦXMLModelOptions);
188
128
  __RΦ.m("rt:f", "Ie")(IΦXMLModelOptions);
189
- __RΦ.m("rt:t", () => __RΦ.a(528))(IΦXMLModelOptions.prototype, "parent");
129
+ __RΦ.m("rt:t", () => __RΦ.a(1750))(IΦXMLModelOptions.prototype, "parent");
190
130
  __RΦ.m("rt:f", "P?")(IΦXMLModelOptions.prototype, "parent");
191
- __RΦ.m("rt:t", () => __RΦ.a(660))(IΦXMLModelOptions.prototype, "properties");
131
+ __RΦ.m("rt:t", () => __RΦ.a(578))(IΦXMLModelOptions.prototype, "properties");
192
132
  __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "properties");
193
- __RΦ.m("rt:t", () => __RΦ.a(607))(IΦXMLModelOptions.prototype, "fromXML");
133
+ __RΦ.m("rt:t", () => __RΦ.a(224))(IΦXMLModelOptions.prototype, "fromXML");
194
134
  __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "fromXML");
195
- __RΦ.m("rt:t", () => __RΦ.a(864))(IΦXMLModelOptions.prototype, "toXML");
196
- __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "toXML");
197
- __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelOptions.prototype, "tagname");
198
- __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "tagname");
199
- __RΦ.m("rt:t", () => __RΦ.a(528))(IΦXMLModelOptions.prototype, "parent");
200
- __RΦ.m("rt:f", "P?")(IΦXMLModelOptions.prototype, "parent");
201
- __RΦ.m("rt:t", () => __RΦ.a(660))(IΦXMLModelOptions.prototype, "properties");
202
- __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "properties");
203
- __RΦ.m("rt:t", () => __RΦ.a(607))(IΦXMLModelOptions.prototype, "fromXML");
204
- __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "fromXML");
205
- __RΦ.m("rt:t", () => __RΦ.a(864))(IΦXMLModelOptions.prototype, "toXML");
135
+ __RΦ.m("rt:t", () => __RΦ.a(262))(IΦXMLModelOptions.prototype, "toXML");
206
136
  __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "toXML");
207
137
  __RΦ.m("rt:t", () => __RΦ.a(13))(IΦXMLModelOptions.prototype, "tagname");
208
138
  __RΦ.m("rt:f", "P")(IΦXMLModelOptions.prototype, "tagname");
209
139
  var IΦCreateXMLModelOptions = { name: "CreateXMLModelOptions", prototype: {}, identity: Symbol("CreateXMLModelOptions (interface)") };
210
140
  exports.IΦCreateXMLModelOptions = IΦCreateXMLModelOptions;
211
- (t => __RΦ.t[1622] = t)(IΦCreateXMLModelOptions);
141
+ (t => __RΦ.t[2269] = t)(IΦCreateXMLModelOptions);
212
142
  __RΦ.m("rt:P", ["parent", "fromXML", "toXML", "tagname"])(IΦCreateXMLModelOptions);
213
143
  __RΦ.m("rt:m", [])(IΦCreateXMLModelOptions);
214
144
  __RΦ.m("rt:f", "Ie")(IΦCreateXMLModelOptions);
215
- __RΦ.m("rt:t", () => __RΦ.a(1912))(IΦCreateXMLModelOptions.prototype, "parent");
216
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "parent");
217
- __RΦ.m("rt:t", () => __RΦ.a(1644))(IΦCreateXMLModelOptions.prototype, "fromXML");
218
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "fromXML");
219
- __RΦ.m("rt:t", () => __RΦ.a(1634))(IΦCreateXMLModelOptions.prototype, "toXML");
220
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "toXML");
221
- __RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelOptions.prototype, "tagname");
222
- __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "tagname");
223
- __RΦ.m("rt:t", () => __RΦ.a(1912))(IΦCreateXMLModelOptions.prototype, "parent");
145
+ __RΦ.m("rt:t", () => __RΦ.a(2522))(IΦCreateXMLModelOptions.prototype, "parent");
224
146
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "parent");
225
- __RΦ.m("rt:t", () => __RΦ.a(1644))(IΦCreateXMLModelOptions.prototype, "fromXML");
147
+ __RΦ.m("rt:t", () => __RΦ.a(2289))(IΦCreateXMLModelOptions.prototype, "fromXML");
226
148
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "fromXML");
227
- __RΦ.m("rt:t", () => __RΦ.a(1634))(IΦCreateXMLModelOptions.prototype, "toXML");
149
+ __RΦ.m("rt:t", () => __RΦ.a(2279))(IΦCreateXMLModelOptions.prototype, "toXML");
228
150
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "toXML");
229
151
  __RΦ.m("rt:t", () => __RΦ.a(13))(IΦCreateXMLModelOptions.prototype, "tagname");
230
152
  __RΦ.m("rt:f", "P?")(IΦCreateXMLModelOptions.prototype, "tagname");
@@ -24,7 +24,7 @@ const __RΦ = { m: (k, v) => (t, ...a) => t && Reflect.metadata ? Reflect.metada
24
24
  __RΦ.t[id] = t = l;
25
25
  }
26
26
  return t;
27
- }, t: { [2761]: { RΦ: t => ({ TΦ: "O", m: [{ n: "propA", f: "", t: __RΦ.a(13) }, { n: "propB", f: "", t: __RΦ.a(20) }, { n: "propC", f: "", t: __RΦ.a(2777) }, { n: "propD", f: "", t: __RΦ.a(705) }, { n: "__constructor", f: "", t: __RΦ.a(4) }] }) }, [13]: { LΦ: t => String }, [20]: { LΦ: t => Boolean }, [2777]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(2775) }) }, [2775]: { TΦ: "5", name: "B" }, [705]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(47), __RΦ.a(135)] }) }, [47]: { LΦ: t => 0 }, [135]: { LΦ: t => 1 }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [2713]: { RΦ: t => ({ TΦ: "O", m: [{ n: "name", f: "", t: __RΦ.a(13) }, { n: "nbPages", f: "", t: __RΦ.a(14) }] }) }, [14]: { LΦ: t => Number }, [2732]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(2676) }) }, [2676]: { TΦ: "5", name: "Book" }, [22]: { RΦ: t => ({ TΦ: "V" }) }, [101]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(102), p: [] }) }, [102]: { LΦ: t => Object } } };
27
+ }, t: { [2833]: { RΦ: t => ({ TΦ: "O", m: [{ n: "prototype", f: "", t: __RΦ.a(2834) }] }) }, [2834]: { TΦ: "5", name: "A" }, [2785]: { RΦ: t => ({ TΦ: "O", m: [{ n: "name", f: "", t: __RΦ.a(13) }, { n: "nbPages", f: "", t: __RΦ.a(14) }] }) }, [13]: { LΦ: t => String }, [14]: { LΦ: t => Number }, [2804]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(2748) }) }, [2748]: { TΦ: "5", name: "Book" }, [4]: { RΦ: t => ({ TΦ: "~" }) }, [22]: { RΦ: t => ({ TΦ: "V" }) }, [89]: { RΦ: t => ({ TΦ: "m", t: __RΦ.a(90), p: [], m: [] }) }, [90]: { LΦ: t => Object }, [20]: { LΦ: t => Boolean }, [2849]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(2847) }) }, [2847]: { TΦ: "5", name: "B" }, [624]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(47), __RΦ.a(124)] }) }, [47]: { LΦ: t => 0 }, [124]: { LΦ: t => 1 }, [8]: { RΦ: t => ({ TΦ: "U" }) } } };
28
28
  require("mocha");
29
29
  const chai_1 = require("chai");
30
30
  require("reflect-metadata");
@@ -44,12 +44,12 @@ Book = __decorate([
44
44
  },
45
45
  })
46
46
  ], Book);
47
- (t => __RΦ.t[2676] = t)(Book);
47
+ (t => __RΦ.t[2748] = t)(Book);
48
48
  __RΦ.m("rt:SP", [])(Book);
49
49
  __RΦ.m("rt:P", ["name", "nbPages"])(Book);
50
50
  __RΦ.m("rt:Sm", [])(Book);
51
51
  __RΦ.m("rt:m", ["fromXML"])(Book);
52
- __RΦ.m("rt:p", [{ n: "options", t: () => __RΦ.a(2713), v: null }])(Book);
52
+ __RΦ.m("rt:p", [{ n: "options", t: () => __RΦ.a(2785), b: void 0, v: null }])(Book);
53
53
  __RΦ.m("rt:f", "C")(Book);
54
54
  __RΦ.m("rt:t", () => __RΦ.a(13))(Book.prototype, "name");
55
55
  __RΦ.m("rt:f", "P")(Book.prototype, "name");
@@ -69,16 +69,16 @@ Library = __decorate([
69
69
  },
70
70
  })
71
71
  ], Library);
72
- (t => __RΦ.t[2716] = t)(Library);
72
+ (t => __RΦ.t[2788] = t)(Library);
73
73
  __RΦ.m("rt:SP", [])(Library);
74
74
  __RΦ.m("rt:P", ["name", "books"])(Library);
75
75
  __RΦ.m("rt:Sm", [])(Library);
76
76
  __RΦ.m("rt:m", ["fromXML"])(Library);
77
- __RΦ.m("rt:p", [{ n: "name", t: () => __RΦ.a(13), v: null }, { n: "books", t: () => __RΦ.a(2732), v: null, f: "3" }])(Library);
77
+ __RΦ.m("rt:p", [{ n: "name", t: () => __RΦ.a(13), b: void 0, v: null }, { n: "books", t: () => __RΦ.a(2804), b: void 0, v: null, f: "3" }])(Library);
78
78
  __RΦ.m("rt:f", "C")(Library);
79
79
  __RΦ.m("rt:t", () => __RΦ.a(13))(Library.prototype, "name");
80
80
  __RΦ.m("rt:f", "P")(Library.prototype, "name");
81
- __RΦ.m("rt:t", () => __RΦ.a(2732))(Library.prototype, "books");
81
+ __RΦ.m("rt:t", () => __RΦ.a(2804))(Library.prototype, "books");
82
82
  __RΦ.m("rt:f", "P")(Library.prototype, "books");
83
83
  describe("Library Example", __RΦ.f(() => {
84
84
  const library = new Library("test");
@@ -93,7 +93,7 @@ describe("Library Example", __RΦ.f(() => {
93
93
  .map(__RΦ.f((book) => ` <book>
94
94
  <name>${book.name}</name>
95
95
  <nb-pages>${book.nbPages}</nb-pages>
96
- </book>`, [__RΦ.m("rt:p", [{ n: "book", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(13))], ""))
96
+ </book>`, [__RΦ.m("rt:p", [{ n: "book", t: () => __RΦ.a(4), b: void 0, v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(13))], ""))
97
97
  .join("")}
98
98
  </books>
99
99
  </library>`));
@@ -116,7 +116,7 @@ let A = class A {
116
116
  if (record)
117
117
  Object.entries(record).forEach(__RΦ.f(([key, val]) => {
118
118
  this[key] = val;
119
- }, [__RΦ.m("rt:p", [{ n: "[key, val]", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(22))], ""));
119
+ }, [__RΦ.m("rt:p", [{ n: void 0, t: () => __RΦ.a(4), b: [{ n: "key", t: () => __RΦ.a(13), b: void 0, v: null }, { n: "val", t: () => __RΦ.a(8), b: void 0, v: null }], v: null, f: "[" }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(22))], ""));
120
120
  }
121
121
  };
122
122
  __decorate([
@@ -132,20 +132,20 @@ A = __decorate([
132
132
  },
133
133
  })
134
134
  ], A);
135
- (t => __RΦ.t[2762] = t)(A);
135
+ (t => __RΦ.t[2834] = t)(A);
136
136
  __RΦ.m("rt:SP", [])(A);
137
137
  __RΦ.m("rt:P", ["propA", "propB", "propC", "propD"])(A);
138
138
  __RΦ.m("rt:Sm", [])(A);
139
139
  __RΦ.m("rt:m", ["fromXML"])(A);
140
- __RΦ.m("rt:p", [{ n: "record", t: () => __RΦ.a(101), v: null, f: "?" }])(A);
140
+ __RΦ.m("rt:p", [{ n: "record", t: () => __RΦ.a(89), b: void 0, v: null, f: "?" }])(A);
141
141
  __RΦ.m("rt:f", "C")(A);
142
142
  __RΦ.m("rt:t", () => __RΦ.a(13))(A.prototype, "propA");
143
143
  __RΦ.m("rt:f", "P")(A.prototype, "propA");
144
144
  __RΦ.m("rt:t", () => __RΦ.a(20))(A.prototype, "propB");
145
145
  __RΦ.m("rt:f", "P")(A.prototype, "propB");
146
- __RΦ.m("rt:t", () => __RΦ.a(2777))(A.prototype, "propC");
146
+ __RΦ.m("rt:t", () => __RΦ.a(2849))(A.prototype, "propC");
147
147
  __RΦ.m("rt:f", "P")(A.prototype, "propC");
148
- __RΦ.m("rt:t", () => __RΦ.a(705))(A.prototype, "propD");
148
+ __RΦ.m("rt:t", () => __RΦ.a(624))(A.prototype, "propD");
149
149
  __RΦ.m("rt:f", "P")(A.prototype, "propD");
150
150
  let B = class B {
151
151
  constructor(record) {
@@ -153,7 +153,7 @@ let B = class B {
153
153
  if (record)
154
154
  Object.entries(record).forEach(__RΦ.f(([key, val]) => {
155
155
  this[key] = val;
156
- }, [__RΦ.m("rt:p", [{ n: "[key, val]", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(22))], ""));
156
+ }, [__RΦ.m("rt:p", [{ n: void 0, t: () => __RΦ.a(4), b: [{ n: "key", t: () => __RΦ.a(13), b: void 0, v: null }, { n: "val", t: () => __RΦ.a(8), b: void 0, v: null }], v: null, f: "[" }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(22))], ""));
157
157
  }
158
158
  };
159
159
  B = __decorate([
@@ -163,12 +163,12 @@ B = __decorate([
163
163
  },
164
164
  })
165
165
  ], B);
166
- (t => __RΦ.t[2775] = t)(B);
166
+ (t => __RΦ.t[2847] = t)(B);
167
167
  __RΦ.m("rt:SP", [])(B);
168
168
  __RΦ.m("rt:P", ["propA"])(B);
169
169
  __RΦ.m("rt:Sm", [])(B);
170
170
  __RΦ.m("rt:m", ["fromXML"])(B);
171
- __RΦ.m("rt:p", [{ n: "record", t: () => __RΦ.a(101), v: null, f: "?" }])(B);
171
+ __RΦ.m("rt:p", [{ n: "record", t: () => __RΦ.a(89), b: void 0, v: null, f: "?" }])(B);
172
172
  __RΦ.m("rt:f", "C")(B);
173
173
  __RΦ.m("rt:t", () => __RΦ.a(14))(B.prototype, "propA");
174
174
  __RΦ.m("rt:f", "P")(B.prototype, "propA");
@@ -182,12 +182,12 @@ describe("Edgy Cases", __RΦ.f(() => {
182
182
  const instanceXMLString = xml_1.default.stringify(xml_1.default.parse(`<a>
183
183
  <prop-a>${instance.propA}</prop-a>
184
184
  <prop-b>${instance.propB}</prop-b>
185
- ${instance.propC.map(__RΦ.f((b) => `<b><prop-a>${b.propA}</prop-a></b>`, [__RΦ.m("rt:p", [{ n: "b", t: () => __RΦ.a(4), v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(13))], "")).join("")}
185
+ ${instance.propC.map(__RΦ.f((b) => `<b><prop-a>${b.propA}</prop-a></b>`, [__RΦ.m("rt:p", [{ n: "b", t: () => __RΦ.a(4), b: void 0, v: null }]), __RΦ.m("rt:f", "F>"), __RΦ.m("rt:t", () => __RΦ.a(13))], "")).join("")}
186
186
  <propd>${instance.propD}</propd>
187
187
  </a>`));
188
188
  it("should give right type infos", __RΦ.f(() => {
189
- const reflectedA = (0, typescript_rtti_1.reflect)(A, { TΦ: "c", t: void 0, p: [__RΦ.a(2761)], r: void 0, tp: [] });
190
- (0, chai_1.assert)(reflectedA === (0, typescript_rtti_1.reflect)(A, { TΦ: "c", t: void 0, p: [__RΦ.a(2761)], r: void 0, tp: [] }));
189
+ const reflectedA = (0, typescript_rtti_1.reflect)(A, { TΦ: "c", t: void 0, p: [__RΦ.a(2833)], r: void 0, tp: [] });
190
+ (0, chai_1.assert)(reflectedA === (0, typescript_rtti_1.reflect)(A, { TΦ: "c", t: void 0, p: [__RΦ.a(2833)], r: void 0, tp: [] }));
191
191
  (0, chai_1.expect)(reflectedA.getProperty("propA").type.isClass(String)).to.be.true;
192
192
  (0, chai_1.expect)(reflectedA.getProperty("propB").type.isClass(Boolean)).to.be.true;
193
193
  const ModelAPropCType = reflectedA.getProperty("propC").type;
@@ -214,7 +214,7 @@ let C = class C extends B {
214
214
  C = __decorate([
215
215
  (0, model_1.Model)()
216
216
  ], C);
217
- (t => __RΦ.t[2820] = t)(C);
217
+ (t => __RΦ.t[2892] = t)(C);
218
218
  __RΦ.m("rt:SP", [])(C);
219
219
  __RΦ.m("rt:P", ["propB"])(C);
220
220
  __RΦ.m("rt:Sm", [])(C);
@@ -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 }, [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" }) } } };
19
+ }, t: { [13]: { LΦ: t => String }, [91]: { TΦ: "5", name: "XMLAttributes" }, [96]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(93) }) }, [93]: { TΦ: "5", name: "XMLElement" }, [98]: { 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[103] = t)(IΦXMLAttributes);
22
+ (t => __RΦ.t[91] = 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[105] = t)(IΦXMLElement);
28
+ (t => __RΦ.t[93] = 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,9 @@ __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(103))(IΦXMLElement.prototype, "attributes");
36
+ __RΦ.m("rt:t", () => __RΦ.a(91))(IΦXMLElement.prototype, "attributes");
37
37
  __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "attributes");
38
- __RΦ.m("rt:t", () => __RΦ.a(107))(IΦXMLElement.prototype, "elements");
38
+ __RΦ.m("rt:t", () => __RΦ.a(96))(IΦXMLElement.prototype, "elements");
39
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");
40
+ __RΦ.m("rt:t", () => __RΦ.a(98))(IΦXMLElement.prototype, "text");
51
41
  __RΦ.m("rt:f", "P?")(IΦXMLElement.prototype, "text");
@@ -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 }, [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" }) } } };
22
+ }, t: { [13]: { LΦ: t => String }, [100]: { RΦ: t => ({ TΦ: "O", m: [{ n: "elements", f: "", t: __RΦ.a(96) }] }) }, [96]: { RΦ: t => ({ TΦ: "[", e: __RΦ.a(93) }) }, [93]: { LΦ: t => require("../types").IΦXMLElement }, [99]: { 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 => "" }, [95]: { RΦ: t => ({ TΦ: "|", t: [__RΦ.a(10), __RΦ.a(91)] }) }, [91]: { LΦ: t => require("../types").IΦXMLAttributes }, [22]: { RΦ: t => ({ TΦ: "V" }) } } };
23
23
  /**
24
24
  * @rtti:skip
25
25
  */
@@ -28,9 +28,9 @@ function parse(string) {
28
28
  return xml_js_1.default.parse(string);
29
29
  }
30
30
  exports.parse = parse;
31
- __RΦ.m("rt:p", [{ n: "string", t: () => __RΦ.a(13), v: null }])(parse);
31
+ __RΦ.m("rt:p", [{ n: "string", t: () => __RΦ.a(13), b: void 0, v: null }])(parse);
32
32
  __RΦ.m("rt:f", "F")(parse);
33
- __RΦ.m("rt:t", () => __RΦ.a(111))(parse);
33
+ __RΦ.m("rt:t", () => __RΦ.a(100))(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(105), v: null }])(getContent);
47
+ __RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(93), b: void 0, v: null }])(getContent);
48
48
  __RΦ.m("rt:f", "F")(getContent);
49
- __RΦ.m("rt:t", () => __RΦ.a(110))(getContent);
49
+ __RΦ.m("rt:t", () => __RΦ.a(99))(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(106), v: null, f: "?" }])(fromContent);
66
+ __RΦ.m("rt:p", [{ n: "content", t: () => __RΦ.a(46), b: void 0, v: function () { return ""; } }, { n: "tag", t: () => __RΦ.a(13), b: void 0, v: null, f: "?" }, { n: "attributes", t: () => __RΦ.a(95), b: void 0, v: null, f: "?" }])(fromContent);
67
67
  __RΦ.m("rt:f", "F")(fromContent);
68
- __RΦ.m("rt:t", () => __RΦ.a(105))(fromContent);
68
+ __RΦ.m("rt:t", () => __RΦ.a(93))(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(105), v: null }, { n: "element", t: () => __RΦ.a(105), v: null }])(addElement);
75
+ __RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(93), b: void 0, v: null }, { n: "element", t: () => __RΦ.a(93), b: void 0, 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(105), 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(93), b: void 0, v: null }, { n: "attribute", t: () => __RΦ.a(13), b: void 0, v: null }, { n: "value", t: () => __RΦ.a(13), b: void 0, 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(105), v: null }, { n: "attribute", t: () => __RΦ.a(13), v: null }])(deleteAttribute);
93
+ __RΦ.m("rt:p", [{ n: "xml", t: () => __RΦ.a(93), b: void 0, v: null }, { n: "attribute", t: () => __RΦ.a(13), b: void 0, 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 = {