@septkit/ui 0.0.80 → 0.0.82

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.
Files changed (32) hide show
  1. package/dist/dialecte/create-document-store.js +4 -4
  2. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/dialecte-oAXwOG-Q.js} +69 -69
  3. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/helpers-DVShv41E.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers-D8p0KiJu.js} +1 -1
  4. package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers.js +3 -0
  5. package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/index.js +6 -0
  6. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/project-key-Ch34EtFa.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/project-key-2ccZ-0gu.js} +83 -83
  7. package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.9.0}/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js +1 -1
  8. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/running-operations-vnijBvn7.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/running-operations-DCKvzlU7.js} +2 -2
  9. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/same-json-value-C6kUaoyt.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/same-json-value-_AChwM_n.js} +47 -47
  10. package/dist/external/.pnpm/{@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/utils-USNkj4sT.js → @dialecte_core@0.9.0/node_modules/@dialecte/core/dist/utils-Cv4oHia0.js} +64 -138
  11. package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.9.0}/node_modules/@dialecte/core/dist/utils.js +1 -1
  12. package/dist/external/.pnpm/{@dialecte_scl@0.11.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-F61-rgXT.js → @dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/declaration.constants-DSLNk1wh.js} +262 -234
  13. package/dist/external/.pnpm/@dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js +3 -0
  14. package/dist/index.d.ts +16 -11
  15. package/dist/index.js +12 -12
  16. package/dist/merge/check-files/identity-warning.js +2 -1
  17. package/dist/merge/confirm/outcome.js +4 -4
  18. package/dist/merge/done/applied-focus.js +1 -1
  19. package/dist/merge/match/match.js +4 -4
  20. package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +1 -0
  21. package/dist/merge/session/merge.service.js +25 -19
  22. package/dist/merge/session/use-merge-session.js +11 -1
  23. package/dist/merge/wording.js +4 -4
  24. package/dist/selector-input/index.js +3 -3
  25. package/dist/selector-input/selector-input.js +4 -89
  26. package/dist/selector-input/selector-input.vue_vue_type_script_setup_true_lang.js +91 -89
  27. package/dist/selector-input/selector-xpath.js +92 -0
  28. package/package.json +3 -3
  29. package/dist/external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/helpers.js +0 -3
  30. package/dist/external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/index.js +0 -5
  31. package/dist/external/.pnpm/@dialecte_scl@0.11.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js +0 -22
  32. package/dist/selector-input/selector-input2.js +0 -5
@@ -1,58 +1,57 @@
1
- import { buildXpath as e, parseXpath as t, validateXpath as n } from "./selector-input.js";
2
- import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeModels as l, normalizeClass as u, onBeforeUnmount as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, useModel as _, vModelText as v, watch as y, withDirectives as b } from "vue";
1
+ import { buildXpath as e, parseXpath as t, validateSearchText as n, validateXpath as r } from "./selector-xpath.js";
2
+ import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, mergeModels as u, normalizeClass as d, onBeforeUnmount as f, openBlock as p, reactive as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, useModel as y, vModelText as b, watch as x, withDirectives as S } from "vue";
3
3
  //#region lib/selector-input/selector-input.vue?vue&type=script&setup=true&lang.ts
4
- var x = {
4
+ var C = {
5
5
  class: "flex flex-col gap-2",
6
6
  "data-testid": "selector-input"
7
- }, S = { class: "tabs tabs-box w-fit tabs-sm" }, C = {
7
+ }, w = { class: "tabs tabs-box w-fit tabs-sm" }, T = ["data-testid", "onClick"], E = {
8
8
  key: 0,
9
9
  role: "status",
10
10
  class: "alert alert-soft alert-info py-2 text-sm",
11
11
  "data-testid": "selector-input-custom-hint"
12
- }, w = { class: "fieldset" }, T = { class: "flex flex-wrap gap-2" }, E = [
12
+ }, D = { class: "fieldset" }, O = { class: "flex flex-wrap gap-2" }, k = [
13
13
  "aria-pressed",
14
14
  "data-testid",
15
15
  "onClick"
16
- ], D = {
16
+ ], A = {
17
17
  key: 1,
18
18
  class: "fieldset"
19
- }, O = { class: "fieldset-legend text-sm font-medium" }, k = {
19
+ }, j = { class: "fieldset-legend text-sm font-medium" }, M = {
20
20
  class: "join",
21
21
  role: "group",
22
22
  "aria-label": "Name match"
23
- }, A = [
23
+ }, N = [
24
24
  "aria-pressed",
25
25
  "data-testid",
26
26
  "onClick"
27
- ], ee = [
27
+ ], P = [
28
28
  "value",
29
29
  "aria-label",
30
30
  "placeholder"
31
- ], j = {
32
- key: 0,
33
- class: "label text-error",
34
- role: "alert",
35
- "data-testid": "selector-input-search-error"
36
- }, M = {
31
+ ], F = {
37
32
  key: 1,
38
33
  class: "fieldset"
39
- }, N = ["disabled"], P = {
34
+ }, I = ["disabled"], L = {
40
35
  key: 0,
41
36
  class: "label text-error",
42
37
  role: "alert",
43
38
  "data-testid": "selector-input-error"
44
- }, F = {
45
- key: 1,
39
+ }, R = {
40
+ key: 2,
46
41
  class: "label text-error",
47
42
  role: "alert",
48
43
  "data-testid": "selector-input-search-error"
49
- }, I = /*@__PURE__*/ c({
44
+ }, z = /*@__PURE__*/ l({
50
45
  __name: "selector-input",
51
- props: /*@__PURE__*/ l({
46
+ props: /*@__PURE__*/ u({
52
47
  anchors: {},
53
48
  anywhereLabel: { default: "Anywhere" },
54
49
  targets: { default: () => [] },
55
- nameOwners: { default: () => [] },
50
+ nameParent: {
51
+ type: Boolean,
52
+ default: !1
53
+ },
54
+ nameLabel: { default: "Name" },
56
55
  searchable: {
57
56
  type: Boolean,
58
57
  default: !0
@@ -71,8 +70,14 @@ var x = {
71
70
  invalidModifiers: {}
72
71
  }),
73
72
  emits: ["update:modelValue", "update:invalid"],
74
- setup(c) {
75
- let l = [
73
+ setup(l) {
74
+ let u = l, z = y(l, "modelValue"), B = y(l, "invalid"), V = [{
75
+ value: "builder",
76
+ label: "Builder"
77
+ }, {
78
+ value: "xpath",
79
+ label: "XPath"
80
+ }], H = [
76
81
  {
77
82
  value: "equals",
78
83
  label: "Full name"
@@ -89,92 +94,89 @@ var x = {
89
94
  value: "contains",
90
95
  label: "Contains"
91
96
  }
92
- ], I = c, L = _(c, "modelValue"), R = _(c, "invalid"), z = i(() => t(L.value)), B = p(z.value?.anchor ?? ""), V = p(z.value?.targets ?? I.targets), H = p(z.value?.nameFilter?.match ?? "contains"), U = p(z.value?.nameFilter?.value ?? ""), W = p("builder"), G = i(() => L.value !== "" && z.value === void 0), K = i(() => I.allowXpath ? n(L.value) : void 0), q = i(() => I.nameOwners.length > 0 ? "Search by function name" : "Search by name"), J = i(() => U.value.includes("'") && U.value.includes("\"") ? "Search text must not contain both single and double quotes" : void 0), Y = i(() => !!(J.value || K.value)), X = i(() => [{
93
- value: "",
94
- label: I.anywhereLabel
95
- }, ...I.anchors]);
96
- y(Y, (e) => R.value = e, { immediate: !0 }), d(() => R.value = !1), y(L, (e) => {
97
- let n = t(e);
98
- B.value = n?.anchor ?? "", V.value = n?.targets ?? I.targets, U.value = n?.nameFilter?.value ?? "", n?.nameFilter && (H.value = n.nameFilter.match);
97
+ ], U = h("builder"), W = m({
98
+ anchor: "",
99
+ match: "contains",
100
+ search: ""
99
101
  });
100
- function Z(e) {
101
- B.value = e, $();
102
- }
102
+ Q(z.value), x(z, Q);
103
+ let G = a(() => t(z.value)), K = a(() => z.value !== "" && G.value === void 0), q = a(() => u.allowXpath ? r(z.value) : void 0), J = a(() => n(W.search)), Y = a(() => [{
104
+ value: "",
105
+ label: u.anywhereLabel
106
+ }, ...u.anchors]), X = a(() => `Search by ${u.nameLabel.toLowerCase()}`), Z = a(() => `A custom XPath is in use. Choosing a scope${u.searchable ? " or entering a search" : ""} replaces it.`);
107
+ x(() => !!(J.value || q.value), (e) => B.value = e, { immediate: !0 }), f(() => B.value = !1);
103
108
  function Q(e) {
104
- H.value = e, $();
105
- }
106
- function te(e) {
107
- U.value = e, $();
109
+ let n = t(e);
110
+ if (W.anchor = n?.anchor ?? "", n?.nameFilter) {
111
+ W.search = n.nameFilter.value, W.match = n.nameFilter.match;
112
+ return;
113
+ }
114
+ W.search && (W.search = "", W.match = "contains");
108
115
  }
109
- function $() {
110
- J.value || (L.value = e({
111
- anchor: B.value,
112
- targets: V.value,
116
+ function $(t) {
117
+ Object.assign(W, t), !J.value && (z.value = e({
118
+ anchor: W.anchor,
119
+ targets: G.value?.targets ?? u.targets,
113
120
  nameFilter: {
114
- match: H.value,
115
- value: U.value
121
+ match: W.match,
122
+ value: W.search
116
123
  },
117
- nameOwners: I.nameOwners
124
+ nameParent: G.value?.nameParent ?? u.nameParent
118
125
  }));
119
126
  }
120
- return (e, t) => (f(), o("div", x, [
121
- s("div", S, [s("button", {
122
- type: "button",
123
- class: u(["tab", { "tab-active": W.value === "builder" }]),
124
- "data-testid": "selector-input-mode-builder",
125
- onClick: t[0] ||= (e) => W.value = "builder"
126
- }, " Builder ", 2), s("button", {
127
+ return (e, t) => (p(), s("div", C, [
128
+ c("div", w, [(p(), s(i, null, g(V, (e) => c("button", {
129
+ key: e.value,
127
130
  type: "button",
128
- class: u(["tab", { "tab-active": W.value === "xpath" }]),
129
- "data-testid": "selector-input-mode-xpath",
130
- onClick: t[1] ||= (e) => W.value = "xpath"
131
- }, " XPath ", 2)]),
132
- W.value === "builder" ? (f(), o(r, { key: 0 }, [
133
- G.value ? (f(), o("div", C, g(c.searchable ? "A custom XPath is in use. Choosing a scope or entering a search replaces it." : "A custom XPath is in use. Choosing a scope replaces it."), 1)) : a("", !0),
134
- s("fieldset", w, [t[4] ||= s("legend", { class: "fieldset-legend text-sm font-medium" }, "Scope", -1), s("div", T, [(f(!0), o(r, null, m(X.value, (e) => (f(), o("button", {
131
+ class: d(["tab", { "tab-active": U.value === e.value }]),
132
+ "data-testid": `selector-input-mode-${e.value}`,
133
+ onClick: (t) => U.value = e.value
134
+ }, v(e.label), 11, T)), 64))]),
135
+ U.value === "builder" ? (p(), s(i, { key: 0 }, [
136
+ K.value ? (p(), s("div", E, v(Z.value), 1)) : o("", !0),
137
+ c("fieldset", D, [t[2] ||= c("legend", { class: "fieldset-legend text-sm font-medium" }, "Scope", -1), c("div", O, [(p(!0), s(i, null, g(Y.value, (e) => (p(), s("button", {
135
138
  key: e.value,
136
139
  type: "button",
137
- class: u(["badge badge-sm cursor-pointer", !G.value && B.value === e.value ? "badge-primary" : "badge-soft"]),
138
- "aria-pressed": !G.value && B.value === e.value,
140
+ class: d(["badge badge-sm cursor-pointer", !K.value && W.anchor === e.value ? "badge-primary" : "badge-soft"]),
141
+ "aria-pressed": !K.value && W.anchor === e.value,
139
142
  "data-testid": `selector-input-anchor-${e.value || "none"}`,
140
- onClick: (t) => Z(e.value)
141
- }, g(e.label), 11, E))), 128))])]),
142
- c.searchable ? (f(), o("fieldset", D, [
143
- s("legend", O, g(c.nameOwners.length > 0 ? "Function name" : "Name"), 1),
144
- s("div", k, [(f(), o(r, null, m(l, (e) => s("button", {
143
+ onClick: (t) => $({ anchor: e.value })
144
+ }, v(e.label), 11, k))), 128))])]),
145
+ l.searchable ? (p(), s("fieldset", A, [
146
+ c("legend", j, v(l.nameLabel), 1),
147
+ c("div", M, [(p(), s(i, null, g(H, (e) => c("button", {
145
148
  key: e.value,
146
149
  type: "button",
147
- class: u(["btn btn-sm join-item", { "btn-primary": H.value === e.value }]),
148
- "aria-pressed": H.value === e.value,
150
+ class: d(["btn btn-sm join-item", { "btn-primary": W.match === e.value }]),
151
+ "aria-pressed": W.match === e.value,
149
152
  "data-testid": `selector-input-match-${e.value}`,
150
- onClick: (t) => Q(e.value)
151
- }, g(e.label), 11, A)), 64))]),
152
- s("input", {
153
- value: U.value,
153
+ onClick: (t) => $({ match: e.value })
154
+ }, v(e.label), 11, N)), 64))]),
155
+ c("input", {
156
+ value: W.search,
154
157
  type: "search",
155
- "aria-label": q.value,
156
- class: u(["input input-sm w-full", { "input-error": J.value }]),
157
- placeholder: q.value,
158
+ "aria-label": X.value,
159
+ class: d(["input input-sm w-full", { "input-error": J.value }]),
160
+ placeholder: X.value,
158
161
  "data-testid": "selector-input-search",
159
- onInput: t[2] ||= (e) => te(e.target.value)
160
- }, null, 42, ee),
161
- J.value ? (f(), o("p", j, g(J.value), 1)) : a("", !0)
162
- ])) : a("", !0)
163
- ], 64)) : (f(), o("fieldset", M, [
164
- t[5] ||= s("legend", { class: "fieldset-legend" }, "XPath", -1),
165
- b(s("input", {
166
- "onUpdate:modelValue": t[3] ||= (e) => L.value = e,
162
+ onInput: t[0] ||= (e) => $({ search: e.target.value })
163
+ }, null, 42, P)
164
+ ])) : o("", !0)
165
+ ], 64)) : (p(), s("fieldset", F, [
166
+ t[3] ||= c("legend", { class: "fieldset-legend" }, "XPath", -1),
167
+ S(c("input", {
168
+ "onUpdate:modelValue": t[1] ||= (e) => z.value = e,
167
169
  type: "text",
168
- disabled: !c.allowXpath,
169
- class: u(["input w-full font-mono", { "input-error": K.value }]),
170
+ disabled: !l.allowXpath,
171
+ class: d(["input w-full font-mono", { "input-error": q.value }]),
170
172
  "data-testid": "selector-input-raw"
171
- }, null, 10, N), [[v, L.value]]),
172
- K.value ? (f(), o("p", P, g(K.value), 1)) : a("", !0),
173
- J.value ? (f(), o("p", F, g(J.value), 1)) : a("", !0)
173
+ }, null, 10, I), [[b, z.value]]),
174
+ q.value ? (p(), s("p", L, v(q.value), 1)) : o("", !0)
174
175
  ])),
175
- h(e.$slots, "footer")
176
+ J.value ? (p(), s("p", R, v(J.value), 1)) : o("", !0),
177
+ _(e.$slots, "footer")
176
178
  ]));
177
179
  }
178
180
  });
179
181
  //#endregion
180
- export { I as default };
182
+ export { z as default };
@@ -0,0 +1,92 @@
1
+ //#region lib/selector-input/selector-xpath.ts
2
+ var e = "Search text must not contain both single and double quotes", t = "[\\w.-]+", n = RegExp(`^${t}$`), r = "(?:'[^']*'|\"[^\"]*\")", i = `local-name\\(\\)='${t}'`, a = `${i}(?: or ${i})*`, o = `(?:@name=(${r})|(starts-with|contains)\\(@name,(${r})\\)|substring\\(@name,string-length\\(@name\\)-string-length\\((${r})\\)\\+1\\)=(${r}))`, s = RegExp(`^${o}$`), c = RegExp(`^(?:ancestor::\\*\\[local-name\\(\\)='(?<anchor>${t})'\\]\\[1\\])?//\\*(?:\\[(?<targets>${a})\\])?(?:\\[(?<ownName>${o})\\]|\\[ancestor::\\*\\[${a}\\]\\[1\\]\\[(?<ownerName>${o})\\]\\]|\\[parent::\\*\\[(?<parentName>${o})\\]\\])?$`);
3
+ function l({ anchor: e, targets: t, nameFilter: n, nameParent: r = !1 }) {
4
+ e && x(e), t.forEach(x);
5
+ let i = n?.value ? n : void 0;
6
+ return !e && t.length === 0 && !i ? "" : `${e ? `ancestor::*[local-name()='${e}'][1]` : ""}//*${t.length > 0 ? `[${m(t)}]` : ""}${i ? h(i, r) : ""}`;
7
+ }
8
+ function u(e) {
9
+ let t = c.exec(e)?.groups;
10
+ if (!t) return;
11
+ let { anchor: n = "", targets: r = "", ownName: i, ownerName: a, parentName: o } = t, s = i ?? a ?? o, l = s ? v(s) : void 0;
12
+ if (s && !l || !n && !r && !l) return;
13
+ let u = {
14
+ anchor: n,
15
+ targets: _(r)
16
+ };
17
+ return l ? i ? {
18
+ ...u,
19
+ nameFilter: l
20
+ } : {
21
+ ...u,
22
+ nameFilter: l,
23
+ nameParent: !0
24
+ } : u;
25
+ }
26
+ function d({ match: e, value: t }, n) {
27
+ if (n === void 0) return !1;
28
+ switch (e) {
29
+ case "equals": return n === t;
30
+ case "starts-with": return n.startsWith(t);
31
+ case "ends-with": return n.endsWith(t);
32
+ case "contains": return n.includes(t);
33
+ }
34
+ }
35
+ function f(e) {
36
+ if (e.trim() !== "") try {
37
+ let t = document.implementation.createDocument(null, "root");
38
+ t.evaluate(e, t, null, XPathResult.ANY_TYPE, null);
39
+ return;
40
+ } catch (e) {
41
+ return e instanceof Error && e.message || "Invalid XPath";
42
+ }
43
+ }
44
+ function p(t) {
45
+ return t.includes("'") && t.includes("\"") ? e : void 0;
46
+ }
47
+ function m(e) {
48
+ return e.map((e) => `local-name()='${e}'`).join(" or ");
49
+ }
50
+ function h(e, t) {
51
+ let n = g(e);
52
+ return t ? `[parent::*[${n}]]` : `[${n}]`;
53
+ }
54
+ function g({ match: e, value: t }) {
55
+ let n = y(t);
56
+ switch (e) {
57
+ case "equals": return `@name=${n}`;
58
+ case "starts-with":
59
+ case "contains": return `${e}(@name,${n})`;
60
+ case "ends-with": return `substring(@name,string-length(@name)-string-length(${n})+1)=${n}`;
61
+ }
62
+ }
63
+ function _(e) {
64
+ return [...e.matchAll(/local-name\(\)='([^']+)'/g)].map((e) => e[1]);
65
+ }
66
+ function v(e) {
67
+ let t = s.exec(e);
68
+ if (!t) return;
69
+ let [, n, r, i, a, o] = t;
70
+ return n ? {
71
+ match: "equals",
72
+ value: b(n)
73
+ } : r && i ? {
74
+ match: r,
75
+ value: b(i)
76
+ } : a === o ? {
77
+ match: "ends-with",
78
+ value: b(a)
79
+ } : void 0;
80
+ }
81
+ function y(t) {
82
+ if (p(t)) throw Error(e);
83
+ return t.includes("'") ? `"${t}"` : `'${t}'`;
84
+ }
85
+ function b(e) {
86
+ return e.slice(1, -1);
87
+ }
88
+ function x(e) {
89
+ if (!n.test(e)) throw Error(`Invalid element name "${e}"`);
90
+ }
91
+ //#endregion
92
+ export { l as buildXpath, d as matchName, u as parseXpath, p as validateSearchText, f as validateXpath };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@septkit/ui",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
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.8.0",
20
- "@dialecte/scl": "0.11.0",
19
+ "@dialecte/core": "0.9.0",
20
+ "@dialecte/scl": "0.14.0",
21
21
  "@lucide/vue": "^1.16.0",
22
22
  "@tailwindcss/vite": "4.2.2",
23
23
  "@vueuse/components": "^13.9.0",
@@ -1,3 +0,0 @@
1
- import { R as e } from "./utils-USNkj4sT.js";
2
- import { d as t, f as n, n as r } from "./helpers-DVShv41E.js";
3
- export { e as XSI_NAMESPACE, r as readAttribute, t as toRawRecord, n as toRef };
@@ -1,5 +0,0 @@
1
- import { G as e, H as t, U as n } from "./utils-USNkj4sT.js";
2
- import "./project-key-Ch34EtFa.js";
3
- import "./same-json-value-C6kUaoyt.js";
4
- import { V as r } from "./dialecte-gIPrRzni.js";
5
- export { r as bindExtensions, t as defineErrors, n as isKnownDialecteError, e as toDialecteError };
@@ -1,22 +0,0 @@
1
- import "../../../../../../@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/index.js";
2
- import { _ as e, i as t, m as n, nt as r } from "../hooks-F61-rgXT.js";
3
- //#region node_modules/.pnpm/@dialecte+scl@0.11.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js
4
- var i = {
5
- "cross-type-template-uuid": {
6
- title: "Placeholder templateUuid reused across element types",
7
- description: "One templateUuid is carried by elements of several different types, so it cannot identify a single template element — it is an authoring placeholder, not real lineage.",
8
- fallback: "Template lineage is ignored for these elements: none is recognised as an instance of a template element. A report then lists the template element as new and the existing element as an addition of the project."
9
- },
10
- "duplicate-instance-uuid": {
11
- title: "Duplicate instance uuid",
12
- description: "The same uuid is used by more than one element. Every instance uuid in an SCL must be unique, so uuid-based identity is ambiguous for the affected elements.",
13
- fallback: "Identity by uuid is ambiguous for the affected elements: which of them a reference or a template element resolves to is not defined."
14
- },
15
- "template-uuid-type-mismatch": {
16
- title: "templateUuid resolves to a different element type",
17
- description: "A templateUuid points in-file to an element of a different type than the one carrying it. An instance cannot derive from a template of another type, so the lineage is inconsistent.",
18
- fallback: "The mismatched lineage is ignored: the element is not recognised as an instance of a template element. A report then lists the template element as new and the existing element as an addition of the project."
19
- }
20
- };
21
- //#endregion
22
- export { n as SCL_ERRORS, r as TEMPLATE_NAME, i as TEMPLATE_UUID_WARNING_INFO, e as getPathSegment, t as presentationScope };
@@ -1,5 +0,0 @@
1
- import e from "./selector-input.vue_vue_type_script_setup_true_lang.js";
2
- //#region lib/selector-input/selector-input.vue
3
- var t = e;
4
- //#endregion
5
- export { t as default };