@septkit/ui 0.0.77 → 0.0.79
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 +4 -4
- package/dist/dropdown/multi-select.vue_vue_type_script_setup_true_lang.js +40 -31
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/project-key-Ch34EtFa.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/running-operations-vnijBvn7.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/same-json-value-C6kUaoyt.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/utils-USNkj4sT.js +1 -1
- 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.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js} +262 -234
- package/dist/external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js +3 -0
- package/dist/index.d.ts +50 -1
- package/dist/merge/check-files/identity-warning.js +2 -1
- package/dist/merge/confirm/outcome.js +4 -4
- package/dist/merge/done/applied-focus.js +1 -1
- package/dist/merge/match/match.js +4 -4
- package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/merge/session/merge.service.js +25 -19
- package/dist/merge/session/use-merge-session.js +11 -1
- package/dist/merge/wording.js +4 -4
- package/dist/ui.css +1 -1
- package/package.json +3 -3
- 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
- /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/helpers-DVShv41E.js +0 -0
- /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/helpers.js +0 -0
- /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/index.js +0 -0
- /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/utils.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "../../../../../../@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/index.js";
|
|
2
|
+
import { h as e, i as t, o as n, rt as r, v as i } from "../hooks-DpI8_nD9.js";
|
|
3
|
+
export { e as SCL_ERRORS, r as TEMPLATE_NAME, n as TEMPLATE_UUID_WARNING_INFO, i as getPathSegment, t as presentationScope };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { AllowedComponentProps } from 'vue';
|
|
|
4
4
|
import { ApplyResult } from '@dialecte/scl/v2019C1';
|
|
5
5
|
import { AsTag } from 'reka-ui';
|
|
6
6
|
import { Attrs } from 'vue';
|
|
7
|
+
import { AutocompleteAnchorProps } from 'reka-ui';
|
|
7
8
|
import { ComboboxInputProps } from 'reka-ui';
|
|
8
9
|
import { Component } from 'vue';
|
|
9
10
|
import { ComponentCustomProperties } from 'vue';
|
|
@@ -3283,6 +3284,8 @@ export declare type MergeSessionParams = {
|
|
|
3283
3284
|
sourceRef: Scl.Ref<'Function'> | Scl.Ref<'FunctionTemplate'> | Scl.Ref<'Application'> | Scl.Ref<TopologyStructuralTag>;
|
|
3284
3285
|
/** Target parent the instance lives under / is placed into. */
|
|
3285
3286
|
anchor: Scl.Ref<Scl.ElementsOf>;
|
|
3287
|
+
/** Element tags the consumer creates on instances and maintains itself: the merge does not list them as the project's own. */
|
|
3288
|
+
consumerManagedTags?: readonly Scl.ElementsOf[];
|
|
3286
3289
|
/** The consumer's own step after the apply, run by the merge in its preview and its commit. */
|
|
3287
3290
|
afterApply?: AfterApplyHook;
|
|
3288
3291
|
};
|
|
@@ -3486,7 +3489,53 @@ export declare const MultiSelect: DefineComponent<__VLS_PublicProps_2, {}, {}, {
|
|
|
3486
3489
|
color: "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
3487
3490
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
3488
3491
|
separator: string;
|
|
3489
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3492
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3493
|
+
anchor: ({
|
|
3494
|
+
$: ComponentInternalInstance;
|
|
3495
|
+
$data: {};
|
|
3496
|
+
$props: {
|
|
3497
|
+
readonly reference?: ReferenceElement | undefined;
|
|
3498
|
+
readonly asChild?: boolean | undefined;
|
|
3499
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
3500
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
3501
|
+
$attrs: Attrs;
|
|
3502
|
+
$refs: {
|
|
3503
|
+
[x: string]: unknown;
|
|
3504
|
+
};
|
|
3505
|
+
$slots: Readonly<{
|
|
3506
|
+
[name: string]: Slot<any> | undefined;
|
|
3507
|
+
}>;
|
|
3508
|
+
$root: ComponentPublicInstance | null;
|
|
3509
|
+
$parent: ComponentPublicInstance | null;
|
|
3510
|
+
$host: Element | null;
|
|
3511
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3512
|
+
$el: any;
|
|
3513
|
+
$options: ComponentOptionsBase<Readonly<AutocompleteAnchorProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
3514
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3515
|
+
created?: (() => void) | (() => void)[];
|
|
3516
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3517
|
+
mounted?: (() => void) | (() => void)[];
|
|
3518
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3519
|
+
updated?: (() => void) | (() => void)[];
|
|
3520
|
+
activated?: (() => void) | (() => void)[];
|
|
3521
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3522
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3523
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3524
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3525
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3526
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3527
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3528
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3529
|
+
};
|
|
3530
|
+
$forceUpdate: () => void;
|
|
3531
|
+
$nextTick: nextTick;
|
|
3532
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
3533
|
+
} & Readonly<{}> & Omit<Readonly<AutocompleteAnchorProps> & Readonly<{}>, never> & {} & ComponentCustomProperties & {} & {
|
|
3534
|
+
$slots: {
|
|
3535
|
+
default?: (props: {}) => any;
|
|
3536
|
+
};
|
|
3537
|
+
}) | null;
|
|
3538
|
+
}, any>;
|
|
3490
3539
|
|
|
3491
3540
|
export declare type NavNode = {
|
|
3492
3541
|
id: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as e } from "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js";
|
|
2
|
+
import "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
2
3
|
//#region lib/merge/check-files/identity-warning.ts
|
|
3
4
|
function t(t) {
|
|
4
5
|
let r = e[t];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as e, f as t } from "../../external/.pnpm/@dialecte_core@0.8.
|
|
2
|
-
import "../../external/.pnpm/@dialecte_core@0.8.
|
|
3
|
-
import {
|
|
4
|
-
import "../../external/.pnpm/@dialecte_scl@0.
|
|
1
|
+
import { d as e, f as t } from "../../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/helpers-DVShv41E.js";
|
|
2
|
+
import "../../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/helpers.js";
|
|
3
|
+
import { v as n } from "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js";
|
|
4
|
+
import "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
5
5
|
import { extractTitle as r, getAttributes as i } from "../session/merge.service.js";
|
|
6
6
|
import { allGroups as a } from "../review/tree.js";
|
|
7
7
|
import { countAttributeChanges as o, foldOperations as s } from "../session/staged-writes.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region lib/merge/done/applied-focus.ts
|
|
2
2
|
function e(e, n) {
|
|
3
3
|
let { instances: r } = e;
|
|
4
|
-
if (r.verb === "fsd") return r.functions[0];
|
|
4
|
+
if (r.verb === "fsd") return r.functions[0]?.ref;
|
|
5
5
|
if (!(r.verb === "asd" && !r.applications[0])) return r.verb === "ssd" ? t(e) : t(e) ?? n.anchor;
|
|
6
6
|
}
|
|
7
7
|
function t(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as e } from "../../external/.pnpm/@dialecte_core@0.8.
|
|
2
|
-
import "../../external/.pnpm/@dialecte_core@0.8.
|
|
3
|
-
import "../../external/.pnpm/@dialecte_scl@0.
|
|
4
|
-
import "../../external/.pnpm/@dialecte_scl@0.
|
|
1
|
+
import { f as e } from "../../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/helpers-DVShv41E.js";
|
|
2
|
+
import "../../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/helpers.js";
|
|
3
|
+
import "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js";
|
|
4
|
+
import "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
5
5
|
import { extractTitle as t } from "../session/merge.service.js";
|
|
6
6
|
//#region lib/merge/match/match.ts
|
|
7
7
|
async function n(e) {
|
|
@@ -1,49 +1,55 @@
|
|
|
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.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js";
|
|
2
|
+
import "../../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
3
3
|
//#region lib/merge/session/merge.service.ts
|
|
4
|
-
async function t(e, t, n) {
|
|
5
|
-
|
|
4
|
+
async function t({ doc: e, target: t, resolved: n }) {
|
|
5
|
+
let { decisionMappings: r, consumerManagedTags: i } = n;
|
|
6
|
+
if (!r && !i) return e.query.lifecycle.report(t);
|
|
7
|
+
let a = {};
|
|
8
|
+
return r && (a.mappings = r), i && (a.consumerManagedTags = i), e.query.lifecycle.report({
|
|
6
9
|
...t,
|
|
7
|
-
resolution:
|
|
8
|
-
})
|
|
10
|
+
resolution: a
|
|
11
|
+
});
|
|
9
12
|
}
|
|
10
|
-
function n({ decisions: e, decisionMappings: t, keepNameTypesFrom: n,
|
|
13
|
+
function n({ decisions: e, decisionMappings: t, keepNameTypesFrom: n, consumerManagedTags: r, afterApply: i }) {
|
|
11
14
|
return {
|
|
12
15
|
decisions: e,
|
|
13
16
|
mappings: t,
|
|
14
17
|
keepNameTypesFrom: n,
|
|
15
|
-
|
|
18
|
+
consumerManagedTags: r,
|
|
19
|
+
afterApply: i
|
|
16
20
|
};
|
|
17
21
|
}
|
|
18
|
-
async function r({ doc: e, target: t, report: r, decisions: i, decisionMappings: a, keepNameTypesFrom: o,
|
|
19
|
-
let
|
|
22
|
+
async function r({ doc: e, target: t, report: r, decisions: i, decisionMappings: a, keepNameTypesFrom: o, consumerManagedTags: s, afterApply: c }) {
|
|
23
|
+
let l = n({
|
|
20
24
|
decisions: i,
|
|
21
25
|
decisionMappings: a,
|
|
22
26
|
keepNameTypesFrom: o,
|
|
23
|
-
|
|
27
|
+
consumerManagedTags: s,
|
|
28
|
+
afterApply: c
|
|
24
29
|
});
|
|
25
30
|
return { prepared: await e.prepare(async (e) => {
|
|
26
31
|
await e.lifecycle.apply({
|
|
27
32
|
...t,
|
|
28
33
|
report: r,
|
|
29
|
-
resolution:
|
|
34
|
+
resolution: l
|
|
30
35
|
});
|
|
31
36
|
}) };
|
|
32
37
|
}
|
|
33
|
-
async function i({ doc: e, target: t, report: r, decisions: i, decisionMappings: a, keepNameTypesFrom: o,
|
|
34
|
-
let
|
|
38
|
+
async function i({ doc: e, target: t, report: r, decisions: i, decisionMappings: a, keepNameTypesFrom: o, consumerManagedTags: s, afterApply: c }) {
|
|
39
|
+
let l = n({
|
|
35
40
|
decisions: i,
|
|
36
41
|
decisionMappings: a,
|
|
37
42
|
keepNameTypesFrom: o,
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
consumerManagedTags: s,
|
|
44
|
+
afterApply: c
|
|
45
|
+
}), u;
|
|
40
46
|
return await e.transaction(async (e) => {
|
|
41
|
-
|
|
47
|
+
u = await e.lifecycle.apply({
|
|
42
48
|
...t,
|
|
43
49
|
report: r,
|
|
44
|
-
resolution:
|
|
50
|
+
resolution: l
|
|
45
51
|
});
|
|
46
|
-
}),
|
|
52
|
+
}), u;
|
|
47
53
|
}
|
|
48
54
|
function a(t) {
|
|
49
55
|
return e({ verb: t });
|
|
@@ -40,7 +40,14 @@ function p(p) {
|
|
|
40
40
|
await L(), N.value = await t([p.sourceQuery, p.targetDocument.query]), j.value = await s(p.sourceQuery), await $();
|
|
41
41
|
}
|
|
42
42
|
async function L() {
|
|
43
|
-
let e = await te(
|
|
43
|
+
let e = await te({
|
|
44
|
+
doc: p.targetDocument,
|
|
45
|
+
target: P(),
|
|
46
|
+
resolved: {
|
|
47
|
+
decisionMappings: new Map(g),
|
|
48
|
+
consumerManagedTags: p.consumerManagedTags
|
|
49
|
+
}
|
|
50
|
+
});
|
|
44
51
|
m.value = e;
|
|
45
52
|
let t = await re({
|
|
46
53
|
mappings: e.mappings,
|
|
@@ -204,6 +211,7 @@ function p(p) {
|
|
|
204
211
|
decisions: t,
|
|
205
212
|
decisionMappings: new Map(g),
|
|
206
213
|
keepNameTypesFrom: C.value,
|
|
214
|
+
consumerManagedTags: p.consumerManagedTags,
|
|
207
215
|
afterApply: p.afterApply
|
|
208
216
|
});
|
|
209
217
|
if (e !== Z) {
|
|
@@ -275,6 +283,7 @@ function p(p) {
|
|
|
275
283
|
decisions: q(),
|
|
276
284
|
decisionMappings: new Map(g),
|
|
277
285
|
keepNameTypesFrom: C.value,
|
|
286
|
+
consumerManagedTags: p.consumerManagedTags,
|
|
278
287
|
afterApply: p.afterApply
|
|
279
288
|
});
|
|
280
289
|
}
|
|
@@ -292,6 +301,7 @@ function p(p) {
|
|
|
292
301
|
decisions: q(),
|
|
293
302
|
decisionMappings: new Map(g),
|
|
294
303
|
keepNameTypesFrom: C.value,
|
|
304
|
+
consumerManagedTags: p.consumerManagedTags,
|
|
295
305
|
afterApply: p.afterApply
|
|
296
306
|
});
|
|
297
307
|
try {
|
package/dist/merge/wording.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as e, U as t } from "../external/.pnpm/@dialecte_core@0.8.
|
|
2
|
-
import "../external/.pnpm/@dialecte_core@0.8.
|
|
3
|
-
import {
|
|
4
|
-
import "../external/.pnpm/@dialecte_scl@0.
|
|
1
|
+
import { G as e, U as t } from "../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/utils-USNkj4sT.js";
|
|
2
|
+
import "../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/index.js";
|
|
3
|
+
import { h as n } from "../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/hooks-DpI8_nD9.js";
|
|
4
|
+
import "../external/.pnpm/@dialecte_scl@0.13.2_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js";
|
|
5
5
|
//#region lib/merge/wording.ts
|
|
6
6
|
var r = {
|
|
7
7
|
added: "new",
|