@zealsolutions/zeal-ui 1.0.0-alpha.344 → 1.0.0-alpha.346
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/dist/{BaseDropdownButton-C2s6CrBe.js → BaseDropdownButton-BD1CMHuM.js} +3 -3
- package/dist/{BaseModal-DiFHVBNf.js → BaseModal-BriJhnSM.js} +11 -11
- package/dist/{BaseOverlay-aTh6_ssu.js → BaseOverlay-BxnWhjM4.js} +1 -1
- package/dist/{DropdownMenuTextItem-t-7lRXBg.js → DropdownMenuTextItem-BPPYaYlc.js} +40 -40
- package/dist/{InputField-DbASj24Y.js → InputField-BrSFZ5Eu.js} +1 -1
- package/dist/{NavigationMenuNotification-CoNY17a5.js → NavigationMenuNotification-CNUcS8F5.js} +2 -2
- package/dist/SecondaryButton-At_I-S4K.js +64 -0
- package/dist/components/buttons/index.js +2 -2
- package/dist/components/forms/index.js +1 -1
- package/dist/components/header/index.js +15 -15
- package/dist/components/inputs/index.js +55 -55
- package/dist/components/layouts/index.js +12 -12
- package/dist/components/logos/index.js +1 -1
- package/dist/components/menus/index.js +6 -6
- package/dist/components/modals/index.js +6 -6
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/overlays/index.js +1 -1
- package/dist/components/sop-diff/index.js +14 -14
- package/dist/components/tables/index.js +120 -120
- package/dist/components/tiptap/index.js +51 -53
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/SecondaryButton-DSEdkv75.js +0 -64
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as a, normalizeClass as e, createElementVNode as o, renderSlot as r, createCommentVNode as l, createVNode as c } from "vue";
|
|
2
2
|
import i from "./ChevronDownIcon-CrC-BSpe.js";
|
|
3
|
-
const d = { class: "flex h-full items-center space-x-3" }, u = { class: "truncate" },
|
|
3
|
+
const d = { class: "flex h-full items-center space-x-3" }, u = { class: "truncate" }, w = {
|
|
4
4
|
__name: "BaseDropdownButton",
|
|
5
5
|
props: {
|
|
6
6
|
showButtonIcon: {
|
|
@@ -20,7 +20,7 @@ const d = { class: "flex h-full items-center space-x-3" }, u = { class: "truncat
|
|
|
20
20
|
return (n, p) => (s(), a("button", {
|
|
21
21
|
ref: "button",
|
|
22
22
|
type: "button",
|
|
23
|
-
class: e(["relative cursor-default text-style-input rounded-[20px] h-10 pl-4 pr-8 text-left text-black-950 dark:text-content ring-inset focus:outline-none focus:ring-2 focus:ring-app-950 focus:bg-app-100 dark:focus:text-black-950", t.showDropdown ? "ring-2 ring-app-950 bg-app-100 dark:!text-black-950" : "ring-1 ring-steel-400 dark:ring-line-strong bg-
|
|
23
|
+
class: e(["relative cursor-default text-style-input rounded-[20px] h-10 pl-4 pr-8 text-left text-black-950 dark:text-content ring-inset focus:outline-none focus:ring-2 focus:ring-app-950 focus:bg-app-100 dark:focus:text-black-950", t.showDropdown ? "ring-2 ring-app-950 bg-app-100 dark:!text-black-950" : "ring-1 ring-steel-400 dark:ring-line-strong bg-surface-raised"])
|
|
24
24
|
}, [
|
|
25
25
|
o("div", d, [
|
|
26
26
|
t.showButtonIcon ? r(n.$slots, "buttonIcon", { key: 0 }) : l("", !0),
|
|
@@ -39,5 +39,5 @@ const d = { class: "flex h-full items-center space-x-3" }, u = { class: "truncat
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
w as _
|
|
43
43
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useAttrs as p, openBlock as t, createBlock as a, Teleport as
|
|
2
|
-
import { _ as q } from "./BaseOverlay-
|
|
1
|
+
import { useAttrs as p, openBlock as t, createBlock as a, Teleport as B, resolveDynamicComponent as f, withCtx as d, createCommentVNode as s, createVNode as b, unref as i, createElementBlock as w, mergeProps as C, renderSlot as n } from "vue";
|
|
2
|
+
import { _ as q } from "./BaseOverlay-BxnWhjM4.js";
|
|
3
3
|
import { _ as O } from "./OpacityTransition-D4EuhJnX.js";
|
|
4
4
|
import { _ as T } from "./OpacityScaleTransition-CtMzqccC.js";
|
|
5
|
-
import { _ as
|
|
5
|
+
import { _ as $ } from "./CloseButton-5Lrtf2mr.js";
|
|
6
6
|
const L = /* @__PURE__ */ Object.assign({
|
|
7
7
|
inheritAttrs: !1
|
|
8
8
|
}, {
|
|
@@ -65,16 +65,16 @@ const L = /* @__PURE__ */ Object.assign({
|
|
|
65
65
|
}, v = () => {
|
|
66
66
|
r("afterLeave");
|
|
67
67
|
};
|
|
68
|
-
return (l,
|
|
68
|
+
return (l, k) => (t(), a(B, {
|
|
69
69
|
to: "body",
|
|
70
70
|
disabled: e.disableTeleport
|
|
71
71
|
}, [
|
|
72
|
-
(t(), a(
|
|
72
|
+
(t(), a(f(e.overlayTransition), {
|
|
73
73
|
onAfterEnter: h,
|
|
74
74
|
onAfterLeave: v
|
|
75
75
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
e.show && e.showOverlay ? (t(), a(
|
|
76
|
+
default: d(() => [
|
|
77
|
+
e.show && e.showOverlay ? (t(), a(f(e.overlay), {
|
|
78
78
|
key: 0,
|
|
79
79
|
transparent: e.overlayTransparent,
|
|
80
80
|
onClose: y
|
|
@@ -82,11 +82,11 @@ const L = /* @__PURE__ */ Object.assign({
|
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
84
|
}, 32)),
|
|
85
|
-
|
|
86
|
-
default:
|
|
87
|
-
e.show ? (t(), w("div", C({ key: 0 }, i(c), { class: "fixed flex flex-col p-8 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-lg overflow-hidden bg-
|
|
85
|
+
b(i(e.modalTransition), null, {
|
|
86
|
+
default: d(() => [
|
|
87
|
+
e.show ? (t(), w("div", C({ key: 0 }, i(c), { class: "fixed flex flex-col p-8 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-lg overflow-hidden bg-surface-raised shadow-xl z-50" }), [
|
|
88
88
|
n(l.$slots, "header", { handleClose: o }, () => [
|
|
89
|
-
e.showCloseButton ? (t(), a(
|
|
89
|
+
e.showCloseButton ? (t(), a($, {
|
|
90
90
|
key: 0,
|
|
91
91
|
class: "top-2 right-2 absolute",
|
|
92
92
|
onClose: o
|
|
@@ -11,7 +11,7 @@ const p = {
|
|
|
11
11
|
setup(t, { emit: n }) {
|
|
12
12
|
const s = n;
|
|
13
13
|
return (o, e) => (a(), r("div", {
|
|
14
|
-
class: l(["fixed inset-0 z-40", t.transparent ? "bg-transparent" : "bg-black-950/40"]),
|
|
14
|
+
class: l(["fixed inset-0 z-40", t.transparent ? "bg-[transparent]" : "bg-black-950/40"]),
|
|
15
15
|
onClick: e[0] || (e[0] = (c) => s("close"))
|
|
16
16
|
}, null, 2));
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSlots as Xe, computed as F, openBlock as
|
|
1
|
+
import { useSlots as Xe, computed as F, openBlock as k, createElementBlock as I, normalizeClass as ne, createElementVNode as N, renderSlot as U, createCommentVNode as q, createVNode as j, withCtx as P, mergeModels as Be, ref as A, useModel as Rt, onMounted as Ot, watch as Tt, createTextVNode as fe, toDisplayString as De, createBlock as de, resolveDynamicComponent as At, unref as pe, withDirectives as Fe, normalizeStyle as Ue, withKeys as _t, withModifiers as Le, vModelText as Ct, Fragment as kt, renderList as Nt, vShow as Pt, nextTick as Bt } from "vue";
|
|
2
2
|
import { _ as Dt } from "./OpacityScaleTransition-CtMzqccC.js";
|
|
3
3
|
import { _ as Ft } from "./OpacityTranslateTransition-fF3EnRwC.js";
|
|
4
4
|
import { _ as Ut } from "./OpacityTransition-D4EuhJnX.js";
|
|
@@ -6,7 +6,7 @@ import { _ as Lt } from "./TruncateText-BOyOYUV6.js";
|
|
|
6
6
|
import { _ as jt } from "./InfiniteScroll-BE6D4ysG.js";
|
|
7
7
|
import It from "./CircleStatusIcon-C4Av0hTY.js";
|
|
8
8
|
import { a as $t, u as Mt, w as qt, b as Ht } from "./index-CedrSBIl.js";
|
|
9
|
-
import { _ as zt } from "./BaseDropdownButton-
|
|
9
|
+
import { _ as zt } from "./BaseDropdownButton-BD1CMHuM.js";
|
|
10
10
|
import Vt from "./MagnifyingGlassIcon-ChYNIA-H.js";
|
|
11
11
|
import Jt from "./XMarkIcon-DKJ_--uA.js";
|
|
12
12
|
import Wt from "./CheckIcon-D0-G6sID.js";
|
|
@@ -27,15 +27,15 @@ const Gt = (e) => typeof e == "object" ? "component" : typeof e != "symbol" ? e
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(e) {
|
|
30
|
-
const t = e, n = Xe(), r = F(() => n.prefix && we(n.prefix()[0].type)), o = F(() => n.suffix && we(n.suffix()[0].type)), i = F(() => t.selected ? "bg-app-950 text-white" : t.active ? "bg-steel-300 dark:bg-surface-hover text-black-950 dark:text-content" : "bg-
|
|
31
|
-
return (s, c) => (
|
|
30
|
+
const t = e, n = Xe(), r = F(() => n.prefix && we(n.prefix()[0].type)), o = F(() => n.suffix && we(n.suffix()[0].type)), i = F(() => t.selected ? "bg-app-950 text-white" : t.active ? "bg-steel-300 dark:bg-surface-hover text-black-950 dark:text-content" : "bg-surface-raised text-black-950 dark:text-content");
|
|
31
|
+
return (s, c) => (k(), I("li", {
|
|
32
32
|
class: ne(["relative items-center select-none h-[38px] pl-4 text-style-input", [
|
|
33
33
|
i.value,
|
|
34
34
|
o.value ? "pr-8" : "pr-4"
|
|
35
35
|
]])
|
|
36
36
|
}, [
|
|
37
37
|
N("div", Xt, [
|
|
38
|
-
r.value ? (
|
|
38
|
+
r.value ? (k(), I("div", Qt, [
|
|
39
39
|
U(s.$slots, "prefix")
|
|
40
40
|
])) : q("", !0),
|
|
41
41
|
j(Lt, {
|
|
@@ -48,7 +48,7 @@ const Gt = (e) => typeof e == "object" ? "component" : typeof e != "symbol" ? e
|
|
|
48
48
|
_: 3
|
|
49
49
|
}, 8, ["active"])
|
|
50
50
|
]),
|
|
51
|
-
o.value ? (
|
|
51
|
+
o.value ? (k(), I("span", Zt, [
|
|
52
52
|
U(s.$slots, "suffix")
|
|
53
53
|
])) : q("", !0)
|
|
54
54
|
], 2));
|
|
@@ -198,14 +198,14 @@ const pn = (e, t, n, { allOwnKeys: r } = {}) => (G(t, (o, i) => {
|
|
|
198
198
|
DIGIT: $e,
|
|
199
199
|
ALPHA: he,
|
|
200
200
|
ALPHA_DIGIT: he + he.toUpperCase() + $e
|
|
201
|
-
},
|
|
201
|
+
}, Cn = (e = 16, t = st.ALPHA_DIGIT) => {
|
|
202
202
|
let n = "";
|
|
203
203
|
const { length: r } = t;
|
|
204
204
|
for (; e--; )
|
|
205
205
|
n += t[Math.random() * r | 0];
|
|
206
206
|
return n;
|
|
207
207
|
};
|
|
208
|
-
function
|
|
208
|
+
function kn(e) {
|
|
209
209
|
return !!(e && _(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
210
210
|
}
|
|
211
211
|
const Nn = (e) => {
|
|
@@ -273,8 +273,8 @@ const Nn = (e) => {
|
|
|
273
273
|
global: tt,
|
|
274
274
|
isContextDefined: nt,
|
|
275
275
|
ALPHABET: st,
|
|
276
|
-
generateString:
|
|
277
|
-
isSpecCompliantForm:
|
|
276
|
+
generateString: Cn,
|
|
277
|
+
isSpecCompliantForm: kn,
|
|
278
278
|
toJSONObject: Nn,
|
|
279
279
|
isAsyncFn: Pn,
|
|
280
280
|
isThenable: Bn
|
|
@@ -704,7 +704,7 @@ function er(e, t) {
|
|
|
704
704
|
});
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
|
-
class
|
|
707
|
+
class C {
|
|
708
708
|
constructor(t) {
|
|
709
709
|
t && this.set(t);
|
|
710
710
|
}
|
|
@@ -813,8 +813,8 @@ class k {
|
|
|
813
813
|
return a.isArray(t) ? t.forEach(i) : i(t), this;
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
|
|
817
|
-
a.reduceDescriptors(
|
|
816
|
+
C.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
817
|
+
a.reduceDescriptors(C.prototype, ({ value: e }, t) => {
|
|
818
818
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
819
819
|
return {
|
|
820
820
|
get: () => e,
|
|
@@ -823,9 +823,9 @@ a.reduceDescriptors(k.prototype, ({ value: e }, t) => {
|
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
});
|
|
826
|
-
a.freezeMethods(
|
|
826
|
+
a.freezeMethods(C);
|
|
827
827
|
function ye(e, t) {
|
|
828
|
-
const n = this || X, r = t || n, o =
|
|
828
|
+
const n = this || X, r = t || n, o = C.from(r.headers);
|
|
829
829
|
let i = r.data;
|
|
830
830
|
return a.forEach(e, function(c) {
|
|
831
831
|
i = c.call(n, i, o.normalize(), t ? t.status : void 0);
|
|
@@ -959,7 +959,7 @@ function Ve(e, t) {
|
|
|
959
959
|
const lr = typeof XMLHttpRequest < "u", cr = lr && function(e) {
|
|
960
960
|
return new Promise(function(n, r) {
|
|
961
961
|
let o = e.data;
|
|
962
|
-
const i =
|
|
962
|
+
const i = C.from(e.headers).normalize();
|
|
963
963
|
let { responseType: s, withXSRFToken: c } = e, p;
|
|
964
964
|
function h() {
|
|
965
965
|
e.cancelToken && e.cancelToken.unsubscribe(p), e.signal && e.signal.removeEventListener("abort", p);
|
|
@@ -983,7 +983,7 @@ const lr = typeof XMLHttpRequest < "u", cr = lr && function(e) {
|
|
|
983
983
|
function E() {
|
|
984
984
|
if (!l)
|
|
985
985
|
return;
|
|
986
|
-
const d =
|
|
986
|
+
const d = C.from(
|
|
987
987
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
|
988
988
|
), R = {
|
|
989
989
|
data: !s || s === "text" || s === "json" ? l.responseText : l.response,
|
|
@@ -1079,7 +1079,7 @@ function be(e) {
|
|
|
1079
1079
|
throw new Q(null, e);
|
|
1080
1080
|
}
|
|
1081
1081
|
function We(e) {
|
|
1082
|
-
return be(e), e.headers =
|
|
1082
|
+
return be(e), e.headers = C.from(e.headers), e.data = ye.call(
|
|
1083
1083
|
e,
|
|
1084
1084
|
e.transformRequest
|
|
1085
1085
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), mt.getAdapter(e.adapter || X.adapter)(e).then(function(r) {
|
|
@@ -1087,16 +1087,16 @@ function We(e) {
|
|
|
1087
1087
|
e,
|
|
1088
1088
|
e.transformResponse,
|
|
1089
1089
|
r
|
|
1090
|
-
), r.headers =
|
|
1090
|
+
), r.headers = C.from(r.headers), r;
|
|
1091
1091
|
}, function(r) {
|
|
1092
1092
|
return pt(r) || (be(e), r && r.response && (r.response.data = ye.call(
|
|
1093
1093
|
e,
|
|
1094
1094
|
e.transformResponse,
|
|
1095
1095
|
r.response
|
|
1096
|
-
), r.response.headers =
|
|
1096
|
+
), r.response.headers = C.from(r.response.headers))), Promise.reject(r);
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
const Ke = (e) => e instanceof
|
|
1099
|
+
const Ke = (e) => e instanceof C ? { ...e } : e;
|
|
1100
1100
|
function H(e, t) {
|
|
1101
1101
|
t = t || {};
|
|
1102
1102
|
const n = {};
|
|
@@ -1260,7 +1260,7 @@ class $ {
|
|
|
1260
1260
|
(u) => {
|
|
1261
1261
|
delete i[u];
|
|
1262
1262
|
}
|
|
1263
|
-
), n.headers =
|
|
1263
|
+
), n.headers = C.concat(s, i);
|
|
1264
1264
|
const c = [];
|
|
1265
1265
|
let p = !0;
|
|
1266
1266
|
this.interceptors.request.forEach(function(d) {
|
|
@@ -1492,7 +1492,7 @@ S.all = function(t) {
|
|
|
1492
1492
|
S.spread = dr;
|
|
1493
1493
|
S.isAxiosError = pr;
|
|
1494
1494
|
S.mergeConfig = H;
|
|
1495
|
-
S.AxiosHeaders =
|
|
1495
|
+
S.AxiosHeaders = C;
|
|
1496
1496
|
S.formToJSON = (e) => dt(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1497
1497
|
S.getAdapter = mt.getAdapter;
|
|
1498
1498
|
S.HttpStatusCode = xe;
|
|
@@ -1603,14 +1603,14 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1603
1603
|
emits: /* @__PURE__ */ Be(["error"], ["update:modelValue"]),
|
|
1604
1604
|
setup(e, { emit: t }) {
|
|
1605
1605
|
const { width: n, height: r } = $t(), i = Mt(Ht).smaller("sm"), s = e, c = t, p = Xe(), h = F(() => p.buttonIcon && we(p.buttonIcon()[0].type)), f = A(null), l = A(null), w = A(null), E = Rt(e, "modelValue"), u = A(null), d = F(() => !E.value || V.value.length === 0 ? null : V.value.find((m) => m.id === E.value)), g = A(5), R = F(() => s.scrollable ? s.displayRows * te + 24 : "none"), T = A("down"), v = A(!1), Z = A(0), O = A(s.data), V = A(s.data), M = A(""), Y = F(() => s.buttonPosition === "left"), wt = F(() => i.value ? "origin-bottom" : T.value === "down" ? Y.value ? "origin-top-left" : "origin-top-right" : Y.value ? "origin-bottom-left" : "origin-bottom-right");
|
|
1606
|
-
let _e = null,
|
|
1606
|
+
let _e = null, Ce = null;
|
|
1607
1607
|
const ee = A(!1), ce = () => {
|
|
1608
1608
|
s.disabled || (v.value = !v.value, E.value !== void 0 && (u.value = E.value), v.value ? Bt(() => {
|
|
1609
1609
|
l.value.$el.scrollTop = Z.value;
|
|
1610
1610
|
}) : u.value = null);
|
|
1611
1611
|
}, ue = (m) => {
|
|
1612
1612
|
Z.value = l.value.$el.scrollTop, E.value = m, v.value = !1;
|
|
1613
|
-
},
|
|
1613
|
+
}, ke = (m) => {
|
|
1614
1614
|
u.value = m;
|
|
1615
1615
|
}, Ne = () => {
|
|
1616
1616
|
let m = w.value.getBoundingClientRect();
|
|
@@ -1624,7 +1624,7 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1624
1624
|
let x = Math.floor(l.value.$el.scrollTop / te);
|
|
1625
1625
|
if (m.key === "Escape" && (u.value = null, v.value = !1), m.key === "ArrowDown") {
|
|
1626
1626
|
let b;
|
|
1627
|
-
O.value.length > 0 ? (b = O.value.findIndex((J) => J.id === u.value), b < O.value.length - 1 && (u.value = O.value[b + 1].id)) : ((u.value === null || u.value <
|
|
1627
|
+
O.value.length > 0 ? (b = O.value.findIndex((J) => J.id === u.value), b < O.value.length - 1 && (u.value = O.value[b + 1].id)) : ((u.value === null || u.value < Ce) && u.value++, b = u.value - 1), b - x > s.displayRows - 2 && (l.value.$el.scrollTop += te);
|
|
1628
1628
|
}
|
|
1629
1629
|
if (m.key === "ArrowUp") {
|
|
1630
1630
|
let b;
|
|
@@ -1648,13 +1648,13 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1648
1648
|
})), V.value = O.value;
|
|
1649
1649
|
}).catch((m) => {
|
|
1650
1650
|
c("error", m);
|
|
1651
|
-
}), s.data.length === 0 && (
|
|
1651
|
+
}), s.data.length === 0 && (Ce = l.value.$el.getElementsByTagName("li").length);
|
|
1652
1652
|
}), Tt([n, r], () => {
|
|
1653
1653
|
i.value || Ne();
|
|
1654
1654
|
}), qt(M, (m) => {
|
|
1655
1655
|
let x = m.trim();
|
|
1656
1656
|
x !== _e && (s.searchUrl !== null ? navValTrimmed === "" && (O.value = V.value) : O.value = V.value.filter((b) => b.val.toLowerCase().includes(x.toLowerCase())), _e = x);
|
|
1657
|
-
}, { debounce: s.searchUrl ? 300 : 0, maxWait: s.searchUrl ? 1e3 : void 0 }), (m, x) => (
|
|
1657
|
+
}, { debounce: s.searchUrl ? 300 : 0, maxWait: s.searchUrl ? 1e3 : void 0 }), (m, x) => (k(), I("div", yr, [
|
|
1658
1658
|
N("div", {
|
|
1659
1659
|
ref_key: "button",
|
|
1660
1660
|
ref: w,
|
|
@@ -1685,15 +1685,15 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1685
1685
|
], 2),
|
|
1686
1686
|
j(Ut, null, {
|
|
1687
1687
|
default: P(() => [
|
|
1688
|
-
v.value ? (
|
|
1688
|
+
v.value ? (k(), I("div", {
|
|
1689
1689
|
key: 0,
|
|
1690
|
-
class: "fixed inset-0 top-0 left-0 z-10 bg-black-950/85 sm:bg-transparent",
|
|
1690
|
+
class: "fixed inset-0 top-0 left-0 z-10 bg-black-950/85 sm:bg-[transparent]",
|
|
1691
1691
|
onClick: ce
|
|
1692
1692
|
})) : q("", !0)
|
|
1693
1693
|
]),
|
|
1694
1694
|
_: 1
|
|
1695
1695
|
}),
|
|
1696
|
-
(
|
|
1696
|
+
(k(), de(At(pe(i) ? Ft : Dt), {
|
|
1697
1697
|
"enter-active-class": pe(i) ? "transition-all duration-200 ease-in delay-100" : "transition-all ease-out duration-75 scale-100",
|
|
1698
1698
|
"leave-active-class": pe(i) ? "transition-all duration-200 ease-out" : "transition-all ease-in duration-75 scale-100",
|
|
1699
1699
|
onAfterEnter: St
|
|
@@ -1706,7 +1706,7 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1706
1706
|
wt.value,
|
|
1707
1707
|
e.fitContent ? "sm:w-fit" : "sm:w-full",
|
|
1708
1708
|
Y.value ? "sm:left-0" : "sm:left-auto sm:right-0",
|
|
1709
|
-
e.showBorder ? "border" : "border-0"
|
|
1709
|
+
e.showBorder ? "border-[1px]" : "border-0"
|
|
1710
1710
|
]]),
|
|
1711
1711
|
style: Ue(xt.value)
|
|
1712
1712
|
}, [
|
|
@@ -1715,7 +1715,7 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1715
1715
|
clearSearch: Pe,
|
|
1716
1716
|
inputDisabled: ee.value
|
|
1717
1717
|
}, () => [
|
|
1718
|
-
e.searchable ? (
|
|
1718
|
+
e.searchable ? (k(), I("div", br, [
|
|
1719
1719
|
N("div", wr, [
|
|
1720
1720
|
N("div", Er, [
|
|
1721
1721
|
N("div", gr, [
|
|
@@ -1724,14 +1724,14 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1724
1724
|
N("div", null, [
|
|
1725
1725
|
Fe(N("input", {
|
|
1726
1726
|
type: "text",
|
|
1727
|
-
class: "w-full text-style-input bg-transparent focus:outline-none focus:ring-0 border-0 px-0",
|
|
1727
|
+
class: "w-full text-style-input bg-[transparent] focus:outline-none focus:ring-0 border-0 px-0",
|
|
1728
1728
|
tabindex: "-1",
|
|
1729
1729
|
placeholder: e.searchPlaceholder,
|
|
1730
1730
|
"onUpdate:modelValue": x[0] || (x[0] = (b) => M.value = b),
|
|
1731
1731
|
onKeydown: _t(Le(Et, ["self"]), ["tab"]),
|
|
1732
1732
|
disabled: ee.value
|
|
1733
1733
|
}, null, 40, Sr), [
|
|
1734
|
-
[
|
|
1734
|
+
[Ct, M.value]
|
|
1735
1735
|
])
|
|
1736
1736
|
])
|
|
1737
1737
|
]),
|
|
@@ -1760,23 +1760,23 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1760
1760
|
N("ul", xr, [
|
|
1761
1761
|
U(m.$slots, "default", {
|
|
1762
1762
|
itemList: O.value,
|
|
1763
|
-
setActive:
|
|
1763
|
+
setActive: ke,
|
|
1764
1764
|
selectItem: ue,
|
|
1765
1765
|
selectedId: E.value,
|
|
1766
1766
|
activeId: u.value
|
|
1767
1767
|
}, () => [
|
|
1768
|
-
(
|
|
1768
|
+
(k(!0), I(kt, null, Nt(O.value, (b) => (k(), de(je, {
|
|
1769
1769
|
key: b.id,
|
|
1770
1770
|
selected: b.id === E.value,
|
|
1771
1771
|
active: b.id === u.value,
|
|
1772
1772
|
onClick: (J) => ue(b.id),
|
|
1773
|
-
onMouseenter: (J) =>
|
|
1773
|
+
onMouseenter: (J) => ke(b.id)
|
|
1774
1774
|
}, {
|
|
1775
1775
|
prefix: P(() => [
|
|
1776
1776
|
j(It)
|
|
1777
1777
|
]),
|
|
1778
1778
|
suffix: P(() => [
|
|
1779
|
-
b.id === E.value ? (
|
|
1779
|
+
b.id === E.value ? (k(), de(Wt, { key: 0 })) : q("", !0)
|
|
1780
1780
|
]),
|
|
1781
1781
|
default: P(() => [
|
|
1782
1782
|
fe(De(b.val) + " ", 1)
|
|
@@ -1806,7 +1806,7 @@ const hr = (e, t = {}, n = {}) => new Promise((r, o) => {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
}, Rr = {}, Or = { class: "relative flex items-center cursor-default select-none h-[38px] pl-4 pr-4 rotate-0" };
|
|
1808
1808
|
function Tr(e, t) {
|
|
1809
|
-
return
|
|
1809
|
+
return k(), I("li", Or, [
|
|
1810
1810
|
U(e.$slots, "default")
|
|
1811
1811
|
]);
|
|
1812
1812
|
}
|
|
@@ -41,7 +41,7 @@ const B = ["name", "type", "placeholder", "disabled"], C = {
|
|
|
41
41
|
name: e.label,
|
|
42
42
|
onBlur: s,
|
|
43
43
|
type: e.fieldType,
|
|
44
|
-
class: a(["flex-1 border-0 bg-transparent pl-0 ring-0 focus:ring-0 outline-none focus:outline-none disabled:placeholder:text-steel-800 dark:disabled:placeholder:text-content-muted disabled:pointer-events-none", e.hasError ? " focus:placeholder:text-error-950 pr-6" : "placeholder:text-steel-950 dark:placeholder:text-content-muted pr-0"]),
|
|
44
|
+
class: a(["flex-1 border-0 bg-[transparent] pl-0 ring-0 focus:ring-0 outline-none focus:outline-none disabled:placeholder:text-steel-800 dark:disabled:placeholder:text-content-muted disabled:pointer-events-none", e.hasError ? " focus:placeholder:text-error-950 pr-6" : "placeholder:text-steel-950 dark:placeholder:text-content-muted pr-0"]),
|
|
45
45
|
placeholder: e.placeholder,
|
|
46
46
|
disabled: e.disabled
|
|
47
47
|
}, null, 42, B), [
|
package/dist/{NavigationMenuNotification-CoNY17a5.js → NavigationMenuNotification-CNUcS8F5.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { _ as N } from "./OpacityTransition-D4EuhJnX.js";
|
|
|
4
4
|
import { _ as H } from "./ProclusLogo-By7XypEC.js";
|
|
5
5
|
import J from "./BarsIcon-CY8KeVq7.js";
|
|
6
6
|
import K from "./XMarkIcon-DKJ_--uA.js";
|
|
7
|
-
import { a as S, _ as p, D as q } from "./DropdownMenuTextItem-
|
|
7
|
+
import { a as S, _ as p, D as q } from "./DropdownMenuTextItem-BPPYaYlc.js";
|
|
8
8
|
import Q from "./UserIcon-18Fdcxc7.js";
|
|
9
9
|
import Y from "./SlidersIcon-DOirWVZO.js";
|
|
10
10
|
import Z from "./UserGearIcon-AsvyYngF.js";
|
|
@@ -404,7 +404,7 @@ const le = {
|
|
|
404
404
|
]),
|
|
405
405
|
default: t(({ setActive: n, selectItem: l, activeId: c }) => [
|
|
406
406
|
a(q, {
|
|
407
|
-
class: "text-style-label-small bg-
|
|
407
|
+
class: "text-style-label-small bg-[#ffffff] text-app-950 border-b-[1px] border-b-steel-300 justify-center sm:justify-start",
|
|
408
408
|
onMouseenter: (s) => n(null)
|
|
409
409
|
}, {
|
|
410
410
|
default: t(() => [
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as s, normalizeClass as d, renderSlot as o } from "vue";
|
|
2
|
+
const a = ["disabled"], f = {
|
|
3
|
+
__name: "PrimaryButton",
|
|
4
|
+
props: {
|
|
5
|
+
disabled: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
error: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
reverse: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
return (r, l) => (t(), s("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
class: d(["flex items-center gap-x-2 rounded-[20px] px-4 h-10 text-style-input border-2 border-solid outline-none disabled:bg-steel-200 dark:disabled:bg-surface-sunken disabled:text-steel-950 disabled:border-steel-800 disabled:cursor-not-allowed", [
|
|
22
|
+
e.reverse ? "flex-row-reverse" : "flex-row",
|
|
23
|
+
e.error && !e.disabled ? "bg-[#ffffff] text-error-950 border-error-950 hover:bg-error-950 hover:border-error-950 hover:text-white focus:bg-error-950 focus:border-error-950 focus:text-white focus:outline-app-950" : "bg-app-950 text-white border-app-950 hover:bg-black-950 hover:border-black-950 focus:bg-black-950 focus:border-black-950 focus:outline-app-950"
|
|
24
|
+
]]),
|
|
25
|
+
disabled: e.disabled
|
|
26
|
+
}, [
|
|
27
|
+
o(r.$slots, "icon"),
|
|
28
|
+
o(r.$slots, "default")
|
|
29
|
+
], 10, a));
|
|
30
|
+
}
|
|
31
|
+
}, b = ["disabled"], u = {
|
|
32
|
+
__name: "SecondaryButton",
|
|
33
|
+
props: {
|
|
34
|
+
disabled: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
},
|
|
38
|
+
error: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !1
|
|
41
|
+
},
|
|
42
|
+
reverse: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !1
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(e) {
|
|
48
|
+
return (r, l) => (t(), s("button", {
|
|
49
|
+
type: "button",
|
|
50
|
+
class: d(["flex items-center gap-x-2 rounded-[20px] px-4 h-10 text-style-input border-2 border-solid border-steel-600 dark:border-line-strong outline-none disabled:bg-steel-200 dark:disabled:bg-surface-sunken disabled:text-steel-950 disabled:border-steel-800 disabled:cursor-not-allowed", [
|
|
51
|
+
e.reverse ? "flex-row-reverse" : "flex-row",
|
|
52
|
+
e.error && !e.disabled ? "bg-[#ffffff] text-error-950 border-error-950 hover:bg-error-950 hover:border-error-950 hover:text-white focus:bg-error-950 focus:border-error-950 focus:text-white" : "bg-surface-raised text-black-950 dark:text-content hover:text-app-950 hover:border-app-950 focus:text-app-950 focus:border-app-950"
|
|
53
|
+
]]),
|
|
54
|
+
disabled: e.disabled
|
|
55
|
+
}, [
|
|
56
|
+
o(r.$slots, "icon"),
|
|
57
|
+
o(r.$slots, "default")
|
|
58
|
+
], 10, b));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
f as _,
|
|
63
|
+
u as a
|
|
64
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as r, a } from "../../SecondaryButton-
|
|
1
|
+
import { _ as r, a } from "../../SecondaryButton-At_I-S4K.js";
|
|
2
2
|
import { _ as n } from "../../CloseButton-5Lrtf2mr.js";
|
|
3
|
-
import { _ as B } from "../../BaseDropdownButton-
|
|
3
|
+
import { _ as B } from "../../BaseDropdownButton-BD1CMHuM.js";
|
|
4
4
|
export {
|
|
5
5
|
B as BaseDropdownButton,
|
|
6
6
|
n as CloseButton,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { openBlock as n, createElementBlock as b, createElementVNode as p, renderSlot as o, mergeModels as d, useModel as y, computed as s, createBlock as h, withCtx as g, createVNode as x } from "vue";
|
|
2
2
|
import { _ as B } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import { _ as V } from "../../FormField-XR9nvyQr.js";
|
|
4
|
-
import { _ as v } from "../../InputField-
|
|
4
|
+
import { _ as v } from "../../InputField-BrSFZ5Eu.js";
|
|
5
5
|
const _ = {}, F = { class: "flex flex-col space-y-12" }, $ = { class: "flex flex-col space-y-6" };
|
|
6
6
|
function q(e, l) {
|
|
7
7
|
return n(), b("div", F, [
|
|
@@ -7,7 +7,7 @@ import { o as xe } from "../../index-CedrSBIl.js";
|
|
|
7
7
|
import oe from "../../BellIcon-lK5EZXNf.js";
|
|
8
8
|
import Ie from "../../CircleCheckIcon-CA15yXgI.js";
|
|
9
9
|
import Ee from "../../XMarkIcon-DKJ_--uA.js";
|
|
10
|
-
const Ne = /* @__PURE__ */ r("span", { class: "hidden whitespace-nowrap sm:inline" }, "Search", -1), He = /* @__PURE__ */ r("kbd", { class: "zui-search-kbd hidden items-center gap-px rounded border border-proclusteal-300 dark:border-line bg-proclusteal-100 dark:bg-surface px-[5px] py-0.5 font-sans text-[11px] font-bold leading-none text-proclusteal-500 dark:text-content-muted sm:inline-flex" }, [
|
|
10
|
+
const Ne = /* @__PURE__ */ r("span", { class: "hidden whitespace-nowrap sm:inline" }, "Search", -1), He = /* @__PURE__ */ r("kbd", { class: "zui-search-kbd hidden items-center gap-px rounded border-[1px] border-proclusteal-300 dark:border-line bg-proclusteal-100 dark:bg-surface px-[5px] py-0.5 font-sans text-[11px] font-bold leading-none text-proclusteal-500 dark:text-content-muted sm:inline-flex" }, [
|
|
11
11
|
/* @__PURE__ */ r("span", null, "⌘"),
|
|
12
12
|
/* @__PURE__ */ j("K ")
|
|
13
13
|
], -1), Oe = {
|
|
@@ -16,7 +16,7 @@ const Ne = /* @__PURE__ */ r("span", { class: "hidden whitespace-nowrap sm:inlin
|
|
|
16
16
|
setup(e) {
|
|
17
17
|
return (i, o) => (a(), u("button", {
|
|
18
18
|
type: "button",
|
|
19
|
-
class: "zui-search-pill inline-flex h-[34px] cursor-pointer items-center justify-center gap-[7px] rounded-lg border border-proclusteal-300 dark:border-line bg-
|
|
19
|
+
class: "zui-search-pill inline-flex h-[34px] cursor-pointer items-center justify-center gap-[7px] rounded-lg border-[1px] border-solid border-proclusteal-300 dark:border-line bg-surface-raised pl-[11px] pr-[9px] font-sans text-[13px] font-semibold text-proclusteal-600 dark:text-content-muted transition-[border-color,color,box-shadow] duration-150 hover:border-proclusteal-950 dark:hover:border-focus hover:text-proclusteal-800 dark:hover:text-content hover:shadow-[0_1px_3px_rgba(20,40,45,0.08)] focus:border-proclusteal-950 dark:focus:border-focus focus:text-proclusteal-800 dark:focus:text-content focus:outline-none",
|
|
20
20
|
title: "Search (Ctrl K)",
|
|
21
21
|
"aria-label": "Search (Ctrl K)",
|
|
22
22
|
onClick: o[0] || (o[0] = (y) => i.$emit("click"))
|
|
@@ -86,13 +86,13 @@ function ae(e, i) {
|
|
|
86
86
|
const y = new RegExp(`(${i.map((p) => p.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})`, "ig");
|
|
87
87
|
return o.replace(y, "<mark>$1</mark>");
|
|
88
88
|
}
|
|
89
|
-
const Pe = (e) => (Se("data-v-
|
|
89
|
+
const Pe = (e) => (Se("data-v-80fd510b"), e = e(), _e(), e), Ue = { class: "zui-search-field flex items-center gap-2.5 border-b-[1px] border-proclusteal-200 dark:border-line px-4 py-3.5" }, Be = ["placeholder"], Re = {
|
|
90
90
|
key: 0,
|
|
91
91
|
class: "px-[18px] pb-0.5 pt-3.5 text-[15px] font-extrabold text-[#1e262c] dark:text-content"
|
|
92
92
|
}, Ve = {
|
|
93
93
|
key: 1,
|
|
94
|
-
class: "border-b border-proclusteal-200 dark:border-line px-[18px] pb-3 pt-2.5"
|
|
95
|
-
}, Ke = ["onClick"], qe = { class: "zui-search-group sticky top-0 z-[1] border-t border-proclusteal-200 dark:border-line bg-proclusteal-150 dark:bg-surface px-[18px] py-2 text-[12px] font-extrabold tracking-[0.3px] text-proclusteal-700 dark:text-content" }, Ge = { class: "ml-0.5 text-[#667079] dark:text-content-muted" }, Fe = ["href", "data-row-idx", "onClick", "onMouseenter"], Qe = ["innerHTML"], Ye = { class: "min-w-0 flex-1" }, Xe = ["innerHTML"], Je = ["innerHTML"], We = /* @__PURE__ */ Pe(() => /* @__PURE__ */ r("svg", {
|
|
94
|
+
class: "border-b-[1px] border-proclusteal-200 dark:border-line px-[18px] pb-3 pt-2.5"
|
|
95
|
+
}, Ke = ["onClick"], qe = { class: "zui-search-group sticky top-0 z-[1] border-t-[1px] border-proclusteal-200 dark:border-line bg-proclusteal-150 dark:bg-surface px-[18px] py-2 text-[12px] font-extrabold tracking-[0.3px] text-proclusteal-700 dark:text-content" }, Ge = { class: "ml-0.5 text-[#667079] dark:text-content-muted" }, Fe = ["href", "data-row-idx", "onClick", "onMouseenter"], Qe = ["innerHTML"], Ye = { class: "min-w-0 flex-1" }, Xe = ["innerHTML"], Je = ["innerHTML"], We = /* @__PURE__ */ Pe(() => /* @__PURE__ */ r("svg", {
|
|
96
96
|
class: "h-4 w-4 flex-none text-[#c2cad1] dark:text-content-muted",
|
|
97
97
|
viewBox: "0 0 24 24",
|
|
98
98
|
fill: "none",
|
|
@@ -102,7 +102,7 @@ const Pe = (e) => (Se("data-v-9c786f7b"), e = e(), _e(), e), Ue = { class: "zui-
|
|
|
102
102
|
"stroke-linejoin": "round"
|
|
103
103
|
}, [
|
|
104
104
|
/* @__PURE__ */ r("polyline", { points: "9 18 15 12 9 6" })
|
|
105
|
-
], -1)), re = "zui-search-chip mb-2 mr-2 inline-flex cursor-pointer items-center gap-[7px] rounded-[20px] border border-[#dde3e8] dark:border-line bg-[#f4f6f8] dark:bg-surface px-3.5 py-1.5 text-[13px] font-bold text-proclusteal-700 dark:text-content hover:border-proclusteal-950 dark:hover:border-focus", le = "!border-proclusteal-950 !bg-proclusteal-950 !text-white", R = "zui-search-state px-5 py-[26px] text-center text-[13px] font-medium text-[#667079] dark:text-content-muted", Ze = {
|
|
105
|
+
], -1)), re = "zui-search-chip mb-2 mr-2 inline-flex cursor-pointer items-center gap-[7px] rounded-[20px] border-[1px] border-[#dde3e8] dark:border-line bg-[#f4f6f8] dark:bg-surface px-3.5 py-1.5 text-[13px] font-bold text-proclusteal-700 dark:text-content hover:border-proclusteal-950 dark:hover:border-focus", le = "!border-proclusteal-950 !bg-proclusteal-950 !text-white", R = "zui-search-state px-5 py-[26px] text-center text-[13px] font-medium text-[#667079] dark:text-content-muted", Ze = {
|
|
106
106
|
__name: "GlobalSearchModal",
|
|
107
107
|
props: /* @__PURE__ */ te({
|
|
108
108
|
searchProvider: {
|
|
@@ -264,7 +264,7 @@ const Pe = (e) => (Se("data-v-9c786f7b"), e = e(), _e(), e), Ue = { class: "zui-
|
|
|
264
264
|
r("div", {
|
|
265
265
|
ref_key: "panelEl",
|
|
266
266
|
ref: _,
|
|
267
|
-
class: "zui-search-panel mt-[4vh] flex max-h-[88vh] w-[94%] max-w-[720px] flex-col overflow-hidden rounded-[14px] bg-
|
|
267
|
+
class: "zui-search-panel mt-[4vh] flex max-h-[88vh] w-[94%] max-w-[720px] flex-col overflow-hidden rounded-[14px] bg-surface-raised font-sans shadow-[0_30px_80px_rgba(0,0,0,0.3)] sm:mt-[8vh] sm:max-h-[82vh]",
|
|
268
268
|
role: "dialog",
|
|
269
269
|
"aria-modal": "true",
|
|
270
270
|
"aria-label": "Search"
|
|
@@ -278,13 +278,13 @@ const Pe = (e) => (Se("data-v-9c786f7b"), e = e(), _e(), e), Ue = { class: "zui-
|
|
|
278
278
|
type: "text",
|
|
279
279
|
autocomplete: "off",
|
|
280
280
|
placeholder: e.placeholder,
|
|
281
|
-
class: "zui-search-input flex-1 border-0 bg-transparent p-0 text-[16px] text-[#1e262c] dark:text-content outline-none placeholder:text-proclusteal-400 dark:placeholder:text-content-muted focus:ring-0"
|
|
281
|
+
class: "zui-search-input flex-1 border-0 bg-[transparent] p-0 text-[16px] text-[#1e262c] dark:text-content outline-none placeholder:text-proclusteal-400 dark:placeholder:text-content-muted focus:ring-0"
|
|
282
282
|
}, null, 8, Be), [
|
|
283
283
|
[$e, g.value]
|
|
284
284
|
]),
|
|
285
285
|
r("button", {
|
|
286
286
|
type: "button",
|
|
287
|
-
class: "cursor-pointer border-0 bg-transparent px-1 text-[22px] leading-none text-proclusteal-400 dark:text-content-muted hover:text-proclusteal-700 dark:hover:text-content",
|
|
287
|
+
class: "cursor-pointer border-0 bg-[transparent] px-1 text-[22px] leading-none text-proclusteal-400 dark:text-content-muted hover:text-proclusteal-700 dark:hover:text-content",
|
|
288
288
|
"aria-label": "Close search",
|
|
289
289
|
title: "Close (Esc)",
|
|
290
290
|
onClick: z
|
|
@@ -379,7 +379,7 @@ const Pe = (e) => (Se("data-v-9c786f7b"), e = e(), _e(), e), Ue = { class: "zui-
|
|
|
379
379
|
], 32)) : v("", !0)
|
|
380
380
|
]));
|
|
381
381
|
}
|
|
382
|
-
}, et = /* @__PURE__ */ Ae(Ze, [["__scopeId", "data-v-
|
|
382
|
+
}, et = /* @__PURE__ */ Ae(Ze, [["__scopeId", "data-v-80fd510b"]]), se = {
|
|
383
383
|
"reference library": "RefLib",
|
|
384
384
|
reflib: "RefLib",
|
|
385
385
|
repository: "RefLib",
|
|
@@ -423,7 +423,7 @@ function nt(e) {
|
|
|
423
423
|
const ot = {
|
|
424
424
|
key: 0,
|
|
425
425
|
class: "absolute -right-[3px] -top-[3px] h-2 w-2 rounded-full bg-[#dd3730] ring-2 ring-white dark:ring-surface-raised"
|
|
426
|
-
}, at = { class: "absolute right-0 top-full z-30 mt-2 w-[400px] max-w-[90vw] origin-top-right overflow-hidden rounded-[10px] border border-proclusteal-300 dark:border-line bg-
|
|
426
|
+
}, at = { class: "absolute right-0 top-full z-30 mt-2 w-[400px] max-w-[90vw] origin-top-right overflow-hidden rounded-[10px] border-[1px] border-proclusteal-300 dark:border-line bg-surface-raised shadow-zeal-md" }, rt = { class: "max-h-[420px] overflow-y-auto" }, lt = {
|
|
427
427
|
key: 0,
|
|
428
428
|
class: "px-5 py-[26px] text-center text-[13px] font-medium text-[#667079] dark:text-content-muted"
|
|
429
429
|
}, st = {
|
|
@@ -521,7 +521,7 @@ const ot = {
|
|
|
521
521
|
e.notifications ? w.value.length ? v("", !0) : (a(), u("div", st, " No notifications. ")) : (a(), u("div", lt, " Loading notifications… ")),
|
|
522
522
|
(a(!0), u(H, null, P(m.value, (d) => (a(), u("div", {
|
|
523
523
|
key: d.item.NotifyID,
|
|
524
|
-
class: M(["flex cursor-pointer items-start gap-3 border-b border-proclusteal-200 dark:border-line px-4 py-3", d.unread ? "bg-proclusteal-50 dark:bg-surface-hover" : "bg-
|
|
524
|
+
class: M(["flex cursor-pointer items-start gap-3 border-b-[1px] border-proclusteal-200 dark:border-line px-4 py-3", d.unread ? "bg-proclusteal-50 dark:bg-surface-hover" : "bg-surface-raised"]),
|
|
525
525
|
onClick: (C) => f(d.item.url)
|
|
526
526
|
}, [
|
|
527
527
|
r("span", ct, [
|
|
@@ -570,7 +570,7 @@ const ot = {
|
|
|
570
570
|
]),
|
|
571
571
|
r("a", {
|
|
572
572
|
href: F(O)(e.notificationsUrl) || null,
|
|
573
|
-
class: "block border-t border-proclusteal-200 dark:border-line px-4 py-2.5 text-center text-[13px] font-bold text-proclusteal-700 dark:text-content no-underline hover:bg-proclusteal-50 dark:hover:bg-surface-hover hover:text-proclusteal-900 dark:hover:text-focus",
|
|
573
|
+
class: "block border-t-[1px] border-proclusteal-200 dark:border-line px-4 py-2.5 text-center text-[13px] font-bold text-proclusteal-700 dark:text-content no-underline hover:bg-proclusteal-50 dark:hover:bg-surface-hover hover:text-proclusteal-900 dark:hover:text-focus",
|
|
574
574
|
onClick: c[0] || (c[0] = N((d) => f(e.notificationsUrl), ["exact", "prevent"]))
|
|
575
575
|
}, " See all notifications ", 8, vt)
|
|
576
576
|
], 512), [
|
|
@@ -584,7 +584,7 @@ const ot = {
|
|
|
584
584
|
}, kt = ["src"], gt = {
|
|
585
585
|
key: 1,
|
|
586
586
|
class: "inline-flex h-[34px] w-[34px] items-center justify-center rounded-full bg-proclusteal-900 text-[13px] font-bold uppercase leading-none tracking-[0.5px] text-white"
|
|
587
|
-
}, wt = { class: "absolute right-0 top-full z-30 mt-2 w-[260px] origin-top-right rounded-[10px] border border-proclusteal-300 dark:border-line bg-
|
|
587
|
+
}, wt = { class: "absolute right-0 top-full z-30 mt-2 w-[260px] origin-top-right rounded-[10px] border-[1px] border-proclusteal-300 dark:border-line bg-surface-raised py-1 shadow-zeal-md" }, Ct = { class: "flex max-w-[260px] flex-col gap-0.5 whitespace-normal px-[18px] pb-2.5 pt-3" }, $t = { class: "block text-[14px] font-bold text-proclusteal-800 dark:text-content" }, St = /* @__PURE__ */ r("span", { class: "my-1.5 block h-0.5 w-8 flex-none rounded-[1px] bg-[#cdd4da] dark:bg-line-strong" }, null, -1), _t = { class: "block break-words text-[12px] leading-[1.3] text-proclusteal-600 dark:text-content-muted" }, Mt = /* @__PURE__ */ r("div", { class: "h-px bg-proclusteal-200 dark:bg-line" }, null, -1), Tt = {
|
|
588
588
|
key: 0,
|
|
589
589
|
class: "my-1 h-px bg-proclusteal-200 dark:bg-line"
|
|
590
590
|
}, At = ["href", "onClick"], It = {
|
|
@@ -670,7 +670,7 @@ const ot = {
|
|
|
670
670
|
})
|
|
671
671
|
], 512));
|
|
672
672
|
}
|
|
673
|
-
}, Et = { class: "flex h-[70px] shrink-0 items-center justify-between border-b border-proclusteal-300 dark:border-line bg-
|
|
673
|
+
}, Et = { class: "flex h-[70px] shrink-0 items-center justify-between border-b-[1px] border-proclusteal-300 dark:border-line bg-surface-raised px-[15px] font-sans shadow-[0_1px_3px_rgba(20,40,45,0.05)] sm:px-[25px]" }, Nt = { class: "flex min-w-0 items-center gap-[18px]" }, Ht = {
|
|
674
674
|
key: 0,
|
|
675
675
|
class: "hidden whitespace-nowrap text-[18px] font-semibold text-proclusteal-800 dark:text-content sm:inline"
|
|
676
676
|
}, Ot = {
|