vlite3 1.5.17 → 1.5.18

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 (29) hide show
  1. package/components/CategoryManager/CategoryManager2.vue.js +3 -3
  2. package/components/CommandPalette/CommandPaletteContent2.vue.js +1 -1
  3. package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem2.vue.js} +1 -1
  4. package/components/EditableTitle/EditableTitle.vue.d.ts +182 -2
  5. package/components/EditableTitle/EditableTitle.vue.js +2 -2
  6. package/components/EditableTitle/EditableTitle2.vue.js +221 -193
  7. package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +1 -1
  8. package/components/Form/index2.vue.js +1 -1
  9. package/components/NavbarCommandPalette.vue.js +1 -1
  10. package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
  11. package/components/RichTextEditor/RichTextLinkPopover3.vue.js +2 -2
  12. package/components/RichTextEditor/RichTextToolbar3.vue.js +2 -2
  13. package/components/Screen/ScreenFilter.vue.js +3 -3
  14. package/components/Workbook/Sheet.vue.d.ts +29 -2
  15. package/components/Workbook/Sheet.vue.js +93 -69
  16. package/components/Workbook/Workbook.vue.d.ts +9 -0
  17. package/components/Workbook/Workbook.vue.js +1 -1
  18. package/components/Workbook/Workbook2.vue.js +134 -105
  19. package/components/Workbook/types.d.ts +24 -0
  20. package/docs/README.md +1 -0
  21. package/docs/component-index.md +5 -2
  22. package/docs/components/editable-title.md +51 -6
  23. package/docs/components/workbook.md +87 -0
  24. package/docs/design.md +220 -0
  25. package/docs-manifest.json +9 -6
  26. package/package.json +1 -1
  27. package/style.css +1 -1
  28. /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover2.vue.js} +0 -0
  29. /package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar2.vue.js} +0 -0
@@ -1,30 +1,30 @@
1
- import { defineComponent as he, shallowRef as k, computed as i, watch as P, onMounted as ge, onBeforeUnmount as ye, openBlock as s, createElementBlock as f, normalizeStyle as xe, normalizeClass as m, withModifiers as K, createBlock as Y, withCtx as ke, createElementVNode as j, createVNode as w, createCommentVNode as C, toDisplayString as we, nextTick as v } from "vue";
2
- import A from "../Icon.vue.js";
3
- import Z from "../Button.vue.js";
4
- import Ce from "../Input.vue.js";
1
+ import { defineComponent as Ce, useSlots as Te, shallowRef as w, computed as i, watch as P, onMounted as Be, onBeforeUnmount as Ie, openBlock as u, createElementBlock as c, normalizeStyle as Se, normalizeClass as p, withModifiers as J, createBlock as Q, withCtx as Ve, createElementVNode as M, createVNode as C, createCommentVNode as h, toDisplayString as _e, renderSlot as X, nextTick as m } from "vue";
2
+ import j from "../Icon.vue.js";
3
+ import ee from "../Button.vue.js";
4
+ import ze from "../Input.vue.js";
5
5
  /* empty css */
6
- import Ie from "../IconPicker.vue.js";
7
- const Be = ["data-editing", "data-create", "data-variant", "data-size"], Te = ["disabled"], Se = ["disabled"], Ve = {
6
+ import Ee from "../IconPicker.vue.js";
7
+ const Ae = ["data-editing", "data-create", "data-variant", "data-size"], De = ["disabled"], Pe = ["disabled"], Me = {
8
8
  key: 2,
9
- class: "inline-flex items-center justify-center",
9
+ class: "inline-flex h-full w-full items-center justify-center",
10
10
  "aria-hidden": "true"
11
- }, ze = ["aria-hidden"], Ee = {
11
+ }, je = ["aria-hidden"], Le = {
12
12
  key: 0,
13
- class: "vl-editable-title__input col-start-1 row-start-1 min-w-0 self-center"
14
- }, _e = {
13
+ class: "vl-editable-title__input absolute inset-0 flex min-w-0 items-center"
14
+ }, Re = {
15
15
  key: 1,
16
16
  class: "vl-editable-title__actions flex shrink-0 items-center gap-0.5"
17
- }, De = {
18
- key: 0,
19
- class: "vl-editable-title__action flex items-center justify-center"
20
- }, Pe = {
17
+ }, We = {
21
18
  key: 1,
22
19
  class: "vl-editable-title__action flex items-center justify-center"
23
- }, G = "lucide:file-text", Me = /* @__PURE__ */ he({
20
+ }, He = {
21
+ key: 2,
22
+ class: "vl-editable-title__action flex items-center justify-center"
23
+ }, te = "lucide:file-text", Ke = /* @__PURE__ */ Ce({
24
24
  __name: "EditableTitle",
25
25
  props: {
26
26
  modelValue: { default: "" },
27
- icon: { default: G },
27
+ icon: { default: te },
28
28
  showIcon: { type: Boolean, default: !0 },
29
29
  canChangeIcon: { type: Boolean, default: !0 },
30
30
  iconPickerPosition: { default: "bottom-start" },
@@ -45,328 +45,356 @@ const Be = ["data-editing", "data-create", "data-variant", "data-size"], Te = ["
45
45
  class: { default: "" }
46
46
  },
47
47
  emits: ["update:modelValue", "update:icon", "edit-start", "change", "save", "create", "cancel", "delete", "focus", "blur"],
48
- setup(n, { expose: J, emit: Q }) {
49
- const X = {
48
+ setup(a, { expose: le, emit: ne }) {
49
+ const ae = {
50
50
  sm: {
51
- root: "gap-2 px-2.5 py-1.5 rounded-xl",
52
- icon: "h-3.5 w-3.5",
53
- iconHit: "h-6 w-6",
51
+ root: "gap-1 px-2.5 py-1.5 rounded-xl",
52
+ icon: "h-4 w-4",
53
+ iconHit: "h-6 w-6 min-h-6 min-w-6",
54
54
  title: "text-sm font-medium leading-5 tracking-normal",
55
+ inputTitle: "text-sm! font-medium! leading-5! tracking-normal! placeholder:text-sm! placeholder:font-medium! placeholder:leading-5!",
55
56
  button: "xs",
56
57
  spacer: "h-6.5 w-6.5 min-h-6.5 min-w-6.5"
57
58
  },
58
59
  md: {
59
- root: "gap-2.5 px-3.5 py-2.5 rounded-2xl",
60
+ root: "gap-1.5 px-3.5 py-2.5 rounded-2xl",
60
61
  icon: "h-4 w-4",
61
- iconHit: "h-7 w-7",
62
+ iconHit: "h-7 w-7 min-h-7 min-w-7",
62
63
  title: "text-base font-medium leading-6 tracking-normal",
64
+ inputTitle: "text-base! font-medium! leading-6! tracking-normal! placeholder:text-base! placeholder:font-medium! placeholder:leading-6!",
63
65
  button: "xs",
64
66
  spacer: "h-6.5 w-6.5 min-h-6.5 min-w-6.5"
65
67
  },
66
68
  lg: {
67
- root: "gap-3 px-4 py-3 rounded-2xl",
69
+ root: "gap-2 px-4 py-3 rounded-2xl",
68
70
  icon: "h-5 w-5",
69
- iconHit: "h-8 w-8",
71
+ iconHit: "h-8 w-8 min-h-8 min-w-8",
70
72
  title: "text-lg font-medium leading-7 tracking-normal",
73
+ inputTitle: "text-lg! font-medium! leading-7! tracking-normal! placeholder:text-lg! placeholder:font-medium! placeholder:leading-7!",
71
74
  button: "sm",
72
75
  spacer: "h-7.5 w-7.5 min-h-7.5 min-w-7.5"
73
76
  }
74
- }, ee = {
77
+ }, ie = {
75
78
  background: "bg-muted text-foreground transition-colors hover:bg-muted/80 focus-within:bg-muted/80",
76
79
  transparent: "bg-transparent text-foreground"
77
- }, e = n, o = Q, l = k(!1), r = k(e.modelValue ?? ""), L = k(null), g = k(!1), R = k(null);
78
- let I = !1, u = !1, y = null, x = null;
80
+ }, e = a, o = ne, L = Te(), l = w(!1), s = w(e.modelValue ?? ""), R = w(null), x = w(!1), W = w(null);
81
+ let T = !1, r = !1, y = null, k = null;
79
82
  const B = i(
80
83
  () => e.editable && !e.disabled && !e.readonly && !e.create
81
- ), b = i(
84
+ ), v = i(
82
85
  () => e.showIcon && e.canChangeIcon && !e.disabled && !e.readonly
83
- ), W = i(
86
+ ), H = i(
84
87
  () => e.canDelete && !e.disabled && !e.readonly && !e.create
85
- ), H = i(() => B.value || l.value && !e.create), M = i(() => W.value), te = i(() => H.value || M.value), T = i(() => e.icon || G), c = i(() => X[e.size]), le = i(() => e.maxWidth === void 0 || e.maxWidth === null || e.maxWidth === "" ? void 0 : { maxWidth: typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth }), ae = i(
88
+ ), $ = i(() => B.value || l.value && !e.create), F = i(() => H.value), N = i(() => !!L["actions-before"]), O = i(() => !!L["actions-after"]), oe = i(
89
+ () => $.value || F.value || N.value || O.value
90
+ ), I = i(() => e.icon || te), d = i(() => ae[e.size]), ue = i(() => e.maxWidth === void 0 || e.maxWidth === null || e.maxWidth === "" ? void 0 : { maxWidth: typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth }), re = i(
86
91
  () => [
87
92
  "vl-editable-title group/editable-title relative flex w-full min-w-0 items-center",
88
- c.value.root,
89
- ee[e.variant],
93
+ d.value.root,
94
+ ie[e.variant],
90
95
  e.disabled ? "opacity-50 cursor-not-allowed" : "",
91
96
  l.value ? "vl-editable-title--editing" : "",
92
97
  e.create ? "vl-editable-title--create" : "",
93
98
  e.class
94
99
  ].filter(Boolean).join(" ")
95
- ), F = i(
96
- () => `${c.value.title} text-foreground text-start`
97
- ), ne = i(
100
+ ), se = i(
101
+ () => `${d.value.title} text-foreground text-start`
102
+ ), ce = i(
98
103
  () => [
99
- F.value,
104
+ d.value.inputTitle,
105
+ "text-foreground! text-start! placeholder:text-muted-foreground!",
100
106
  "h-auto! min-h-0! max-h-none! py-0! px-0! border-none! bg-transparent! shadow-none!",
101
107
  "ring-0! focus-visible:ring-0! focus-visible:border-transparent!",
102
108
  "rounded-none!"
103
109
  ].join(" ")
104
- ), N = i(() => e.modelValue ?? ""), ie = i(() => l.value ? r.value || e.placeholder || " " : N.value || e.placeholder || " "), oe = i(() => l.value ? !r.value && !!e.placeholder : !N.value && !!e.placeholder);
105
- function p() {
110
+ ), U = i(() => e.modelValue ?? ""), de = i(() => l.value ? s.value || e.placeholder || " " : U.value || e.placeholder || " "), fe = i(() => l.value ? !s.value && !!e.placeholder : !U.value && !!e.placeholder);
111
+ function b() {
106
112
  y != null && (clearTimeout(y), y = null);
107
113
  }
108
114
  function z() {
109
- x != null && (clearTimeout(x), x = null);
115
+ k != null && (clearTimeout(k), k = null);
110
116
  }
111
- function E() {
112
- I = !0, p(), z();
117
+ function S() {
118
+ T = !0, b(), z();
113
119
  }
114
- function O() {
115
- z(), x = setTimeout(() => {
116
- x = null, I = !1;
120
+ function E() {
121
+ z(), k = setTimeout(() => {
122
+ k = null, T = !1;
117
123
  }, 0);
118
124
  }
119
- function S() {
120
- !b.value || g.value || (g.value = !0);
125
+ function V() {
126
+ !v.value || x.value || (x.value = !0);
121
127
  }
122
- function _(t = !0) {
123
- const a = () => {
124
- const d = L.value;
125
- return d ? (d.focus(), t && d.select(), !0) : !1;
128
+ function A(t = !0) {
129
+ const n = () => {
130
+ const f = R.value;
131
+ return f ? (f.focus(), t && f.select(), !0) : !1;
126
132
  };
127
- v(() => {
128
- a() || requestAnimationFrame(() => {
129
- v(() => {
130
- a();
133
+ m(() => {
134
+ n() || requestAnimationFrame(() => {
135
+ m(() => {
136
+ n();
131
137
  });
132
138
  });
133
139
  });
134
140
  }
135
- function $(t) {
136
- p(), u = !0, r.value = e.modelValue ?? "", l.value = !0, t.emitEditStart && o("edit-start"), _(t.select), v(() => {
137
- u = !1;
141
+ function q(t) {
142
+ b(), r = !0, s.value = e.modelValue ?? "", l.value = !0, t.emitEditStart && o("edit-start"), A(t.select), m(() => {
143
+ r = !1;
138
144
  });
139
145
  }
140
- function U() {
141
- !e.create || e.disabled || e.readonly || l.value || u || $({ select: !1, emitEditStart: !1 });
146
+ function K() {
147
+ !e.create || e.disabled || e.readonly || l.value || r || q({ select: !1, emitEditStart: !1 });
142
148
  }
143
149
  function D() {
144
- !B.value || l.value || u || $({ select: !0, emitEditStart: !0 });
150
+ !B.value || l.value || r || q({ select: !0, emitEditStart: !0 });
145
151
  }
146
- function V(t = !1) {
147
- if (!l.value || u) return;
148
- p(), u = !0;
149
- const a = r.value.trim();
152
+ function _(t = !1) {
153
+ if (!l.value || r) return;
154
+ b(), r = !0;
155
+ const n = s.value.trim();
150
156
  if (e.create) {
151
- if (!a) {
152
- t && (l.value = !1, o("cancel")), v(() => {
153
- u = !1;
157
+ if (!n) {
158
+ t && (l.value = !1, o("cancel")), m(() => {
159
+ r = !1;
154
160
  });
155
161
  return;
156
162
  }
157
- r.value = a, a !== (e.modelValue ?? "") && o("update:modelValue", a), o("create", a), l.value = !1, v(() => {
158
- u = !1;
163
+ s.value = n, n !== (e.modelValue ?? "") && o("update:modelValue", n), o("create", n), l.value = !1, m(() => {
164
+ r = !1;
159
165
  });
160
166
  return;
161
167
  }
162
- const d = (e.modelValue ?? "").trim(), h = a.length > 0 ? a : d;
163
- r.value = h, h !== (e.modelValue ?? "") && o("update:modelValue", h), o("change", h), o("save", h), l.value = !1, v(() => {
164
- u = !1;
168
+ const f = (e.modelValue ?? "").trim(), g = n.length > 0 ? n : f;
169
+ s.value = g, g !== (e.modelValue ?? "") && o("update:modelValue", g), o("change", g), o("save", g), l.value = !1, m(() => {
170
+ r = !1;
165
171
  });
166
172
  }
167
- function q() {
168
- !l.value || u || (p(), u = !0, r.value = e.modelValue ?? "", l.value = !1, o("cancel"), v(() => {
169
- u = !1;
173
+ function Y() {
174
+ !l.value || r || (b(), r = !0, s.value = e.modelValue ?? "", l.value = !1, o("cancel"), m(() => {
175
+ r = !1;
170
176
  }));
171
177
  }
172
- function ue() {
178
+ function me() {
173
179
  if (l.value) {
174
- _(!1);
180
+ A(!1);
175
181
  return;
176
182
  }
177
183
  if (e.create) {
178
- U();
184
+ K();
179
185
  return;
180
186
  }
181
187
  B.value && D();
182
188
  }
183
- function re(t) {
189
+ function ve(t) {
184
190
  t.preventDefault(), t.stopPropagation(), D();
185
191
  }
186
- function se(t) {
187
- t.preventDefault(), t.stopPropagation(), W.value && (E(), o("delete"), O());
192
+ function be(t) {
193
+ t.preventDefault(), t.stopPropagation(), H.value && (S(), o("delete"), E());
194
+ }
195
+ function Z(t) {
196
+ t.stopPropagation(), S();
197
+ }
198
+ function G(t) {
199
+ t.stopPropagation(), E();
188
200
  }
189
- function ce(t) {
201
+ function pe(t) {
190
202
  o("update:icon", t);
191
203
  }
192
- function de() {
193
- b.value && (E(), S());
204
+ function he() {
205
+ v.value && (S(), V());
194
206
  }
195
- function fe() {
196
- b.value && (E(), S(), v(() => {
197
- R.value?.click();
207
+ function ge() {
208
+ v.value && (S(), V(), m(() => {
209
+ W.value?.click();
198
210
  }));
199
211
  }
200
- function ve() {
201
- v(() => {
202
- l.value && _(!1), O();
212
+ function xe() {
213
+ m(() => {
214
+ l.value && A(!1), E();
203
215
  });
204
216
  }
205
- function me(t) {
217
+ function ye(t) {
206
218
  o("focus", t);
207
219
  }
208
- function be(t) {
209
- o("blur", t), !(!e.saveOnBlur || I) && (p(), y = setTimeout(() => {
210
- y = null, !(I || !l.value) && V(!0);
220
+ function ke(t) {
221
+ o("blur", t), !(!e.saveOnBlur || T) && (b(), y = setTimeout(() => {
222
+ y = null, !(T || !l.value) && _(!0);
211
223
  }, 0));
212
224
  }
213
- function pe(t) {
214
- l.value && (t.key === "Enter" ? (t.preventDefault(), V(!1)) : t.key === "Escape" && (t.preventDefault(), q()));
225
+ function we(t) {
226
+ l.value && (t.key === "Enter" ? (t.preventDefault(), _(!1)) : t.key === "Escape" && (t.preventDefault(), Y()));
215
227
  }
216
228
  return P(
217
229
  () => e.modelValue,
218
230
  (t) => {
219
- l.value || (r.value = t ?? "");
231
+ l.value || (s.value = t ?? "");
220
232
  }
221
233
  ), P(
222
234
  () => [e.disabled, e.readonly, e.editable],
223
- ([t, a, d]) => {
224
- !l.value || !(t || a || !e.create && !d) || (p(), r.value = e.modelValue ?? "", l.value = !1, o("cancel"));
235
+ ([t, n, f]) => {
236
+ !l.value || !(t || n || !e.create && !f) || (b(), s.value = e.modelValue ?? "", l.value = !1, o("cancel"));
225
237
  }
226
- ), P(b, (t) => {
227
- t || (g.value = !1);
228
- }), ge(() => {
229
- e.create && (b.value && (g.value = !0), U());
230
- }), ye(() => {
231
- p(), z();
232
- }), J({
238
+ ), P(v, (t) => {
239
+ t || (x.value = !1);
240
+ }), Be(() => {
241
+ e.create && (v.value && (x.value = !0), K());
242
+ }), Ie(() => {
243
+ b(), z();
244
+ }), le({
233
245
  startEdit: D,
234
- save: () => V(!1),
235
- commit: () => V(!1),
236
- cancel: q,
237
- focus: ue
238
- }), (t, a) => (s(), f("div", {
239
- class: m(ae.value),
240
- style: xe(le.value),
246
+ save: () => _(!1),
247
+ commit: () => _(!1),
248
+ cancel: Y,
249
+ focus: me
250
+ }), (t, n) => (u(), c("div", {
251
+ class: p(re.value),
252
+ style: Se(ue.value),
241
253
  "data-editing": l.value ? "true" : void 0,
242
- "data-create": n.create ? "true" : void 0,
243
- "data-variant": n.variant,
244
- "data-size": n.size
254
+ "data-create": a.create ? "true" : void 0,
255
+ "data-variant": a.variant,
256
+ "data-size": a.size
245
257
  }, [
246
- n.showIcon ? (s(), f("div", {
258
+ a.showIcon ? (u(), c("div", {
247
259
  key: 0,
248
- class: "vl-editable-title__icon flex shrink-0 items-center justify-center text-foreground",
249
- onPointerenter: S,
250
- onFocusin: S,
251
- onMousedown: de,
252
- onClick: a[0] || (a[0] = K(() => {
260
+ class: p(["vl-editable-title__icon flex shrink-0 items-center justify-center text-foreground", d.value.iconHit]),
261
+ onPointerenter: V,
262
+ onFocusin: V,
263
+ onMousedown: he,
264
+ onClick: n[0] || (n[0] = J(() => {
253
265
  }, ["stop"]))
254
266
  }, [
255
- b.value && g.value ? (s(), Y(Ie, {
267
+ v.value && x.value ? (u(), Q(Ee, {
256
268
  key: 0,
257
- value: T.value,
258
- position: n.iconPickerPosition,
259
- onOnSelect: ce,
260
- onOnClose: ve
269
+ value: I.value,
270
+ position: a.iconPickerPosition,
271
+ onOnSelect: pe,
272
+ onOnClose: xe
261
273
  }, {
262
- default: ke(() => [
263
- j("button", {
274
+ default: Ve(() => [
275
+ M("button", {
264
276
  ref_key: "iconTriggerRef",
265
- ref: R,
277
+ ref: W,
266
278
  type: "button",
267
- class: m(["vl-editable-title__icon-trigger inline-flex items-center justify-center rounded-md text-foreground transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30", c.value.iconHit]),
279
+ class: "vl-editable-title__icon-trigger inline-flex h-full w-full items-center justify-center rounded-md text-foreground transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
268
280
  "aria-label": "Change icon",
269
- disabled: n.disabled
281
+ disabled: a.disabled
270
282
  }, [
271
- w(A, {
272
- icon: T.value,
273
- class: m(c.value.icon),
283
+ C(j, {
284
+ icon: I.value,
285
+ class: p(d.value.icon),
274
286
  "aria-hidden": "true"
275
287
  }, null, 8, ["icon", "class"])
276
- ], 10, Te)
288
+ ], 8, De)
277
289
  ]),
278
290
  _: 1
279
- }, 8, ["value", "position"])) : b.value ? (s(), f("button", {
291
+ }, 8, ["value", "position"])) : v.value ? (u(), c("button", {
280
292
  key: 1,
281
293
  type: "button",
282
- class: m(["vl-editable-title__icon-trigger inline-flex items-center justify-center rounded-md text-foreground transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30", c.value.iconHit]),
294
+ class: "vl-editable-title__icon-trigger inline-flex h-full w-full items-center justify-center rounded-md text-foreground transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
283
295
  "aria-label": "Change icon",
284
- disabled: n.disabled,
285
- onClick: fe
296
+ disabled: a.disabled,
297
+ onClick: ge
286
298
  }, [
287
- w(A, {
288
- icon: T.value,
289
- class: m(c.value.icon),
299
+ C(j, {
300
+ icon: I.value,
301
+ class: p(d.value.icon),
290
302
  "aria-hidden": "true"
291
303
  }, null, 8, ["icon", "class"])
292
- ], 10, Se)) : (s(), f("span", Ve, [
293
- w(A, {
294
- icon: T.value,
295
- class: m(c.value.icon)
304
+ ], 8, Pe)) : (u(), c("span", Me, [
305
+ C(j, {
306
+ icon: I.value,
307
+ class: p(d.value.icon)
296
308
  }, null, 8, ["icon", "class"])
297
309
  ]))
298
- ], 32)) : C("", !0),
299
- j("div", {
300
- class: "vl-editable-title__text grid min-w-0 flex-1 contain-inline-size",
301
- onKeydown: pe
310
+ ], 34)) : h("", !0),
311
+ M("div", {
312
+ class: "vl-editable-title__text relative min-w-0 flex-1 contain-inline-size",
313
+ onKeydown: we
302
314
  }, [
303
- j("span", {
304
- class: m(["vl-editable-title__label col-start-1 row-start-1 block min-w-0 truncate", [
305
- F.value,
306
- oe.value ? "text-muted-foreground" : "",
315
+ M("span", {
316
+ class: p(["vl-editable-title__label block min-w-0 truncate", [
317
+ se.value,
318
+ fe.value ? "text-muted-foreground" : "",
307
319
  l.value ? "invisible" : ""
308
320
  ]]),
309
321
  "aria-hidden": l.value ? "true" : void 0
310
- }, we(ie.value), 11, ze),
311
- l.value ? (s(), f("div", Ee, [
312
- w(Ce, {
322
+ }, _e(de.value), 11, je),
323
+ l.value ? (u(), c("div", Le, [
324
+ C(ze, {
313
325
  ref_key: "inputHostRef",
314
- ref: L,
315
- modelValue: r.value,
316
- "onUpdate:modelValue": a[1] || (a[1] = (d) => r.value = d),
326
+ ref: R,
327
+ modelValue: s.value,
328
+ "onUpdate:modelValue": n[1] || (n[1] = (f) => s.value = f),
317
329
  type: "text",
318
330
  variant: "transparent",
319
- size: n.size,
320
- placeholder: n.placeholder,
321
- disabled: n.disabled,
331
+ size: a.size,
332
+ placeholder: a.placeholder,
333
+ disabled: a.disabled,
322
334
  "show-clear-button": !1,
323
- class: "!space-y-0 min-w-0 w-full",
324
- "input-class": ne.value,
325
- onFocus: me,
326
- onBlur: be,
327
- onClick: a[2] || (a[2] = K(() => {
335
+ class: "!m-0 !space-y-0 min-w-0 w-full h-full",
336
+ "input-class": ce.value,
337
+ onFocus: ye,
338
+ onBlur: ke,
339
+ onClick: n[2] || (n[2] = J(() => {
328
340
  }, ["stop"]))
329
341
  }, null, 8, ["modelValue", "size", "placeholder", "disabled", "input-class"])
330
- ])) : C("", !0)
342
+ ])) : h("", !0)
331
343
  ], 32),
332
- te.value ? (s(), f("div", _e, [
333
- H.value ? (s(), f("div", De, [
334
- !l.value && B.value ? (s(), Y(Z, {
344
+ oe.value ? (u(), c("div", Re, [
345
+ N.value ? (u(), c("div", {
346
+ key: 0,
347
+ class: "vl-editable-title__custom-actions flex shrink-0 items-center gap-0.5",
348
+ onMousedown: Z,
349
+ onClick: G
350
+ }, [
351
+ X(t.$slots, "actions-before", {}, void 0, !0)
352
+ ], 32)) : h("", !0),
353
+ $.value ? (u(), c("div", We, [
354
+ !l.value && B.value ? (u(), Q(ee, {
335
355
  key: 0,
336
356
  type: "button",
337
357
  "as-icon": "",
338
358
  variant: "ghost",
339
- size: c.value.button,
359
+ size: d.value.button,
340
360
  rounded: "md",
341
- icon: n.editIcon,
342
- "aria-label": n.editLabel,
343
- disabled: n.disabled,
361
+ icon: a.editIcon,
362
+ "aria-label": a.editLabel,
363
+ disabled: a.disabled,
344
364
  class: "vl-editable-title__action-btn text-foreground",
345
- onClick: re
346
- }, null, 8, ["size", "icon", "aria-label", "disabled"])) : (s(), f("div", {
365
+ onClick: ve
366
+ }, null, 8, ["size", "icon", "aria-label", "disabled"])) : (u(), c("div", {
347
367
  key: 1,
348
- class: m(["invisible pointer-events-none shrink-0", c.value.spacer]),
368
+ class: p(["invisible pointer-events-none shrink-0", d.value.spacer]),
349
369
  "aria-hidden": "true"
350
370
  }, null, 2))
351
- ])) : C("", !0),
352
- M.value ? (s(), f("div", Pe, [
353
- w(Z, {
371
+ ])) : h("", !0),
372
+ F.value ? (u(), c("div", He, [
373
+ C(ee, {
354
374
  type: "button",
355
375
  "as-icon": "",
356
376
  variant: "ghost",
357
- size: c.value.button,
377
+ size: d.value.button,
358
378
  rounded: "md",
359
- icon: n.deleteIcon,
360
- "aria-label": n.deleteLabel,
361
- disabled: n.disabled,
379
+ icon: a.deleteIcon,
380
+ "aria-label": a.deleteLabel,
381
+ disabled: a.disabled,
362
382
  class: "vl-editable-title__action-btn text-foreground",
363
- onClick: se
383
+ onClick: be
364
384
  }, null, 8, ["size", "icon", "aria-label", "disabled"])
365
- ])) : C("", !0)
366
- ])) : C("", !0)
367
- ], 14, Be));
385
+ ])) : h("", !0),
386
+ O.value ? (u(), c("div", {
387
+ key: 3,
388
+ class: "vl-editable-title__custom-actions flex shrink-0 items-center gap-0.5",
389
+ onMousedown: Z,
390
+ onClick: G
391
+ }, [
392
+ X(t.$slots, "actions-after", {}, void 0, !0)
393
+ ], 32)) : h("", !0)
394
+ ])) : h("", !0)
395
+ ], 14, Ae));
368
396
  }
369
397
  });
370
398
  export {
371
- Me as default
399
+ Ke as default
372
400
  };
@@ -1,5 +1,5 @@
1
1
  import o from "./AccordionView3.vue.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-543c2aba"]]);
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as d, openBlock as n, createElementBlock as R, createElementVNode as x, createBlock as s, withCtx as k, createTextVNode as B, toDisplayString as I, createCommentVNode as y, unref as l } from "vue";
2
2
  import T from "./TableView.vue.js";
3
- import C from "./AccordionView.vue.js";
3
+ import C from "./AccordionView2.vue.js";
4
4
  import U from "../Label.vue.js";
5
5
  import z from "../Button.vue.js";
6
6
  import { useCustomFieldRows as N } from "./composables/useCustomFieldRows.js";
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
3
3
  import v from "./Modal.vue.js";
4
4
  import N from "./CommandPalette/CommandPaletteContent.vue.js";
5
5
  import { $t as U } from "../utils/i18n.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ms-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ms-1" }, A = /* @__PURE__ */ x({
8
8
  __name: "NavbarCommandPalette",
9
9
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as te, ref as v, shallowRef as ne, watch as oe, computed as h, onMounted as le, onUnmounted as ae, openBlock as C, createElementBlock as L, normalizeClass as re, toDisplayString as I, createCommentVNode as U, createElementVNode as w, createVNode as q, unref as a, normalizeStyle as ie } from "vue";
2
2
  /* empty css */
3
- import se from "./RichTextToolbar.vue.js";
4
- /* empty css */
5
- import de from "./RichTextLinkPopover.vue.js";
6
- /* empty css */
3
+ import se from "./RichTextToolbar2.vue.js";
4
+ /* empty css */
5
+ import de from "./RichTextLinkPopover2.vue.js";
6
+ /* empty css */
7
7
  import { useRichTextImageUpload as ue } from "./composables/useRichTextImageUpload.js";
8
8
  import { useRichTextLinks as ce } from "./composables/useRichTextLinks.js";
9
9
  const fe = ["aria-labelledby", "aria-describedby"], me = ["id", "for"], ve = { class: "rte-wrapper" }, ye = { class: "rte-body-wrap" }, ge = ["id", "contenteditable", "aria-label", "aria-readonly", "aria-disabled", "aria-invalid"], be = ["id"], Se = /* @__PURE__ */ te({
@@ -1,5 +1,5 @@
1
- import o from "./RichTextLinkPopover.vue.js";
2
- /* empty css */
1
+ import o from "./RichTextLinkPopover2.vue.js";
2
+ /* empty css */
3
3
  export {
4
4
  o as default
5
5
  };
@@ -1,5 +1,5 @@
1
- import o from "./RichTextToolbar.vue.js";
2
- /* empty css */
1
+ import o from "./RichTextToolbar2.vue.js";
2
+ /* empty css */
3
3
  export {
4
4
  o as default
5
5
  };