@septkit/ui 0.0.63 → 0.0.64
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/dialecte/create-document-store.js +3 -3
- package/dist/external/.pnpm/{@dialecte_core@0.5.1 → @dialecte_core@0.5.2}/node_modules/@dialecte/core/dist/helpers.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.5.1 → @dialecte_core@0.5.2}/node_modules/@dialecte/core/dist/index.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.5.1/node_modules/@dialecte/core/dist/project-iCKfhRzr.js → @dialecte_core@0.5.2/node_modules/@dialecte/core/dist/project-Bd3fSPam.js} +10 -10
- package/dist/external/.pnpm/{@dialecte_core@0.5.1 → @dialecte_core@0.5.2}/node_modules/@dialecte/core/dist/utils-ERge2irW.js +1 -1
- package/dist/external/.pnpm/{@dialecte_scl@0.4.1/node_modules/@dialecte/scl/dist/hooks-CZTZsrpD.js → @dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/hooks-2Y_WzKF4.js} +24 -8
- package/dist/external/.pnpm/{@dialecte_scl@0.4.1 → @dialecte_scl@0.5.0}/node_modules/@dialecte/scl/dist/v2019C1/index.js +3 -3
- package/dist/merge/merge-preflight.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/merge/merge.service.js +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "../external/.pnpm/@dialecte_core@0.5.
|
|
2
|
-
import { ht as t } from "../external/.pnpm/@dialecte_core@0.5.
|
|
3
|
-
import "../external/.pnpm/@dialecte_core@0.5.
|
|
1
|
+
import { r as e } from "../external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/utils-ERge2irW.js";
|
|
2
|
+
import { ht as t } from "../external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/project-Bd3fSPam.js";
|
|
3
|
+
import "../external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/index.js";
|
|
4
4
|
import { computed as n, shallowRef as r } from "vue";
|
|
5
5
|
//#region lib/dialecte/create-document-store.ts
|
|
6
6
|
function i(i) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as e, d as t, f as n, g as r, h as i, r as a, s as o, u as s } from "./utils-ERge2irW.js";
|
|
2
|
-
//#region node_modules/.pnpm/@dialecte+core@0.5.
|
|
2
|
+
//#region node_modules/.pnpm/@dialecte+core@0.5.2/node_modules/@dialecte/core/dist/helpers.js
|
|
3
3
|
var c = "db-id", l = {
|
|
4
4
|
uri: "http://dialecte.dev/XML/DEV",
|
|
5
5
|
prefix: "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as e, g as t, h as n, m as r, n as i, p as a, r as o, s } from "./utils-ERge2irW.js";
|
|
2
2
|
import { assertNoFixedViolation as c, isRecordOf as l, standardizeRecord as u, toFullAttributeArray as d, toRawRecord as f, toRef as p, toTreeRecord as m } from "./helpers.js";
|
|
3
|
-
//#region node_modules/.pnpm/@dialecte+core@0.5.
|
|
3
|
+
//#region node_modules/.pnpm/@dialecte+core@0.5.2/node_modules/@dialecte/core/dist/project-Bd3fSPam.js
|
|
4
4
|
var h = Object.create, g = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, v = Object.getOwnPropertyNames, y = Object.getPrototypeOf, b = Object.prototype.hasOwnProperty, x = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), S = (e, t, n, r) => {
|
|
5
5
|
if (t && typeof t == "object" || typeof t == "function") for (var i = v(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !b.call(e, s) && s !== n && g(e, s, {
|
|
6
6
|
get: ((e) => t[e]).bind(null, s),
|
|
@@ -7084,27 +7084,27 @@ var { liveQuery: jt, mergeRanges: J, rangesOverlap: Mt, RangeSet: Nt, cmp: Pt, E
|
|
|
7084
7084
|
this.guardWritable();
|
|
7085
7085
|
let n = this.getTable(e);
|
|
7086
7086
|
if (t.creates) for (let e of t.creates) n.set(e.id, e);
|
|
7087
|
-
if (t.updates) for (let { recordId: e,
|
|
7087
|
+
if (t.updates) for (let { recordId: e, removeAttributes: r, ...i } of t.updates) {
|
|
7088
7088
|
let t = n.get(e);
|
|
7089
7089
|
if (!t) continue;
|
|
7090
|
-
let
|
|
7091
|
-
if (
|
|
7090
|
+
let a = { ...t };
|
|
7091
|
+
if (i.attributes) {
|
|
7092
7092
|
let e = [...t.attributes];
|
|
7093
|
-
for (let t of
|
|
7093
|
+
for (let t of i.attributes) {
|
|
7094
7094
|
let n = e.findIndex((e) => e.name === t.name);
|
|
7095
7095
|
n >= 0 ? e[n] = t : e.push(t);
|
|
7096
7096
|
}
|
|
7097
|
-
|
|
7097
|
+
a.attributes = e;
|
|
7098
7098
|
}
|
|
7099
|
-
if (r.children) {
|
|
7099
|
+
if (r?.length && (a.attributes = a.attributes.filter((e) => !r.includes(e.name))), i.children) {
|
|
7100
7100
|
let e = [...t.children];
|
|
7101
|
-
for (let t of
|
|
7101
|
+
for (let t of i.children) {
|
|
7102
7102
|
let n = e.findIndex((e) => e.id === t.id);
|
|
7103
7103
|
n >= 0 ? e[n] = t : e.push(t);
|
|
7104
7104
|
}
|
|
7105
|
-
|
|
7105
|
+
a.children = e;
|
|
7106
7106
|
}
|
|
7107
|
-
n.set(e,
|
|
7107
|
+
n.set(e, a);
|
|
7108
7108
|
}
|
|
7109
7109
|
if (t.deletes) for (let e of t.deletes) n.delete(e);
|
|
7110
7110
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XSI_NAMESPACE as e } from "../../../../../@dialecte_core@0.5.
|
|
2
|
-
//#region node_modules/.pnpm/@dialecte+scl@0.
|
|
1
|
+
import { XSI_NAMESPACE as e } from "../../../../../@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/helpers.js";
|
|
2
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.5.0/node_modules/@dialecte/scl/dist/hooks-2Y_WzKF4.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
|
AccessPoint: /* @__PURE__ */ "AccessControl.Association.Authentication.ClientLN.ClientServices.CommProt.ConfDataSet.ConfLNs.ConfLdName.ConfLogControl.ConfReportControl.ConfSG.ConfSigRef.DAI.DOI.DataObjectDirectory.DataSet.DataSetDirectory.DynAssociation.DynDataSet.ExtCtrl.ExtRef.FCDA.FileHandling.GOOSE.GOOSEMcSecurity.GOOSESecurity.GSEControl.GSEDir.GSESettings.GSSE.GetCBValues.GetDataObjectDefinition.GetDataSetValue.GetDirectory.IEDName.Inputs.IssuerName.LDevice.LN.LN0.Label.Labels.Log.LogControl.LogSettings.McSecurity.MultiAPPerSubNet.OptFields.Outputs.Private.Protocol.ReadWrite.RedProt.ReportControl.ReportSettings.RptEnabled.SCSM.SDI.SGEdit.SMVSecurity.SMVSettings.SMVsc.SVMcSecurity.SampledValueControl.SamplesPerSec.SecPerSamples.Security.Server.ServerAt.Services.SetDataSetValue.SettingControl.SettingGroups.SmpRate.SmvOpts.Subject.SupSubscription.Text.TimeSyncProt.TimerActivatedControl.TrgOps.Val.ValueHandling".split("."),
|
|
@@ -33933,13 +33933,29 @@ var D = [
|
|
|
33933
33933
|
S.iedAddress,
|
|
33934
33934
|
S.behaviorDescription
|
|
33935
33935
|
];
|
|
33936
|
-
[...D, S.unsupported], T(m)
|
|
33936
|
+
[...D, S.unsupported], T(m);
|
|
33937
|
+
var O = new Map(Object.entries(m).flatMap(([e, t]) => t.filter((e) => e.attribute.path === "mappedDoName" || e.attribute.path === "mappedDaName").map((t) => [e, {
|
|
33937
33938
|
path: t.attribute.path,
|
|
33938
33939
|
uuid: t.attribute.uuid
|
|
33939
|
-
}])))
|
|
33940
|
-
|
|
33941
|
-
new
|
|
33942
|
-
|
|
33940
|
+
}])));
|
|
33941
|
+
j(), new Map([...O].map(([e, t]) => [e, (o[e]?.attributes?.details?.[t.path]?.facets?.pattern ?? []).map((e) => RegExp(`^(?:${e})$`))])), [...new Set(Object.values(m).flatMap((e) => e.map((e) => e.attribute.uuid)))];
|
|
33942
|
+
var k = new Map(Object.entries(C).map(([e, t]) => [e, [...new Set(t.map((e) => e.attribute))]])), A = E(C);
|
|
33943
|
+
new Set(A.keys()), [...o.LNode?.attributes?.identityFields ?? [], ...k.get("LNode") ?? []];
|
|
33944
|
+
function j() {
|
|
33945
|
+
let e = [["LNode", [...o.LNode?.attributes?.identityFields ?? [], "lnUuid"]]];
|
|
33946
|
+
for (let t of ["DOS", "SDS"]) {
|
|
33947
|
+
let n = O.get(t);
|
|
33948
|
+
n && e.push([t, [
|
|
33949
|
+
"name",
|
|
33950
|
+
"ix",
|
|
33951
|
+
n.path,
|
|
33952
|
+
n.uuid
|
|
33953
|
+
]]);
|
|
33954
|
+
}
|
|
33955
|
+
return new Map(e);
|
|
33956
|
+
}
|
|
33957
|
+
new Set(o.LNode.attributes.details.lnClass.facets.enumeration), new Set(Object.values(m).flatMap((e) => e.flatMap((e) => [e.attribute.path, e.attribute.uuid]))), [...g, ..._];
|
|
33958
|
+
function M(e) {
|
|
33943
33959
|
switch (e.verb) {
|
|
33944
33960
|
case "fsd":
|
|
33945
33961
|
case "asd":
|
|
@@ -33952,4 +33968,4 @@ function A(e) {
|
|
|
33952
33968
|
}
|
|
33953
33969
|
new Set(Object.values(l).map((e) => e.uri)), new Set(Object.values(l).map((e) => e.prefix).filter(Boolean));
|
|
33954
33970
|
//#endregion
|
|
33955
|
-
export {
|
|
33971
|
+
export { _ as A, u as B, y as D, h as F, o as G, g as M, m as R, s as U, c as V, l as W, A as _, C as b, D as g, M as i, O as p, k as v, v as w, S as x };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../../../../@dialecte_core@0.5.
|
|
2
|
-
import { i as e } from "../hooks-
|
|
3
|
-
//#region node_modules/.pnpm/@dialecte+scl@0.
|
|
1
|
+
import "../../../../../../@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/index.js";
|
|
2
|
+
import { i as e } from "../hooks-2Y_WzKF4.js";
|
|
3
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.5.0/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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/triangle-alert.js";
|
|
2
|
-
import { TEMPLATE_UUID_WARNING_INFO as t } from "../external/.pnpm/@dialecte_scl@0.
|
|
2
|
+
import { TEMPLATE_UUID_WARNING_INFO as t } from "../external/.pnpm/@dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, openBlock as l, renderList as u, toDisplayString as d, unref as f } from "vue";
|
|
4
4
|
//#region lib/merge/merge-preflight.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var p = { class: "flex h-full min-h-0 flex-col" }, m = { class: "min-h-0 flex-1 overflow-auto p-4" }, h = { class: "mx-auto max-w-2xl space-y-4" }, g = { class: "flex items-start gap-3" }, _ = { class: "border-b border-warning/25 px-3 py-2" }, v = { class: "flex items-center gap-2" }, y = { class: "badge badge-soft badge-warning badge-sm font-medium" }, b = { class: "font-semibold" }, x = { class: "mt-1 text-sm text-base-content/80" }, S = { class: "mt-1 text-sm" }, C = { class: "text-base-content/80" }, w = { class: "divide-y divide-warning/15" }, T = { class: "font-mono break-all" }, E = { class: "text-base-content/70" }, D = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "../external/.pnpm/@dialecte_scl@0.
|
|
2
|
-
import "../external/.pnpm/@dialecte_scl@0.
|
|
1
|
+
import { i as e } from "../external/.pnpm/@dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/hooks-2Y_WzKF4.js";
|
|
2
|
+
import "../external/.pnpm/@dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
3
3
|
//#region lib/merge/merge.service.ts
|
|
4
4
|
async function t(e, t) {
|
|
5
5
|
return e.query.lifecycle.report(t);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@septkit/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "lib/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"./uicss": "./dist/ui.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dialecte/core": "0.5.
|
|
20
|
-
"@dialecte/scl": "0.
|
|
19
|
+
"@dialecte/core": "0.5.2",
|
|
20
|
+
"@dialecte/scl": "0.5.0",
|
|
21
21
|
"@lucide/vue": "^1.16.0",
|
|
22
22
|
"@tailwindcss/vite": "4.2.2",
|
|
23
23
|
"@vueuse/components": "^13.9.0",
|