@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/server/{StatusBarNotificationBell-DiVJ-EnY.js → StatusBarNotificationBell-BfBGKXDG.js}
RENAMED
|
@@ -22,8 +22,9 @@ import { p as Lc, m as wc } from "./prefersReducedMotion-qcGrKv14.js";
|
|
|
22
22
|
import { n as Mc, i as Un } from "./keys-B2nlkpqc.js";
|
|
23
23
|
import { c as Fc, E as Pc } from "./mainRealmDom-CzckS_ss.js";
|
|
24
24
|
import { I as Uc, P as qo } from "./Input-V9Szcw6w.js";
|
|
25
|
-
import {
|
|
25
|
+
import { B as ku } from "./Badge-C1Jn--DR.js";
|
|
26
26
|
import { P as ju, G as Bc, D as Hc } from "./GuidedTour-pdx_4IrZ.js";
|
|
27
|
+
import { d as nn, P as Oi } from "./notificationCatalog-BKcY-o-R.js";
|
|
27
28
|
import { D as Gc, u as Yo } from "./DesktopContextMenuContext-DJ3PnqAv.js";
|
|
28
29
|
import { B as Ge } from "./Button-ft_8RNJj.js";
|
|
29
30
|
import { D as $c, f as zc, a as or } from "./DateRangePicker-TIOF99wh.js";
|
|
@@ -672,19 +673,19 @@ function fu(e) {
|
|
|
672
673
|
function ka(e) {
|
|
673
674
|
return e.get(jr);
|
|
674
675
|
}
|
|
675
|
-
async function
|
|
676
|
+
async function wE(e, t) {
|
|
676
677
|
t ? await e.set(jr, t) : await e.delete(jr);
|
|
677
678
|
}
|
|
678
679
|
function va(e, t) {
|
|
679
680
|
return e.get(fu(t));
|
|
680
681
|
}
|
|
681
|
-
async function
|
|
682
|
+
async function ME(e, t, n) {
|
|
682
683
|
n ? await e.set(fu(t), n) : await e.delete(fu(t));
|
|
683
684
|
}
|
|
684
|
-
function
|
|
685
|
+
function FE(e, t) {
|
|
685
686
|
return e.delete(fu(t));
|
|
686
687
|
}
|
|
687
|
-
async function
|
|
688
|
+
async function PE(e, t) {
|
|
688
689
|
const n = new Set(t), u = (await e.keys()).filter((r) => r.startsWith(Zr)).map((r) => r.slice(Zr.length)).filter((r) => !n.has(r));
|
|
689
690
|
await Promise.all(u.map((r) => e.delete(fu(r))));
|
|
690
691
|
}
|
|
@@ -1041,7 +1042,7 @@ async function Qa(e) {
|
|
|
1041
1042
|
dontShowAgainKeys: n
|
|
1042
1043
|
}), await ne.update({ ...t, dontShowAgainKeys: n });
|
|
1043
1044
|
}
|
|
1044
|
-
async function
|
|
1045
|
+
async function UE(e) {
|
|
1045
1046
|
const t = ne.get();
|
|
1046
1047
|
if (!t.dontShowAgainKeys.includes(e)) return;
|
|
1047
1048
|
const n = t.dontShowAgainKeys.filter((u) => u !== e);
|
|
@@ -1050,14 +1051,14 @@ async function PE(e) {
|
|
|
1050
1051
|
dontShowAgainKeys: n
|
|
1051
1052
|
}), await ne.update({ ...t, dontShowAgainKeys: n });
|
|
1052
1053
|
}
|
|
1053
|
-
async function
|
|
1054
|
+
async function BE() {
|
|
1054
1055
|
const e = ne.get();
|
|
1055
1056
|
e.dontShowAgainKeys.length !== 0 && (ne.applyFromBroadcast({
|
|
1056
1057
|
...e,
|
|
1057
1058
|
dontShowAgainKeys: []
|
|
1058
1059
|
}), await ne.update({ ...e, dontShowAgainKeys: [] }));
|
|
1059
1060
|
}
|
|
1060
|
-
async function
|
|
1061
|
+
async function HE() {
|
|
1061
1062
|
const e = ne.get();
|
|
1062
1063
|
e.mutedSources.length !== 0 && (ne.applyFromBroadcast({ ...e, mutedSources: [] }), await ne.update({ ...e, mutedSources: [] }));
|
|
1063
1064
|
}
|
|
@@ -1741,7 +1742,7 @@ const al = nn(
|
|
|
1741
1742
|
function Pi(e, t) {
|
|
1742
1743
|
return !e.isolated && e.priority !== "acknowledgment-required" && e.origin !== "user-action" && tl(e.source ?? "general", e.severity, e.priority ?? "default", t);
|
|
1743
1744
|
}
|
|
1744
|
-
class
|
|
1745
|
+
class GE {
|
|
1745
1746
|
constructor(t) {
|
|
1746
1747
|
Se(this, "renderHost");
|
|
1747
1748
|
Se(this, "toast");
|
|
@@ -2002,7 +2003,7 @@ function yn(e) {
|
|
|
2002
2003
|
}
|
|
2003
2004
|
return Bi.get("general") ?? fi[0];
|
|
2004
2005
|
}
|
|
2005
|
-
function
|
|
2006
|
+
function $E() {
|
|
2006
2007
|
return fi;
|
|
2007
2008
|
}
|
|
2008
2009
|
function Sl(e, t) {
|
|
@@ -2186,7 +2187,7 @@ function $i(e) {
|
|
|
2186
2187
|
function Hl(e, t) {
|
|
2187
2188
|
return t.vendorError === void 0 ? null : Yn(e, t.vendorError);
|
|
2188
2189
|
}
|
|
2189
|
-
function
|
|
2190
|
+
function zE(e) {
|
|
2190
2191
|
let t = { ...Ii }, n = {
|
|
2191
2192
|
dismissed: !1,
|
|
2192
2193
|
remindSuppressed: !1,
|
|
@@ -11723,7 +11724,7 @@ function U1(e) {
|
|
|
11723
11724
|
const B1 = { sql: S1, pgsql: N1, javascript: O1, typescript: D1, json: L1, xml: w1, bash: M1, python: F1, yaml: P1, plaintext: U1 };
|
|
11724
11725
|
for (const [e, t] of Object.entries(B1)) mu.registerLanguage(e, t);
|
|
11725
11726
|
const rc = [];
|
|
11726
|
-
function
|
|
11727
|
+
function VE(e, t) {
|
|
11727
11728
|
rc.push({ aliases: e, languageName: t }), mu.registerAliases([...e], { languageName: t });
|
|
11728
11729
|
}
|
|
11729
11730
|
let zr = null;
|
|
@@ -12870,7 +12871,7 @@ const ag = "vk_host_-dTTD", lg = "vk_scrollArea_FaEtH", dg = "vk_stack_4LHtI", f
|
|
|
12870
12871
|
ackQueueHint: pg
|
|
12871
12872
|
};
|
|
12872
12873
|
var Eg = ["<div", ">", "</div>"], bg = ["<p", ">", "</p>"], _g = ["<div", ' role="alertdialog" aria-modal="true" aria-labelledby="', '"', "><div", ' id="', '">', "", "</div></div>"];
|
|
12873
|
-
const
|
|
12874
|
+
const WE = (e) => {
|
|
12874
12875
|
var Ae;
|
|
12875
12876
|
const t = Ic().window, n = On(), u = n.notifications.stack, r = n.displayOwner.register(t);
|
|
12876
12877
|
$e(r.dispose);
|
|
@@ -13377,7 +13378,7 @@ function Uo(e) {
|
|
|
13377
13378
|
}
|
|
13378
13379
|
}
|
|
13379
13380
|
const Hu = ["error", "warning", "info", "success"], gp = 189, pp = 27;
|
|
13380
|
-
function
|
|
13381
|
+
function qE(e) {
|
|
13381
13382
|
const t = Me(() => e.notificationTimeline), n = () => t()(), u = yc(), r = On(), {
|
|
13382
13383
|
notifications: i
|
|
13383
13384
|
} = r, o = i.timeline, s = r.log.withTag("NotificationPanel"), c = (A) => du(r.desktop, s, A), a = (A) => Xr(r.vendorErrors, A), [d, f] = pe(null), [p, b] = pe(0), [g, C] = pe(""), [M, v] = pe(null), [O, x] = pe(/* @__PURE__ */ new Set()), [L, R] = pe(!1), [D, B] = pe(/* @__PURE__ */ new Set()), [K, Q] = pe(/* @__PURE__ */ new Set()), [ue, ce] = pe(/* @__PURE__ */ new Set()), [$, re] = pe(!1), [X, ie] = pe(0);
|
|
@@ -14593,7 +14594,7 @@ const $p = "vk_bell_tx9ag vk_buttonReset_3WpyU", zp = "vk_bellIcon_w6Lmy", Vp =
|
|
|
14593
14594
|
centerPopover: qp
|
|
14594
14595
|
};
|
|
14595
14596
|
var Yp = ["<span", ">", "</span>"], Kp = ["<span", ' aria-hidden="true"></span>'];
|
|
14596
|
-
function
|
|
14597
|
+
function YE(e) {
|
|
14597
14598
|
const t = Me(() => e.open), n = On().notifications, {
|
|
14598
14599
|
timeline: u,
|
|
14599
14600
|
stack: r
|
|
@@ -14725,42 +14726,42 @@ export {
|
|
|
14725
14726
|
Li as S,
|
|
14726
14727
|
xn as T,
|
|
14727
14728
|
ma as U,
|
|
14728
|
-
|
|
14729
|
+
$E as V,
|
|
14729
14730
|
Wa as W,
|
|
14730
|
-
|
|
14731
|
-
|
|
14731
|
+
PE as X,
|
|
14732
|
+
VE as Y,
|
|
14732
14733
|
Gh as Z,
|
|
14733
14734
|
ja as _,
|
|
14734
14735
|
Jo as a,
|
|
14735
14736
|
sr as a0,
|
|
14736
14737
|
yn as a1,
|
|
14737
14738
|
xa as a2,
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14739
|
+
BE as a3,
|
|
14740
|
+
UE as a4,
|
|
14741
|
+
wE as a5,
|
|
14741
14742
|
Za as a6,
|
|
14742
|
-
|
|
14743
|
+
ME as a7,
|
|
14743
14744
|
Ya as a8,
|
|
14744
14745
|
Gu as a9,
|
|
14745
|
-
|
|
14746
|
+
HE as aa,
|
|
14746
14747
|
$h as b,
|
|
14747
|
-
|
|
14748
|
+
WE as c,
|
|
14748
14749
|
oi as d,
|
|
14749
|
-
|
|
14750
|
-
|
|
14750
|
+
qE as e,
|
|
14751
|
+
GE as f,
|
|
14751
14752
|
Na as g,
|
|
14752
14753
|
Gp as h,
|
|
14753
14754
|
Ia as i,
|
|
14754
|
-
|
|
14755
|
+
YE as j,
|
|
14755
14756
|
zh as k,
|
|
14756
14757
|
ns as l,
|
|
14757
14758
|
rs as m,
|
|
14758
14759
|
$a as n,
|
|
14759
14760
|
bl as o,
|
|
14760
14761
|
ts as p,
|
|
14761
|
-
|
|
14762
|
+
zE as q,
|
|
14762
14763
|
hu as r,
|
|
14763
|
-
|
|
14764
|
+
FE as s,
|
|
14764
14765
|
ai as t,
|
|
14765
14766
|
Qa as u,
|
|
14766
14767
|
Al as v,
|