@novie/ui 1.0.5 → 1.0.6
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/components/ui/calendar.d.ts +24 -6
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +121 -89
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { StateTag, stateTagVariants } from "./components/ui/state-tag";
|
|
|
37
37
|
export { ProgressIndicator, progressIndicatorVariants } from "./components/ui/progress-indicator";
|
|
38
38
|
export { TagBadge, tagBadgeVariants } from "./components/ui/tag-badge";
|
|
39
39
|
export { Calendar } from "./components/ui/calendar";
|
|
40
|
-
export type { CalendarProps } from "./components/ui/calendar";
|
|
40
|
+
export type { CalendarDateRange, CalendarProps } from "./components/ui/calendar";
|
|
41
41
|
export { Skeleton } from "./components/ui/skeleton";
|
|
42
42
|
export { Alert, AlertTitle, AlertDescription, alertVariants } from "./components/ui/alert";
|
|
43
43
|
export { Toast, ToastHeader, ToastTitle, ToastDescription, ToastAction, toastVariants } from "./components/ui/toast";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAA;AAGpB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAGhC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAG1E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,KAAK,E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B,CAAA;AAC1P,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAGnH,cAAc,uBAAuB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -11953,42 +11953,72 @@ function Ry(e, t) {
|
|
|
11953
11953
|
function zy(e, t) {
|
|
11954
11954
|
return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
|
|
11955
11955
|
}
|
|
11956
|
-
function By(
|
|
11957
|
-
|
|
11956
|
+
function By(e) {
|
|
11957
|
+
return new Date(e.getFullYear(), e.getMonth(), e.getDate());
|
|
11958
|
+
}
|
|
11959
|
+
function Vy(e, t) {
|
|
11960
|
+
return By(e).getTime() < By(t).getTime();
|
|
11961
|
+
}
|
|
11962
|
+
function Hy(e, t, n) {
|
|
11963
|
+
let r = By(e).getTime();
|
|
11964
|
+
return r >= By(t).getTime() && r <= By(n).getTime();
|
|
11965
|
+
}
|
|
11966
|
+
function Uy(e, t) {
|
|
11967
|
+
let n = By(t);
|
|
11968
|
+
if (!e?.from || e.to) return {
|
|
11969
|
+
from: n,
|
|
11970
|
+
to: void 0
|
|
11971
|
+
};
|
|
11972
|
+
let r = By(e.from);
|
|
11973
|
+
return Vy(n, r) ? {
|
|
11974
|
+
from: n,
|
|
11975
|
+
to: r
|
|
11976
|
+
} : {
|
|
11977
|
+
from: r,
|
|
11978
|
+
to: n
|
|
11979
|
+
};
|
|
11980
|
+
}
|
|
11981
|
+
function Wy({ className: e, mode: t = "single", selected: n, onSelect: r, selectedRange: s, onRangeSelect: c, month: l, onMonthChange: u, ...d }) {
|
|
11982
|
+
let f = /* @__PURE__ */ new Date(), [p, m] = o.useState(() => l ?? n ?? s?.from ?? f), h = l ?? p, g = h.getFullYear(), _ = h.getMonth(), v = Ly(g, _), y = Ry(g, _), b = Ly(g, _ - 1), x = h.toLocaleString("en-US", {
|
|
11958
11983
|
month: "long",
|
|
11959
11984
|
year: "numeric"
|
|
11960
11985
|
});
|
|
11961
|
-
function
|
|
11962
|
-
let t = new Date(
|
|
11963
|
-
|
|
11986
|
+
function S(e) {
|
|
11987
|
+
let t = new Date(g, _ + e, 1);
|
|
11988
|
+
u ? u(t) : m(t);
|
|
11964
11989
|
}
|
|
11965
|
-
function
|
|
11966
|
-
n
|
|
11990
|
+
function C(e) {
|
|
11991
|
+
let n = new Date(g, _, e);
|
|
11992
|
+
if (t === "range") {
|
|
11993
|
+
c?.(Uy(s, n));
|
|
11994
|
+
return;
|
|
11995
|
+
}
|
|
11996
|
+
r?.(n);
|
|
11967
11997
|
}
|
|
11968
|
-
let
|
|
11969
|
-
for (let e =
|
|
11970
|
-
day:
|
|
11998
|
+
let T = [];
|
|
11999
|
+
for (let e = y - 1; e >= 0; e--) T.push({
|
|
12000
|
+
day: b - e,
|
|
11971
12001
|
current: !1
|
|
11972
12002
|
});
|
|
11973
|
-
let
|
|
11974
|
-
for (let e = 1; e <=
|
|
12003
|
+
let E = [];
|
|
12004
|
+
for (let e = 1; e <= v; e++) E.push({
|
|
11975
12005
|
day: e,
|
|
11976
12006
|
current: !0
|
|
11977
12007
|
});
|
|
11978
|
-
let
|
|
11979
|
-
for (let e = 1; e <=
|
|
12008
|
+
let D = T.length + E.length, O = D % 7 == 0 ? 0 : 7 - D % 7, k = [];
|
|
12009
|
+
for (let e = 1; e <= O; e++) k.push({
|
|
11980
12010
|
day: e,
|
|
11981
12011
|
current: !1
|
|
11982
12012
|
});
|
|
11983
|
-
let
|
|
11984
|
-
...
|
|
11985
|
-
...
|
|
11986
|
-
...
|
|
12013
|
+
let A = [
|
|
12014
|
+
...T,
|
|
12015
|
+
...E,
|
|
12016
|
+
...k
|
|
11987
12017
|
];
|
|
11988
12018
|
return /* @__PURE__ */ a("div", {
|
|
11989
12019
|
"data-slot": "calendar",
|
|
11990
12020
|
className: w("w-fit rounded-lg bg-background p-4", e),
|
|
11991
|
-
...
|
|
12021
|
+
...d,
|
|
11992
12022
|
children: [/* @__PURE__ */ a("div", {
|
|
11993
12023
|
"data-slot": "calendar-header",
|
|
11994
12024
|
className: "flex items-center justify-between pb-4",
|
|
@@ -11996,7 +12026,7 @@ function By({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
11996
12026
|
/* @__PURE__ */ i("button", {
|
|
11997
12027
|
"data-slot": "calendar-nav-prev",
|
|
11998
12028
|
type: "button",
|
|
11999
|
-
onClick: () =>
|
|
12029
|
+
onClick: () => S(-1),
|
|
12000
12030
|
className: "inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-hidden focus:ring-2 focus:ring-ring",
|
|
12001
12031
|
"aria-label": "Previous month",
|
|
12002
12032
|
children: /* @__PURE__ */ i(bt, { className: "h-5 w-5" })
|
|
@@ -12004,12 +12034,12 @@ function By({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
12004
12034
|
/* @__PURE__ */ i("span", {
|
|
12005
12035
|
"data-slot": "calendar-title",
|
|
12006
12036
|
className: "text-sm font-semibold text-foreground",
|
|
12007
|
-
children:
|
|
12037
|
+
children: x
|
|
12008
12038
|
}),
|
|
12009
12039
|
/* @__PURE__ */ i("button", {
|
|
12010
12040
|
"data-slot": "calendar-nav-next",
|
|
12011
12041
|
type: "button",
|
|
12012
|
-
onClick: () =>
|
|
12042
|
+
onClick: () => S(1),
|
|
12013
12043
|
className: "inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-hidden focus:ring-2 focus:ring-ring",
|
|
12014
12044
|
"aria-label": "Next month",
|
|
12015
12045
|
children: /* @__PURE__ */ i(xt, { className: "h-5 w-5" })
|
|
@@ -12024,25 +12054,27 @@ function By({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
12024
12054
|
className: "flex h-10 w-10 items-center justify-center text-xs font-medium text-muted-foreground",
|
|
12025
12055
|
role: "columnheader",
|
|
12026
12056
|
children: e
|
|
12027
|
-
}, e)),
|
|
12028
|
-
let
|
|
12057
|
+
}, e)), A.map((e, r) => {
|
|
12058
|
+
let a = e.current, o = new Date(g, _, e.day), c = t === "single" && a && n && zy(o, n), l = t === "range" && a && s?.from && zy(o, s.from), u = t === "range" && a && s?.to && zy(o, s.to), d = t === "range" && a && s?.from && s.to && Hy(o, s.from, s.to) && !l && !u, p = !!(c || l || d || u), m = a && zy(o, f);
|
|
12029
12059
|
return /* @__PURE__ */ i("button", {
|
|
12030
12060
|
"data-slot": "calendar-day",
|
|
12031
12061
|
type: "button",
|
|
12032
|
-
disabled: !
|
|
12033
|
-
onClick: () =>
|
|
12034
|
-
className: w("flex h-10 w-10 cursor-pointer items-center justify-center rounded-full text-sm transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring disabled:pointer-events-none", !
|
|
12035
|
-
"aria-selected":
|
|
12036
|
-
"aria-current":
|
|
12062
|
+
disabled: !a,
|
|
12063
|
+
onClick: () => a && C(e.day),
|
|
12064
|
+
className: w("flex h-10 w-10 cursor-pointer items-center justify-center rounded-full text-sm transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring disabled:pointer-events-none", !a && "pointer-events-none text-muted-foreground/40", a && !p && !m && "text-foreground hover:bg-accent", m && !p && "font-semibold text-foreground", d && "bg-accent text-accent-foreground", p && !d && "bg-primary text-primary-foreground font-medium hover:bg-primary"),
|
|
12065
|
+
"aria-selected": p || void 0,
|
|
12066
|
+
"aria-current": m ? "date" : void 0,
|
|
12067
|
+
"data-range-start": l || void 0,
|
|
12068
|
+
"data-range-end": u || void 0,
|
|
12037
12069
|
children: e.day
|
|
12038
|
-
},
|
|
12070
|
+
}, r);
|
|
12039
12071
|
})]
|
|
12040
12072
|
})]
|
|
12041
12073
|
});
|
|
12042
12074
|
}
|
|
12043
12075
|
//#endregion
|
|
12044
12076
|
//#region src/components/ui/skeleton.tsx
|
|
12045
|
-
function
|
|
12077
|
+
function Gy({ className: e, active: t = !1, ...n }) {
|
|
12046
12078
|
return /* @__PURE__ */ i("div", {
|
|
12047
12079
|
"data-slot": "skeleton",
|
|
12048
12080
|
"data-active": t || void 0,
|
|
@@ -12052,7 +12084,7 @@ function Vy({ className: e, active: t = !1, ...n }) {
|
|
|
12052
12084
|
}
|
|
12053
12085
|
//#endregion
|
|
12054
12086
|
//#region src/components/ui/alert.tsx
|
|
12055
|
-
var
|
|
12087
|
+
var Ky = n("relative flex w-full items-start gap-5 rounded-lg p-5 text-base leading-6 [&>svg]:h-6 [&>svg]:w-6 [&>svg]:shrink-0", {
|
|
12056
12088
|
variants: {
|
|
12057
12089
|
variant: {
|
|
12058
12090
|
default: "",
|
|
@@ -12112,13 +12144,13 @@ var Hy = n("relative flex w-full items-start gap-5 rounded-lg p-5 text-base lead
|
|
|
12112
12144
|
filled: !1
|
|
12113
12145
|
}
|
|
12114
12146
|
});
|
|
12115
|
-
function
|
|
12147
|
+
function qy({ className: e, variant: t = "default", filled: n = !1, onDismiss: r, children: o, ...s }) {
|
|
12116
12148
|
return /* @__PURE__ */ a("div", {
|
|
12117
12149
|
"data-slot": "alert",
|
|
12118
12150
|
"data-variant": t,
|
|
12119
12151
|
"data-filled": n || void 0,
|
|
12120
12152
|
role: "alert",
|
|
12121
|
-
className: w(
|
|
12153
|
+
className: w(Ky({
|
|
12122
12154
|
variant: t,
|
|
12123
12155
|
filled: n,
|
|
12124
12156
|
className: e
|
|
@@ -12138,7 +12170,7 @@ function Uy({ className: e, variant: t = "default", filled: n = !1, onDismiss: r
|
|
|
12138
12170
|
}) : null]
|
|
12139
12171
|
});
|
|
12140
12172
|
}
|
|
12141
|
-
function
|
|
12173
|
+
function Jy({ className: e, children: t, ...n }) {
|
|
12142
12174
|
return /* @__PURE__ */ i("h5", {
|
|
12143
12175
|
"data-slot": "alert-title",
|
|
12144
12176
|
className: w("text-h4", e),
|
|
@@ -12146,7 +12178,7 @@ function Wy({ className: e, children: t, ...n }) {
|
|
|
12146
12178
|
children: t
|
|
12147
12179
|
});
|
|
12148
12180
|
}
|
|
12149
|
-
function
|
|
12181
|
+
function Yy({ className: e, children: t, ...n }) {
|
|
12150
12182
|
return /* @__PURE__ */ i("div", {
|
|
12151
12183
|
"data-slot": "alert-description",
|
|
12152
12184
|
className: w("text-base leading-6 [&_p]:leading-6", e),
|
|
@@ -12156,7 +12188,7 @@ function Gy({ className: e, children: t, ...n }) {
|
|
|
12156
12188
|
}
|
|
12157
12189
|
//#endregion
|
|
12158
12190
|
//#region src/components/ui/toast.tsx
|
|
12159
|
-
var
|
|
12191
|
+
var Xy = n("relative flex w-full flex-col gap-4 rounded-lg border px-3 py-5", {
|
|
12160
12192
|
variants: { variant: {
|
|
12161
12193
|
default: "border-border bg-background text-foreground",
|
|
12162
12194
|
success: "border-border bg-background text-foreground",
|
|
@@ -12165,25 +12197,25 @@ var Ky = n("relative flex w-full flex-col gap-4 rounded-lg border px-3 py-5", {
|
|
|
12165
12197
|
info: "border-border bg-background text-foreground"
|
|
12166
12198
|
} },
|
|
12167
12199
|
defaultVariants: { variant: "default" }
|
|
12168
|
-
}),
|
|
12200
|
+
}), Zy = {
|
|
12169
12201
|
default: nn,
|
|
12170
12202
|
success: nn,
|
|
12171
12203
|
destructive: Yt,
|
|
12172
12204
|
warning: Yt,
|
|
12173
12205
|
info: Zt
|
|
12174
|
-
},
|
|
12206
|
+
}, Qy = {
|
|
12175
12207
|
default: "text-foreground",
|
|
12176
12208
|
success: "text-success",
|
|
12177
12209
|
destructive: "text-destructive",
|
|
12178
12210
|
warning: "text-warning",
|
|
12179
12211
|
info: "text-info"
|
|
12180
12212
|
};
|
|
12181
|
-
function
|
|
12213
|
+
function $y({ className: e, variant: t = "default", onClose: n, children: r, ...o }) {
|
|
12182
12214
|
return /* @__PURE__ */ a("div", {
|
|
12183
12215
|
"data-slot": "toast",
|
|
12184
12216
|
"data-variant": t,
|
|
12185
12217
|
role: "alert",
|
|
12186
|
-
className: w(
|
|
12218
|
+
className: w(Xy({
|
|
12187
12219
|
variant: t,
|
|
12188
12220
|
className: e
|
|
12189
12221
|
})),
|
|
@@ -12198,8 +12230,8 @@ function Yy({ className: e, variant: t = "default", onClose: n, children: r, ...
|
|
|
12198
12230
|
})]
|
|
12199
12231
|
});
|
|
12200
12232
|
}
|
|
12201
|
-
function
|
|
12202
|
-
let o =
|
|
12233
|
+
function eb({ className: e, variant: t = "default", children: n, ...r }) {
|
|
12234
|
+
let o = Zy[t], s = Qy[t];
|
|
12203
12235
|
return /* @__PURE__ */ a("div", {
|
|
12204
12236
|
"data-slot": "toast-header",
|
|
12205
12237
|
className: w("flex items-center gap-4", e),
|
|
@@ -12215,21 +12247,21 @@ function Xy({ className: e, variant: t = "default", children: n, ...r }) {
|
|
|
12215
12247
|
})]
|
|
12216
12248
|
});
|
|
12217
12249
|
}
|
|
12218
|
-
function
|
|
12250
|
+
function tb({ className: e, ...t }) {
|
|
12219
12251
|
return /* @__PURE__ */ i("p", {
|
|
12220
12252
|
"data-slot": "toast-title",
|
|
12221
12253
|
className: w("text-h4", e),
|
|
12222
12254
|
...t
|
|
12223
12255
|
});
|
|
12224
12256
|
}
|
|
12225
|
-
function
|
|
12257
|
+
function nb({ className: e, ...t }) {
|
|
12226
12258
|
return /* @__PURE__ */ i("p", {
|
|
12227
12259
|
"data-slot": "toast-description",
|
|
12228
12260
|
className: w("pl-8 text-sm leading-5 text-muted-foreground", e),
|
|
12229
12261
|
...t
|
|
12230
12262
|
});
|
|
12231
12263
|
}
|
|
12232
|
-
function
|
|
12264
|
+
function rb({ className: e, ...t }) {
|
|
12233
12265
|
return /* @__PURE__ */ i("div", {
|
|
12234
12266
|
"data-slot": "toast-action",
|
|
12235
12267
|
className: w("flex items-start justify-end gap-3 pl-8", e),
|
|
@@ -12238,19 +12270,19 @@ function $y({ className: e, ...t }) {
|
|
|
12238
12270
|
}
|
|
12239
12271
|
//#endregion
|
|
12240
12272
|
//#region src/components/ui/notification.tsx
|
|
12241
|
-
var
|
|
12273
|
+
var ib = n("relative flex w-full max-w-[450px] flex-col gap-3 rounded-lg border bg-background p-5 shadow-lg", {
|
|
12242
12274
|
variants: { variant: {
|
|
12243
12275
|
default: "",
|
|
12244
12276
|
destructive: "border-l-4 border-l-destructive"
|
|
12245
12277
|
} },
|
|
12246
12278
|
defaultVariants: { variant: "default" }
|
|
12247
12279
|
});
|
|
12248
|
-
function
|
|
12280
|
+
function ab({ className: e, variant: t = "default", children: n, ...r }) {
|
|
12249
12281
|
return /* @__PURE__ */ i("div", {
|
|
12250
12282
|
"data-slot": "notification",
|
|
12251
12283
|
role: "status",
|
|
12252
12284
|
"aria-live": "polite",
|
|
12253
|
-
className: w(
|
|
12285
|
+
className: w(ib({
|
|
12254
12286
|
variant: t,
|
|
12255
12287
|
className: e
|
|
12256
12288
|
})),
|
|
@@ -12258,7 +12290,7 @@ function tb({ className: e, variant: t = "default", children: n, ...r }) {
|
|
|
12258
12290
|
children: n
|
|
12259
12291
|
});
|
|
12260
12292
|
}
|
|
12261
|
-
function
|
|
12293
|
+
function ob({ className: e, ...t }) {
|
|
12262
12294
|
return /* @__PURE__ */ a("button", {
|
|
12263
12295
|
"data-slot": "notification-close",
|
|
12264
12296
|
type: "button",
|
|
@@ -12271,35 +12303,35 @@ function nb({ className: e, ...t }) {
|
|
|
12271
12303
|
})]
|
|
12272
12304
|
});
|
|
12273
12305
|
}
|
|
12274
|
-
function
|
|
12306
|
+
function sb({ className: e, ...t }) {
|
|
12275
12307
|
return /* @__PURE__ */ i("div", {
|
|
12276
12308
|
"data-slot": "notification-header",
|
|
12277
12309
|
className: w("flex items-start gap-2.5", e),
|
|
12278
12310
|
...t
|
|
12279
12311
|
});
|
|
12280
12312
|
}
|
|
12281
|
-
function
|
|
12313
|
+
function cb({ className: e, ...t }) {
|
|
12282
12314
|
return /* @__PURE__ */ i("p", {
|
|
12283
12315
|
"data-slot": "notification-title",
|
|
12284
12316
|
className: w("text-lg font-medium text-foreground", e),
|
|
12285
12317
|
...t
|
|
12286
12318
|
});
|
|
12287
12319
|
}
|
|
12288
|
-
function
|
|
12320
|
+
function lb({ className: e, ...t }) {
|
|
12289
12321
|
return /* @__PURE__ */ i("span", {
|
|
12290
12322
|
"data-slot": "notification-timestamp",
|
|
12291
12323
|
className: w("ml-auto shrink-0 text-sm text-muted-foreground", e),
|
|
12292
12324
|
...t
|
|
12293
12325
|
});
|
|
12294
12326
|
}
|
|
12295
|
-
function
|
|
12327
|
+
function ub({ className: e, ...t }) {
|
|
12296
12328
|
return /* @__PURE__ */ i("p", {
|
|
12297
12329
|
"data-slot": "notification-description",
|
|
12298
12330
|
className: w("text-sm leading-relaxed text-muted-foreground", e),
|
|
12299
12331
|
...t
|
|
12300
12332
|
});
|
|
12301
12333
|
}
|
|
12302
|
-
function
|
|
12334
|
+
function db({ className: e, ...t }) {
|
|
12303
12335
|
return /* @__PURE__ */ i("div", {
|
|
12304
12336
|
"data-slot": "notification-actions",
|
|
12305
12337
|
className: w("flex items-center gap-4", e),
|
|
@@ -12308,7 +12340,7 @@ function sb({ className: e, ...t }) {
|
|
|
12308
12340
|
}
|
|
12309
12341
|
//#endregion
|
|
12310
12342
|
//#region src/components/layout/navigation-bar.tsx
|
|
12311
|
-
function
|
|
12343
|
+
function fb({ className: e, children: t, ...n }) {
|
|
12312
12344
|
return /* @__PURE__ */ i("header", {
|
|
12313
12345
|
"data-slot": "navigation-bar",
|
|
12314
12346
|
className: w("flex min-h-12 w-full items-center justify-between", e),
|
|
@@ -12316,14 +12348,14 @@ function cb({ className: e, children: t, ...n }) {
|
|
|
12316
12348
|
children: t
|
|
12317
12349
|
});
|
|
12318
12350
|
}
|
|
12319
|
-
function
|
|
12351
|
+
function pb({ className: e, ...t }) {
|
|
12320
12352
|
return /* @__PURE__ */ i("h1", {
|
|
12321
12353
|
"data-slot": "navigation-bar-title",
|
|
12322
12354
|
className: w("text-h3 text-foreground", e),
|
|
12323
12355
|
...t
|
|
12324
12356
|
});
|
|
12325
12357
|
}
|
|
12326
|
-
function
|
|
12358
|
+
function mb({ className: e, ...t }) {
|
|
12327
12359
|
return /* @__PURE__ */ i("div", {
|
|
12328
12360
|
"data-slot": "navigation-bar-content",
|
|
12329
12361
|
className: w("flex h-12 items-center justify-between", e),
|
|
@@ -12332,12 +12364,12 @@ function ub({ className: e, ...t }) {
|
|
|
12332
12364
|
}
|
|
12333
12365
|
//#endregion
|
|
12334
12366
|
//#region src/components/layout/nav-breadcrumb.tsx
|
|
12335
|
-
var
|
|
12367
|
+
var hb = o.createContext({
|
|
12336
12368
|
size: "sm",
|
|
12337
12369
|
separator: "chevron"
|
|
12338
12370
|
});
|
|
12339
|
-
function
|
|
12340
|
-
return /* @__PURE__ */ i(
|
|
12371
|
+
function gb({ size: e = "sm", separator: t = "chevron", className: n, children: r, ...a }) {
|
|
12372
|
+
return /* @__PURE__ */ i(hb.Provider, {
|
|
12341
12373
|
value: {
|
|
12342
12374
|
size: e,
|
|
12343
12375
|
separator: t
|
|
@@ -12356,8 +12388,8 @@ function fb({ size: e = "sm", separator: t = "chevron", className: n, children:
|
|
|
12356
12388
|
})
|
|
12357
12389
|
});
|
|
12358
12390
|
}
|
|
12359
|
-
function
|
|
12360
|
-
let { size: u, separator: p } = o.useContext(
|
|
12391
|
+
function _b({ icon: e, current: t, asChild: n, className: r, children: s, href: c, ...l }) {
|
|
12392
|
+
let { size: u, separator: p } = o.useContext(hb), m = p === "chevron", h = p === "slash", g = n ? d : t ? "span" : "a", _ = t ? { "aria-current": "page" } : { href: c }, v = u === "sm" ? "h-6 w-6" : "h-8 w-8", y = m && o.isValidElement(e) ? o.cloneElement(e, { className: w(v, e.props.className) }) : e;
|
|
12361
12393
|
return /* @__PURE__ */ a("li", {
|
|
12362
12394
|
"data-slot": "nav-breadcrumb-item",
|
|
12363
12395
|
className: "inline-flex items-center",
|
|
@@ -12383,15 +12415,15 @@ function pb({ icon: e, current: t, asChild: n, className: r, children: s, href:
|
|
|
12383
12415
|
}
|
|
12384
12416
|
//#endregion
|
|
12385
12417
|
//#region src/components/layout/sidebar.tsx
|
|
12386
|
-
var
|
|
12418
|
+
var vb = o.createContext({
|
|
12387
12419
|
expanded: !0,
|
|
12388
12420
|
setExpanded: () => {},
|
|
12389
12421
|
toggle: () => {}
|
|
12390
12422
|
});
|
|
12391
|
-
function
|
|
12392
|
-
return o.useContext(
|
|
12423
|
+
function yb() {
|
|
12424
|
+
return o.useContext(vb);
|
|
12393
12425
|
}
|
|
12394
|
-
function
|
|
12426
|
+
function bb({ children: e, defaultExpanded: t = !0 }) {
|
|
12395
12427
|
let [n, r] = o.useState(t), a = o.useCallback(() => {
|
|
12396
12428
|
r((e) => !e);
|
|
12397
12429
|
}, []), s = o.useMemo(() => ({
|
|
@@ -12399,13 +12431,13 @@ function gb({ children: e, defaultExpanded: t = !0 }) {
|
|
|
12399
12431
|
setExpanded: r,
|
|
12400
12432
|
toggle: a
|
|
12401
12433
|
}), [n, a]);
|
|
12402
|
-
return /* @__PURE__ */ i(
|
|
12434
|
+
return /* @__PURE__ */ i(vb.Provider, {
|
|
12403
12435
|
value: s,
|
|
12404
12436
|
children: e
|
|
12405
12437
|
});
|
|
12406
12438
|
}
|
|
12407
|
-
function
|
|
12408
|
-
let { expanded: r } =
|
|
12439
|
+
function xb({ className: e, children: t, ...n }) {
|
|
12440
|
+
let { expanded: r } = yb();
|
|
12409
12441
|
return /* @__PURE__ */ i("aside", {
|
|
12410
12442
|
"data-slot": "sidebar",
|
|
12411
12443
|
"data-expanded": r,
|
|
@@ -12414,7 +12446,7 @@ function _b({ className: e, children: t, ...n }) {
|
|
|
12414
12446
|
children: t
|
|
12415
12447
|
});
|
|
12416
12448
|
}
|
|
12417
|
-
function
|
|
12449
|
+
function Sb({ className: e, children: t, ...n }) {
|
|
12418
12450
|
return /* @__PURE__ */ i("div", {
|
|
12419
12451
|
"data-slot": "sidebar-header",
|
|
12420
12452
|
className: w("flex items-center gap-2 px-3 py-4", e),
|
|
@@ -12422,7 +12454,7 @@ function vb({ className: e, children: t, ...n }) {
|
|
|
12422
12454
|
children: t
|
|
12423
12455
|
});
|
|
12424
12456
|
}
|
|
12425
|
-
function
|
|
12457
|
+
function Cb({ className: e, children: t, ...n }) {
|
|
12426
12458
|
return /* @__PURE__ */ i("div", {
|
|
12427
12459
|
"data-slot": "sidebar-content",
|
|
12428
12460
|
className: w("flex flex-1 flex-col gap-2 overflow-y-auto px-3", e),
|
|
@@ -12430,7 +12462,7 @@ function yb({ className: e, children: t, ...n }) {
|
|
|
12430
12462
|
children: t
|
|
12431
12463
|
});
|
|
12432
12464
|
}
|
|
12433
|
-
function
|
|
12465
|
+
function wb({ className: e, children: t, ...n }) {
|
|
12434
12466
|
return /* @__PURE__ */ i("div", {
|
|
12435
12467
|
"data-slot": "sidebar-group",
|
|
12436
12468
|
className: w("flex flex-col gap-1", e),
|
|
@@ -12438,15 +12470,15 @@ function bb({ className: e, children: t, ...n }) {
|
|
|
12438
12470
|
children: t
|
|
12439
12471
|
});
|
|
12440
12472
|
}
|
|
12441
|
-
function
|
|
12442
|
-
let { expanded: n } =
|
|
12473
|
+
function Tb({ className: e, ...t }) {
|
|
12474
|
+
let { expanded: n } = yb();
|
|
12443
12475
|
return n ? /* @__PURE__ */ i("span", {
|
|
12444
12476
|
"data-slot": "sidebar-group-label",
|
|
12445
12477
|
className: w("px-3 py-2 text-xs font-medium uppercase text-muted-foreground", e),
|
|
12446
12478
|
...t
|
|
12447
12479
|
}) : null;
|
|
12448
12480
|
}
|
|
12449
|
-
function
|
|
12481
|
+
function Eb({ className: e, children: t, ...n }) {
|
|
12450
12482
|
return /* @__PURE__ */ i("ul", {
|
|
12451
12483
|
"data-slot": "sidebar-menu",
|
|
12452
12484
|
className: w("flex flex-col gap-0.5", e),
|
|
@@ -12454,7 +12486,7 @@ function Sb({ className: e, children: t, ...n }) {
|
|
|
12454
12486
|
children: t
|
|
12455
12487
|
});
|
|
12456
12488
|
}
|
|
12457
|
-
function
|
|
12489
|
+
function Db({ className: e, children: t, ...n }) {
|
|
12458
12490
|
return /* @__PURE__ */ i("li", {
|
|
12459
12491
|
"data-slot": "sidebar-menu-item",
|
|
12460
12492
|
className: w("list-none", e),
|
|
@@ -12462,8 +12494,8 @@ function Cb({ className: e, children: t, ...n }) {
|
|
|
12462
12494
|
children: t
|
|
12463
12495
|
});
|
|
12464
12496
|
}
|
|
12465
|
-
function
|
|
12466
|
-
let { expanded: a } =
|
|
12497
|
+
function Ob({ className: e, active: t = !1, children: n, ...r }) {
|
|
12498
|
+
let { expanded: a } = yb();
|
|
12467
12499
|
return /* @__PURE__ */ i("button", {
|
|
12468
12500
|
"data-slot": "sidebar-menu-button",
|
|
12469
12501
|
"data-active": t || void 0,
|
|
@@ -12472,15 +12504,15 @@ function wb({ className: e, active: t = !1, children: n, ...r }) {
|
|
|
12472
12504
|
children: n
|
|
12473
12505
|
});
|
|
12474
12506
|
}
|
|
12475
|
-
function
|
|
12476
|
-
let { expanded: n } =
|
|
12507
|
+
function kb({ className: e, ...t }) {
|
|
12508
|
+
let { expanded: n } = yb();
|
|
12477
12509
|
return n ? /* @__PURE__ */ i("span", {
|
|
12478
12510
|
"data-slot": "sidebar-menu-button-label",
|
|
12479
12511
|
className: w("truncate", e),
|
|
12480
12512
|
...t
|
|
12481
12513
|
}) : null;
|
|
12482
12514
|
}
|
|
12483
|
-
function
|
|
12515
|
+
function Ab({ className: e, children: t, ...n }) {
|
|
12484
12516
|
return /* @__PURE__ */ i("div", {
|
|
12485
12517
|
"data-slot": "sidebar-footer",
|
|
12486
12518
|
className: w("flex items-center gap-2 border-t border-border px-3 py-4", e),
|
|
@@ -12488,8 +12520,8 @@ function Eb({ className: e, children: t, ...n }) {
|
|
|
12488
12520
|
children: t
|
|
12489
12521
|
});
|
|
12490
12522
|
}
|
|
12491
|
-
function
|
|
12492
|
-
let { toggle: n } =
|
|
12523
|
+
function jb({ className: e, ...t }) {
|
|
12524
|
+
let { toggle: n } = yb();
|
|
12493
12525
|
return /* @__PURE__ */ i(xr, {
|
|
12494
12526
|
"data-slot": "sidebar-trigger",
|
|
12495
12527
|
variant: "ghost",
|
|
@@ -12503,7 +12535,7 @@ function Db({ className: e, ...t }) {
|
|
|
12503
12535
|
}
|
|
12504
12536
|
//#endregion
|
|
12505
12537
|
//#region src/components/layout/data-table.tsx
|
|
12506
|
-
function
|
|
12538
|
+
function Mb({ className: e, children: t, ...n }) {
|
|
12507
12539
|
return /* @__PURE__ */ i("div", {
|
|
12508
12540
|
"data-slot": "data-table",
|
|
12509
12541
|
className: w("flex flex-col gap-4", e),
|
|
@@ -12511,7 +12543,7 @@ function Ob({ className: e, children: t, ...n }) {
|
|
|
12511
12543
|
children: t
|
|
12512
12544
|
});
|
|
12513
12545
|
}
|
|
12514
|
-
function
|
|
12546
|
+
function Nb({ className: e, children: t, ...n }) {
|
|
12515
12547
|
return /* @__PURE__ */ i("div", {
|
|
12516
12548
|
"data-slot": "data-table-toolbar",
|
|
12517
12549
|
className: w("flex items-center justify-between gap-2", e),
|
|
@@ -12519,7 +12551,7 @@ function kb({ className: e, children: t, ...n }) {
|
|
|
12519
12551
|
children: t
|
|
12520
12552
|
});
|
|
12521
12553
|
}
|
|
12522
|
-
function
|
|
12554
|
+
function Pb({ className: e, children: t, ...n }) {
|
|
12523
12555
|
return /* @__PURE__ */ i("div", {
|
|
12524
12556
|
"data-slot": "data-table-content",
|
|
12525
12557
|
className: w(e),
|
|
@@ -12527,7 +12559,7 @@ function Ab({ className: e, children: t, ...n }) {
|
|
|
12527
12559
|
children: t
|
|
12528
12560
|
});
|
|
12529
12561
|
}
|
|
12530
|
-
function
|
|
12562
|
+
function Fb({ className: e, children: t, ...n }) {
|
|
12531
12563
|
return /* @__PURE__ */ i("div", {
|
|
12532
12564
|
"data-slot": "data-table-pagination",
|
|
12533
12565
|
className: w("flex items-center justify-between px-2 py-4", e),
|
|
@@ -12536,6 +12568,6 @@ function jb({ className: e, children: t, ...n }) {
|
|
|
12536
12568
|
});
|
|
12537
12569
|
}
|
|
12538
12570
|
//#endregion
|
|
12539
|
-
export { Kv as Accordion, Yv as AccordionContent, qv as AccordionItem, Jv as AccordionTrigger,
|
|
12571
|
+
export { Kv as Accordion, Yv as AccordionContent, qv as AccordionItem, Jv as AccordionTrigger, qy as Alert, Yy as AlertDescription, B_ as AlertDialog, Y_ as AlertDialogAction, X_ as AlertDialogCancel, W_ as AlertDialogContent, J_ as AlertDialogDescription, K_ as AlertDialogFooter, G_ as AlertDialogHeader, q_ as AlertDialogTitle, V_ as AlertDialogTrigger, Jy as AlertTitle, ea as Avatar, na as AvatarFallback, ta as AvatarImage, Yi as Badge, Sy as Breadcrumb, Oy as BreadcrumbEllipsis, wy as BreadcrumbItem, Ty as BreadcrumbLink, Cy as BreadcrumbList, Ey as BreadcrumbPage, Dy as BreadcrumbSeparator, xr as Button, Wy as Calendar, va as Card, Sa as CardContent, xa as CardDescription, Ca as CardFooter, ya as CardHeader, ba as CardTitle, Er as Checkbox, Zp as ContextMenu, om as ContextMenuCheckboxItem, im as ContextMenuContent, $p as ContextMenuGroup, am as ContextMenuItem, cm as ContextMenuLabel, tm as ContextMenuRadioGroup, sm as ContextMenuRadioItem, lm as ContextMenuSeparator, um as ContextMenuShortcut, em as ContextMenuSub, rm as ContextMenuSubContent, nm as ContextMenuSubTrigger, Qp as ContextMenuTrigger, Mb as DataTable, Pb as DataTableContent, Fb as DataTablePagination, Nb as DataTableToolbar, Ia as Dialog, Ra as DialogClose, za as DialogContent, Ua as DialogDescription, Va as DialogFooter, Ba as DialogHeader, Ha as DialogTitle, La as DialogTrigger, Gg as DropdownMenu, t_ as DropdownMenuCheckboxItem, $g as DropdownMenuContent, qg as DropdownMenuGroup, e_ as DropdownMenuItem, r_ as DropdownMenuLabel, Jg as DropdownMenuPortal, Xg as DropdownMenuRadioGroup, n_ as DropdownMenuRadioItem, i_ as DropdownMenuSeparator, a_ as DropdownMenuShortcut, Yg as DropdownMenuSub, Qg as DropdownMenuSubContent, Zg as DropdownMenuSubTrigger, Kg as DropdownMenuTrigger, j as IconAccessBilling, M as IconAccessCreditCard, N as IconAccessInvoice, P as IconAccessPayment, F as IconAccessWallet, I as IconActionAccessKey, ee as IconActionAddPlus, te as IconActionArchive, ne as IconActionBookmark, re as IconActionCancelClose, ie as IconActionConfirmCheck, ae as IconActionCopy, oe as IconActionDeleteTrash, se as IconActionDownload, ce as IconActionDuplicate, le as IconActionEditPencil, ue as IconActionFilter, de as IconActionFlag, fe as IconActionLabel, pe as IconActionPaste, me as IconActionRefreshReload, he as IconActionRemoveMinus, ge as IconActionRepoConfiguration, _e as IconActionRepoConfiguration2, ve as IconActionSave, ye as IconActionSearch, be as IconActionSend, xe as IconActionSendMessage, Se as IconActionShare, Ce as IconActionSort, we as IconActionStar, Te as IconActionSync, Ee as IconActionUpload, De as IconActionWriting, Oe as IconAiBot, En as IconAiBot1, Dn as IconAiBot2, On as IconAiBotoff, ke as IconAiBrain, Ae as IconAiCreate, je as IconAiMars, Me as IconAiSparkle, kn as IconAiSparkle2, Ne as IconAiTimeline, Pe as IconAiToken, Fe as IconAiWand, Ie as IconAiWorkflow, An as IconAttachment, ia as IconButton, jn as IconCalendar1, Mn as IconCalendar2, Nn as IconCalendar3, Pn as IconCalendar4, Fn as IconCamera, In as IconCodeFile, Ln as IconCoin, Le as IconCommCalendar, Re as IconCommComment, ze as IconCommEmail, Be as IconCommEvent, Ve as IconCommMention, He as IconCommMessageInbox, Ue as IconCommNotification, We as IconCommReminder, Rn as IconCompare, zn as IconContentAddFolder, Ge as IconContentAttachment, Ke as IconContentChartAnalytics, qe as IconContentDocumentGeneral, Je as IconContentExternalLink, Ye as IconContentFile, Xe as IconContentFolder, Ze as IconContentImage, Qe as IconContentLink, $e as IconContentNotification, et as IconContentPdfFile, tt as IconContentReport, nt as IconContentTable, rt as IconContentVideo, it as IconContentWebpageFile, Bn as IconDashboard, Vn as IconDecision, Hn as IconDocument, Un as IconDrag, Wn as IconEnter, Gn as IconExpandCollapseWithNotification, Kn as IconFilter, qn as IconFilter2, Jn as IconFolderFiles1, Yn as IconFolderFiles2, Xn as IconHighPriority, Zn as IconImage, Qn as IconInformationCycle, $n as IconLineChart, er as IconLlm, tr as IconLowPriority, at as IconMediaFastForward, ot as IconMediaPause, st as IconMediaPlay, ct as IconMediaRecord, lt as IconMediaRewind, ut as IconMediaSpeaker, dt as IconMediaStop, ft as IconMediaVolumeOffMute, pt as IconMediaVolumeUp, nr as IconMediumPriority, rr as IconMoveFile, mt as IconNavAnalytics, ht as IconNavArrowDown, gt as IconNavArrowLeft, _t as IconNavArrowRight, ir as IconNavArrowRightup, vt as IconNavArrowUp, yt as IconNavChevronDown, bt as IconNavChevronLeft, xt as IconNavChevronRight, St as IconNavChevronUp, Ct as IconNavCodeView, wt as IconNavConnectors, Tt as IconNavDashboard, Et as IconNavDatabase, Dt as IconNavDiscover, Ot as IconNavExpandCollapse, kt as IconNavFlowline, At as IconNavFullScreen, jt as IconNavGridView, Mt as IconNavLayer, Nt as IconNavLearn, Pt as IconNavListView, Ft as IconNavMinimiseScreen, It as IconNavMoreKebabHorizontal, Lt as IconNavMoreKebabVertical, Rt as IconNavPen, zt as IconNavPreview, Bt as IconNavProject, Vt as IconNavRecent, Ht as IconNavStructure, Ut as IconNavTemplate, Wt as IconNavWindowCollapse, Gt as IconNavWindowExpand, ar as IconNoPriority, or as IconOrganization, sr as IconPause2, cr as IconProgress, lr as IconRedo, ur as IconReview, Kt as IconStatusActiveInactive, qt as IconStatusCompleted, Jt as IconStatusDisabled, Yt as IconStatusError, Xt as IconStatusFailed, Zt as IconStatusInfoCircle, Qt as IconStatusLoading, $t as IconStatusOnlineOffline, en as IconStatusPending, tn as IconStatusProcessing, nn as IconStatusSuccess, dr as IconSystemCapabilities, rn as IconSystemFaq, an as IconSystemHelp, on as IconSystemHistory, sn as IconSystemLanguageGlobe, cn as IconSystemPreferences, ln as IconSystemSetting, un as IconSystemSourceLibrary, dn as IconSystemSupport, fn as IconSystemToggleOff, pn as IconSystemToggleOn, fr as IconTeam2, pr as IconTick, mr as IconToken1, hr as IconToken2, gr as IconUndo, _r as IconUrgent, mn as IconUserAvatar, hn as IconUserInvite, gn as IconUserLock, _n as IconUserLoginAccount, vn as IconUserLogout, vr as IconUserOrganisation1, yr as IconUserOrganisation2, yn as IconUserProfile, bn as IconUserRoleBadge, xn as IconUserShield, Sn as IconUserTeam, Cn as IconUserUnlock, wn as IconUserUserRemove, Tn as IconUserUseradd, Sr as Input, la as InputField, Cr as Label, gb as NavBreadcrumb, _b as NavBreadcrumbItem, fb as NavigationBar, mb as NavigationBarContent, pb as NavigationBarTitle, ab as Notification, db as NotificationActions, ob as NotificationClose, ub as NotificationDescription, sb as NotificationHeader, lb as NotificationTimestamp, cb as NotificationTitle, O as NovieLogo, A as NovieSymbol, ca as Progress, Ny as ProgressIndicator, Gi as RadioGroup, Ki as RadioGroupItem, ua as SearchInput, zh as Select, Gh as SelectContent, Bh as SelectGroup, qh as SelectItem, Kh as SelectLabel, Wh as SelectScrollDownButton, Uh as SelectScrollUpButton, Jh as SelectSeparator, Hh as SelectTrigger, Vh as SelectValue, qi as Separator, xb as Sidebar, Cb as SidebarContent, Ab as SidebarFooter, wb as SidebarGroup, Tb as SidebarGroupLabel, Sb as SidebarHeader, Eb as SidebarMenu, Ob as SidebarMenuButton, kb as SidebarMenuButtonLabel, Db as SidebarMenuItem, bb as SidebarProvider, jb as SidebarTrigger, Gy as Skeleton, Ay as StateTag, _a as Stepper, ga as StepperItem, kr as Switch, Oa as Table, Aa as TableBody, Fa as TableCaption, Pa as TableCell, ja as TableFooter, Na as TableHead, ka as TableHeader, Ma as TableRow, _y as Tabs, xy as TabsContent, yy as TabsList, by as TabsTrigger, Zi as Tag, Fy as TagBadge, $y as Toast, rb as ToastAction, nb as ToastDescription, eb as ToastHeader, tb as ToastTitle, jl as Tooltip, Nl as TooltipContent, Al as TooltipProvider, Ml as TooltipTrigger, Ky as alertVariants, Qi as avatarVariants, Ji as badgeVariants, br as buttonVariants, wr as checkboxVariants, w as cn, ra as iconButtonVariants, oa as indicatorVariants, T as logoVariants, jy as progressIndicatorVariants, aa as progressTrackVariants, Ui as radioGroupItemVariants, ky as stateTagVariants, Dr as switchVariants, k as symbolVariants, Py as tagBadgeVariants, Xi as tagVariants, Or as thumbVariants, Xy as toastVariants, yb as useSidebar, fa as useStepperContext };
|
|
12540
12572
|
|
|
12541
12573
|
//# sourceMappingURL=index.js.map
|