@gravitee/graphene-core 1.0.2 → 1.1.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/dist/icons/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityIcon, AlertCircleIcon, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, AppWindowIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, BarChart3Icon, BellIcon, BoldIcon, BotIcon, BrainCircuitIcon, CableIcon, CalculatorIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleArrowRightIcon, CircleCheckIcon, CircleHelpIcon, CircleIcon, CircleXIcon, CloudIcon, CloudUploadIcon, CopyIcon, CreditCardIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, FileUpIcon, FilterIcon, FingerprintIcon, FlaskConicalIcon, FolderOpenIcon, GiftIcon, GitBranchIcon, GlobeIcon, HomeIcon, InfoIcon, ItalicIcon, KeyRoundIcon, KeyboardIcon, LayoutGridIcon, ListIcon, Loader2Icon, LockIcon, LogOutIcon, MailIcon, MessageSquareCheckIcon, MessageSquareIcon, MessageSquareWarningIcon, MessageSquareXIcon, MonitorIcon, MoreHorizontalIcon, MoreVerticalIcon, NetworkIcon, OctagonXIcon, PanelLeftIcon, PencilIcon, PlugIcon, PlusIcon, RadioIcon, RocketIcon, ScrollTextIcon, SearchIcon, ServerIcon, SettingsIcon, ShieldCheckIcon, ShieldIcon, ShoppingCartIcon, SlidersHorizontalIcon, SmileIcon, StarIcon, ThumbsDownIcon, ThumbsUpIcon, Trash2Icon, TriangleAlertIcon, UnderlineIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UsersIcon, Wand2Icon, WebhookIcon, WorkflowIcon, XIcon, } from 'lucide-react';
|
|
1
|
+
export { ActivityIcon, AlertCircleIcon, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, AppWindowIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, BarChart2Icon, BarChart3Icon, BellIcon, BoldIcon, BotIcon, BoxesIcon, BrainIcon, BrainCircuitIcon, CableIcon, CalculatorIcon, CalendarIcon, ChartLineIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleArrowRightIcon, CircleCheckIcon, CircleHelpIcon, CircleIcon, CircleXIcon, ClockIcon, CloudIcon, CloudUploadIcon, CopyIcon, CreditCardIcon, DatabaseIcon, DollarSignIcon, DownloadIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, FileUpIcon, FilterIcon, FingerprintIcon, FlaskConicalIcon, FolderOpenIcon, GiftIcon, GitBranchIcon, GlobeIcon, Grid2x2Icon, HomeIcon, InfoIcon, ItalicIcon, KeyIcon, KeyRoundIcon, KeyboardIcon, LayoutDashboardIcon, LayoutGridIcon, ListIcon, Loader2Icon, LockIcon, LogOutIcon, MailIcon, MessageSquareCheckIcon, MessageSquareIcon, MessageSquareWarningIcon, MessageSquareXIcon, MonitorIcon, MoreHorizontalIcon, MoreVerticalIcon, NetworkIcon, OctagonXIcon, PanelLeftIcon, PencilIcon, PlugIcon, PlusIcon, RadioIcon, RefreshCwIcon, RocketIcon, ScrollTextIcon, SearchIcon, ServerIcon, SettingsIcon, ShieldCheckIcon, ShieldIcon, SparklesIcon, ShoppingCartIcon, SlidersHorizontalIcon, SmileIcon, StarIcon, ThumbsDownIcon, ThumbsUpIcon, Trash2Icon, TriangleAlertIcon, UnderlineIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UsersIcon, UsersRoundIcon, Wand2Icon, WaypointsIcon, WebhookIcon, WorkflowIcon, XIcon, ZapIcon, } from 'lucide-react';
|
|
2
2
|
export type { LucideIcon } from 'lucide-react';
|
|
3
3
|
export { ApigeeIcon } from './brand/ApigeeIcon';
|
|
4
4
|
export { AwsIcon } from './brand/AwsIcon';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,WAAW,EACX,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,SAAS,EACT,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,YAAY,EACZ,UAAU,EACV,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,sBAAsB,EACtB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,WAAW,EACX,aAAa,EACb,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACb,SAAS,EACT,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,eAAe,EACf,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,YAAY,EACZ,UAAU,EACV,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,sBAAsB,EACtB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACX,QAAQ,EACR,SAAS,EACT,cAAc,EACd,SAAS,EACT,aAAa,EACb,WAAW,EACX,YAAY,EACZ,KAAK,EACL,OAAO,GACR,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/icons/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, Gt as h, H as g, Ht as _, I as v, It as y, J as b, Jt as x, K as S, Kt as C, L as w, Lt as T, M as E, Mt as D, N as O, Nt as k, O as A, Ot as j, P as M, Pt as N, Q as P, Qt as F, R as I, Rt as L, S as R, St as z, T as B, Tt as V, U as H, Ut as U, V as W, Vt as G, W as K, Wt as q, X as J, Xt as Y, Y as X, Yt as Z, Z as Q, Zt as $, _ as ee, _t as te, a as ne,
|
|
2
|
-
export {
|
|
1
|
+
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, Gt as h, H as g, Ht as _, I as v, It as y, J as b, Jt as x, K as S, Kt as C, L as w, Lt as T, M as E, Mt as D, N as O, Nt as k, O as A, Ot as j, P as M, Pt as N, Q as P, Qt as F, R as I, Rt as L, S as R, St as z, T as B, Tt as V, U as H, Ut as U, V as W, Vt as G, W as K, Wt as q, X as J, Xt as Y, Y as X, Yt as Z, Z as Q, Zt as $, _ as ee, _t as te, a as ne, an as re, at as ie, b as ae, bt as oe, c as se, cn as ce, ct as le, d as ue, dn as de, dt as fe, en as pe, et as me, f as he, fn as ge, ft as _e, g as ve, gt as ye, h as be, ht as xe, i as Se, in as Ce, it as we, j as Te, jt as Ee, k as De, kt as Oe, l as ke, ln as Ae, lt as je, m as Me, mn as Ne, mt as Pe, n as Fe, nn as Ie, nt as Le, o as Re, on as ze, ot as Be, p as Ve, pn as He, pt as Ue, q as We, qt as Ge, r as Ke, rn as qe, rt as Je, s as Ye, sn as Xe, st as Ze, t as Qe, tn as $e, tt as et, u as tt, un as nt, ut as rt, v as it, vt as at, w as ot, wt as st, x as ct, xt as lt, y as ut, yt as dt, z as ft, zt as pt } from "../icons-D3DusWHg.js";
|
|
2
|
+
export { Qe as ActivityIcon, Fe as AlertCircleIcon, Ke as AlignCenterIcon, Se as AlignLeftIcon, ne as AlignRightIcon, Ne as ApigeeIcon, Re as AppWindowIcon, Ye as ArchiveIcon, se as ArrowDownIcon, ke as ArrowLeftIcon, tt as ArrowRightIcon, ue as ArrowUpDownIcon, he as ArrowUpIcon, He as AwsIcon, ge as AzureIcon, Ve as BarChart2Icon, Me as BarChart3Icon, be as BellIcon, de as BitbucketIcon, ve as BoldIcon, ee as BotIcon, it as BoxesIcon, ut as BrainCircuitIcon, ae as BrainIcon, ct as CableIcon, R as CalculatorIcon, o as CalendarIcon, ot as ChartLineIcon, B as CheckIcon, u as ChevronDownIcon, c as ChevronLeftIcon, A as ChevronRightIcon, De as ChevronUpIcon, n as ChevronsUpDownIcon, Te as CircleArrowRightIcon, E as CircleCheckIcon, O as CircleHelpIcon, M as CircleIcon, f as CircleXIcon, v as ClockIcon, w as CloudIcon, I as CloudUploadIcon, ft as CopyIcon, i as CreditCardIcon, W as DatabaseIcon, g as DollarSignIcon, H as DownloadIcon, K as ExternalLinkIcon, m as EyeIcon, S as EyeOffIcon, We as FileTextIcon, b as FileUpIcon, X as FilterIcon, J as FingerprintIcon, Q as FlaskConicalIcon, P as FolderOpenIcon, nt as GcpIcon, e as GiftIcon, me as GitBranchIcon, Ae as GithubIcon, ce as GitlabIcon, et as GlobeIcon, Le as Grid2x2Icon, Je as HomeIcon, we as InfoIcon, ie as ItalicIcon, Xe as KafkaIcon, Be as KeyIcon, Ze as KeyRoundIcon, le as KeyboardIcon, ze as KubernetesIcon, je as LayoutDashboardIcon, rt as LayoutGridIcon, fe as ListIcon, _e as Loader2Icon, Ue as LockIcon, Pe as LogOutIcon, xe as MailIcon, ye as MessageSquareCheckIcon, te as MessageSquareIcon, at as MessageSquareWarningIcon, dt as MessageSquareXIcon, oe as MonitorIcon, lt as MoreHorizontalIcon, z as MoreVerticalIcon, s as NetworkIcon, st as OctagonXIcon, V as PanelLeftIcon, d as PencilIcon, l as PlugIcon, j as PlusIcon, Oe as RadioIcon, r as RefreshCwIcon, Ee as RocketIcon, D as ScrollTextIcon, k as SearchIcon, N as ServerIcon, p as SettingsIcon, y as ShieldCheckIcon, T as ShieldIcon, L as ShoppingCartIcon, pt as SlidersHorizontalIcon, a as SmileIcon, G as SparklesIcon, _ as StarIcon, U as ThumbsDownIcon, q as ThumbsUpIcon, h as Trash2Icon, C as TriangleAlertIcon, Ge as UnderlineIcon, x as UploadIcon, Z as UserCheckIcon, Y as UserCogIcon, $ as UserIcon, F as UsersIcon, t as UsersRoundIcon, pe as Wand2Icon, $e as WaypointsIcon, Ie as WebhookIcon, qe as WorkflowIcon, Ce as XIcon, re as ZapIcon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef as e } from "react";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import { ActivityIcon as r, AlertCircleIcon as ee, AlignCenterIcon as te, AlignLeftIcon as ne, AlignRightIcon as re, AppWindowIcon as ie, ArchiveIcon as ae, ArrowDownIcon as oe, ArrowLeftIcon as se, ArrowRightIcon as ce, ArrowUpDownIcon as le, ArrowUpIcon as ue,
|
|
3
|
+
import { ActivityIcon as r, AlertCircleIcon as ee, AlignCenterIcon as te, AlignLeftIcon as ne, AlignRightIcon as re, AppWindowIcon as ie, ArchiveIcon as ae, ArrowDownIcon as oe, ArrowLeftIcon as se, ArrowRightIcon as ce, ArrowUpDownIcon as le, ArrowUpIcon as ue, BarChart2Icon as i, BarChart3Icon as a, BellIcon as o, BoldIcon as s, BotIcon as c, BoxesIcon as l, BrainCircuitIcon as u, BrainIcon as d, CableIcon as f, CalculatorIcon as p, CalendarIcon as m, ChartLineIcon as h, CheckIcon as g, ChevronDownIcon as _, ChevronLeftIcon as v, ChevronRightIcon as y, ChevronUpIcon as b, ChevronsUpDownIcon as x, CircleArrowRightIcon as S, CircleCheckIcon as C, CircleHelpIcon as w, CircleIcon as T, CircleXIcon as E, ClockIcon as D, CloudIcon as O, CloudUploadIcon as k, CopyIcon as A, CreditCardIcon as j, DatabaseIcon as M, DollarSignIcon as N, DownloadIcon as P, ExternalLinkIcon as F, EyeIcon as I, EyeOffIcon as L, FileTextIcon as R, FileUpIcon as z, FilterIcon as B, FingerprintIcon as V, FlaskConicalIcon as H, FolderOpenIcon as U, GiftIcon as de, GitBranchIcon as fe, GlobeIcon as pe, Grid2x2Icon as me, HomeIcon as he, InfoIcon as ge, ItalicIcon as _e, KeyIcon as ve, KeyRoundIcon as ye, KeyboardIcon as W, LayoutDashboardIcon as be, LayoutGridIcon as xe, ListIcon as Se, Loader2Icon as Ce, LockIcon as we, LogOutIcon as Te, MailIcon as Ee, MessageSquareCheckIcon as De, MessageSquareIcon as Oe, MessageSquareWarningIcon as ke, MessageSquareXIcon as Ae, MonitorIcon as je, MoreHorizontalIcon as Me, MoreVerticalIcon as Ne, NetworkIcon as Pe, OctagonXIcon as Fe, PanelLeftIcon as Ie, PencilIcon as Le, PlugIcon as Re, PlusIcon as ze, RadioIcon as Be, RefreshCwIcon as Ve, RocketIcon as He, ScrollTextIcon as Ue, SearchIcon as We, ServerIcon as Ge, SettingsIcon as Ke, ShieldCheckIcon as qe, ShieldIcon as Je, ShoppingCartIcon as Ye, SlidersHorizontalIcon as Xe, SmileIcon as Ze, SparklesIcon as Qe, StarIcon as $e, ThumbsDownIcon as et, ThumbsUpIcon as tt, Trash2Icon as nt, TriangleAlertIcon as rt, UnderlineIcon as it, UploadIcon as at, UserCheckIcon as ot, UserCogIcon as st, UserIcon as ct, UsersIcon as lt, UsersRoundIcon as ut, Wand2Icon as dt, WaypointsIcon as ft, WebhookIcon as pt, WorkflowIcon as mt, XIcon as ht, ZapIcon as gt } from "lucide-react";
|
|
4
4
|
//#region src/icons/brand/ApigeeIcon.tsx
|
|
5
5
|
var G = e((e, r) => /* @__PURE__ */ n("svg", {
|
|
6
6
|
ref: r,
|
|
@@ -171,4 +171,4 @@ var $ = e((e, n) => /* @__PURE__ */ t("svg", {
|
|
|
171
171
|
}));
|
|
172
172
|
$.displayName = "KubernetesIcon";
|
|
173
173
|
//#endregion
|
|
174
|
-
export { de as $,
|
|
174
|
+
export { de as $, ut as $t, x as A, Ve as At, j as B, Ze as Bt, m as C, Pe as Ct, v as D, Re as Dt, _ as E, Le as Et, E as F, Ke as Ft, I as G, nt as Gt, N as H, $e as Ht, D as I, qe as It, z as J, at as Jt, L as K, rt as Kt, O as L, Je as Lt, C as M, Ue as Mt, w as N, We as Nt, y as O, ze as Ot, T as P, Ge as Pt, U as Q, lt as Qt, k as R, Ye as Rt, p as S, Ne as St, g as T, Ie as Tt, P as U, et as Ut, M as V, Qe as Vt, F as W, tt as Wt, V as X, st as Xt, B as Y, ot as Yt, H as Z, ct as Zt, c as _, Oe as _t, re as a, gt as an, _e as at, d as b, je as bt, oe as c, Z as cn, W as ct, le as d, J as dn, Se as dt, dt as en, fe as et, ue as f, q as fn, Ce as ft, s as g, De as gt, o as h, Ee as ht, ne as i, ht as in, ge as it, S as j, He as jt, b as k, Be as kt, se as l, X as ln, be as lt, a as m, G as mn, Te as mt, ee as n, pt as nn, me as nt, ie as o, $ as on, ve as ot, i as p, K as pn, we as pt, R as q, it as qt, te as r, mt as rn, he as rt, ae as s, Q as sn, ye as st, r as t, ft as tn, pe as tt, ce as u, Y as un, xe as ut, l as v, ke as vt, h as w, Fe as wt, f as x, Me as xt, u as y, Ae as yt, A as z, Xe as zt };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, C as t, D as n, E as r, Kt as i, M as a, Nt as o, O as s, T as c, Tt as l, Y as u, c as d, d as f, f as p, ft as m, in as h, it as g, k as _, tt as v, ut as y, wt as b, xt as x, zt as S } from "./icons-D3DusWHg.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import w, { Fragment as T, createContext as E, useCallback as D, useContext as O, useEffect as k, useId as A, useImperativeHandle as j, useLayoutEffect as M, useMemo as N, useRef as P, useState as F, useSyncExternalStore as I, useSyncExternalStore as ee } from "react";
|
|
4
4
|
import * as te from "react-dom";
|
|
@@ -8038,7 +8038,7 @@ function j_({ className: e, children: t, ...n }) {
|
|
|
8038
8038
|
"data-slot": "accordion-trigger",
|
|
8039
8039
|
className: G("flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", e),
|
|
8040
8040
|
...n,
|
|
8041
|
-
children: [t, /* @__PURE__ */ R(
|
|
8041
|
+
children: [t, /* @__PURE__ */ R(r, {
|
|
8042
8042
|
"aria-hidden": "true",
|
|
8043
8043
|
className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200"
|
|
8044
8044
|
})]
|
|
@@ -8235,7 +8235,7 @@ function ev({ children: e, className: t, ...n }) {
|
|
|
8235
8235
|
"aria-hidden": "true",
|
|
8236
8236
|
className: G("[&>svg]:size-3.5", t),
|
|
8237
8237
|
...n,
|
|
8238
|
-
children: e ?? /* @__PURE__ */ R(
|
|
8238
|
+
children: e ?? /* @__PURE__ */ R(s, { "aria-hidden": "true" })
|
|
8239
8239
|
});
|
|
8240
8240
|
}
|
|
8241
8241
|
function tv({ className: e, ...t }) {
|
|
@@ -8243,7 +8243,7 @@ function tv({ className: e, ...t }) {
|
|
|
8243
8243
|
"data-slot": "breadcrumb-ellipsis",
|
|
8244
8244
|
className: G("flex size-5 items-center justify-center [&>svg]:size-4", e),
|
|
8245
8245
|
...t,
|
|
8246
|
-
children: [/* @__PURE__ */ R(
|
|
8246
|
+
children: [/* @__PURE__ */ R(x, { "aria-hidden": "true" }), /* @__PURE__ */ R("span", {
|
|
8247
8247
|
className: "sr-only",
|
|
8248
8248
|
children: "More"
|
|
8249
8249
|
})]
|
|
@@ -11395,44 +11395,44 @@ function gS(e) {
|
|
|
11395
11395
|
}
|
|
11396
11396
|
//#endregion
|
|
11397
11397
|
//#region src/base/Calendar/Calendar.tsx
|
|
11398
|
-
function _S({ className:
|
|
11399
|
-
let
|
|
11398
|
+
function _S({ className: e, classNames: t, showOutsideDays: i = !0, captionLayout: a = "label", buttonVariant: o = "ghost", locale: c, formatters: l, components: u, ...d }) {
|
|
11399
|
+
let f = $b();
|
|
11400
11400
|
return /* @__PURE__ */ R(gS, {
|
|
11401
|
-
showOutsideDays:
|
|
11402
|
-
className: G("group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:var(--spacing-7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
11403
|
-
captionLayout:
|
|
11404
|
-
locale:
|
|
11401
|
+
showOutsideDays: i,
|
|
11402
|
+
className: G("group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:var(--spacing-7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
|
|
11403
|
+
captionLayout: a,
|
|
11404
|
+
locale: c,
|
|
11405
11405
|
formatters: {
|
|
11406
|
-
formatMonthDropdown: (e) => e.toLocaleString(
|
|
11407
|
-
...
|
|
11406
|
+
formatMonthDropdown: (e) => e.toLocaleString(c?.code, { month: "short" }),
|
|
11407
|
+
...l
|
|
11408
11408
|
},
|
|
11409
11409
|
classNames: {
|
|
11410
|
-
root: G("w-fit",
|
|
11411
|
-
months: G("relative flex flex-col gap-4 md:flex-row",
|
|
11412
|
-
month: G("flex w-full flex-col gap-4",
|
|
11413
|
-
nav: G("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
|
|
11414
|
-
button_previous: G(nv({ variant:
|
|
11415
|
-
button_next: G(nv({ variant:
|
|
11416
|
-
month_caption: G("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",
|
|
11417
|
-
dropdowns: G("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",
|
|
11418
|
-
dropdown_root: G("relative rounded-(--cell-radius)",
|
|
11419
|
-
dropdown: G("absolute inset-0 bg-popover opacity-0",
|
|
11420
|
-
caption_label: G("font-medium select-none",
|
|
11410
|
+
root: G("w-fit", f.root),
|
|
11411
|
+
months: G("relative flex flex-col gap-4 md:flex-row", f.months),
|
|
11412
|
+
month: G("flex w-full flex-col gap-4", f.month),
|
|
11413
|
+
nav: G("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", f.nav),
|
|
11414
|
+
button_previous: G(nv({ variant: o }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", f.button_previous),
|
|
11415
|
+
button_next: G(nv({ variant: o }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", f.button_next),
|
|
11416
|
+
month_caption: G("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", f.month_caption),
|
|
11417
|
+
dropdowns: G("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", f.dropdowns),
|
|
11418
|
+
dropdown_root: G("relative rounded-(--cell-radius)", f.dropdown_root),
|
|
11419
|
+
dropdown: G("absolute inset-0 bg-popover opacity-0", f.dropdown),
|
|
11420
|
+
caption_label: G("font-medium select-none", a === "label" ? "text-sm" : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", f.caption_label),
|
|
11421
11421
|
table: "w-full border-collapse",
|
|
11422
|
-
weekdays: G("flex",
|
|
11423
|
-
weekday: G("flex-1 rounded-(--cell-radius) text-xs font-normal text-muted-foreground select-none",
|
|
11424
|
-
week: G("mt-2 flex w-full",
|
|
11425
|
-
week_number_header: G("w-(--cell-size) select-none",
|
|
11426
|
-
week_number: G("text-xs text-muted-foreground select-none",
|
|
11427
|
-
day: G("group/day relative aspect-square size-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)",
|
|
11428
|
-
range_start: G("relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted",
|
|
11429
|
-
range_middle: G("rounded-none",
|
|
11430
|
-
range_end: G("relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted",
|
|
11431
|
-
today: G("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none",
|
|
11432
|
-
outside: G("text-muted-foreground aria-selected:text-muted-foreground",
|
|
11433
|
-
disabled: G("text-muted-foreground opacity-50",
|
|
11434
|
-
hidden: G("invisible",
|
|
11435
|
-
...
|
|
11422
|
+
weekdays: G("flex", f.weekdays),
|
|
11423
|
+
weekday: G("flex-1 rounded-(--cell-radius) text-xs font-normal text-muted-foreground select-none", f.weekday),
|
|
11424
|
+
week: G("mt-2 flex w-full", f.week),
|
|
11425
|
+
week_number_header: G("w-(--cell-size) select-none", f.week_number_header),
|
|
11426
|
+
week_number: G("text-xs text-muted-foreground select-none", f.week_number),
|
|
11427
|
+
day: G("group/day relative aspect-square size-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)", d.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)", f.day),
|
|
11428
|
+
range_start: G("relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted", f.range_start),
|
|
11429
|
+
range_middle: G("rounded-none", f.range_middle),
|
|
11430
|
+
range_end: G("relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted", f.range_end),
|
|
11431
|
+
today: G("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none", f.today),
|
|
11432
|
+
outside: G("text-muted-foreground aria-selected:text-muted-foreground", f.outside),
|
|
11433
|
+
disabled: G("text-muted-foreground opacity-50", f.disabled),
|
|
11434
|
+
hidden: G("invisible", f.hidden),
|
|
11435
|
+
...t
|
|
11436
11436
|
},
|
|
11437
11437
|
components: {
|
|
11438
11438
|
Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ R("div", {
|
|
@@ -11441,10 +11441,10 @@ function _S({ className: t, classNames: n, showOutsideDays: r = !0, captionLayou
|
|
|
11441
11441
|
className: G(e),
|
|
11442
11442
|
...n
|
|
11443
11443
|
}),
|
|
11444
|
-
Chevron: ({ className:
|
|
11444
|
+
Chevron: ({ className: e, orientation: t, ...i }) => R(t === "left" ? n : t === "right" ? s : r, {
|
|
11445
11445
|
"aria-hidden": "true",
|
|
11446
|
-
className: G("size-4",
|
|
11447
|
-
...
|
|
11446
|
+
className: G("size-4", e),
|
|
11447
|
+
...i
|
|
11448
11448
|
}),
|
|
11449
11449
|
DayButton: (e) => /* @__PURE__ */ R(vS, { ...e }),
|
|
11450
11450
|
WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ R("td", {
|
|
@@ -11454,9 +11454,9 @@ function _S({ className: t, classNames: n, showOutsideDays: r = !0, captionLayou
|
|
|
11454
11454
|
children: e
|
|
11455
11455
|
})
|
|
11456
11456
|
}),
|
|
11457
|
-
...
|
|
11457
|
+
...u
|
|
11458
11458
|
},
|
|
11459
|
-
...
|
|
11459
|
+
...d
|
|
11460
11460
|
});
|
|
11461
11461
|
}
|
|
11462
11462
|
function vS({ className: e, modifiers: t, ...n }) {
|
|
@@ -11537,7 +11537,7 @@ function ES({ className: e, ...t }) {
|
|
|
11537
11537
|
children: /* @__PURE__ */ R(So, {
|
|
11538
11538
|
"data-slot": "checkbox-indicator",
|
|
11539
11539
|
className: "grid place-content-center text-current transition-none",
|
|
11540
|
-
children: /* @__PURE__ */ R(
|
|
11540
|
+
children: /* @__PURE__ */ R(c, {
|
|
11541
11541
|
"aria-hidden": "true",
|
|
11542
11542
|
className: "size-3.5"
|
|
11543
11543
|
})
|
|
@@ -12158,7 +12158,7 @@ function VC({ className: e, children: t, showCloseButton: n = !0, ...r }) {
|
|
|
12158
12158
|
variant: "ghost",
|
|
12159
12159
|
className: "absolute top-2 right-2",
|
|
12160
12160
|
size: "icon-sm",
|
|
12161
|
-
children: [/* @__PURE__ */ R(
|
|
12161
|
+
children: [/* @__PURE__ */ R(h, { "aria-hidden": "true" }), /* @__PURE__ */ R("span", {
|
|
12162
12162
|
className: "sr-only",
|
|
12163
12163
|
children: "Close"
|
|
12164
12164
|
})]
|
|
@@ -12312,7 +12312,7 @@ function rw({ title: e = "Command Palette", description: t = "Search for a comma
|
|
|
12312
12312
|
})]
|
|
12313
12313
|
});
|
|
12314
12314
|
}
|
|
12315
|
-
function iw({ className: e, ...
|
|
12315
|
+
function iw({ className: e, ...t }) {
|
|
12316
12316
|
return /* @__PURE__ */ R("div", {
|
|
12317
12317
|
"data-slot": "command-input-wrapper",
|
|
12318
12318
|
className: "p-1 pb-0",
|
|
@@ -12321,8 +12321,8 @@ function iw({ className: e, ...n }) {
|
|
|
12321
12321
|
children: [/* @__PURE__ */ R(wC.Input, {
|
|
12322
12322
|
"data-slot": "command-input",
|
|
12323
12323
|
className: G("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
|
|
12324
|
-
...
|
|
12325
|
-
}), /* @__PURE__ */ R(XC, { children: /* @__PURE__ */ R(
|
|
12324
|
+
...t
|
|
12325
|
+
}), /* @__PURE__ */ R(XC, { children: /* @__PURE__ */ R(o, {
|
|
12326
12326
|
"aria-hidden": "true",
|
|
12327
12327
|
className: "size-4 shrink-0 opacity-50"
|
|
12328
12328
|
}) })]
|
|
@@ -12363,7 +12363,7 @@ function lw({ className: e, children: t, ...n }) {
|
|
|
12363
12363
|
"data-slot": "command-item",
|
|
12364
12364
|
className: G("group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-selected:bg-muted data-selected:text-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground", e),
|
|
12365
12365
|
...n,
|
|
12366
|
-
children: [t, /* @__PURE__ */ R(
|
|
12366
|
+
children: [t, /* @__PURE__ */ R(c, {
|
|
12367
12367
|
"aria-hidden": "true",
|
|
12368
12368
|
className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"
|
|
12369
12369
|
})]
|
|
@@ -13408,7 +13408,7 @@ function MT({ className: e, children: t, checked: n, inset: r, ...i }) {
|
|
|
13408
13408
|
children: [/* @__PURE__ */ R("span", {
|
|
13409
13409
|
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
13410
13410
|
"data-slot": "dropdown-menu-checkbox-item-indicator",
|
|
13411
|
-
children: /* @__PURE__ */ R(sf, { children: /* @__PURE__ */ R(
|
|
13411
|
+
children: /* @__PURE__ */ R(sf, { children: /* @__PURE__ */ R(c, { "aria-hidden": "true" }) })
|
|
13412
13412
|
}), t]
|
|
13413
13413
|
});
|
|
13414
13414
|
}
|
|
@@ -13427,7 +13427,7 @@ function PT({ className: e, children: t, inset: n, ...r }) {
|
|
|
13427
13427
|
children: [/* @__PURE__ */ R("span", {
|
|
13428
13428
|
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
13429
13429
|
"data-slot": "dropdown-menu-radio-item-indicator",
|
|
13430
|
-
children: /* @__PURE__ */ R(sf, { children: /* @__PURE__ */ R(
|
|
13430
|
+
children: /* @__PURE__ */ R(sf, { children: /* @__PURE__ */ R(c, { "aria-hidden": "true" }) })
|
|
13431
13431
|
}), t]
|
|
13432
13432
|
});
|
|
13433
13433
|
}
|
|
@@ -13465,7 +13465,7 @@ function zT({ className: e, inset: t, children: n, ...r }) {
|
|
|
13465
13465
|
"data-inset": t,
|
|
13466
13466
|
className: G("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
13467
13467
|
...r,
|
|
13468
|
-
children: [n, /* @__PURE__ */ R(
|
|
13468
|
+
children: [n, /* @__PURE__ */ R(s, {
|
|
13469
13469
|
"aria-hidden": "true",
|
|
13470
13470
|
className: "ml-auto"
|
|
13471
13471
|
})]
|
|
@@ -13846,18 +13846,18 @@ function kE({ className: e, isActive: t, size: n = "icon", children: r, ...i })
|
|
|
13846
13846
|
})
|
|
13847
13847
|
});
|
|
13848
13848
|
}
|
|
13849
|
-
function AE({ className:
|
|
13849
|
+
function AE({ className: e, text: t = "Previous", ...r }) {
|
|
13850
13850
|
return /* @__PURE__ */ z(kE, {
|
|
13851
13851
|
"aria-label": "Go to previous page",
|
|
13852
13852
|
size: "default",
|
|
13853
|
-
className: G("pl-1.5!",
|
|
13853
|
+
className: G("pl-1.5!", e),
|
|
13854
13854
|
...r,
|
|
13855
|
-
children: [/* @__PURE__ */ R(
|
|
13855
|
+
children: [/* @__PURE__ */ R(n, {
|
|
13856
13856
|
"aria-hidden": "true",
|
|
13857
13857
|
"data-icon": "inline-start"
|
|
13858
13858
|
}), /* @__PURE__ */ R("span", {
|
|
13859
13859
|
className: "hidden sm:block",
|
|
13860
|
-
children:
|
|
13860
|
+
children: t
|
|
13861
13861
|
})]
|
|
13862
13862
|
});
|
|
13863
13863
|
}
|
|
@@ -13870,7 +13870,7 @@ function jE({ className: e, text: t = "Next", ...n }) {
|
|
|
13870
13870
|
children: [/* @__PURE__ */ R("span", {
|
|
13871
13871
|
className: "hidden sm:block",
|
|
13872
13872
|
children: t
|
|
13873
|
-
}), /* @__PURE__ */ R(
|
|
13873
|
+
}), /* @__PURE__ */ R(s, {
|
|
13874
13874
|
"aria-hidden": "true",
|
|
13875
13875
|
"data-icon": "inline-end"
|
|
13876
13876
|
})]
|
|
@@ -13881,7 +13881,7 @@ function ME({ className: e, ...t }) {
|
|
|
13881
13881
|
"data-slot": "pagination-ellipsis",
|
|
13882
13882
|
className: G("flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4", e),
|
|
13883
13883
|
...t,
|
|
13884
|
-
children: [/* @__PURE__ */ R(
|
|
13884
|
+
children: [/* @__PURE__ */ R(x, { "aria-hidden": "true" }), /* @__PURE__ */ R("span", {
|
|
13885
13885
|
className: "sr-only",
|
|
13886
13886
|
children: "More pages"
|
|
13887
13887
|
})]
|
|
@@ -15548,15 +15548,15 @@ function HO({ ...e }) {
|
|
|
15548
15548
|
...e
|
|
15549
15549
|
});
|
|
15550
15550
|
}
|
|
15551
|
-
function UO({ className: e, size: t = "default", children: n, ...
|
|
15551
|
+
function UO({ className: e, size: t = "default", children: n, ...i }) {
|
|
15552
15552
|
return /* @__PURE__ */ z(Wh, {
|
|
15553
15553
|
"data-slot": "select-trigger",
|
|
15554
15554
|
"data-size": t,
|
|
15555
15555
|
className: G("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
15556
|
-
...
|
|
15556
|
+
...i,
|
|
15557
15557
|
children: [n, /* @__PURE__ */ R(Kh, {
|
|
15558
15558
|
asChild: !0,
|
|
15559
|
-
children: /* @__PURE__ */ R(
|
|
15559
|
+
children: /* @__PURE__ */ R(r, {
|
|
15560
15560
|
"aria-hidden": "true",
|
|
15561
15561
|
className: "pointer-events-none size-4 text-muted-foreground"
|
|
15562
15562
|
})
|
|
@@ -15596,7 +15596,7 @@ function KO({ className: e, children: t, ...n }) {
|
|
|
15596
15596
|
...n,
|
|
15597
15597
|
children: [/* @__PURE__ */ R("span", {
|
|
15598
15598
|
className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center",
|
|
15599
|
-
children: /* @__PURE__ */ R(eg, { children: /* @__PURE__ */ R(
|
|
15599
|
+
children: /* @__PURE__ */ R(eg, { children: /* @__PURE__ */ R(c, {
|
|
15600
15600
|
"aria-hidden": "true",
|
|
15601
15601
|
className: "pointer-events-none"
|
|
15602
15602
|
}) })
|
|
@@ -15615,7 +15615,7 @@ function JO({ className: e, ...t }) {
|
|
|
15615
15615
|
"data-slot": "select-scroll-up-button",
|
|
15616
15616
|
className: G("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
15617
15617
|
...t,
|
|
15618
|
-
children: /* @__PURE__ */ R(
|
|
15618
|
+
children: /* @__PURE__ */ R(_, { "aria-hidden": "true" })
|
|
15619
15619
|
});
|
|
15620
15620
|
}
|
|
15621
15621
|
function YO({ className: e, ...t }) {
|
|
@@ -15623,7 +15623,7 @@ function YO({ className: e, ...t }) {
|
|
|
15623
15623
|
"data-slot": "select-scroll-down-button",
|
|
15624
15624
|
className: G("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
15625
15625
|
...t,
|
|
15626
|
-
children: /* @__PURE__ */ R(
|
|
15626
|
+
children: /* @__PURE__ */ R(r, { "aria-hidden": "true" })
|
|
15627
15627
|
});
|
|
15628
15628
|
}
|
|
15629
15629
|
//#endregion
|
|
@@ -15659,12 +15659,12 @@ function ek({ className: e, ...t }) {
|
|
|
15659
15659
|
...t
|
|
15660
15660
|
});
|
|
15661
15661
|
}
|
|
15662
|
-
function tk({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...
|
|
15662
|
+
function tk({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
|
|
15663
15663
|
return /* @__PURE__ */ z($O, { children: [/* @__PURE__ */ R(ek, {}), /* @__PURE__ */ z(Ha, {
|
|
15664
15664
|
"data-slot": "sheet-content",
|
|
15665
15665
|
"data-side": n,
|
|
15666
15666
|
className: G("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10 data-top:inset-x-0 data-top:top-0 data-top:h-auto data-top:border-b data-bottom:inset-x-0 data-bottom:bottom-0 data-bottom:h-auto data-bottom:border-t data-left:inset-y-0 data-left:left-0 data-left:h-full data-left:w-3/4 data-left:border-r data-left:sm:max-w-sm data-right:inset-y-0 data-right:right-0 data-right:h-full data-right:w-3/4 data-right:border-l data-right:sm:max-w-sm", e),
|
|
15667
|
-
...
|
|
15667
|
+
...i,
|
|
15668
15668
|
children: [t, r && /* @__PURE__ */ R(Ga, {
|
|
15669
15669
|
"data-slot": "sheet-close",
|
|
15670
15670
|
asChild: !0,
|
|
@@ -15672,7 +15672,7 @@ function tk({ className: e, children: t, side: n = "right", showCloseButton: r =
|
|
|
15672
15672
|
variant: "ghost",
|
|
15673
15673
|
className: "absolute top-3 right-3",
|
|
15674
15674
|
size: "icon-sm",
|
|
15675
|
-
children: [/* @__PURE__ */ R(
|
|
15675
|
+
children: [/* @__PURE__ */ R(h, { "aria-hidden": "true" }), /* @__PURE__ */ R("span", {
|
|
15676
15676
|
className: "sr-only",
|
|
15677
15677
|
children: "Close"
|
|
15678
15678
|
})]
|
|
@@ -15880,7 +15880,7 @@ function Ck({ className: e, onClick: t, ...n }) {
|
|
|
15880
15880
|
t?.(e), r();
|
|
15881
15881
|
},
|
|
15882
15882
|
...n,
|
|
15883
|
-
children: [/* @__PURE__ */ R(
|
|
15883
|
+
children: [/* @__PURE__ */ R(l, { "aria-hidden": "true" }), /* @__PURE__ */ R("span", {
|
|
15884
15884
|
className: "sr-only",
|
|
15885
15885
|
children: "Toggle Sidebar"
|
|
15886
15886
|
})]
|
|
@@ -16709,19 +16709,19 @@ var bA = /* @__PURE__ */ w.forwardRef(function(e, t) {
|
|
|
16709
16709
|
"aria-hidden": "true",
|
|
16710
16710
|
className: "size-4"
|
|
16711
16711
|
}),
|
|
16712
|
-
info: /* @__PURE__ */ R(
|
|
16712
|
+
info: /* @__PURE__ */ R(g, {
|
|
16713
16713
|
"aria-hidden": "true",
|
|
16714
16714
|
className: "size-4"
|
|
16715
16715
|
}),
|
|
16716
|
-
warning: /* @__PURE__ */ R(
|
|
16716
|
+
warning: /* @__PURE__ */ R(i, {
|
|
16717
16717
|
"aria-hidden": "true",
|
|
16718
16718
|
className: "size-4"
|
|
16719
16719
|
}),
|
|
16720
|
-
error: /* @__PURE__ */ R(
|
|
16720
|
+
error: /* @__PURE__ */ R(b, {
|
|
16721
16721
|
"aria-hidden": "true",
|
|
16722
16722
|
className: "size-4"
|
|
16723
16723
|
}),
|
|
16724
|
-
loading: /* @__PURE__ */ R(
|
|
16724
|
+
loading: /* @__PURE__ */ R(m, {
|
|
16725
16725
|
"aria-hidden": "true",
|
|
16726
16726
|
className: "size-4 animate-spin"
|
|
16727
16727
|
})
|
|
@@ -16737,7 +16737,7 @@ var bA = /* @__PURE__ */ w.forwardRef(function(e, t) {
|
|
|
16737
16737
|
//#endregion
|
|
16738
16738
|
//#region src/base/Spinner/Spinner.tsx
|
|
16739
16739
|
function SA({ className: e, ...t }) {
|
|
16740
|
-
return /* @__PURE__ */ R(
|
|
16740
|
+
return /* @__PURE__ */ R(m, {
|
|
16741
16741
|
role: "status",
|
|
16742
16742
|
"aria-label": "Loading",
|
|
16743
16743
|
className: G("size-4 animate-spin", e),
|
|
@@ -16952,7 +16952,7 @@ function WA({ className: e }) {
|
|
|
16952
16952
|
size: "icon",
|
|
16953
16953
|
className: G("size-8 text-sidebar-foreground/70", e),
|
|
16954
16954
|
"aria-label": "Sidebar display mode",
|
|
16955
|
-
children: /* @__PURE__ */ R(
|
|
16955
|
+
children: /* @__PURE__ */ R(l, {
|
|
16956
16956
|
"aria-hidden": "true",
|
|
16957
16957
|
className: "size-4"
|
|
16958
16958
|
})
|
|
@@ -17131,7 +17131,7 @@ function nj({ app: e, isActive: t, onSelect: n }) {
|
|
|
17131
17131
|
}),
|
|
17132
17132
|
/* @__PURE__ */ R(xE, {
|
|
17133
17133
|
className: "shrink-0",
|
|
17134
|
-
children: /* @__PURE__ */ R(
|
|
17134
|
+
children: /* @__PURE__ */ R(c, {
|
|
17135
17135
|
className: G("size-4 text-primary", !t && "invisible"),
|
|
17136
17136
|
"aria-hidden": !0
|
|
17137
17137
|
})
|
|
@@ -17160,7 +17160,7 @@ function rj({ apps: e, activeKey: t, onChange: n, onOpenChange: r, className: i
|
|
|
17160
17160
|
size: "icon",
|
|
17161
17161
|
className: G("size-8 shrink-0", i),
|
|
17162
17162
|
"aria-label": "Switch application",
|
|
17163
|
-
children: /* @__PURE__ */ R(
|
|
17163
|
+
children: /* @__PURE__ */ R(y, { className: "size-4" })
|
|
17164
17164
|
})
|
|
17165
17165
|
}), /* @__PURE__ */ R(FE, {
|
|
17166
17166
|
side: s ? "bottom" : "right",
|
|
@@ -17185,14 +17185,14 @@ function rj({ apps: e, activeKey: t, onChange: n, onOpenChange: r, className: i
|
|
|
17185
17185
|
rj.displayName = "AppSwitcher";
|
|
17186
17186
|
//#endregion
|
|
17187
17187
|
//#region src/composed/SelectorDropdown/SelectorDropdown.tsx
|
|
17188
|
-
function ij({ options: e, activeKey: t, onChange: n, onOpenChange: r, align: i = "start", side: a = "bottom", className: o, children: s, renderTrigger:
|
|
17189
|
-
let
|
|
17188
|
+
function ij({ options: e, activeKey: t, onChange: n, onOpenChange: r, align: i = "start", side: a = "bottom", className: o, children: s, renderTrigger: l }) {
|
|
17189
|
+
let u = e.find((e) => e.key === t);
|
|
17190
17190
|
return /* @__PURE__ */ z(ET, {
|
|
17191
17191
|
onOpenChange: r,
|
|
17192
17192
|
children: [/* @__PURE__ */ R(OT, {
|
|
17193
17193
|
asChild: !0,
|
|
17194
|
-
children:
|
|
17195
|
-
activeOption:
|
|
17194
|
+
children: l ? l({
|
|
17195
|
+
activeOption: u,
|
|
17196
17196
|
activeKey: t
|
|
17197
17197
|
}) : s
|
|
17198
17198
|
}), /* @__PURE__ */ R(kT, {
|
|
@@ -17208,7 +17208,7 @@ function ij({ options: e, activeKey: t, onChange: n, onOpenChange: r, align: i =
|
|
|
17208
17208
|
className: "flex-1",
|
|
17209
17209
|
children: e.label
|
|
17210
17210
|
}),
|
|
17211
|
-
e.key === t && /* @__PURE__ */ R(
|
|
17211
|
+
e.key === t && /* @__PURE__ */ R(c, { className: "size-4 text-primary" })
|
|
17212
17212
|
]
|
|
17213
17213
|
}, e.key))
|
|
17214
17214
|
})]
|
|
@@ -17217,16 +17217,16 @@ function ij({ options: e, activeKey: t, onChange: n, onOpenChange: r, align: i =
|
|
|
17217
17217
|
ij.displayName = "SelectorDropdown";
|
|
17218
17218
|
//#endregion
|
|
17219
17219
|
//#region src/composed/SelectorDropdown/SelectorTriggerButton.tsx
|
|
17220
|
-
function aj({ activeOption:
|
|
17220
|
+
function aj({ activeOption: t, emptyLabel: n = "Select...", className: r, ...i }) {
|
|
17221
17221
|
return /* @__PURE__ */ z(rv, {
|
|
17222
17222
|
variant: "ghost",
|
|
17223
17223
|
size: "sm",
|
|
17224
17224
|
className: G("gap-1.5 px-2 font-medium", r),
|
|
17225
17225
|
...i,
|
|
17226
17226
|
children: [
|
|
17227
|
-
|
|
17228
|
-
/* @__PURE__ */ R("span", { children:
|
|
17229
|
-
/* @__PURE__ */ R(
|
|
17227
|
+
t?.icon,
|
|
17228
|
+
/* @__PURE__ */ R("span", { children: t?.label ?? n }),
|
|
17229
|
+
/* @__PURE__ */ R(e, { className: "ml-auto size-4 shrink-0 opacity-60" })
|
|
17230
17230
|
]
|
|
17231
17231
|
});
|
|
17232
17232
|
}
|
|
@@ -17260,46 +17260,46 @@ function oj(e, { mode: t, setOpen: n }) {
|
|
|
17260
17260
|
}
|
|
17261
17261
|
//#endregion
|
|
17262
17262
|
//#region src/composed/AppSidebar/AppSidebar.tsx
|
|
17263
|
-
function sj({ environments:
|
|
17263
|
+
function sj({ environments: t, activeKey: n, onEnvironmentChange: r, onOpenChange: i }) {
|
|
17264
17264
|
return /* @__PURE__ */ R(ij, {
|
|
17265
|
-
options:
|
|
17266
|
-
activeKey:
|
|
17265
|
+
options: t,
|
|
17266
|
+
activeKey: n,
|
|
17267
17267
|
onChange: r,
|
|
17268
17268
|
onOpenChange: i,
|
|
17269
17269
|
side: "bottom",
|
|
17270
17270
|
align: "start",
|
|
17271
|
-
renderTrigger: ({ activeOption:
|
|
17271
|
+
renderTrigger: ({ activeOption: t }) => /* @__PURE__ */ z(Rk, {
|
|
17272
17272
|
size: "lg",
|
|
17273
17273
|
className: "data-open:bg-sidebar-accent data-open:text-sidebar-accent-foreground",
|
|
17274
17274
|
children: [
|
|
17275
17275
|
/* @__PURE__ */ R("div", {
|
|
17276
17276
|
className: "flex size-8 shrink-0 items-center justify-center rounded-md bg-primary text-primary-foreground [&_svg]:size-4",
|
|
17277
|
-
children:
|
|
17277
|
+
children: t?.icon ?? /* @__PURE__ */ R(v, { className: "size-4" })
|
|
17278
17278
|
}),
|
|
17279
17279
|
/* @__PURE__ */ z("div", {
|
|
17280
17280
|
className: "grid min-w-0 flex-1 text-left text-sm/tight",
|
|
17281
17281
|
children: [/* @__PURE__ */ R("span", {
|
|
17282
17282
|
className: "truncate font-semibold",
|
|
17283
|
-
children:
|
|
17283
|
+
children: t?.label ?? "Select"
|
|
17284
17284
|
}), /* @__PURE__ */ R("span", {
|
|
17285
17285
|
className: "truncate text-xs text-sidebar-foreground/70",
|
|
17286
17286
|
children: "Environment"
|
|
17287
17287
|
})]
|
|
17288
17288
|
}),
|
|
17289
|
-
/* @__PURE__ */ R(
|
|
17289
|
+
/* @__PURE__ */ R(e, { className: "ml-auto size-4 shrink-0 opacity-60" })
|
|
17290
17290
|
]
|
|
17291
17291
|
})
|
|
17292
17292
|
});
|
|
17293
17293
|
}
|
|
17294
17294
|
function cj({ className: e, apps: t, activeAppKey: n, onAppChange: r, environments: i, activeEnvironmentKey: a, onEnvironmentChange: o, renderNavigation: s }) {
|
|
17295
|
-
let { setOpen: c } = bk(),
|
|
17296
|
-
mode:
|
|
17295
|
+
let { setOpen: c } = bk(), l = i && i.length > 0, u = t?.find((e) => e.key === n), d = a ?? i?.[0]?.key ?? "", f = i?.find((e) => e.key === d), { mode: p } = zA(), m = P(null), { popoverOpened: h, popoverClosed: g, handleMouseEnter: _, handleMouseLeave: y } = oj(m, {
|
|
17296
|
+
mode: p,
|
|
17297
17297
|
setOpen: c
|
|
17298
|
-
}), b = D((e) => e ?
|
|
17298
|
+
}), b = D((e) => e ? h() : g(), [h, g]);
|
|
17299
17299
|
return /* @__PURE__ */ R("div", {
|
|
17300
17300
|
className: e,
|
|
17301
|
-
ref:
|
|
17302
|
-
onMouseEnter:
|
|
17301
|
+
ref: m,
|
|
17302
|
+
onMouseEnter: _,
|
|
17303
17303
|
onMouseLeave: y,
|
|
17304
17304
|
children: /* @__PURE__ */ R(sk, {
|
|
17305
17305
|
delayDuration: 0,
|
|
@@ -17331,21 +17331,21 @@ function cj({ className: e, apps: t, activeAppKey: n, onAppChange: r, environmen
|
|
|
17331
17331
|
}),
|
|
17332
17332
|
/* @__PURE__ */ z("div", {
|
|
17333
17333
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
17334
|
-
children: [
|
|
17334
|
+
children: [u?.icon ? /* @__PURE__ */ R("div", {
|
|
17335
17335
|
className: "shrink-0 [&_svg]:size-4",
|
|
17336
|
-
children:
|
|
17336
|
+
children: u.icon
|
|
17337
17337
|
}) : null, /* @__PURE__ */ R("span", {
|
|
17338
17338
|
className: "min-w-0 truncate text-sm font-semibold",
|
|
17339
|
-
children:
|
|
17339
|
+
children: u?.label ?? "Gravitee"
|
|
17340
17340
|
})]
|
|
17341
17341
|
})
|
|
17342
17342
|
]
|
|
17343
17343
|
}),
|
|
17344
|
-
|
|
17344
|
+
l && /* @__PURE__ */ R("div", {
|
|
17345
17345
|
className: "px-2 pb-2 group-data-[collapsible=icon]:hidden",
|
|
17346
17346
|
children: /* @__PURE__ */ R(Fk, { children: /* @__PURE__ */ R(Ik, { children: /* @__PURE__ */ R(sj, {
|
|
17347
17347
|
environments: i,
|
|
17348
|
-
activeKey:
|
|
17348
|
+
activeKey: d,
|
|
17349
17349
|
onEnvironmentChange: o,
|
|
17350
17350
|
onOpenChange: b
|
|
17351
17351
|
}) }) })
|
|
@@ -17379,11 +17379,11 @@ function cj({ className: e, apps: t, activeAppKey: n, onAppChange: r, environmen
|
|
|
17379
17379
|
})
|
|
17380
17380
|
}), /* @__PURE__ */ R(uk, {
|
|
17381
17381
|
side: "right",
|
|
17382
|
-
children:
|
|
17382
|
+
children: u?.label ?? "Switch application"
|
|
17383
17383
|
})] }),
|
|
17384
|
-
|
|
17384
|
+
l && /* @__PURE__ */ z(ck, { children: [/* @__PURE__ */ R(ij, {
|
|
17385
17385
|
options: i,
|
|
17386
|
-
activeKey:
|
|
17386
|
+
activeKey: d,
|
|
17387
17387
|
onChange: o,
|
|
17388
17388
|
onOpenChange: b,
|
|
17389
17389
|
side: "right",
|
|
@@ -17392,17 +17392,17 @@ function cj({ className: e, apps: t, activeAppKey: n, onAppChange: r, environmen
|
|
|
17392
17392
|
asChild: !0,
|
|
17393
17393
|
children: /* @__PURE__ */ R("button", {
|
|
17394
17394
|
type: "button",
|
|
17395
|
-
"aria-label":
|
|
17395
|
+
"aria-label": f?.label ?? "Environment",
|
|
17396
17396
|
className: "flex size-8 items-center justify-center rounded-md text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
17397
17397
|
children: /* @__PURE__ */ R("div", {
|
|
17398
17398
|
className: "flex size-6 items-center justify-center rounded-sm bg-primary text-primary-foreground [&_svg]:size-3.5",
|
|
17399
|
-
children: e?.icon ?? /* @__PURE__ */ R(
|
|
17399
|
+
children: e?.icon ?? /* @__PURE__ */ R(v, { className: "size-3.5" })
|
|
17400
17400
|
})
|
|
17401
17401
|
})
|
|
17402
17402
|
})
|
|
17403
17403
|
}), /* @__PURE__ */ R(uk, {
|
|
17404
17404
|
side: "right",
|
|
17405
|
-
children:
|
|
17405
|
+
children: f?.label ?? "Environment"
|
|
17406
17406
|
})] })
|
|
17407
17407
|
]
|
|
17408
17408
|
})
|
|
@@ -17467,14 +17467,14 @@ function dj({ expanded: e, onToggle: t, className: n }) {
|
|
|
17467
17467
|
className: G("size-7", n),
|
|
17468
17468
|
onClick: t,
|
|
17469
17469
|
"aria-label": "Toggle context sidebar",
|
|
17470
|
-
children: /* @__PURE__ */ R(
|
|
17470
|
+
children: /* @__PURE__ */ R(l, { className: e ? "size-4" : "size-4 opacity-50" })
|
|
17471
17471
|
});
|
|
17472
17472
|
}
|
|
17473
17473
|
dj.displayName = "ContextToggleButton";
|
|
17474
17474
|
//#endregion
|
|
17475
17475
|
//#region src/composed/Combobox/Combobox.tsx
|
|
17476
|
-
function fj({ options:
|
|
17477
|
-
let [d, f] = F(!1), p =
|
|
17476
|
+
function fj({ options: t, value: n, onValueChange: r, placeholder: i = "Select...", searchPlaceholder: a = "Search...", emptyMessage: o = "No results found.", className: s, disabled: c, "aria-label": l, "aria-labelledby": u }) {
|
|
17477
|
+
let [d, f] = F(!1), p = t.find((e) => e.value === n)?.label;
|
|
17478
17478
|
return /* @__PURE__ */ z(NE, {
|
|
17479
17479
|
open: d,
|
|
17480
17480
|
onOpenChange: f,
|
|
@@ -17488,17 +17488,17 @@ function fj({ options: e, value: t, onValueChange: r, placeholder: i = "Select..
|
|
|
17488
17488
|
"aria-labelledby": u,
|
|
17489
17489
|
disabled: c,
|
|
17490
17490
|
className: G("w-full justify-between font-normal", !p && "text-muted-foreground", s),
|
|
17491
|
-
children: [p ?? i, /* @__PURE__ */ R(
|
|
17491
|
+
children: [p ?? i, /* @__PURE__ */ R(e, { className: "size-4 shrink-0 opacity-50" })]
|
|
17492
17492
|
})
|
|
17493
17493
|
}), /* @__PURE__ */ R(FE, {
|
|
17494
17494
|
className: "w-(--radix-popover-trigger-width) p-0",
|
|
17495
17495
|
align: "start",
|
|
17496
|
-
children: /* @__PURE__ */ z(nw, { children: [/* @__PURE__ */ R(iw, { placeholder: a }), /* @__PURE__ */ z(aw, { children: [/* @__PURE__ */ R(ow, { children: o }), /* @__PURE__ */ R(sw, { children:
|
|
17496
|
+
children: /* @__PURE__ */ z(nw, { children: [/* @__PURE__ */ R(iw, { placeholder: a }), /* @__PURE__ */ z(aw, { children: [/* @__PURE__ */ R(ow, { children: o }), /* @__PURE__ */ R(sw, { children: t.map((e) => /* @__PURE__ */ R(lw, {
|
|
17497
17497
|
value: e.label,
|
|
17498
17498
|
disabled: e.disabled,
|
|
17499
|
-
"data-checked":
|
|
17499
|
+
"data-checked": n === e.value,
|
|
17500
17500
|
onSelect: () => {
|
|
17501
|
-
r?.(e.value ===
|
|
17501
|
+
r?.(e.value === n ? "" : e.value), f(!1);
|
|
17502
17502
|
},
|
|
17503
17503
|
children: e.label
|
|
17504
17504
|
}, e.value)) })] })] })
|
|
@@ -19079,7 +19079,7 @@ function VM({ table: e }) {
|
|
|
19079
19079
|
children: /* @__PURE__ */ z(rv, {
|
|
19080
19080
|
variant: "outline",
|
|
19081
19081
|
size: "sm",
|
|
19082
|
-
children: [/* @__PURE__ */ R(
|
|
19082
|
+
children: [/* @__PURE__ */ R(S, { className: "size-4" }), "View"]
|
|
19083
19083
|
})
|
|
19084
19084
|
}), /* @__PURE__ */ z(kT, {
|
|
19085
19085
|
align: "end",
|
|
@@ -19255,25 +19255,25 @@ function qM({ column: e, title: t, className: n, ...r }) {
|
|
|
19255
19255
|
size: "xs",
|
|
19256
19256
|
className: "-ml-2",
|
|
19257
19257
|
onClick: () => e.toggleSorting(i === "asc"),
|
|
19258
|
-
children: [t, R(i === "asc" ?
|
|
19258
|
+
children: [t, R(i === "asc" ? p : i === "desc" ? d : f, { className: "size-3.5" })]
|
|
19259
19259
|
})
|
|
19260
19260
|
});
|
|
19261
19261
|
}
|
|
19262
19262
|
//#endregion
|
|
19263
19263
|
//#region src/composed/DataTablePagination/DataTablePagination.tsx
|
|
19264
|
-
function JM({ page:
|
|
19264
|
+
function JM({ page: e, pageSize: t, totalCount: r, pageSizeOptions: i = [
|
|
19265
19265
|
5,
|
|
19266
19266
|
10,
|
|
19267
19267
|
25,
|
|
19268
19268
|
50,
|
|
19269
19269
|
100
|
|
19270
|
-
], onPageChange: a, onPageSizeChange: o, children:
|
|
19271
|
-
let
|
|
19270
|
+
], onPageChange: a, onPageSizeChange: o, children: c }) {
|
|
19271
|
+
let l = Math.ceil(r / t) || 0, u = r > 0 ? (e - 1) * t + 1 : 0, d = Math.min(e * t, r);
|
|
19272
19272
|
return /* @__PURE__ */ z("div", {
|
|
19273
19273
|
className: "flex items-center gap-4 p-2",
|
|
19274
|
-
children: [
|
|
19274
|
+
children: [c && /* @__PURE__ */ R("div", {
|
|
19275
19275
|
className: "flex-1",
|
|
19276
|
-
children:
|
|
19276
|
+
children: c
|
|
19277
19277
|
}), /* @__PURE__ */ z("div", {
|
|
19278
19278
|
className: "ml-auto flex items-center gap-4",
|
|
19279
19279
|
children: [
|
|
@@ -19283,7 +19283,7 @@ function JM({ page: t, pageSize: n, totalCount: r, pageSizeOptions: i = [
|
|
|
19283
19283
|
className: "text-xs text-muted-foreground",
|
|
19284
19284
|
children: "Items per page"
|
|
19285
19285
|
}), /* @__PURE__ */ z(BO, {
|
|
19286
|
-
value: String(
|
|
19286
|
+
value: String(t),
|
|
19287
19287
|
onValueChange: (e) => o(Number(e)),
|
|
19288
19288
|
children: [/* @__PURE__ */ R(UO, {
|
|
19289
19289
|
className: "h-7 w-16",
|
|
@@ -19298,7 +19298,7 @@ function JM({ page: t, pageSize: n, totalCount: r, pageSizeOptions: i = [
|
|
|
19298
19298
|
/* @__PURE__ */ z("span", {
|
|
19299
19299
|
className: "text-xs text-muted-foreground tabular-nums",
|
|
19300
19300
|
children: [
|
|
19301
|
-
r > 0 ? `${
|
|
19301
|
+
r > 0 ? `${u}-${d}` : "0",
|
|
19302
19302
|
" of ",
|
|
19303
19303
|
r
|
|
19304
19304
|
]
|
|
@@ -19308,17 +19308,17 @@ function JM({ page: t, pageSize: n, totalCount: r, pageSizeOptions: i = [
|
|
|
19308
19308
|
children: [/* @__PURE__ */ R(rv, {
|
|
19309
19309
|
variant: "ghost",
|
|
19310
19310
|
size: "icon-xs",
|
|
19311
|
-
disabled:
|
|
19312
|
-
onClick: () => a(
|
|
19311
|
+
disabled: e <= 1,
|
|
19312
|
+
onClick: () => a(e - 1),
|
|
19313
19313
|
"aria-label": "Previous page",
|
|
19314
|
-
children: /* @__PURE__ */ R(
|
|
19314
|
+
children: /* @__PURE__ */ R(n, { className: "size-4" })
|
|
19315
19315
|
}), /* @__PURE__ */ R(rv, {
|
|
19316
19316
|
variant: "ghost",
|
|
19317
19317
|
size: "icon-xs",
|
|
19318
|
-
disabled:
|
|
19319
|
-
onClick: () => a(
|
|
19318
|
+
disabled: e >= l,
|
|
19319
|
+
onClick: () => a(e + 1),
|
|
19320
19320
|
"aria-label": "Next page",
|
|
19321
|
-
children: /* @__PURE__ */ R(
|
|
19321
|
+
children: /* @__PURE__ */ R(s, { className: "size-4" })
|
|
19322
19322
|
})]
|
|
19323
19323
|
})
|
|
19324
19324
|
]
|
|
@@ -19360,10 +19360,10 @@ function YM({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disa
|
|
|
19360
19360
|
}
|
|
19361
19361
|
//#endregion
|
|
19362
19362
|
//#region src/composed/DatePicker/DateRangePicker.tsx
|
|
19363
|
-
function XM({ id: e, value:
|
|
19364
|
-
let [
|
|
19363
|
+
function XM({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disabled: a = !1, dateFormat: o = "LLL dd, y", locale: s, numberOfMonths: c = 2, className: l, "aria-label": u }) {
|
|
19364
|
+
let [d, f] = F(!1);
|
|
19365
19365
|
return /* @__PURE__ */ z(NE, {
|
|
19366
|
-
open:
|
|
19366
|
+
open: d,
|
|
19367
19367
|
onOpenChange: f,
|
|
19368
19368
|
children: [/* @__PURE__ */ R(PE, {
|
|
19369
19369
|
asChild: !0,
|
|
@@ -19371,27 +19371,27 @@ function XM({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disa
|
|
|
19371
19371
|
"data-slot": "date-range-picker",
|
|
19372
19372
|
variant: "outline",
|
|
19373
19373
|
id: e,
|
|
19374
|
-
disabled:
|
|
19374
|
+
disabled: a,
|
|
19375
19375
|
"aria-haspopup": "dialog",
|
|
19376
|
-
"aria-expanded":
|
|
19377
|
-
"aria-label":
|
|
19378
|
-
className: G("justify-start px-2.5 font-normal", !
|
|
19379
|
-
children: [/* @__PURE__ */ R(
|
|
19380
|
-
Vy(
|
|
19376
|
+
"aria-expanded": d,
|
|
19377
|
+
"aria-label": u,
|
|
19378
|
+
className: G("justify-start px-2.5 font-normal", !n?.from && "text-muted-foreground", l),
|
|
19379
|
+
children: [/* @__PURE__ */ R(t, { "aria-hidden": "true" }), n?.from ? n.to ? /* @__PURE__ */ z(L, { children: [
|
|
19380
|
+
Vy(n.from, o),
|
|
19381
19381
|
" - ",
|
|
19382
|
-
Vy(
|
|
19383
|
-
] }) : Vy(
|
|
19382
|
+
Vy(n.to, o)
|
|
19383
|
+
] }) : Vy(n.from, o) : /* @__PURE__ */ R("span", { children: i })]
|
|
19384
19384
|
})
|
|
19385
19385
|
}), /* @__PURE__ */ R(FE, {
|
|
19386
19386
|
className: "w-auto p-0",
|
|
19387
19387
|
align: "start",
|
|
19388
19388
|
children: /* @__PURE__ */ R(_S, {
|
|
19389
19389
|
mode: "range",
|
|
19390
|
-
defaultMonth:
|
|
19391
|
-
selected:
|
|
19392
|
-
onSelect:
|
|
19393
|
-
numberOfMonths:
|
|
19394
|
-
locale:
|
|
19390
|
+
defaultMonth: n?.from,
|
|
19391
|
+
selected: n,
|
|
19392
|
+
onSelect: r,
|
|
19393
|
+
numberOfMonths: c,
|
|
19394
|
+
locale: s
|
|
19395
19395
|
})
|
|
19396
19396
|
})]
|
|
19397
19397
|
});
|
|
@@ -19409,17 +19409,17 @@ function QM(e, t) {
|
|
|
19409
19409
|
}
|
|
19410
19410
|
//#endregion
|
|
19411
19411
|
//#region src/composed/DatePicker/DateTimePicker.tsx
|
|
19412
|
-
function $M({ id: e, value:
|
|
19412
|
+
function $M({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time", disabled: a = !1, dateTimeFormat: o = "PP '@' HH:mm:ss", locale: s, className: c, side: l = "bottom", align: u = "start", "aria-label": d }) {
|
|
19413
19413
|
let f = (/* @__PURE__ */ new Date()).getFullYear(), p = new Date(f - 10, 0), m = new Date(f + 10, 11), h = A(), g = e ?? h, [_, v] = F(!1);
|
|
19414
19414
|
function y(e) {
|
|
19415
19415
|
if (!e) {
|
|
19416
|
-
|
|
19416
|
+
r?.(void 0);
|
|
19417
19417
|
return;
|
|
19418
19418
|
}
|
|
19419
|
-
|
|
19419
|
+
r?.(QM(e, n ? ZM(n) : "00:00:00"));
|
|
19420
19420
|
}
|
|
19421
19421
|
function b(e) {
|
|
19422
|
-
|
|
19422
|
+
r?.(QM(n ?? /* @__PURE__ */ new Date(), e));
|
|
19423
19423
|
}
|
|
19424
19424
|
return /* @__PURE__ */ z(NE, {
|
|
19425
19425
|
open: _,
|
|
@@ -19430,26 +19430,26 @@ function $M({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19430
19430
|
"data-slot": "date-time-picker",
|
|
19431
19431
|
id: g,
|
|
19432
19432
|
variant: "outline",
|
|
19433
|
-
disabled:
|
|
19433
|
+
disabled: a,
|
|
19434
19434
|
"aria-haspopup": "dialog",
|
|
19435
19435
|
"aria-expanded": _,
|
|
19436
|
-
"aria-label":
|
|
19437
|
-
className: G("w-48 justify-between font-normal", !
|
|
19438
|
-
children: [
|
|
19436
|
+
"aria-label": d,
|
|
19437
|
+
className: G("w-48 justify-between font-normal", !n && "text-muted-foreground", c),
|
|
19438
|
+
children: [n ? Vy(n, o) : i, /* @__PURE__ */ R(t, { "aria-hidden": "true" })]
|
|
19439
19439
|
})
|
|
19440
19440
|
}), /* @__PURE__ */ z(FE, {
|
|
19441
19441
|
className: "w-auto overflow-hidden p-0",
|
|
19442
|
-
side:
|
|
19443
|
-
align:
|
|
19442
|
+
side: l,
|
|
19443
|
+
align: u,
|
|
19444
19444
|
children: [
|
|
19445
19445
|
/* @__PURE__ */ R(_S, {
|
|
19446
19446
|
mode: "single",
|
|
19447
|
-
selected:
|
|
19447
|
+
selected: n,
|
|
19448
19448
|
captionLayout: "dropdown",
|
|
19449
|
-
defaultMonth:
|
|
19449
|
+
defaultMonth: n,
|
|
19450
19450
|
startMonth: p,
|
|
19451
19451
|
endMonth: m,
|
|
19452
|
-
locale:
|
|
19452
|
+
locale: s,
|
|
19453
19453
|
onSelect: y
|
|
19454
19454
|
}),
|
|
19455
19455
|
/* @__PURE__ */ R(iv, {}),
|
|
@@ -19462,8 +19462,8 @@ function $M({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19462
19462
|
id: `${g}-time`,
|
|
19463
19463
|
type: "time",
|
|
19464
19464
|
step: "1",
|
|
19465
|
-
value: ZM(
|
|
19466
|
-
disabled:
|
|
19465
|
+
value: ZM(n),
|
|
19466
|
+
disabled: a,
|
|
19467
19467
|
onChange: (e) => b(e.target.value),
|
|
19468
19468
|
className: "ml-auto w-32 appearance-none bg-background [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
|
|
19469
19469
|
})]
|
|
@@ -19475,35 +19475,35 @@ function $M({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19475
19475
|
//#endregion
|
|
19476
19476
|
//#region src/composed/DatePicker/DateTimeRangePicker.tsx
|
|
19477
19477
|
var eN = "00:00:00", tN = "23:59:59";
|
|
19478
|
-
function nN({ id: e, value:
|
|
19479
|
-
let h = (/* @__PURE__ */ new Date()).getFullYear(), g = new Date(h - 10, 0), _ = new Date(h + 10, 11), v = A(), y = e ?? v, [b, x] = F(!1), S = ZM(
|
|
19478
|
+
function nN({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time range", disabled: a = !1, fromLabel: o = "From", toLabel: s = "To", dateTimeFormat: c = "PP '@' HH:mm", locale: l, className: u, side: d = "bottom", align: f = "start", numberOfMonths: p = 2, "aria-label": m }) {
|
|
19479
|
+
let h = (/* @__PURE__ */ new Date()).getFullYear(), g = new Date(h - 10, 0), _ = new Date(h + 10, 11), v = A(), y = e ?? v, [b, x] = F(!1), S = ZM(n?.from, eN), C = ZM(n?.to, tN);
|
|
19480
19480
|
function w(e) {
|
|
19481
19481
|
if (!e) {
|
|
19482
|
-
|
|
19482
|
+
r?.(void 0);
|
|
19483
19483
|
return;
|
|
19484
19484
|
}
|
|
19485
|
-
let t = e.from ? QM(e.from, S) : void 0,
|
|
19486
|
-
|
|
19485
|
+
let t = e.from ? QM(e.from, S) : void 0, n = e.to ? QM(e.to, C) : void 0;
|
|
19486
|
+
r?.({
|
|
19487
19487
|
from: t,
|
|
19488
|
-
to:
|
|
19488
|
+
to: n
|
|
19489
19489
|
});
|
|
19490
19490
|
}
|
|
19491
19491
|
function T(e) {
|
|
19492
|
-
let
|
|
19493
|
-
|
|
19494
|
-
from: QM(
|
|
19495
|
-
to:
|
|
19492
|
+
let t = n?.from ?? /* @__PURE__ */ new Date();
|
|
19493
|
+
r?.({
|
|
19494
|
+
from: QM(t, e),
|
|
19495
|
+
to: n?.to
|
|
19496
19496
|
});
|
|
19497
19497
|
}
|
|
19498
19498
|
function E(e) {
|
|
19499
|
-
let
|
|
19500
|
-
|
|
19501
|
-
from:
|
|
19502
|
-
to: QM(
|
|
19499
|
+
let t = n?.to ?? n?.from ?? /* @__PURE__ */ new Date();
|
|
19500
|
+
r?.({
|
|
19501
|
+
from: n?.from,
|
|
19502
|
+
to: QM(t, e)
|
|
19503
19503
|
});
|
|
19504
19504
|
}
|
|
19505
19505
|
function D() {
|
|
19506
|
-
return !
|
|
19506
|
+
return !n?.from && !n?.to ? i : n?.from && n?.to ? `${Vy(n.from, c)} → ${Vy(n.to, c)}` : n?.from ? `${Vy(n.from, c)} → …` : n?.to ? `… → ${Vy(n.to, c)}` : i;
|
|
19507
19507
|
}
|
|
19508
19508
|
return /* @__PURE__ */ z(NE, {
|
|
19509
19509
|
open: b,
|
|
@@ -19514,27 +19514,27 @@ function nN({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19514
19514
|
"data-slot": "date-time-range-picker",
|
|
19515
19515
|
id: y,
|
|
19516
19516
|
variant: "outline",
|
|
19517
|
-
disabled:
|
|
19517
|
+
disabled: a,
|
|
19518
19518
|
"aria-haspopup": "dialog",
|
|
19519
19519
|
"aria-expanded": b,
|
|
19520
19520
|
"aria-label": m,
|
|
19521
|
-
className: G("w-96 justify-between font-normal", !(
|
|
19522
|
-
children: [D(), /* @__PURE__ */ R(
|
|
19521
|
+
className: G("w-96 justify-between font-normal", !(n?.from || n?.to) && "text-muted-foreground", u),
|
|
19522
|
+
children: [D(), /* @__PURE__ */ R(t, { "aria-hidden": "true" })]
|
|
19523
19523
|
})
|
|
19524
19524
|
}), /* @__PURE__ */ z(FE, {
|
|
19525
19525
|
className: "w-auto overflow-hidden p-0",
|
|
19526
|
-
side:
|
|
19526
|
+
side: d,
|
|
19527
19527
|
align: f,
|
|
19528
19528
|
children: [
|
|
19529
19529
|
/* @__PURE__ */ R(_S, {
|
|
19530
19530
|
mode: "range",
|
|
19531
|
-
selected:
|
|
19531
|
+
selected: n,
|
|
19532
19532
|
captionLayout: "dropdown",
|
|
19533
|
-
defaultMonth:
|
|
19533
|
+
defaultMonth: n?.from,
|
|
19534
19534
|
startMonth: g,
|
|
19535
19535
|
endMonth: _,
|
|
19536
19536
|
numberOfMonths: p,
|
|
19537
|
-
locale:
|
|
19537
|
+
locale: l,
|
|
19538
19538
|
onSelect: w
|
|
19539
19539
|
}),
|
|
19540
19540
|
/* @__PURE__ */ R(iv, {}),
|
|
@@ -19544,13 +19544,13 @@ function nN({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19544
19544
|
className: "flex items-center gap-2",
|
|
19545
19545
|
children: [/* @__PURE__ */ R(tE, {
|
|
19546
19546
|
htmlFor: `${y}-from-time`,
|
|
19547
|
-
children:
|
|
19547
|
+
children: o
|
|
19548
19548
|
}), /* @__PURE__ */ R(KC, {
|
|
19549
19549
|
id: `${y}-from-time`,
|
|
19550
19550
|
type: "time",
|
|
19551
19551
|
step: "1",
|
|
19552
19552
|
value: S,
|
|
19553
|
-
disabled:
|
|
19553
|
+
disabled: a,
|
|
19554
19554
|
onChange: (e) => T(e.target.value),
|
|
19555
19555
|
className: "ml-auto w-32 appearance-none bg-background [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
|
|
19556
19556
|
})]
|
|
@@ -19558,13 +19558,13 @@ function nN({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
19558
19558
|
className: "flex items-center gap-2",
|
|
19559
19559
|
children: [/* @__PURE__ */ R(tE, {
|
|
19560
19560
|
htmlFor: `${y}-to-time`,
|
|
19561
|
-
children:
|
|
19561
|
+
children: s
|
|
19562
19562
|
}), /* @__PURE__ */ R(KC, {
|
|
19563
19563
|
id: `${y}-to-time`,
|
|
19564
19564
|
type: "time",
|
|
19565
19565
|
step: "1",
|
|
19566
19566
|
value: C,
|
|
19567
|
-
disabled:
|
|
19567
|
+
disabled: a,
|
|
19568
19568
|
onChange: (e) => E(e.target.value),
|
|
19569
19569
|
className: "ml-auto w-32 appearance-none bg-background [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
|
|
19570
19570
|
})]
|
|
@@ -19584,7 +19584,7 @@ function rN({ title: e, options: t, selected: n, onChange: r }) {
|
|
|
19584
19584
|
variant: "outline",
|
|
19585
19585
|
size: "sm",
|
|
19586
19586
|
children: [
|
|
19587
|
-
/* @__PURE__ */ R(
|
|
19587
|
+
/* @__PURE__ */ R(u, {}),
|
|
19588
19588
|
e,
|
|
19589
19589
|
n.length > 0 && /* @__PURE__ */ R(J_, {
|
|
19590
19590
|
variant: "secondary",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-core",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Gravitee's Graphene design system: accessible React components, design tokens, icons, and shared ESLint/TypeScript configs. Built on shadcn/ui and Tailwind.",
|
|
6
6
|
"keywords": [
|