@septkit/ui 0.0.57 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +17 -11
- package/dist/diagram-layout/elk-layout-engine.js +71 -0
- package/dist/diagram-layout/index.js +2 -0
- package/dist/dialecte/create-document-store.js +3 -3
- package/dist/external/.pnpm/{@dialecte_core@0.4.12 → @dialecte_core@0.4.16}/node_modules/@dialecte/core/dist/helpers.js +41 -41
- package/dist/external/.pnpm/@dialecte_core@0.4.16/node_modules/@dialecte/core/dist/index.js +3 -0
- package/dist/external/.pnpm/{@dialecte_core@0.4.12/node_modules/@dialecte/core/dist/project-DkMkDgld.js → @dialecte_core@0.4.16/node_modules/@dialecte/core/dist/project-nvZv2ie8.js} +797 -745
- package/dist/external/.pnpm/{@dialecte_core@0.4.12/node_modules/@dialecte/core/dist/utils-C5_11hqg.js → @dialecte_core@0.4.16/node_modules/@dialecte/core/dist/utils-BiEx1x59.js} +2 -2
- package/dist/external/.pnpm/{@dialecte_scl@0.3.15/node_modules/@dialecte/scl/dist/hooks-CLIa7kxj.js → @dialecte_scl@0.3.17/node_modules/@dialecte/scl/dist/hooks-BBGXNK0x.js} +31 -19
- package/dist/external/.pnpm/{@dialecte_scl@0.3.15 → @dialecte_scl@0.3.17}/node_modules/@dialecte/scl/dist/v2019C1/index.js +3 -3
- package/dist/external/.pnpm/elkjs@0.10.2/node_modules/elkjs/lib/elk.bundled.js +46047 -0
- package/dist/index.d.ts +79 -2
- package/dist/index.js +3 -1
- package/dist/merge/build-view-model.js +17 -17
- package/dist/merge/merge-preflight.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/merge/merge.service.js +16 -20
- package/dist/merge/use-merge-session.js +101 -121
- package/package.json +4 -3
- package/dist/external/.pnpm/@dialecte_core@0.4.12/node_modules/@dialecte/core/dist/index.js +0 -3
- package/dist/merge/merge-correlate.js +0 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/@dialecte+core@0.4.
|
|
1
|
+
//#region node_modules/.pnpm/@dialecte+core@0.4.16/node_modules/@dialecte/core/dist/utils-BiEx1x59.js
|
|
2
2
|
var e = {
|
|
3
3
|
UNKNOWN: {
|
|
4
4
|
code: "D0001",
|
|
@@ -229,4 +229,4 @@ function f(e) {
|
|
|
229
229
|
return c.push(...s), c;
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
|
-
export {
|
|
232
|
+
export { r as c, o as d, s as f, e as g, t as h, i as m, f as n, l as o, c as p, d as r, a as s, u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XSI_NAMESPACE as e } from "../../../../../@dialecte_core@0.4.
|
|
2
|
-
//#region node_modules/.pnpm/@dialecte+scl@0.3.
|
|
1
|
+
import { XSI_NAMESPACE as e } from "../../../../../@dialecte_core@0.4.16/node_modules/@dialecte/core/dist/helpers.js";
|
|
2
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.3.17/node_modules/@dialecte/scl/dist/hooks-BBGXNK0x.js
|
|
3
3
|
var t = /* @__PURE__ */ "AccessControl.AccessPoint.Address.AllocationRole.AllocationRoleRef.AnalogueWiringParameters.AnalogueWiringParametersRef.Application.ApplicationSclRef.Association.Authentication.BDA.Bay.BayType.BehaviorDescription.BehaviorDescriptionRef.BehaviorReference.BinaryWiringParameters.BinaryWiringParametersRef.BitRate.CheckoutID.ClientLN.ClientServices.CommProt.Communication.CommunicationServiceSpecifications.ConductingEquipment.ConfDataSet.ConfLNs.ConfLdName.ConfLogControl.ConfReportControl.ConfSG.ConfSigRef.ConnectedAP.ConnectivityNode.ControlRef.ControllingLNode.DA.DAI.DAS.DAType.DO.DOI.DOS.DOType.DataObjectDirectory.DataSet.DataSetDirectory.DataTypeTemplates.DynAssociation.DynDataSet.EnumType.EnumVal.EqFunction.EqSubFunction.ExtCtrl.ExtRef.FCDA.FileHandling.Function.FunctionCatRef.FunctionCategory.FunctionCategoryRef.FunctionRef.FunctionRole.FunctionRoleContent.FunctionSclRef.FunctionTemplate.FunctionalSubVariant.FunctionalVariant.FunctionalVariantGroup.FunctionalVariantRef.GOOSE.GOOSEMcSecurity.GOOSESecurity.GSE.GSEControl.GSEDir.GSESettings.GSSE.GeneralEquipment.GetCBValues.GetDataObjectDefinition.GetDataSetValue.GetDirectory.GooseParameters.GooseParametersRef.Header.History.Hitem.IED.IEDName.IEDSourceFiles.InputVar.InputVarRef.Inputs.IssuerName.KDC.L2CommParameters.L3IPv4CommParameters.L3IPv6CommParameters.LDevice.LN.LN0.LNode.LNodeDataRef.LNodeInputRef.LNodeInputs.LNodeOutputRef.LNodeOutputs.LNodeSpecNaming.LNodeType.Label.Labels.Line.Log.LogControl.LogParameters.LogParametersRef.LogSettings.MaxTime.McSecurity.MinRequestedSCDFile.MinRequestedSCDFiles.MinTime.MultiAPPerSubNet.NeutralPoint.OptFields.OutputVar.OutputVarRef.Outputs.P.PhysConn.PowerSystemRelation.PowerSystemRelationRef.PowerSystemRelations.PowerTransformer.Private.Process.ProcessEcho.ProcessResource.ProcessResourceRef.ProcessResources.Project.ProjectProcessReference.ProtNs.Protocol.ReadWrite.RedProt.ReportControl.ReportParameters.ReportParametersRef.ReportSettings.Resource.RptEnabled.SCL.SCSM.SDI.SDO.SDS.SGEdit.SMV.SMVParameters.SMVParametersRef.SMVSecurity.SMVSettings.SMVsc.SVMcSecurity.SampledValueControl.SamplesPerSec.SclFileReference.SecPerSamples.Security.Server.ServerAt.ServiceSpecifications.Services.SetDataSetValue.SettingControl.SettingGroups.SignalRole.SmpRate.SmvOpts.SourceFiles.SourceRef.SubCategory.SubCheckoutID.SubEquipment.SubFunction.SubFunctionTemplate.SubNetwork.Subject.SubscriberLNode.Substation.SupSubscription.TapChanger.Terminal.Text.TimeSyncProt.TimerActivatedControl.TransformerWinding.TrgOps.Val.ValueHandling.Variable.VariableApplyTo.VariableRef.Voltage.VoltageLevel".split("."), n = {
|
|
4
4
|
AccessControl: {
|
|
5
5
|
tag: "AccessControl",
|
|
@@ -19910,13 +19910,24 @@ var u = {
|
|
|
19910
19910
|
}]
|
|
19911
19911
|
}, d = Object.keys(u);
|
|
19912
19912
|
new Set(d), new Set(Object.values(u).flatMap((e) => e.flatMap((e) => e.target)));
|
|
19913
|
-
var f =
|
|
19913
|
+
var f = [
|
|
19914
|
+
"Substation",
|
|
19915
|
+
"VoltageLevel",
|
|
19916
|
+
"Bay"
|
|
19917
|
+
], p = [
|
|
19918
|
+
"Application",
|
|
19919
|
+
"Function",
|
|
19920
|
+
"FunctionCategory",
|
|
19921
|
+
"AllocationRole",
|
|
19922
|
+
"Variable",
|
|
19923
|
+
"BehaviorDescription"
|
|
19924
|
+
], m = {
|
|
19914
19925
|
direct: "direct",
|
|
19915
19926
|
lnode: "lnode",
|
|
19916
19927
|
iedAddress: "ied-address",
|
|
19917
19928
|
behaviorDescription: "behavior-description",
|
|
19918
19929
|
unsupported: "unsupported"
|
|
19919
|
-
},
|
|
19930
|
+
}, h = {
|
|
19920
19931
|
LN: [{
|
|
19921
19932
|
attribute: "lnType",
|
|
19922
19933
|
target: "LNodeType"
|
|
@@ -19968,7 +19979,7 @@ var f = {
|
|
|
19968
19979
|
}
|
|
19969
19980
|
}]
|
|
19970
19981
|
};
|
|
19971
|
-
function
|
|
19982
|
+
function g(e) {
|
|
19972
19983
|
let t = {};
|
|
19973
19984
|
for (let [n, r] of Object.entries(e)) for (let e of r) {
|
|
19974
19985
|
let r = t[e.resolution] ??= /* @__PURE__ */ new Map();
|
|
@@ -19983,7 +19994,7 @@ function m(e) {
|
|
|
19983
19994
|
}
|
|
19984
19995
|
return t;
|
|
19985
19996
|
}
|
|
19986
|
-
function
|
|
19997
|
+
function _(e) {
|
|
19987
19998
|
let t = /* @__PURE__ */ new Map();
|
|
19988
19999
|
for (let [n, r] of Object.entries(e)) t.set(n, r.map((e) => ({
|
|
19989
20000
|
uuidAttr: e.attribute.uuid,
|
|
@@ -19993,7 +20004,7 @@ function h(e) {
|
|
|
19993
20004
|
})));
|
|
19994
20005
|
return t;
|
|
19995
20006
|
}
|
|
19996
|
-
function
|
|
20007
|
+
function v(e) {
|
|
19997
20008
|
let t = /* @__PURE__ */ new Map();
|
|
19998
20009
|
for (let [n, r] of Object.entries(e)) for (let e of r) {
|
|
19999
20010
|
let r = t.get(e.target) ?? [];
|
|
@@ -20005,23 +20016,24 @@ function g(e) {
|
|
|
20005
20016
|
}
|
|
20006
20017
|
return t;
|
|
20007
20018
|
}
|
|
20008
|
-
|
|
20009
|
-
var
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
|
|
20013
|
-
|
|
20019
|
+
g(u);
|
|
20020
|
+
var y = [
|
|
20021
|
+
m.direct,
|
|
20022
|
+
m.lnode,
|
|
20023
|
+
m.iedAddress,
|
|
20024
|
+
m.behaviorDescription
|
|
20014
20025
|
];
|
|
20015
|
-
[...
|
|
20026
|
+
[...y, m.unsupported], _(u), new Map(Object.entries(u).flatMap(([e, t]) => t.filter((e) => e.attribute.path === "mappedDoName" || e.attribute.path === "mappedDaName").map((t) => [e, {
|
|
20016
20027
|
path: t.attribute.path,
|
|
20017
20028
|
uuid: t.attribute.uuid
|
|
20018
20029
|
}]))), [...new Set(Object.values(u).flatMap((e) => e.map((e) => e.attribute.uuid)))];
|
|
20019
|
-
var
|
|
20020
|
-
new Set(
|
|
20021
|
-
function
|
|
20030
|
+
var b = new Map(Object.entries(h).map(([e, t]) => [e, [...new Set(t.map((e) => e.attribute))]])), x = v(h);
|
|
20031
|
+
new Set(x.keys()), [...n.LNode?.attributes?.identityFields ?? [], ...b.get("LNode") ?? []], new Set(n.LNode.attributes.details.lnClass.facets.enumeration), new Set(Object.values(u).flatMap((e) => e.flatMap((e) => [e.attribute.path, e.attribute.uuid]))), [...f, ...p];
|
|
20032
|
+
function S(e) {
|
|
20022
20033
|
switch (e.verb) {
|
|
20023
20034
|
case "fsd":
|
|
20024
|
-
case "asd":
|
|
20035
|
+
case "asd":
|
|
20036
|
+
case "ssd": return {
|
|
20025
20037
|
rootTag: "Substation",
|
|
20026
20038
|
omit: ["Communication", "IED"],
|
|
20027
20039
|
include: ["DataTypeTemplates"]
|
|
@@ -20030,4 +20042,4 @@ function b(e) {
|
|
|
20030
20042
|
}
|
|
20031
20043
|
new Set(Object.values(a).map((e) => e.uri)), new Set(Object.values(a).map((e) => e.prefix).filter(Boolean));
|
|
20032
20044
|
//#endregion
|
|
20033
|
-
export {
|
|
20045
|
+
export { o as A, n as F, r as N, u as O, a as P, f as S, d as T, p as b, b as g, x as h, S as i, i as j, y as m, h as v, m as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../../../../@dialecte_core@0.4.
|
|
2
|
-
import { i as e } from "../hooks-
|
|
3
|
-
//#region node_modules/.pnpm/@dialecte+scl@0.3.
|
|
1
|
+
import "../../../../../../@dialecte_core@0.4.16/node_modules/@dialecte/core/dist/index.js";
|
|
2
|
+
import { i as e } from "../hooks-BBGXNK0x.js";
|
|
3
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.3.17/node_modules/@dialecte/scl/dist/v2019C1/index.js
|
|
4
4
|
var t = {
|
|
5
5
|
"cross-type-template-uuid": {
|
|
6
6
|
title: "Placeholder templateUuid reused across element types",
|