@umami/shiso 1.13.0 → 1.14.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/bin/shiso.mjs +0 -0
- package/dist/chunks/App.js +110 -110
- package/dist/chunks/architectureDiagram-5GKGNRK7.js +1 -1
- package/dist/chunks/chunk-GMAD6QVW.js +1 -1
- package/dist/chunks/cose-bilkent-JH36ORCC.js +1 -1
- package/dist/chunks/dist.js +1 -1
- package/dist/chunks/docs.js +200 -280
- package/dist/chunks/ganttDiagram-EL5Y4UJY.js +1 -1
- package/dist/chunks/src.js +1 -1
- package/dist/components.js +2 -2
- package/dist/entry-client.js +1 -1
- package/dist/entry-server.js +2 -2
- package/package.json +1 -1
- package/scripts/lib/openapi.mjs +24 -13
- package/src/components/OpenApiOperation.tsx +41 -62
- package/src/components/docs/Param.tsx +6 -0
- package/src/components/docs/PropertiesTable.tsx +52 -36
- package/src/components/docs/index.ts +2 -3
- package/src/components/docs/styles.ts +0 -8
- package/src/lib/openapi.ts +17 -1
- package/types/components.d.ts +4 -14
- package/src/components/docs/ParamField.tsx +0 -57
- package/src/components/docs/ResponseField.tsx +0 -48
package/dist/chunks/App.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as useFloatingNodeId, $n as
|
|
1
|
+
import { $ as useFloatingNodeId, $n as useRenderElement, $t as resolveIcon, A as safePolygon, An as isElementVisible, B as attachPreventUnmountOnClose, Bn as getTarget, Cn as getNextTabbable, D as useAnchorPositioning, Dn as findNonDisabledListIndex, Dt as Collapsible, E as getDisabledMountTransitionStyles, En as isOutsideEvent, Er as useNavigate, Et as Expandable, F as createInitialPopupStoreState, Fn as stopEvent, Ft as useCompositeItem, G as useTriggerDataForwarding, Gn as jsdom, H as useImplicitActiveTrigger, Hn as ARROW_LEFT, I as popupStoreSelectors, In as getFloatingFocusElement, J as useDismiss, Jn as useBaseUiId, K as useSyncedFloatingRootContext, Kn as webkit, L as PopupTriggerMap, Ln as isTypeableCombobox, M as useHoverFloatingInteraction, Mn as isListIndexDisabled, Mt as CodeGroup, N as useFocus, Nn as isVirtualClick, Nt as COMPOSITE_KEYS, O as popupTransitionStateMapping, On as getMaxListIndex, Ot as CollapsibleContent, P as usePopupHandleStore, Pn as isVirtualPointerEvent, Pt as inertValue, Q as FloatingTree, Qn as cn, R as FOCUSABLE_POPUP_PROPS, Rn as activeElement, Sn as useDirection, Sr as Route, T as usePositioner, Tn as getTabbableBeforeElement, Tr as useLocation, Tt as renderInlineMarkdown, U as useOpenStateTransitions, Un as ARROW_RIGHT, V as setPopupOpenState, Vn as ARROW_DOWN, W as usePopupInteractionProps, Wn as ARROW_UP, X as FloatingFocusManager, Xn as useTimeout, Xt as Badge$1, Y as useClick, Yn as useId$2, Yt as Badge, Z as FloatingNode, Zn as Button, _n as triggerPress, _r as Check, a as DialogTitle, an as useAnimationFrame, ar as ownerDocument, at as POPUP_COLLISION_AVOIDANCE, br as Link, bt as usePanelContent, c as useOpenInteractionType, cn as escapeKey, cr as useIsoLayoutEffect, ct as fastComponent, d as useScrollLock, dn as itemPress, dr as getParentNode, en as getIcon, er as EMPTY_ARRAY, et as useFloatingParentNodeId, f as DialogPortal$1, fn as listNavigation, fr as getWindow, g as DialogBackdrop, gn as triggerHover, gr as ChevronRight, gt as PropertiesTable, h as DialogClose, hn as triggerFocus, hr as X$1, i as DialogContent$1, in as useCompositeListItem, ir as dispatchClickWithModifiers, it as DROPDOWN_COLLISION_AVOIDANCE, j as useHoverReferenceInteraction, jn as isIndexOutOfListBounds, k as pressableTriggerOpenStateMapping, kn as getMinListIndex, kt as CollapsibleTrigger, l as DialogTitle$1, ln as focusOut, lr as useStableCallback, lt as fastComponentRef, m as DialogPopup, mn as siblingOpen, mr as isLastTraversableNode, n as ZoomableImage, nn as useAnimationsFinished, nr as useMergedRefs, nt as FloatingTreeStore, o as DialogTrigger, on as createChangeEventDetails, or as useCompositeRootContext, ot as enqueueFocus, p as InternalBackdrop, pn as outsidePress, pr as isHTMLElement, q as ReactStore, qn as mac, r as Dialog$1, rn as useValueAsRef, rr as useButton, rt as FloatingPortal, s as DialogTrigger$1, sn as cancelOpen, sr as mergeProps$1, st as FocusGuard, t as docs_exports, tn as useOpenChangeComplete, tr as EMPTY_OBJECT, tt as useFloatingTree, u as DialogRoot, un as imperativeAction, ur as useRefWithInit, vn as CompositeList, vr as createLucideIcon, w as TooltipProvider, wn as getTabbableAfterElement, wr as Routes, xn as addEventListener, xr as Navigate, yn as Mermaid, yt as PanelProvider, z as PopupHandleAttachment, zn as contains } from "./docs.js";
|
|
2
2
|
import { n as highlightTerms } from "./search.js";
|
|
3
3
|
import { resolveSearchProvider } from "../search.js";
|
|
4
4
|
import * as React from "react";
|
|
@@ -303,7 +303,7 @@ const __iconNode = [
|
|
|
303
303
|
const Sun = createLucideIcon("sun", __iconNode);
|
|
304
304
|
|
|
305
305
|
//#endregion
|
|
306
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
306
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/root/ScrollAreaRootContext.mjs
|
|
307
307
|
const ScrollAreaRootContext = /*#__PURE__*/ React.createContext(void 0);
|
|
308
308
|
ScrollAreaRootContext.displayName = "ScrollAreaRootContext";
|
|
309
309
|
function useScrollAreaRootContext() {
|
|
@@ -313,7 +313,7 @@ function useScrollAreaRootContext() {
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
//#endregion
|
|
316
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
316
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/utils/getOffset.mjs
|
|
317
317
|
function getOffset$1(element, prop, axis) {
|
|
318
318
|
if (!element) return 0;
|
|
319
319
|
const styles = getComputedStyle(element);
|
|
@@ -324,7 +324,7 @@ function getOffset$1(element, prop, axis) {
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
//#endregion
|
|
327
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
327
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/styles.mjs
|
|
328
328
|
const DISABLE_SCROLLBAR_CLASS_NAME = "base-ui-disable-scrollbar";
|
|
329
329
|
const styleDisableScrollbar = {
|
|
330
330
|
className: DISABLE_SCROLLBAR_CLASS_NAME,
|
|
@@ -340,7 +340,7 @@ const styleDisableScrollbar = {
|
|
|
340
340
|
styleDisableScrollbar.getElement.displayName = "styleDisableScrollbar.getElement";
|
|
341
341
|
|
|
342
342
|
//#endregion
|
|
343
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
343
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/root/stateAttributes.mjs
|
|
344
344
|
const attr = (name) => (value) => value ? { [name]: "" } : null;
|
|
345
345
|
const scrollAreaStateAttributesMapping = {
|
|
346
346
|
hasOverflowX: attr("data-has-overflow-x"),
|
|
@@ -353,7 +353,7 @@ const scrollAreaStateAttributesMapping = {
|
|
|
353
353
|
};
|
|
354
354
|
|
|
355
355
|
//#endregion
|
|
356
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
356
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs
|
|
357
357
|
const CSPContext = /*#__PURE__*/ React.createContext(void 0);
|
|
358
358
|
CSPContext.displayName = "CSPContext";
|
|
359
359
|
const DEFAULT_CSP_CONTEXT_VALUE = { disableStyleElements: false };
|
|
@@ -362,7 +362,7 @@ function useCSPContext() {
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
//#endregion
|
|
365
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
365
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/root/ScrollAreaRoot.mjs
|
|
366
366
|
const DEFAULT_COORDS = {
|
|
367
367
|
x: 0,
|
|
368
368
|
y: 0
|
|
@@ -622,7 +622,7 @@ function normalizeOverflowEdgeThreshold(threshold) {
|
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
//#endregion
|
|
625
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
625
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/viewport/ScrollAreaViewportContext.mjs
|
|
626
626
|
const ScrollAreaViewportContext = /*#__PURE__*/ React.createContext(void 0);
|
|
627
627
|
ScrollAreaViewportContext.displayName = "ScrollAreaViewportContext";
|
|
628
628
|
function useScrollAreaViewportContext() {
|
|
@@ -632,13 +632,13 @@ function useScrollAreaViewportContext() {
|
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
//#endregion
|
|
635
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
635
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/internals/clamp.mjs
|
|
636
636
|
function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {
|
|
637
637
|
return Math.max(min, Math.min(val, max));
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
//#endregion
|
|
641
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
641
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/scrollEdges.mjs
|
|
642
642
|
const SCROLL_EDGE_TOLERANCE_PX = 1;
|
|
643
643
|
function normalizeScrollOffset(value, max) {
|
|
644
644
|
if (max <= 0) return 0;
|
|
@@ -654,7 +654,7 @@ function normalizeScrollOffset(value, max) {
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
//#endregion
|
|
657
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
657
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/viewport/ScrollAreaViewport.mjs
|
|
658
658
|
const OVERFLOW_EDGE_VARS = [
|
|
659
659
|
"--scroll-area-overflow-x-start",
|
|
660
660
|
"--scroll-area-overflow-x-end",
|
|
@@ -909,7 +909,7 @@ function applyOverscrollThumb(thumbEl, sizeVar, scrollFromStart, maxScroll, cont
|
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
//#endregion
|
|
912
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
912
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/scrollbar/ScrollAreaScrollbarContext.mjs
|
|
913
913
|
const ScrollAreaScrollbarContext = /*#__PURE__*/ React.createContext(void 0);
|
|
914
914
|
ScrollAreaScrollbarContext.displayName = "ScrollAreaScrollbarContext";
|
|
915
915
|
function useScrollAreaScrollbarContext() {
|
|
@@ -919,7 +919,7 @@ function useScrollAreaScrollbarContext() {
|
|
|
919
919
|
}
|
|
920
920
|
|
|
921
921
|
//#endregion
|
|
922
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
922
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/scrollbar/ScrollAreaScrollbar.mjs
|
|
923
923
|
/**
|
|
924
924
|
* A vertical or horizontal scrollbar for the scroll area.
|
|
925
925
|
* Renders a `<div>` element.
|
|
@@ -1042,7 +1042,7 @@ const ScrollAreaScrollbar = /*#__PURE__*/ React.forwardRef(function ScrollAreaSc
|
|
|
1042
1042
|
ScrollAreaScrollbar.displayName = "ScrollAreaScrollbar";
|
|
1043
1043
|
|
|
1044
1044
|
//#endregion
|
|
1045
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
1045
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/content/ScrollAreaContent.mjs
|
|
1046
1046
|
/**
|
|
1047
1047
|
* A container for the content of the scroll area.
|
|
1048
1048
|
* Renders a `<div>` element.
|
|
@@ -1083,7 +1083,7 @@ const ScrollAreaContent = /*#__PURE__*/ React.forwardRef(function ScrollAreaCont
|
|
|
1083
1083
|
ScrollAreaContent.displayName = "ScrollAreaContent";
|
|
1084
1084
|
|
|
1085
1085
|
//#endregion
|
|
1086
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
1086
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/thumb/ScrollAreaThumb.mjs
|
|
1087
1087
|
/**
|
|
1088
1088
|
* The draggable part of the scrollbar that indicates the current scroll position.
|
|
1089
1089
|
* Renders a `<div>` element.
|
|
@@ -1116,7 +1116,7 @@ const ScrollAreaThumb = /*#__PURE__*/ React.forwardRef(function ScrollAreaThumb(
|
|
|
1116
1116
|
ScrollAreaThumb.displayName = "ScrollAreaThumb";
|
|
1117
1117
|
|
|
1118
1118
|
//#endregion
|
|
1119
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
1119
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/scroll-area/corner/ScrollAreaCorner.mjs
|
|
1120
1120
|
/**
|
|
1121
1121
|
* A small rectangular area that appears at the intersection of horizontal and vertical scrollbars.
|
|
1122
1122
|
* Renders a `<div>` element.
|
|
@@ -1261,7 +1261,7 @@ function CodeBlock({ children, className, style, ...rest }) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
1264
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/floating-ui-react/hooks/useListNavigation.mjs
|
|
1265
1265
|
const ESCAPE = "Escape";
|
|
1266
1266
|
function isStationaryWebKitPointer(event) {
|
|
1267
1267
|
return webkit && event.movementX === 0 && event.movementY === 0;
|
|
@@ -1702,7 +1702,7 @@ function useListNavigation(context, props) {
|
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
//#endregion
|
|
1705
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
1705
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/floating-ui-react/hooks/useTypeahead.mjs
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Provides a matching callback that can be used to focus an item as the user
|
|
1708
1708
|
* types, often used in tandem with `useListNavigation()`.
|
|
@@ -2043,7 +2043,7 @@ function ConfiguredIcon({ icon, size = 14 }) {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
|
|
2045
2045
|
//#endregion
|
|
2046
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2046
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/positioner/MenuPositionerContext.mjs
|
|
2047
2047
|
const MenuPositionerContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2048
2048
|
MenuPositionerContext.displayName = "MenuPositionerContext";
|
|
2049
2049
|
function useMenuPositionerContext(optional) {
|
|
@@ -2053,7 +2053,7 @@ function useMenuPositionerContext(optional) {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
2055
|
//#endregion
|
|
2056
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2056
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/root/MenuRootContext.mjs
|
|
2057
2057
|
const MenuRootContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2058
2058
|
MenuRootContext.displayName = "MenuRootContext";
|
|
2059
2059
|
function useMenuRootContext(optional) {
|
|
@@ -2063,7 +2063,7 @@ function useMenuRootContext(optional) {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
2065
|
//#endregion
|
|
2066
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2066
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/context-menu/root/ContextMenuRootContext.mjs
|
|
2067
2067
|
const ContextMenuRootContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2068
2068
|
ContextMenuRootContext.displayName = "ContextMenuRootContext";
|
|
2069
2069
|
function useContextMenuRootContext(optional = true) {
|
|
@@ -2073,7 +2073,7 @@ function useContextMenuRootContext(optional = true) {
|
|
|
2073
2073
|
}
|
|
2074
2074
|
|
|
2075
2075
|
//#endregion
|
|
2076
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2076
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/item/useMenuItemCommonProps.mjs
|
|
2077
2077
|
/**
|
|
2078
2078
|
* Returns common props shared by all menu item types.
|
|
2079
2079
|
* This hook extracts the shared logic for id, role, tabIndex, onKeyDown,
|
|
@@ -2133,7 +2133,7 @@ function useMenuItemCommonProps(params) {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
|
|
2135
2135
|
//#endregion
|
|
2136
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2136
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/item/useMenuItem.mjs
|
|
2137
2137
|
const REGULAR_ITEM = { type: "regular-item" };
|
|
2138
2138
|
function useMenuItem(params) {
|
|
2139
2139
|
const { closeOnClick, disabled, highlighted, id, store, typingRef = store.context.typingRef, nativeButton, itemMetadata, nodeId } = params;
|
|
@@ -2172,7 +2172,7 @@ function useMenuItem(params) {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
2174
|
//#endregion
|
|
2175
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2175
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/item/MenuItem.mjs
|
|
2176
2176
|
/**
|
|
2177
2177
|
* An individual interactive item in the menu.
|
|
2178
2178
|
* Renders a `<div>` element.
|
|
@@ -2222,7 +2222,7 @@ const MenuItem = /*#__PURE__*/ React.forwardRef(function MenuItem(componentProps
|
|
|
2222
2222
|
MenuItem.displayName = "MenuItem";
|
|
2223
2223
|
|
|
2224
2224
|
//#endregion
|
|
2225
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2225
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/toolbar/root/ToolbarRootContext.mjs
|
|
2226
2226
|
const ToolbarRootContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2227
2227
|
ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
2228
2228
|
function useToolbarRootContext(optional) {
|
|
@@ -2232,7 +2232,7 @@ function useToolbarRootContext(optional) {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
|
|
2234
2234
|
//#endregion
|
|
2235
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2235
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/popup/MenuPopup.mjs
|
|
2236
2236
|
/**
|
|
2237
2237
|
* A container for the menu items.
|
|
2238
2238
|
* Renders a `<div>` element.
|
|
@@ -2327,7 +2327,7 @@ const MenuPopup = /*#__PURE__*/ React.forwardRef(function MenuPopup(componentPro
|
|
|
2327
2327
|
MenuPopup.displayName = "MenuPopup";
|
|
2328
2328
|
|
|
2329
2329
|
//#endregion
|
|
2330
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2330
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/portal/MenuPortalContext.mjs
|
|
2331
2331
|
const MenuPortalContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2332
2332
|
MenuPortalContext.displayName = "MenuPortalContext";
|
|
2333
2333
|
function useMenuPortalContext() {
|
|
@@ -2337,7 +2337,7 @@ function useMenuPortalContext() {
|
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
2339
|
//#endregion
|
|
2340
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2340
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/portal/MenuPortal.mjs
|
|
2341
2341
|
/**
|
|
2342
2342
|
* A portal element that moves the popup to a different part of the DOM.
|
|
2343
2343
|
* By default, the portal element is appended to `<body>`.
|
|
@@ -2360,7 +2360,7 @@ const MenuPortal = /*#__PURE__*/ React.forwardRef(function MenuPortal(props, for
|
|
|
2360
2360
|
MenuPortal.displayName = "MenuPortal";
|
|
2361
2361
|
|
|
2362
2362
|
//#endregion
|
|
2363
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2363
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/useAnchoredPopupScrollLock.mjs
|
|
2364
2364
|
const VIEWPORT_WIDTH_TOLERANCE_PX = 20;
|
|
2365
2365
|
/**
|
|
2366
2366
|
* Manages scroll lock for anchored popups. For non-touch opens, scroll lock is applied when
|
|
@@ -2386,7 +2386,7 @@ function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, refer
|
|
|
2386
2386
|
}
|
|
2387
2387
|
|
|
2388
2388
|
//#endregion
|
|
2389
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2389
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/positioner/MenuPositioner.mjs
|
|
2390
2390
|
/**
|
|
2391
2391
|
* Positions the menu popup against the trigger.
|
|
2392
2392
|
* Renders a `<div>` element.
|
|
@@ -2595,7 +2595,7 @@ const MenuPositioner = /*#__PURE__*/ React.forwardRef(function MenuPositioner(co
|
|
|
2595
2595
|
MenuPositioner.displayName = "MenuPositioner";
|
|
2596
2596
|
|
|
2597
2597
|
//#endregion
|
|
2598
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2598
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menubar/MenubarContext.mjs
|
|
2599
2599
|
const MenubarContext = /*#__PURE__*/ React.createContext(null);
|
|
2600
2600
|
MenubarContext.displayName = "MenubarContext";
|
|
2601
2601
|
function useMenubarContext(optional) {
|
|
@@ -2605,7 +2605,7 @@ function useMenubarContext(optional) {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
|
|
2607
2607
|
//#endregion
|
|
2608
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2608
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/store/MenuStore.mjs
|
|
2609
2609
|
const selectors = {
|
|
2610
2610
|
...popupStoreSelectors,
|
|
2611
2611
|
disabled: (state) => state.parent.type === "menubar" ? state.parent.context.disabled || state.disabled : state.disabled,
|
|
@@ -2720,7 +2720,7 @@ function createInitialState() {
|
|
|
2720
2720
|
}
|
|
2721
2721
|
|
|
2722
2722
|
//#endregion
|
|
2723
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2723
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/submenu-root/MenuSubmenuRootContext.mjs
|
|
2724
2724
|
const MenuSubmenuRootContext = /*#__PURE__*/ React.createContext(void 0);
|
|
2725
2725
|
MenuSubmenuRootContext.displayName = "MenuSubmenuRootContext";
|
|
2726
2726
|
function useMenuSubmenuRootContext() {
|
|
@@ -2728,7 +2728,7 @@ function useMenuSubmenuRootContext() {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
|
|
2730
2730
|
//#endregion
|
|
2731
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
2731
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/root/MenuRoot.mjs
|
|
2732
2732
|
/**
|
|
2733
2733
|
* Groups all parts of the menu.
|
|
2734
2734
|
* Doesn't render its own HTML element.
|
|
@@ -3029,7 +3029,7 @@ function useMenuRootStore(initialState) {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
|
|
3031
3031
|
//#endregion
|
|
3032
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3032
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/getPseudoElementBounds.mjs
|
|
3033
3033
|
const BOUNDARY_OFFSET = 5;
|
|
3034
3034
|
/**
|
|
3035
3035
|
* Determines if a mouse event occurred within the bounds of an element
|
|
@@ -3063,7 +3063,7 @@ function getPseudoElementBounds(element) {
|
|
|
3063
3063
|
}
|
|
3064
3064
|
|
|
3065
3065
|
//#endregion
|
|
3066
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3066
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/internals/composite/item/CompositeItem.mjs
|
|
3067
3067
|
function CompositeItem(componentProps) {
|
|
3068
3068
|
const { render, className, style, state = EMPTY_OBJECT, props = EMPTY_ARRAY, refs = EMPTY_ARRAY, metadata, stateAttributesMapping, tag = "div", ...elementProps } = componentProps;
|
|
3069
3069
|
const { compositeProps, compositeRef } = useCompositeItem({ metadata });
|
|
@@ -3080,7 +3080,7 @@ function CompositeItem(componentProps) {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
|
|
3082
3082
|
//#endregion
|
|
3083
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3083
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/utils/findRootOwnerId.mjs
|
|
3084
3084
|
function findRootOwnerId(node) {
|
|
3085
3085
|
if (isHTMLElement(node) && node.hasAttribute("data-rootownerid")) return node.getAttribute("data-rootownerid");
|
|
3086
3086
|
if (isLastTraversableNode(node)) return;
|
|
@@ -3088,7 +3088,7 @@ function findRootOwnerId(node) {
|
|
|
3088
3088
|
}
|
|
3089
3089
|
|
|
3090
3090
|
//#endregion
|
|
3091
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3091
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/popups/useTriggerFocusGuards.mjs
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Minimal store interface required by the focus guard hook.
|
|
3094
3094
|
* Both PopoverStore and MenuStore satisfy this interface.
|
|
@@ -3132,7 +3132,7 @@ function useTriggerFocusGuards(store, triggerElementRef) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
3134
|
//#endregion
|
|
3135
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3135
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/utils/useMixedToggleClickHandler.mjs
|
|
3136
3136
|
/**
|
|
3137
3137
|
* Returns `click` and `mousedown` handlers that fix the behavior of triggers of popups that are toggled by different events.
|
|
3138
3138
|
* For example, a button that opens a popup on mousedown and closes it on click.
|
|
@@ -3167,7 +3167,7 @@ function useMixedToggleClickHandler(params) {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
|
|
3169
3169
|
//#endregion
|
|
3170
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@
|
|
3170
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.7.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/menu/trigger/MenuTrigger.mjs
|
|
3171
3171
|
/**
|
|
3172
3172
|
* A button that opens the menu.
|
|
3173
3173
|
* Renders a `<button>` element.
|
|
@@ -4576,7 +4576,7 @@ function LanguageSwitcher() {
|
|
|
4576
4576
|
}
|
|
4577
4577
|
|
|
4578
4578
|
//#endregion
|
|
4579
|
-
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom_b7833f22e642c0a58838e454e2cd1ba9/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs
|
|
4579
|
+
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.18_react-dom_b7833f22e642c0a58838e454e2cd1ba9/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs
|
|
4580
4580
|
var U = 1;
|
|
4581
4581
|
var Y$1 = .9;
|
|
4582
4582
|
var H = .8;
|
|
@@ -4648,7 +4648,7 @@ function isFrame(element) {
|
|
|
4648
4648
|
__name$14(isFrame, "isFrame");
|
|
4649
4649
|
|
|
4650
4650
|
//#endregion
|
|
4651
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-compose-
|
|
4651
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.5_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
4652
4652
|
var __defProp$13 = Object.defineProperty;
|
|
4653
4653
|
var __name$13 = (target, value) => __defProp$13(target, "name", {
|
|
4654
4654
|
value,
|
|
@@ -4683,7 +4683,7 @@ function useComposedRefs(...refs) {
|
|
|
4683
4683
|
__name$13(useComposedRefs, "useComposedRefs");
|
|
4684
4684
|
|
|
4685
4685
|
//#endregion
|
|
4686
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.
|
|
4686
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.2.2_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
4687
4687
|
var __defProp$12 = Object.defineProperty;
|
|
4688
4688
|
var __name$12 = (target, value) => __defProp$12(target, "name", {
|
|
4689
4689
|
value,
|
|
@@ -4786,7 +4786,7 @@ function composeContextScopes(...scopes) {
|
|
|
4786
4786
|
__name$12(composeContextScopes, "composeContextScopes");
|
|
4787
4787
|
|
|
4788
4788
|
//#endregion
|
|
4789
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-
|
|
4789
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.4_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
4790
4790
|
var useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {};
|
|
4791
4791
|
|
|
4792
4792
|
//#endregion
|
|
@@ -4808,7 +4808,7 @@ function useId$1(deterministicId) {
|
|
|
4808
4808
|
__name$11(useId$1, "useId");
|
|
4809
4809
|
|
|
4810
4810
|
//#endregion
|
|
4811
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-effect-
|
|
4811
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-effect-event@0.0.5_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs
|
|
4812
4812
|
var __defProp$10 = Object.defineProperty;
|
|
4813
4813
|
var __name$10 = (target, value) => __defProp$10(target, "name", {
|
|
4814
4814
|
value,
|
|
@@ -4832,7 +4832,7 @@ function useEffectEvent(callback) {
|
|
|
4832
4832
|
__name$10(useEffectEvent, "useEffectEvent");
|
|
4833
4833
|
|
|
4834
4834
|
//#endregion
|
|
4835
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-
|
|
4835
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.6_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
4836
4836
|
var __defProp$9 = Object.defineProperty;
|
|
4837
4837
|
var __name$9 = (target, value) => __defProp$9(target, "name", {
|
|
4838
4838
|
value,
|
|
@@ -5065,7 +5065,7 @@ var createSlottableError = /* @__PURE__ */ __name$8((ownerName) => {
|
|
|
5065
5065
|
var use = React[" use ".trim().toString()];
|
|
5066
5066
|
|
|
5067
5067
|
//#endregion
|
|
5068
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@
|
|
5068
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.10_@types+react-dom@19.2.4_@types+react@19.2.18__@types+r_89d529a1bae70a6b01b956c8b2bdbce1/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
5069
5069
|
var __defProp$7 = Object.defineProperty;
|
|
5070
5070
|
var __name$7 = (target, value) => __defProp$7(target, "name", {
|
|
5071
5071
|
value,
|
|
@@ -5112,7 +5112,7 @@ function dispatchDiscreteCustomEvent(target, event) {
|
|
|
5112
5112
|
__name$7(dispatchDiscreteCustomEvent, "dispatchDiscreteCustomEvent");
|
|
5113
5113
|
|
|
5114
5114
|
//#endregion
|
|
5115
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-
|
|
5115
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.4_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
5116
5116
|
var __defProp$6 = Object.defineProperty;
|
|
5117
5117
|
var __name$6 = (target, value) => __defProp$6(target, "name", {
|
|
5118
5118
|
value,
|
|
@@ -5128,7 +5128,7 @@ function useCallbackRef$1(callback) {
|
|
|
5128
5128
|
__name$6(useCallbackRef$1, "useCallbackRef");
|
|
5129
5129
|
|
|
5130
5130
|
//#endregion
|
|
5131
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-
|
|
5131
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.19_@types+react-dom@19.2.4_@types+react@19.2.18___40e495cae3a960f65f80435c18b02650/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
5132
5132
|
var __defProp$5 = Object.defineProperty;
|
|
5133
5133
|
var __name$5 = (target, value) => __defProp$5(target, "name", {
|
|
5134
5134
|
value,
|
|
@@ -5393,7 +5393,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
|
5393
5393
|
__name$5(handleAndDispatchCustomEvent, "handleAndDispatchCustomEvent");
|
|
5394
5394
|
|
|
5395
5395
|
//#endregion
|
|
5396
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-
|
|
5396
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.16_@types+react-dom@19.2.4_@types+react@19.2.18__@types_3b4e29b84c639c7da7ed6c275ef9f34b/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
5397
5397
|
var __defProp$4 = Object.defineProperty;
|
|
5398
5398
|
var __name$4 = (target, value) => __defProp$4(target, "name", {
|
|
5399
5399
|
value,
|
|
@@ -5600,7 +5600,7 @@ function removeLinks(items) {
|
|
|
5600
5600
|
__name$4(removeLinks, "removeLinks");
|
|
5601
5601
|
|
|
5602
5602
|
//#endregion
|
|
5603
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.
|
|
5603
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.17_@types+react-dom@19.2.4_@types+react@19.2.18__@types+reac_7d49bbd59f67da7ea06e84940374bb40/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
5604
5604
|
var __defProp$3 = Object.defineProperty;
|
|
5605
5605
|
var __name$3 = (target, value) => __defProp$3(target, "name", {
|
|
5606
5606
|
value,
|
|
@@ -5618,7 +5618,7 @@ var Portal = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name$3(function
|
|
|
5618
5618
|
}, "Portal"));
|
|
5619
5619
|
|
|
5620
5620
|
//#endregion
|
|
5621
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.
|
|
5621
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.10_@types+react-dom@19.2.4_@types+react@19.2.18__@types+re_c16522d094fa2977c5a9a5cd628ab890/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
5622
5622
|
var __defProp$2 = Object.defineProperty;
|
|
5623
5623
|
var __name$2 = (target, value) => __defProp$2(target, "name", {
|
|
5624
5624
|
value,
|
|
@@ -5761,7 +5761,7 @@ function getElementRef(element) {
|
|
|
5761
5761
|
__name$2(getElementRef, "getElementRef");
|
|
5762
5762
|
|
|
5763
5763
|
//#endregion
|
|
5764
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-
|
|
5764
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.6_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
5765
5765
|
var __defProp$1 = Object.defineProperty;
|
|
5766
5766
|
var __name$1 = (target, value) => __defProp$1(target, "name", {
|
|
5767
5767
|
value,
|
|
@@ -5838,7 +5838,7 @@ function __spreadArray(to, from, pack) {
|
|
|
5838
5838
|
}
|
|
5839
5839
|
|
|
5840
5840
|
//#endregion
|
|
5841
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.
|
|
5841
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.18_react@19.2.8/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
5842
5842
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
5843
5843
|
var fullWidthClassName = "width-before-scroll-bar";
|
|
5844
5844
|
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
@@ -6116,7 +6116,7 @@ var getNonce = function() {
|
|
|
6116
6116
|
};
|
|
6117
6117
|
|
|
6118
6118
|
//#endregion
|
|
6119
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.
|
|
6119
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.18_react@19.2.8/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
6120
6120
|
function makeStyleTag() {
|
|
6121
6121
|
if (!document) return null;
|
|
6122
6122
|
var tag = document.createElement("style");
|
|
@@ -6156,7 +6156,7 @@ var stylesheetSingleton = function() {
|
|
|
6156
6156
|
};
|
|
6157
6157
|
|
|
6158
6158
|
//#endregion
|
|
6159
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.
|
|
6159
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.18_react@19.2.8/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
6160
6160
|
/**
|
|
6161
6161
|
* creates a hook to control style singleton
|
|
6162
6162
|
* @see {@link styleSingleton} for a safer component version
|
|
@@ -6179,7 +6179,7 @@ var styleHookSingleton = function() {
|
|
|
6179
6179
|
};
|
|
6180
6180
|
|
|
6181
6181
|
//#endregion
|
|
6182
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.
|
|
6182
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.18_react@19.2.8/node_modules/react-style-singleton/dist/es2015/component.js
|
|
6183
6183
|
/**
|
|
6184
6184
|
* create a Component to add styles on demand
|
|
6185
6185
|
* - styles are added when first instance is mounted
|
|
@@ -6197,7 +6197,7 @@ var styleSingleton = function() {
|
|
|
6197
6197
|
};
|
|
6198
6198
|
|
|
6199
6199
|
//#endregion
|
|
6200
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.
|
|
6200
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.18_react@19.2.8/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
6201
6201
|
var zeroGap = {
|
|
6202
6202
|
left: 0,
|
|
6203
6203
|
top: 0,
|
|
@@ -6233,7 +6233,7 @@ var getGapWidth = function(gapMode) {
|
|
|
6233
6233
|
};
|
|
6234
6234
|
|
|
6235
6235
|
//#endregion
|
|
6236
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.
|
|
6236
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.18_react@19.2.8/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
6237
6237
|
var Style = styleSingleton();
|
|
6238
6238
|
var lockAttribute = "data-scroll-locked";
|
|
6239
6239
|
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
@@ -6648,7 +6648,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
6648
6648
|
};
|
|
6649
6649
|
|
|
6650
6650
|
//#endregion
|
|
6651
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.
|
|
6651
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.23_@types+react-dom@19.2.4_@types+react@19.2.18__@types+reac_f43cda4f5f60c6fd8f384ced683c6d90/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
6652
6652
|
var __defProp = Object.defineProperty;
|
|
6653
6653
|
var __name = (target, value) => __defProp(target, "name", {
|
|
6654
6654
|
value,
|
|
@@ -6839,7 +6839,7 @@ function getState(open) {
|
|
|
6839
6839
|
__name(getState, "getState");
|
|
6840
6840
|
|
|
6841
6841
|
//#endregion
|
|
6842
|
-
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom_b7833f22e642c0a58838e454e2cd1ba9/node_modules/cmdk/dist/index.mjs
|
|
6842
|
+
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.4_@types+react@19.2.18__@types+react@19.2.18_react-dom_b7833f22e642c0a58838e454e2cd1ba9/node_modules/cmdk/dist/index.mjs
|
|
6843
6843
|
var N = "[cmdk-group=\"\"]";
|
|
6844
6844
|
var Y = "[cmdk-group-items=\"\"]";
|
|
6845
6845
|
var be = "[cmdk-group-heading=\"\"]";
|
|
@@ -8108,9 +8108,26 @@ function getOperation(key) {
|
|
|
8108
8108
|
const [method, ...rest] = key.trim().split(/\s+/);
|
|
8109
8109
|
return OPENAPI_OPERATIONS[`${method.toUpperCase()} ${rest.join(" ")}`];
|
|
8110
8110
|
}
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
return
|
|
8111
|
+
/** Parameter groups shared by the renderer and table of contents. */
|
|
8112
|
+
function operationParameterSections(operation) {
|
|
8113
|
+
return [
|
|
8114
|
+
{
|
|
8115
|
+
location: "header",
|
|
8116
|
+
name: "Headers"
|
|
8117
|
+
},
|
|
8118
|
+
{
|
|
8119
|
+
location: "path",
|
|
8120
|
+
name: "Path parameters"
|
|
8121
|
+
},
|
|
8122
|
+
{
|
|
8123
|
+
location: "query",
|
|
8124
|
+
name: "Query parameters"
|
|
8125
|
+
},
|
|
8126
|
+
{
|
|
8127
|
+
location: "cookie",
|
|
8128
|
+
name: "Cookie parameters"
|
|
8129
|
+
}
|
|
8130
|
+
].filter(({ location }) => operation.parameters[location].length > 0 || location === "header" && operation.security.length > 0);
|
|
8114
8131
|
}
|
|
8115
8132
|
/**
|
|
8116
8133
|
* Section headings for an operation, in render order. The single source of
|
|
@@ -8120,7 +8137,7 @@ function hasParameters(operation) {
|
|
|
8120
8137
|
function operationSections(operation) {
|
|
8121
8138
|
const slugger = createSlugger();
|
|
8122
8139
|
return [
|
|
8123
|
-
|
|
8140
|
+
...operationParameterSections(operation).map((section) => section.name),
|
|
8124
8141
|
operation.requestBody ? "Request body" : void 0,
|
|
8125
8142
|
operation.responses.length ? "Responses" : void 0,
|
|
8126
8143
|
operation.samples.length ? "Code samples" : void 0
|
|
@@ -8133,12 +8150,6 @@ function operationSections(operation) {
|
|
|
8133
8150
|
|
|
8134
8151
|
//#endregion
|
|
8135
8152
|
//#region src/components/OpenApiOperation.tsx
|
|
8136
|
-
const PARAM_LOCATIONS = [
|
|
8137
|
-
"path",
|
|
8138
|
-
"query",
|
|
8139
|
-
"header",
|
|
8140
|
-
"cookie"
|
|
8141
|
-
];
|
|
8142
8153
|
function FieldChildren({ node }) {
|
|
8143
8154
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
8144
8155
|
node.description,
|
|
@@ -8152,25 +8163,23 @@ function FieldChildren({ node }) {
|
|
|
8152
8163
|
}),
|
|
8153
8164
|
node.children && node.children.length > 0 && /* @__PURE__ */ jsx(Expandable, {
|
|
8154
8165
|
title: "properties",
|
|
8155
|
-
children:
|
|
8166
|
+
children: /* @__PURE__ */ jsx(SchemaTable, { nodes: node.children })
|
|
8156
8167
|
})
|
|
8157
8168
|
] });
|
|
8158
8169
|
}
|
|
8159
|
-
function
|
|
8160
|
-
|
|
8161
|
-
return /* @__PURE__ */ jsx(ResponseField, {
|
|
8170
|
+
function SchemaTable({ nodes }) {
|
|
8171
|
+
return /* @__PURE__ */ jsx(PropertiesTable, { children: nodes.map((node) => /* @__PURE__ */ jsx(PropertiesTable.Row, {
|
|
8162
8172
|
name: node.name || node.type,
|
|
8163
|
-
type: node.
|
|
8173
|
+
type: node.type,
|
|
8164
8174
|
required: node.required,
|
|
8165
8175
|
deprecated: node.deprecated,
|
|
8166
8176
|
default: node.default,
|
|
8167
|
-
children:
|
|
8168
|
-
});
|
|
8177
|
+
children: /* @__PURE__ */ jsx(FieldChildren, { node })
|
|
8178
|
+
}, node.name || node.type)) });
|
|
8169
8179
|
}
|
|
8170
8180
|
/** Renders a schema tree: a root object's properties, or the node itself. */
|
|
8171
8181
|
function SchemaFields({ node }) {
|
|
8172
|
-
|
|
8173
|
-
return /* @__PURE__ */ jsx(SchemaField, { node });
|
|
8182
|
+
return /* @__PURE__ */ jsx(SchemaTable, { nodes: !node.name && node.children?.length ? node.children : [node] });
|
|
8174
8183
|
}
|
|
8175
8184
|
function HighlightedCode({ language, title, html, source, lineCount }) {
|
|
8176
8185
|
return /* @__PURE__ */ jsx(CodeBlock, {
|
|
@@ -8189,35 +8198,29 @@ function HighlightedCode({ language, title, html, source, lineCount }) {
|
|
|
8189
8198
|
/** The generated reference for one API operation, rendered under the page body. */
|
|
8190
8199
|
function OpenApiOperation({ operation }) {
|
|
8191
8200
|
const sections = new Map(operationSections(operation).map((entry) => [entry.name, entry.id]));
|
|
8192
|
-
const showParameters = sections.has("Parameters");
|
|
8193
8201
|
return /* @__PURE__ */ jsxs("div", {
|
|
8194
8202
|
className: "docs-markdown",
|
|
8195
8203
|
children: [
|
|
8196
|
-
|
|
8197
|
-
id: sections.get(
|
|
8198
|
-
children:
|
|
8199
|
-
}), /* @__PURE__ */ jsxs("
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
children:
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
name: void 0,
|
|
8217
|
-
description: void 0
|
|
8218
|
-
} }), parameter.description]
|
|
8219
|
-
}, `${location}-${parameter.name}`)))]
|
|
8220
|
-
})] }),
|
|
8204
|
+
operationParameterSections(operation).map(({ location, name }) => /* @__PURE__ */ jsxs("section", { children: [/* @__PURE__ */ jsx("h2", {
|
|
8205
|
+
id: sections.get(name),
|
|
8206
|
+
children: name
|
|
8207
|
+
}), /* @__PURE__ */ jsxs(PropertiesTable, { children: [location === "header" && operation.security.length > 0 && /* @__PURE__ */ jsxs(PropertiesTable.Row, {
|
|
8208
|
+
name: "Authorization",
|
|
8209
|
+
type: "string",
|
|
8210
|
+
required: true,
|
|
8211
|
+
children: [
|
|
8212
|
+
"Authentication credentials, e.g. ",
|
|
8213
|
+
/* @__PURE__ */ jsx("code", { children: "Bearer <token>" }),
|
|
8214
|
+
"."
|
|
8215
|
+
]
|
|
8216
|
+
}), operation.parameters[location].map((parameter) => /* @__PURE__ */ jsx(PropertiesTable.Row, {
|
|
8217
|
+
name: parameter.name || parameter.type,
|
|
8218
|
+
type: parameter.type,
|
|
8219
|
+
required: parameter.required,
|
|
8220
|
+
deprecated: parameter.deprecated,
|
|
8221
|
+
default: parameter.default,
|
|
8222
|
+
children: /* @__PURE__ */ jsx(FieldChildren, { node: parameter })
|
|
8223
|
+
}, parameter.name))] })] }, location)),
|
|
8221
8224
|
operation.requestBody && /* @__PURE__ */ jsxs("section", { children: [
|
|
8222
8225
|
/* @__PURE__ */ jsx("h2", {
|
|
8223
8226
|
id: sections.get("Request body"),
|
|
@@ -8248,10 +8251,7 @@ function OpenApiOperation({ operation }) {
|
|
|
8248
8251
|
children: response.description
|
|
8249
8252
|
})]
|
|
8250
8253
|
}),
|
|
8251
|
-
response.schema && /* @__PURE__ */ jsx(
|
|
8252
|
-
className: styles.fieldGroup,
|
|
8253
|
-
children: /* @__PURE__ */ jsx(SchemaFields, { node: response.schema })
|
|
8254
|
-
}),
|
|
8254
|
+
response.schema && /* @__PURE__ */ jsx(SchemaFields, { node: response.schema }),
|
|
8255
8255
|
response.example && /* @__PURE__ */ jsx(HighlightedCode, {
|
|
8256
8256
|
language: "json",
|
|
8257
8257
|
title: `${response.status} example`,
|