@gravitee/graphene-core 3.31.1-fix-policy-studio-avro-step-validity.91b7d84 → 3.31.1
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/composed/JsonSchemaForm/index.d.ts +0 -1
- package/dist/composed/JsonSchemaForm/index.d.ts.map +1 -1
- package/dist/index.js +21 -77
- package/package.json +1 -2
- package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts +0 -17
- package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts.map +0 -1
|
@@ -3,7 +3,6 @@ export type { JsonSchemaFormProps } from './JsonSchemaForm';
|
|
|
3
3
|
export { composeResolvers } from './form-bindings/composeResolvers';
|
|
4
4
|
export { extractDefaults } from './form-bindings/extractDefaults';
|
|
5
5
|
export { jsonSchemaResolver } from './form-bindings/jsonSchemaResolver';
|
|
6
|
-
export { pruneHiddenValues } from './form-bindings/pruneHiddenValues';
|
|
7
6
|
export type { GioBannerConfig, GioConfig, GioIfConfig, JsonSchema } from './models/json-schema.types';
|
|
8
7
|
export type { JsonSchemaResolverOptions } from './models/jsonSchemaResolver.types';
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACtG,YAAY,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -35602,64 +35602,8 @@ function rQ(e, t, n, r) {
|
|
|
35602
35602
|
}), i;
|
|
35603
35603
|
}
|
|
35604
35604
|
//#endregion
|
|
35605
|
-
//#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
|
|
35606
|
-
var iQ = /* @__PURE__ */ new WeakMap();
|
|
35607
|
-
function aQ(e) {
|
|
35608
|
-
let t = iQ.get(e);
|
|
35609
|
-
if (t === void 0) {
|
|
35610
|
-
try {
|
|
35611
|
-
t = JY(e).root;
|
|
35612
|
-
} catch {
|
|
35613
|
-
t = null;
|
|
35614
|
-
}
|
|
35615
|
-
iQ.set(e, t);
|
|
35616
|
-
}
|
|
35617
|
-
return t;
|
|
35618
|
-
}
|
|
35619
|
-
function oQ(e, t, n) {
|
|
35620
|
-
let r = aQ(e);
|
|
35621
|
-
if (!r) return t;
|
|
35622
|
-
let i = structuredClone(t);
|
|
35623
|
-
for (; sQ(r, i, "", i, n););
|
|
35624
|
-
return i;
|
|
35625
|
-
}
|
|
35626
|
-
function sQ(e, t, n, r, i) {
|
|
35627
|
-
if (Array.isArray(t)) {
|
|
35628
|
-
let { items: a } = e;
|
|
35629
|
-
if (!a) return !1;
|
|
35630
|
-
let o = !1;
|
|
35631
|
-
return t.forEach((e, t) => {
|
|
35632
|
-
sQ(a, e, uQ(n, String(t)), r, i) && (o = !0);
|
|
35633
|
-
}), o;
|
|
35634
|
-
}
|
|
35635
|
-
if (typeof t != "object" || !t) return !1;
|
|
35636
|
-
let a = t, o = !1;
|
|
35637
|
-
for (let [t, s] of cQ(e, a, n, r, i)) {
|
|
35638
|
-
if (!(t in a)) continue;
|
|
35639
|
-
let e = uQ(n, t);
|
|
35640
|
-
s.displayIf && !lQ(s.displayIf, e, r, i) ? (delete a[t], o = !0) : sQ(s, a[t], e, r, i) && (o = !0);
|
|
35641
|
-
}
|
|
35642
|
-
return o;
|
|
35643
|
-
}
|
|
35644
|
-
function cQ(e, t, n, r, i) {
|
|
35645
|
-
let a = [...e.properties ?? []], o = [...e.dependencyBranches ?? []];
|
|
35646
|
-
if (e.variants && e.variants.length > 0) {
|
|
35647
|
-
let n = wY(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
|
|
35648
|
-
r && (a.push(...r.properties), o.push(...r.dependencyBranches ?? []));
|
|
35649
|
-
}
|
|
35650
|
-
for (let e of o) lQ(e.showIf, n, r, i) && a.push(...e.properties);
|
|
35651
|
-
return a;
|
|
35652
|
-
}
|
|
35653
|
-
function lQ(e, t, n, r) {
|
|
35654
|
-
let i = wJ(e, t);
|
|
35655
|
-
return yJ(i, new Map([...i.$eq.keys()].map((e) => [e, vJ(n, e)])), r);
|
|
35656
|
-
}
|
|
35657
|
-
function uQ(e, t) {
|
|
35658
|
-
return e ? `${e}.${t}` : t;
|
|
35659
|
-
}
|
|
35660
|
-
//#endregion
|
|
35661
35605
|
//#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
|
|
35662
|
-
var
|
|
35606
|
+
var iQ = {
|
|
35663
35607
|
navigation: null,
|
|
35664
35608
|
contextSidebar: null,
|
|
35665
35609
|
breadcrumbs: [],
|
|
@@ -35670,9 +35614,9 @@ var dQ = {
|
|
|
35670
35614
|
banner: null,
|
|
35671
35615
|
bannerSticky: !1,
|
|
35672
35616
|
footer: null
|
|
35673
|
-
},
|
|
35674
|
-
function
|
|
35675
|
-
let [t, n] = Je(
|
|
35617
|
+
}, aQ = Pe(null);
|
|
35618
|
+
function oQ({ children: e }) {
|
|
35619
|
+
let [t, n] = Je(iQ), r = Re((e, t) => {
|
|
35676
35620
|
n((n) => ({
|
|
35677
35621
|
...n,
|
|
35678
35622
|
[e]: t
|
|
@@ -35684,7 +35628,7 @@ function pQ({ children: e }) {
|
|
|
35684
35628
|
}));
|
|
35685
35629
|
}, []), a = Re((e) => {
|
|
35686
35630
|
n((t) => {
|
|
35687
|
-
let n = Object.fromEntries(e.map((e) => [e,
|
|
35631
|
+
let n = Object.fromEntries(e.map((e) => [e, iQ[e]]));
|
|
35688
35632
|
return {
|
|
35689
35633
|
...t,
|
|
35690
35634
|
...n
|
|
@@ -35701,20 +35645,20 @@ function pQ({ children: e }) {
|
|
|
35701
35645
|
i,
|
|
35702
35646
|
a
|
|
35703
35647
|
]);
|
|
35704
|
-
return /* @__PURE__ */ W(
|
|
35648
|
+
return /* @__PURE__ */ W(aQ.Provider, {
|
|
35705
35649
|
value: o,
|
|
35706
35650
|
children: e
|
|
35707
35651
|
});
|
|
35708
35652
|
}
|
|
35709
|
-
function
|
|
35710
|
-
let e = ze(
|
|
35653
|
+
function sQ() {
|
|
35654
|
+
let e = ze(aQ);
|
|
35711
35655
|
if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
|
|
35712
35656
|
return e;
|
|
35713
35657
|
}
|
|
35714
35658
|
//#endregion
|
|
35715
35659
|
//#region src/composed/LayoutSlots/use-layout-config.ts
|
|
35716
|
-
function
|
|
35717
|
-
let { setSlots: n, resetSlots: r } =
|
|
35660
|
+
function cQ(e, t = []) {
|
|
35661
|
+
let { setSlots: n, resetSlots: r } = sQ();
|
|
35718
35662
|
We(() => {
|
|
35719
35663
|
n(e);
|
|
35720
35664
|
let t = Object.keys(e);
|
|
@@ -35729,16 +35673,16 @@ function hQ(e, t = []) {
|
|
|
35729
35673
|
}
|
|
35730
35674
|
//#endregion
|
|
35731
35675
|
//#region src/composed/PageFocused/PageFocused.tsx
|
|
35732
|
-
function
|
|
35676
|
+
function lQ({ children: e, className: n }) {
|
|
35733
35677
|
return /* @__PURE__ */ W("div", {
|
|
35734
35678
|
className: t("mx-auto w-full max-w-focused", n),
|
|
35735
35679
|
children: e
|
|
35736
35680
|
});
|
|
35737
35681
|
}
|
|
35738
|
-
|
|
35682
|
+
lQ.displayName = "PageFocused";
|
|
35739
35683
|
//#endregion
|
|
35740
35684
|
//#region src/composed/PageHeader/PageHeader.tsx
|
|
35741
|
-
function
|
|
35685
|
+
function uQ({ title: e, description: n, actions: r, children: i, className: a }) {
|
|
35742
35686
|
return /* @__PURE__ */ G("header", {
|
|
35743
35687
|
"data-slot": "page-header",
|
|
35744
35688
|
className: t("flex flex-col gap-3", a),
|
|
@@ -35767,10 +35711,10 @@ function _Q({ title: e, description: n, actions: r, children: i, className: a })
|
|
|
35767
35711
|
}) : null]
|
|
35768
35712
|
});
|
|
35769
35713
|
}
|
|
35770
|
-
|
|
35714
|
+
uQ.displayName = "PageHeader";
|
|
35771
35715
|
//#endregion
|
|
35772
35716
|
//#region src/composed/SearchField/SearchField.tsx
|
|
35773
|
-
function
|
|
35717
|
+
function dQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, ...s }) {
|
|
35774
35718
|
let [c, l] = Je(t), u = qe(null), d = qe(t), f = qe(void 0), p = qe(n);
|
|
35775
35719
|
Ue(e, () => u.current, []), Ve(() => {
|
|
35776
35720
|
p.current = n;
|
|
@@ -35828,10 +35772,10 @@ function vQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
|
|
|
35828
35772
|
]
|
|
35829
35773
|
});
|
|
35830
35774
|
}
|
|
35831
|
-
|
|
35775
|
+
dQ.displayName = "SearchField";
|
|
35832
35776
|
//#endregion
|
|
35833
35777
|
//#region src/composed/TopNavUser/TopNavUser.tsx
|
|
35834
|
-
var
|
|
35778
|
+
var fQ = [
|
|
35835
35779
|
{
|
|
35836
35780
|
value: "light",
|
|
35837
35781
|
label: "Light"
|
|
@@ -35845,7 +35789,7 @@ var yQ = [
|
|
|
35845
35789
|
label: "System"
|
|
35846
35790
|
}
|
|
35847
35791
|
];
|
|
35848
|
-
function
|
|
35792
|
+
function pQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
|
|
35849
35793
|
let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Ae();
|
|
35850
35794
|
return /* @__PURE__ */ G(lL, { children: [/* @__PURE__ */ W(dL, {
|
|
35851
35795
|
asChild: !0,
|
|
@@ -35874,7 +35818,7 @@ function bQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
35874
35818
|
/* @__PURE__ */ W(gL, {
|
|
35875
35819
|
value: c,
|
|
35876
35820
|
onValueChange: (e) => l(e),
|
|
35877
|
-
children:
|
|
35821
|
+
children: fQ.map((e) => /* @__PURE__ */ W(_L, {
|
|
35878
35822
|
value: e.value,
|
|
35879
35823
|
children: e.label
|
|
35880
35824
|
}, e.value))
|
|
@@ -35887,6 +35831,6 @@ function bQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
35887
35831
|
]
|
|
35888
35832
|
})] });
|
|
35889
35833
|
}
|
|
35890
|
-
|
|
35834
|
+
pQ.displayName = "TopNavUser";
|
|
35891
35835
|
//#endregion
|
|
35892
|
-
export { Lv as Accordion, Bv as AccordionContent, Rv as AccordionItem, zv as AccordionTrigger, h as Alert, o as AlertAction, a as AlertDescription, f as AlertTitle, CW as AppContextBar, NW as AppLayout, IW as AppSidebar, bW as AppSwitcher, Vv as Avatar, Wv as AvatarBadge, Uv as AvatarFallback, Gv as AvatarGroup, Kv as AvatarGroupCount, Hv as AvatarImage, Jv as Badge, UK as BadgeCell, Yv as Breadcrumb, ty as BreadcrumbEllipsis, Zv as BreadcrumbItem, Qv as BreadcrumbLink, Xv as BreadcrumbList, $v as BreadcrumbPage, ey as BreadcrumbSeparator, ry as Button, ay as ButtonGroup, sy as ButtonGroupSeparator, oy as ButtonGroupText, bC as Calendar, xC as CalendarDayButton, SC as Card, EC as CardAction, DC as CardContent, TC as CardDescription, OC as CardFooter, CC as CardHeader, wC as CardTitle, kC as Checkbox, AC as Collapsible, MC as CollapsibleContent, jC as CollapsibleTrigger, XA as Combobox, uj as ComboboxChip, lj as ComboboxChips, dj as ComboboxChipsInput, oj as ComboboxCollection, tj as ComboboxContent, sj as ComboboxEmpty, ij as ComboboxGroup, ej as ComboboxInput, rj as ComboboxItem, aj as ComboboxLabel, nj as ComboboxList, cj as ComboboxSeparator, QA as ComboboxTrigger, ZA as ComboboxValue, wF as Command, TF as CommandDialog, OF as CommandEmpty, kF as CommandGroup, EF as CommandInput, jF as CommandItem, DF as CommandList, AF as CommandSeparator, MF as CommandShortcut, WW as ContentHeader, NF as ContextMenu, UF as ContextMenuCheckboxItem, zF as ContextMenuContent, FF as ContextMenuGroup, BF as ContextMenuItem, GF as ContextMenuLabel, IF as ContextMenuPortal, RF as ContextMenuRadioGroup, WF as ContextMenuRadioItem, KF as ContextMenuSeparator, qF as ContextMenuShortcut, LF as ContextMenuSub, HF as ContextMenuSubContent, VF as ContextMenuSubTrigger, PF as ContextMenuTrigger, RW as ContextSidebar, zW as ContextToggleButton, GK as CopyableCell, GW as CopyableText,
|
|
35836
|
+
export { Lv as Accordion, Bv as AccordionContent, Rv as AccordionItem, zv as AccordionTrigger, h as Alert, o as AlertAction, a as AlertDescription, f as AlertTitle, CW as AppContextBar, NW as AppLayout, IW as AppSidebar, bW as AppSwitcher, Vv as Avatar, Wv as AvatarBadge, Uv as AvatarFallback, Gv as AvatarGroup, Kv as AvatarGroupCount, Hv as AvatarImage, Jv as Badge, UK as BadgeCell, Yv as Breadcrumb, ty as BreadcrumbEllipsis, Zv as BreadcrumbItem, Qv as BreadcrumbLink, Xv as BreadcrumbList, $v as BreadcrumbPage, ey as BreadcrumbSeparator, ry as Button, ay as ButtonGroup, sy as ButtonGroupSeparator, oy as ButtonGroupText, bC as Calendar, xC as CalendarDayButton, SC as Card, EC as CardAction, DC as CardContent, TC as CardDescription, OC as CardFooter, CC as CardHeader, wC as CardTitle, kC as Checkbox, AC as Collapsible, MC as CollapsibleContent, jC as CollapsibleTrigger, XA as Combobox, uj as ComboboxChip, lj as ComboboxChips, dj as ComboboxChipsInput, oj as ComboboxCollection, tj as ComboboxContent, sj as ComboboxEmpty, ij as ComboboxGroup, ej as ComboboxInput, rj as ComboboxItem, aj as ComboboxLabel, nj as ComboboxList, cj as ComboboxSeparator, QA as ComboboxTrigger, ZA as ComboboxValue, wF as Command, TF as CommandDialog, OF as CommandEmpty, kF as CommandGroup, EF as CommandInput, jF as CommandItem, DF as CommandList, AF as CommandSeparator, MF as CommandShortcut, WW as ContentHeader, NF as ContextMenu, UF as ContextMenuCheckboxItem, zF as ContextMenuContent, FF as ContextMenuGroup, BF as ContextMenuItem, GF as ContextMenuLabel, IF as ContextMenuPortal, RF as ContextMenuRadioGroup, WF as ContextMenuRadioItem, KF as ContextMenuSeparator, qF as ContextMenuShortcut, LF as ContextMenuSub, HF as ContextMenuSubContent, VF as ContextMenuSubTrigger, PF as ContextMenuTrigger, RW as ContextSidebar, zW as ContextToggleButton, GK as CopyableCell, GW as CopyableText, iQ as DEFAULT_SLOTS, PK as DataTable, FK as DataTableColumnHeader, qK as DataTableEmptyState, vK as DataTablePagination, OK as DataTableViewOptions, HK as DateCell, nJ as DatePicker, rJ as DateRangePicker, oJ as DateTimePicker, lJ as DateTimeRangePicker, mF as Dialog, _F as DialogClose, yF as DialogContent, CF as DialogDescription, xF as DialogFooter, bF as DialogHeader, vF as DialogOverlay, gF as DialogPortal, SF as DialogTitle, hF as DialogTrigger, $I as Drawer, nL as DrawerClose, iL as DrawerContent, cL as DrawerDescription, oL as DrawerFooter, aL as DrawerHeader, rL as DrawerOverlay, tL as DrawerPortal, sL as DrawerTitle, eL as DrawerTrigger, lL as DropdownMenu, hL as DropdownMenuCheckboxItem, fL as DropdownMenuContent, pL as DropdownMenuGroup, mL as DropdownMenuItem, vL as DropdownMenuLabel, uL as DropdownMenuPortal, gL as DropdownMenuRadioGroup, _L as DropdownMenuRadioItem, yL as DropdownMenuSeparator, bL as DropdownMenuShortcut, xL as DropdownMenuSub, CL as DropdownMenuSubContent, SL as DropdownMenuSubTrigger, dL as DropdownMenuTrigger, dJ as ElCheatSheetTrigger, wL as Empty, AL as EmptyContent, kL as EmptyDescription, TL as EmptyHeader, DL as EmptyMedia, OL as EmptyTitle, fJ as FacetedFilter, j as Field, O as FieldContent, C as FieldDescription, S as FieldError, g as FieldGroup, I as FieldLabel, R as FieldLegend, v as FieldSeparator, ee as FieldSet, m as FieldTitle, _J as FileUpload, wz as FileUploadInput, gJ as FileUploadItem, Tz as HoverCard, Dz as HoverCardContent, Az as HoverCardDescription, Oz as HoverCardHeader, kz as HoverCardTitle, Ez as HoverCardTrigger, VA as Input, HA as InputGroup, WA as InputGroupAddon, KA as InputGroupButton, JA as InputGroupInput, qA as InputGroupText, YA as InputGroupTextarea, Pz as Item, Bz as ItemActions, Lz as ItemContent, zz as ItemDescription, Hz as ItemFooter, jz as ItemGroup, Vz as ItemHeader, Iz as ItemMedia, Mz as ItemSeparator, Rz as ItemTitle, aX as JsonSchemaForm, Uz as Kbd, Wz as KbdGroup, i as Label, oQ as LayoutSlotsProvider, qz as Logo, WK as MonoCell, lQ as PageFocused, uQ as PageHeader, Jz as Pagination, Yz as PaginationContent, eB as PaginationEllipsis, Xz as PaginationItem, Zz as PaginationLink, $z as PaginationNext, Qz as PaginationPrevious, NY as PasswordInput, tB as Popover, iB as PopoverAnchor, rB as PopoverContent, sB as PopoverDescription, aB as PopoverHeader, oB as PopoverTitle, nB as PopoverTrigger, _t as PortalContainerProvider, cB as Progress, uB as Prose, dB as RadioGroup, fB as RadioGroupItem, cH as ResizableHandle, sH as ResizablePanel, oH as ResizablePanelGroup, lH as ScrollArea, uH as ScrollBar, dQ as SearchField, dH as Select, hH as SelectContent, fH as SelectGroup, _H as SelectItem, gH as SelectLabel, bH as SelectScrollDownButton, yH as SelectScrollUpButton, vH as SelectSeparator, mH as SelectTrigger, pH as SelectValue, xW as SelectorDropdown, SW as SelectorTriggerButton, L as Separator, xH as Sheet, CH as SheetClose, EH as SheetContent, AH as SheetDescription, OH as SheetFooter, DH as SheetHeader, kH as SheetTitle, SH as SheetTrigger, YH as Sidebar, rU as SidebarContent, tU as SidebarFooter, iU as SidebarGroup, oU as SidebarGroupAction, sU as SidebarGroupContent, aU as SidebarGroupLabel, eU as SidebarHeader, $H as SidebarInput, QH as SidebarInset, cU as SidebarMenu, fU as SidebarMenuAction, pU as SidebarMenuBadge, dU as SidebarMenuButton, lU as SidebarMenuItem, mU as SidebarMenuSkeleton, hU as SidebarMenuSub, _U as SidebarMenuSubButton, gU as SidebarMenuSubItem, jW as SidebarModeControl, kW as SidebarModeProvider, LW as SidebarNavigation, JH as SidebarProvider, ZH as SidebarRail, nU as SidebarSeparator, XH as SidebarTrigger, VW as SidebarUpgradeFooter, n as Skeleton, ZU as Spinner, QU as Switch, $U as Table, tW as TableBody, oW as TableCaption, aW as TableCell, nW as TableFooter, iW as TableHead, eW as TableHeader, rW as TableRow, sW as Tabs, dW as TabsContent, lW as TabsList, uW as TabsTrigger, e as Textarea, je as ThemeProvider, XU as Toaster, pW as Toggle, hW as ToggleGroup, gW as ToggleGroupItem, MH as Tooltip, PH as TooltipContent, jH as TooltipProvider, NH as TooltipTrigger, pQ as TopNavUser, KK as TruncatedCell, E as alertVariants, qv as badgeVariants, KW as buildLinearBreadcrumbs, iy as buttonGroupVariants, ny as buttonVariants, t as cn, oX as composeResolvers, WJ as extractDefaults, XZ as jsonSchemaResolver, Kz as logoVariants, cW as tabsListVariants, PU as toast, fW as toggleVariants, fj as useComboboxAnchor, yt as useDebouncedValue, cQ as useLayoutConfig, sQ as useLayoutSlots, vt as usePortalContainer, qH as useSidebar, EW as useSidebarMode, Ae as useTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-core",
|
|
3
|
-
"version": "3.31.1
|
|
3
|
+
"version": "3.31.1",
|
|
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": [
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
105
|
"@fontsource/dm-sans": ">=5.0.0",
|
|
106
|
-
"@gravitee/graphene-core": "3.31.1-fix-policy-studio-avro-step-validity.91b7d84",
|
|
107
106
|
"@monaco-editor/react": "^4.7.0",
|
|
108
107
|
"@tanstack/react-table": "^8.0.0",
|
|
109
108
|
"@testing-library/dom": ">=10.0.0",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { JsonSchema } from '../models/json-schema.types';
|
|
2
|
-
/**
|
|
3
|
-
* Remove the values `<JsonSchemaForm>` would not hold: every field whose `gioConfig.displayIf`
|
|
4
|
-
* does not match. The form mounts such a field only while its condition matches and unregisters
|
|
5
|
-
* it when hidden, so its resolver never sees that value. A host that validates values without
|
|
6
|
-
* rendering the form passes them through this first to reach the same verdict.
|
|
7
|
-
*
|
|
8
|
-
* Covers object properties, the properties of the active `oneOf` / `anyOf` variant and of the
|
|
9
|
-
* active `dependencies` branches, at any depth and inside array items. `context` is the form's
|
|
10
|
-
* `context` prop, read by `context.X` conditions.
|
|
11
|
-
*
|
|
12
|
-
* Returns a copy: `values` is left untouched. A schema the form cannot index (cyclic `$ref`)
|
|
13
|
-
* returns `values` as is.
|
|
14
|
-
*/
|
|
15
|
-
declare function pruneHiddenValues<TValues extends Record<string, unknown>>(schema: JsonSchema, values: TValues, context?: Readonly<Record<string, unknown>>): TValues;
|
|
16
|
-
export { pruneHiddenValues };
|
|
17
|
-
//# sourceMappingURL=pruneHiddenValues.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pruneHiddenValues.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AA0B9D;;;;;;;;;;;;GAYG;AACH,iBAAS,iBAAiB,CAAC,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChE,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAC1C,OAAO,CAWT;AAyED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|