@gravitee/graphene-core 2.28.3 → 2.29.0-modules-icons.ba0d801
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 +15 -1
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +2 -2
- package/dist/icons/products/GioAgentManagementIcon.d.ts +3 -0
- package/dist/icons/products/GioAgentManagementIcon.d.ts.map +1 -0
- package/dist/icons/products/GioApiManagementIcon.d.ts +3 -0
- package/dist/icons/products/GioApiManagementIcon.d.ts.map +1 -0
- package/dist/icons/products/GioAuthorizationIcon.d.ts +3 -0
- package/dist/icons/products/GioAuthorizationIcon.d.ts.map +1 -0
- package/dist/icons/products/GioCatalogIcon.d.ts +3 -0
- package/dist/icons/products/GioCatalogIcon.d.ts.map +1 -0
- package/dist/icons/products/GioDeveloperPortalIcon.d.ts +3 -0
- package/dist/icons/products/GioDeveloperPortalIcon.d.ts.map +1 -0
- package/dist/icons/products/GioEventApiManagementIcon.d.ts +3 -0
- package/dist/icons/products/GioEventApiManagementIcon.d.ts.map +1 -0
- package/dist/icons/products/GioGammaIcon.d.ts +3 -0
- package/dist/icons/products/GioGammaIcon.d.ts.map +1 -0
- package/dist/icons/products/GioHomeIcon.d.ts +3 -0
- package/dist/icons/products/GioHomeIcon.d.ts.map +1 -0
- package/dist/icons/products/GioIamIcon.d.ts +3 -0
- package/dist/icons/products/GioIamIcon.d.ts.map +1 -0
- package/dist/icons/products/GioObservabilityIcon.d.ts +3 -0
- package/dist/icons/products/GioObservabilityIcon.d.ts.map +1 -0
- package/dist/icons/products/GioObserveIcon.d.ts +3 -0
- package/dist/icons/products/GioObserveIcon.d.ts.map +1 -0
- package/dist/icons/products/GioPlatformIcon.d.ts +3 -0
- package/dist/icons/products/GioPlatformIcon.d.ts.map +1 -0
- package/dist/icons/products/GioProductizeIcon.d.ts +3 -0
- package/dist/icons/products/GioProductizeIcon.d.ts.map +1 -0
- package/dist/icons/products/GioSecureIcon.d.ts +3 -0
- package/dist/icons/products/GioSecureIcon.d.ts.map +1 -0
- package/dist/icons-8XSjhY3E.js +3219 -0
- package/dist/index.js +82 -82
- package/dist/styles/globals.css +1 -1
- package/package.json +2 -1
- package/dist/icons-C8Z7SFgk.js +0 -290
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, At as n, D as r,
|
|
1
|
+
import { $ as e, A as t, At as n, D as r, Kt as i, M as a, Nt as o, O as s, P as c, Pt as l, Q as u, Qt as d, T as f, W as p, Z as m, bn as h, c as g, ct as _, f as v, j as y, k as b, ln as x, p as S, pt as C, sn as w, tt as T, xt as E, yt as D, zt as O } from "./icons-8XSjhY3E.js";
|
|
2
2
|
import { n as k, t as A } from "./ThemeProvider-C_Ea8dI-.js";
|
|
3
3
|
import * as j from "react";
|
|
4
4
|
import M, { Fragment as N, createContext as P, createElement as F, forwardRef as I, useCallback as L, useContext as ee, useDebugValue as te, useEffect as R, useId as z, useImperativeHandle as ne, useLayoutEffect as re, useMemo as ie, useReducer as B, useRef as ae, useState as V, useSyncExternalStore as oe, useSyncExternalStore as H } from "react";
|
|
@@ -8502,7 +8502,7 @@ function By({ className: e, children: t, ...n }) {
|
|
|
8502
8502
|
"data-slot": "accordion-trigger",
|
|
8503
8503
|
className: Y("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),
|
|
8504
8504
|
...n,
|
|
8505
|
-
children: [t, /* @__PURE__ */ W(
|
|
8505
|
+
children: [t, /* @__PURE__ */ W(s, {
|
|
8506
8506
|
"aria-hidden": "true",
|
|
8507
8507
|
className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200"
|
|
8508
8508
|
})]
|
|
@@ -11877,15 +11877,15 @@ function Aw(e) {
|
|
|
11877
11877
|
}
|
|
11878
11878
|
//#endregion
|
|
11879
11879
|
//#region src/base/Calendar/Calendar.tsx
|
|
11880
|
-
function jw({ className: e, classNames: n, showOutsideDays: r = !0, captionLayout: i = "label", buttonVariant: a = "ghost", locale:
|
|
11880
|
+
function jw({ className: e, classNames: n, showOutsideDays: r = !0, captionLayout: i = "label", buttonVariant: a = "ghost", locale: o, formatters: c, components: l, ...u }) {
|
|
11881
11881
|
let d = pC();
|
|
11882
11882
|
return /* @__PURE__ */ W(Aw, {
|
|
11883
11883
|
showOutsideDays: r,
|
|
11884
11884
|
className: Y("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),
|
|
11885
11885
|
captionLayout: i,
|
|
11886
|
-
locale:
|
|
11886
|
+
locale: o,
|
|
11887
11887
|
formatters: {
|
|
11888
|
-
formatMonthDropdown: (e) => e.toLocaleString(
|
|
11888
|
+
formatMonthDropdown: (e) => e.toLocaleString(o?.code, { month: "short" }),
|
|
11889
11889
|
...c
|
|
11890
11890
|
},
|
|
11891
11891
|
classNames: {
|
|
@@ -11923,7 +11923,7 @@ function jw({ className: e, classNames: n, showOutsideDays: r = !0, captionLayou
|
|
|
11923
11923
|
className: Y(e),
|
|
11924
11924
|
...n
|
|
11925
11925
|
}),
|
|
11926
|
-
Chevron: ({ className: e, orientation: n, ...r }) => W(n === "left" ?
|
|
11926
|
+
Chevron: ({ className: e, orientation: n, ...r }) => W(n === "left" ? b : n === "right" ? t : s, {
|
|
11927
11927
|
"aria-hidden": "true",
|
|
11928
11928
|
className: Y("size-4", e),
|
|
11929
11929
|
...r
|
|
@@ -17487,7 +17487,7 @@ function dM({ className: e, children: t, "aria-label": n, ...r }) {
|
|
|
17487
17487
|
"aria-label": t ? n : n ?? "Open",
|
|
17488
17488
|
className: Y("[&_svg:not([class*='size-'])]:size-4", e),
|
|
17489
17489
|
...r,
|
|
17490
|
-
children: [t, /* @__PURE__ */ W(
|
|
17490
|
+
children: [t, /* @__PURE__ */ W(a, {
|
|
17491
17491
|
"aria-hidden": "true",
|
|
17492
17492
|
className: "pointer-events-none size-4 text-muted-foreground"
|
|
17493
17493
|
})]
|
|
@@ -17502,26 +17502,26 @@ function fM({ "aria-label": e = "Clear", ...t }) {
|
|
|
17502
17502
|
size: "icon-xs"
|
|
17503
17503
|
}),
|
|
17504
17504
|
...t,
|
|
17505
|
-
children: /* @__PURE__ */ W(
|
|
17505
|
+
children: /* @__PURE__ */ W(h, {
|
|
17506
17506
|
"aria-hidden": "true",
|
|
17507
17507
|
className: "pointer-events-none"
|
|
17508
17508
|
})
|
|
17509
17509
|
});
|
|
17510
17510
|
}
|
|
17511
|
-
function pM({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear:
|
|
17511
|
+
function pM({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: a = !1, ...o }) {
|
|
17512
17512
|
return /* @__PURE__ */ G(tM, {
|
|
17513
17513
|
className: Y("w-auto", e),
|
|
17514
17514
|
children: [
|
|
17515
17515
|
/* @__PURE__ */ W(rM, {
|
|
17516
17516
|
align: "inline-start",
|
|
17517
|
-
children: /* @__PURE__ */ W(
|
|
17517
|
+
children: /* @__PURE__ */ W(i, {
|
|
17518
17518
|
"aria-hidden": "true",
|
|
17519
17519
|
className: "pointer-events-none"
|
|
17520
17520
|
})
|
|
17521
17521
|
}),
|
|
17522
17522
|
/* @__PURE__ */ W(rj, {
|
|
17523
17523
|
render: /* @__PURE__ */ W(sM, { disabled: n }),
|
|
17524
|
-
...
|
|
17524
|
+
...o
|
|
17525
17525
|
}),
|
|
17526
17526
|
/* @__PURE__ */ G(rM, {
|
|
17527
17527
|
align: "inline-end",
|
|
@@ -17533,7 +17533,7 @@ function pM({ className: e, children: t, disabled: n = !1, showTrigger: r = !0,
|
|
|
17533
17533
|
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
17534
17534
|
disabled: n,
|
|
17535
17535
|
children: /* @__PURE__ */ W(dM, {})
|
|
17536
|
-
}),
|
|
17536
|
+
}), a && /* @__PURE__ */ W(fM, { disabled: n })]
|
|
17537
17537
|
}),
|
|
17538
17538
|
t
|
|
17539
17539
|
]
|
|
@@ -17629,7 +17629,7 @@ function CM({ className: e, children: t, showRemove: n = !0, removeAriaLabel: r
|
|
|
17629
17629
|
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
17630
17630
|
"data-slot": "combobox-chip-remove",
|
|
17631
17631
|
"aria-label": r,
|
|
17632
|
-
children: /* @__PURE__ */ W(
|
|
17632
|
+
children: /* @__PURE__ */ W(h, {
|
|
17633
17633
|
"aria-hidden": "true",
|
|
17634
17634
|
className: "pointer-events-none"
|
|
17635
17635
|
})
|
|
@@ -18240,7 +18240,7 @@ function LN({ className: e, children: t, showCloseButton: n = !0, ...r }) {
|
|
|
18240
18240
|
variant: "ghost",
|
|
18241
18241
|
className: "absolute top-2 right-2",
|
|
18242
18242
|
size: "icon-sm",
|
|
18243
|
-
children: [/* @__PURE__ */ W(
|
|
18243
|
+
children: [/* @__PURE__ */ W(h, { "aria-hidden": "true" }), /* @__PURE__ */ W("span", {
|
|
18244
18244
|
className: "sr-only",
|
|
18245
18245
|
children: "Close"
|
|
18246
18246
|
})]
|
|
@@ -18315,7 +18315,7 @@ function WN({ className: e, ...t }) {
|
|
|
18315
18315
|
"data-slot": "command-input",
|
|
18316
18316
|
className: Y("w-full text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", e),
|
|
18317
18317
|
...t
|
|
18318
|
-
}), /* @__PURE__ */ W(rM, { children: /* @__PURE__ */ W(
|
|
18318
|
+
}), /* @__PURE__ */ W(rM, { children: /* @__PURE__ */ W(i, {
|
|
18319
18319
|
"aria-hidden": "true",
|
|
18320
18320
|
className: "size-4 shrink-0 opacity-50"
|
|
18321
18321
|
}) })]
|
|
@@ -22336,7 +22336,7 @@ function eR({ accept: e, className: t, disabled: n, hint: r, icon: i, invalid: a
|
|
|
22336
22336
|
/* @__PURE__ */ W("div", {
|
|
22337
22337
|
"aria-hidden": "true",
|
|
22338
22338
|
className: Y("flex items-center justify-center text-muted-foreground", b === null && y === null && "h-full w-full"),
|
|
22339
|
-
children: i ?? /* @__PURE__ */ W(
|
|
22339
|
+
children: i ?? /* @__PURE__ */ W(x, { className: "size-8" })
|
|
22340
22340
|
}),
|
|
22341
22341
|
b ? /* @__PURE__ */ W(YF, {
|
|
22342
22342
|
id: _,
|
|
@@ -22559,7 +22559,7 @@ function TR({ className: e, text: t = "Previous", ...n }) {
|
|
|
22559
22559
|
size: "default",
|
|
22560
22560
|
className: Y("pl-1.5!", e),
|
|
22561
22561
|
...n,
|
|
22562
|
-
children: [/* @__PURE__ */ W(
|
|
22562
|
+
children: [/* @__PURE__ */ W(b, {
|
|
22563
22563
|
"aria-hidden": "true",
|
|
22564
22564
|
"data-icon": "inline-start"
|
|
22565
22565
|
}), /* @__PURE__ */ W("span", {
|
|
@@ -24325,7 +24325,7 @@ function VB({ className: e, size: t = "default", children: n, ...r }) {
|
|
|
24325
24325
|
...r,
|
|
24326
24326
|
children: [n, /* @__PURE__ */ W(I_, {
|
|
24327
24327
|
asChild: !0,
|
|
24328
|
-
children: /* @__PURE__ */ W(
|
|
24328
|
+
children: /* @__PURE__ */ W(s, {
|
|
24329
24329
|
"aria-hidden": "true",
|
|
24330
24330
|
className: "pointer-events-none size-4 text-muted-foreground"
|
|
24331
24331
|
})
|
|
@@ -24384,7 +24384,7 @@ function KB({ className: e, ...t }) {
|
|
|
24384
24384
|
"data-slot": "select-scroll-up-button",
|
|
24385
24385
|
className: Y("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
24386
24386
|
...t,
|
|
24387
|
-
children: /* @__PURE__ */ W(
|
|
24387
|
+
children: /* @__PURE__ */ W(y, { "aria-hidden": "true" })
|
|
24388
24388
|
});
|
|
24389
24389
|
}
|
|
24390
24390
|
function qB({ className: e, ...t }) {
|
|
@@ -24392,7 +24392,7 @@ function qB({ className: e, ...t }) {
|
|
|
24392
24392
|
"data-slot": "select-scroll-down-button",
|
|
24393
24393
|
className: Y("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
24394
24394
|
...t,
|
|
24395
|
-
children: /* @__PURE__ */ W(
|
|
24395
|
+
children: /* @__PURE__ */ W(s, { "aria-hidden": "true" })
|
|
24396
24396
|
});
|
|
24397
24397
|
}
|
|
24398
24398
|
//#endregion
|
|
@@ -24441,7 +24441,7 @@ function $B({ className: e, children: t, side: n = "right", showCloseButton: r =
|
|
|
24441
24441
|
variant: "ghost",
|
|
24442
24442
|
className: "absolute top-3 right-3",
|
|
24443
24443
|
size: "icon-sm",
|
|
24444
|
-
children: [/* @__PURE__ */ W(
|
|
24444
|
+
children: [/* @__PURE__ */ W(h, { "aria-hidden": "true" }), /* @__PURE__ */ W("span", {
|
|
24445
24445
|
className: "sr-only",
|
|
24446
24446
|
children: "Close"
|
|
24447
24447
|
})]
|
|
@@ -24653,7 +24653,7 @@ function wV({ className: e, onClick: t, ...n }) {
|
|
|
24653
24653
|
t?.(e), r();
|
|
24654
24654
|
},
|
|
24655
24655
|
...n,
|
|
24656
|
-
children: [/* @__PURE__ */ W(
|
|
24656
|
+
children: [/* @__PURE__ */ W(l, { "aria-hidden": "true" }), /* @__PURE__ */ W("span", {
|
|
24657
24657
|
className: "sr-only",
|
|
24658
24658
|
children: "Toggle Sidebar"
|
|
24659
24659
|
})]
|
|
@@ -25478,7 +25478,7 @@ var xH = /* @__PURE__ */ M.forwardRef(function(e, t) {
|
|
|
25478
25478
|
}), SH = ({ ...e }) => /* @__PURE__ */ W(xH, {
|
|
25479
25479
|
className: "group",
|
|
25480
25480
|
icons: {
|
|
25481
|
-
success: /* @__PURE__ */ W(
|
|
25481
|
+
success: /* @__PURE__ */ W(c, {
|
|
25482
25482
|
"aria-hidden": "true",
|
|
25483
25483
|
className: "size-4"
|
|
25484
25484
|
}),
|
|
@@ -25486,15 +25486,15 @@ var xH = /* @__PURE__ */ M.forwardRef(function(e, t) {
|
|
|
25486
25486
|
"aria-hidden": "true",
|
|
25487
25487
|
className: "size-4"
|
|
25488
25488
|
}),
|
|
25489
|
-
warning: /* @__PURE__ */ W(
|
|
25489
|
+
warning: /* @__PURE__ */ W(w, {
|
|
25490
25490
|
"aria-hidden": "true",
|
|
25491
25491
|
className: "size-4"
|
|
25492
25492
|
}),
|
|
25493
|
-
error: /* @__PURE__ */ W(
|
|
25493
|
+
error: /* @__PURE__ */ W(o, {
|
|
25494
25494
|
"aria-hidden": "true",
|
|
25495
25495
|
className: "size-4"
|
|
25496
25496
|
}),
|
|
25497
|
-
loading: /* @__PURE__ */ W(
|
|
25497
|
+
loading: /* @__PURE__ */ W(E, {
|
|
25498
25498
|
"aria-hidden": "true",
|
|
25499
25499
|
className: "size-4 animate-spin"
|
|
25500
25500
|
})
|
|
@@ -25510,7 +25510,7 @@ var xH = /* @__PURE__ */ M.forwardRef(function(e, t) {
|
|
|
25510
25510
|
//#endregion
|
|
25511
25511
|
//#region src/base/Spinner/Spinner.tsx
|
|
25512
25512
|
function CH({ className: e, ...t }) {
|
|
25513
|
-
return /* @__PURE__ */ W(
|
|
25513
|
+
return /* @__PURE__ */ W(E, {
|
|
25514
25514
|
role: "status",
|
|
25515
25515
|
"aria-label": "Loading",
|
|
25516
25516
|
className: Y("size-4 animate-spin", e),
|
|
@@ -25764,7 +25764,7 @@ function XH({ className: e }) {
|
|
|
25764
25764
|
size: "icon",
|
|
25765
25765
|
className: Y("size-8 text-sidebar-foreground/70", e),
|
|
25766
25766
|
"aria-label": "Sidebar display mode",
|
|
25767
|
-
children: /* @__PURE__ */ W(
|
|
25767
|
+
children: /* @__PURE__ */ W(l, {
|
|
25768
25768
|
"aria-hidden": "true",
|
|
25769
25769
|
className: "size-4"
|
|
25770
25770
|
})
|
|
@@ -25917,7 +25917,7 @@ function tU({ apps: e, activeKey: t, onChange: n, onOpenChange: r, className: i
|
|
|
25917
25917
|
size: "icon",
|
|
25918
25918
|
className: Y("size-8 shrink-0", i),
|
|
25919
25919
|
"aria-label": "Switch application",
|
|
25920
|
-
children: /* @__PURE__ */ W(
|
|
25920
|
+
children: /* @__PURE__ */ W(D, { className: "size-4" })
|
|
25921
25921
|
})
|
|
25922
25922
|
}), /* @__PURE__ */ W(AR, {
|
|
25923
25923
|
side: s ? "bottom" : "right",
|
|
@@ -25983,7 +25983,7 @@ function rU({ activeOption: e, emptyLabel: t = "Select...", className: n, ...r }
|
|
|
25983
25983
|
children: [
|
|
25984
25984
|
e?.icon,
|
|
25985
25985
|
/* @__PURE__ */ W("span", { children: e?.label ?? t }),
|
|
25986
|
-
/* @__PURE__ */ W(
|
|
25986
|
+
/* @__PURE__ */ W(a, { className: "ml-auto size-4 shrink-0 opacity-60" })
|
|
25987
25987
|
]
|
|
25988
25988
|
});
|
|
25989
25989
|
}
|
|
@@ -26031,7 +26031,7 @@ function aU({ environments: e, activeKey: t, onEnvironmentChange: n, onOpenChang
|
|
|
26031
26031
|
children: [
|
|
26032
26032
|
/* @__PURE__ */ W("div", {
|
|
26033
26033
|
className: "flex size-8 shrink-0 items-center justify-center rounded-md bg-primary text-primary-foreground [&_svg]:size-4",
|
|
26034
|
-
children: e?.icon ?? /* @__PURE__ */ W(
|
|
26034
|
+
children: e?.icon ?? /* @__PURE__ */ W(_, { className: "size-4" })
|
|
26035
26035
|
}),
|
|
26036
26036
|
/* @__PURE__ */ G("div", {
|
|
26037
26037
|
className: "grid min-w-0 flex-1 text-left text-sm/tight",
|
|
@@ -26043,20 +26043,20 @@ function aU({ environments: e, activeKey: t, onEnvironmentChange: n, onOpenChang
|
|
|
26043
26043
|
children: "Environment"
|
|
26044
26044
|
})]
|
|
26045
26045
|
}),
|
|
26046
|
-
/* @__PURE__ */ W(
|
|
26046
|
+
/* @__PURE__ */ W(a, { className: "ml-auto size-4 shrink-0 opacity-60" })
|
|
26047
26047
|
]
|
|
26048
26048
|
})
|
|
26049
26049
|
});
|
|
26050
26050
|
}
|
|
26051
26051
|
function oU({ className: e, apps: t, activeAppKey: n, onAppChange: r, environments: i, activeEnvironmentKey: a, onEnvironmentChange: o, renderNavigation: s }) {
|
|
26052
|
-
let { setOpen: c } = xV(), 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 } = GH(), m = ae(null), { popoverOpened: h, popoverClosed: g, handleMouseEnter:
|
|
26052
|
+
let { setOpen: c } = xV(), 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 } = GH(), m = ae(null), { popoverOpened: h, popoverClosed: g, handleMouseEnter: v, handleMouseLeave: y } = iU(m, {
|
|
26053
26053
|
mode: p,
|
|
26054
26054
|
setOpen: c
|
|
26055
26055
|
}), b = L((e) => e ? h() : g(), [h, g]);
|
|
26056
26056
|
return /* @__PURE__ */ W("div", {
|
|
26057
26057
|
className: e,
|
|
26058
26058
|
ref: m,
|
|
26059
|
-
onMouseEnter:
|
|
26059
|
+
onMouseEnter: v,
|
|
26060
26060
|
onMouseLeave: y,
|
|
26061
26061
|
children: /* @__PURE__ */ W(aV, {
|
|
26062
26062
|
delayDuration: 0,
|
|
@@ -26153,7 +26153,7 @@ function oU({ className: e, apps: t, activeAppKey: n, onAppChange: r, environmen
|
|
|
26153
26153
|
className: "flex size-8 items-center justify-center rounded-md text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
26154
26154
|
children: /* @__PURE__ */ W("div", {
|
|
26155
26155
|
className: "flex size-6 items-center justify-center rounded-sm bg-primary text-primary-foreground [&_svg]:size-3.5",
|
|
26156
|
-
children: e?.icon ?? /* @__PURE__ */ W(
|
|
26156
|
+
children: e?.icon ?? /* @__PURE__ */ W(_, { className: "size-3.5" })
|
|
26157
26157
|
})
|
|
26158
26158
|
})
|
|
26159
26159
|
})
|
|
@@ -26224,7 +26224,7 @@ function lU({ expanded: e, onToggle: t, className: n }) {
|
|
|
26224
26224
|
className: Y("size-7", n),
|
|
26225
26225
|
onClick: t,
|
|
26226
26226
|
"aria-label": "Toggle context sidebar",
|
|
26227
|
-
children: /* @__PURE__ */ W(
|
|
26227
|
+
children: /* @__PURE__ */ W(l, { className: e ? "size-4" : "size-4 opacity-50" })
|
|
26228
26228
|
});
|
|
26229
26229
|
}
|
|
26230
26230
|
lU.displayName = "ContextToggleButton";
|
|
@@ -26302,7 +26302,7 @@ function fU({ value: e, className: t, copyLabel: n = "Click to copy", copiedLabe
|
|
|
26302
26302
|
}), s ? /* @__PURE__ */ W(r, {
|
|
26303
26303
|
className: "size-3.5 text-primary",
|
|
26304
26304
|
"aria-hidden": "true"
|
|
26305
|
-
}) : /* @__PURE__ */ W(
|
|
26305
|
+
}) : /* @__PURE__ */ W(p, {
|
|
26306
26306
|
className: "size-3.5",
|
|
26307
26307
|
"aria-hidden": "true"
|
|
26308
26308
|
})]
|
|
@@ -27847,7 +27847,7 @@ function VW({ table: e }) {
|
|
|
27847
27847
|
children: /* @__PURE__ */ G(fb, {
|
|
27848
27848
|
variant: "outline",
|
|
27849
27849
|
size: "sm",
|
|
27850
|
-
children: [/* @__PURE__ */ W(
|
|
27850
|
+
children: [/* @__PURE__ */ W(d, { className: "size-4" }), "View"]
|
|
27851
27851
|
})
|
|
27852
27852
|
}), /* @__PURE__ */ G(AF, {
|
|
27853
27853
|
align: "end",
|
|
@@ -28033,7 +28033,7 @@ function JW({ column: e, title: t, className: n, ...r }) {
|
|
|
28033
28033
|
size: "xs",
|
|
28034
28034
|
className: "-ml-2 text-sm",
|
|
28035
28035
|
onClick: () => e.toggleSorting(i === "asc"),
|
|
28036
|
-
children: [t, W(i === "asc" ? S : i === "desc" ?
|
|
28036
|
+
children: [t, W(i === "asc" ? S : i === "desc" ? g : v, { className: "size-3.5" })]
|
|
28037
28037
|
})
|
|
28038
28038
|
});
|
|
28039
28039
|
}
|
|
@@ -28089,7 +28089,7 @@ function YW({ page: e, pageSize: n, totalCount: r, pageSizeOptions: i = [
|
|
|
28089
28089
|
disabled: e <= 1,
|
|
28090
28090
|
onClick: () => a(e - 1),
|
|
28091
28091
|
"aria-label": "Previous page",
|
|
28092
|
-
children: /* @__PURE__ */ W(
|
|
28092
|
+
children: /* @__PURE__ */ W(b, { className: "size-4" })
|
|
28093
28093
|
}), /* @__PURE__ */ W(fb, {
|
|
28094
28094
|
variant: "ghost",
|
|
28095
28095
|
size: "icon-xs",
|
|
@@ -29270,7 +29270,7 @@ function iK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disa
|
|
|
29270
29270
|
"aria-expanded": l,
|
|
29271
29271
|
"aria-label": c,
|
|
29272
29272
|
className: Y("w-full min-w-[9rem] justify-between font-normal", !t && "text-muted-foreground", s),
|
|
29273
|
-
children: [t ? nK(t, a) : /* @__PURE__ */ W("span", { children: r }), /* @__PURE__ */ W(
|
|
29273
|
+
children: [t ? nK(t, a) : /* @__PURE__ */ W("span", { children: r }), /* @__PURE__ */ W(f, { "aria-hidden": "true" })]
|
|
29274
29274
|
})
|
|
29275
29275
|
}), /* @__PURE__ */ W(AR, {
|
|
29276
29276
|
className: "w-auto p-0",
|
|
@@ -29288,10 +29288,10 @@ function iK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disa
|
|
|
29288
29288
|
//#endregion
|
|
29289
29289
|
//#region src/composed/DatePicker/DateRangePicker.tsx
|
|
29290
29290
|
function aK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disabled: i = !1, dateFormat: a = "LLL dd, y", locale: o, numberOfMonths: s = 2, className: c, "aria-label": l }) {
|
|
29291
|
-
let [u,
|
|
29291
|
+
let [u, d] = V(!1);
|
|
29292
29292
|
return /* @__PURE__ */ G(OR, {
|
|
29293
29293
|
open: u,
|
|
29294
|
-
onOpenChange:
|
|
29294
|
+
onOpenChange: d,
|
|
29295
29295
|
children: [/* @__PURE__ */ W(kR, {
|
|
29296
29296
|
asChild: !0,
|
|
29297
29297
|
children: /* @__PURE__ */ G(fb, {
|
|
@@ -29307,7 +29307,7 @@ function aK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date", disa
|
|
|
29307
29307
|
nK(t.from, a),
|
|
29308
29308
|
" → ",
|
|
29309
29309
|
nK(t.to, a)
|
|
29310
|
-
] }) : /* @__PURE__ */ G(ce, { children: [nK(t.from, a), " → …"] }) : /* @__PURE__ */ G(ce, { children: ["… → ", nK(t.to, a)] }) : /* @__PURE__ */ W("span", { children: r }), /* @__PURE__ */ W(
|
|
29310
|
+
] }) : /* @__PURE__ */ G(ce, { children: [nK(t.from, a), " → …"] }) : /* @__PURE__ */ G(ce, { children: ["… → ", nK(t.to, a)] }) : /* @__PURE__ */ W("span", { children: r }), /* @__PURE__ */ W(f, { "aria-hidden": "true" })]
|
|
29311
29311
|
})
|
|
29312
29312
|
}), /* @__PURE__ */ W(AR, {
|
|
29313
29313
|
className: "w-auto p-0",
|
|
@@ -29337,7 +29337,7 @@ function sK(e, t) {
|
|
|
29337
29337
|
//#endregion
|
|
29338
29338
|
//#region src/composed/DatePicker/DateTimePicker.tsx
|
|
29339
29339
|
function cK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and time", disabled: i = !1, dateTimeFormat: a = "PP '@' HH:mm:ss", locale: o, className: s, side: c = "bottom", align: l = "start", "aria-label": u }) {
|
|
29340
|
-
let
|
|
29340
|
+
let d = (/* @__PURE__ */ new Date()).getFullYear(), p = new Date(d - 10, 0), m = new Date(d + 10, 11), h = z(), g = e ?? h, [_, v] = V(!1);
|
|
29341
29341
|
function y(e) {
|
|
29342
29342
|
if (!e) {
|
|
29343
29343
|
n?.(void 0);
|
|
@@ -29362,7 +29362,7 @@ function cK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
29362
29362
|
"aria-expanded": _,
|
|
29363
29363
|
"aria-label": u,
|
|
29364
29364
|
className: Y("w-full min-w-[13rem] justify-between font-normal", !t && "text-muted-foreground", s),
|
|
29365
|
-
children: [t ? nK(t, a) : r, /* @__PURE__ */ W(
|
|
29365
|
+
children: [t ? nK(t, a) : r, /* @__PURE__ */ W(f, { "aria-hidden": "true" })]
|
|
29366
29366
|
})
|
|
29367
29367
|
}), /* @__PURE__ */ G(AR, {
|
|
29368
29368
|
className: "w-auto overflow-hidden p-0",
|
|
@@ -29402,7 +29402,7 @@ function cK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
29402
29402
|
//#endregion
|
|
29403
29403
|
//#region src/composed/DatePicker/DateTimeRangePicker.tsx
|
|
29404
29404
|
var lK = "00:00:00", uK = "23:59:59";
|
|
29405
|
-
function dK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and time range", disabled: i = !1, fromLabel: a = "From", toLabel: o = "To", dateTimeFormat: s = "PP '@' HH:mm", locale: c, className: l, side: u = "bottom", align:
|
|
29405
|
+
function dK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and time range", disabled: i = !1, fromLabel: a = "From", toLabel: o = "To", dateTimeFormat: s = "PP '@' HH:mm", locale: c, className: l, side: u = "bottom", align: d = "start", numberOfMonths: p = 2, "aria-label": m }) {
|
|
29406
29406
|
let h = (/* @__PURE__ */ new Date()).getFullYear(), g = new Date(h - 10, 0), _ = new Date(h + 10, 11), v = z(), y = e ?? v, [b, x] = V(!1), S = oK(t?.from, lK), C = oK(t?.to, uK);
|
|
29407
29407
|
function w(e) {
|
|
29408
29408
|
if (!e) {
|
|
@@ -29446,12 +29446,12 @@ function dK({ id: e, value: t, onChange: n, placeholder: r = "Pick a date and ti
|
|
|
29446
29446
|
"aria-expanded": b,
|
|
29447
29447
|
"aria-label": m,
|
|
29448
29448
|
className: Y("w-full min-w-[22rem] justify-between font-normal", !(t?.from || t?.to) && "text-muted-foreground", l),
|
|
29449
|
-
children: [D(), /* @__PURE__ */ W(
|
|
29449
|
+
children: [D(), /* @__PURE__ */ W(f, { "aria-hidden": "true" })]
|
|
29450
29450
|
})
|
|
29451
29451
|
}), /* @__PURE__ */ G(AR, {
|
|
29452
29452
|
className: "w-auto overflow-hidden p-0",
|
|
29453
29453
|
side: u,
|
|
29454
|
-
align:
|
|
29454
|
+
align: d,
|
|
29455
29455
|
children: [
|
|
29456
29456
|
/* @__PURE__ */ W(jw, {
|
|
29457
29457
|
mode: "range",
|
|
@@ -29617,7 +29617,7 @@ function gK({ className: e, item: t, onRemove: n, ...r }) {
|
|
|
29617
29617
|
onClick: () => n(t.id),
|
|
29618
29618
|
"aria-label": `Remove ${t.file.name}`,
|
|
29619
29619
|
className: "text-muted-foreground",
|
|
29620
|
-
children: /* @__PURE__ */ W(
|
|
29620
|
+
children: /* @__PURE__ */ W(h, {})
|
|
29621
29621
|
}) }) : null
|
|
29622
29622
|
]
|
|
29623
29623
|
});
|
|
@@ -30436,17 +30436,17 @@ function Zq(e, t) {
|
|
|
30436
30436
|
//#endregion
|
|
30437
30437
|
//#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
|
|
30438
30438
|
function Qq({ schema: e, name: t, depth: n }) {
|
|
30439
|
-
let { ctx: r, path: i, fields: a, append: o, remove: s, fieldState: c, isDisabled: l, atMin:
|
|
30440
|
-
function
|
|
30441
|
-
o(eJ(
|
|
30439
|
+
let { ctx: r, path: i, fields: a, append: o, remove: s, fieldState: c, isDisabled: l, atMin: u, atMax: d } = Zq(e, t), f = e.items, p = FK(e, t), m = e.gioConfig?.uiBorder === "full";
|
|
30440
|
+
function h() {
|
|
30441
|
+
o(eJ(f), { shouldFocus: !1 });
|
|
30442
30442
|
}
|
|
30443
30443
|
return /* @__PURE__ */ G(XF, {
|
|
30444
30444
|
"aria-required": e.isRequired || void 0,
|
|
30445
|
-
className:
|
|
30445
|
+
className: m ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
|
|
30446
30446
|
children: [
|
|
30447
30447
|
/* @__PURE__ */ W(ZF, {
|
|
30448
|
-
className:
|
|
30449
|
-
children:
|
|
30448
|
+
className: m ? "px-2 text-base font-semibold" : "text-base font-semibold",
|
|
30449
|
+
children: p
|
|
30450
30450
|
}),
|
|
30451
30451
|
e.description && /* @__PURE__ */ W(iI, { children: e.description }),
|
|
30452
30452
|
/* @__PURE__ */ W("div", {
|
|
@@ -30454,10 +30454,10 @@ function Qq({ schema: e, name: t, depth: n }) {
|
|
|
30454
30454
|
children: a.map((e, t) => /* @__PURE__ */ W($q, {
|
|
30455
30455
|
index: t,
|
|
30456
30456
|
path: i,
|
|
30457
|
-
itemsSchema:
|
|
30457
|
+
itemsSchema: f,
|
|
30458
30458
|
depth: n,
|
|
30459
30459
|
disabled: l,
|
|
30460
|
-
canRemove: !l && !
|
|
30460
|
+
canRemove: !l && !u,
|
|
30461
30461
|
onRemove: () => s(t),
|
|
30462
30462
|
ctx: r
|
|
30463
30463
|
}, e.id))
|
|
@@ -30468,16 +30468,16 @@ function Qq({ schema: e, name: t, depth: n }) {
|
|
|
30468
30468
|
type: "button",
|
|
30469
30469
|
variant: "outline",
|
|
30470
30470
|
size: "sm",
|
|
30471
|
-
disabled: l ||
|
|
30472
|
-
onClick:
|
|
30473
|
-
children: [/* @__PURE__ */ W(
|
|
30471
|
+
disabled: l || d,
|
|
30472
|
+
onClick: h,
|
|
30473
|
+
children: [/* @__PURE__ */ W(O, { "aria-hidden": "true" }), "Add"]
|
|
30474
30474
|
})
|
|
30475
30475
|
}),
|
|
30476
30476
|
/* @__PURE__ */ W(oI, { errors: MK(c.error) })
|
|
30477
30477
|
]
|
|
30478
30478
|
});
|
|
30479
30479
|
}
|
|
30480
|
-
function $q({ index: e, path: t, itemsSchema: n, depth: r, disabled: i, canRemove: a, onRemove:
|
|
30480
|
+
function $q({ index: e, path: t, itemsSchema: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: c }) {
|
|
30481
30481
|
let l = `${t}.${e}`;
|
|
30482
30482
|
return /* @__PURE__ */ G(Vw, {
|
|
30483
30483
|
defaultOpen: !0,
|
|
@@ -30490,7 +30490,7 @@ function $q({ index: e, path: t, itemsSchema: n, depth: r, disabled: i, canRemov
|
|
|
30490
30490
|
type: "button",
|
|
30491
30491
|
className: "group/array-item-trigger flex flex-1 items-center gap-2 px-1 py-2 text-left text-sm font-medium outline-none focus-visible:ring-2 focus-visible:ring-ring/50",
|
|
30492
30492
|
"aria-label": `Toggle item ${e + 1}`,
|
|
30493
|
-
children: [/* @__PURE__ */ W(
|
|
30493
|
+
children: [/* @__PURE__ */ W(s, {
|
|
30494
30494
|
"aria-hidden": "true",
|
|
30495
30495
|
className: "size-4 text-muted-foreground transition-transform duration-150 group-data-[state=closed]/array-item-trigger:-rotate-90"
|
|
30496
30496
|
}), /* @__PURE__ */ G("span", { children: ["Item ", e + 1] })]
|
|
@@ -30501,8 +30501,8 @@ function $q({ index: e, path: t, itemsSchema: n, depth: r, disabled: i, canRemov
|
|
|
30501
30501
|
size: "icon-xs",
|
|
30502
30502
|
disabled: !a,
|
|
30503
30503
|
"aria-label": `Remove item ${e + 1}`,
|
|
30504
|
-
onClick:
|
|
30505
|
-
children: /* @__PURE__ */ W(
|
|
30504
|
+
onClick: o,
|
|
30505
|
+
children: /* @__PURE__ */ W(h, { "aria-hidden": "true" })
|
|
30506
30506
|
})]
|
|
30507
30507
|
}), /* @__PURE__ */ W(Uw, { children: /* @__PURE__ */ W("div", {
|
|
30508
30508
|
className: "pt-2 pb-4 pl-6",
|
|
@@ -30528,10 +30528,10 @@ function eJ(e) {
|
|
|
30528
30528
|
//#endregion
|
|
30529
30529
|
//#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
|
|
30530
30530
|
function tJ({ schema: e, name: t }) {
|
|
30531
|
-
let { path: n, fields: r, append: i, remove: a, fieldState: o, isDisabled: s, atMin: c, atMax: l } = Zq(e, t),
|
|
30532
|
-
function
|
|
30531
|
+
let { path: n, fields: r, append: i, remove: a, fieldState: o, isDisabled: s, atMin: c, atMax: l } = Zq(e, t), u = e.items, d = u && !Array.isArray(u) ? u.properties ?? {} : {}, f = Object.keys(d), p = FK(e, t);
|
|
30532
|
+
function m() {
|
|
30533
30533
|
let e = {};
|
|
30534
|
-
for (let t of
|
|
30534
|
+
for (let t of f) e[t] = IK(d[t]);
|
|
30535
30535
|
i(e, { shouldFocus: !1 });
|
|
30536
30536
|
}
|
|
30537
30537
|
return /* @__PURE__ */ G(XF, {
|
|
@@ -30539,22 +30539,22 @@ function tJ({ schema: e, name: t }) {
|
|
|
30539
30539
|
children: [
|
|
30540
30540
|
/* @__PURE__ */ W(ZF, {
|
|
30541
30541
|
className: "text-base font-semibold",
|
|
30542
|
-
children:
|
|
30542
|
+
children: p
|
|
30543
30543
|
}),
|
|
30544
30544
|
e.description && /* @__PURE__ */ W(iI, { children: e.description }),
|
|
30545
30545
|
/* @__PURE__ */ W("div", {
|
|
30546
30546
|
className: "overflow-hidden rounded-lg border",
|
|
30547
|
-
children: /* @__PURE__ */ G(TH, { children: [/* @__PURE__ */ W(EH, { children: /* @__PURE__ */ G(kH, { children: [
|
|
30547
|
+
children: /* @__PURE__ */ G(TH, { children: [/* @__PURE__ */ W(EH, { children: /* @__PURE__ */ G(kH, { children: [f.map((e) => /* @__PURE__ */ W(AH, {
|
|
30548
30548
|
scope: "col",
|
|
30549
|
-
children: iJ(
|
|
30549
|
+
children: iJ(d[e], e)
|
|
30550
30550
|
}, e)), /* @__PURE__ */ W(AH, {
|
|
30551
30551
|
"aria-hidden": "true",
|
|
30552
30552
|
className: "w-px"
|
|
30553
30553
|
})] }) }), /* @__PURE__ */ W(DH, { children: r.map((e, t) => /* @__PURE__ */ W(nJ, {
|
|
30554
30554
|
rowIndex: t,
|
|
30555
30555
|
rowPath: `${n}.${t}`,
|
|
30556
|
-
columnKeys:
|
|
30557
|
-
itemProperties:
|
|
30556
|
+
columnKeys: f,
|
|
30557
|
+
itemProperties: d,
|
|
30558
30558
|
disabled: s,
|
|
30559
30559
|
canRemove: !s && !c,
|
|
30560
30560
|
onRemove: () => a(t)
|
|
@@ -30565,8 +30565,8 @@ function tJ({ schema: e, name: t }) {
|
|
|
30565
30565
|
variant: "outline",
|
|
30566
30566
|
size: "sm",
|
|
30567
30567
|
disabled: s || l,
|
|
30568
|
-
onClick:
|
|
30569
|
-
children: [/* @__PURE__ */ W(
|
|
30568
|
+
onClick: m,
|
|
30569
|
+
children: [/* @__PURE__ */ W(O, { "aria-hidden": "true" }), "Add"]
|
|
30570
30570
|
}) }),
|
|
30571
30571
|
/* @__PURE__ */ W(oI, { errors: MK(o.error) })
|
|
30572
30572
|
]
|
|
@@ -30588,7 +30588,7 @@ function nJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disable
|
|
|
30588
30588
|
disabled: !a,
|
|
30589
30589
|
"aria-label": `Remove row ${e + 1}`,
|
|
30590
30590
|
onClick: o,
|
|
30591
|
-
children: /* @__PURE__ */ W(
|
|
30591
|
+
children: /* @__PURE__ */ W(h, { "aria-hidden": "true" })
|
|
30592
30592
|
})
|
|
30593
30593
|
})] });
|
|
30594
30594
|
}
|
|
@@ -30955,7 +30955,7 @@ function MJ({ schema: e, name: t }) {
|
|
|
30955
30955
|
let { control: n, basePath: r, disabled: i } = jK(), a = t ? r ? `${r}.${t}` : t : r, { field: o, fieldState: s } = hq({
|
|
30956
30956
|
control: n,
|
|
30957
30957
|
name: a
|
|
30958
|
-
}), [c,
|
|
30958
|
+
}), [c, l] = V(!1), d = FK(e, t), f = i || e.readOnly === !0, p = s.invalid, h = {
|
|
30959
30959
|
id: a,
|
|
30960
30960
|
value: typeof o.value == "string" ? o.value : "",
|
|
30961
30961
|
onChange: o.onChange,
|
|
@@ -30973,22 +30973,22 @@ function MJ({ schema: e, name: t }) {
|
|
|
30973
30973
|
htmlFor: a,
|
|
30974
30974
|
children: d
|
|
30975
30975
|
}),
|
|
30976
|
-
e.format === "text" ? /* @__PURE__ */ W(eM, { ...
|
|
30977
|
-
...
|
|
30976
|
+
e.format === "text" ? /* @__PURE__ */ W(eM, { ...h }) : e.format === "password" ? /* @__PURE__ */ G(tM, { children: [/* @__PURE__ */ W(sM, {
|
|
30977
|
+
...h,
|
|
30978
30978
|
type: c ? "text" : "password",
|
|
30979
30979
|
pattern: e.pattern
|
|
30980
30980
|
}), /* @__PURE__ */ W(rM, {
|
|
30981
30981
|
align: "inline-end",
|
|
30982
30982
|
children: /* @__PURE__ */ W(aM, {
|
|
30983
30983
|
size: "icon-xs",
|
|
30984
|
-
onClick: () =>
|
|
30984
|
+
onClick: () => l((e) => !e),
|
|
30985
30985
|
"aria-label": c ? "Hide password" : "Show password",
|
|
30986
30986
|
"aria-pressed": c,
|
|
30987
30987
|
disabled: f,
|
|
30988
|
-
children: W(c ?
|
|
30988
|
+
children: W(c ? u : m, { "aria-hidden": "true" })
|
|
30989
30989
|
})
|
|
30990
30990
|
})] }) : /* @__PURE__ */ W($j, {
|
|
30991
|
-
...
|
|
30991
|
+
...h,
|
|
30992
30992
|
type: "text",
|
|
30993
30993
|
pattern: e.pattern
|
|
30994
30994
|
}),
|