@dialecte/plc 0.0.11 → 0.0.12

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.
@@ -6545,70 +6545,89 @@ var n = /* @__PURE__ */ "AccessVariable.AccessVars.Action.ActionBlock.ActionQual
6545
6545
  prefix: ""
6546
6546
  },
6547
6547
  xsi: t
6548
- }, f = "http://www.plcopen.org/xml/tc6_0201", p = d.default.uri, m = d.xsi.uri;
6549
- function h(t) {
6548
+ }, f = "http://www.plcopen.org/xml/tc6_0201", p = d.default.uri, m = d.xsi.uri, h = "1.0", g = [
6549
+ "companyName",
6550
+ "companyURL",
6551
+ "productName",
6552
+ "productVersion",
6553
+ "productRelease"
6554
+ ], _ = [
6555
+ "name",
6556
+ "version",
6557
+ "creationDateTime",
6558
+ "modificationDateTime",
6559
+ "organization",
6560
+ "author",
6561
+ "language"
6562
+ ], v = "1970-01-01T00:00:00";
6563
+ function y(e, t, n) {
6564
+ if (e) for (let r of e.attributes) n.includes(r.name) && t.setAttribute(r.name, r.value);
6565
+ }
6566
+ function b(e, t, n) {
6567
+ e.getAttribute(t) || e.setAttribute(t, n);
6568
+ }
6569
+ function x(t) {
6550
6570
  return e(t, { elements: ["project"] }).project?.namespace === f;
6551
6571
  }
6552
- function g(e) {
6553
- if (!h(e)) return e;
6572
+ function S(e) {
6573
+ if (!x(e)) return e;
6554
6574
  let t = new DOMParser().parseFromString(e, "application/xml"), n = t.querySelector("parsererror");
6555
6575
  if (n) throw Error(`TC6 v201 parse error: ${n.textContent}`);
6556
- let r = document.implementation.createDocument(p, "", null), i = t.documentElement, a = r.createElementNS(p, "Project"), o = i.getAttribute("schemaVersion");
6557
- o && a.setAttribute("schemaVersion", o), r.appendChild(a);
6558
- let s = i.querySelector("fileHeader");
6559
- if (s) {
6560
- let e = r.createElementNS(p, "FileHeader");
6561
- for (let t of s.attributes) e.setAttribute(t.name, t.value);
6562
- a.appendChild(e);
6563
- }
6564
- let c = i.querySelector("contentHeader");
6565
- if (c) {
6566
- let e = r.createElementNS(p, "ContentHeader");
6567
- for (let t of c.attributes) e.setAttribute(t.name, t.value);
6568
- a.appendChild(e);
6569
- }
6570
- let l = i.querySelector("types");
6571
- if (l) {
6576
+ let r = document.implementation.createDocument(p, "", null), i = t.documentElement, a = r.createElementNS(p, "Project");
6577
+ a.setAttribute("schemaVersion", h), r.appendChild(a);
6578
+ let o = i.querySelector("fileHeader"), s = i.querySelector("contentHeader"), c = r.createElementNS(p, "FileHeader");
6579
+ y(o, c, g), b(c, "companyName", "Unknown"), b(c, "productName", "Unnamed"), b(c, "productVersion", "1"), a.appendChild(c);
6580
+ let l = r.createElementNS(p, "ContentHeader");
6581
+ y(s, l, _), b(l, "name", "Unnamed"), b(l, "creationDateTime", o?.getAttribute("creationDateTime") || s?.getAttribute("modificationDateTime") || v), a.appendChild(l);
6582
+ let u = i.querySelector("types");
6583
+ if (u) {
6572
6584
  let e = r.createElementNS(p, "Types"), t = r.createElementNS(p, "GlobalNamespace");
6573
6585
  e.appendChild(t);
6574
- for (let e of l.querySelectorAll("pou")) t.appendChild(_(r, e));
6586
+ for (let e of u.querySelectorAll("pou")) t.appendChild(C(r, e));
6575
6587
  a.appendChild(e);
6576
6588
  }
6577
- let u = r.createElementNS(p, "Instances");
6578
- return a.appendChild(u), new XMLSerializer().serializeToString(r);
6589
+ let d = r.createElementNS(p, "Instances");
6590
+ return a.appendChild(d), new XMLSerializer().serializeToString(r);
6579
6591
  }
6580
- function _(e, t) {
6592
+ function C(e, t) {
6581
6593
  let n = t.getAttribute("name") ?? "", r = (t.getAttribute("pouType") ?? "functionBlock") === "program" ? "Program" : "FunctionBlock", i = e.createElementNS(p, r);
6582
6594
  i.setAttribute("name", n);
6583
6595
  let a = t.querySelector("interface");
6584
- a && v(e, i, a);
6596
+ a && w(e, i, a);
6585
6597
  let o = t.querySelector("body");
6586
- return o && C(e, i, o), i;
6598
+ return o && A(e, i, o), i;
6587
6599
  }
6588
- function v(e, t, n) {
6589
- let r = b(e, n, "inputVars"), i = b(e, n, "outputVars"), a = b(e, n, "inOutVars");
6600
+ function w(e, t, n) {
6601
+ let r = D(e, n, "inputVars"), i = D(e, n, "outputVars"), a = D(e, n, "inOutVars");
6590
6602
  if (r.length || i.length || a.length) {
6591
- let n = e.createElementNS(p, "Parameters");
6592
- y(e, n, "InoutVars", a), y(e, n, "InputVars", r), y(e, n, "OutputVars", i), t.appendChild(n);
6603
+ let n = e.createElementNS(p, "Parameters"), o = 0;
6604
+ o = T(e, n, "InoutVars", a, o), o = T(e, n, "InputVars", r, o), T(e, n, "OutputVars", i, o), t.appendChild(n);
6593
6605
  }
6594
- y(e, t, "ExternalVars", b(e, n, "externalVars")), y(e, t, "Vars", b(e, n, "localVars")), y(e, t, "TempVars", b(e, n, "tempVars"));
6606
+ E(e, t, "ExternalVars", D(e, n, "externalVars")), E(e, t, "Vars", D(e, n, "localVars")), E(e, t, "TempVars", D(e, n, "tempVars"));
6595
6607
  }
6596
- function y(e, t, n, r) {
6608
+ function T(e, t, n, r, i) {
6609
+ if (!r.length) return i;
6610
+ let a = e.createElementNS(p, n), o = i;
6611
+ for (let e of r) e.setAttribute("orderWithinParamSet", String(o++)), a.appendChild(e);
6612
+ return t.appendChild(a), o;
6613
+ }
6614
+ function E(e, t, n, r) {
6597
6615
  if (!r.length) return;
6598
6616
  let i = e.createElementNS(p, n);
6617
+ n === "Vars" && i.setAttribute("accessSpecifier", "protected");
6599
6618
  for (let e of r) i.appendChild(e);
6600
6619
  t.appendChild(i);
6601
6620
  }
6602
- function b(e, t, n) {
6621
+ function D(e, t, n) {
6603
6622
  let r = [];
6604
- for (let i of t.querySelectorAll(`:scope > ${n}`)) for (let t of i.querySelectorAll(":scope > variable")) r.push(x(e, t));
6623
+ for (let i of t.querySelectorAll(`:scope > ${n}`)) for (let t of i.querySelectorAll(":scope > variable")) r.push(O(e, t));
6605
6624
  return r;
6606
6625
  }
6607
- function x(e, t) {
6626
+ function O(e, t) {
6608
6627
  let n = e.createElementNS(p, "Variable");
6609
6628
  n.setAttribute("name", t.getAttribute("name") ?? "");
6610
6629
  let r = e.createElementNS(p, "Type"), i = e.createElementNS(p, "TypeName");
6611
- i.textContent = S(t.querySelector("type")), r.appendChild(i), n.appendChild(r);
6630
+ i.textContent = k(t.querySelector("type")), r.appendChild(i), n.appendChild(r);
6612
6631
  let a = t.querySelector("initialValue > simpleValue");
6613
6632
  if (a) {
6614
6633
  let t = e.createElementNS(p, "InitialValue"), r = e.createElementNS(p, "SimpleValue");
@@ -6616,50 +6635,50 @@ function x(e, t) {
6616
6635
  }
6617
6636
  return n;
6618
6637
  }
6619
- function S(e) {
6638
+ function k(e) {
6620
6639
  if (!e) return "";
6621
6640
  let t = e.querySelector("derived");
6622
6641
  if (t) return t.getAttribute("name") ?? "";
6623
6642
  let n = e.firstElementChild;
6624
6643
  return n ? n.localName : "";
6625
6644
  }
6626
- function C(e, t, n) {
6645
+ function A(e, t, n) {
6627
6646
  let r = n.querySelector("FBD");
6628
6647
  if (r) {
6629
- t.appendChild(T(e, r));
6648
+ t.appendChild(M(e, r));
6630
6649
  return;
6631
6650
  }
6632
6651
  let i = n.querySelector("LD");
6633
6652
  if (i) {
6634
- t.appendChild(R(e, i));
6653
+ t.appendChild(G(e, i));
6635
6654
  return;
6636
6655
  }
6637
6656
  let a = n.querySelector("ST");
6638
6657
  if (a) {
6639
- t.appendChild(w(e, "ST", a));
6658
+ t.appendChild(j(e, "ST", a));
6640
6659
  return;
6641
6660
  }
6642
6661
  let o = n.querySelector("IL");
6643
- o && t.appendChild(w(e, "IL", o));
6662
+ o && t.appendChild(j(e, "IL", o));
6644
6663
  }
6645
- function w(e, t, n) {
6664
+ function j(e, t, n) {
6646
6665
  let r = e.createElementNS(p, "MainBody"), i = e.createElementNS(p, "BodyContent");
6647
6666
  i.setAttributeNS(m, "xsi:type", t);
6648
6667
  let a = e.createElementNS(p, t);
6649
- return a.textContent = W(n), i.appendChild(a), r.appendChild(i), r;
6668
+ return a.textContent = Z(n), i.appendChild(a), r.appendChild(i), r;
6650
6669
  }
6651
- function T(e, t) {
6652
- let n = E(t), r = e.createElementNS(p, "MainBody"), i = e.createElementNS(p, "BodyContent");
6670
+ function M(e, t) {
6671
+ let n = N(t), r = e.createElementNS(p, "MainBody"), i = e.createElementNS(p, "BodyContent");
6653
6672
  i.setAttributeNS(m, "xsi:type", "FBD");
6654
6673
  let a = e.createElementNS(p, "Network");
6655
6674
  a.setAttribute("evaluationOrder", "0");
6656
6675
  for (let r of t.children) {
6657
- let t = O(e, r, n);
6676
+ let t = F(e, r, n);
6658
6677
  t && a.appendChild(t);
6659
6678
  }
6660
6679
  return i.appendChild(a), r.appendChild(i), r;
6661
6680
  }
6662
- function E(e) {
6681
+ function N(e) {
6663
6682
  let t = /* @__PURE__ */ new Map(), n = 0, r = (e, r) => {
6664
6683
  let i = String(++n);
6665
6684
  t.set(`${e}|${r}`, i), t.has(`${e}|`) || t.set(`${e}|`, i);
@@ -6678,30 +6697,30 @@ function E(e) {
6678
6697
  }
6679
6698
  return t;
6680
6699
  }
6681
- function D(e, t) {
6700
+ function P(e, t) {
6682
6701
  let n = e.getAttribute("refLocalId") ?? "", r = e.getAttribute("formalParameter") ?? "";
6683
6702
  return t.get(`${n}|${r}`) ?? t.get(`${n}|`);
6684
6703
  }
6685
- function O(e, t, n) {
6704
+ function F(e, t, n) {
6686
6705
  switch (t.localName) {
6687
- case "block": return k(e, t, n);
6688
- case "inVariable": return M(e, t, n);
6689
- case "outVariable": return N(e, t, n);
6690
- case "comment": return P(e, t);
6691
- case "connector": return F(e, t, n);
6692
- case "continuation": return I(e, t, n);
6706
+ case "block": return I(e, t, n);
6707
+ case "inVariable": return z(e, t, n);
6708
+ case "outVariable": return B(e, t, n);
6709
+ case "comment": return V(e, t);
6710
+ case "connector": return H(e, t, n);
6711
+ case "continuation": return U(e, t, n);
6693
6712
  default: return null;
6694
6713
  }
6695
6714
  }
6696
- function k(e, t, n) {
6715
+ function I(e, t, n) {
6697
6716
  let r = e.createElementNS(p, "FbdObject");
6698
6717
  r.setAttributeNS(m, "xsi:type", "Block"), r.setAttribute("typeName", t.getAttribute("typeName") ?? "");
6699
6718
  let i = t.getAttribute("instanceName");
6700
- i && r.setAttribute("instanceName", i), H(e, r, t);
6719
+ i && r.setAttribute("instanceName", i), Y(e, r, t);
6701
6720
  let a = t.querySelectorAll("inputVariables > variable");
6702
6721
  if (a.length) {
6703
6722
  let t = e.createElementNS(p, "InputVariables");
6704
- for (let r of a) t.appendChild(A(e, r, n));
6723
+ for (let r of a) t.appendChild(L(e, r, n));
6705
6724
  r.appendChild(t);
6706
6725
  }
6707
6726
  let o = t.getAttribute("localId") ?? "", s = t.querySelectorAll("outputVariables > variable");
@@ -6709,68 +6728,68 @@ function k(e, t, n) {
6709
6728
  let t = e.createElementNS(p, "OutputVariables");
6710
6729
  for (let r of s) {
6711
6730
  let i = r.getAttribute("formalParameter") ?? "";
6712
- t.appendChild(j(e, i, n.get(`${o}|${i}`)));
6731
+ t.appendChild(R(e, i, n.get(`${o}|${i}`)));
6713
6732
  }
6714
6733
  r.appendChild(t);
6715
6734
  }
6716
6735
  return r;
6717
6736
  }
6718
- function A(e, t, n) {
6737
+ function L(e, t, n) {
6719
6738
  let r = e.createElementNS(p, "InputVariable");
6720
6739
  r.setAttribute("parameterName", t.getAttribute("formalParameter") ?? ""), t.getAttribute("negated") === "true" && r.setAttribute("negated", "true");
6721
6740
  let i = t.getAttribute("edge");
6722
- return i && i !== "none" && r.setAttribute("edge", i), r.appendChild(V(e, t.querySelector("connectionPointIn"), n)), r;
6741
+ return i && i !== "none" && r.setAttribute("edge", i), r.appendChild(J(e, t.querySelector("connectionPointIn"), n)), r;
6723
6742
  }
6724
- function j(e, t, n) {
6743
+ function R(e, t, n) {
6725
6744
  let r = e.createElementNS(p, "OutputVariable");
6726
6745
  r.setAttribute("parameterName", t);
6727
6746
  let i = e.createElementNS(p, "ConnectionPointOut");
6728
6747
  return n && i.setAttribute("connectionPointOutId", n), r.appendChild(i), r;
6729
6748
  }
6730
- function M(e, t, n) {
6749
+ function z(e, t, n) {
6731
6750
  let r = e.createElementNS(p, "FbdObject");
6732
- r.setAttributeNS(m, "xsi:type", "DataSource"), r.setAttribute("identifier", U(t)), H(e, r, t);
6751
+ r.setAttributeNS(m, "xsi:type", "DataSource"), r.setAttribute("identifier", X(t)), Y(e, r, t);
6733
6752
  let i = t.getAttribute("localId") ?? "", a = e.createElementNS(p, "ConnectionPointOut"), o = n.get(`${i}|`);
6734
6753
  return o && a.setAttribute("connectionPointOutId", o), r.appendChild(a), r;
6735
6754
  }
6736
- function N(e, t, n) {
6755
+ function B(e, t, n) {
6737
6756
  let r = e.createElementNS(p, "FbdObject");
6738
- return r.setAttributeNS(m, "xsi:type", "DataSink"), r.setAttribute("identifier", U(t)), H(e, r, t), r.appendChild(V(e, t.querySelector("connectionPointIn"), n)), r;
6757
+ return r.setAttributeNS(m, "xsi:type", "DataSink"), r.setAttribute("identifier", X(t)), Y(e, r, t), r.appendChild(J(e, t.querySelector("connectionPointIn"), n)), r;
6739
6758
  }
6740
- function P(e, t) {
6759
+ function V(e, t) {
6741
6760
  let n = e.createElementNS(p, "CommonObject");
6742
- n.setAttributeNS(m, "xsi:type", "Comment"), H(e, n, t);
6761
+ n.setAttributeNS(m, "xsi:type", "Comment"), Y(e, n, t);
6743
6762
  let r = t.querySelector("content"), i = e.createElementNS(p, "Content");
6744
- return i.setAttributeNS(m, "xsi:type", "SimpleText"), i.setAttribute("value", r ? W(r) : ""), n.appendChild(i), n;
6763
+ return i.setAttributeNS(m, "xsi:type", "SimpleText"), i.textContent = r ? Z(r) : "", n.appendChild(i), n;
6745
6764
  }
6746
- function F(e, t, n) {
6765
+ function H(e, t, n) {
6747
6766
  let r = e.createElementNS(p, "CommonObject");
6748
- return r.setAttributeNS(m, "xsi:type", "Connector"), r.setAttribute("label", t.getAttribute("name") ?? ""), H(e, r, t), r.appendChild(V(e, t.querySelector("connectionPointIn"), n)), r;
6767
+ return r.setAttributeNS(m, "xsi:type", "Connector"), r.setAttribute("label", t.getAttribute("name") ?? ""), Y(e, r, t), r.appendChild(J(e, t.querySelector("connectionPointIn"), n)), r;
6749
6768
  }
6750
- function I(e, t, n) {
6769
+ function U(e, t, n) {
6751
6770
  let r = e.createElementNS(p, "CommonObject");
6752
- r.setAttributeNS(m, "xsi:type", "Continuation"), r.setAttribute("label", t.getAttribute("name") ?? ""), H(e, r, t);
6771
+ r.setAttributeNS(m, "xsi:type", "Continuation"), r.setAttribute("label", t.getAttribute("name") ?? ""), Y(e, r, t);
6753
6772
  let i = t.getAttribute("localId") ?? "", a = e.createElementNS(p, "ConnectionPointOut"), o = n.get(`${i}|`);
6754
6773
  return o && a.setAttribute("connectionPointOutId", o), r.appendChild(a), r;
6755
6774
  }
6756
- var L = {
6775
+ var W = {
6757
6776
  leftPowerRail: "LeftPowerRail",
6758
6777
  rightPowerRail: "RightPowerRail",
6759
6778
  coil: "Coil",
6760
6779
  contact: "Contact"
6761
6780
  };
6762
- function R(e, t) {
6763
- let n = z(t), r = e.createElementNS(p, "MainBody"), i = e.createElementNS(p, "BodyContent");
6781
+ function G(e, t) {
6782
+ let n = K(t), r = e.createElementNS(p, "MainBody"), i = e.createElementNS(p, "BodyContent");
6764
6783
  i.setAttributeNS(m, "xsi:type", "LD");
6765
6784
  let a = e.createElementNS(p, "Rung");
6766
6785
  a.setAttribute("evaluationOrder", "0");
6767
6786
  for (let r of t.children) {
6768
- let t = B(e, r, n);
6787
+ let t = q(e, r, n);
6769
6788
  t && a.appendChild(t);
6770
6789
  }
6771
6790
  return i.appendChild(a), r.appendChild(i), r;
6772
6791
  }
6773
- function z(e) {
6792
+ function K(e) {
6774
6793
  let t = /* @__PURE__ */ new Map(), n = 0;
6775
6794
  for (let r of e.children) if (r.querySelector(":scope > connectionPointOut")) {
6776
6795
  let e = r.getAttribute("localId") ?? "";
@@ -6778,50 +6797,50 @@ function z(e) {
6778
6797
  }
6779
6798
  return t;
6780
6799
  }
6781
- function B(e, t, n) {
6782
- let r = L[t.localName];
6800
+ function q(e, t, n) {
6801
+ let r = W[t.localName];
6783
6802
  if (!r) return null;
6784
6803
  let i = e.createElementNS(p, "LdObject");
6785
6804
  i.setAttributeNS(m, "xsi:type", r), t.getAttribute("negated") === "true" && i.setAttribute("negated", "true");
6786
6805
  let a = t.querySelector("variable");
6787
- a && i.setAttribute("operand", W(a)), H(e, i, t);
6806
+ a && i.setAttribute("operand", Z(a)), Y(e, i, t);
6788
6807
  let o = t.querySelector(":scope > connectionPointIn");
6789
- if (o && i.appendChild(V(e, o, n)), t.querySelector(":scope > connectionPointOut")) {
6808
+ if (o && i.appendChild(J(e, o, n)), t.querySelector(":scope > connectionPointOut")) {
6790
6809
  let r = t.getAttribute("localId") ?? "", a = e.createElementNS(p, "ConnectionPointOut"), o = n.get(`${r}|`);
6791
6810
  o && a.setAttribute("connectionPointOutId", o), i.appendChild(a);
6792
6811
  }
6793
6812
  return i;
6794
6813
  }
6795
- function V(e, t, n) {
6814
+ function J(e, t, n) {
6796
6815
  let r = e.createElementNS(p, "ConnectionPointIn");
6797
6816
  if (!t) return r;
6798
6817
  for (let i of t.querySelectorAll("connection")) {
6799
- let t = D(i, n);
6818
+ let t = P(i, n);
6800
6819
  if (!t) continue;
6801
6820
  let a = e.createElementNS(p, "Connection");
6802
6821
  a.setAttribute("refConnectionPointOutId", t), r.appendChild(a);
6803
6822
  }
6804
6823
  return r;
6805
6824
  }
6806
- function H(e, t, n) {
6825
+ function Y(e, t, n) {
6807
6826
  let r = n.querySelector(":scope > position");
6808
6827
  if (!r) return;
6809
6828
  let i = e.createElementNS(p, "RelPosition");
6810
6829
  i.setAttribute("x", r.getAttribute("x") ?? "0"), i.setAttribute("y", r.getAttribute("y") ?? "0"), t.appendChild(i);
6811
6830
  }
6812
- function U(e) {
6831
+ function X(e) {
6813
6832
  let t = e.querySelector("expression");
6814
- return t ? W(t) : "";
6833
+ return t ? Z(t) : "";
6815
6834
  }
6816
- function W(e) {
6835
+ function Z(e) {
6817
6836
  return e.textContent?.trim() ?? "";
6818
6837
  }
6819
6838
  //#endregion
6820
6839
  //#region src/v1/config/dialecte.config.ts
6821
- var G = {
6840
+ var Q = {
6822
6841
  supportedFileExtensions: [".xml"],
6823
- hooks: { beforeImport: g }
6824
- }, K = { recordSchema: {
6842
+ hooks: { beforeImport: S }
6843
+ }, $ = { recordSchema: {
6825
6844
  primaryKey: "id",
6826
6845
  indexes: [
6827
6846
  "tagName",
@@ -6830,7 +6849,7 @@ var G = {
6830
6849
  ],
6831
6850
  compoundIndexes: [["id", "tagName"]],
6832
6851
  arrayIndexes: ["children.id", "children.tagName"]
6833
- } }, q = {
6852
+ } }, ee = {
6834
6853
  singletonElements: c,
6835
6854
  elements: n,
6836
6855
  namespaces: d,
@@ -6839,10 +6858,10 @@ var G = {
6839
6858
  parents: i,
6840
6859
  descendants: a,
6841
6860
  ancestors: o,
6842
- database: K,
6843
- io: G,
6861
+ database: $,
6862
+ io: Q,
6844
6863
  definition: u,
6845
6864
  rootElementName: s
6846
- }, J = {};
6865
+ }, te = {};
6847
6866
  //#endregion
6848
- export { d as a, G as i, K as n, q as r, J as t };
6867
+ export { d as a, Q as i, $ as n, ee as r, te as t };
@@ -1 +1 @@
1
- {"version":3,"file":"io-hooks.d.ts","sourceRoot":"","sources":["../../../../src/v1/hooks/io/io-hooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAUH;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAG9C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAqDpD;AAsdD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,eAAO,MAAM,QAAQ,EAAE,OAEtB,CAAA"}
1
+ {"version":3,"file":"io-hooks.d.ts","sourceRoot":"","sources":["../../../../src/v1/hooks/io/io-hooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AA8CH;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAG9C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgEpD;AAmfD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,eAAO,MAAM,QAAQ,EAAE,OAEtB,CAAA"}
package/dist/v1/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, n, r, t as i } from "../config-CzSp25dd.js";
1
+ import { a as e, i as t, n, r, t as i } from "../config-Bwx-2aK9.js";
2
2
  import { Project as a } from "@dialecte/core";
3
3
  //#region src/v1/dialecte.ts
4
4
  function o(e) {
package/dist/v1/test.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as e, t } from "../config-CzSp25dd.js";
1
+ import { r as e, t } from "../config-Bwx-2aK9.js";
2
2
  import { CUSTOM_RECORD_ID_ATTRIBUTE as n, CUSTOM_RECORD_ID_ATTRIBUTE_NAME as r, XMLNS_XSI_NAMESPACE as i } from "@dialecte/core/helpers";
3
3
  import { XMLNS_DEV_NAMESPACE as a, createTestProject as o, createTestRecordFactory as s, createTestRunner as c, createXmlAssertions as l } from "@dialecte/core/test";
4
4
  //#region src/v1/test/hydrated-test.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialecte/plc",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Dialecte - PLC (Programmable Logic Controller) sdk",
5
5
  "license": "MIT",
6
6
  "repository": {