@septkit/ui 0.0.52 → 0.0.53
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.4.9 → @dialecte_core@0.4.11}/node_modules/@dialecte/core/dist/helpers.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.4.9 → @dialecte_core@0.4.11}/node_modules/@dialecte/core/dist/index.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.4.9/node_modules/@dialecte/core/dist/project-D-KS3OPN.js → @dialecte_core@0.4.11/node_modules/@dialecte/core/dist/project-BjO7cVmO.js} +18 -30
- package/dist/external/.pnpm/{@dialecte_core@0.4.9 → @dialecte_core@0.4.11}/node_modules/@dialecte/core/dist/utils-C5_11hqg.js +1 -1
- package/dist/external/.pnpm/{@dialecte_scl@0.3.12/node_modules/@dialecte/scl/dist/hooks-Cm_UYBBt.js → @dialecte_scl@0.3.13/node_modules/@dialecte/scl/dist/hooks-D5DJSztS.js} +3 -2
- package/dist/external/.pnpm/{@dialecte_scl@0.3.12 → @dialecte_scl@0.3.13}/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.4.
|
|
2
|
-
import { ut as t } from "../external/.pnpm/@dialecte_core@0.4.
|
|
3
|
-
import "../external/.pnpm/@dialecte_core@0.4.
|
|
1
|
+
import { r as e } from "../external/.pnpm/@dialecte_core@0.4.11/node_modules/@dialecte/core/dist/utils-C5_11hqg.js";
|
|
2
|
+
import { ut as t } from "../external/.pnpm/@dialecte_core@0.4.11/node_modules/@dialecte/core/dist/project-BjO7cVmO.js";
|
|
3
|
+
import "../external/.pnpm/@dialecte_core@0.4.11/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 { a as e, c as t, l as n, o as r, p as i, r as a, u as o } from "./utils-C5_11hqg.js";
|
|
2
|
-
//#region node_modules/.pnpm/@dialecte+core@0.4.
|
|
2
|
+
//#region node_modules/.pnpm/@dialecte+core@0.4.11/node_modules/@dialecte/core/dist/helpers.js
|
|
3
3
|
var s = "db-id", c = {
|
|
4
4
|
uri: "http://dialecte.dev/XML/DEV",
|
|
5
5
|
prefix: "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, d as t, f as n, n as r, o as i, p as a, r as o } from "./utils-C5_11hqg.js";
|
|
2
2
|
import { assertNoFixedViolation as s, isRecordOf as c, standardizeRecord as l, toFullAttributeArray as u, toRawRecord as d, toRef as f, toTreeRecord as p } from "./helpers.js";
|
|
3
|
-
//#region node_modules/.pnpm/@dialecte+core@0.4.
|
|
3
|
+
//#region node_modules/.pnpm/@dialecte+core@0.4.11/node_modules/@dialecte/core/dist/project-BjO7cVmO.js
|
|
4
4
|
var m = Object.create, h = Object.defineProperty, g = Object.getOwnPropertyDescriptor, _ = Object.getOwnPropertyNames, v = Object.getPrototypeOf, y = Object.prototype.hasOwnProperty, b = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), x = (e, t, n, r) => {
|
|
5
5
|
if (t && typeof t == "object" || typeof t == "function") for (var i = _(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !y.call(e, s) && s !== n && h(e, s, {
|
|
6
6
|
get: ((e) => t[e]).bind(null, s),
|
|
@@ -2677,33 +2677,26 @@ async function tt(e) {
|
|
|
2677
2677
|
function nt(t) {
|
|
2678
2678
|
let { attributes: n, tagName: r } = t;
|
|
2679
2679
|
if (!(!n || !Array.isArray(n))) for (let t of n) {
|
|
2680
|
-
let { name: n } = t;
|
|
2681
|
-
|
|
2680
|
+
let { name: n, namespace: i } = t;
|
|
2681
|
+
n === "xmlns" || n.startsWith("xmlns:") || !n.includes(":") || typeof i == "object" && i?.prefix === n.slice(0, n.indexOf(":")) || a("PREFIXED_ATTRIBUTE_NAME", {
|
|
2682
2682
|
detail: `Attribute '${n}' on '${r}' is prefixed — pass a local name plus its namespace instead: { name: '${e(n)}', namespace }.`,
|
|
2683
2683
|
ref: { tagName: r }
|
|
2684
2684
|
});
|
|
2685
2685
|
}
|
|
2686
2686
|
}
|
|
2687
2687
|
async function rt(e) {
|
|
2688
|
-
let { dialecteConfig: t, hooks: n, context: r, query: i, parentRef: a, record: o
|
|
2689
|
-
dialecteConfig: t,
|
|
2690
|
-
hooks: n,
|
|
2691
|
-
context: r,
|
|
2692
|
-
query: i,
|
|
2693
|
-
parentRef: a,
|
|
2694
|
-
record: o,
|
|
2695
|
-
mappings: c
|
|
2696
|
-
});
|
|
2697
|
-
if (s.push(...c), n?.afterDeepClone) {
|
|
2698
|
-
let e = await n.afterDeepClone({
|
|
2699
|
-
cumulativeCloneMappings: s,
|
|
2700
|
-
query: i
|
|
2701
|
-
});
|
|
2702
|
-
r.stagedOperations.push(...e);
|
|
2703
|
-
}
|
|
2688
|
+
let { dialecteConfig: t, hooks: n, context: r, query: i, parentRef: a, record: o } = e, s = [];
|
|
2704
2689
|
return {
|
|
2705
|
-
record:
|
|
2706
|
-
|
|
2690
|
+
record: await it({
|
|
2691
|
+
dialecteConfig: t,
|
|
2692
|
+
hooks: n,
|
|
2693
|
+
context: r,
|
|
2694
|
+
query: i,
|
|
2695
|
+
parentRef: a,
|
|
2696
|
+
record: o,
|
|
2697
|
+
mappings: s
|
|
2698
|
+
}),
|
|
2699
|
+
mappings: s
|
|
2707
2700
|
};
|
|
2708
2701
|
}
|
|
2709
2702
|
async function it(e) {
|
|
@@ -2942,8 +2935,7 @@ var ut = class extends U {
|
|
|
2942
2935
|
context: this.getContext(),
|
|
2943
2936
|
query: this.query,
|
|
2944
2937
|
parentRef: f(e),
|
|
2945
|
-
record: t
|
|
2946
|
-
cumulativeCloneMappings: []
|
|
2938
|
+
record: t
|
|
2947
2939
|
});
|
|
2948
2940
|
}
|
|
2949
2941
|
};
|
|
@@ -3000,11 +2992,11 @@ async function ft(e) {
|
|
|
3000
2992
|
} catch (e) {
|
|
3001
2993
|
throw i.loading = !1, i.progress = null, e;
|
|
3002
2994
|
}
|
|
3003
|
-
i.lastUpdate = Date.now();
|
|
2995
|
+
i.lastUpdate = Date.now(), i.progress = null;
|
|
3004
2996
|
}
|
|
3005
2997
|
var pt = class extends $e {
|
|
3006
2998
|
constructor(e, t, n, r, i) {
|
|
3007
|
-
super(e, t, n), this.stagedOperations = [], this.recordCache = /* @__PURE__ */ new Map(), this.
|
|
2999
|
+
super(e, t, n), this.stagedOperations = [], this.recordCache = /* @__PURE__ */ new Map(), this.documentActivity = r, this.hooks = i;
|
|
3008
3000
|
}
|
|
3009
3001
|
get any() {
|
|
3010
3002
|
return this._anyTx ??= new ut(() => this.context, this.dialecteConfig, this.hooks, this);
|
|
@@ -3066,8 +3058,7 @@ var pt = class extends $e {
|
|
|
3066
3058
|
context: this.context,
|
|
3067
3059
|
parentRef: f(e),
|
|
3068
3060
|
record: t,
|
|
3069
|
-
query: this
|
|
3070
|
-
cumulativeCloneMappings: this.cumulativeCloneMappings
|
|
3061
|
+
query: this
|
|
3071
3062
|
});
|
|
3072
3063
|
}
|
|
3073
3064
|
getStagedOperations() {
|
|
@@ -3079,9 +3070,6 @@ var pt = class extends $e {
|
|
|
3079
3070
|
clearRecordCache() {
|
|
3080
3071
|
this.recordCache.clear();
|
|
3081
3072
|
}
|
|
3082
|
-
clearCumulativeCloneMappings() {
|
|
3083
|
-
this.cumulativeCloneMappings = [];
|
|
3084
|
-
}
|
|
3085
3073
|
async commit() {
|
|
3086
3074
|
await ft({
|
|
3087
3075
|
stagedOperations: this.stagedOperations,
|
|
@@ -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.11/node_modules/@dialecte/core/dist/helpers.js";
|
|
2
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.3.13/node_modules/@dialecte/scl/dist/hooks-D5DJSztS.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",
|
|
@@ -19362,6 +19362,7 @@ var t = /* @__PURE__ */ "AccessControl.AccessPoint.Address.AllocationRole.Alloca
|
|
|
19362
19362
|
".scd",
|
|
19363
19363
|
".isd",
|
|
19364
19364
|
".icd",
|
|
19365
|
+
".iid",
|
|
19365
19366
|
".xml"
|
|
19366
19367
|
] }, i = {
|
|
19367
19368
|
recordSchema: {
|
|
@@ -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.11/node_modules/@dialecte/core/dist/index.js";
|
|
2
|
+
import { i as e } from "../hooks-D5DJSztS.js";
|
|
3
|
+
//#region node_modules/.pnpm/@dialecte+scl@0.3.13/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.3.
|
|
2
|
+
import { TEMPLATE_UUID_WARNING_INFO as t } from "../external/.pnpm/@dialecte_scl@0.3.13/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.3.
|
|
2
|
-
import "../external/.pnpm/@dialecte_scl@0.3.
|
|
1
|
+
import { i as e } from "../external/.pnpm/@dialecte_scl@0.3.13/node_modules/@dialecte/scl/dist/hooks-D5DJSztS.js";
|
|
2
|
+
import "../external/.pnpm/@dialecte_scl@0.3.13/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.53",
|
|
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.4.
|
|
20
|
-
"@dialecte/scl": "0.3.
|
|
19
|
+
"@dialecte/core": "0.4.11",
|
|
20
|
+
"@dialecte/scl": "0.3.13",
|
|
21
21
|
"@lucide/vue": "^1.16.0",
|
|
22
22
|
"@tailwindcss/vite": "4.2.2",
|
|
23
23
|
"@vueuse/components": "^13.9.0",
|