@wpic/ui 0.8.0 → 0.8.2
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/CHANGELOG.md +10 -0
- package/dist/components/WChatPanel.vue.d.ts +1 -1
- package/dist/components/WPopover.vue.d.ts +1 -1
- package/dist/wpic-ui.cjs +12 -12
- package/dist/wpic-ui.css +17 -3
- package/dist/wpic-ui.js +90 -89
- package/package.json +1 -1
- package/src/style.css +16 -2
package/dist/wpic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as X, openBlock as e, createBlock as K, resolveDynamicComponent as B1, normalizeClass as g, withCtx as r1, createElementVNode as a, createCommentVNode as m, renderSlot as Q, createElementBlock as l, createVNode as M, unref as f, Fragment as W, renderList as a1, toDisplayString as b, useModel as G1, useSlots as q2, computed as y, ref as S, mergeProps as X1, createTextVNode as
|
|
1
|
+
import { defineComponent as X, openBlock as e, createBlock as K, resolveDynamicComponent as B1, normalizeClass as g, withCtx as r1, createElementVNode as a, createCommentVNode as m, renderSlot as Q, createElementBlock as l, createVNode as M, unref as f, Fragment as W, renderList as a1, toDisplayString as b, useModel as G1, useSlots as q2, computed as y, ref as S, mergeProps as X1, createTextVNode as m1, withDirectives as T1, vModelDynamic as g0, mergeModels as _1, vModelCheckbox as J0, watch as V1, normalizeStyle as f1, withModifiers as z1, onMounted as H2, onBeforeUnmount as g2, withKeys as M2, inject as Q2, provide as p2, isRef as X0, nextTick as H1, Teleport as U1, vShow as G0, Transition as u2, getCurrentInstance as p0, vModelText as c2, useAttrs as _0, TransitionGroup as n3, useCssVars as e3, vModelSelect as t3, onUnmounted as l3, createStaticVNode as A1 } from "vue";
|
|
2
2
|
import { Loader2 as i2, Calendar as C0, DollarSign as a3, X as $1, Check as O1, Search as P2, ChevronUp as k0, ChevronDown as D1, ChevronsUpDown as J2, ChevronRight as j1, ChevronLeft as C2, Download as c3, Minimize as i3, Expand as o3, CalendarDays as T2, FolderSymlink as s3, Minimize2 as r3, Maximize2 as d3, Plus as w2, Trash2 as u3, Folder as h0, MoreHorizontal as h3, Bot as v3, Paperclip as U2, ThumbsUp as m3, ThumbsDown as f3, Copy as b3, Pencil as z3, MessageSquarePlus as g3, Square as p3, ArrowUp as C3, CircleAlert as k3, CircleCheck as x3, ShieldAlert as y3, Lightbulb as w3, PanelLeftOpen as M3, PanelLeftClose as V3, AlertTriangle as L3, Tag as F2, Clock as B3, RefreshCw as $3 } from "lucide-vue-next";
|
|
3
3
|
import { offset as h2, flip as v2, shift as m2, size as X2, useFloating as f2, autoUpdate as b2 } from "@floating-ui/vue";
|
|
4
4
|
import { defineStore as A3 } from "pinia";
|
|
@@ -164,7 +164,7 @@ const S3 = {
|
|
|
164
164
|
required: t.required
|
|
165
165
|
}, {
|
|
166
166
|
default: r1(() => [
|
|
167
|
-
|
|
167
|
+
m1(b(t.label), 1)
|
|
168
168
|
]),
|
|
169
169
|
_: 1
|
|
170
170
|
}, 8, ["required"])) : m("", !0),
|
|
@@ -176,7 +176,7 @@ const S3 = {
|
|
|
176
176
|
onClick: i
|
|
177
177
|
}, null, 8, ["size", "class"])) : u.value ? (e(), l("span", D3, [
|
|
178
178
|
Q(j.$slots, "prepend", {}, () => [
|
|
179
|
-
|
|
179
|
+
m1(b(t.prepend), 1)
|
|
180
180
|
])
|
|
181
181
|
])) : m("", !0),
|
|
182
182
|
T1(a("input", {
|
|
@@ -203,7 +203,7 @@ const S3 = {
|
|
|
203
203
|
]),
|
|
204
204
|
c.value ? (e(), l("span", R3, [
|
|
205
205
|
Q(j.$slots, "append", {}, () => [
|
|
206
|
-
|
|
206
|
+
m1(b(t.append), 1)
|
|
207
207
|
])
|
|
208
208
|
])) : m("", !0),
|
|
209
209
|
t.loading ? (e(), K(f(i2), {
|
|
@@ -292,18 +292,21 @@ const S3 = {
|
|
|
292
292
|
role: "status",
|
|
293
293
|
"aria-live": "polite",
|
|
294
294
|
class: "flex items-center justify-center py-12 gap-3 text-base text-zinc-400 dark:text-zinc-500"
|
|
295
|
-
}, U3 = {
|
|
295
|
+
}, U3 = {
|
|
296
|
+
class: "wpic-table__scroll",
|
|
297
|
+
style: { "overflow-x": "auto" }
|
|
298
|
+
}, O3 = { class: "w-full border-collapse" }, Y3 = {
|
|
296
299
|
key: 0,
|
|
297
300
|
style: { width: "36px" }
|
|
298
301
|
}, q3 = {
|
|
299
302
|
key: 1,
|
|
300
303
|
style: { width: "32px" }
|
|
301
|
-
}, Q3 = { key: 0 }, J3 = { class: "border-b border-zinc-100 dark:border-zinc-800" }, X3 = ["onClick"], G3 = { key: 1 }, _3 = {
|
|
304
|
+
}, Q3 = { key: 0 }, J3 = { class: "wpic-table__header wpic-table__divider border-b border-zinc-100 dark:border-zinc-800" }, X3 = ["onClick"], G3 = { key: 1 }, _3 = {
|
|
302
305
|
key: 0,
|
|
303
|
-
class: "border-b border-zinc-200
|
|
306
|
+
class: "wpic-table__summary wpic-table__divider border-b border-zinc-200 font-medium dark:border-zinc-700"
|
|
304
307
|
}, n4 = { key: 0 }, e4 = { key: 1 }, t4 = ["onClick"], l4 = ["onClick"], a4 = {
|
|
305
308
|
key: 0,
|
|
306
|
-
class: "border-b border-zinc-100 dark:border-zinc-800"
|
|
309
|
+
class: "wpic-table__divider border-b border-zinc-100 dark:border-zinc-800"
|
|
307
310
|
}, c4 = ["colspan"], i4 = { key: 2 }, o4 = ["colspan"], s4 = { class: "flex flex-col items-center gap-2" }, r4 = { class: "tabular-nums text-zinc-400 dark:text-zinc-500" }, d4 = {
|
|
308
311
|
key: 0,
|
|
309
312
|
class: "flex items-center gap-0.5"
|
|
@@ -414,7 +417,7 @@ const S3 = {
|
|
|
414
417
|
}, [
|
|
415
418
|
(T.value || f(z).toolbar) && !n.loading ? (e(), l("div", {
|
|
416
419
|
key: 0,
|
|
417
|
-
class: g(["flex items-center gap-2 border-b border-zinc-100 dark:border-zinc-800 wpic-table__pad-x", n.compact ? "py-1" : "py-2"])
|
|
420
|
+
class: g(["flex items-center gap-2 wpic-table__divider border-b border-zinc-100 dark:border-zinc-800 wpic-table__pad-x", n.compact ? "py-1" : "py-2"])
|
|
418
421
|
}, [
|
|
419
422
|
T.value ? (e(), l(W, { key: 0 }, [
|
|
420
423
|
M(y0, {
|
|
@@ -442,7 +445,7 @@ const S3 = {
|
|
|
442
445
|
n.expandable ? (e(), l("col", q3)) : m("", !0),
|
|
443
446
|
(e(!0), l(W, null, a1(n.columns, (V) => (e(), l("col", {
|
|
444
447
|
key: V.field,
|
|
445
|
-
style:
|
|
448
|
+
style: f1(M1(V))
|
|
446
449
|
}, null, 4))), 128))
|
|
447
450
|
]),
|
|
448
451
|
s.showHeader !== !1 ? (e(), l("thead", Q3, [
|
|
@@ -464,8 +467,8 @@ const S3 = {
|
|
|
464
467
|
}, null, 2)) : m("", !0),
|
|
465
468
|
(e(!0), l(W, null, a1(n.columns, (V, R) => (e(), l("th", {
|
|
466
469
|
key: V.field,
|
|
467
|
-
class: g([p1(R, n.compact ? "py-1" : "py-2"), "whitespace-nowrap text-zinc-500 dark:text-zinc-300 font-medium", G(V.align), R === 0 && !n.expandable && !n.selectable ? "sticky left-0 z-10" : ""]),
|
|
468
|
-
style:
|
|
470
|
+
class: g([p1(R, n.compact ? "py-1" : "py-2"), "whitespace-nowrap text-zinc-500 dark:text-zinc-300 font-medium", G(V.align), R === 0 && !n.expandable && !n.selectable ? "wpic-table__sticky sticky left-0 z-10" : ""]),
|
|
471
|
+
style: f1({ ...M1(V) })
|
|
469
472
|
}, [
|
|
470
473
|
Q(E.$slots, "th-" + V.field, {
|
|
471
474
|
col: V,
|
|
@@ -482,7 +485,7 @@ const S3 = {
|
|
|
482
485
|
]),
|
|
483
486
|
style: { color: "inherit" }
|
|
484
487
|
}, [
|
|
485
|
-
|
|
488
|
+
m1(b(V.label) + " ", 1),
|
|
486
489
|
C.value === V.field && i.value === "asc" ? (e(), K(f(k0), {
|
|
487
490
|
key: 0,
|
|
488
491
|
size: 11,
|
|
@@ -497,7 +500,7 @@ const S3 = {
|
|
|
497
500
|
style: { opacity: "0.3" }
|
|
498
501
|
}))
|
|
499
502
|
], 10, X3)) : (e(), l(W, { key: 1 }, [
|
|
500
|
-
|
|
503
|
+
m1(b(V.label), 1)
|
|
501
504
|
], 64))
|
|
502
505
|
])
|
|
503
506
|
], 6))), 128))
|
|
@@ -509,21 +512,20 @@ const S3 = {
|
|
|
509
512
|
n.expandable ? (e(), l("td", e4)) : m("", !0),
|
|
510
513
|
(e(!0), l(W, null, a1(n.columns, (V, R) => (e(), l("td", {
|
|
511
514
|
key: V.field,
|
|
512
|
-
class: g([p1(R, n.compact ? "py-1" : "py-2.5"), G(V.align), R === 0 ? "sticky left-0 z-10 text-zinc-900 dark:text-zinc-100" : "text-zinc-700 dark:text-zinc-200"])
|
|
513
|
-
style: m1(R === 0 ? { background: "inherit" } : {})
|
|
515
|
+
class: g([p1(R, n.compact ? "py-1" : "py-2.5"), G(V.align), R === 0 && !n.expandable && !n.selectable ? "wpic-table__sticky sticky left-0 z-10 text-zinc-900 dark:text-zinc-100" : "text-zinc-700 dark:text-zinc-200"])
|
|
514
516
|
}, [
|
|
515
517
|
Q(E.$slots, "summary-" + V.field, {
|
|
516
518
|
row: n.summaryRow,
|
|
517
519
|
value: n.summaryRow[V.field]
|
|
518
520
|
}, () => [
|
|
519
|
-
|
|
521
|
+
m1(b(n.summaryRow[V.field] ?? "—"), 1)
|
|
520
522
|
])
|
|
521
|
-
],
|
|
523
|
+
], 2))), 128))
|
|
522
524
|
])) : m("", !0),
|
|
523
525
|
q.value.length ? (e(!0), l(W, { key: 1 }, a1(q.value, (V, R) => (e(), l(W, { key: R }, [
|
|
524
526
|
a("tr", {
|
|
525
|
-
class: g(["group border-b border-zinc-100 dark:border-zinc-800
|
|
526
|
-
style:
|
|
527
|
+
class: g(["wpic-table__row group wpic-table__divider border-b border-zinc-100 dark:border-zinc-800", [n.expandable && c.value.has(R) ? "border-b-0" : "", n.rowClass?.(V)]]),
|
|
528
|
+
style: f1({ cursor: n.rowClickable || n.expandable ? "pointer" : "default", ...n.rowStyle?.(V) ?? {} }),
|
|
527
529
|
onClick: (l1) => n.expandable ? o(R) : n.rowClickable && u("row-click", V)
|
|
528
530
|
}, [
|
|
529
531
|
n.selectable ? (e(), l("td", {
|
|
@@ -556,18 +558,17 @@ const S3 = {
|
|
|
556
558
|
class: g([
|
|
557
559
|
p1(b1, n.compact ? "py-1" : "py-2.5"),
|
|
558
560
|
G(l1.align),
|
|
559
|
-
b1 === 0 && !n.expandable && !n.selectable ? "sticky left-0 text-zinc-900 dark:text-zinc-100 font-medium" : "text-zinc-700 dark:text-zinc-200"
|
|
561
|
+
b1 === 0 && !n.expandable && !n.selectable ? "wpic-table__sticky sticky left-0 z-10 text-zinc-900 dark:text-zinc-100 font-medium" : "text-zinc-700 dark:text-zinc-200"
|
|
560
562
|
]),
|
|
561
|
-
style: m1(b1 === 0 && !n.expandable && !n.selectable ? { background: "inherit", zIndex: 1 } : {}),
|
|
562
563
|
onClick: (y1) => n.expandable ? (n.rowClickable && u("row-click", V), y1.stopPropagation()) : void 0
|
|
563
564
|
}, [
|
|
564
565
|
Q(E.$slots, l1.field, {
|
|
565
566
|
row: V,
|
|
566
567
|
value: V[l1.field]
|
|
567
568
|
}, () => [
|
|
568
|
-
|
|
569
|
+
m1(b(V[l1.field] ?? "—"), 1)
|
|
569
570
|
])
|
|
570
|
-
],
|
|
571
|
+
], 10, l4))), 128))
|
|
571
572
|
], 14, t4),
|
|
572
573
|
n.expandable && c.value.has(R) ? (e(), l("tr", a4, [
|
|
573
574
|
a("td", {
|
|
@@ -584,7 +585,7 @@ const S3 = {
|
|
|
584
585
|
}, [
|
|
585
586
|
a("div", s4, [
|
|
586
587
|
Q(E.$slots, "empty-icon"),
|
|
587
|
-
|
|
588
|
+
m1(" " + b(n.emptyText ?? "No data"), 1)
|
|
588
589
|
])
|
|
589
590
|
], 8, o4)
|
|
590
591
|
]))
|
|
@@ -593,13 +594,13 @@ const S3 = {
|
|
|
593
594
|
]),
|
|
594
595
|
n.showFooter && o1.value > 0 ? (e(), l("div", {
|
|
595
596
|
key: 0,
|
|
596
|
-
class: g(["flex items-center justify-between border-t border-zinc-100 dark:border-zinc-800 wpic-table__pad-x", n.compact ? "py-1" : "py-2.5"])
|
|
597
|
+
class: g(["flex items-center justify-between wpic-table__divider border-t border-zinc-100 dark:border-zinc-800 wpic-table__pad-x", n.compact ? "py-1" : "py-2.5"])
|
|
597
598
|
}, [
|
|
598
599
|
a("span", r4, [
|
|
599
600
|
g1.value > 1 ? (e(), l(W, { key: 0 }, [
|
|
600
|
-
|
|
601
|
+
m1(b(c1.value) + "–" + b(w1.value) + " " + b(n.labels?.of ?? "of") + " " + b(o1.value), 1)
|
|
601
602
|
], 64)) : (e(), l(W, { key: 1 }, [
|
|
602
|
-
|
|
603
|
+
m1(b(o1.value) + " " + b(o1.value === 1 ? n.labels?.item ?? "item" : n.labels?.items ?? "items"), 1)
|
|
603
604
|
], 64))
|
|
604
605
|
]),
|
|
605
606
|
g1.value > 1 ? (e(), l("div", d4, [
|
|
@@ -619,7 +620,7 @@ const S3 = {
|
|
|
619
620
|
"h-7 min-w-7 px-2 rounded-md text-sm font-medium transition-colors cursor-pointer",
|
|
620
621
|
Z.value === V ? "" : "text-zinc-700 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-700"
|
|
621
622
|
]),
|
|
622
|
-
style:
|
|
623
|
+
style: f1(Z.value === V ? "background:rgba(94,106,210,0.1);color:#5E6AD2" : void 0)
|
|
623
624
|
}, b(V), 15, v4))
|
|
624
625
|
], 64))), 128)),
|
|
625
626
|
a("button", {
|
|
@@ -897,17 +898,17 @@ const S3 = {
|
|
|
897
898
|
])) : (e(), l("div", {
|
|
898
899
|
key: 2,
|
|
899
900
|
class: g(["w-spreadsheet", { "w-spreadsheet--with-column-axis": c.value }]),
|
|
900
|
-
style:
|
|
901
|
+
style: f1({ maxHeight: i.value ? "calc(100vh - 96px)" : n.maxHeight })
|
|
901
902
|
}, [
|
|
902
903
|
a("table", {
|
|
903
904
|
class: g(["w-spreadsheet__table", { "w-spreadsheet__table--sticky-columns": z.value }]),
|
|
904
|
-
style:
|
|
905
|
+
style: f1({ minWidth: n.minWidth })
|
|
905
906
|
}, [
|
|
906
907
|
a("colgroup", null, [
|
|
907
908
|
o.value ? (e(), l("col", C4)) : m("", !0),
|
|
908
909
|
(e(!0), l(W, null, a1(n.columns, (N) => (e(), l("col", {
|
|
909
910
|
key: N.key,
|
|
910
|
-
style:
|
|
911
|
+
style: f1({ width: N.width })
|
|
911
912
|
}, null, 4))), 128))
|
|
912
913
|
]),
|
|
913
914
|
c.value ? (e(), l("thead", k4, [
|
|
@@ -930,7 +931,7 @@ const S3 = {
|
|
|
930
931
|
class: g(["w-spreadsheet__cell", [b1(s1), { "w-spreadsheet__cell--sortable": U(s1), "w-spreadsheet__cell--sticky": t1(N, D), "w-spreadsheet__cell--sticky-first": c1(N, D), "w-spreadsheet__cell--active": G(N, s1) }, u1(h1, D), V(N, s1)]]),
|
|
931
932
|
colspan: s1.colspan || 1,
|
|
932
933
|
title: s1.title,
|
|
933
|
-
style:
|
|
934
|
+
style: f1(w1(N, D)),
|
|
934
935
|
tabindex: U(s1) ? 0 : void 0,
|
|
935
936
|
onClick: (Y) => I(s1),
|
|
936
937
|
onKeydown: [
|
|
@@ -965,7 +966,7 @@ const S3 = {
|
|
|
965
966
|
M(f(T2), { size: 16 })
|
|
966
967
|
])) : m("", !0)
|
|
967
968
|
])) : (e(), l(W, { key: 1 }, [
|
|
968
|
-
|
|
969
|
+
m1(b(s1.value ?? ""), 1)
|
|
969
970
|
], 64))
|
|
970
971
|
]),
|
|
971
972
|
U(s1) ? (e(), K(B1(k.value === s1.key ? C.value === "asc" ? f(k0) : f(D1) : f(J2)), {
|
|
@@ -1212,7 +1213,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
1212
1213
|
ref: C,
|
|
1213
1214
|
"data-wpic-theme": f(s)?.mode,
|
|
1214
1215
|
class: g([{ "wpic-theme": f(s), dark: f(s)?.mode === "dark" }, "wpic-popover-panel flex flex-col bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-xl dark:shadow-black/40 overflow-hidden"]),
|
|
1215
|
-
style:
|
|
1216
|
+
style: f1([f(s)?.variables, f(T), I.value])
|
|
1216
1217
|
}, [
|
|
1217
1218
|
Q(H.$slots, "default")
|
|
1218
1219
|
], 14, P4), [
|
|
@@ -2090,7 +2091,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
2090
2091
|
class: g(["wpic-chat-panel overflow-visible text-zinc-900 dark:text-zinc-100", [n.docked ? "flex border-l border-zinc-200/40 bg-zinc-50 dark:border-zinc-800/40 dark:bg-zinc-950" : "", Z.value ? "cursor-grabbing" : "", o1.value ? "select-none" : ""]]),
|
|
2091
2092
|
"data-variant": n.variant,
|
|
2092
2093
|
"data-maximized": n.maximized,
|
|
2093
|
-
style:
|
|
2094
|
+
style: f1(M0.value),
|
|
2094
2095
|
"aria-label": "Chat"
|
|
2095
2096
|
}, [
|
|
2096
2097
|
a("div", {
|
|
@@ -2371,7 +2372,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
2371
2372
|
(e(), K(U1, { to: "body" }, [
|
|
2372
2373
|
e1.value === `loose-${v.id}` ? (e(), l("div", {
|
|
2373
2374
|
key: 0,
|
|
2374
|
-
style:
|
|
2375
|
+
style: f1(P.value),
|
|
2375
2376
|
"data-wpic-chat-menu-root": "",
|
|
2376
2377
|
onPointerenter: s2,
|
|
2377
2378
|
onMouseenter: s2,
|
|
@@ -2400,7 +2401,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
2400
2401
|
onClick: (w) => c0(v, null)
|
|
2401
2402
|
}, {
|
|
2402
2403
|
default: r1(() => [...d[28] || (d[28] = [
|
|
2403
|
-
|
|
2404
|
+
m1("No project", -1)
|
|
2404
2405
|
])]),
|
|
2405
2406
|
_: 1
|
|
2406
2407
|
}, 8, ["onClick"])
|
|
@@ -2964,14 +2965,14 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
2964
2965
|
return c1.length ? I <= t1 ? c1.join(", ") : `${c1.slice(0, t1).join(", ")} · ${I}` : t.placeholder ? `${t.placeholder} · ${I}` : `${I} selected`;
|
|
2965
2966
|
}), q = y(() => t.multiple ? i.value.length > 0 : t.modelValue != null && t.modelValue !== ""), e1 = y(() => t.variant ?? "default");
|
|
2966
2967
|
return (P, U) => (e(), l("div", {
|
|
2967
|
-
style:
|
|
2968
|
+
style: f1({ position: "relative", width: e1.value === "plain" ? "auto" : "100%", minWidth: 0 })
|
|
2968
2969
|
}, [
|
|
2969
2970
|
n.label && n.labelPlacement !== "inline" ? (e(), K(x0, {
|
|
2970
2971
|
key: 0,
|
|
2971
2972
|
for: z
|
|
2972
2973
|
}, {
|
|
2973
2974
|
default: r1(() => [
|
|
2974
|
-
|
|
2975
|
+
m1(b(n.label), 1)
|
|
2975
2976
|
]),
|
|
2976
2977
|
_: 1
|
|
2977
2978
|
})) : m("", !0),
|
|
@@ -3118,7 +3119,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
3118
3119
|
I.meta ? (e(), l("span", {
|
|
3119
3120
|
key: 2,
|
|
3120
3121
|
class: "shrink-0 px-1.5 py-px rounded text-[11px]",
|
|
3121
|
-
style:
|
|
3122
|
+
style: f1({
|
|
3122
3123
|
background: I.metaVariant === "success" ? "rgba(34,197,94,0.12)" : I.metaVariant === "warning" ? "rgba(245,158,11,0.12)" : I.metaVariant === "error" ? "rgba(239,68,68,0.12)" : I.metaVariant === "subtle" ? "rgba(113,113,122,0.12)" : "transparent",
|
|
3123
3124
|
color: I.metaVariant === "success" ? "#22C55E" : I.metaVariant === "warning" ? "#F59E0B" : I.metaVariant === "error" ? "#EF4444" : "rgb(161 161 170)"
|
|
3124
3125
|
})
|
|
@@ -3139,7 +3140,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
3139
3140
|
size: 14,
|
|
3140
3141
|
class: "shrink-0"
|
|
3141
3142
|
}),
|
|
3142
|
-
|
|
3143
|
+
m1(' Create "' + b(C.value.trim()) + '" ', 1)
|
|
3143
3144
|
])) : m("", !0)
|
|
3144
3145
|
])
|
|
3145
3146
|
]),
|
|
@@ -3155,7 +3156,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
3155
3156
|
setup(n) {
|
|
3156
3157
|
return (h, t) => (e(), l("span", $6, [
|
|
3157
3158
|
Q(h.$slots, "default", {}, () => [
|
|
3158
|
-
|
|
3159
|
+
m1(b(n.label), 1)
|
|
3159
3160
|
])
|
|
3160
3161
|
]));
|
|
3161
3162
|
}
|
|
@@ -3184,7 +3185,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
3184
3185
|
max: n.max,
|
|
3185
3186
|
step: n.step,
|
|
3186
3187
|
disabled: n.disabled,
|
|
3187
|
-
style:
|
|
3188
|
+
style: f1({ "--wpic-slider-progress": `${s.value}%` }),
|
|
3188
3189
|
class: g([
|
|
3189
3190
|
"wpic-slider",
|
|
3190
3191
|
`wpic-slider--${n.variant}`,
|
|
@@ -3232,7 +3233,7 @@ const P4 = ["data-wpic-theme"], n2 = /* @__PURE__ */ X({
|
|
|
3232
3233
|
o.color ? (e(), l("span", {
|
|
3233
3234
|
key: 0,
|
|
3234
3235
|
class: "w-2 h-2 rounded-full shrink-0",
|
|
3235
|
-
style:
|
|
3236
|
+
style: f1({ background: o.color })
|
|
3236
3237
|
}, null, 4)) : o.icon ? (e(), K(B1(o.icon), {
|
|
3237
3238
|
key: 1,
|
|
3238
3239
|
size: 13,
|
|
@@ -3486,14 +3487,14 @@ const T6 = {
|
|
|
3486
3487
|
Q(h.$slots, "icon"),
|
|
3487
3488
|
a("span", n9, [
|
|
3488
3489
|
Q(h.$slots, "title", {}, () => [
|
|
3489
|
-
|
|
3490
|
+
m1(b(n.title), 1)
|
|
3490
3491
|
])
|
|
3491
3492
|
]),
|
|
3492
3493
|
Q(h.$slots, "actions")
|
|
3493
3494
|
]),
|
|
3494
3495
|
n.subtitle || h.$slots.subtitle ? (e(), l("p", e9, [
|
|
3495
3496
|
Q(h.$slots, "subtitle", {}, () => [
|
|
3496
|
-
|
|
3497
|
+
m1(b(n.subtitle), 1)
|
|
3497
3498
|
])
|
|
3498
3499
|
])) : m("", !0)
|
|
3499
3500
|
], 2)) : m("", !0),
|
|
@@ -3552,7 +3553,7 @@ const T6 = {
|
|
|
3552
3553
|
setup(n) {
|
|
3553
3554
|
return (h, t) => (e(), l("div", {
|
|
3554
3555
|
class: "wpic-skeleton animate-pulse bg-zinc-200 dark:bg-zinc-800",
|
|
3555
|
-
style:
|
|
3556
|
+
style: f1({
|
|
3556
3557
|
width: n.width ?? "100%",
|
|
3557
3558
|
height: n.height ?? "1rem",
|
|
3558
3559
|
borderRadius: n.rounded ?? "4px"
|
|
@@ -3638,7 +3639,7 @@ const T6 = {
|
|
|
3638
3639
|
const t = V2(), s = h, u = S(!1);
|
|
3639
3640
|
return p2("wpic-pagination-url-sync", !1), (c, o) => (e(), K(U1, { to: "body" }, [
|
|
3640
3641
|
a("div", {
|
|
3641
|
-
style:
|
|
3642
|
+
style: f1(f(t)?.variables),
|
|
3642
3643
|
"data-wpic-theme": f(t)?.mode,
|
|
3643
3644
|
class: g([{ "wpic-theme": f(t), dark: f(t)?.mode === "dark" }, "wpic-modal-overlay flex items-center justify-center bg-black/50 backdrop-blur-sm px-4", n.zIndex]),
|
|
3644
3645
|
onMousedown: o[2] || (o[2] = z1((z) => u.value = !0, ["self"])),
|
|
@@ -4237,7 +4238,7 @@ const ca = /* @__PURE__ */ Y1(G9, [["render", n7]]), e7 = ["placeholder", "rows"
|
|
|
4237
4238
|
key: 0,
|
|
4238
4239
|
ref_key: "floatingRef",
|
|
4239
4240
|
ref: z,
|
|
4240
|
-
style:
|
|
4241
|
+
style: f1({ ...f(k), minWidth: u.value ? "560px" : "280px" }),
|
|
4241
4242
|
class: "bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-xl z-50 p-3"
|
|
4242
4243
|
}, [
|
|
4243
4244
|
a("div", o7, [
|
|
@@ -4444,7 +4445,7 @@ const ha = /* @__PURE__ */ Y1($7, [["render", A7]]), va = /* @__PURE__ */ X({
|
|
|
4444
4445
|
onClick: u[0] || (u[0] = (c) => t("cancel"))
|
|
4445
4446
|
}, {
|
|
4446
4447
|
default: r1(() => [
|
|
4447
|
-
|
|
4448
|
+
m1(b(n.cancelText ?? "Cancel"), 1)
|
|
4448
4449
|
]),
|
|
4449
4450
|
_: 1
|
|
4450
4451
|
}, 8, ["disabled"]),
|
|
@@ -4454,7 +4455,7 @@ const ha = /* @__PURE__ */ Y1($7, [["render", A7]]), va = /* @__PURE__ */ X({
|
|
|
4454
4455
|
onClick: u[1] || (u[1] = (c) => t("confirm"))
|
|
4455
4456
|
}, {
|
|
4456
4457
|
default: r1(() => [
|
|
4457
|
-
|
|
4458
|
+
m1(b(n.confirmText ?? "Confirm"), 1)
|
|
4458
4459
|
]),
|
|
4459
4460
|
_: 1
|
|
4460
4461
|
}, 8, ["variant", "loading"])
|
|
@@ -4557,7 +4558,7 @@ const za = /* @__PURE__ */ X({
|
|
|
4557
4558
|
n.modelValue ? (e(), l("div", {
|
|
4558
4559
|
key: 0,
|
|
4559
4560
|
class: "fixed inset-0 bg-black/30 backdrop-blur-[2px]",
|
|
4560
|
-
style:
|
|
4561
|
+
style: f1({ zIndex: (n.zIndex ?? 70) - 1, right: c }),
|
|
4561
4562
|
onClick: i[0] || (i[0] = (j) => k())
|
|
4562
4563
|
}, null, 4)) : m("", !0)
|
|
4563
4564
|
]),
|
|
@@ -4568,7 +4569,7 @@ const za = /* @__PURE__ */ X({
|
|
|
4568
4569
|
n.modelValue ? (e(), l("div", {
|
|
4569
4570
|
key: 0,
|
|
4570
4571
|
class: g(["wpic-slide-panel fixed box-border flex flex-col bg-white dark:bg-zinc-900 border-zinc-200 dark:border-zinc-800 shadow-2xl", n.island ? "top-3 bottom-3 rounded-xl border overflow-hidden" : "top-0 h-full border-l", u.value ? "" : n.width ?? "w-[420px]"]),
|
|
4571
|
-
style:
|
|
4572
|
+
style: f1({ width: u.value, zIndex: n.zIndex ?? 70, right: n.island ? `calc(${c} + 12px)` : c, maxWidth: `calc(100vw - ${c}${n.island ? " - 24px" : ""})` })
|
|
4572
4573
|
}, [
|
|
4573
4574
|
n.hideHeader ? m("", !0) : (e(), l("div", W7, [
|
|
4574
4575
|
Q(C.$slots, "header", {}, () => [
|
|
@@ -4826,7 +4827,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4826
4827
|
size: 9,
|
|
4827
4828
|
class: "shrink-0 mr-0.5"
|
|
4828
4829
|
}),
|
|
4829
|
-
|
|
4830
|
+
m1(" " + b(_) + " ", 1),
|
|
4830
4831
|
a("button", {
|
|
4831
4832
|
class: "ml-1 text-zinc-400 dark:text-zinc-500 hover:text-gray-900 dark:hover:text-white transition",
|
|
4832
4833
|
onClick: (C1) => i(_)
|
|
@@ -4859,7 +4860,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4859
4860
|
size: 12,
|
|
4860
4861
|
class: "shrink-0 text-zinc-400"
|
|
4861
4862
|
}),
|
|
4862
|
-
|
|
4863
|
+
m1(" " + b(_), 1)
|
|
4863
4864
|
], 40, J7))), 128)),
|
|
4864
4865
|
k.value ? (e(), l("button", {
|
|
4865
4866
|
key: 0,
|
|
@@ -4871,7 +4872,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4871
4872
|
size: 12,
|
|
4872
4873
|
class: "shrink-0"
|
|
4873
4874
|
}),
|
|
4874
|
-
|
|
4875
|
+
m1(' Create "' + b(c.value.trim()) + '" ', 1)
|
|
4875
4876
|
], 32)) : m("", !0)
|
|
4876
4877
|
])) : m("", !0)
|
|
4877
4878
|
])
|
|
@@ -4887,7 +4888,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4887
4888
|
size: 9,
|
|
4888
4889
|
class: "shrink-0 mr-0.5"
|
|
4889
4890
|
}),
|
|
4890
|
-
|
|
4891
|
+
m1(" " + b(d1(_)) + " ", 1),
|
|
4891
4892
|
a("button", {
|
|
4892
4893
|
class: "ml-1 text-zinc-400 dark:text-zinc-500 hover:text-gray-900 dark:hover:text-white transition",
|
|
4893
4894
|
onClick: (C1) => N(_)
|
|
@@ -4927,12 +4928,12 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4927
4928
|
key: 1,
|
|
4928
4929
|
ref_key: "dropdownRef",
|
|
4929
4930
|
ref: e1,
|
|
4930
|
-
style:
|
|
4931
|
+
style: f1({ ...f(w1), minWidth: q.value?.offsetWidth + "px" }),
|
|
4931
4932
|
class: "bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg shadow-xl z-50 overflow-y-auto"
|
|
4932
4933
|
}, [
|
|
4933
4934
|
E.value ? (e(), l("div", t8, [
|
|
4934
4935
|
M(f(B3), { size: 10 }),
|
|
4935
|
-
|
|
4936
|
+
m1(" " + b(E.value), 1)
|
|
4936
4937
|
])) : m("", !0),
|
|
4937
4938
|
(e(!0), l(W, null, a1(M1.value, (_) => (e(), l("button", {
|
|
4938
4939
|
key: _.tag_id,
|
|
@@ -4954,7 +4955,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4954
4955
|
class: "ml-auto shrink-0"
|
|
4955
4956
|
}, {
|
|
4956
4957
|
default: r1(() => [
|
|
4957
|
-
|
|
4958
|
+
m1(b(n.labelAlreadyAdded), 1)
|
|
4958
4959
|
]),
|
|
4959
4960
|
_: 1
|
|
4960
4961
|
})) : m("", !0)
|
|
@@ -4970,7 +4971,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4970
4971
|
variant: "default"
|
|
4971
4972
|
}, {
|
|
4972
4973
|
default: r1(() => [
|
|
4973
|
-
|
|
4974
|
+
m1(b(n.labelAlreadyAdded), 1)
|
|
4974
4975
|
]),
|
|
4975
4976
|
_: 1
|
|
4976
4977
|
})) : L.value.existed ? (e(), K(r2, {
|
|
@@ -4978,7 +4979,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4978
4979
|
variant: "default"
|
|
4979
4980
|
}, {
|
|
4980
4981
|
default: r1(() => [
|
|
4981
|
-
|
|
4982
|
+
m1(b(n.labelExisting), 1)
|
|
4982
4983
|
]),
|
|
4983
4984
|
_: 1
|
|
4984
4985
|
})) : (e(), K(r2, {
|
|
@@ -4986,7 +4987,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
4986
4987
|
variant: "info"
|
|
4987
4988
|
}, {
|
|
4988
4989
|
default: r1(() => [
|
|
4989
|
-
|
|
4990
|
+
m1(b(n.labelNew), 1)
|
|
4990
4991
|
]),
|
|
4991
4992
|
_: 1
|
|
4992
4993
|
}))
|
|
@@ -5046,7 +5047,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5046
5047
|
onClick: O
|
|
5047
5048
|
}, {
|
|
5048
5049
|
default: r1(() => [
|
|
5049
|
-
|
|
5050
|
+
m1(b(n.labelCancel), 1)
|
|
5050
5051
|
]),
|
|
5051
5052
|
_: 1
|
|
5052
5053
|
}),
|
|
@@ -5058,7 +5059,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5058
5059
|
onClick: A
|
|
5059
5060
|
}, {
|
|
5060
5061
|
default: r1(() => [
|
|
5061
|
-
|
|
5062
|
+
m1(b(n.labelConfirm), 1)
|
|
5062
5063
|
]),
|
|
5063
5064
|
_: 1
|
|
5064
5065
|
}, 8, ["loading"]))
|
|
@@ -5204,7 +5205,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5204
5205
|
key: 0,
|
|
5205
5206
|
ref_key: "floatingRef",
|
|
5206
5207
|
ref: k,
|
|
5207
|
-
style:
|
|
5208
|
+
style: f1({ ...f($), minWidth: z.value?.offsetWidth + "px", width: "280px" }),
|
|
5208
5209
|
class: "bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg shadow-xl z-50 overflow-hidden"
|
|
5209
5210
|
}, [
|
|
5210
5211
|
a("div", C8, [
|
|
@@ -5265,7 +5266,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5265
5266
|
key: 1,
|
|
5266
5267
|
ref_key: "subPanelRef",
|
|
5267
5268
|
ref: j,
|
|
5268
|
-
style:
|
|
5269
|
+
style: f1(f(T)),
|
|
5269
5270
|
class: "bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg shadow-xl z-[51] overflow-hidden w-[320px] max-h-[280px] overflow-y-auto",
|
|
5270
5271
|
onMouseenter: q,
|
|
5271
5272
|
onMouseleave: e1
|
|
@@ -5286,7 +5287,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5286
5287
|
size: 12,
|
|
5287
5288
|
class: "shrink-0 text-zinc-400 dark:text-zinc-500"
|
|
5288
5289
|
})) : m("", !0),
|
|
5289
|
-
|
|
5290
|
+
m1(" " + b(c1.name), 1)
|
|
5290
5291
|
], 42, L8))), 128))
|
|
5291
5292
|
], 36)) : m("", !0),
|
|
5292
5293
|
u.value ? (e(), l("div", {
|
|
@@ -5341,7 +5342,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5341
5342
|
], 10, $8))), 128)),
|
|
5342
5343
|
n.files.length ? m("", !0) : (e(), l("div", F8, [
|
|
5343
5344
|
Q(u.$slots, "empty", {}, () => [
|
|
5344
|
-
c[0] || (c[0] =
|
|
5345
|
+
c[0] || (c[0] = m1("No files", -1))
|
|
5345
5346
|
])
|
|
5346
5347
|
]))
|
|
5347
5348
|
]));
|
|
@@ -5401,7 +5402,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5401
5402
|
key: 0,
|
|
5402
5403
|
ref_key: "floating",
|
|
5403
5404
|
ref: u,
|
|
5404
|
-
style:
|
|
5405
|
+
style: f1([f(t)?.variables, f(z)]),
|
|
5405
5406
|
class: g([{ "wpic-theme": f(t), dark: f(t)?.mode === "dark" }, "wpic-tooltip-panel pointer-events-none z-[9999] max-w-[200px] whitespace-pre-line break-words text-base font-medium"]),
|
|
5406
5407
|
"data-wpic-theme": f(t)?.mode,
|
|
5407
5408
|
role: "tooltip"
|
|
@@ -5490,7 +5491,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5490
5491
|
class: "wpic-stat-card__change shrink-0 text-xs font-medium tabular-nums",
|
|
5491
5492
|
title: n.changeTitle,
|
|
5492
5493
|
"aria-label": n.changeTitle ? `${n.change}. ${n.changeTitle}` : void 0,
|
|
5493
|
-
style:
|
|
5494
|
+
style: f1({ color: n.changeTone === "negative" ? "var(--wpic-negative)" : n.changeTone === "neutral" ? "var(--wpic-muted)" : "var(--wpic-accent)" })
|
|
5494
5495
|
}, b(n.change), 13, D8)) : m("", !0)
|
|
5495
5496
|
]),
|
|
5496
5497
|
a("div", {
|
|
@@ -5498,16 +5499,16 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5498
5499
|
}, [
|
|
5499
5500
|
a("strong", {
|
|
5500
5501
|
class: g([n.compact ? "text-lg" : "text-2xl", "wpic-stat-card__value font-semibold tracking-tight tabular-nums text-[var(--wpic-text)]"]),
|
|
5501
|
-
style:
|
|
5502
|
+
style: f1(n.color ? { color: n.color } : void 0)
|
|
5502
5503
|
}, [
|
|
5503
|
-
|
|
5504
|
+
m1(b(n.value), 1),
|
|
5504
5505
|
n.unit ? (e(), l("span", I8, b(n.unit), 1)) : m("", !0)
|
|
5505
5506
|
], 6),
|
|
5506
5507
|
n.change && n.changePosition !== "label" ? (e(), l("span", {
|
|
5507
5508
|
key: 0,
|
|
5508
5509
|
title: n.changeTitle,
|
|
5509
5510
|
class: "wpic-stat-card__change shrink-0 text-sm font-medium",
|
|
5510
|
-
style:
|
|
5511
|
+
style: f1({ color: n.changeTone === "negative" ? "var(--wpic-negative)" : n.changeTone === "neutral" ? "var(--wpic-muted)" : "var(--wpic-accent)" })
|
|
5511
5512
|
}, b(n.change), 13, R8)) : m("", !0)
|
|
5512
5513
|
], 2),
|
|
5513
5514
|
n.trend !== void 0 ? (e(), l("div", Z8, [
|
|
@@ -5521,7 +5522,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5521
5522
|
n.sub ? (e(), l("p", {
|
|
5522
5523
|
key: 1,
|
|
5523
5524
|
class: "mt-2 text-xs tabular-nums",
|
|
5524
|
-
style:
|
|
5525
|
+
style: f1({ color: n.subColor || "var(--wpic-muted)" })
|
|
5525
5526
|
}, b(n.sub), 5)) : m("", !0)
|
|
5526
5527
|
]),
|
|
5527
5528
|
_: 1
|
|
@@ -5532,15 +5533,15 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5532
5533
|
a("p", K8, b(n.label), 1),
|
|
5533
5534
|
a("p", {
|
|
5534
5535
|
class: "text-2xl font-semibold tabular-nums tracking-tight leading-none text-main mb-2",
|
|
5535
|
-
style:
|
|
5536
|
+
style: f1(n.color ? `color:${n.color}` : "")
|
|
5536
5537
|
}, [
|
|
5537
|
-
|
|
5538
|
+
m1(b(n.value) + " ", 1),
|
|
5538
5539
|
n.unit ? (e(), l("span", U8, b(n.unit), 1)) : m("", !0)
|
|
5539
5540
|
], 4),
|
|
5540
5541
|
n.sub ? (e(), l("p", {
|
|
5541
5542
|
key: 0,
|
|
5542
5543
|
class: "text-xs mt-1 tabular-nums",
|
|
5543
|
-
style:
|
|
5544
|
+
style: f1(n.subColor ? `color:${n.subColor}` : "color:var(--text-dim)")
|
|
5544
5545
|
}, b(n.sub), 5)) : m("", !0)
|
|
5545
5546
|
], 2));
|
|
5546
5547
|
}
|
|
@@ -5659,7 +5660,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5659
5660
|
}, [
|
|
5660
5661
|
a("div", {
|
|
5661
5662
|
class: g(["h-full rounded-full", [n.color ? "" : "bg-indigo-500", n.animated ? "animate-pulse" : ""]]),
|
|
5662
|
-
style:
|
|
5663
|
+
style: f1(u.value)
|
|
5663
5664
|
}, null, 6)
|
|
5664
5665
|
], 2)
|
|
5665
5666
|
]));
|
|
@@ -5724,7 +5725,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5724
5725
|
C.dot ? (e(), l("span", {
|
|
5725
5726
|
key: 1,
|
|
5726
5727
|
class: "w-1.5 h-1.5 rounded-full shrink-0",
|
|
5727
|
-
style:
|
|
5728
|
+
style: f1({ background: C.dot })
|
|
5728
5729
|
}, null, 4)) : m("", !0),
|
|
5729
5730
|
n.selectionIndicator ? (e(), l("span", {
|
|
5730
5731
|
key: 2,
|
|
@@ -5759,7 +5760,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
5759
5760
|
C.dot ? (e(), l("span", {
|
|
5760
5761
|
key: 1,
|
|
5761
5762
|
class: "w-1.5 h-1.5 rounded-full shrink-0",
|
|
5762
|
-
style:
|
|
5763
|
+
style: f1({ background: C.dot })
|
|
5763
5764
|
}, null, 4)) : m("", !0),
|
|
5764
5765
|
n.selectionIndicator ? (e(), l("span", {
|
|
5765
5766
|
key: 2,
|
|
@@ -6100,12 +6101,12 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
6100
6101
|
placeholder: x.placeholder ?? "Search…",
|
|
6101
6102
|
clearable: x.clearable ?? !0,
|
|
6102
6103
|
class: "flex-1 min-w-0",
|
|
6103
|
-
style:
|
|
6104
|
+
style: f1(x.width ? { width: x.width } : {}),
|
|
6104
6105
|
"onUpdate:modelValue": (o1) => C(x.modelKey, o1)
|
|
6105
6106
|
}, null, 8, ["model-value", "icon", "placeholder", "clearable", "style", "onUpdate:modelValue"])) : x.type === "select" ? (e(), l("div", {
|
|
6106
6107
|
key: 1,
|
|
6107
6108
|
class: "shrink-0 text-base",
|
|
6108
|
-
style:
|
|
6109
|
+
style: f1({ width: x.width ?? "150px" })
|
|
6109
6110
|
}, [
|
|
6110
6111
|
M(Y2, X1({ ref_for: !0 }, n.selectLabels, {
|
|
6111
6112
|
"model-value": o(x.modelKey),
|
|
@@ -6126,7 +6127,7 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
6126
6127
|
max: x.max,
|
|
6127
6128
|
clearable: x.clearable ?? !0,
|
|
6128
6129
|
class: "shrink-0",
|
|
6129
|
-
style:
|
|
6130
|
+
style: f1({ width: x.width ?? "170px" }),
|
|
6130
6131
|
"onUpdate:modelValue": (o1) => i(x.modelKey, o1)
|
|
6131
6132
|
}, null, 8, ["model-value", "placeholder", "locale", "min", "max", "clearable", "style", "onUpdate:modelValue"])) : x.type === "pills" ? (e(), l(W, { key: 3 }, [
|
|
6132
6133
|
M(on, {
|
|
@@ -7176,9 +7177,9 @@ const K7 = { class: "wpic-tag-input" }, U7 = {
|
|
|
7176
7177
|
n.visible ? (e(), l("div", ve, [
|
|
7177
7178
|
a("span", me, [
|
|
7178
7179
|
n.count && n.count > 0 ? (e(), l(W, { key: 0 }, [
|
|
7179
|
-
|
|
7180
|
+
m1(b(n.count) + " " + b(n.countLabel ?? "selected"), 1)
|
|
7180
7181
|
], 64)) : (e(), l(W, { key: 1 }, [
|
|
7181
|
-
|
|
7182
|
+
m1(b(n.emptyLabel ?? "Select items"), 1)
|
|
7182
7183
|
], 64))
|
|
7183
7184
|
]),
|
|
7184
7185
|
Q(h.$slots, "default"),
|
|
@@ -17903,7 +17904,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
17903
17904
|
return p2(w0, o), (z, k) => (e(), l("div", {
|
|
17904
17905
|
class: g({ "wpic-theme": o.value, dark: o.value?.mode === "dark" }),
|
|
17905
17906
|
"data-wpic-theme": o.value?.mode,
|
|
17906
|
-
style:
|
|
17907
|
+
style: f1(o.value?.variables)
|
|
17907
17908
|
}, [
|
|
17908
17909
|
Q(z.$slots, "default")
|
|
17909
17910
|
], 14, Bl));
|
|
@@ -17933,7 +17934,7 @@ c36 -78 76 -117 152 -146 53 -20 76 -23 190 -22 137 2 262 27 295 59 10 11 17
|
|
|
17933
17934
|
a("div", Sl, [
|
|
17934
17935
|
(e(), K(B1(`h${n.headingLevel}`), { class: "text-2xl font-semibold leading-tight tracking-tight [overflow-wrap:anywhere]" }, {
|
|
17935
17936
|
default: r1(() => [
|
|
17936
|
-
|
|
17937
|
+
m1(b(n.title), 1)
|
|
17937
17938
|
]),
|
|
17938
17939
|
_: 1
|
|
17939
17940
|
})),
|