@vokril/ui-solid 0.34.0 → 0.35.0
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 +15 -0
- package/dist/Alert-DCIet3Ol.cjs +1 -0
- package/dist/Alert-DyBaU25r.js +59 -0
- package/dist/Badge-BXLrs2z-.cjs +1 -0
- package/dist/Badge-BguTObKo.js +99 -0
- package/dist/CommandPalette-3wKYPO9u.cjs +2 -0
- package/dist/CommandPalette-BnZwM7DE.js +4130 -0
- package/dist/PageSkeleton-3f-2SBNK.cjs +30 -0
- package/dist/{PageSkeleton-BRuqaDzr.js → PageSkeleton-lfENszyc.js} +516 -569
- package/dist/{StatusBarNotificationBell-Lps0FfKd.js → StatusBarNotificationBell-GbkAwC4w.js} +30 -29
- package/dist/{StatusBarNotificationBell-pBGZ_2eb.cjs → StatusBarNotificationBell-fegn26_s.cjs} +22 -22
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +38 -36
- package/dist/index.cjs +1 -1
- package/dist/index.js +430 -428
- package/dist/notificationCatalog-DmwTAO09.cjs +1 -0
- package/dist/notificationCatalog-otJ1LHFH.js +72 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +2 -2
- package/dist/overlay/ConfirmDialog.d.cts +36 -0
- package/dist/overlay/ConfirmDialog.d.ts +36 -0
- package/dist/overlay/dialogNudge.d.cts +16 -0
- package/dist/overlay/dialogNudge.d.ts +16 -0
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +1 -1
- package/dist/server/Alert-DWGobTUk.js +45 -0
- package/dist/server/Alert-DulmzLv9.cjs +1 -0
- package/dist/server/Badge-C1Jn--DR.js +68 -0
- package/dist/server/Badge-wsDCVlA8.cjs +1 -0
- package/dist/server/CommandPalette-B3EE1iMo.js +3376 -0
- package/dist/server/CommandPalette-DKURJBBZ.cjs +1 -0
- package/dist/server/PageSkeleton-CP8EmxyS.cjs +30 -0
- package/dist/server/{PageSkeleton-CFs7AdTA.js → PageSkeleton-HhO6CRZ8.js} +392 -431
- package/dist/server/{StatusBarNotificationBell-DiVJ-EnY.js → StatusBarNotificationBell-BfBGKXDG.js} +30 -29
- package/dist/server/{StatusBarNotificationBell-D0UzYPs6.cjs → StatusBarNotificationBell-CB919YAX.cjs} +21 -21
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +38 -36
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +294 -292
- package/dist/server/notificationCatalog-BKcY-o-R.js +57 -0
- package/dist/server/notificationCatalog-DR3ZggWn.cjs +1 -0
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +2 -2
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +1 -1
- package/dist/solid/overlay/ConfirmDialog.jsx +54 -10
- package/dist/solid/overlay/ConfirmDialog.module.css.js +6 -0
- package/dist/solid/overlay/DangerousActionDialog.jsx +8 -3
- package/dist/solid/overlay/DangerousActionDialog.module.css.js +1 -0
- package/dist/solid/overlay/dialogNudge.js +18 -0
- package/dist/style.css +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/dist/CommandPalette-BKa5pT_B.js +0 -4029
- package/dist/CommandPalette-Bq5ydWBA.cjs +0 -2
- package/dist/PageSkeleton-Cz2bckO4.cjs +0 -30
- package/dist/notificationCatalog-CRERhjp6.js +0 -168
- package/dist/notificationCatalog-DqTkd7M6.cjs +0 -1
- package/dist/server/CommandPalette-BU9QCOyy.cjs +0 -1
- package/dist/server/CommandPalette-Dj08M64T.js +0 -3305
- package/dist/server/PageSkeleton-D0KOKLsb.cjs +0 -30
- package/dist/server/notificationCatalog-CEDltsJS.cjs +0 -1
- package/dist/server/notificationCatalog-Cl1dH4aJ.js +0 -122
package/dist/{StatusBarNotificationBell-Lps0FfKd.js → StatusBarNotificationBell-GbkAwC4w.js}
RENAMED
|
@@ -22,9 +22,10 @@ import { p as Hc, m as Gc } from "./prefersReducedMotion-qcGrKv14.js";
|
|
|
22
22
|
import { n as $c, i as Mn } from "./keys-B2nlkpqc.js";
|
|
23
23
|
import { c as zc, E as Vc } from "./mainRealmDom-DydRT2Us.js";
|
|
24
24
|
import { I as Wc, P as Zo } from "./Input-C3rEQffK.js";
|
|
25
|
-
import {
|
|
25
|
+
import { B as Mu } from "./Badge-BguTObKo.js";
|
|
26
26
|
import { VpLock as qc, VpTreeBell as Yc, VpRocket as Kc, VpTerminal as Xc, VpTreeGitMerge as jc, VpTreeDatabase as Zc, VpTreeCloud as Qc, VpTreeKey as Jc, VpTreePlug as ea, VpPass as Qo, VpError as Jo, VpWarning as es, VpInfo as ts, VpChevronDown as ns, VpGear as Zr, VpTreeClose as Qr, VpSquareCheck as ta, VpMailOpened as na, VpTrash as Jr, VpDots as ua, VpFilter as ra, VpAdjustments as ia, VpBook as oa, VpBellRinging as sa, VpCheck as ca, VpCopy as aa, VpMinus as la, VpBellOff as hi, VpBell as us, VpChevronUp as da } from "@vokril/icons";
|
|
27
27
|
import { P as er, G as fa, D as ha } from "./GuidedTour-CwbGGSIW.js";
|
|
28
|
+
import { d as ln, P as vi } from "./notificationCatalog-otJ1LHFH.js";
|
|
28
29
|
import { D as ga, u as rs } from "./DesktopContextMenuContext-DJ3PnqAv.js";
|
|
29
30
|
import { B as Xe } from "./Button-CX7mylBT.js";
|
|
30
31
|
import { D as pa, f as Ea, a as lr } from "./DateRangePicker-B7XbFZP_.js";
|
|
@@ -670,19 +671,19 @@ function _u(e) {
|
|
|
670
671
|
function Ba(e) {
|
|
671
672
|
return e.get(ti);
|
|
672
673
|
}
|
|
673
|
-
async function
|
|
674
|
+
async function kE(e, t) {
|
|
674
675
|
t ? await e.set(ti, t) : await e.delete(ti);
|
|
675
676
|
}
|
|
676
677
|
function Ha(e, t) {
|
|
677
678
|
return e.get(_u(t));
|
|
678
679
|
}
|
|
679
|
-
async function
|
|
680
|
+
async function vE(e, t, n) {
|
|
680
681
|
n ? await e.set(_u(t), n) : await e.delete(_u(t));
|
|
681
682
|
}
|
|
682
|
-
function
|
|
683
|
+
function LE(e, t) {
|
|
683
684
|
return e.delete(_u(t));
|
|
684
685
|
}
|
|
685
|
-
async function
|
|
686
|
+
async function wE(e, t) {
|
|
686
687
|
const n = new Set(t), u = (await e.keys()).filter((r) => r.startsWith(ni)).map((r) => r.slice(ni.length)).filter((r) => !n.has(r));
|
|
687
688
|
await Promise.all(u.map((r) => e.delete(_u(r))));
|
|
688
689
|
}
|
|
@@ -1039,7 +1040,7 @@ async function ol(e) {
|
|
|
1039
1040
|
dontShowAgainKeys: n
|
|
1040
1041
|
}), await ae.update({ ...t, dontShowAgainKeys: n });
|
|
1041
1042
|
}
|
|
1042
|
-
async function
|
|
1043
|
+
async function ME(e) {
|
|
1043
1044
|
const t = ae.get();
|
|
1044
1045
|
if (!t.dontShowAgainKeys.includes(e)) return;
|
|
1045
1046
|
const n = t.dontShowAgainKeys.filter((u) => u !== e);
|
|
@@ -1048,14 +1049,14 @@ async function wE(e) {
|
|
|
1048
1049
|
dontShowAgainKeys: n
|
|
1049
1050
|
}), await ae.update({ ...t, dontShowAgainKeys: n });
|
|
1050
1051
|
}
|
|
1051
|
-
async function
|
|
1052
|
+
async function FE() {
|
|
1052
1053
|
const e = ae.get();
|
|
1053
1054
|
e.dontShowAgainKeys.length !== 0 && (ae.applyFromBroadcast({
|
|
1054
1055
|
...e,
|
|
1055
1056
|
dontShowAgainKeys: []
|
|
1056
1057
|
}), await ae.update({ ...e, dontShowAgainKeys: [] }));
|
|
1057
1058
|
}
|
|
1058
|
-
async function
|
|
1059
|
+
async function PE() {
|
|
1059
1060
|
const e = ae.get();
|
|
1060
1061
|
e.mutedSources.length !== 0 && (ae.applyFromBroadcast({ ...e, mutedSources: [] }), await ae.update({ ...e, mutedSources: [] }));
|
|
1061
1062
|
}
|
|
@@ -1739,7 +1740,7 @@ const bl = ln(
|
|
|
1739
1740
|
function Gi(e, t) {
|
|
1740
1741
|
return !e.isolated && e.priority !== "acknowledgment-required" && e.origin !== "user-action" && al(e.source ?? "general", e.severity, e.priority ?? "default", t);
|
|
1741
1742
|
}
|
|
1742
|
-
class
|
|
1743
|
+
class UE {
|
|
1743
1744
|
constructor(t) {
|
|
1744
1745
|
Fe(this, "renderHost");
|
|
1745
1746
|
Fe(this, "toast");
|
|
@@ -2000,7 +2001,7 @@ function Rn(e) {
|
|
|
2000
2001
|
}
|
|
2001
2002
|
return zi.get("general") ?? bi[0];
|
|
2002
2003
|
}
|
|
2003
|
-
function
|
|
2004
|
+
function BE() {
|
|
2004
2005
|
return bi;
|
|
2005
2006
|
}
|
|
2006
2007
|
function Dl(e, t) {
|
|
@@ -2184,7 +2185,7 @@ function qi(e) {
|
|
|
2184
2185
|
function Kl(e, t) {
|
|
2185
2186
|
return t.vendorError === void 0 ? null : eu(e, t.vendorError);
|
|
2186
2187
|
}
|
|
2187
|
-
function
|
|
2188
|
+
function HE(e) {
|
|
2188
2189
|
let t = { ...Di }, n = {
|
|
2189
2190
|
dismissed: !1,
|
|
2190
2191
|
remindSuppressed: !1,
|
|
@@ -11721,7 +11722,7 @@ function q1(e) {
|
|
|
11721
11722
|
const Y1 = { sql: D1, pgsql: k1, javascript: F1, typescript: U1, json: G1, xml: $1, bash: z1, python: V1, yaml: W1, plaintext: q1 };
|
|
11722
11723
|
for (const [e, t] of Object.entries(Y1)) Ru.registerLanguage(e, t);
|
|
11723
11724
|
const lc = [];
|
|
11724
|
-
function
|
|
11725
|
+
function GE(e, t) {
|
|
11725
11726
|
lc.push({ aliases: e, languageName: t }), Ru.registerAliases([...e], { languageName: t });
|
|
11726
11727
|
}
|
|
11727
11728
|
let Yr = null;
|
|
@@ -12973,7 +12974,7 @@ const Eg = "vk_host_-dTTD", bg = "vk_scrollArea_FaEtH", _g = "vk_stack_4LHtI", m
|
|
|
12973
12974
|
ackQueueHint: Sg
|
|
12974
12975
|
};
|
|
12975
12976
|
var Ho = /* @__PURE__ */ Ze("<div>"), Ng = /* @__PURE__ */ Ze("<p>"), Cg = /* @__PURE__ */ Ze("<div role=alertdialog aria-modal=true><div>");
|
|
12976
|
-
const
|
|
12977
|
+
const $E = (e) => {
|
|
12977
12978
|
var ne;
|
|
12978
12979
|
const t = Lc().window, n = Pn(), u = n.notifications.stack, r = n.displayOwner.register(t);
|
|
12979
12980
|
We(r.dispose);
|
|
@@ -13512,7 +13513,7 @@ function $o(e) {
|
|
|
13512
13513
|
}
|
|
13513
13514
|
}
|
|
13514
13515
|
const Vu = ["error", "warning", "info", "success"], _p = 189, mp = 27;
|
|
13515
|
-
function
|
|
13516
|
+
function zE(e) {
|
|
13516
13517
|
const t = Ve(() => e.notificationTimeline), n = () => t()(), u = wc(), r = Pn(), {
|
|
13517
13518
|
notifications: i
|
|
13518
13519
|
} = r, o = i.timeline, s = gr(r), c = r.log.withTag("NotificationPanel"), a = (p) => Eu(r.desktop, c, p), d = (p) => ei(r.vendorErrors, p), [f, E] = Ie(null), [b, g] = Ie(0), [C, U] = Ie(""), [M, L] = Ie(null), [O, P] = Ie(/* @__PURE__ */ new Set()), [I, y] = Ie(!1), [H, te] = Ie(/* @__PURE__ */ new Set()), [re, fe] = Ie(/* @__PURE__ */ new Set()), [le, K] = Ie(/* @__PURE__ */ new Set()), [B, X] = Ie(!1), [ce, _e] = Ie(0);
|
|
@@ -14892,7 +14893,7 @@ const Vp = "vk_bell_tx9ag vk_buttonReset_3WpyU", Wp = "vk_bellIcon_w6Lmy", qp =
|
|
|
14892
14893
|
centerPopover: Kp
|
|
14893
14894
|
};
|
|
14894
14895
|
var Xp = /* @__PURE__ */ Ze("<span>"), jp = /* @__PURE__ */ Ze("<span aria-hidden=true>");
|
|
14895
|
-
function
|
|
14896
|
+
function VE(e) {
|
|
14896
14897
|
const t = Ve(() => e.open), n = Pn().notifications, {
|
|
14897
14898
|
timeline: u,
|
|
14898
14899
|
stack: r
|
|
@@ -15030,42 +15031,42 @@ export {
|
|
|
15030
15031
|
Pi as S,
|
|
15031
15032
|
xn as T,
|
|
15032
15033
|
ya as U,
|
|
15033
|
-
|
|
15034
|
+
BE as V,
|
|
15034
15035
|
Ja as W,
|
|
15035
|
-
|
|
15036
|
-
|
|
15036
|
+
wE as X,
|
|
15037
|
+
GE as Y,
|
|
15037
15038
|
Kh as Z,
|
|
15038
15039
|
rl as _,
|
|
15039
15040
|
is as a,
|
|
15040
15041
|
dr as a0,
|
|
15041
15042
|
Rn as a1,
|
|
15042
15043
|
Pa as a2,
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15044
|
+
FE as a3,
|
|
15045
|
+
ME as a4,
|
|
15046
|
+
kE as a5,
|
|
15046
15047
|
il as a6,
|
|
15047
|
-
|
|
15048
|
+
vE as a7,
|
|
15048
15049
|
tl as a8,
|
|
15049
15050
|
Wu as a9,
|
|
15050
|
-
|
|
15051
|
+
PE as aa,
|
|
15051
15052
|
Xh as b,
|
|
15052
|
-
|
|
15053
|
+
$E as c,
|
|
15053
15054
|
di as d,
|
|
15054
|
-
|
|
15055
|
-
|
|
15055
|
+
zE as e,
|
|
15056
|
+
UE as f,
|
|
15056
15057
|
ka as g,
|
|
15057
15058
|
zp as h,
|
|
15058
15059
|
wa as i,
|
|
15059
|
-
|
|
15060
|
+
VE as j,
|
|
15060
15061
|
jh as k,
|
|
15061
15062
|
cs as l,
|
|
15062
15063
|
ls as m,
|
|
15063
15064
|
ja as n,
|
|
15064
15065
|
Rl as o,
|
|
15065
15066
|
ss as p,
|
|
15066
|
-
|
|
15067
|
+
HE as q,
|
|
15067
15068
|
mu as r,
|
|
15068
|
-
|
|
15069
|
+
LE as s,
|
|
15069
15070
|
gi as t,
|
|
15070
15071
|
ol as u,
|
|
15071
15072
|
Ol as v,
|