@dialecte/scl 0.3.7 → 0.3.8

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.
@@ -28114,27 +28114,25 @@ async function Lr(e, t) {
28114
28114
  //#endregion
28115
28115
  //#region src/v2019C1/extensions/lifecycle/report/query/report-function.ts
28116
28116
  async function Rr(e, t) {
28117
- let { sourceQuery: n, functionRef: r, instance: i } = t, a = await sn({
28118
- sourceQuery: n,
28119
- targetQuery: e,
28120
- sourceRootRef: r,
28121
- instanceRootRef: i
28122
- });
28123
- if (!i) return a;
28124
- let o = await Lr(e, {
28117
+ let { sourceQuery: n, functionRef: r, instance: i } = t, a = await Lr(e, {
28125
28118
  sourceQuery: n,
28126
28119
  functionRef: r,
28127
28120
  instance: i,
28128
- report: a
28121
+ report: await sn({
28122
+ sourceQuery: n,
28123
+ targetQuery: e,
28124
+ sourceRootRef: r,
28125
+ instanceRootRef: i
28126
+ })
28129
28127
  });
28130
28128
  return Ir(e, {
28131
28129
  sourceQuery: n,
28132
28130
  primaryRef: r,
28133
- instancePrimaryRef: {
28131
+ instancePrimaryRef: i ? {
28134
28132
  tagName: "Function",
28135
28133
  id: i.id
28136
- },
28137
- report: o
28134
+ } : void 0,
28135
+ report: a
28138
28136
  });
28139
28137
  }
28140
28138
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"report-function.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACpC,GACC,OAAO,CAAC,UAAU,CAAC,CAwBrB"}
1
+ {"version":3,"file":"report-function.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACpC,GACC,OAAO,CAAC,UAAU,CAAC,CA2BrB"}
@@ -1,4 +1,4 @@
1
- import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "../hooks-ByGralT8.js";
1
+ import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "../hooks-DJJN-WU2.js";
2
2
  import { Project as T } from "@dialecte/core";
3
3
  //#region src/v2019C1/dialecte.ts
4
4
  function E(t) {
@@ -1,4 +1,4 @@
1
- import { C as e, n as t, r as n, t as r } from "../hooks-ByGralT8.js";
1
+ import { C as e, n as t, r as n, t as r } from "../hooks-DJJN-WU2.js";
2
2
  import { CUSTOM_RECORD_ID_ATTRIBUTE as i, CUSTOM_RECORD_ID_ATTRIBUTE_NAME as a, XMLNS_XSI_NAMESPACE as o } from "@dialecte/core/helpers";
3
3
  import { XMLNS_DEV_NAMESPACE as s, createTestProject as c, createTestRecordFactory as l, createTestRunner as u, createXmlAssertions as d } from "@dialecte/core/test";
4
4
  //#region src/v2019C1/test/hydrated-test.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialecte/scl",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Dialecte - SCL (Substation Configuration Language) sdk",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -54,7 +54,7 @@
54
54
  "prepare": "husky"
55
55
  },
56
56
  "dependencies": {
57
- "@dialecte/core": "0.4.6"
57
+ "@dialecte/core": "0.4.7"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@dialecte/cli": "0.0.2",