@septkit/ui 0.0.82 → 0.0.84
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/external/.pnpm/{@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/dialecte-oAXwOG-Q.js → @dialecte_core@0.10.0/node_modules/@dialecte/core/dist/dialecte-CVLWSkgW.js} +1 -1
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/helpers-D8p0KiJu.js +130 -0
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/index.js +6 -0
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/project-key-2ccZ-0gu.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/running-operations-DCKvzlU7.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/same-json-value-_AChwM_n.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/utils-Cv4oHia0.js +79 -102
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/utils.js +2 -0
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/loader-circle.js +8 -0
- package/dist/external/.pnpm/@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +67 -125
- package/dist/external/.pnpm/@vueuse_shared@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +167 -78
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js +126 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardContentImpl.js +170 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js +73 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js +64 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/utils.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContent.js +133 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentImpl.js +165 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentModal.js +137 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentNonModal.js +130 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverPortal.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverRoot.js +54 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverTrigger.js +55 -0
- package/dist/index.d.ts +108 -1939
- package/dist/index.js +24 -27
- package/dist/status-bar/index.js +5 -0
- package/dist/status-bar/progress-bar.js +7 -0
- package/dist/status-bar/progress-bar.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/status-bar/spinner.js +7 -0
- package/dist/status-bar/spinner.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/status-bar/status-bar-item.js +8 -0
- package/dist/status-bar/status-bar-item.vue_vue_type_script_setup_true_lang.js +138 -0
- package/dist/status-bar/status-bar.js +7 -0
- package/dist/status-bar/status-bar.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/ui.css +1 -1
- package/package.json +3 -3
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers-D8p0KiJu.js +0 -179
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers.js +0 -3
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/index.js +0 -6
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/utils.js +0 -2
- package/dist/external/.pnpm/@dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/declaration.constants-DSLNk1wh.js +0 -45065
- 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 +0 -3
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/arrow-right.js +0 -11
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/list-tree.js +0 -26
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +0 -27
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperItem.js +0 -67
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperRoot.js +0 -136
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTitle.js +0 -28
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +0 -97
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js +0 -31
- package/dist/merge/check-files/components/merge-preflight.js +0 -5
- package/dist/merge/check-files/components/merge-preflight.vue_vue_type_script_setup_true_lang.js +0 -53
- package/dist/merge/check-files/flags.js +0 -17
- package/dist/merge/check-files/identity-warning.js +0 -19
- package/dist/merge/confirm/components/merge-summary.js +0 -5
- package/dist/merge/confirm/components/merge-summary.vue_vue_type_script_setup_true_lang.js +0 -207
- package/dist/merge/confirm/landings.js +0 -34
- package/dist/merge/confirm/outcome.js +0 -179
- package/dist/merge/confirm/summary.js +0 -57
- package/dist/merge/done/applied-counts.js +0 -16
- package/dist/merge/done/applied-focus.js +0 -15
- package/dist/merge/help.js +0 -76
- package/dist/merge/index.js +0 -8
- package/dist/merge/match/components/merge-map.js +0 -5
- package/dist/merge/match/components/merge-map.vue_vue_type_script_setup_true_lang.js +0 -230
- package/dist/merge/match/match.js +0 -210
- package/dist/merge/review/affix.js +0 -14
- package/dist/merge/review/change-badge.js +0 -10
- package/dist/merge/review/components/decision-toggle.js +0 -5
- package/dist/merge/review/components/decision-toggle.vue_vue_type_script_setup_true_lang.js +0 -80
- package/dist/merge/review/components/element-detail.js +0 -5
- package/dist/merge/review/components/element-detail.vue_vue_type_script_setup_true_lang.js +0 -210
- package/dist/merge/review/components/merge-tree.js +0 -5
- package/dist/merge/review/components/merge-tree.vue_vue_type_script_setup_true_lang.js +0 -192
- package/dist/merge/review/components/type-name-authority.js +0 -5
- package/dist/merge/review/components/type-name-authority.vue_vue_type_script_setup_true_lang.js +0 -47
- package/dist/merge/review/decision.js +0 -12
- package/dist/merge/review/detail.js +0 -63
- package/dist/merge/review/highlight.js +0 -44
- package/dist/merge/review/marks.js +0 -17
- package/dist/merge/review/navigation.js +0 -82
- package/dist/merge/review/title.js +0 -7
- package/dist/merge/review/tree.js +0 -138
- package/dist/merge/session/components/merge-help.js +0 -7
- package/dist/merge/session/components/merge-help.vue_vue_type_script_setup_true_lang.js +0 -109
- package/dist/merge/session/components/merge-progress.js +0 -5
- package/dist/merge/session/components/merge-progress.vue_vue_type_script_setup_true_lang.js +0 -23
- package/dist/merge/session/components/merge-review.js +0 -5
- package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +0 -895
- package/dist/merge/session/merge.service.js +0 -113
- package/dist/merge/session/shortcuts.js +0 -22
- package/dist/merge/session/staged-writes.js +0 -47
- package/dist/merge/session/steps.js +0 -21
- package/dist/merge/session/use-document-progress.js +0 -26
- package/dist/merge/session/use-merge-session.js +0 -372
- package/dist/merge/wording.js +0 -123
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import "../../../../../../@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/index.js";
|
|
2
|
-
import { g as e, i as t, n, p as r, tt as i } from "../declaration.constants-DSLNk1wh.js";
|
|
3
|
-
export { r as SCL_ERRORS, i as TEMPLATE_NAME, t as TEMPLATE_UUID_WARNING_INFO, e as getPathSegment, n as presentationScope };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import e from "../createLucideIcon.js";
|
|
2
|
-
//#region node_modules/.pnpm/@lucide+vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/arrow-right.mjs
|
|
3
|
-
var t = [["path", {
|
|
4
|
-
d: "M5 12h14",
|
|
5
|
-
key: "1ays0h"
|
|
6
|
-
}], ["path", {
|
|
7
|
-
d: "m12 5 7 7-7 7",
|
|
8
|
-
key: "xquz4c"
|
|
9
|
-
}]], n = e("arrow-right", t);
|
|
10
|
-
//#endregion
|
|
11
|
-
export { t as __iconNode, n as default };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import e from "../createLucideIcon.js";
|
|
2
|
-
//#region node_modules/.pnpm/@lucide+vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/list-tree.mjs
|
|
3
|
-
var t = [
|
|
4
|
-
["path", {
|
|
5
|
-
d: "M8 5h13",
|
|
6
|
-
key: "1pao27"
|
|
7
|
-
}],
|
|
8
|
-
["path", {
|
|
9
|
-
d: "M13 12h8",
|
|
10
|
-
key: "h98zly"
|
|
11
|
-
}],
|
|
12
|
-
["path", {
|
|
13
|
-
d: "M13 19h8",
|
|
14
|
-
key: "c3s6r1"
|
|
15
|
-
}],
|
|
16
|
-
["path", {
|
|
17
|
-
d: "M3 10a2 2 0 0 0 2 2h3",
|
|
18
|
-
key: "1npucw"
|
|
19
|
-
}],
|
|
20
|
-
["path", {
|
|
21
|
-
d: "M3 5v12a2 2 0 0 0 2 2h3",
|
|
22
|
-
key: "x1gjn2"
|
|
23
|
-
}]
|
|
24
|
-
], n = e("list-tree", t);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { t as __iconNode, n as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useForwardExpose as e } from "../shared/useForwardExpose.js";
|
|
2
|
-
import { Primitive as t } from "../Primitive/Primitive.js";
|
|
3
|
-
import { injectStepperItemContext as n } from "./StepperItem.js";
|
|
4
|
-
import { createBlock as r, createTextVNode as i, defineComponent as a, guardReactiveProps as o, normalizeProps as s, openBlock as c, renderSlot as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
|
|
5
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperIndicator.js
|
|
6
|
-
var p = /* @__PURE__ */ a({
|
|
7
|
-
__name: "StepperIndicator",
|
|
8
|
-
props: {
|
|
9
|
-
asChild: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
required: !1
|
|
12
|
-
},
|
|
13
|
-
as: {
|
|
14
|
-
type: null,
|
|
15
|
-
required: !1
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(a) {
|
|
19
|
-
let p = a, m = n();
|
|
20
|
-
return e(), (e, n) => (c(), r(d(t), s(o(p)), {
|
|
21
|
-
default: f(() => [l(e.$slots, "default", { step: d(m).step.value }, () => [i(" Step " + u(d(m).step.value), 1)])]),
|
|
22
|
-
_: 3
|
|
23
|
-
}, 16));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
|
-
export { p as StepperIndicator_default };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { createContext as e } from "../shared/createContext.js";
|
|
2
|
-
import { useForwardExpose as t } from "../shared/useForwardExpose.js";
|
|
3
|
-
import { useId as n } from "../shared/useId.js";
|
|
4
|
-
import { Primitive as r } from "../Primitive/Primitive.js";
|
|
5
|
-
import { injectStepperRootContext as i } from "./StepperRoot.js";
|
|
6
|
-
import { computed as a, createBlock as o, defineComponent as s, openBlock as c, renderSlot as l, toRefs as u, unref as d, withCtx as f } from "vue";
|
|
7
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperItem.js
|
|
8
|
-
var [p, m] = /*#__PURE__*/ e("StepperItem"), h = /* @__PURE__ */ s({
|
|
9
|
-
__name: "StepperItem",
|
|
10
|
-
props: {
|
|
11
|
-
step: {
|
|
12
|
-
type: Number,
|
|
13
|
-
required: !0
|
|
14
|
-
},
|
|
15
|
-
disabled: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
required: !1,
|
|
18
|
-
default: !1
|
|
19
|
-
},
|
|
20
|
-
completed: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
required: !1,
|
|
23
|
-
default: !1
|
|
24
|
-
},
|
|
25
|
-
asChild: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
required: !1
|
|
28
|
-
},
|
|
29
|
-
as: {
|
|
30
|
-
type: null,
|
|
31
|
-
required: !1
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
setup(e) {
|
|
35
|
-
let { disabled: s, step: p, completed: h } = u(e), { forwardRef: g } = t(), _ = i(), v = n(void 0, "reka-stepper-item-title"), y = n(void 0, "reka-stepper-item-description"), b = a(() => h.value ? "completed" : _.modelValue.value === p.value ? "active" : _.modelValue.value > p.value ? "completed" : "inactive"), x = a(() => s.value ? !1 : _.linear.value ? p.value <= _.modelValue.value || p.value === _.modelValue.value + 1 : !0);
|
|
36
|
-
return m({
|
|
37
|
-
titleId: v,
|
|
38
|
-
descriptionId: y,
|
|
39
|
-
state: b,
|
|
40
|
-
disabled: s,
|
|
41
|
-
step: p,
|
|
42
|
-
isFocusable: x
|
|
43
|
-
}), (e, t) => (c(), o(d(r), {
|
|
44
|
-
ref: d(g),
|
|
45
|
-
as: e.as,
|
|
46
|
-
"as-child": e.asChild,
|
|
47
|
-
"aria-current": b.value === "active" ? "true" : void 0,
|
|
48
|
-
"data-state": b.value,
|
|
49
|
-
disabled: d(s) || !x.value ? "" : void 0,
|
|
50
|
-
"data-disabled": d(s) || !x.value ? "" : void 0,
|
|
51
|
-
"data-orientation": d(_).orientation.value
|
|
52
|
-
}, {
|
|
53
|
-
default: f(() => [l(e.$slots, "default", { state: b.value })]),
|
|
54
|
-
_: 3
|
|
55
|
-
}, 8, [
|
|
56
|
-
"as",
|
|
57
|
-
"as-child",
|
|
58
|
-
"aria-current",
|
|
59
|
-
"data-state",
|
|
60
|
-
"disabled",
|
|
61
|
-
"data-disabled",
|
|
62
|
-
"data-orientation"
|
|
63
|
-
]));
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
//#endregion
|
|
67
|
-
export { h as StepperItem_default, p as injectStepperItemContext };
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { useVModel as e } from "../../../../../@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js";
|
|
2
|
-
import { createContext as t } from "../shared/createContext.js";
|
|
3
|
-
import { useDirection as n } from "../shared/useDirection.js";
|
|
4
|
-
import { useForwardExpose as r } from "../shared/useForwardExpose.js";
|
|
5
|
-
import { Primitive as i } from "../Primitive/Primitive.js";
|
|
6
|
-
import { computed as a, createBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, toRefs as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
7
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperRoot.js
|
|
8
|
-
var v = {
|
|
9
|
-
"aria-live": "polite",
|
|
10
|
-
"aria-atomic": "true",
|
|
11
|
-
role: "status",
|
|
12
|
-
style: {
|
|
13
|
-
transform: "translateX(-100%)",
|
|
14
|
-
position: "absolute",
|
|
15
|
-
pointerEvents: "none",
|
|
16
|
-
opacity: 0,
|
|
17
|
-
margin: 0
|
|
18
|
-
}
|
|
19
|
-
}, [y, b] = /*#__PURE__*/ t("StepperRoot"), x = /* @__PURE__ */ c({
|
|
20
|
-
__name: "StepperRoot",
|
|
21
|
-
props: {
|
|
22
|
-
defaultValue: {
|
|
23
|
-
type: Number,
|
|
24
|
-
required: !1,
|
|
25
|
-
default: 1
|
|
26
|
-
},
|
|
27
|
-
orientation: {
|
|
28
|
-
type: String,
|
|
29
|
-
required: !1,
|
|
30
|
-
default: "horizontal"
|
|
31
|
-
},
|
|
32
|
-
dir: {
|
|
33
|
-
type: String,
|
|
34
|
-
required: !1
|
|
35
|
-
},
|
|
36
|
-
modelValue: {
|
|
37
|
-
type: Number,
|
|
38
|
-
required: !1
|
|
39
|
-
},
|
|
40
|
-
linear: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
required: !1,
|
|
43
|
-
default: !0
|
|
44
|
-
},
|
|
45
|
-
asChild: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
required: !1
|
|
48
|
-
},
|
|
49
|
-
as: {
|
|
50
|
-
type: null,
|
|
51
|
-
required: !1
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
emits: ["update:modelValue"],
|
|
55
|
-
setup(t, { expose: c, emit: y }) {
|
|
56
|
-
let x = t, S = y, { dir: C, orientation: w, linear: T } = m(x), E = n(C), D = d(/* @__PURE__ */ new Set()), O = e(x, "modelValue", S, {
|
|
57
|
-
defaultValue: x.defaultValue,
|
|
58
|
-
passive: x.modelValue === void 0
|
|
59
|
-
}), k = a(() => Array.from(D.value)), A = a(() => O.value === 1), j = a(() => O.value === k.value.length), M = a(() => D.value.size);
|
|
60
|
-
function N(e) {
|
|
61
|
-
e > M.value || e < 1 || D.value.size && k.value[e] && k.value[e].getAttribute("disabled") || T.value && e > (O.value ?? 1) + 1 || (O.value = e);
|
|
62
|
-
}
|
|
63
|
-
function P() {
|
|
64
|
-
N((O.value ?? 1) + 1);
|
|
65
|
-
}
|
|
66
|
-
function F() {
|
|
67
|
-
N((O.value ?? 1) - 1);
|
|
68
|
-
}
|
|
69
|
-
function I() {
|
|
70
|
-
return (O.value ?? 1) < M.value;
|
|
71
|
-
}
|
|
72
|
-
function L() {
|
|
73
|
-
return (O.value ?? 1) > 1;
|
|
74
|
-
}
|
|
75
|
-
let R = d(null), z = d(null), B = a(() => R.value ? R.value.getAttribute("disabled") === "" : !0), V = a(() => z.value ? z.value.getAttribute("disabled") === "" : !0);
|
|
76
|
-
return g(O, async () => {
|
|
77
|
-
await l(() => {
|
|
78
|
-
R.value = k.value.length && O.value < k.value.length ? k.value[O.value] : null, z.value = k.value.length && O.value > 1 ? k.value[O.value - 2] : null;
|
|
79
|
-
});
|
|
80
|
-
}), g(k, async () => {
|
|
81
|
-
await l(() => {
|
|
82
|
-
R.value = k.value.length && O.value < k.value.length ? k.value[O.value] : null, z.value = k.value.length && O.value > 1 ? k.value[O.value - 2] : null;
|
|
83
|
-
});
|
|
84
|
-
}), b({
|
|
85
|
-
modelValue: O,
|
|
86
|
-
changeModelValue: (e) => {
|
|
87
|
-
O.value = e;
|
|
88
|
-
},
|
|
89
|
-
orientation: w,
|
|
90
|
-
dir: E,
|
|
91
|
-
linear: T,
|
|
92
|
-
totalStepperItems: D
|
|
93
|
-
}), c({
|
|
94
|
-
goToStep: N,
|
|
95
|
-
nextStep: P,
|
|
96
|
-
prevStep: F,
|
|
97
|
-
modelValue: O,
|
|
98
|
-
totalSteps: M,
|
|
99
|
-
isNextDisabled: B,
|
|
100
|
-
isPrevDisabled: V,
|
|
101
|
-
isFirstStep: A,
|
|
102
|
-
isLastStep: j,
|
|
103
|
-
hasNext: I,
|
|
104
|
-
hasPrev: L
|
|
105
|
-
}), r(), (e, t) => (u(), o(h(i), {
|
|
106
|
-
role: "group",
|
|
107
|
-
"aria-label": "progress",
|
|
108
|
-
as: e.as,
|
|
109
|
-
"as-child": e.asChild,
|
|
110
|
-
"data-linear": h(T) ? "" : void 0,
|
|
111
|
-
"data-orientation": e.orientation
|
|
112
|
-
}, {
|
|
113
|
-
default: _(() => [f(e.$slots, "default", {
|
|
114
|
-
modelValue: h(O),
|
|
115
|
-
totalSteps: D.value.size,
|
|
116
|
-
isNextDisabled: B.value,
|
|
117
|
-
isPrevDisabled: V.value,
|
|
118
|
-
isFirstStep: A.value,
|
|
119
|
-
isLastStep: j.value,
|
|
120
|
-
goToStep: N,
|
|
121
|
-
nextStep: P,
|
|
122
|
-
prevStep: F,
|
|
123
|
-
hasNext: I,
|
|
124
|
-
hasPrev: L
|
|
125
|
-
}), s("div", v, " Step " + p(h(O)) + " of " + p(D.value.size), 1)]),
|
|
126
|
-
_: 3
|
|
127
|
-
}, 8, [
|
|
128
|
-
"as",
|
|
129
|
-
"as-child",
|
|
130
|
-
"data-linear",
|
|
131
|
-
"data-orientation"
|
|
132
|
-
]));
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
//#endregion
|
|
136
|
-
export { x as StepperRoot_default, y as injectStepperRootContext };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { useForwardExpose as e } from "../shared/useForwardExpose.js";
|
|
2
|
-
import { Primitive as t } from "../Primitive/Primitive.js";
|
|
3
|
-
import { injectStepperItemContext as n } from "./StepperItem.js";
|
|
4
|
-
import { createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
5
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTitle.js
|
|
6
|
-
var u = /* @__PURE__ */ i({
|
|
7
|
-
__name: "StepperTitle",
|
|
8
|
-
props: {
|
|
9
|
-
asChild: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
required: !1
|
|
12
|
-
},
|
|
13
|
-
as: {
|
|
14
|
-
type: null,
|
|
15
|
-
required: !1,
|
|
16
|
-
default: "h4"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(i) {
|
|
20
|
-
let u = i, d = n();
|
|
21
|
-
return e(), (e, n) => (o(), r(c(t), a(u, { id: c(d).titleId }), {
|
|
22
|
-
default: l(() => [s(e.$slots, "default")]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 16, ["id"]));
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
export { u as StepperTitle_default };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getActiveElement as e } from "../shared/getActiveElement.js";
|
|
2
|
-
import { useArrowNavigation as t } from "../shared/useArrowNavigation.js";
|
|
3
|
-
import { useForwardExpose as n } from "../shared/useForwardExpose.js";
|
|
4
|
-
import { useKbd as r } from "../shared/useKbd.js";
|
|
5
|
-
import { Primitive as i } from "../Primitive/Primitive.js";
|
|
6
|
-
import { injectStepperRootContext as a } from "./StepperRoot.js";
|
|
7
|
-
import { injectStepperItemContext as o } from "./StepperItem.js";
|
|
8
|
-
import { computed as s, createBlock as c, defineComponent as l, onMounted as u, onUnmounted as d, openBlock as f, renderSlot as p, unref as m, withCtx as h, withKeys as g, withModifiers as _ } from "vue";
|
|
9
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTrigger.js
|
|
10
|
-
var v = /* @__PURE__ */ l({
|
|
11
|
-
__name: "StepperTrigger",
|
|
12
|
-
props: {
|
|
13
|
-
asChild: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
required: !1
|
|
16
|
-
},
|
|
17
|
-
as: {
|
|
18
|
-
type: null,
|
|
19
|
-
required: !1,
|
|
20
|
-
default: "button"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(l) {
|
|
24
|
-
let v = a(), y = o(), b = r(), x = s(() => Array.from(v.totalStepperItems.value));
|
|
25
|
-
function S(e) {
|
|
26
|
-
if (!y.disabled.value) {
|
|
27
|
-
if (v.linear.value) {
|
|
28
|
-
if ((y.step.value <= v.modelValue.value || y.step.value === v.modelValue.value + 1) && e.ctrlKey === !1) {
|
|
29
|
-
v.changeModelValue(y.step.value);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
} else if (e.ctrlKey === !1) {
|
|
33
|
-
v.changeModelValue(y.step.value);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
e.preventDefault();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function C(n) {
|
|
40
|
-
n.preventDefault(), !y.disabled.value && ((n.key === b.ENTER || n.key === b.SPACE) && !n.ctrlKey && !n.shiftKey && v.changeModelValue(y.step.value), [
|
|
41
|
-
b.ARROW_LEFT,
|
|
42
|
-
b.ARROW_RIGHT,
|
|
43
|
-
b.ARROW_UP,
|
|
44
|
-
b.ARROW_DOWN
|
|
45
|
-
].includes(n.key) && t(n, e(), void 0, {
|
|
46
|
-
itemsArray: x.value,
|
|
47
|
-
focus: !0,
|
|
48
|
-
loop: !1,
|
|
49
|
-
arrowKeyOptions: v.orientation.value,
|
|
50
|
-
dir: v.dir.value
|
|
51
|
-
}));
|
|
52
|
-
}
|
|
53
|
-
let { forwardRef: w, currentElement: T } = n();
|
|
54
|
-
return u(() => {
|
|
55
|
-
v.totalStepperItems.value.add(T.value);
|
|
56
|
-
}), d(() => {
|
|
57
|
-
v.totalStepperItems.value.delete(T.value);
|
|
58
|
-
}), (e, t) => (f(), c(m(i), {
|
|
59
|
-
ref: m(w),
|
|
60
|
-
type: e.as === "button" ? "button" : void 0,
|
|
61
|
-
as: e.as,
|
|
62
|
-
"as-child": e.asChild,
|
|
63
|
-
"data-state": m(y).state.value,
|
|
64
|
-
disabled: m(y).disabled.value || !m(y).isFocusable.value ? "" : void 0,
|
|
65
|
-
"data-disabled": m(y).disabled.value || !m(y).isFocusable.value ? "" : void 0,
|
|
66
|
-
"data-orientation": m(v).orientation.value,
|
|
67
|
-
tabindex: m(y).isFocusable.value ? 0 : -1,
|
|
68
|
-
"aria-describedby": m(y).descriptionId,
|
|
69
|
-
"aria-labelledby": m(y).titleId,
|
|
70
|
-
onMousedown: _(S, ["left"]),
|
|
71
|
-
onKeydown: g(C, [
|
|
72
|
-
"enter",
|
|
73
|
-
"space",
|
|
74
|
-
"left",
|
|
75
|
-
"right",
|
|
76
|
-
"up",
|
|
77
|
-
"down"
|
|
78
|
-
])
|
|
79
|
-
}, {
|
|
80
|
-
default: h(() => [p(e.$slots, "default")]),
|
|
81
|
-
_: 3
|
|
82
|
-
}, 8, [
|
|
83
|
-
"type",
|
|
84
|
-
"as",
|
|
85
|
-
"as-child",
|
|
86
|
-
"data-state",
|
|
87
|
-
"disabled",
|
|
88
|
-
"data-disabled",
|
|
89
|
-
"data-orientation",
|
|
90
|
-
"tabindex",
|
|
91
|
-
"aria-describedby",
|
|
92
|
-
"aria-labelledby"
|
|
93
|
-
]));
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
//#endregion
|
|
97
|
-
export { v as StepperTrigger_default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js
|
|
2
|
-
var e = ["INPUT", "TEXTAREA"];
|
|
3
|
-
function t(t, r, i, a = {}) {
|
|
4
|
-
if (!r || a.enableIgnoredElement && e.includes(r.nodeName)) return null;
|
|
5
|
-
let { arrowKeyOptions: o = "both", attributeName: s = "[data-reka-collection-item]", itemsArray: c = [], loop: l = !0, dir: u = "ltr", preventScroll: d = !0, focus: f = !1 } = a, [p, m, h, g, _, v] = [
|
|
6
|
-
t.key === "ArrowRight",
|
|
7
|
-
t.key === "ArrowLeft",
|
|
8
|
-
t.key === "ArrowUp",
|
|
9
|
-
t.key === "ArrowDown",
|
|
10
|
-
t.key === "Home",
|
|
11
|
-
t.key === "End"
|
|
12
|
-
], y = h || g, b = p || m;
|
|
13
|
-
if (!_ && !v && (!y && !b || o === "vertical" && b || o === "horizontal" && y)) return null;
|
|
14
|
-
let x = i ? Array.from(i.querySelectorAll(s)) : c;
|
|
15
|
-
if (!x.length) return null;
|
|
16
|
-
d && t.preventDefault();
|
|
17
|
-
let S = null;
|
|
18
|
-
return b || y ? S = n(x, r, {
|
|
19
|
-
goForward: y ? g : u === "ltr" ? p : m,
|
|
20
|
-
loop: l
|
|
21
|
-
}) : _ ? S = x.at(0) || null : v && (S = x.at(-1) || null), f && S?.focus(), S;
|
|
22
|
-
}
|
|
23
|
-
function n(e, t, r, i = e.includes(t) ? e.length : e.length + 1) {
|
|
24
|
-
if (--i === 0) return null;
|
|
25
|
-
let a = e.indexOf(t), o;
|
|
26
|
-
if (o = a === -1 ? r.goForward ? 0 : e.length - 1 : r.goForward ? a + 1 : a - 1, !r.loop && (o < 0 || o >= e.length)) return null;
|
|
27
|
-
let s = e[(o + e.length) % e.length];
|
|
28
|
-
return s ? s.hasAttribute("disabled") && s.getAttribute("disabled") !== "false" ? n(e, s, r, i) : s : null;
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { t as useArrowNavigation };
|
package/dist/merge/check-files/components/merge-preflight.vue_vue_type_script_setup_true_lang.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
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 { describeIdentityWarning as t } from "../identity-warning.js";
|
|
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
|
-
//#region lib/merge/check-files/components/merge-preflight.vue?vue&type=script&setup=true&lang.ts
|
|
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 = {
|
|
6
|
-
key: 0,
|
|
7
|
-
"data-testid": "preflight-identity",
|
|
8
|
-
class: "flex items-start gap-3"
|
|
9
|
-
}, _ = { 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 = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "mt-1 text-sm"
|
|
12
|
-
}, C = { class: "text-base-content/80" }, w = {
|
|
13
|
-
key: 1,
|
|
14
|
-
class: "mt-1 text-sm text-base-content/80",
|
|
15
|
-
"data-testid": "preflight-advice"
|
|
16
|
-
}, T = { class: "divide-y divide-warning/15" }, E = { class: "font-mono break-all" }, D = { class: "text-base-content/80" }, O = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "mt-0.5 flex flex-wrap gap-1"
|
|
19
|
-
}, k = /*@__PURE__*/ c({
|
|
20
|
-
__name: "merge-preflight",
|
|
21
|
-
props: { warnings: {} },
|
|
22
|
-
setup(c) {
|
|
23
|
-
let k = c, A = r(() => {
|
|
24
|
-
let e = /* @__PURE__ */ new Map();
|
|
25
|
-
for (let t of k.warnings) {
|
|
26
|
-
let n = e.get(t.code) ?? [];
|
|
27
|
-
n.push(t), e.set(t.code, n);
|
|
28
|
-
}
|
|
29
|
-
return [...e.entries()].map(([e, n]) => ({
|
|
30
|
-
code: e,
|
|
31
|
-
info: t(e),
|
|
32
|
-
items: n
|
|
33
|
-
}));
|
|
34
|
-
});
|
|
35
|
-
return (t, r) => (l(), a("div", p, [o("div", m, [o("div", h, [c.warnings.length > 0 ? (l(), a("div", g, [s(f(e), { class: "mt-0.5 size-6 shrink-0 text-warning" }), r[0] ||= o("div", null, [o("h2", { class: "text-base font-semibold" }, "Check the file identity before merging"), o("p", { class: "mt-0.5 text-sm text-base-content/80" }, " These files break some SCL identity rules the merge relies on to recognise elements. It is not blocking — here is what was found and how the merge still proceeds. ")], -1)])) : i("", !0), (l(!0), a(n, null, u(A.value, (e) => (l(), a("div", {
|
|
36
|
-
key: e.code,
|
|
37
|
-
class: "overflow-hidden rounded-box border border-warning/40 bg-warning/5"
|
|
38
|
-
}, [o("div", _, [
|
|
39
|
-
o("div", v, [o("span", y, d(e.items.length), 1), o("h3", b, d(e.info.title), 1)]),
|
|
40
|
-
o("p", x, d(e.info.description), 1),
|
|
41
|
-
e.info.whatHappens ? (l(), a("p", S, [r[1] ||= o("span", { class: "font-medium" }, "What the merge does:", -1), o("span", C, d(e.info.whatHappens), 1)])) : i("", !0),
|
|
42
|
-
e.info.advice ? (l(), a("p", w, d(e.info.advice), 1)) : i("", !0)
|
|
43
|
-
]), o("ul", T, [(l(!0), a(n, null, u(e.items, (e) => (l(), a("li", {
|
|
44
|
-
key: `${e.code}:${e.value}`,
|
|
45
|
-
class: "px-3 py-1.5 text-xs"
|
|
46
|
-
}, [o("div", null, [o("code", E, d(e.value), 1), o("span", D, " — " + d(e.message), 1)]), e.tagNames.length ? (l(), a("div", O, [(l(!0), a(n, null, u(e.tagNames, (e) => (l(), a("span", {
|
|
47
|
-
key: e,
|
|
48
|
-
class: "badge badge-ghost badge-xs font-mono"
|
|
49
|
-
}, d(e), 1))), 128))])) : i("", !0)]))), 128))])]))), 128))])])]));
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
//#endregion
|
|
53
|
-
export { k as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region lib/merge/check-files/flags.ts
|
|
2
|
-
function e(e) {
|
|
3
|
-
let { index: t, warnings: n, mappings: r, wordOf: i } = e, a = /* @__PURE__ */ new Map();
|
|
4
|
-
for (let e of n) for (let t of e.refs) t.id && !a.has(t.id) && a.set(t.id, i(e));
|
|
5
|
-
for (let e of r) {
|
|
6
|
-
let t = a.get(e.sourceId ?? e.id), n = e.mapping && "existing" in e.mapping ? e.mapping.existing.id : void 0;
|
|
7
|
-
t && n && !a.has(n) && a.set(n, t);
|
|
8
|
-
}
|
|
9
|
-
let o = {};
|
|
10
|
-
for (let [e, n] of Object.entries(t)) {
|
|
11
|
-
let t = a.get(e) ?? (n.node?.instanceRef?.id ? a.get(n.node.instanceRef.id) : void 0) ?? (n.node?.sourceRef?.id ? a.get(n.node.sourceRef.id) : void 0);
|
|
12
|
-
t && (o[e] = t);
|
|
13
|
-
}
|
|
14
|
-
return o;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { e as flaggedNodes };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { i as e } from "../../external/.pnpm/@dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/declaration.constants-DSLNk1wh.js";
|
|
2
|
-
import "../../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
|
-
//#region lib/merge/check-files/identity-warning.ts
|
|
4
|
-
function t(t) {
|
|
5
|
-
let r = e[t];
|
|
6
|
-
return {
|
|
7
|
-
title: r?.title ?? t,
|
|
8
|
-
description: r?.description ?? "",
|
|
9
|
-
whatHappens: r?.fallback ?? "",
|
|
10
|
-
advice: n[t]
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = {
|
|
14
|
-
"cross-type-template-uuid": "In the review, keep one of the two — the new element or yours — or fix the templateUuid in the file.",
|
|
15
|
-
"duplicate-instance-uuid": "Check the affected elements in the review, and resolve the duplication in the file.",
|
|
16
|
-
"template-uuid-type-mismatch": "In the review, keep one of the two — the new element or yours — or fix the templateUuid in the file."
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { t as describeIdentityWarning };
|