@flamingo-stack/openframe-frontend-core 0.0.217 → 0.0.218
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/{chunk-L6IBKPVM.js → chunk-EKBM4FHK.js} +2 -2
- package/dist/{chunk-SWZUZYWR.js → chunk-EWA2NFUR.js} +2 -2
- package/dist/{chunk-TYIBMDUZ.cjs → chunk-FZZBCRID.cjs} +7 -7
- package/dist/{chunk-TYIBMDUZ.cjs.map → chunk-FZZBCRID.cjs.map} +1 -1
- package/dist/{chunk-G2HHSZ3S.cjs → chunk-GE64T3JT.cjs} +9 -9
- package/dist/{chunk-G2HHSZ3S.cjs.map → chunk-GE64T3JT.cjs.map} +1 -1
- package/dist/{chunk-YWDC5BXM.cjs → chunk-L5RSJE2I.cjs} +1940 -915
- package/dist/chunk-L5RSJE2I.cjs.map +1 -0
- package/dist/{chunk-BVFRD34B.js → chunk-OHOUSDAY.js} +2 -2
- package/dist/{chunk-MVQ3OODK.cjs → chunk-S4SVD5JI.cjs} +9 -9
- package/dist/{chunk-MVQ3OODK.cjs.map → chunk-S4SVD5JI.cjs.map} +1 -1
- package/dist/{chunk-N5IKPYRL.js → chunk-SWIR5EB2.js} +2 -2
- package/dist/{chunk-6DCKL73F.cjs → chunk-TCJ5B2ZD.cjs} +24 -24
- package/dist/{chunk-6DCKL73F.cjs.map → chunk-TCJ5B2ZD.cjs.map} +1 -1
- package/dist/{chunk-ENBGG2K2.js → chunk-V5JY5RSY.js} +2954 -1929
- package/dist/chunk-V5JY5RSY.js.map +1 -0
- package/dist/components/chat/embeddable-chat.d.ts +13 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +104 -10
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-slash-commands.d.ts +6 -0
- package/dist/components/chat/hooks/use-slash-commands.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +81 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/index.cjs +73 -51
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +26 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/app-header.d.ts +7 -0
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts +65 -0
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -0
- package/dist/components/navigation/app-layout.d.ts +9 -1
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.d.ts +21 -0
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -0
- package/dist/components/navigation/index.cjs +24 -2
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.d.ts +5 -1
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +23 -1
- package/dist/components/onboarding-guides/index.cjs +18 -18
- package/dist/components/onboarding-guides/index.js +3 -3
- package/dist/components/tickets/hooks/use-ticket-engagements.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +80 -66
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +20 -6
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +26 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -1
- package/dist/utils/embed-authed-fetch.d.ts +80 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/index.cjs +70 -5
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +70 -6
- package/dist/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/chat/embeddable-chat.tsx +154 -37
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +601 -23
- package/src/components/chat/hooks/use-slash-commands.ts +10 -1
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +45 -0
- package/src/components/chat/hooks/use-unified-chat.ts +59 -0
- package/src/components/chat/types/unified-chat-state.types.ts +116 -0
- package/src/components/navigation/app-header.tsx +23 -0
- package/src/components/navigation/app-layout-drawer.tsx +620 -0
- package/src/components/navigation/app-layout.tsx +65 -26
- package/src/components/navigation/header-mingo-button.tsx +58 -0
- package/src/components/navigation/index.ts +17 -1
- package/src/components/tickets/hooks/use-ticket-engagements.ts +24 -4
- package/src/stories/AppLayoutDrawer.stories.tsx +228 -0
- package/src/utils/.embed-authed-fetch.md +7 -0
- package/src/utils/__tests__/embed-authed-fetch.test.ts +103 -1
- package/src/utils/embed-authed-fetch.ts +247 -7
- package/src/utils/index.ts +5 -1
- package/dist/chunk-ENBGG2K2.js.map +0 -1
- package/dist/chunk-YWDC5BXM.cjs.map +0 -1
- /package/dist/{chunk-L6IBKPVM.js.map → chunk-EKBM4FHK.js.map} +0 -0
- /package/dist/{chunk-SWZUZYWR.js.map → chunk-EWA2NFUR.js.map} +0 -0
- /package/dist/{chunk-BVFRD34B.js.map → chunk-OHOUSDAY.js.map} +0 -0
- /package/dist/{chunk-N5IKPYRL.js.map → chunk-SWIR5EB2.js.map} +0 -0
|
@@ -11,6 +11,13 @@ export interface AppHeaderProps {
|
|
|
11
11
|
onOrgChange?: (id: string) => void;
|
|
12
12
|
showNotifications?: boolean;
|
|
13
13
|
unreadCount?: number;
|
|
14
|
+
/** Render the "Mingo AI" launcher button (drawer-style trigger for an
|
|
15
|
+
* in-layout `AppLayoutDrawer` hosting the chat panel). Defaults to off. */
|
|
16
|
+
showMingoAI?: boolean;
|
|
17
|
+
/** Click handler for the Mingo AI button — typically toggles the drawer. */
|
|
18
|
+
onMingoAI?: () => void;
|
|
19
|
+
/** Whether the Mingo drawer is currently open (visually pressed state). */
|
|
20
|
+
isMingoAIActive?: boolean;
|
|
14
21
|
showUser?: boolean;
|
|
15
22
|
userName?: string;
|
|
16
23
|
userEmail?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAazB,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;gFAC4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sCAAsC;IACtC,gBAAgB,EAAE,OAAO,CAAA;IACzB,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,SAAS,4CA0KpB,CAAA;AAuCF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
import { type VariantProps } from "class-variance-authority";
|
|
4
|
+
interface AppLayoutDrawerRootProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
5
|
+
}
|
|
6
|
+
declare const AppLayoutDrawerRoot: {
|
|
7
|
+
({ open: openProp, defaultOpen, onOpenChange, modal, children, ...rest }: AppLayoutDrawerRootProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
declare const AppLayoutDrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
declare const AppLayoutDrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const appLayoutDrawerVariants: (props?: ({
|
|
13
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
14
|
+
flush?: boolean | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
+
export interface AppLayoutDrawerContentProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, "style">, VariantProps<typeof appLayoutDrawerVariants> {
|
|
17
|
+
flush?: boolean;
|
|
18
|
+
resizable?: boolean;
|
|
19
|
+
minSize?: number;
|
|
20
|
+
maxSize?: number;
|
|
21
|
+
defaultSize?: number;
|
|
22
|
+
storageKey?: string;
|
|
23
|
+
/** Pixel breakpoint below which `resizable` is disabled and inline size is
|
|
24
|
+
* not applied (so the panel can render full-area on mobile). */
|
|
25
|
+
mobileBreakpoint?: number;
|
|
26
|
+
overlayClassName?: string;
|
|
27
|
+
resizeAriaLabel?: string;
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
panelStyle?: React.CSSProperties;
|
|
30
|
+
panelClassName?: string;
|
|
31
|
+
/** Override the portal container. Defaults to AppLayout's main-area container
|
|
32
|
+
* (from context). Pass `null` to opt out of portaling. */
|
|
33
|
+
container?: HTMLElement | null;
|
|
34
|
+
/** When `true` (default), clicks on the dim overlay over the main content
|
|
35
|
+
* area close the drawer. Clicks on AppLayout chrome (header, sidebar) NEVER
|
|
36
|
+
* close the drawer regardless of this flag — chrome interactions shouldn't
|
|
37
|
+
* accidentally dismiss a persistent panel. Pass `false` to make the drawer
|
|
38
|
+
* fully persistent (X button or Escape only). Consumer-provided
|
|
39
|
+
* `onInteractOutside` still runs first and can preventDefault to override. */
|
|
40
|
+
dismissOnInteractOutside?: boolean;
|
|
41
|
+
/** Debug helper — when `true`, on each open the component snapshots the
|
|
42
|
+
* scroll metrics (scrollLeft / scrollWidth / clientWidth / overflow-x) of
|
|
43
|
+
* every ancestor of the portal container, at mount, after RAF, +150ms,
|
|
44
|
+
* +350ms, and on close. Use to diagnose layout-shift on open: look for an
|
|
45
|
+
* ancestor that gains `scrollLeft > 0` or has `overflow-x: visible` while
|
|
46
|
+
* `scrollWidth > clientWidth`. Remove the prop once diagnosed. */
|
|
47
|
+
debugLayoutShift?: boolean;
|
|
48
|
+
}
|
|
49
|
+
declare const AppLayoutDrawerContent: React.ForwardRefExoticComponent<AppLayoutDrawerContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
declare const AppLayoutDrawerHeader: {
|
|
51
|
+
({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
displayName: string;
|
|
53
|
+
};
|
|
54
|
+
declare const AppLayoutDrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
55
|
+
declare const AppLayoutDrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
56
|
+
declare const AppLayoutDrawerBody: {
|
|
57
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
displayName: string;
|
|
59
|
+
};
|
|
60
|
+
declare const AppLayoutDrawerFooter: {
|
|
61
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
displayName: string;
|
|
63
|
+
};
|
|
64
|
+
export { AppLayoutDrawerRoot as AppLayoutDrawer, AppLayoutDrawerTrigger, AppLayoutDrawerClose, AppLayoutDrawerContent, AppLayoutDrawerHeader, AppLayoutDrawerTitle, AppLayoutDrawerDescription, AppLayoutDrawerBody, AppLayoutDrawerFooter, };
|
|
65
|
+
//# sourceMappingURL=app-layout-drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-layout-drawer.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-layout-drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE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c,CAAA;AACxC,QAAA,MAAM,0BAA0B,8KAAoB,CAAA;AACpD,QAAA,MAAM,mBAAmB;;;CAAa,CAAA;AACtC,QAAA,MAAM,qBAAqB;;;CAAe,CAAA;AAE1C,OAAO,EACL,mBAAmB,IAAI,eAAe,EACtC,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,GACtB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NavigationSidebarConfig } from '../../types/navigation';
|
|
2
2
|
import { AppHeaderProps } from './app-header';
|
|
3
3
|
import { MobileBurgerMenuProps } from './mobile-burger-menu';
|
|
4
|
+
export declare function useAppLayoutDrawerContainer(): HTMLElement | null;
|
|
4
5
|
export interface AppLayoutProps {
|
|
5
6
|
children: React.ReactNode;
|
|
6
7
|
sidebarConfig: NavigationSidebarConfig;
|
|
@@ -15,6 +16,13 @@ export interface AppLayoutProps {
|
|
|
15
16
|
* (`children`) is not affected and stays fully interactive.
|
|
16
17
|
*/
|
|
17
18
|
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Slot for an in-layout drawer (typically an `AppLayoutDrawer` tree). Rendered
|
|
21
|
+
* inside the layout's drawer-container context so the drawer can portal into
|
|
22
|
+
* the main-area container. Keeping it separate from `children` clarifies that
|
|
23
|
+
* the drawer is part of the layout chrome, not page content.
|
|
24
|
+
*/
|
|
25
|
+
drawer?: React.ReactNode;
|
|
18
26
|
}
|
|
19
|
-
export declare function AppLayout({ children, sidebarConfig, headerProps, loadingFallback, mainClassName, className, mobileBurgerMenuProps, disabled, }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function AppLayout({ children, sidebarConfig, headerProps, loadingFallback, mainClassName, className, mobileBurgerMenuProps, disabled, drawer, }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
20
28
|
//# sourceMappingURL=app-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAoB,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAoB,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAW9E,wBAAgB,2BAA2B,IAAI,WAAW,GAAG,IAAI,CAEhE;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,aAAa,EAAE,uBAAuB,CAAA;IACtC,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE,kBAAkB,GAAG,oBAAoB,GAAG,UAAU,CAAC,CAAA;IACzF,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACjC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAChG;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,aAAa,EACb,SAAS,EACT,qBAAqB,EACrB,QAAgB,EAChB,MAAM,GACP,EAAE,cAAc,2CA6DhB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HeaderMingoButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Active/pressed state — set to `true` while the Mingo drawer is open. */
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
/** When true, hides the "Mingo AI" label and renders only the icon (so the
|
|
6
|
+
* control collapses to a square `HeaderButton`-sized affordance on narrow
|
|
7
|
+
* viewports). Defaults to `false`. */
|
|
8
|
+
iconOnly?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* "Mingo AI" launcher button for `AppHeader`. Mirrors the `HeaderButton`
|
|
13
|
+
* visual contract (sticky header height, `ods-card` rest / `ods-bg-hover`
|
|
14
|
+
* hover / `ods-bg-active` active, divider via `AppHeader`'s `divide-x`), but
|
|
15
|
+
* carries both the Mingo logo and the bold "Mingo AI" wordmark.
|
|
16
|
+
*
|
|
17
|
+
* Figma: 7532:222103 — `button-full`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function HeaderMingoButton({ isActive, iconOnly, className, ...props }: HeaderMingoButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default HeaderMingoButton;
|
|
21
|
+
//# sourceMappingURL=header-mingo-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-mingo-button.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/header-mingo-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,sBACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;2CAEuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAgB,EAChB,QAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAyBxB;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -15,7 +15,18 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
var _chunkL5RSJE2Icjs = require('../../chunk-L5RSJE2I.cjs');
|
|
19
30
|
require('../../chunk-XL4V2PYG.cjs');
|
|
20
31
|
require('../../chunk-BZFW3FOF.cjs');
|
|
21
32
|
require('../../chunk-XDPSSE4O.cjs');
|
|
@@ -46,5 +57,16 @@ require('../../chunk-VRHGVLSL.cjs');
|
|
|
46
57
|
|
|
47
58
|
|
|
48
59
|
|
|
49
|
-
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
exports.AppHeader = _chunkL5RSJE2Icjs.AppHeader; exports.AppLayout = _chunkL5RSJE2Icjs.AppLayout; exports.AppLayoutDrawer = _chunkL5RSJE2Icjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkL5RSJE2Icjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkL5RSJE2Icjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkL5RSJE2Icjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkL5RSJE2Icjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkL5RSJE2Icjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkL5RSJE2Icjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkL5RSJE2Icjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkL5RSJE2Icjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkL5RSJE2Icjs.ClientOnlyHeader; exports.Header = _chunkL5RSJE2Icjs.Header; exports.HeaderButton = _chunkL5RSJE2Icjs.HeaderButton; exports.HeaderGlobalSearch = _chunkL5RSJE2Icjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkL5RSJE2Icjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkL5RSJE2Icjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkL5RSJE2Icjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkL5RSJE2Icjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkL5RSJE2Icjs.MobileNavPanel; exports.NavigationSidebar = _chunkL5RSJE2Icjs.NavigationSidebar; exports.SlidingSidebar = _chunkL5RSJE2Icjs.SlidingSidebar; exports.StickySectionNav = _chunkL5RSJE2Icjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkL5RSJE2Icjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkL5RSJE2Icjs.useSectionNavigation;
|
|
50
72
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/navigation/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/navigation/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,gnDAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/navigation/index.cjs"}
|
|
@@ -14,12 +14,16 @@ export { NavigationSidebar } from './navigation-sidebar';
|
|
|
14
14
|
export type { NavigationSidebarProps } from './navigation-sidebar';
|
|
15
15
|
export { AppHeader } from './app-header';
|
|
16
16
|
export type { AppHeaderProps } from './app-header';
|
|
17
|
-
export { AppLayout } from './app-layout';
|
|
17
|
+
export { AppLayout, useAppLayoutDrawerContainer } from './app-layout';
|
|
18
18
|
export type { AppLayoutProps } from './app-layout';
|
|
19
|
+
export { AppLayoutDrawer, AppLayoutDrawerTrigger, AppLayoutDrawerClose, AppLayoutDrawerContent, AppLayoutDrawerHeader, AppLayoutDrawerTitle, AppLayoutDrawerDescription, AppLayoutDrawerBody, AppLayoutDrawerFooter, } from './app-layout-drawer';
|
|
20
|
+
export type { AppLayoutDrawerContentProps } from './app-layout-drawer';
|
|
19
21
|
export { MobileBurgerMenu } from './mobile-burger-menu';
|
|
20
22
|
export type { MobileBurgerMenuProps } from './mobile-burger-menu';
|
|
21
23
|
export { HeaderButton } from './header-button';
|
|
22
24
|
export type { HeaderButtonProps } from './header-button';
|
|
25
|
+
export { HeaderMingoButton } from './header-mingo-button';
|
|
26
|
+
export type { HeaderMingoButtonProps } from './header-mingo-button';
|
|
23
27
|
export { HeaderGlobalSearch } from './header-global-search';
|
|
24
28
|
export type { HeaderGlobalSearchProps } from './header-global-search';
|
|
25
29
|
export { HeaderOrganizationFilter } from './header-organization-filter';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC7E,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,EAAE,iBAAiB,E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ppLayoutDrawerTitle,
|
|
14
|
+
AppLayoutDrawerTrigger,
|
|
6
15
|
ClientOnlyHeader,
|
|
7
16
|
Header,
|
|
8
17
|
HeaderButton,
|
|
9
18
|
HeaderGlobalSearch,
|
|
19
|
+
HeaderMingoButton,
|
|
10
20
|
HeaderOrganizationFilter,
|
|
11
21
|
HeaderSkeleton,
|
|
12
22
|
MobileBurgerMenu,
|
|
@@ -14,8 +24,9 @@ import {
|
|
|
14
24
|
NavigationSidebar,
|
|
15
25
|
SlidingSidebar,
|
|
16
26
|
StickySectionNav,
|
|
27
|
+
useAppLayoutDrawerContainer,
|
|
17
28
|
useSectionNavigation
|
|
18
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-V5JY5RSY.js";
|
|
19
30
|
import "../../chunk-LXC6P2EO.js";
|
|
20
31
|
import "../../chunk-EL5YVPD5.js";
|
|
21
32
|
import "../../chunk-UEBM4PC4.js";
|
|
@@ -34,10 +45,20 @@ import "../../chunk-GGWZFCYS.js";
|
|
|
34
45
|
export {
|
|
35
46
|
AppHeader,
|
|
36
47
|
AppLayout,
|
|
48
|
+
AppLayoutDrawerRoot as AppLayoutDrawer,
|
|
49
|
+
AppLayoutDrawerBody,
|
|
50
|
+
AppLayoutDrawerClose,
|
|
51
|
+
AppLayoutDrawerContent,
|
|
52
|
+
AppLayoutDrawerDescription,
|
|
53
|
+
AppLayoutDrawerFooter,
|
|
54
|
+
AppLayoutDrawerHeader,
|
|
55
|
+
AppLayoutDrawerTitle,
|
|
56
|
+
AppLayoutDrawerTrigger,
|
|
37
57
|
ClientOnlyHeader,
|
|
38
58
|
Header,
|
|
39
59
|
HeaderButton,
|
|
40
60
|
HeaderGlobalSearch,
|
|
61
|
+
HeaderMingoButton,
|
|
41
62
|
HeaderOrganizationFilter,
|
|
42
63
|
HeaderSkeleton,
|
|
43
64
|
MobileBurgerMenu,
|
|
@@ -45,6 +66,7 @@ export {
|
|
|
45
66
|
NavigationSidebar,
|
|
46
67
|
SlidingSidebar,
|
|
47
68
|
StickySectionNav,
|
|
69
|
+
useAppLayoutDrawerContainer,
|
|
48
70
|
useSectionNavigation
|
|
49
71
|
};
|
|
50
72
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkS4SVD5JIcjs = require('../../chunk-S4SVD5JI.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkFZZBCRIDcjs = require('../../chunk-FZZBCRID.cjs');
|
|
9
9
|
require('../../chunk-OB45JHDY.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ require('../../chunk-OB45JHDY.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkL5RSJE2Icjs = require('../../chunk-L5RSJE2I.cjs');
|
|
22
22
|
require('../../chunk-XL4V2PYG.cjs');
|
|
23
23
|
require('../../chunk-BZFW3FOF.cjs');
|
|
24
24
|
require('../../chunk-XDPSSE4O.cjs');
|
|
@@ -109,7 +109,7 @@ function OnboardingGuidesCatalogView({
|
|
|
109
109
|
});
|
|
110
110
|
};
|
|
111
111
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _2 => _2.source]), () => ( "openframe"));
|
|
112
|
-
const docSearch =
|
|
112
|
+
const docSearch = _chunkS4SVD5JIcjs.useDocSearch.call(void 0, {
|
|
113
113
|
source,
|
|
114
114
|
baseRoute: basePath,
|
|
115
115
|
onNavigate: (path) => router.push(path),
|
|
@@ -122,7 +122,7 @@ function OnboardingGuidesCatalogView({
|
|
|
122
122
|
guide.onboarding_guide_platforms
|
|
123
123
|
) : buildDefaultHref(basePath, guide.slug);
|
|
124
124
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
125
|
-
|
|
125
|
+
_chunkL5RSJE2Icjs.OnboardingGuideCard,
|
|
126
126
|
{
|
|
127
127
|
guide,
|
|
128
128
|
href: cta.href,
|
|
@@ -134,7 +134,7 @@ function OnboardingGuidesCatalogView({
|
|
|
134
134
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
135
135
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
136
136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
137
|
-
|
|
137
|
+
_chunkS4SVD5JIcjs.DocSearchBar,
|
|
138
138
|
{
|
|
139
139
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
140
140
|
query: docSearch.query,
|
|
@@ -146,7 +146,7 @@ function OnboardingGuidesCatalogView({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
initialSections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
149
|
-
|
|
149
|
+
_chunkL5RSJE2Icjs.FilterPillRow,
|
|
150
150
|
{
|
|
151
151
|
label: "Section",
|
|
152
152
|
selectedValue: activeSection,
|
|
@@ -155,7 +155,7 @@ function OnboardingGuidesCatalogView({
|
|
|
155
155
|
}
|
|
156
156
|
)
|
|
157
157
|
] });
|
|
158
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFZZBCRIDcjs.DevSectionPage, { sectionKey: "onboarding", preControls, children: initialGuides.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center py-16", children: [
|
|
159
159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GraduationCap, { className: "h-12 w-12 text-ods-text-secondary mx-auto mb-4" }),
|
|
160
160
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary font-['DM_Sans'] text-[20px] font-semibold mb-2", children: "No onboarding guides found" }),
|
|
161
161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary font-['DM_Sans'] text-[14px]", children: activeSection !== "all" ? "No guides in this section yet." : "We're working on the onboarding library. Check back soon." })
|
|
@@ -180,7 +180,7 @@ function OnboardingGuidesCatalogView({
|
|
|
180
180
|
function OnboardingGuideDetailView({
|
|
181
181
|
initialData: guide,
|
|
182
182
|
related = [],
|
|
183
|
-
MarkdownRenderer =
|
|
183
|
+
MarkdownRenderer = _chunkL5RSJE2Icjs.SimpleMarkdownRenderer,
|
|
184
184
|
renderRelatedCard,
|
|
185
185
|
backHref,
|
|
186
186
|
backLabel = "Back to Getting Started",
|
|
@@ -188,11 +188,11 @@ function OnboardingGuideDetailView({
|
|
|
188
188
|
}) {
|
|
189
189
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
190
190
|
const runtime = _chunkHOHDXYPRcjs.useChatRuntime.call(void 0, );
|
|
191
|
-
const { ref: videoWarmupRef } =
|
|
191
|
+
const { ref: videoWarmupRef } = _chunkL5RSJE2Icjs.useVideoWarmup.call(void 0, {
|
|
192
192
|
videoUrl: guide.main_video_url,
|
|
193
193
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.supabaseStorageOrigin])
|
|
194
194
|
});
|
|
195
|
-
const captionsUrl =
|
|
195
|
+
const captionsUrl = _chunkL5RSJE2Icjs.getCaptionsUrl.call(void 0,
|
|
196
196
|
"onboarding_guide",
|
|
197
197
|
guide.id,
|
|
198
198
|
guide.srt_content
|
|
@@ -205,7 +205,7 @@ function OnboardingGuideDetailView({
|
|
|
205
205
|
g.onboarding_guide_platforms
|
|
206
206
|
) : buildDefaultHref(basePath, g.slug);
|
|
207
207
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
-
|
|
208
|
+
_chunkL5RSJE2Icjs.OnboardingGuideCard,
|
|
209
209
|
{
|
|
210
210
|
guide: g,
|
|
211
211
|
href: cta.href,
|
|
@@ -214,7 +214,7 @@ function OnboardingGuideDetailView({
|
|
|
214
214
|
);
|
|
215
215
|
};
|
|
216
216
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
217
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
217
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5RSJE2Icjs.ArticleDetailLayout, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
218
218
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
219
219
|
_chunkWBR7H6E3cjs.next_link_default,
|
|
220
220
|
{
|
|
@@ -228,7 +228,7 @@ function OnboardingGuideDetailView({
|
|
|
228
228
|
),
|
|
229
229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary", children: guide.title }),
|
|
230
230
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
-
|
|
231
|
+
_chunkL5RSJE2Icjs.EntityAuthorCard,
|
|
232
232
|
{
|
|
233
233
|
author: guide.author,
|
|
234
234
|
publishedAt: guide.published_at,
|
|
@@ -242,7 +242,7 @@ function OnboardingGuideDetailView({
|
|
|
242
242
|
}
|
|
243
243
|
),
|
|
244
244
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
245
|
-
|
|
245
|
+
_chunkL5RSJE2Icjs.EntityVideoSection,
|
|
246
246
|
{
|
|
247
247
|
mainVideoUrl: guide.main_video_url,
|
|
248
248
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -259,7 +259,7 @@ function OnboardingGuideDetailView({
|
|
|
259
259
|
) }),
|
|
260
260
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
261
261
|
guide.video_bites && guide.video_bites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkL5RSJE2Icjs.VideoBitesDisplay,
|
|
263
263
|
{
|
|
264
264
|
bites: guide.video_bites,
|
|
265
265
|
filterPublished: true,
|
|
@@ -280,7 +280,7 @@ function OnboardingGuideDetailView({
|
|
|
280
280
|
|
|
281
281
|
function OnboardingGuidesCatalogSkeleton() {
|
|
282
282
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
283
|
-
|
|
283
|
+
_chunkFZZBCRIDcjs.DevSectionPage,
|
|
284
284
|
{
|
|
285
285
|
sectionKey: "onboarding",
|
|
286
286
|
preControls: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 animate-pulse", children: [
|
|
@@ -301,7 +301,7 @@ function OnboardingGuidesCatalogSkeleton() {
|
|
|
301
301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 bg-ods-border/70 rounded" }),
|
|
302
302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 bg-ods-text-secondary/20 rounded-full" })
|
|
303
303
|
] }),
|
|
304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
304
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5RSJE2Icjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
305
305
|
] }, sectionIdx)) })
|
|
306
306
|
}
|
|
307
307
|
);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DocSearchBar,
|
|
4
4
|
useDocSearch
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-EWA2NFUR.js";
|
|
6
6
|
import {
|
|
7
7
|
DevSectionPage
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-SWIR5EB2.js";
|
|
9
9
|
import "../../chunk-ORJREQ2W.js";
|
|
10
10
|
import {
|
|
11
11
|
ArticleDetailLayout,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
VideoBitesDisplay,
|
|
19
19
|
getCaptionsUrl,
|
|
20
20
|
useVideoWarmup
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-V5JY5RSY.js";
|
|
22
22
|
import "../../chunk-LXC6P2EO.js";
|
|
23
23
|
import "../../chunk-EL5YVPD5.js";
|
|
24
24
|
import "../../chunk-UEBM4PC4.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ticket-engagements.d.ts","sourceRoot":"","sources":["../../../../src/components/tickets/hooks/use-ticket-engagements.ts"],"names":[],"mappings":"AAsBA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;;kEAG8D;IAC9D,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC;;;;;;;;0BAQsB;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;6EAEyE;IACzE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;0DAGsD;IACtD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,oBAAoB,EAAE,CAAA;CACpC;AAOD,MAAM,WAAW,0BAA0B;IACzC,WAAW,EAAE,gBAAgB,EAAE,CAAA;IAC/B,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,oBAAoB,CAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,OAAO,UAAO;AACd;;;;;;6BAM6B;AAC7B,eAAe,GAAE,MAAM,GAAG,KAAa,GACtC,0BAA0B,
|
|
1
|
+
{"version":3,"file":"use-ticket-engagements.d.ts","sourceRoot":"","sources":["../../../../src/components/tickets/hooks/use-ticket-engagements.ts"],"names":[],"mappings":"AAsBA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;;kEAG8D;IAC9D,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC;;;;;;;;0BAQsB;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;6EAEyE;IACzE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;0DAGsD;IACtD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,oBAAoB,EAAE,CAAA;CACpC;AAOD,MAAM,WAAW,0BAA0B;IACzC,WAAW,EAAE,gBAAgB,EAAE,CAAA;IAC/B,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,oBAAoB,CAClC,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,OAAO,UAAO;AACd;;;;;;6BAM6B;AAC7B,eAAe,GAAE,MAAM,GAAG,KAAa,GACtC,0BAA0B,CAqE5B"}
|