@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.
Files changed (26) hide show
  1. package/dist/dialecte/create-document-store.js +4 -4
  2. package/dist/dropdown/multi-select.vue_vue_type_script_setup_true_lang.js +40 -31
  3. package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js +1 -1
  4. 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
  5. 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
  6. 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
  7. 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
  8. package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/utils-USNkj4sT.js +1 -1
  9. 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
  10. 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
  11. package/dist/index.d.ts +50 -1
  12. package/dist/merge/check-files/identity-warning.js +2 -1
  13. package/dist/merge/confirm/outcome.js +4 -4
  14. package/dist/merge/done/applied-focus.js +1 -1
  15. package/dist/merge/match/match.js +4 -4
  16. package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +1 -0
  17. package/dist/merge/session/merge.service.js +25 -19
  18. package/dist/merge/session/use-merge-session.js +11 -1
  19. package/dist/merge/wording.js +4 -4
  20. package/dist/ui.css +1 -1
  21. package/package.json +3 -3
  22. 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
  23. /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/helpers-DVShv41E.js +0 -0
  24. /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/helpers.js +0 -0
  25. /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/index.js +0 -0
  26. /package/dist/external/.pnpm/{@dialecte_core@0.8.0 → @dialecte_core@0.8.1}/node_modules/@dialecte/core/dist/utils.js +0 -0
@@ -1,7 +1,7 @@
1
- import { f as e } from "../external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/utils-USNkj4sT.js";
2
- import "../external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/utils.js";
3
- import { V as t } from "../external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js";
4
- import "../external/.pnpm/@dialecte_core@0.8.0/node_modules/@dialecte/core/dist/index.js";
1
+ import { f as e } 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/utils.js";
3
+ import { V as t } from "../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js";
4
+ import "../external/.pnpm/@dialecte_core@0.8.1/node_modules/@dialecte/core/dist/index.js";
5
5
  import { computed as n, shallowRef as r } from "vue";
6
6
  //#region lib/dialecte/create-document-store.ts
7
7
  function i(i) {
@@ -13,12 +13,12 @@ import d from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_
13
13
  import f from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/info.js";
14
14
  import p from "../tooltip/floating-tooltip.js";
15
15
  import "../tooltip/index.js";
16
- import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, mergeModels as C, normalizeClass as w, openBlock as T, renderList as E, toDisplayString as D, unref as O, useModel as k, withCtx as A } from "vue";
16
+ import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, mergeModels as C, normalizeClass as w, openBlock as T, ref as E, renderList as D, toDisplayString as O, unref as k, useModel as A, useTemplateRef as j, watch as M, withCtx as N } from "vue";
17
17
  //#region lib/dropdown/multi-select.vue?vue&type=script&setup=true&lang.ts
18
- var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
18
+ var P = { class: "text-xs flex-1 min-w-0 truncate" }, F = {
19
19
  "data-testid": "multi-select-option-info",
20
20
  class: "shrink-0 inline-flex opacity-60 hover:opacity-100"
21
- }, N = /*@__PURE__*/ S({
21
+ }, I = /*@__PURE__*/ S({
22
22
  __name: "multi-select",
23
23
  props: /*@__PURE__*/ C({
24
24
  options: {},
@@ -40,7 +40,12 @@ var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
40
40
  }),
41
41
  emits: ["update:modelValue", "update:open"],
42
42
  setup(S) {
43
- let C = S, N = k(S, "modelValue"), P = k(S, "open"), F = h(() => ({
43
+ let C = S, I = A(S, "modelValue"), L = A(S, "open"), R = j("anchor"), z = E("body");
44
+ M(L, (e) => {
45
+ let t = R.value?.$el;
46
+ !e || !(t instanceof HTMLElement) || (z.value = t.closest("dialog[open]") ?? t.ownerDocument.body);
47
+ });
48
+ let B = h(() => ({
44
49
  "input-neutral": C.color === "neutral",
45
50
  "input-primary": C.color === "primary",
46
51
  "input-secondary": C.color === "secondary",
@@ -58,34 +63,38 @@ var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
58
63
  "input-md": C.size === "md",
59
64
  "input-lg": C.size === "lg",
60
65
  "input-xl": C.size === "xl"
61
- })), I = h(() => new Map(C.options.map((e) => [e.value, e.label]))), L = h(() => {
62
- let e = N.value.map((e) => I.value.get(e) ?? e);
66
+ })), V = h(() => new Map(C.options.map((e) => [e.value, e.label]))), H = h(() => {
67
+ let e = I.value.map((e) => V.value.get(e) ?? e);
63
68
  return e.length ? e.join(C.separator) : C.placeholder ?? "Select...";
64
69
  });
65
- function R(e, t) {
70
+ function U(e, t) {
66
71
  return e.filter((e) => e.label.toLowerCase().includes(t.toLowerCase()));
67
72
  }
68
- return (h, C) => (T(), g(O(e), {
73
+ return (h, C) => (T(), g(k(e), {
69
74
  class: "dropdown w-full",
70
- modelValue: N.value,
71
- "onUpdate:modelValue": C[0] ||= (e) => N.value = e,
72
- open: P.value,
73
- "onUpdate:open": C[1] ||= (e) => P.value = e,
75
+ modelValue: I.value,
76
+ "onUpdate:modelValue": C[0] ||= (e) => I.value = e,
77
+ open: L.value,
78
+ "onUpdate:open": C[1] ||= (e) => L.value = e,
74
79
  multiple: "",
75
- "filter-function": R,
80
+ "filter-function": U,
76
81
  disabled: S.disabled
77
82
  }, {
78
- default: A(() => [x(O(t), { class: w(["input w-full flex items-center gap-2", F.value]) }, {
79
- default: A(() => [x(O(c), {
83
+ default: N(() => [x(k(t), {
84
+ ref_key: "anchor",
85
+ ref: R,
86
+ class: w(["input w-full flex items-center gap-2", B.value])
87
+ }, {
88
+ default: N(() => [x(k(c), {
80
89
  "data-testid": "multi-select-trigger",
81
90
  class: "flex items-center gap-2 w-full"
82
91
  }, {
83
- default: A(() => [y("span", { class: w(["flex-1 min-w-0 truncate text-left text-xs", { "text-base-content/60": !N.value.length }]) }, D(L.value), 3), x(O(d), { class: "h-4 w-4 text-base-content/60 shrink-0" })]),
92
+ default: N(() => [y("span", { class: w(["flex-1 min-w-0 truncate text-left text-xs", { "text-base-content/60": !I.value.length }]) }, O(H.value), 3), x(k(d), { class: "h-4 w-4 text-base-content/60 shrink-0" })]),
84
93
  _: 1
85
94
  })]),
86
95
  _: 1
87
- }, 8, ["class"]), x(O(s), null, {
88
- default: A(() => [x(O(n), {
96
+ }, 8, ["class"]), x(k(s), { to: z.value }, {
97
+ default: N(() => [x(k(n), {
89
98
  "data-testid": "multi-select-panel",
90
99
  position: "popper",
91
100
  "side-offset": 4,
@@ -95,31 +104,31 @@ var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
95
104
  minWidth: "12rem"
96
105
  }
97
106
  }, {
98
- default: A(() => [x(O(i), {
107
+ default: N(() => [x(k(i), {
99
108
  class: "input input-ghost outline-none w-full text-xs",
100
109
  placeholder: "Search..."
101
- }), x(O(l), { class: "max-h-52 overflow-y-auto p-1" }, {
102
- default: A(() => [x(O(r), { class: "text-base-content/60 text-xs text-center py-2" }, {
103
- default: A(() => [b(D(S.emptyText ?? "No results found"), 1)]),
110
+ }), x(k(l), { class: "max-h-52 overflow-y-auto p-1" }, {
111
+ default: N(() => [x(k(r), { class: "text-base-content/60 text-xs text-center py-2" }, {
112
+ default: N(() => [b(O(S.emptyText ?? "No results found"), 1)]),
104
113
  _: 1
105
- }), (T(!0), v(m, null, E(S.options, (e) => (T(), g(O(a), {
114
+ }), (T(!0), v(m, null, D(S.options, (e) => (T(), g(k(a), {
106
115
  key: e.value,
107
116
  "data-testid": "multi-select-option",
108
117
  value: e.value,
109
118
  "text-value": e.label,
110
119
  class: "cursor-pointer text-xs leading-none w-full flex items-center gap-2 rounded px-2 h-7 pl-7 relative select-none data-disabled:opacity-40 data-disabled:pointer-events-none data-highlighted:outline-none data-highlighted:bg-primary data-highlighted:text-primary-content"
111
120
  }, {
112
- default: A(() => [
113
- x(O(o), { class: "absolute left-0 w-6.25 inline-flex items-center justify-center" }, {
114
- default: A(() => [x(O(u), { class: "h-3 w-3" })]),
121
+ default: N(() => [
122
+ x(k(o), { class: "absolute left-0 w-6.25 inline-flex items-center justify-center" }, {
123
+ default: N(() => [x(k(u), { class: "h-3 w-3" })]),
115
124
  _: 1
116
125
  }),
117
- y("span", j, D(e.label), 1),
118
- e.title ? (T(), g(O(p), {
126
+ y("span", P, O(e.label), 1),
127
+ e.title ? (T(), g(k(p), {
119
128
  key: 0,
120
129
  content: e.title
121
130
  }, {
122
- default: A(() => [y("span", M, [x(O(f), { class: "h-3 w-3" })])]),
131
+ default: N(() => [y("span", F, [x(k(f), { class: "h-3 w-3" })])]),
123
132
  _: 1
124
133
  }, 8, ["content"])) : _("", !0)
125
134
  ]),
@@ -130,7 +139,7 @@ var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
130
139
  _: 1
131
140
  })]),
132
141
  _: 1
133
- })]),
142
+ }, 8, ["to"])]),
134
143
  _: 1
135
144
  }, 8, [
136
145
  "modelValue",
@@ -140,4 +149,4 @@ var j = { class: "text-xs flex-1 min-w-0 truncate" }, M = {
140
149
  }
141
150
  });
142
151
  //#endregion
143
- export { N as default };
152
+ export { I as default };
@@ -4,7 +4,7 @@ import { A as r, E as i, J as a, M as o, P as s, S as c, T as l, i as u, j as d,
4
4
  import { i as _, n as v, r as y, t as b } from "./running-operations-vnijBvn7.js";
5
5
  import "./helpers-DVShv41E.js";
6
6
  import { T as x, d as S, f as C, i as ee, m as w, n as te, p as ne, r as T, t as re, u as ie } from "./same-json-value-C6kUaoyt.js";
7
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js
7
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/dialecte-gIPrRzni.js
8
8
  async function ae(e) {
9
9
  let { store: t, isRunning: n } = e, r = await t.getDocuments();
10
10
  for (let e of r) e.status === "importing" && (await n?.(e) || (await t.getDocument(e.id))?.status === "importing" && await t.removeDocument(e.id));
@@ -1,5 +1,5 @@
1
1
  import { A as e, B as t, O as n, R as r, S as i, W as a, a as o, f as s, h as c, w as l, y as u } from "./utils-USNkj4sT.js";
2
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/project-key-Ch34EtFa.js
2
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/project-key-Ch34EtFa.js
3
3
  var d = [
4
4
  "",
5
5
  ".",
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js
1
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js
2
2
  var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, i, o, s) => {
3
3
  if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
4
4
  get: ((e) => i[e]).bind(null, d),
@@ -1,5 +1,5 @@
1
1
  import "./utils-USNkj4sT.js";
2
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/running-operations-vnijBvn7.js
2
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/running-operations-vnijBvn7.js
3
3
  function e() {
4
4
  let e = /* @__PURE__ */ new Map();
5
5
  return {
@@ -2,7 +2,7 @@ import { G as e, V as t, W as n, f as r, j as i, k as a, z as o } from "./utils-
2
2
  import { n as s, t as c } from "./rolldown-runtime-CYdcPHCu.js";
3
3
  import { D as l, N as u, O as d, _ as f, c as p, g as m, h, l as g, m as _, s as v, u as y, w as b, x, y as S } from "./project-key-Ch34EtFa.js";
4
4
  import { l as C } from "./helpers-DVShv41E.js";
5
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/same-json-value-C6kUaoyt.js
5
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/same-json-value-C6kUaoyt.js
6
6
  function w(e) {
7
7
  let { documents: t, writeId: n, isRunning: r } = e, i = t.find((e) => e.writeId === n);
8
8
  return i ? i.status === "importing" ? r?.({ writeId: n }) === !1 ? "not-applied" : "running" : "applied" : "not-applied";
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/@dialecte+core@0.8.0/node_modules/@dialecte/core/dist/utils-USNkj4sT.js
1
+ //#region node_modules/.pnpm/@dialecte+core@0.8.1/node_modules/@dialecte/core/dist/utils-USNkj4sT.js
2
2
  var e = "https://dialecte.github.io/core", t = {
3
3
  UNKNOWN: {
4
4
  code: "D0001",