@flamingo-stack/openframe-frontend-core 0.0.302 → 0.0.303-snapshot.20260622160827
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-YLD4WH67.js → chunk-2X4HTRQ4.js} +10 -22
- package/dist/chunk-2X4HTRQ4.js.map +1 -0
- package/dist/{chunk-LFXZJZKO.js → chunk-45DC5AJC.js} +2 -2
- package/dist/{chunk-ZDN6OEWV.cjs → chunk-7KTSRZI4.cjs} +483 -549
- package/dist/chunk-7KTSRZI4.cjs.map +1 -0
- package/dist/{chunk-3I7T732P.cjs → chunk-A25ZI7HO.cjs} +12 -12
- package/dist/{chunk-3I7T732P.cjs.map → chunk-A25ZI7HO.cjs.map} +1 -1
- package/dist/{chunk-K4ZENCQE.cjs → chunk-BMNGBMSN.cjs} +26 -26
- package/dist/{chunk-K4ZENCQE.cjs.map → chunk-BMNGBMSN.cjs.map} +1 -1
- package/dist/{chunk-5D76BUKB.js → chunk-DOYOOBP4.js} +2 -2
- package/dist/{chunk-TTHXHSVU.cjs → chunk-FVLEE7YZ.cjs} +23 -35
- package/dist/chunk-FVLEE7YZ.cjs.map +1 -0
- package/dist/{chunk-JHNAQUWK.js → chunk-INZOAK77.js} +2 -2
- package/dist/{chunk-N7XM5HTI.js → chunk-JO6EUJGU.js} +21 -27
- package/dist/chunk-JO6EUJGU.js.map +1 -0
- package/dist/{chunk-LWJYIEPP.cjs → chunk-MZRNARMO.cjs} +37 -37
- package/dist/{chunk-LWJYIEPP.cjs.map → chunk-MZRNARMO.cjs.map} +1 -1
- package/dist/{chunk-BD4YJSRZ.cjs → chunk-O4TIFKDG.cjs} +7 -7
- package/dist/{chunk-BD4YJSRZ.cjs.map → chunk-O4TIFKDG.cjs.map} +1 -1
- package/dist/{chunk-TMLDWPTS.cjs → chunk-RNF2E736.cjs} +11 -10
- package/dist/chunk-RNF2E736.cjs.map +1 -0
- package/dist/{chunk-HLJLLNOB.cjs → chunk-UAJAJFI6.cjs} +44 -50
- package/dist/chunk-UAJAJFI6.cjs.map +1 -0
- package/dist/{chunk-A22ZO5SB.js → chunk-X5N6ANEO.js} +4 -3
- package/dist/{chunk-A22ZO5SB.js.map → chunk-X5N6ANEO.js.map} +1 -1
- package/dist/{chunk-HRDN27UP.js → chunk-Y2D2RJQX.js} +2701 -2767
- package/dist/chunk-Y2D2RJQX.js.map +1 -0
- package/dist/{chunk-IXCQFNF7.js → chunk-YV73VRRY.js} +2 -2
- package/dist/{chunk-RBZCSKFW.cjs → chunk-Z7322A4A.cjs} +5 -5
- package/dist/{chunk-RBZCSKFW.cjs.map → chunk-Z7322A4A.cjs.map} +1 -1
- package/dist/{chunk-ZUALRZHW.js → chunk-ZXIM2DJM.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/hooks/use-chat-identity.d.ts +7 -1
- package/dist/components/chat/hooks/use-chat-identity.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-empty-state-config.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-slash-commands.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/doc-viewer.d.ts +3 -4
- package/dist/components/docs/doc-viewer.d.ts.map +1 -1
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/docs/use-docs-resolve-link.d.ts.map +1 -1
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/time-tracker/time-tracker-panel.d.ts.map +1 -1
- package/dist/components/index.cjs +172 -178
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +8 -14
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/page-layout.d.ts +1 -10
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +1 -17
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +23 -23
- package/dist/components/onboarding-guides/index.js +3 -3
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/shared/dev-section/dev-section-page.d.ts +0 -9
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-view.d.ts.map +1 -1
- package/dist/components/shared/dev-section/index.d.ts +1 -1
- package/dist/components/shared/dev-section/index.d.ts.map +1 -1
- package/dist/components/shared/doc-search/use-doc-search.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +60 -60
- package/dist/components/tickets/index.js +3 -3
- package/dist/components/ui/index.cjs +2 -6
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -5
- package/dist/index.cjs +2 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -5
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +25 -3
- package/src/components/chat/hooks/use-chat-identity.ts +13 -2
- package/src/components/chat/hooks/use-empty-state-config.ts +30 -16
- package/src/components/chat/hooks/use-slash-commands.ts +24 -8
- package/src/components/docs/doc-viewer.tsx +25 -22
- package/src/components/docs/use-docs-resolve-link.ts +2 -1
- package/src/components/docs/use-document-tree.ts +3 -2
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +1 -1
- package/src/components/features/time-tracker/time-tracker-panel.tsx +9 -4
- package/src/components/layout/page-layout.tsx +28 -14
- package/src/components/layout/title-block.tsx +86 -40
- package/src/components/shared/dev-section/dev-section-page.tsx +1 -9
- package/src/components/shared/dev-section/dev-section-view.tsx +9 -14
- package/src/components/shared/dev-section/index.ts +1 -1
- package/src/components/shared/doc-search/use-doc-search.ts +2 -1
- package/src/components/ui/index.ts +0 -1
- package/dist/chunk-HLJLLNOB.cjs.map +0 -1
- package/dist/chunk-HRDN27UP.js.map +0 -1
- package/dist/chunk-N7XM5HTI.js.map +0 -1
- package/dist/chunk-TMLDWPTS.cjs.map +0 -1
- package/dist/chunk-TTHXHSVU.cjs.map +0 -1
- package/dist/chunk-YLD4WH67.js.map +0 -1
- package/dist/chunk-ZDN6OEWV.cjs.map +0 -1
- package/dist/components/layout/page-header.d.ts +0 -78
- package/dist/components/layout/page-header.d.ts.map +0 -1
- package/dist/components/layout/page-with-header.d.ts +0 -67
- package/dist/components/layout/page-with-header.d.ts.map +0 -1
- package/src/components/layout/page-header.tsx +0 -182
- package/src/components/layout/page-with-header.tsx +0 -110
- /package/dist/{chunk-LFXZJZKO.js.map → chunk-45DC5AJC.js.map} +0 -0
- /package/dist/{chunk-5D76BUKB.js.map → chunk-DOYOOBP4.js.map} +0 -0
- /package/dist/{chunk-JHNAQUWK.js.map → chunk-INZOAK77.js.map} +0 -0
- /package/dist/{chunk-IXCQFNF7.js.map → chunk-YV73VRRY.js.map} +0 -0
- /package/dist/{chunk-ZUALRZHW.js.map → chunk-ZXIM2DJM.js.map} +0 -0
|
@@ -18839,7 +18839,10 @@ function ListPageLayout({
|
|
|
18839
18839
|
);
|
|
18840
18840
|
}
|
|
18841
18841
|
|
|
18842
|
-
// src/components/layout/page-
|
|
18842
|
+
// src/components/layout/page-layout.tsx
|
|
18843
|
+
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
18844
|
+
|
|
18845
|
+
// src/components/layout/title-block.tsx
|
|
18843
18846
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
18844
18847
|
|
|
18845
18848
|
// src/components/ui/entity-image.tsx
|
|
@@ -18880,37 +18883,36 @@ function EntityImage({ src, alt, fallbackText, className }) {
|
|
|
18880
18883
|
);
|
|
18881
18884
|
}
|
|
18882
18885
|
|
|
18883
|
-
// src/components/layout/
|
|
18886
|
+
// src/components/layout/title-block.tsx
|
|
18884
18887
|
|
|
18885
|
-
|
|
18886
|
-
var SUBTITLE_CLASS = "font-['DM_Sans'] font-medium text-[18px] leading-[28px] text-ods-text-secondary max-w-3xl line-clamp-2 min-h-[56px]";
|
|
18887
|
-
function PageHeader({
|
|
18888
|
+
function TitleBlock({
|
|
18888
18889
|
title,
|
|
18889
|
-
titleIcon,
|
|
18890
18890
|
subtitle,
|
|
18891
|
-
accentDot,
|
|
18892
18891
|
image,
|
|
18893
18892
|
backButton,
|
|
18894
18893
|
actions,
|
|
18894
|
+
actionsVariant = "icon-buttons",
|
|
18895
|
+
menuActions,
|
|
18896
|
+
selector,
|
|
18895
18897
|
variant = "plain",
|
|
18896
|
-
noBottomMargin = false,
|
|
18897
|
-
noTopPadding = false,
|
|
18898
18898
|
className
|
|
18899
18899
|
}) {
|
|
18900
|
+
const hasActions = actions && actions.length > 0;
|
|
18901
|
+
const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
|
|
18900
18902
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18901
18903
|
"div",
|
|
18902
18904
|
{
|
|
18903
18905
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
18904
18906
|
"flex items-end justify-between gap-[var(--spacing-system-m)]",
|
|
18905
18907
|
"md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between",
|
|
18906
|
-
|
|
18908
|
+
"pt-[var(--spacing-system-l)]",
|
|
18907
18909
|
variant === "card" ? _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
18908
18910
|
"bg-ods-card border-b border-ods-border",
|
|
18909
18911
|
"px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]",
|
|
18910
18912
|
"md:bg-transparent md:border-b-0",
|
|
18911
18913
|
"md:px-0 md:pb-0",
|
|
18912
|
-
|
|
18913
|
-
) :
|
|
18914
|
+
"md:mb-[var(--spacing-system-l)]"
|
|
18915
|
+
) : "mb-[var(--spacing-system-l)]",
|
|
18914
18916
|
className
|
|
18915
18917
|
),
|
|
18916
18918
|
children: [
|
|
@@ -18923,149 +18925,41 @@ function PageHeader({
|
|
|
18923
18925
|
className: "hidden md:inline-flex"
|
|
18924
18926
|
}
|
|
18925
18927
|
),
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
] })
|
|
18941
|
-
] }),
|
|
18942
|
-
(title || titleIcon || image) && // Always render the subtitle <p> when the title block exists,
|
|
18943
|
-
// even when `subtitle` is empty — `SUBTITLE_CLASS` reserves
|
|
18944
|
-
// `min-h-[56px]` so headers WITH and WITHOUT subtitles share a
|
|
18945
|
-
// baseline (the JSDoc on SUBTITLE_CLASS claims "ALWAYS occupies
|
|
18946
|
-
// exactly 2 lines"; gating the <p> on truthy `subtitle` broke
|
|
18947
|
-
// that contract — pages without subtitle were ~56px shorter).
|
|
18948
|
-
// Falsy subtitles render an NBSP placeholder so the empty <p>
|
|
18949
|
-
// still takes its reserved height.
|
|
18950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: SUBTITLE_CLASS, children: subtitle || "\xA0" })
|
|
18951
|
-
] })
|
|
18928
|
+
image || subtitle ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
|
|
18929
|
+
image && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18930
|
+
EntityImage,
|
|
18931
|
+
{
|
|
18932
|
+
src: image.src,
|
|
18933
|
+
alt: image.alt,
|
|
18934
|
+
fallbackText: image.alt || title
|
|
18935
|
+
}
|
|
18936
|
+
),
|
|
18937
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col justify-center min-w-0 flex-1", children: [
|
|
18938
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h2 text-ods-text-primary truncate", title, children: title }),
|
|
18939
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
|
|
18940
|
+
] })
|
|
18941
|
+
] }) : title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h2 text-ods-text-primary", children: title })
|
|
18952
18942
|
] }),
|
|
18953
|
-
|
|
18943
|
+
(hasActions || hasMenuActions || selector) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18944
|
+
PageActions,
|
|
18945
|
+
{
|
|
18946
|
+
variant: actionsVariant,
|
|
18947
|
+
actions: _nullishCoalesce(actions, () => ( [])),
|
|
18948
|
+
menuActions,
|
|
18949
|
+
selector
|
|
18950
|
+
}
|
|
18951
|
+
) })
|
|
18954
18952
|
]
|
|
18955
18953
|
}
|
|
18956
18954
|
);
|
|
18957
18955
|
}
|
|
18958
18956
|
|
|
18959
|
-
// src/components/layout/page-layout.tsx
|
|
18960
|
-
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
18961
|
-
|
|
18962
|
-
// src/components/layout/title-block.tsx
|
|
18963
|
-
|
|
18964
|
-
function TitleBlock({
|
|
18965
|
-
title,
|
|
18966
|
-
subtitle,
|
|
18967
|
-
titleIcon,
|
|
18968
|
-
accentDot,
|
|
18969
|
-
image,
|
|
18970
|
-
backButton,
|
|
18971
|
-
actions,
|
|
18972
|
-
actionsVariant = "icon-buttons",
|
|
18973
|
-
menuActions,
|
|
18974
|
-
selector,
|
|
18975
|
-
variant = "plain",
|
|
18976
|
-
className
|
|
18977
|
-
}) {
|
|
18978
|
-
const hasActions = actions && actions.length > 0;
|
|
18979
|
-
const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
|
|
18980
|
-
const hasActionsSlot = hasActions || hasMenuActions || !!selector;
|
|
18981
|
-
const actionsNode = hasActionsSlot ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18982
|
-
PageActions,
|
|
18983
|
-
{
|
|
18984
|
-
variant: actionsVariant,
|
|
18985
|
-
actions: _nullishCoalesce(actions, () => ( [])),
|
|
18986
|
-
menuActions,
|
|
18987
|
-
selector
|
|
18988
|
-
}
|
|
18989
|
-
) : void 0;
|
|
18990
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18991
|
-
PageHeader,
|
|
18992
|
-
{
|
|
18993
|
-
title,
|
|
18994
|
-
titleIcon,
|
|
18995
|
-
subtitle,
|
|
18996
|
-
accentDot,
|
|
18997
|
-
image,
|
|
18998
|
-
backButton,
|
|
18999
|
-
actions: actionsNode,
|
|
19000
|
-
variant,
|
|
19001
|
-
className
|
|
19002
|
-
}
|
|
19003
|
-
);
|
|
19004
|
-
}
|
|
19005
|
-
|
|
19006
|
-
// src/components/layout/page-with-header.tsx
|
|
19007
|
-
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
19008
|
-
|
|
19009
|
-
// src/components/layout/article-detail-layout.tsx
|
|
19010
|
-
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
19011
|
-
|
|
19012
|
-
function PageShell({ children, schemas, contentClassName }) {
|
|
19013
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "main", { className: "bg-ods-bg", children: [
|
|
19014
|
-
schemas,
|
|
19015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "page-shell-content max-w-[1920px] mx-auto", contentClassName), children })
|
|
19016
|
-
] });
|
|
19017
|
-
}
|
|
19018
|
-
function ArticleDetailLayout({ children, schemas, contentClassName }) {
|
|
19019
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "main", { className: "bg-ods-bg", children: [
|
|
19020
|
-
schemas,
|
|
19021
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10", contentClassName), children })
|
|
19022
|
-
] });
|
|
19023
|
-
}
|
|
19024
|
-
|
|
19025
|
-
// src/components/layout/page-with-header.tsx
|
|
19026
|
-
|
|
19027
|
-
function PageWithHeader({
|
|
19028
|
-
title,
|
|
19029
|
-
titleIcon,
|
|
19030
|
-
subtitle,
|
|
19031
|
-
accentDot = true,
|
|
19032
|
-
backButton,
|
|
19033
|
-
image,
|
|
19034
|
-
actions,
|
|
19035
|
-
children,
|
|
19036
|
-
contentClassName
|
|
19037
|
-
}) {
|
|
19038
|
-
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
19039
|
-
const backCfg = backButton === false ? void 0 : {
|
|
19040
|
-
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _338 => _338.label]), () => ( "Back to home")),
|
|
19041
|
-
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _339 => _339.href]), () => ( "/")))
|
|
19042
|
-
};
|
|
19043
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageShell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageLayout, { backButton: backCfg, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `w-full flex flex-col gap-10${contentClassName ? ` ${contentClassName}` : ""}`, children: [
|
|
19044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19045
|
-
PageHeader,
|
|
19046
|
-
{
|
|
19047
|
-
title,
|
|
19048
|
-
titleIcon,
|
|
19049
|
-
subtitle,
|
|
19050
|
-
accentDot,
|
|
19051
|
-
image,
|
|
19052
|
-
actions,
|
|
19053
|
-
noTopPadding: true,
|
|
19054
|
-
noBottomMargin: true
|
|
19055
|
-
}
|
|
19056
|
-
),
|
|
19057
|
-
children
|
|
19058
|
-
] }) }) });
|
|
19059
|
-
}
|
|
19060
|
-
|
|
19061
18957
|
// src/components/layout/page-layout.tsx
|
|
19062
18958
|
|
|
19063
18959
|
function PageLayout({
|
|
19064
18960
|
children,
|
|
19065
18961
|
title,
|
|
19066
18962
|
subtitle,
|
|
19067
|
-
titleIcon,
|
|
19068
|
-
accentDot,
|
|
19069
18963
|
image,
|
|
19070
18964
|
backButton,
|
|
19071
18965
|
actions,
|
|
@@ -19079,15 +18973,13 @@ function PageLayout({
|
|
|
19079
18973
|
}) {
|
|
19080
18974
|
const hasActions = actions && actions.length > 0;
|
|
19081
18975
|
const needsBottomPadding = hasActions && actionsVariant === "primary-buttons";
|
|
19082
|
-
const hasHeader = showHeader && (title || subtitle ||
|
|
18976
|
+
const hasHeader = showHeader && (title || subtitle || image || backButton || hasActions || selector);
|
|
19083
18977
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col w-full", className), children: [
|
|
19084
18978
|
hasHeader && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19085
18979
|
TitleBlock,
|
|
19086
18980
|
{
|
|
19087
18981
|
title,
|
|
19088
|
-
titleIcon,
|
|
19089
18982
|
subtitle,
|
|
19090
|
-
accentDot,
|
|
19091
18983
|
image,
|
|
19092
18984
|
backButton,
|
|
19093
18985
|
actions,
|
|
@@ -19101,6 +18993,22 @@ function PageLayout({
|
|
|
19101
18993
|
] });
|
|
19102
18994
|
}
|
|
19103
18995
|
|
|
18996
|
+
// src/components/layout/article-detail-layout.tsx
|
|
18997
|
+
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
18998
|
+
|
|
18999
|
+
function PageShell({ children, schemas, contentClassName }) {
|
|
19000
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "main", { className: "bg-ods-bg", children: [
|
|
19001
|
+
schemas,
|
|
19002
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "page-shell-content max-w-[1920px] mx-auto", contentClassName), children })
|
|
19003
|
+
] });
|
|
19004
|
+
}
|
|
19005
|
+
function ArticleDetailLayout({ children, schemas, contentClassName }) {
|
|
19006
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "main", { className: "bg-ods-bg", children: [
|
|
19007
|
+
schemas,
|
|
19008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10", contentClassName), children })
|
|
19009
|
+
] });
|
|
19010
|
+
}
|
|
19011
|
+
|
|
19104
19012
|
// src/components/toggle-group.tsx
|
|
19105
19013
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
19106
19014
|
|
|
@@ -19684,7 +19592,7 @@ function getShellIcon(shellType) {
|
|
|
19684
19592
|
if (!shellType) return void 0;
|
|
19685
19593
|
const normalized = shellType.toUpperCase();
|
|
19686
19594
|
const shellDef = SHELL_TYPES.find((s) => s.id === normalized);
|
|
19687
|
-
return _optionalChain([shellDef, 'optionalAccess',
|
|
19595
|
+
return _optionalChain([shellDef, 'optionalAccess', _338 => _338.icon]);
|
|
19688
19596
|
}
|
|
19689
19597
|
|
|
19690
19598
|
// src/types/os.types.ts
|
|
@@ -19757,7 +19665,7 @@ function getOSIcon(osType) {
|
|
|
19757
19665
|
const normalized = normalizeOSType(osType);
|
|
19758
19666
|
if (!normalized) return void 0;
|
|
19759
19667
|
const osTypeDef = OS_TYPES.find((t) => t.id === normalized);
|
|
19760
|
-
return _optionalChain([osTypeDef, 'optionalAccess',
|
|
19668
|
+
return _optionalChain([osTypeDef, 'optionalAccess', _339 => _339.icon]);
|
|
19761
19669
|
}
|
|
19762
19670
|
function getOSTypeDefinition(osType) {
|
|
19763
19671
|
if (!osType) return void 0;
|
|
@@ -19767,7 +19675,7 @@ function getOSTypeDefinition(osType) {
|
|
|
19767
19675
|
}
|
|
19768
19676
|
function getOSPlatformId(osType) {
|
|
19769
19677
|
const osTypeDef = getOSTypeDefinition(osType);
|
|
19770
|
-
return _optionalChain([osTypeDef, 'optionalAccess',
|
|
19678
|
+
return _optionalChain([osTypeDef, 'optionalAccess', _340 => _340.platformId]);
|
|
19771
19679
|
}
|
|
19772
19680
|
function isOSPlatform(deviceOS, targetPlatform) {
|
|
19773
19681
|
if (!deviceOS || !targetPlatform) return false;
|
|
@@ -19860,10 +19768,10 @@ var GENERIC_EMAIL_DOMAINS = [
|
|
|
19860
19768
|
];
|
|
19861
19769
|
function extractDomainFromEmail(email) {
|
|
19862
19770
|
if (!email || !email.includes("@")) return null;
|
|
19863
|
-
return _optionalChain([email, 'access',
|
|
19771
|
+
return _optionalChain([email, 'access', _341 => _341.split, 'call', _342 => _342("@"), 'access', _343 => _343[1], 'optionalAccess', _344 => _344.toLowerCase, 'call', _345 => _345()]) || null;
|
|
19864
19772
|
}
|
|
19865
19773
|
function normalizeDomain(domain) {
|
|
19866
|
-
return _optionalChain([domain, 'optionalAccess',
|
|
19774
|
+
return _optionalChain([domain, 'optionalAccess', _346 => _346.toLowerCase, 'call', _347 => _347(), 'access', _348 => _348.replace, 'call', _349 => _349(/^https?:\/\//, ""), 'access', _350 => _350.replace, 'call', _351 => _351(/^www\./, ""), 'access', _352 => _352.split, 'call', _353 => _353("/"), 'access', _354 => _354[0], 'access', _355 => _355.trim, 'call', _356 => _356()]) || "";
|
|
19867
19775
|
}
|
|
19868
19776
|
function isGenericDomain(domain) {
|
|
19869
19777
|
const normalized = normalizeDomain(domain);
|
|
@@ -20290,7 +20198,7 @@ function defaultTableIdForDocumentType(documentType) {
|
|
|
20290
20198
|
|
|
20291
20199
|
// src/utils/sse-decision-frame.ts
|
|
20292
20200
|
async function readLeadingDecisionFrame(response) {
|
|
20293
|
-
const reader = _optionalChain([response, 'access',
|
|
20201
|
+
const reader = _optionalChain([response, 'access', _357 => _357.body, 'optionalAccess', _358 => _358.getReader, 'call', _359 => _359()]);
|
|
20294
20202
|
if (!reader) throw new Error("readLeadingDecisionFrame: response has no body");
|
|
20295
20203
|
const decoder = new TextDecoder();
|
|
20296
20204
|
let buffer = "";
|
|
@@ -20319,9 +20227,9 @@ async function readLeadingDecisionFrame(response) {
|
|
|
20319
20227
|
);
|
|
20320
20228
|
}
|
|
20321
20229
|
const obj = parsed;
|
|
20322
|
-
if (_optionalChain([obj, 'optionalAccess',
|
|
20230
|
+
if (_optionalChain([obj, 'optionalAccess', _360 => _360.kind]) !== "decision_resolved") {
|
|
20323
20231
|
throw new Error(
|
|
20324
|
-
`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess',
|
|
20232
|
+
`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _361 => _361.kind]))}`
|
|
20325
20233
|
);
|
|
20326
20234
|
}
|
|
20327
20235
|
frame = normalizeDecisionFrame(obj);
|
|
@@ -20362,7 +20270,7 @@ var AUTO_CONTINUATION_DIRECTIVE_PREFIX = "[internal-auto-continuation]";
|
|
|
20362
20270
|
function buildAutoContinuationDirective(toolName, opts = {}) {
|
|
20363
20271
|
const ticketRef = opts.ticketId ? ` (ticket #${opts.ticketId})` : "";
|
|
20364
20272
|
const ticketHash = opts.ticketId ? ` #${opts.ticketId}` : "";
|
|
20365
|
-
const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access',
|
|
20273
|
+
const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access', _362 => _362.status, 'optionalAccess', _363 => _363.toUpperCase, 'call', _364 => _364()]) === "CLOSED";
|
|
20366
20274
|
if (toolName === "create_ticket") {
|
|
20367
20275
|
return `${AUTO_CONTINUATION_DIRECTIVE_PREFIX} The user just approved create_ticket${ticketRef}. Per ticket-protocol \xA71a, ask 2-4 SHORT, issue-specific diagnostic follow-up questions tailored to the symptom they reported in their original message. When they answer, propose an update_ticket with content_addendum carrying a clean Q&A digest. Do NOT call any tool in this turn \u2014 just write the questions as prose.`;
|
|
20368
20276
|
}
|
|
@@ -20424,7 +20332,7 @@ function formatSingularLookupInvocation(cmdId, value) {
|
|
|
20424
20332
|
return safe ? `/${cmdId} "${safe}"` : `/${cmdId}`;
|
|
20425
20333
|
}
|
|
20426
20334
|
function extractEntityIdFilter(override, expectedTableId) {
|
|
20427
|
-
const f = _optionalChain([override, 'optionalAccess',
|
|
20335
|
+
const f = _optionalChain([override, 'optionalAccess', _365 => _365.entityIdFilter]);
|
|
20428
20336
|
if (!f) return null;
|
|
20429
20337
|
const tableId = typeof f.tableId === "string" ? f.tableId : "";
|
|
20430
20338
|
const id = typeof f.id === "string" ? f.id : "";
|
|
@@ -20499,7 +20407,7 @@ function getTaskTypeLabel(customItemId) {
|
|
|
20499
20407
|
|
|
20500
20408
|
// src/components/chat/utils/agent-status-message.ts
|
|
20501
20409
|
function getStatusColorScheme(status) {
|
|
20502
|
-
const s = _optionalChain([status, 'optionalAccess',
|
|
20410
|
+
const s = _optionalChain([status, 'optionalAccess', _366 => _366.toLowerCase, 'call', _367 => _367()]) || "";
|
|
20503
20411
|
switch (status) {
|
|
20504
20412
|
case "completed":
|
|
20505
20413
|
case "success":
|
|
@@ -20781,10 +20689,10 @@ var CONTENT_REF_GROUPS = {
|
|
|
20781
20689
|
what_i_shipped: { label: "What I Shipped", order: 10, layout: "grid", gridSize: "default" }
|
|
20782
20690
|
};
|
|
20783
20691
|
function getContentRefLabel(type) {
|
|
20784
|
-
return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access',
|
|
20692
|
+
return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _368 => _368[type], 'optionalAccess', _369 => _369.label]), () => ( null));
|
|
20785
20693
|
}
|
|
20786
20694
|
function getContentRefLabelOrTitleCase(type) {
|
|
20787
|
-
return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access',
|
|
20695
|
+
return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _370 => _370[type], 'optionalAccess', _371 => _371.label]), () => ( type.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase())));
|
|
20788
20696
|
}
|
|
20789
20697
|
function orderContentRefTypes(present) {
|
|
20790
20698
|
const presentSet = new Set(present);
|
|
@@ -20943,7 +20851,7 @@ function getDocSourceDefaultPath(structure, folderIndexFile = DEFAULT_FOLDER_IND
|
|
|
20943
20851
|
const firstFolderWithReadme = structure.find(
|
|
20944
20852
|
(node) => node.type === "folder" && node.hasReadme && !!node.path
|
|
20945
20853
|
);
|
|
20946
|
-
return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess',
|
|
20854
|
+
return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _372 => _372.path]), () => ( null));
|
|
20947
20855
|
}
|
|
20948
20856
|
|
|
20949
20857
|
// src/utils/doc-path-utils.ts
|
|
@@ -20954,7 +20862,7 @@ function pathToNodeId(path) {
|
|
|
20954
20862
|
return path.replace(/[\/\s]/g, "-").toLowerCase();
|
|
20955
20863
|
}
|
|
20956
20864
|
function normalizeDocPath(segments, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE) {
|
|
20957
|
-
const lowerPath = (_optionalChain([segments, 'optionalAccess',
|
|
20865
|
+
const lowerPath = (_optionalChain([segments, 'optionalAccess', _373 => _373.join, 'call', _374 => _374("/")]) || "").toLowerCase();
|
|
20958
20866
|
const lowerIndex = folderIndexFile.toLowerCase();
|
|
20959
20867
|
const suffix = `/${lowerIndex}`;
|
|
20960
20868
|
if (lowerPath.endsWith(suffix)) return lowerPath.slice(0, -suffix.length);
|
|
@@ -21774,26 +21682,26 @@ function DeviceCard({
|
|
|
21774
21682
|
] }),
|
|
21775
21683
|
device.organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", title: device.organization, children: device.organization })
|
|
21776
21684
|
] }),
|
|
21777
|
-
_optionalChain([actions, 'access',
|
|
21685
|
+
_optionalChain([actions, 'access', _375 => _375.moreButton, 'optionalAccess', _376 => _376.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21778
21686
|
"div",
|
|
21779
21687
|
{
|
|
21780
21688
|
className: "flex items-center justify-center p-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
|
|
21781
21689
|
onClick: (e) => {
|
|
21782
21690
|
e.stopPropagation();
|
|
21783
|
-
_optionalChain([actions, 'access',
|
|
21691
|
+
_optionalChain([actions, 'access', _377 => _377.moreButton, 'optionalAccess', _378 => _378.onClick, 'optionalCall', _379 => _379()]);
|
|
21784
21692
|
},
|
|
21785
21693
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
21786
21694
|
}
|
|
21787
21695
|
),
|
|
21788
|
-
_optionalChain([actions, 'access',
|
|
21789
|
-
_optionalChain([actions, 'access',
|
|
21696
|
+
_optionalChain([actions, 'access', _380 => _380.detailsButton, 'optionalAccess', _381 => _381.visible]) !== false && _optionalChain([actions, 'access', _382 => _382.detailsButton, 'optionalAccess', _383 => _383.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
21697
|
+
_optionalChain([actions, 'access', _384 => _384.customActions, 'optionalAccess', _385 => _385.map, 'call', _386 => _386(
|
|
21790
21698
|
(action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21791
21699
|
"div",
|
|
21792
21700
|
{
|
|
21793
21701
|
className: "flex items-center justify-center px-4 py-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
|
|
21794
21702
|
onClick: (e) => {
|
|
21795
21703
|
e.stopPropagation();
|
|
21796
|
-
_optionalChain([action, 'access',
|
|
21704
|
+
_optionalChain([action, 'access', _387 => _387.onClick, 'optionalCall', _388 => _388()]);
|
|
21797
21705
|
},
|
|
21798
21706
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
|
|
21799
21707
|
},
|
|
@@ -22293,7 +22201,7 @@ function MoreActionsMenu({
|
|
|
22293
22201
|
] });
|
|
22294
22202
|
const handleActivate = (e) => {
|
|
22295
22203
|
e.stopPropagation();
|
|
22296
|
-
if (!item.disabled) _optionalChain([item, 'access',
|
|
22204
|
+
if (!item.disabled) _optionalChain([item, 'access', _389 => _389.onClick, 'optionalCall', _390 => _390()]);
|
|
22297
22205
|
};
|
|
22298
22206
|
if (item.href) {
|
|
22299
22207
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22360,7 +22268,7 @@ function OrganizationCard({
|
|
|
22360
22268
|
const handleActionClick = (e) => {
|
|
22361
22269
|
e.preventDefault();
|
|
22362
22270
|
e.stopPropagation();
|
|
22363
|
-
_optionalChain([actionButton, 'optionalAccess',
|
|
22271
|
+
_optionalChain([actionButton, 'optionalAccess', _391 => _391.onClick, 'call', _392 => _392(organization, e)]);
|
|
22364
22272
|
};
|
|
22365
22273
|
const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22366
22274
|
"div",
|
|
@@ -23266,10 +23174,10 @@ var getContentDimensions = (config) => {
|
|
|
23266
23174
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
23267
23175
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
23268
23176
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
23269
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
23270
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
23271
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
23272
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
23177
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _393 => _393.mobileContentDimensions, 'optionalAccess', _394 => _394.width]))), () => ( defaultMobile.width));
|
|
23178
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _395 => _395.mobileContentDimensions, 'optionalAccess', _396 => _396.height]))), () => ( defaultMobile.height));
|
|
23179
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _397 => _397.desktopContentDimensions, 'optionalAccess', _398 => _398.width]))), () => ( defaultDesktop.width));
|
|
23180
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _399 => _399.desktopContentDimensions, 'optionalAccess', _400 => _400.height]))), () => ( defaultDesktop.height));
|
|
23273
23181
|
return {
|
|
23274
23182
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
23275
23183
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -23403,7 +23311,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
23403
23311
|
const contentDimensions = getContentDimensions(config);
|
|
23404
23312
|
const mobileHeight = contentDimensions.mobile.height;
|
|
23405
23313
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
23406
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
23314
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _401 => _401.innerHeight]) * 0.85 || 650)}px`;
|
|
23407
23315
|
})(),
|
|
23408
23316
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
23409
23317
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -23508,7 +23416,7 @@ var FigmaPrototypeViewer = ({
|
|
|
23508
23416
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
23509
23417
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
23510
23418
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
23511
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
23419
|
+
config.defaultSectionId || _optionalChain([config, 'access', _402 => _402.sections, 'access', _403 => _403[0], 'optionalAccess', _404 => _404.id]) || ""
|
|
23512
23420
|
);
|
|
23513
23421
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
23514
23422
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -23598,7 +23506,7 @@ var FigmaPrototypeViewer = ({
|
|
|
23598
23506
|
const handleMessage = (event) => {
|
|
23599
23507
|
if (event.origin !== "https://www.figma.com") return;
|
|
23600
23508
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
23601
|
-
if (_optionalChain([event, 'access',
|
|
23509
|
+
if (_optionalChain([event, 'access', _405 => _405.data, 'optionalAccess', _406 => _406.type]) && validEvents.includes(event.data.type)) {
|
|
23602
23510
|
const figmaEvent = event.data;
|
|
23603
23511
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
23604
23512
|
switch (figmaEvent.type) {
|
|
@@ -23608,19 +23516,19 @@ var FigmaPrototypeViewer = ({
|
|
|
23608
23516
|
setIframeState("READY");
|
|
23609
23517
|
break;
|
|
23610
23518
|
case "PRESENTED_NODE_CHANGED":
|
|
23611
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
23519
|
+
if (_optionalChain([figmaEvent, 'access', _407 => _407.data, 'optionalAccess', _408 => _408.presentedNodeId])) {
|
|
23612
23520
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
23613
23521
|
if (!isNavigating) {
|
|
23614
23522
|
const matchingSection = config.sections.find((s) => {
|
|
23615
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
23616
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
23523
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _409 => _409.data, 'optionalAccess', _410 => _410.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _411 => _411.data, 'optionalAccess', _412 => _412.presentedNodeId]);
|
|
23524
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _413 => _413.data, 'optionalAccess', _414 => _414.presentedNodeId]) || _optionalChain([s, 'access', _415 => _415.mobileStartingNodeId, 'optionalAccess', _416 => _416.replace, 'call', _417 => _417(":", "-")]) === _optionalChain([figmaEvent, 'access', _418 => _418.data, 'optionalAccess', _419 => _419.presentedNodeId]);
|
|
23617
23525
|
return desktopMatch || mobileMatch;
|
|
23618
23526
|
});
|
|
23619
23527
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
23620
23528
|
if (!externalActiveSection) {
|
|
23621
23529
|
setInternalActiveSection(matchingSection.id);
|
|
23622
23530
|
}
|
|
23623
|
-
_optionalChain([config, 'access',
|
|
23531
|
+
_optionalChain([config, 'access', _420 => _420.onSectionChange, 'optionalCall', _421 => _421(matchingSection.id)]);
|
|
23624
23532
|
}
|
|
23625
23533
|
}
|
|
23626
23534
|
}
|
|
@@ -23633,7 +23541,7 @@ var FigmaPrototypeViewer = ({
|
|
|
23633
23541
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
23634
23542
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
23635
23543
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
23636
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
23544
|
+
if (!section || !_optionalChain([iframeRef, 'access', _422 => _422.current, 'optionalAccess', _423 => _423.contentWindow]) || !isInitialized) {
|
|
23637
23545
|
return;
|
|
23638
23546
|
}
|
|
23639
23547
|
setIsNavigating(true);
|
|
@@ -23641,7 +23549,7 @@ var FigmaPrototypeViewer = ({
|
|
|
23641
23549
|
if (!externalActiveSection) {
|
|
23642
23550
|
setInternalActiveSection(sectionId);
|
|
23643
23551
|
}
|
|
23644
|
-
_optionalChain([config, 'access',
|
|
23552
|
+
_optionalChain([config, 'access', _424 => _424.onSectionChange, 'optionalCall', _425 => _425(sectionId)]);
|
|
23645
23553
|
const command = {
|
|
23646
23554
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
23647
23555
|
data: { nodeId }
|
|
@@ -23961,7 +23869,7 @@ var FiltersDropdown = ({
|
|
|
23961
23869
|
defaults[section.id] = section.defaultSelected || [];
|
|
23962
23870
|
});
|
|
23963
23871
|
setSelectedFilters(defaults);
|
|
23964
|
-
_optionalChain([onReset, 'optionalCall',
|
|
23872
|
+
_optionalChain([onReset, 'optionalCall', _426 => _426()]);
|
|
23965
23873
|
setIsOpen(false);
|
|
23966
23874
|
};
|
|
23967
23875
|
const handleApply = () => {
|
|
@@ -24254,7 +24162,7 @@ function MediaGalleryManager({
|
|
|
24254
24162
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
24255
24163
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
24256
24164
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
24257
|
-
const file = _optionalChain([event, 'access',
|
|
24165
|
+
const file = _optionalChain([event, 'access', _427 => _427.target, 'access', _428 => _428.files, 'optionalAccess', _429 => _429[0]]);
|
|
24258
24166
|
if (!file) return;
|
|
24259
24167
|
let mediaType;
|
|
24260
24168
|
if (file.type.startsWith("image/")) {
|
|
@@ -24369,7 +24277,7 @@ function MediaGalleryManager({
|
|
|
24369
24277
|
{
|
|
24370
24278
|
type: "button",
|
|
24371
24279
|
variant: "outline",
|
|
24372
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
24280
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _430 => _430.current, 'optionalAccess', _431 => _431.click, 'call', _432 => _432()]),
|
|
24373
24281
|
disabled: isUploading,
|
|
24374
24282
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
24375
24283
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -25018,7 +24926,7 @@ function ReleaseMediaManager({
|
|
|
25018
24926
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
25019
24927
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
25020
24928
|
const handleFileSelect = async (event) => {
|
|
25021
|
-
const file = _optionalChain([event, 'access',
|
|
24929
|
+
const file = _optionalChain([event, 'access', _433 => _433.target, 'access', _434 => _434.files, 'optionalAccess', _435 => _435[0]]);
|
|
25022
24930
|
if (!file) return;
|
|
25023
24931
|
let mediaType;
|
|
25024
24932
|
if (file.type.startsWith("image/")) {
|
|
@@ -25098,7 +25006,7 @@ function ReleaseMediaManager({
|
|
|
25098
25006
|
{
|
|
25099
25007
|
type: "button",
|
|
25100
25008
|
variant: "outline",
|
|
25101
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
25009
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _436 => _436.current, 'optionalAccess', _437 => _437.click, 'call', _438 => _438()]),
|
|
25102
25010
|
disabled: uploadingIndex !== null,
|
|
25103
25011
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
25104
25012
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -25311,7 +25219,7 @@ function SEOEditorPreview({
|
|
|
25311
25219
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
25312
25220
|
const handleImageUpload = async (event) => {
|
|
25313
25221
|
if (!onOgImageUpload) return;
|
|
25314
|
-
const file = _optionalChain([event, 'access',
|
|
25222
|
+
const file = _optionalChain([event, 'access', _439 => _439.target, 'access', _440 => _440.files, 'optionalAccess', _441 => _441[0]]);
|
|
25315
25223
|
if (!file) return;
|
|
25316
25224
|
setIsUploading(true);
|
|
25317
25225
|
try {
|
|
@@ -25442,7 +25350,7 @@ function SEOEditorPreview({
|
|
|
25442
25350
|
type: "button",
|
|
25443
25351
|
variant: "outline",
|
|
25444
25352
|
size: "icon",
|
|
25445
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
25353
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _442 => _442.click, 'call', _443 => _443()]),
|
|
25446
25354
|
disabled: disabled || isUploading,
|
|
25447
25355
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
25448
25356
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -25465,7 +25373,7 @@ function SEOEditorPreview({
|
|
|
25465
25373
|
"div",
|
|
25466
25374
|
{
|
|
25467
25375
|
className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
|
|
25468
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
25376
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _444 => _444.click, 'call', _445 => _445()]),
|
|
25469
25377
|
children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25470
25378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
25471
25379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -25550,7 +25458,7 @@ function SocialLinksManager({
|
|
|
25550
25458
|
className = ""
|
|
25551
25459
|
}) {
|
|
25552
25460
|
const addLink = () => {
|
|
25553
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
25461
|
+
const firstPlatform = _optionalChain([platforms, 'access', _446 => _446[0], 'optionalAccess', _447 => _447.name]) || "website";
|
|
25554
25462
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
25555
25463
|
};
|
|
25556
25464
|
const removeLink = (index) => {
|
|
@@ -25562,7 +25470,7 @@ function SocialLinksManager({
|
|
|
25562
25470
|
onChange(updated);
|
|
25563
25471
|
};
|
|
25564
25472
|
const getIcon = (link, platform) => {
|
|
25565
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
25473
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _448 => _448.icon_name]) || link.platform;
|
|
25566
25474
|
const IconComponent = iconMap[iconKey];
|
|
25567
25475
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
25568
25476
|
};
|
|
@@ -25587,7 +25495,7 @@ function SocialLinksManager({
|
|
|
25587
25495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25588
25496
|
_chunkFQOTC3UUcjs.Input,
|
|
25589
25497
|
{
|
|
25590
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
25498
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _449 => _449.placeholder]) || "Profile URL",
|
|
25591
25499
|
value: link.url,
|
|
25592
25500
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
25593
25501
|
onKeyDown: (e) => {
|
|
@@ -25942,7 +25850,7 @@ function useVideoOriginPreconnect({
|
|
|
25942
25850
|
supabaseStorageOrigin
|
|
25943
25851
|
} = {}) {
|
|
25944
25852
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
25945
|
-
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess',
|
|
25853
|
+
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _450 => _450.endpoints, 'access', _451 => _451.supabaseStorageOrigin])));
|
|
25946
25854
|
try {
|
|
25947
25855
|
ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
|
|
25948
25856
|
ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
|
|
@@ -25961,13 +25869,13 @@ function useVideoWarmup({
|
|
|
25961
25869
|
nearMargin = "1000px"
|
|
25962
25870
|
} = {}) {
|
|
25963
25871
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
25964
|
-
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess',
|
|
25872
|
+
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _452 => _452.endpoints, 'access', _453 => _453.supabaseStorageOrigin])));
|
|
25965
25873
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
25966
25874
|
const { ref, isNear } = _chunkG56GYN7Zcjs.useNearViewport.call(void 0, nearMargin);
|
|
25967
25875
|
_react.useEffect.call(void 0, () => {
|
|
25968
25876
|
if (!isNear || !videoUrl || !resolvedOrigin) return;
|
|
25969
25877
|
const conn = navigator.connection;
|
|
25970
|
-
if (_optionalChain([conn, 'optionalAccess',
|
|
25878
|
+
if (_optionalChain([conn, 'optionalAccess', _454 => _454.saveData]) === true) return;
|
|
25971
25879
|
let videoOrigin;
|
|
25972
25880
|
try {
|
|
25973
25881
|
videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
|
|
@@ -26037,7 +25945,7 @@ function VideoSourceSelector({
|
|
|
26037
25945
|
input.accept = "video/*";
|
|
26038
25946
|
input.onchange = async (e) => {
|
|
26039
25947
|
const target = e.target;
|
|
26040
|
-
const file = _optionalChain([target, 'access',
|
|
25948
|
+
const file = _optionalChain([target, 'access', _455 => _455.files, 'optionalAccess', _456 => _456[0]]);
|
|
26041
25949
|
if (!file) return;
|
|
26042
25950
|
setIsUploading(true);
|
|
26043
25951
|
setUploadProgress(0);
|
|
@@ -26398,7 +26306,7 @@ function TranscriptSummaryEditor({
|
|
|
26398
26306
|
{
|
|
26399
26307
|
id: "subtitles",
|
|
26400
26308
|
value: subtitles || "",
|
|
26401
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
26309
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _457 => _457(e.target.value)]),
|
|
26402
26310
|
placeholder: subtitlesPlaceholder,
|
|
26403
26311
|
disabled: disabled || !onSubtitlesChange,
|
|
26404
26312
|
className: "h-full w-full resize-none border-0 bg-transparent text-ods-text-primary placeholder:text-ods-text-secondary/50 focus:ring-0 focus:outline-none p-4 font-mono text-sm",
|
|
@@ -26551,7 +26459,7 @@ var AIEnrichSection = ({
|
|
|
26551
26459
|
}) => {
|
|
26552
26460
|
const hasResults = status === "success" || status === "error";
|
|
26553
26461
|
const shouldDisable = disabled || !canEnrich;
|
|
26554
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
26462
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _458 => _458.filter, 'call', _459 => _459((f) => !f.isFilled)]) || [];
|
|
26555
26463
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26556
26464
|
"div",
|
|
26557
26465
|
{
|
|
@@ -26589,7 +26497,7 @@ var AIEnrichSection = ({
|
|
|
26589
26497
|
{
|
|
26590
26498
|
id: "ai-enrich-custom-instructions",
|
|
26591
26499
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
26592
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
26500
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _460 => _460(e.target.value)]),
|
|
26593
26501
|
placeholder: customInstructionsPlaceholder,
|
|
26594
26502
|
disabled: loading,
|
|
26595
26503
|
maxLength: customInstructionsMaxLength,
|
|
@@ -26718,7 +26626,7 @@ function HighlightVideoSection({
|
|
|
26718
26626
|
input.accept = "video/*";
|
|
26719
26627
|
input.onchange = async (e) => {
|
|
26720
26628
|
const target = e.target;
|
|
26721
|
-
const file = _optionalChain([target, 'access',
|
|
26629
|
+
const file = _optionalChain([target, 'access', _461 => _461.files, 'optionalAccess', _462 => _462[0]]);
|
|
26722
26630
|
if (!file) return;
|
|
26723
26631
|
setUploadError(null);
|
|
26724
26632
|
try {
|
|
@@ -27220,7 +27128,7 @@ function HighlightVideoPreview({
|
|
|
27220
27128
|
input.accept = "video/*";
|
|
27221
27129
|
input.onchange = async (e) => {
|
|
27222
27130
|
const target = e.target;
|
|
27223
|
-
const file = _optionalChain([target, 'access',
|
|
27131
|
+
const file = _optionalChain([target, 'access', _463 => _463.files, 'optionalAccess', _464 => _464[0]]);
|
|
27224
27132
|
if (!file) return;
|
|
27225
27133
|
await onUpload(file);
|
|
27226
27134
|
};
|
|
@@ -27407,7 +27315,7 @@ function HighlightVideoCombinedSection({
|
|
|
27407
27315
|
input.accept = "video/*";
|
|
27408
27316
|
input.onchange = async (e) => {
|
|
27409
27317
|
const target = e.target;
|
|
27410
|
-
const file = _optionalChain([target, 'access',
|
|
27318
|
+
const file = _optionalChain([target, 'access', _465 => _465.files, 'optionalAccess', _466 => _466[0]]);
|
|
27411
27319
|
if (!file) return;
|
|
27412
27320
|
await onUpload(file);
|
|
27413
27321
|
};
|
|
@@ -27704,7 +27612,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
27704
27612
|
return editMode ? "Set Global Permission" : "";
|
|
27705
27613
|
}
|
|
27706
27614
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
27707
|
-
return _optionalChain([option, 'optionalAccess',
|
|
27615
|
+
return _optionalChain([option, 'optionalAccess', _467 => _467.label]) || level;
|
|
27708
27616
|
};
|
|
27709
27617
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
27710
27618
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
|
|
@@ -27918,12 +27826,12 @@ function PhoneInput({
|
|
|
27918
27826
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
27919
27827
|
if (!phone || digitCount(phone) === 0) {
|
|
27920
27828
|
setIsInvalid(false);
|
|
27921
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
27829
|
+
_optionalChain([onValidationChange, 'optionalCall', _468 => _468(false)]);
|
|
27922
27830
|
return;
|
|
27923
27831
|
}
|
|
27924
27832
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
27925
27833
|
setIsInvalid(invalid);
|
|
27926
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
27834
|
+
_optionalChain([onValidationChange, 'optionalCall', _469 => _469(invalid)]);
|
|
27927
27835
|
}, [countryCode, digitCount, onValidationChange]);
|
|
27928
27836
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
27929
27837
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -27972,7 +27880,7 @@ function PhoneInput({
|
|
|
27972
27880
|
debouncedValidation(val);
|
|
27973
27881
|
} else if (digitCount(val) === 0) {
|
|
27974
27882
|
setIsInvalid(false);
|
|
27975
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
27883
|
+
_optionalChain([onValidationChange, 'optionalCall', _470 => _470(false)]);
|
|
27976
27884
|
}
|
|
27977
27885
|
}
|
|
27978
27886
|
},
|
|
@@ -28313,19 +28221,19 @@ function NotificationsProvider({
|
|
|
28313
28221
|
}, []);
|
|
28314
28222
|
const markRead = React90.useCallback((id) => {
|
|
28315
28223
|
dispatch({ type: "markRead", id });
|
|
28316
|
-
void _optionalChain([actionsRef, 'access',
|
|
28224
|
+
void _optionalChain([actionsRef, 'access', _471 => _471.current, 'optionalAccess', _472 => _472.onMarkRead, 'optionalCall', _473 => _473(id)]);
|
|
28317
28225
|
}, []);
|
|
28318
28226
|
const markAllRead = React90.useCallback(() => {
|
|
28319
28227
|
dispatch({ type: "markAllRead" });
|
|
28320
|
-
void _optionalChain([actionsRef, 'access',
|
|
28228
|
+
void _optionalChain([actionsRef, 'access', _474 => _474.current, 'optionalAccess', _475 => _475.onMarkAllRead, 'optionalCall', _476 => _476()]);
|
|
28321
28229
|
}, []);
|
|
28322
28230
|
const markSettled = React90.useCallback((id) => {
|
|
28323
28231
|
dispatch({ type: "markSettled", id });
|
|
28324
|
-
void _optionalChain([actionsRef, 'access',
|
|
28232
|
+
void _optionalChain([actionsRef, 'access', _477 => _477.current, 'optionalAccess', _478 => _478.onMarkSettled, 'optionalCall', _479 => _479(id)]);
|
|
28325
28233
|
}, []);
|
|
28326
28234
|
const remove = React90.useCallback((id) => {
|
|
28327
28235
|
dispatch({ type: "remove", id });
|
|
28328
|
-
void _optionalChain([actionsRef, 'access',
|
|
28236
|
+
void _optionalChain([actionsRef, 'access', _480 => _480.current, 'optionalAccess', _481 => _481.onRemove, 'optionalCall', _482 => _482(id)]);
|
|
28329
28237
|
}, []);
|
|
28330
28238
|
const clear = React90.useCallback(() => dispatch({ type: "clear" }), []);
|
|
28331
28239
|
const open = React90.useCallback(() => setIsOpen(true), []);
|
|
@@ -28334,14 +28242,14 @@ function NotificationsProvider({
|
|
|
28334
28242
|
const setShowPopups = React90.useCallback(
|
|
28335
28243
|
(value2) => {
|
|
28336
28244
|
setShowPopupsState(value2);
|
|
28337
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
28245
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _483 => _483(value2)]);
|
|
28338
28246
|
},
|
|
28339
28247
|
[onShowPopupsChange]
|
|
28340
28248
|
);
|
|
28341
28249
|
const setShowDesktopPopups = React90.useCallback(
|
|
28342
28250
|
(value2) => {
|
|
28343
28251
|
setShowDesktopPopupsState(value2);
|
|
28344
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
28252
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _484 => _484(value2)]);
|
|
28345
28253
|
},
|
|
28346
28254
|
[onShowDesktopPopupsChange]
|
|
28347
28255
|
);
|
|
@@ -28445,7 +28353,7 @@ function NotificationTile({
|
|
|
28445
28353
|
if (!counting) return;
|
|
28446
28354
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
28447
28355
|
const timer = window.setTimeout(() => {
|
|
28448
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
28356
|
+
_optionalChain([onSettle, 'optionalCall', _485 => _485(id)]);
|
|
28449
28357
|
}, remaining);
|
|
28450
28358
|
return () => window.clearTimeout(timer);
|
|
28451
28359
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -28507,7 +28415,7 @@ function NotificationTile({
|
|
|
28507
28415
|
"button",
|
|
28508
28416
|
{
|
|
28509
28417
|
type: "button",
|
|
28510
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
28418
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _486 => _486(id)]),
|
|
28511
28419
|
"aria-label": "Dismiss notification",
|
|
28512
28420
|
tabIndex: isLive ? 0 : -1,
|
|
28513
28421
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -28640,7 +28548,7 @@ function DrawerScrollList({
|
|
|
28640
28548
|
if (!sentinel || !root) return;
|
|
28641
28549
|
const observer = new IntersectionObserver(
|
|
28642
28550
|
(entries) => {
|
|
28643
|
-
if (_optionalChain([entries, 'access',
|
|
28551
|
+
if (_optionalChain([entries, 'access', _487 => _487[0], 'optionalAccess', _488 => _488.isIntersecting])) _optionalChain([loadMoreRef, 'access', _489 => _489.current, 'optionalCall', _490 => _490()]);
|
|
28644
28552
|
},
|
|
28645
28553
|
{ root, rootMargin: loadMoreRootMargin }
|
|
28646
28554
|
);
|
|
@@ -28655,7 +28563,7 @@ function DrawerScrollList({
|
|
|
28655
28563
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
28656
28564
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28657
28565
|
unreadNotifications.map((n) => {
|
|
28658
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28566
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _491 => _491(n, { onComplete, onSettle, liveDurationMs })]);
|
|
28659
28567
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
28660
28568
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28661
28569
|
NotificationTile,
|
|
@@ -28819,7 +28727,7 @@ function NotificationPopups({
|
|
|
28819
28727
|
className
|
|
28820
28728
|
),
|
|
28821
28729
|
children: live.map((n) => {
|
|
28822
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28730
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _492 => _492(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
28823
28731
|
if (custom) {
|
|
28824
28732
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
28825
28733
|
}
|
|
@@ -28999,21 +28907,21 @@ function transformWebinarToProgram(webinar) {
|
|
|
28999
28907
|
// src/components/features/notifications/types.ts
|
|
29000
28908
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
29001
28909
|
function isApprovalNotification(notification) {
|
|
29002
|
-
return _optionalChain([notification, 'access',
|
|
28910
|
+
return _optionalChain([notification, 'access', _493 => _493.meta, 'optionalAccess', _494 => _494.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
29003
28911
|
}
|
|
29004
28912
|
function getApprovalMeta(notification) {
|
|
29005
28913
|
if (!isApprovalNotification(notification)) return null;
|
|
29006
28914
|
const meta = notification.meta;
|
|
29007
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
29008
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28915
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _495 => _495.approvalRequestId]);
|
|
28916
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _496 => _496.toolCalls]);
|
|
29009
28917
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
29010
28918
|
return {
|
|
29011
28919
|
approvalRequestId,
|
|
29012
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
29013
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
29014
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
29015
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
29016
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28920
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _497 => _497.dialogId]), () => ( null)),
|
|
28921
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _498 => _498.ticketId]), () => ( null)),
|
|
28922
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _499 => _499.approvalType]), () => ( null)),
|
|
28923
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _500 => _500.resolution]), () => ( null)),
|
|
28924
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _501 => _501.resolvedByName]), () => ( null)),
|
|
29017
28925
|
toolCalls
|
|
29018
28926
|
};
|
|
29019
28927
|
}
|
|
@@ -29062,7 +28970,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29062
28970
|
const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
|
|
29063
28971
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
29064
28972
|
const approval = getApprovalMeta(notification);
|
|
29065
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28973
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _502 => _502.resolution]));
|
|
29066
28974
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
29067
28975
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
29068
28976
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
@@ -29249,7 +29157,7 @@ function TimeTrackerPanel({
|
|
|
29249
29157
|
size: "icon-sm",
|
|
29250
29158
|
onClick: onClose,
|
|
29251
29159
|
"aria-label": "Close time tracker",
|
|
29252
|
-
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] text-ods-text-secondary hover:text-ods-text-primary [&_svg]:!size-6",
|
|
29160
|
+
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] hidden text-ods-text-secondary hover:text-ods-text-primary md:inline-flex [&_svg]:!size-6",
|
|
29253
29161
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.XmarkIcon, {})
|
|
29254
29162
|
}
|
|
29255
29163
|
),
|
|
@@ -29261,7 +29169,7 @@ function TimeTrackerPanel({
|
|
|
29261
29169
|
{
|
|
29262
29170
|
variant: "transparent",
|
|
29263
29171
|
onClick: onCancel,
|
|
29264
|
-
className: "h-auto p-0 text-h6 font-medium text-ods-text-secondary underline hover:bg-transparent hover:text-ods-text-primary",
|
|
29172
|
+
className: "h-auto p-0 text-h6 font-medium text-ods-text-secondary underline hover:bg-transparent hover:text-ods-text-primary md:h-auto",
|
|
29265
29173
|
children: "Cancel Entry"
|
|
29266
29174
|
}
|
|
29267
29175
|
)
|
|
@@ -29285,7 +29193,7 @@ function TimeTrackerPanel({
|
|
|
29285
29193
|
onClick: status === "tracking" ? onPause : status === "paused" ? onResume : onStart,
|
|
29286
29194
|
disabled: isStarting,
|
|
29287
29195
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
29288
|
-
className: "h-auto w-auto rounded-none [&_svg]:!size-6",
|
|
29196
|
+
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
29289
29197
|
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PauseIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PlayIcon, {})
|
|
29290
29198
|
}
|
|
29291
29199
|
),
|
|
@@ -29312,10 +29220,10 @@ function TimeTrackerPanel({
|
|
|
29312
29220
|
placeholder: "Assign Ticket",
|
|
29313
29221
|
loading: ticketsLoading,
|
|
29314
29222
|
invalid: showFieldError,
|
|
29315
|
-
error: showFieldError ? "
|
|
29223
|
+
error: showFieldError ? "Required if no notes added" : void 0,
|
|
29316
29224
|
disableClientFilter: !!onTicketSearch,
|
|
29317
29225
|
onInputChange: (value, reason) => {
|
|
29318
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
29226
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _503 => _503(value)]);
|
|
29319
29227
|
}
|
|
29320
29228
|
}
|
|
29321
29229
|
)
|
|
@@ -29326,6 +29234,7 @@ function TimeTrackerPanel({
|
|
|
29326
29234
|
value: notes,
|
|
29327
29235
|
onChange: (e) => onNotesChange(e.target.value),
|
|
29328
29236
|
invalid: showFieldError,
|
|
29237
|
+
error: showFieldError ? "Required if no ticket assigned" : void 0,
|
|
29329
29238
|
placeholder: "Additional Notes (optional if ticket selected)",
|
|
29330
29239
|
className: "max-h-[280px]"
|
|
29331
29240
|
}
|
|
@@ -29365,7 +29274,8 @@ function TimeTrackerPanel({
|
|
|
29365
29274
|
}
|
|
29366
29275
|
)
|
|
29367
29276
|
] })
|
|
29368
|
-
] })
|
|
29277
|
+
] }),
|
|
29278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFQOTC3UUcjs.Button, { variant: "outline", fullWidth: true, onClick: onClose, className: "md:hidden", children: "Close" })
|
|
29369
29279
|
]
|
|
29370
29280
|
}
|
|
29371
29281
|
);
|
|
@@ -29395,7 +29305,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
29395
29305
|
{
|
|
29396
29306
|
variant: "outline",
|
|
29397
29307
|
size: "icon",
|
|
29398
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
29308
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _504 => _504(entry)]),
|
|
29399
29309
|
disabled: !onClick,
|
|
29400
29310
|
"aria-label": `Open entry: ${entry.title}`,
|
|
29401
29311
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -29439,9 +29349,9 @@ function HeaderButton({
|
|
|
29439
29349
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
29440
29350
|
const ctx = useOptionalTimeTracker();
|
|
29441
29351
|
const elapsedLabel = useTrackerClock({
|
|
29442
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
29443
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
29444
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
29352
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _505 => _505.status]), () => ( "ready")),
|
|
29353
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _506 => _506.runningSince]),
|
|
29354
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _507 => _507.accumulatedMs])
|
|
29445
29355
|
});
|
|
29446
29356
|
if (!ctx) return null;
|
|
29447
29357
|
const { isOpen, open, close, status } = ctx;
|
|
@@ -29485,7 +29395,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
29485
29395
|
PopoverPrimitive3.Content,
|
|
29486
29396
|
{
|
|
29487
29397
|
align: "end",
|
|
29488
|
-
sideOffset:
|
|
29398
|
+
sideOffset: 8,
|
|
29489
29399
|
collisionPadding: 8,
|
|
29490
29400
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
29491
29401
|
"z-[1300] w-[460px] max-w-[calc(100vw-1rem)] outline-none",
|
|
@@ -29723,15 +29633,15 @@ function TicketCard({
|
|
|
29723
29633
|
transition: sortable.transition
|
|
29724
29634
|
};
|
|
29725
29635
|
if (showNewMessage) style.borderColor = columnColor;
|
|
29726
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29636
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _508 => _508.deviceHostnames, 'optionalAccess', _509 => _509.length]) || ticket.organizationName);
|
|
29727
29637
|
const deviceText = [
|
|
29728
|
-
_optionalChain([ticket, 'access',
|
|
29638
|
+
_optionalChain([ticket, 'access', _510 => _510.deviceHostnames, 'optionalAccess', _511 => _511.join, 'call', _512 => _512(", ")]),
|
|
29729
29639
|
ticket.organizationName
|
|
29730
29640
|
].filter(Boolean).join(", ");
|
|
29731
29641
|
const handleClick = (e) => {
|
|
29732
29642
|
if (sortable.isDragging) e.preventDefault();
|
|
29733
29643
|
};
|
|
29734
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29644
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _513 => _513.assignees, 'optionalAccess', _514 => _514.length]) || renderAssignSlot);
|
|
29735
29645
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29736
29646
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29737
29647
|
_chunkZS2SBWBRcjs.Flag02Icon,
|
|
@@ -29740,7 +29650,7 @@ function TicketCard({
|
|
|
29740
29650
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29741
29651
|
}
|
|
29742
29652
|
),
|
|
29743
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29653
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _515 => _515.assignees, 'optionalAccess', _516 => _516.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29744
29654
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29745
29655
|
SquareAvatar,
|
|
29746
29656
|
{
|
|
@@ -29771,7 +29681,7 @@ function TicketCard({
|
|
|
29771
29681
|
] }),
|
|
29772
29682
|
rightSection
|
|
29773
29683
|
] }),
|
|
29774
|
-
_optionalChain([ticket, 'access',
|
|
29684
|
+
_optionalChain([ticket, 'access', _517 => _517.tags, 'optionalAccess', _518 => _518.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29775
29685
|
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
29776
29686
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto text-h6 truncate text-ods-text-secondary", children: timestampLabel }) }),
|
|
29777
29687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
|
|
@@ -29971,7 +29881,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
29971
29881
|
const observer = new IntersectionObserver(
|
|
29972
29882
|
(entries) => {
|
|
29973
29883
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29974
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29884
|
+
_optionalChain([loadMoreRef, 'access', _519 => _519.current, 'optionalCall', _520 => _520(columnIdRef.current)]);
|
|
29975
29885
|
}
|
|
29976
29886
|
},
|
|
29977
29887
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -30001,7 +29911,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30001
29911
|
ticket: t,
|
|
30002
29912
|
columnId: column.id,
|
|
30003
29913
|
columnColor: column.color,
|
|
30004
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29914
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _521 => _521(t.id)]),
|
|
30005
29915
|
renderAssignSlot,
|
|
30006
29916
|
onApprove,
|
|
30007
29917
|
onReject,
|
|
@@ -30101,17 +30011,17 @@ function Board({
|
|
|
30101
30011
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
30102
30012
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
30103
30013
|
const ticketHit = intersections.find(
|
|
30104
|
-
(c) => _optionalChain([c, 'access',
|
|
30014
|
+
(c) => _optionalChain([c, 'access', _522 => _522.data, 'optionalAccess', _523 => _523.droppableContainer, 'optionalAccess', _524 => _524.data, 'optionalAccess', _525 => _525.current, 'optionalAccess', _526 => _526.type]) === "ticket"
|
|
30105
30015
|
);
|
|
30106
30016
|
if (ticketHit) return [ticketHit];
|
|
30107
30017
|
const columnHit = intersections.find(
|
|
30108
|
-
(c) => _optionalChain([c, 'access',
|
|
30018
|
+
(c) => _optionalChain([c, 'access', _527 => _527.data, 'optionalAccess', _528 => _528.droppableContainer, 'optionalAccess', _529 => _529.data, 'optionalAccess', _530 => _530.current, 'optionalAccess', _531 => _531.type]) === "column"
|
|
30109
30019
|
);
|
|
30110
30020
|
if (columnHit) {
|
|
30111
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
30021
|
+
const columnId = _optionalChain([columnHit, 'access', _532 => _532.data, 'optionalAccess', _533 => _533.droppableContainer, 'optionalAccess', _534 => _534.data, 'optionalAccess', _535 => _535.current, 'optionalAccess', _536 => _536.columnId]);
|
|
30112
30022
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
30113
30023
|
const d = c.data.current;
|
|
30114
|
-
return _optionalChain([d, 'optionalAccess',
|
|
30024
|
+
return _optionalChain([d, 'optionalAccess', _537 => _537.type]) === "ticket" && d.columnId === columnId;
|
|
30115
30025
|
});
|
|
30116
30026
|
if (ticketsInColumn.length > 0) {
|
|
30117
30027
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -30136,20 +30046,20 @@ function Board({
|
|
|
30136
30046
|
const overId = String(over.id);
|
|
30137
30047
|
if (activeId === overId) return;
|
|
30138
30048
|
const overData = over.data.current;
|
|
30139
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
30140
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
30049
|
+
const fromColumnId = _optionalChain([locate, 'call', _538 => _538(items, activeId), 'optionalAccess', _539 => _539.columnId]);
|
|
30050
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _540 => _540.columnId]);
|
|
30141
30051
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
30142
30052
|
const origin = dragOriginRef.current;
|
|
30143
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
30053
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _541 => _541.fromColumnId]) === toColumnId;
|
|
30144
30054
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
30145
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
30146
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
30055
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _542 => _542.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
30056
|
+
if (_optionalChain([targetCol, 'optionalAccess', _543 => _543.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
30147
30057
|
setItems((prev) => {
|
|
30148
30058
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
30149
30059
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
30150
30060
|
if (fromIndex < 0 || !toCol) return prev;
|
|
30151
30061
|
let toIndex;
|
|
30152
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
30062
|
+
if (_optionalChain([overData, 'optionalAccess', _544 => _544.type]) === "column") {
|
|
30153
30063
|
toIndex = toCol.tickets.length;
|
|
30154
30064
|
} else {
|
|
30155
30065
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -30191,14 +30101,14 @@ function Board({
|
|
|
30191
30101
|
const toColumnId = located.columnId;
|
|
30192
30102
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
30193
30103
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
30194
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
30104
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _545 => _545.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _546 => _546.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
30195
30105
|
setItems(columns);
|
|
30196
30106
|
return;
|
|
30197
30107
|
}
|
|
30198
30108
|
let finalIndex = located.index;
|
|
30199
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
30109
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _547 => _547.find, 'call', _548 => _548((c) => c.id === toColumnId), 'optionalAccess', _549 => _549.tickets]), () => ( []));
|
|
30200
30110
|
const overData = over.data.current;
|
|
30201
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
30111
|
+
if (_optionalChain([overData, 'optionalAccess', _550 => _550.type]) === "ticket") {
|
|
30202
30112
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
30203
30113
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
30204
30114
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -30218,8 +30128,8 @@ function Board({
|
|
|
30218
30128
|
ticketId: origin.ticketId,
|
|
30219
30129
|
fromColumnId: origin.fromColumnId,
|
|
30220
30130
|
toColumnId,
|
|
30221
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
30222
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
30131
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _551 => _551[finalIndex - 1], 'optionalAccess', _552 => _552.id]), () => ( null)),
|
|
30132
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _553 => _553[finalIndex + 1], 'optionalAccess', _554 => _554.id]), () => ( null))
|
|
30223
30133
|
});
|
|
30224
30134
|
};
|
|
30225
30135
|
const handleDragCancel = () => {
|
|
@@ -30248,8 +30158,8 @@ function Board({
|
|
|
30248
30158
|
children: items.map((column, i) => {
|
|
30249
30159
|
const prev = items[i - 1];
|
|
30250
30160
|
const next = items[i + 1];
|
|
30251
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30252
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30161
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _555 => _555.system]));
|
|
30162
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _556 => _556.system]));
|
|
30253
30163
|
const showGap = i > 0 && !joinLeft;
|
|
30254
30164
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React96.Fragment, { children: [
|
|
30255
30165
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30302,7 +30212,7 @@ function Board({
|
|
|
30302
30212
|
{
|
|
30303
30213
|
ticket: activeTicket.ticket,
|
|
30304
30214
|
columnId: activeTicket.columnId,
|
|
30305
|
-
columnColor: _optionalChain([items, 'access',
|
|
30215
|
+
columnColor: _optionalChain([items, 'access', _557 => _557.find, 'call', _558 => _558((c) => c.id === activeTicket.columnId), 'optionalAccess', _559 => _559.color]),
|
|
30306
30216
|
isOverlay: true
|
|
30307
30217
|
}
|
|
30308
30218
|
) : null })
|
|
@@ -30318,7 +30228,7 @@ function locate(cols, ticketId) {
|
|
|
30318
30228
|
return null;
|
|
30319
30229
|
}
|
|
30320
30230
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
30321
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
30231
|
+
return _nullishCoalesce(_optionalChain([cols, 'access', _560 => _560.find, 'call', _561 => _561((c) => c.id === columnId), 'optionalAccess', _562 => _562.tickets, 'access', _563 => _563.findIndex, 'call', _564 => _564((t) => t.id === ticketId)]), () => ( -1));
|
|
30322
30232
|
}
|
|
30323
30233
|
|
|
30324
30234
|
// src/components/features/board/types.ts
|
|
@@ -30566,7 +30476,7 @@ function Header2({ config, platform }) {
|
|
|
30566
30476
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
30567
30477
|
"flex justify-start w-full",
|
|
30568
30478
|
"font-bold text-[16px] leading-none tracking-[-0.32px]",
|
|
30569
|
-
index < (_nullishCoalesce(_optionalChain([item, 'access',
|
|
30479
|
+
index < (_nullishCoalesce(_optionalChain([item, 'access', _565 => _565.children, 'optionalAccess', _566 => _566.length]), () => ( 0))) - 1 && "mb-1",
|
|
30570
30480
|
"text-ods-text-primary",
|
|
30571
30481
|
// All dropdown items use primary text color
|
|
30572
30482
|
child.isActive && "bg-ods-bg-hover"
|
|
@@ -30658,7 +30568,7 @@ function Header2({ config, platform }) {
|
|
|
30658
30568
|
style: config.style,
|
|
30659
30569
|
children: [
|
|
30660
30570
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
30661
|
-
_optionalChain([config, 'access',
|
|
30571
|
+
_optionalChain([config, 'access', _567 => _567.actions, 'optionalAccess', _568 => _568.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
|
|
30662
30572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
|
|
30663
30573
|
] }),
|
|
30664
30574
|
config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30675,7 +30585,7 @@ function Header2({ config, platform }) {
|
|
|
30675
30585
|
}
|
|
30676
30586
|
),
|
|
30677
30587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
|
|
30678
|
-
_optionalChain([config, 'access',
|
|
30588
|
+
_optionalChain([config, 'access', _569 => _569.actions, 'optionalAccess', _570 => _570.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
|
|
30679
30589
|
config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30680
30590
|
_chunkFQOTC3UUcjs.Button,
|
|
30681
30591
|
{
|
|
@@ -30683,10 +30593,10 @@ function Header2({ config, platform }) {
|
|
|
30683
30593
|
size: "icon",
|
|
30684
30594
|
className: "flex md:hidden",
|
|
30685
30595
|
onClick: () => {
|
|
30686
|
-
_optionalChain([config, 'access',
|
|
30596
|
+
_optionalChain([config, 'access', _571 => _571.mobile, 'optionalAccess', _572 => _572.onToggle, 'optionalCall', _573 => _573()]);
|
|
30687
30597
|
},
|
|
30688
|
-
"aria-label": _optionalChain([config, 'access',
|
|
30689
|
-
leftIcon: _optionalChain([config, 'access',
|
|
30598
|
+
"aria-label": _optionalChain([config, 'access', _574 => _574.mobile, 'optionalAccess', _575 => _575.isOpen]) ? "Close menu" : "Open menu",
|
|
30599
|
+
leftIcon: _optionalChain([config, 'access', _576 => _576.mobile, 'optionalAccess', _577 => _577.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Menu01Icon, {})
|
|
30690
30600
|
}
|
|
30691
30601
|
)
|
|
30692
30602
|
] })
|
|
@@ -30703,10 +30613,10 @@ function Header2({ config, platform }) {
|
|
|
30703
30613
|
// src/components/navigation/header-skeleton.tsx
|
|
30704
30614
|
|
|
30705
30615
|
function HeaderSkeleton({ config }) {
|
|
30706
|
-
const showNavigation = _optionalChain([config, 'optionalAccess',
|
|
30707
|
-
const showActions = _optionalChain([config, 'optionalAccess',
|
|
30708
|
-
const showMobileMenu = _optionalChain([config, 'optionalAccess',
|
|
30709
|
-
const isAdminHeader = _optionalChain([config, 'optionalAccess',
|
|
30616
|
+
const showNavigation = _optionalChain([config, 'optionalAccess', _578 => _578.navigation]) && config.navigation.items.length > 0;
|
|
30617
|
+
const showActions = _optionalChain([config, 'optionalAccess', _579 => _579.actions, 'optionalAccess', _580 => _580.right]) && config.actions.right.length > 0;
|
|
30618
|
+
const showMobileMenu = _optionalChain([config, 'optionalAccess', _581 => _581.mobile, 'optionalAccess', _582 => _582.enabled]);
|
|
30619
|
+
const isAdminHeader = _optionalChain([config, 'optionalAccess', _583 => _583.className, 'optionalAccess', _584 => _584.includes, 'call', _585 => _585("admin")]);
|
|
30710
30620
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30711
30621
|
"header",
|
|
30712
30622
|
{
|
|
@@ -30715,11 +30625,11 @@ function HeaderSkeleton({ config }) {
|
|
|
30715
30625
|
"bg-ods-card border-b border-ods-border backdrop-blur-sm",
|
|
30716
30626
|
"px-6 py-3",
|
|
30717
30627
|
"transition-opacity duration-300 ease-in-out",
|
|
30718
|
-
_optionalChain([config, 'optionalAccess',
|
|
30628
|
+
_optionalChain([config, 'optionalAccess', _586 => _586.className])
|
|
30719
30629
|
),
|
|
30720
30630
|
children: [
|
|
30721
30631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
30722
|
-
isAdminHeader && _optionalChain([config, 'optionalAccess',
|
|
30632
|
+
isAdminHeader && _optionalChain([config, 'optionalAccess', _587 => _587.actions, 'optionalAccess', _588 => _588.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
|
|
30723
30633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
30724
30634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
|
|
30725
30635
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
|
|
@@ -30727,8 +30637,8 @@ function HeaderSkeleton({ config }) {
|
|
|
30727
30637
|
] }),
|
|
30728
30638
|
showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
30729
30639
|
"hidden md:flex items-center gap-2",
|
|
30730
|
-
_optionalChain([config, 'optionalAccess',
|
|
30731
|
-
_optionalChain([config, 'optionalAccess',
|
|
30640
|
+
_optionalChain([config, 'optionalAccess', _589 => _589.navigation, 'optionalAccess', _590 => _590.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
|
|
30641
|
+
_optionalChain([config, 'optionalAccess', _591 => _591.navigation, 'optionalAccess', _592 => _592.position]) === "right" && "ml-auto mr-4"
|
|
30732
30642
|
), children: [
|
|
30733
30643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
|
|
30734
30644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
|
|
@@ -30776,7 +30686,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
30776
30686
|
_react.useEffect.call(void 0, () => {
|
|
30777
30687
|
const handleKeyDown = (e) => {
|
|
30778
30688
|
if (e.key === "Escape" && isOpen) {
|
|
30779
|
-
_optionalChain([config, 'access',
|
|
30689
|
+
_optionalChain([config, 'access', _593 => _593.onClose, 'optionalCall', _594 => _594()]);
|
|
30780
30690
|
}
|
|
30781
30691
|
};
|
|
30782
30692
|
if (isOpen) {
|
|
@@ -30793,7 +30703,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
30793
30703
|
if (item.onClick) {
|
|
30794
30704
|
item.onClick();
|
|
30795
30705
|
}
|
|
30796
|
-
_optionalChain([config, 'access',
|
|
30706
|
+
_optionalChain([config, 'access', _595 => _595.onClose, 'optionalCall', _596 => _596()]);
|
|
30797
30707
|
};
|
|
30798
30708
|
if (item.href) {
|
|
30799
30709
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30963,7 +30873,7 @@ function SlidingSidebar({ config }) {
|
|
|
30963
30873
|
variant: "transparent",
|
|
30964
30874
|
size: "default",
|
|
30965
30875
|
onClick: () => {
|
|
30966
|
-
_optionalChain([item, 'access',
|
|
30876
|
+
_optionalChain([item, 'access', _597 => _597.onClick, 'optionalCall', _598 => _598()]);
|
|
30967
30877
|
config.onClose();
|
|
30968
30878
|
},
|
|
30969
30879
|
leftIcon: item.icon,
|
|
@@ -30986,7 +30896,7 @@ function SlidingSidebar({ config }) {
|
|
|
30986
30896
|
variant: "transparent",
|
|
30987
30897
|
size: "default",
|
|
30988
30898
|
onClick: () => {
|
|
30989
|
-
_optionalChain([item, 'access',
|
|
30899
|
+
_optionalChain([item, 'access', _599 => _599.onClick, 'optionalCall', _600 => _600()]);
|
|
30990
30900
|
config.onClose();
|
|
30991
30901
|
},
|
|
30992
30902
|
leftIcon: item.icon,
|
|
@@ -31113,7 +31023,7 @@ function StickySectionNav({
|
|
|
31113
31023
|
] });
|
|
31114
31024
|
}
|
|
31115
31025
|
function useSectionNavigation(sections, options) {
|
|
31116
|
-
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access',
|
|
31026
|
+
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _601 => _601[0], 'optionalAccess', _602 => _602.id]) || "");
|
|
31117
31027
|
const isScrollingFromClick = _react.useRef.call(void 0, false);
|
|
31118
31028
|
const { offset: offset2 = 100 } = options || {};
|
|
31119
31029
|
const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
|
|
@@ -31137,7 +31047,7 @@ function useSectionNavigation(sections, options) {
|
|
|
31137
31047
|
const handleScroll = () => {
|
|
31138
31048
|
if (isScrollingFromClick.current) return;
|
|
31139
31049
|
const scrollPosition = window.scrollY + offset2 + 50;
|
|
31140
|
-
let currentSection = _optionalChain([sections, 'access',
|
|
31050
|
+
let currentSection = _optionalChain([sections, 'access', _603 => _603[0], 'optionalAccess', _604 => _604.id]) || "";
|
|
31141
31051
|
for (let i = sections.length - 1; i >= 0; i--) {
|
|
31142
31052
|
const element = document.getElementById(sections[i].id);
|
|
31143
31053
|
if (element && scrollPosition >= element.offsetTop) {
|
|
@@ -31338,7 +31248,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
31338
31248
|
} else {
|
|
31339
31249
|
setDesktopMinimized((prev) => !prev);
|
|
31340
31250
|
}
|
|
31341
|
-
_optionalChain([config, 'access',
|
|
31251
|
+
_optionalChain([config, 'access', _605 => _605.onToggleMinimized, 'optionalCall', _606 => _606()]);
|
|
31342
31252
|
}, [isTablet, setDesktopMinimized, config]);
|
|
31343
31253
|
const closeOverlay = _react.useCallback.call(void 0, () => {
|
|
31344
31254
|
setTabletMinimized(true);
|
|
@@ -31352,11 +31262,11 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
31352
31262
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
31353
31263
|
}, [isOverlayOpen, closeOverlay]);
|
|
31354
31264
|
const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
|
|
31355
|
-
_optionalChain([event, 'optionalAccess',
|
|
31265
|
+
_optionalChain([event, 'optionalAccess', _607 => _607.stopPropagation, 'call', _608 => _608()]);
|
|
31356
31266
|
if (item.onClick) {
|
|
31357
31267
|
item.onClick();
|
|
31358
31268
|
} else if (item.path) {
|
|
31359
|
-
_optionalChain([config, 'access',
|
|
31269
|
+
_optionalChain([config, 'access', _609 => _609.onNavigate, 'optionalCall', _610 => _610(item.path)]);
|
|
31360
31270
|
}
|
|
31361
31271
|
if (isTablet) setTabletMinimized(true);
|
|
31362
31272
|
}, [config, isTablet]);
|
|
@@ -31476,11 +31386,11 @@ function HeaderGlobalSearch({
|
|
|
31476
31386
|
};
|
|
31477
31387
|
const handleSubmit = (e) => {
|
|
31478
31388
|
e.preventDefault();
|
|
31479
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
31389
|
+
_optionalChain([onSubmit, 'optionalCall', _611 => _611(currentValue)]);
|
|
31480
31390
|
};
|
|
31481
31391
|
const handleKeyDown = (e) => {
|
|
31482
31392
|
if (e.key === "Enter") {
|
|
31483
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
31393
|
+
_optionalChain([onSubmit, 'optionalCall', _612 => _612(currentValue)]);
|
|
31484
31394
|
}
|
|
31485
31395
|
};
|
|
31486
31396
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -31574,8 +31484,8 @@ function HeaderOrganizationFilter({
|
|
|
31574
31484
|
className
|
|
31575
31485
|
}) {
|
|
31576
31486
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
31577
|
-
const displayName = _optionalChain([selectedOrg, 'optionalAccess',
|
|
31578
|
-
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess',
|
|
31487
|
+
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _613 => _613.name]) || "All Organizations";
|
|
31488
|
+
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _614 => _614.deviceCount]), () => ( totalDeviceCount));
|
|
31579
31489
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFQOTC3UUcjs.DropdownMenu, { children: [
|
|
31580
31490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFQOTC3UUcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31581
31491
|
"button",
|
|
@@ -31600,11 +31510,11 @@ function HeaderOrganizationFilter({
|
|
|
31600
31510
|
}
|
|
31601
31511
|
) }),
|
|
31602
31512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFQOTC3UUcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
31603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFQOTC3UUcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
31513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFQOTC3UUcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _615 => _615("")]), children: "All Organizations" }),
|
|
31604
31514
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31605
31515
|
_chunkFQOTC3UUcjs.DropdownMenuItem,
|
|
31606
31516
|
{
|
|
31607
|
-
onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
31517
|
+
onClick: () => _optionalChain([onOrgChange, 'optionalCall', _616 => _616(org.id)]),
|
|
31608
31518
|
children: org.name
|
|
31609
31519
|
},
|
|
31610
31520
|
org.id
|
|
@@ -31791,9 +31701,9 @@ function NotificationsHeaderButton({
|
|
|
31791
31701
|
dimmedClass
|
|
31792
31702
|
}) {
|
|
31793
31703
|
const ctx = useOptionalNotifications();
|
|
31794
|
-
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
31795
|
-
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
31796
|
-
const onClick = _optionalChain([ctx, 'optionalAccess',
|
|
31704
|
+
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _617 => _617.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
31705
|
+
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _618 => _618.isOpen]), () => ( false));
|
|
31706
|
+
const onClick = _optionalChain([ctx, 'optionalAccess', _619 => _619.toggle]);
|
|
31797
31707
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31798
31708
|
HeaderButton,
|
|
31799
31709
|
{
|
|
@@ -31857,7 +31767,7 @@ var MobileBurgerMenu = React112.default.memo(function MobileBurgerMenu2({
|
|
|
31857
31767
|
if (item.onClick) {
|
|
31858
31768
|
item.onClick();
|
|
31859
31769
|
} else if (item.path) {
|
|
31860
|
-
_optionalChain([config, 'access',
|
|
31770
|
+
_optionalChain([config, 'access', _620 => _620.onNavigate, 'optionalCall', _621 => _621(item.path)]);
|
|
31861
31771
|
}
|
|
31862
31772
|
onClose();
|
|
31863
31773
|
}, [config, onClose]);
|
|
@@ -32100,7 +32010,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
32100
32010
|
const handleOpenChange = React105.useCallback(
|
|
32101
32011
|
(next) => {
|
|
32102
32012
|
if (!isControlled) setInternalOpen(next);
|
|
32103
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
32013
|
+
_optionalChain([onOpenChange, 'optionalCall', _622 => _622(next)]);
|
|
32104
32014
|
},
|
|
32105
32015
|
[isControlled, onOpenChange]
|
|
32106
32016
|
);
|
|
@@ -32481,10 +32391,10 @@ var AppLayoutDrawerContent = React105.forwardRef(
|
|
|
32481
32391
|
),
|
|
32482
32392
|
style,
|
|
32483
32393
|
onInteractOutside: (event) => {
|
|
32484
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
32394
|
+
_optionalChain([onInteractOutside, 'optionalCall', _623 => _623(event)]);
|
|
32485
32395
|
if (event.defaultPrevented) return;
|
|
32486
32396
|
const target = event.target;
|
|
32487
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
32397
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _624 => _624.contains, 'call', _625 => _625(target)]);
|
|
32488
32398
|
if (!isInsideContainer) {
|
|
32489
32399
|
event.preventDefault();
|
|
32490
32400
|
return;
|
|
@@ -32897,7 +32807,7 @@ var ShellTypeBadge = ({
|
|
|
32897
32807
|
className,
|
|
32898
32808
|
iconClassName
|
|
32899
32809
|
}) => {
|
|
32900
|
-
const normalizedType = _optionalChain([shellType, 'optionalAccess',
|
|
32810
|
+
const normalizedType = _optionalChain([shellType, 'optionalAccess', _626 => _626.toUpperCase, 'call', _627 => _627()]);
|
|
32901
32811
|
const label = getShellLabel(normalizedType);
|
|
32902
32812
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
32903
32813
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
@@ -33284,12 +33194,12 @@ function OnboardingWalkthrough({
|
|
|
33284
33194
|
}
|
|
33285
33195
|
}, [state.completedSteps, markComplete]);
|
|
33286
33196
|
const handleStepSkip = (step) => {
|
|
33287
|
-
_optionalChain([step, 'access',
|
|
33197
|
+
_optionalChain([step, 'access', _628 => _628.onSkip, 'optionalCall', _629 => _629()]);
|
|
33288
33198
|
markSkipped(step.id);
|
|
33289
33199
|
};
|
|
33290
33200
|
const handleDismiss = () => {
|
|
33291
33201
|
dismissOnboarding();
|
|
33292
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
33202
|
+
_optionalChain([onDismiss, 'optionalCall', _630 => _630()]);
|
|
33293
33203
|
};
|
|
33294
33204
|
if (state.dismissed) {
|
|
33295
33205
|
return null;
|
|
@@ -33419,7 +33329,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
33419
33329
|
onKeyDown: (e) => {
|
|
33420
33330
|
if (e.key === "Enter" || e.key === " ") {
|
|
33421
33331
|
e.preventDefault();
|
|
33422
|
-
_optionalChain([onClick, 'optionalCall',
|
|
33332
|
+
_optionalChain([onClick, 'optionalCall', _631 => _631()]);
|
|
33423
33333
|
}
|
|
33424
33334
|
},
|
|
33425
33335
|
children: [
|
|
@@ -33520,7 +33430,7 @@ var LogsList = React109.forwardRef(({
|
|
|
33520
33430
|
log,
|
|
33521
33431
|
isLast: index === logs.length - 1,
|
|
33522
33432
|
showConnector,
|
|
33523
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
33433
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _632 => _632(log)])
|
|
33524
33434
|
},
|
|
33525
33435
|
log.id
|
|
33526
33436
|
))
|
|
@@ -33621,7 +33531,7 @@ var Slider = React111.forwardRef(
|
|
|
33621
33531
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
33622
33532
|
const handleChange = (e) => {
|
|
33623
33533
|
const newValue = [Number(e.target.value)];
|
|
33624
|
-
_optionalChain([onValueChange, 'optionalCall',
|
|
33534
|
+
_optionalChain([onValueChange, 'optionalCall', _633 => _633(newValue)]);
|
|
33625
33535
|
};
|
|
33626
33536
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33627
33537
|
"input",
|
|
@@ -34052,7 +33962,7 @@ function CursorPaginationSimple({
|
|
|
34052
33962
|
{
|
|
34053
33963
|
variant: "transparent",
|
|
34054
33964
|
size: "icon",
|
|
34055
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
33965
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _634 => _634("")]),
|
|
34056
33966
|
disabled: !hasPreviousPage || loading,
|
|
34057
33967
|
className: "h-8 w-8",
|
|
34058
33968
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -34064,7 +33974,7 @@ function CursorPaginationSimple({
|
|
|
34064
33974
|
{
|
|
34065
33975
|
variant: "transparent",
|
|
34066
33976
|
size: "icon",
|
|
34067
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
33977
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _635 => _635("")]),
|
|
34068
33978
|
disabled: !hasNextPage || loading,
|
|
34069
33979
|
className: "h-8 w-8",
|
|
34070
33980
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -34084,8 +33994,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
|
|
|
34084
33994
|
icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
|
|
34085
33995
|
title: _nullishCoalesce(message2, () => ( "No results found")),
|
|
34086
33996
|
description: message2 == null ? "Try adjusting your search or filters" : void 0,
|
|
34087
|
-
buttonLabel: _optionalChain([action, 'optionalAccess',
|
|
34088
|
-
onButtonClick: _optionalChain([action, 'optionalAccess',
|
|
33997
|
+
buttonLabel: _optionalChain([action, 'optionalAccess', _636 => _636.label]),
|
|
33998
|
+
onButtonClick: _optionalChain([action, 'optionalAccess', _637 => _637.onClick]),
|
|
34089
33999
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
|
|
34090
34000
|
}
|
|
34091
34001
|
);
|
|
@@ -34106,7 +34016,7 @@ function TableColumnFilterDropdown({
|
|
|
34106
34016
|
placement = "bottom-start",
|
|
34107
34017
|
dropdownClassName = "min-w-[240px]"
|
|
34108
34018
|
}) {
|
|
34109
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
34019
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _638 => _638[columnKey], 'optionalAccess', _639 => _639.length]) || 0;
|
|
34110
34020
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34111
34021
|
FiltersDropdown,
|
|
34112
34022
|
{
|
|
@@ -34149,7 +34059,7 @@ function TableColumnFilterDropdown({
|
|
|
34149
34059
|
delete newFilters[columnKey];
|
|
34150
34060
|
onFilterChange(newFilters);
|
|
34151
34061
|
},
|
|
34152
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
34062
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _640 => _640[columnKey]]) || [] },
|
|
34153
34063
|
placement,
|
|
34154
34064
|
dropdownClassName
|
|
34155
34065
|
}
|
|
@@ -34446,7 +34356,7 @@ function TableRow({
|
|
|
34446
34356
|
const keys = column.key.split(".");
|
|
34447
34357
|
let value = item;
|
|
34448
34358
|
for (const key of keys) {
|
|
34449
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
34359
|
+
value = _optionalChain([value, 'optionalAccess', _641 => _641[key]]);
|
|
34450
34360
|
}
|
|
34451
34361
|
if (value === null || value === void 0) {
|
|
34452
34362
|
return "-";
|
|
@@ -34516,7 +34426,7 @@ function TableRow({
|
|
|
34516
34426
|
// src/components/ui/table/table.tsx
|
|
34517
34427
|
|
|
34518
34428
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
34519
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
34429
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _642 => _642.length])) || Boolean(renderRowActions);
|
|
34520
34430
|
const result = [...columns];
|
|
34521
34431
|
if (hasActions) {
|
|
34522
34432
|
const actionsColumn = {
|
|
@@ -34610,7 +34520,7 @@ function Table({
|
|
|
34610
34520
|
return rowKey(item);
|
|
34611
34521
|
}
|
|
34612
34522
|
const key = item[rowKey];
|
|
34613
|
-
return _optionalChain([key, 'optionalAccess',
|
|
34523
|
+
return _optionalChain([key, 'optionalAccess', _643 => _643.toString, 'call', _644 => _644()]) || index.toString();
|
|
34614
34524
|
};
|
|
34615
34525
|
const getRowClassName = (item, index) => {
|
|
34616
34526
|
if (typeof rowClassName === "function") {
|
|
@@ -34644,23 +34554,23 @@ function Table({
|
|
|
34644
34554
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
34645
34555
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
34646
34556
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
34647
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
34648
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
34557
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _645 => _645.onLoadMore]));
|
|
34558
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _646 => _646.onLoadMore]);
|
|
34649
34559
|
_react.useEffect.call(void 0, () => {
|
|
34650
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
34560
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _647 => _647.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
34651
34561
|
const sentinel = sentinelRef.current;
|
|
34652
34562
|
if (!sentinel) return;
|
|
34653
34563
|
const observer = new IntersectionObserver(
|
|
34654
34564
|
(entries) => {
|
|
34655
|
-
if (_optionalChain([entries, 'access',
|
|
34656
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
34565
|
+
if (_optionalChain([entries, 'access', _648 => _648[0], 'optionalAccess', _649 => _649.isIntersecting])) {
|
|
34566
|
+
_optionalChain([onLoadMoreRef, 'access', _650 => _650.current, 'optionalCall', _651 => _651()]);
|
|
34657
34567
|
}
|
|
34658
34568
|
},
|
|
34659
34569
|
{ rootMargin: "200px" }
|
|
34660
34570
|
);
|
|
34661
34571
|
observer.observe(sentinel);
|
|
34662
34572
|
return () => observer.disconnect();
|
|
34663
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
34573
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _652 => _652.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _653 => _653.isFetchingNextPage])]);
|
|
34664
34574
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
34665
34575
|
showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
|
|
34666
34576
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -34731,7 +34641,7 @@ function Table({
|
|
|
34731
34641
|
},
|
|
34732
34642
|
getRowKey(item, index)
|
|
34733
34643
|
)),
|
|
34734
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
34644
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _654 => _654.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34735
34645
|
TableCardSkeleton,
|
|
34736
34646
|
{
|
|
34737
34647
|
columns,
|
|
@@ -34740,7 +34650,7 @@ function Table({
|
|
|
34740
34650
|
hasChevron: Boolean(rowHref)
|
|
34741
34651
|
}
|
|
34742
34652
|
),
|
|
34743
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
34653
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _655 => _655.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
34744
34654
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
34745
34655
|
"div",
|
|
34746
34656
|
{
|
|
@@ -35098,7 +35008,7 @@ function QueryReportTable({
|
|
|
35098
35008
|
);
|
|
35099
35009
|
const handleExport = () => {
|
|
35100
35010
|
exportToCSV(data, columns, exportFilename);
|
|
35101
|
-
_optionalChain([onExport, 'optionalCall',
|
|
35011
|
+
_optionalChain([onExport, 'optionalCall', _656 => _656()]);
|
|
35102
35012
|
};
|
|
35103
35013
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
35104
35014
|
const {
|
|
@@ -35271,7 +35181,7 @@ function DataTableColumnFilter({
|
|
|
35271
35181
|
align = "left"
|
|
35272
35182
|
}) {
|
|
35273
35183
|
const currentValue = column.getFilterValue();
|
|
35274
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
35184
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _657 => _657.length]), () => ( 0));
|
|
35275
35185
|
const sections = _react.useMemo.call(void 0,
|
|
35276
35186
|
() => [
|
|
35277
35187
|
{
|
|
@@ -35351,7 +35261,7 @@ function DataTableHeader({
|
|
|
35351
35261
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
35352
35262
|
if (header.isPlaceholder) return false;
|
|
35353
35263
|
if (isLgUp) return true;
|
|
35354
|
-
return Boolean(_optionalChain([header, 'access',
|
|
35264
|
+
return Boolean(_optionalChain([header, 'access', _658 => _658.column, 'access', _659 => _659.columnDef, 'access', _660 => _660.meta, 'optionalAccess', _661 => _661.filter]));
|
|
35355
35265
|
});
|
|
35356
35266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35357
35267
|
"div",
|
|
@@ -35381,20 +35291,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
35381
35291
|
if (header.isPlaceholder) return null;
|
|
35382
35292
|
const column = header.column;
|
|
35383
35293
|
const meta = column.columnDef.meta;
|
|
35384
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
35385
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
35386
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
35387
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
35294
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _662 => _662.filter]));
|
|
35295
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _663 => _663.align]), () => ( "left"));
|
|
35296
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _664 => _664.sortable]) === true;
|
|
35297
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _665 => _665.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
35388
35298
|
if (!isLgUp && !hasFilter) return null;
|
|
35389
35299
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35390
35300
|
"div",
|
|
35391
35301
|
{
|
|
35392
35302
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35393
35303
|
"flex items-stretch",
|
|
35394
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
35395
|
-
_optionalChain([meta, 'optionalAccess',
|
|
35304
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _666 => _666.width]) || "flex-1 min-w-0"),
|
|
35305
|
+
_optionalChain([meta, 'optionalAccess', _667 => _667.headerClassName]),
|
|
35396
35306
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
35397
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
35307
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _668 => _668.hideAt]))
|
|
35398
35308
|
),
|
|
35399
35309
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35400
35310
|
DataTableColumnFilter,
|
|
@@ -35413,7 +35323,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
35413
35323
|
isLgUp && alignJustify(align),
|
|
35414
35324
|
canSort && "group cursor-pointer"
|
|
35415
35325
|
),
|
|
35416
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
35326
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _669 => _669(column.id)]) : void 0,
|
|
35417
35327
|
children: [
|
|
35418
35328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
35419
35329
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -35478,7 +35388,7 @@ function DataTableSkeleton({
|
|
|
35478
35388
|
}) {
|
|
35479
35389
|
const table = useDataTableContext();
|
|
35480
35390
|
const columns = table.getVisibleFlatColumns();
|
|
35481
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
35391
|
+
const firstColumnId = _optionalChain([columns, 'access', _670 => _670[0], 'optionalAccess', _671 => _671.id]);
|
|
35482
35392
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35483
35393
|
"div",
|
|
35484
35394
|
{
|
|
@@ -35502,7 +35412,7 @@ function DataTableSkeleton({
|
|
|
35502
35412
|
{
|
|
35503
35413
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35504
35414
|
"flex flex-col justify-center shrink-0",
|
|
35505
|
-
_optionalChain([meta, 'optionalAccess',
|
|
35415
|
+
_optionalChain([meta, 'optionalAccess', _672 => _672.width]) || "flex-1"
|
|
35506
35416
|
),
|
|
35507
35417
|
children: [
|
|
35508
35418
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -35551,7 +35461,7 @@ function DataTableRowImpl({
|
|
|
35551
35461
|
const handleClick = _react.useCallback.call(void 0,
|
|
35552
35462
|
(e) => {
|
|
35553
35463
|
const target = e.target;
|
|
35554
|
-
if (!_optionalChain([containerRef, 'access',
|
|
35464
|
+
if (!_optionalChain([containerRef, 'access', _673 => _673.current, 'optionalAccess', _674 => _674.contains, 'call', _675 => _675(target)])) {
|
|
35555
35465
|
if (isLinkMode) e.preventDefault();
|
|
35556
35466
|
return;
|
|
35557
35467
|
}
|
|
@@ -35559,7 +35469,7 @@ function DataTableRowImpl({
|
|
|
35559
35469
|
if (isLinkMode) e.preventDefault();
|
|
35560
35470
|
return;
|
|
35561
35471
|
}
|
|
35562
|
-
_optionalChain([onClick, 'optionalCall',
|
|
35472
|
+
_optionalChain([onClick, 'optionalCall', _676 => _676(row.original)]);
|
|
35563
35473
|
},
|
|
35564
35474
|
[onClick, row.original, isLinkMode]
|
|
35565
35475
|
);
|
|
@@ -35584,10 +35494,10 @@ function DataTableRowImpl({
|
|
|
35584
35494
|
{
|
|
35585
35495
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35586
35496
|
"flex flex-col overflow-hidden",
|
|
35587
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
35588
|
-
_optionalChain([meta, 'optionalAccess',
|
|
35589
|
-
_optionalChain([meta, 'optionalAccess',
|
|
35590
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
35497
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _677 => _677.align])),
|
|
35498
|
+
_optionalChain([meta, 'optionalAccess', _678 => _678.width]) || "flex-1 min-w-0",
|
|
35499
|
+
_optionalChain([meta, 'optionalAccess', _679 => _679.cellClassName]),
|
|
35500
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _680 => _680.hideAt]))
|
|
35591
35501
|
),
|
|
35592
35502
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
35593
35503
|
},
|
|
@@ -35666,7 +35576,7 @@ function DataTableBody({
|
|
|
35666
35576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
|
|
35667
35577
|
rows.map((row, index) => {
|
|
35668
35578
|
const item = row.original;
|
|
35669
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
35579
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _681 => _681(item)]), () => ( void 0));
|
|
35670
35580
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
35671
35581
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35672
35582
|
DataTableRow,
|
|
@@ -35676,7 +35586,7 @@ function DataTableBody({
|
|
|
35676
35586
|
href,
|
|
35677
35587
|
compact,
|
|
35678
35588
|
className: cls,
|
|
35679
|
-
subRow: _optionalChain([renderSubRow, 'optionalCall',
|
|
35589
|
+
subRow: _optionalChain([renderSubRow, 'optionalCall', _682 => _682(item)])
|
|
35680
35590
|
},
|
|
35681
35591
|
row.id
|
|
35682
35592
|
);
|
|
@@ -35731,7 +35641,7 @@ function DataTableInfiniteFooter({
|
|
|
35731
35641
|
if (!sentinel) return;
|
|
35732
35642
|
const observer = new IntersectionObserver(
|
|
35733
35643
|
(entries) => {
|
|
35734
|
-
if (_optionalChain([entries, 'access',
|
|
35644
|
+
if (_optionalChain([entries, 'access', _683 => _683[0], 'optionalAccess', _684 => _684.isIntersecting])) onLoadMoreRef.current();
|
|
35735
35645
|
},
|
|
35736
35646
|
{ rootMargin }
|
|
35737
35647
|
);
|
|
@@ -35779,7 +35689,7 @@ function DataTableRowCount({
|
|
|
35779
35689
|
const table = useDataTableContext();
|
|
35780
35690
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
35781
35691
|
if (hideWhenEmpty && count === 0) return null;
|
|
35782
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
35692
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _685 => _685(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
35783
35693
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35784
35694
|
"span",
|
|
35785
35695
|
{
|
|
@@ -35938,7 +35848,7 @@ function SearchInput({
|
|
|
35938
35848
|
if (!showHiddenTags) return;
|
|
35939
35849
|
const handleClick = (e) => {
|
|
35940
35850
|
const target = e.target;
|
|
35941
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
35851
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _686 => _686.current, 'optionalAccess', _687 => _687.contains, 'call', _688 => _688(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _689 => _689.current, 'optionalAccess', _690 => _690.contains, 'call', _691 => _691(target)])) {
|
|
35942
35852
|
setShowHiddenTags(false);
|
|
35943
35853
|
}
|
|
35944
35854
|
};
|
|
@@ -35986,10 +35896,10 @@ function SearchInput({
|
|
|
35986
35896
|
} else {
|
|
35987
35897
|
setInternalValue("");
|
|
35988
35898
|
}
|
|
35989
|
-
_optionalChain([inputRef, 'access',
|
|
35899
|
+
_optionalChain([inputRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.focus, 'call', _694 => _694()]);
|
|
35990
35900
|
};
|
|
35991
35901
|
const handleResultClick = (result, e) => {
|
|
35992
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
35902
|
+
_optionalChain([onResultSelect, 'optionalCall', _695 => _695(
|
|
35993
35903
|
result,
|
|
35994
35904
|
e ? {
|
|
35995
35905
|
metaKey: e.metaKey,
|
|
@@ -36021,7 +35931,7 @@ function SearchInput({
|
|
|
36021
35931
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
36022
35932
|
handleResultClick(flatResults[highlightedIndex]);
|
|
36023
35933
|
} else {
|
|
36024
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
35934
|
+
_optionalChain([onSubmit, 'optionalCall', _696 => _696(currentValue)]);
|
|
36025
35935
|
}
|
|
36026
35936
|
break;
|
|
36027
35937
|
case "Escape":
|
|
@@ -36099,7 +36009,7 @@ function SearchInput({
|
|
|
36099
36009
|
dropdownVisible && "!border-ods-accent"
|
|
36100
36010
|
),
|
|
36101
36011
|
onClick: () => {
|
|
36102
|
-
_optionalChain([inputRef, 'access',
|
|
36012
|
+
_optionalChain([inputRef, 'access', _697 => _697.current, 'optionalAccess', _698 => _698.focus, 'call', _699 => _699()]);
|
|
36103
36013
|
setIsOpen(true);
|
|
36104
36014
|
},
|
|
36105
36015
|
children: [
|
|
@@ -36183,10 +36093,10 @@ function SearchInput({
|
|
|
36183
36093
|
align: "start",
|
|
36184
36094
|
onOpenAutoFocus: (e) => {
|
|
36185
36095
|
e.preventDefault();
|
|
36186
|
-
_optionalChain([inputRef, 'access',
|
|
36096
|
+
_optionalChain([inputRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.focus, 'call', _702 => _702()]);
|
|
36187
36097
|
},
|
|
36188
36098
|
onInteractOutside: (e) => {
|
|
36189
|
-
if (_optionalChain([containerRef, 'access',
|
|
36099
|
+
if (_optionalChain([containerRef, 'access', _703 => _703.current, 'optionalAccess', _704 => _704.contains, 'call', _705 => _705(e.target)])) {
|
|
36190
36100
|
e.preventDefault();
|
|
36191
36101
|
}
|
|
36192
36102
|
},
|
|
@@ -36203,10 +36113,10 @@ function SearchInput({
|
|
|
36203
36113
|
ref: hiddenTagsPopupRef,
|
|
36204
36114
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
36205
36115
|
style: {
|
|
36206
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
36116
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _706 => _706.current, 'optionalAccess', _707 => _707.getBoundingClientRect, 'call', _708 => _708(), 'access', _709 => _709.left]), () => ( 0))) : 0
|
|
36207
36117
|
},
|
|
36208
36118
|
onRemove: (value2) => {
|
|
36209
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
36119
|
+
_optionalChain([onFilterRemove, 'optionalCall', _710 => _710(value2)]);
|
|
36210
36120
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
36211
36121
|
}
|
|
36212
36122
|
}
|
|
@@ -36257,7 +36167,7 @@ function FilterListItem({
|
|
|
36257
36167
|
}) {
|
|
36258
36168
|
const handleToggle = () => {
|
|
36259
36169
|
if (disabled) return;
|
|
36260
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
36170
|
+
_optionalChain([onToggle, 'optionalCall', _711 => _711(!selected)]);
|
|
36261
36171
|
};
|
|
36262
36172
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36263
36173
|
"div",
|
|
@@ -36304,7 +36214,7 @@ function FilterListItem({
|
|
|
36304
36214
|
CheckboxPrimitive4.Root,
|
|
36305
36215
|
{
|
|
36306
36216
|
checked: selected,
|
|
36307
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
36217
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _712 => _712(c === true)]),
|
|
36308
36218
|
onClick: (e) => e.stopPropagation(),
|
|
36309
36219
|
disabled,
|
|
36310
36220
|
"aria-label": title,
|
|
@@ -36403,7 +36313,7 @@ function TagSearchInput({
|
|
|
36403
36313
|
if (!showHiddenTags) return;
|
|
36404
36314
|
const handleClick = (e) => {
|
|
36405
36315
|
const target = e.target;
|
|
36406
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
36316
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _713 => _713.current, 'optionalAccess', _714 => _714.contains, 'call', _715 => _715(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _716 => _716.current, 'optionalAccess', _717 => _717.contains, 'call', _718 => _718(target)])) {
|
|
36407
36317
|
setShowHiddenTags(false);
|
|
36408
36318
|
}
|
|
36409
36319
|
};
|
|
@@ -36419,13 +36329,13 @@ function TagSearchInput({
|
|
|
36419
36329
|
e.preventDefault();
|
|
36420
36330
|
onSubmit(searchValue);
|
|
36421
36331
|
}
|
|
36422
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
36332
|
+
_optionalChain([onKeyDown, 'optionalCall', _719 => _719(e)]);
|
|
36423
36333
|
};
|
|
36424
36334
|
const handleClearAll = (e) => {
|
|
36425
36335
|
e.stopPropagation();
|
|
36426
36336
|
e.preventDefault();
|
|
36427
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
36428
|
-
_optionalChain([inputRef, 'access',
|
|
36337
|
+
_optionalChain([onClearAll, 'optionalCall', _720 => _720()]);
|
|
36338
|
+
_optionalChain([inputRef, 'access', _721 => _721.current, 'optionalAccess', _722 => _722.focus, 'call', _723 => _723()]);
|
|
36429
36339
|
};
|
|
36430
36340
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
36431
36341
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -36442,7 +36352,7 @@ function TagSearchInput({
|
|
|
36442
36352
|
className
|
|
36443
36353
|
),
|
|
36444
36354
|
onClick: () => {
|
|
36445
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
36355
|
+
if (!disabled) _optionalChain([inputRef, 'access', _724 => _724.current, 'optionalAccess', _725 => _725.focus, 'call', _726 => _726()]);
|
|
36446
36356
|
},
|
|
36447
36357
|
children: [
|
|
36448
36358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
|
|
@@ -36514,7 +36424,7 @@ function TagSearchInput({
|
|
|
36514
36424
|
items: hiddenTags,
|
|
36515
36425
|
disabled,
|
|
36516
36426
|
style: {
|
|
36517
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
36427
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _727 => _727.current, 'optionalAccess', _728 => _728.getBoundingClientRect, 'call', _729 => _729(), 'access', _730 => _730.left]), () => ( 0))) : 0
|
|
36518
36428
|
},
|
|
36519
36429
|
onRemove: (value) => {
|
|
36520
36430
|
onTagRemove(value);
|
|
@@ -36615,7 +36525,7 @@ function MarkdownEditor({
|
|
|
36615
36525
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
36616
36526
|
_react.useEffect.call(void 0, () => {
|
|
36617
36527
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
36618
|
-
if (_optionalChain([mod, 'access',
|
|
36528
|
+
if (_optionalChain([mod, 'access', _731 => _731.commands, 'optionalAccess', _732 => _732.getExtraCommands])) {
|
|
36619
36529
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
36620
36530
|
}
|
|
36621
36531
|
});
|
|
@@ -36649,7 +36559,7 @@ function MarkdownEditor({
|
|
|
36649
36559
|
const isImage = file.type.startsWith("image/");
|
|
36650
36560
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
36651
36561
|
insertTextAtCursor(markdown);
|
|
36652
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
36562
|
+
_optionalChain([onFileUploaded, 'optionalCall', _733 => _733(url, file.name)]);
|
|
36653
36563
|
} catch (error) {
|
|
36654
36564
|
console.error("File upload failed:", error);
|
|
36655
36565
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -36662,7 +36572,7 @@ function MarkdownEditor({
|
|
|
36662
36572
|
);
|
|
36663
36573
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
36664
36574
|
(e) => {
|
|
36665
|
-
const file = _optionalChain([e, 'access',
|
|
36575
|
+
const file = _optionalChain([e, 'access', _734 => _734.target, 'access', _735 => _735.files, 'optionalAccess', _736 => _736[0]]);
|
|
36666
36576
|
if (file) {
|
|
36667
36577
|
handleFileUpload(file);
|
|
36668
36578
|
e.target.value = "";
|
|
@@ -36673,7 +36583,7 @@ function MarkdownEditor({
|
|
|
36673
36583
|
const handlePaste = _react.useCallback.call(void 0,
|
|
36674
36584
|
(e) => {
|
|
36675
36585
|
if (!onUploadFile) return;
|
|
36676
|
-
const items = _optionalChain([e, 'access',
|
|
36586
|
+
const items = _optionalChain([e, 'access', _737 => _737.clipboardData, 'optionalAccess', _738 => _738.items]);
|
|
36677
36587
|
if (!items) return;
|
|
36678
36588
|
for (const item of items) {
|
|
36679
36589
|
if (item.type.startsWith("image/")) {
|
|
@@ -36698,7 +36608,7 @@ function MarkdownEditor({
|
|
|
36698
36608
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
36699
36609
|
icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
|
|
36700
36610
|
execute: () => {
|
|
36701
|
-
_optionalChain([fileInputRef, 'access',
|
|
36611
|
+
_optionalChain([fileInputRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.click, 'call', _741 => _741()]);
|
|
36702
36612
|
}
|
|
36703
36613
|
} : null;
|
|
36704
36614
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -36710,7 +36620,7 @@ function MarkdownEditor({
|
|
|
36710
36620
|
const EDGE_ZONE = 60;
|
|
36711
36621
|
const MAX_SCROLL_SPEED = 15;
|
|
36712
36622
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
36713
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
36623
|
+
let node = _optionalChain([el, 'optionalAccess', _742 => _742.parentElement]);
|
|
36714
36624
|
while (node && node !== document.documentElement) {
|
|
36715
36625
|
const { overflowY } = window.getComputedStyle(node);
|
|
36716
36626
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -36853,7 +36763,7 @@ function matchesAccept(file, accept) {
|
|
|
36853
36763
|
});
|
|
36854
36764
|
}
|
|
36855
36765
|
function dragHasFiles(e) {
|
|
36856
|
-
const types = _optionalChain([e, 'access',
|
|
36766
|
+
const types = _optionalChain([e, 'access', _743 => _743.dataTransfer, 'optionalAccess', _744 => _744.types]);
|
|
36857
36767
|
if (!types) return false;
|
|
36858
36768
|
for (let i = 0; i < types.length; i++) {
|
|
36859
36769
|
if (types[i] === "Files") return true;
|
|
@@ -36948,7 +36858,7 @@ function FileUpload({
|
|
|
36948
36858
|
e.stopPropagation();
|
|
36949
36859
|
setDragActive(false);
|
|
36950
36860
|
if (disabled) return;
|
|
36951
|
-
if (_optionalChain([e, 'access',
|
|
36861
|
+
if (_optionalChain([e, 'access', _745 => _745.dataTransfer, 'access', _746 => _746.files, 'optionalAccess', _747 => _747.length])) {
|
|
36952
36862
|
handleFiles(e.dataTransfer.files);
|
|
36953
36863
|
}
|
|
36954
36864
|
};
|
|
@@ -36976,7 +36886,7 @@ function FileUpload({
|
|
|
36976
36886
|
e.preventDefault();
|
|
36977
36887
|
dragCounter = 0;
|
|
36978
36888
|
setDragActive(false);
|
|
36979
|
-
if (_optionalChain([e, 'access',
|
|
36889
|
+
if (_optionalChain([e, 'access', _748 => _748.dataTransfer, 'optionalAccess', _749 => _749.files, 'optionalAccess', _750 => _750.length])) {
|
|
36980
36890
|
handleFilesRef.current(e.dataTransfer.files);
|
|
36981
36891
|
}
|
|
36982
36892
|
};
|
|
@@ -36998,7 +36908,7 @@ function FileUpload({
|
|
|
36998
36908
|
};
|
|
36999
36909
|
}, [acceptWindowDrops, disabled]);
|
|
37000
36910
|
const handleFileSelect = (e) => {
|
|
37001
|
-
if (_optionalChain([e, 'access',
|
|
36911
|
+
if (_optionalChain([e, 'access', _751 => _751.target, 'access', _752 => _752.files, 'optionalAccess', _753 => _753.length])) {
|
|
37002
36912
|
handleFiles(e.target.files);
|
|
37003
36913
|
}
|
|
37004
36914
|
};
|
|
@@ -37015,7 +36925,7 @@ function FileUpload({
|
|
|
37015
36925
|
};
|
|
37016
36926
|
const openDialog = async () => {
|
|
37017
36927
|
if (disabled) return;
|
|
37018
|
-
_optionalChain([fileInputRef, 'access',
|
|
36928
|
+
_optionalChain([fileInputRef, 'access', _754 => _754.current, 'optionalAccess', _755 => _755.click, 'call', _756 => _756()]);
|
|
37019
36929
|
};
|
|
37020
36930
|
const displayError = error || validationError || void 0;
|
|
37021
36931
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -37093,7 +37003,7 @@ function FileUpload({
|
|
|
37093
37003
|
"button",
|
|
37094
37004
|
{
|
|
37095
37005
|
type: "button",
|
|
37096
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
37006
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _757 => _757(entry.id)]),
|
|
37097
37007
|
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
37098
37008
|
"aria-label": `Remove ${entry.fileName}`,
|
|
37099
37009
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
@@ -37216,7 +37126,7 @@ function ImageUploader({
|
|
|
37216
37126
|
onChange(file);
|
|
37217
37127
|
};
|
|
37218
37128
|
const handleFileSelect = (e) => {
|
|
37219
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
37129
|
+
validateAndEmit(_optionalChain([e, 'access', _758 => _758.target, 'access', _759 => _759.files, 'optionalAccess', _760 => _760[0]]));
|
|
37220
37130
|
if (inputRef.current) inputRef.current.value = "";
|
|
37221
37131
|
};
|
|
37222
37132
|
const handleDrag = (e) => {
|
|
@@ -37231,11 +37141,11 @@ function ImageUploader({
|
|
|
37231
37141
|
e.stopPropagation();
|
|
37232
37142
|
setDragActive(false);
|
|
37233
37143
|
if (!interactive) return;
|
|
37234
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
37144
|
+
validateAndEmit(_optionalChain([e, 'access', _761 => _761.dataTransfer, 'access', _762 => _762.files, 'optionalAccess', _763 => _763[0]]));
|
|
37235
37145
|
};
|
|
37236
37146
|
const openDialog = () => {
|
|
37237
37147
|
if (!interactive) return;
|
|
37238
|
-
_optionalChain([inputRef, 'access',
|
|
37148
|
+
_optionalChain([inputRef, 'access', _764 => _764.current, 'optionalAccess', _765 => _765.click, 'call', _766 => _766()]);
|
|
37239
37149
|
};
|
|
37240
37150
|
const handleRootKeyDown = (e) => {
|
|
37241
37151
|
if (hasImage || !interactive) return;
|
|
@@ -37425,8 +37335,8 @@ function ColorPresetSelect({
|
|
|
37425
37335
|
}) {
|
|
37426
37336
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
37427
37337
|
const isCustom = !selectedPreset;
|
|
37428
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
37429
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
37338
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _767 => _767.label]), () => ( "Custom"));
|
|
37339
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _768 => _768.color]), () => ( value));
|
|
37430
37340
|
const groups = [
|
|
37431
37341
|
{
|
|
37432
37342
|
items: [
|
|
@@ -37716,7 +37626,7 @@ function TicketStatusConfigRow({
|
|
|
37716
37626
|
_chunkFQOTC3UUcjs.Input,
|
|
37717
37627
|
{
|
|
37718
37628
|
value: name,
|
|
37719
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
37629
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _769 => _769(e.target.value)]),
|
|
37720
37630
|
disabled: isSystem,
|
|
37721
37631
|
readOnly: isSystem,
|
|
37722
37632
|
"aria-label": "Status name",
|
|
@@ -37799,7 +37709,7 @@ function CompactAssigneeDropdown({
|
|
|
37799
37709
|
return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
|
|
37800
37710
|
}, [filtered, currentAssignee]);
|
|
37801
37711
|
const handleSelect = (userId) => {
|
|
37802
|
-
const next = _optionalChain([currentAssignee, 'optionalAccess',
|
|
37712
|
+
const next = _optionalChain([currentAssignee, 'optionalAccess', _770 => _770.id]) === userId ? null : userId;
|
|
37803
37713
|
onAssign(next);
|
|
37804
37714
|
setIsOpen(false);
|
|
37805
37715
|
};
|
|
@@ -37864,7 +37774,7 @@ function CompactAssigneeDropdown({
|
|
|
37864
37774
|
}
|
|
37865
37775
|
) }),
|
|
37866
37776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "max-h-80 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "Loading\u2026" }) : orderedOptions.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No users found" }) : orderedOptions.map((opt) => {
|
|
37867
|
-
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess',
|
|
37777
|
+
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _771 => _771.id]) === opt.value;
|
|
37868
37778
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37869
37779
|
"button",
|
|
37870
37780
|
{
|
|
@@ -37933,7 +37843,7 @@ function DefaultAssigneeDropdown({
|
|
|
37933
37843
|
Autocomplete,
|
|
37934
37844
|
{
|
|
37935
37845
|
options,
|
|
37936
|
-
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess',
|
|
37846
|
+
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _772 => _772.id]), () => ( null)),
|
|
37937
37847
|
onChange: (val) => {
|
|
37938
37848
|
onAssign(val);
|
|
37939
37849
|
setIsEditing(false);
|
|
@@ -38322,14 +38232,14 @@ function TicketInfoSection({
|
|
|
38322
38232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38323
38233
|
SquareAvatar,
|
|
38324
38234
|
{
|
|
38325
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
38326
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
38327
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
38235
|
+
src: _optionalChain([organization, 'optionalAccess', _773 => _773.imageSrc]),
|
|
38236
|
+
alt: _optionalChain([organization, 'optionalAccess', _774 => _774.name]),
|
|
38237
|
+
fallback: _optionalChain([organization, 'optionalAccess', _775 => _775.name]) || "Org",
|
|
38328
38238
|
size: "md",
|
|
38329
38239
|
className: "shrink-0"
|
|
38330
38240
|
}
|
|
38331
38241
|
),
|
|
38332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
38242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _776 => _776.name]) || "Unassigned", label: "Organization" })
|
|
38333
38243
|
] }),
|
|
38334
38244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38335
38245
|
AssigneeDropdown,
|
|
@@ -38350,10 +38260,10 @@ function TicketInfoSection({
|
|
|
38350
38260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38351
38261
|
InfoCell2,
|
|
38352
38262
|
{
|
|
38353
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
38263
|
+
value: _optionalChain([device, 'optionalAccess', _777 => _777.name]) || "Unassigned",
|
|
38354
38264
|
label: "Device",
|
|
38355
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
38356
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
38265
|
+
icon: _optionalChain([device, 'optionalAccess', _778 => _778.icon]),
|
|
38266
|
+
onClick: _optionalChain([device, 'optionalAccess', _779 => _779.onClick])
|
|
38357
38267
|
}
|
|
38358
38268
|
),
|
|
38359
38269
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -38683,7 +38593,7 @@ function RoadmapCard({
|
|
|
38683
38593
|
const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
|
|
38684
38594
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
38685
38595
|
const hasFigma = !!item.figmaUrl;
|
|
38686
|
-
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access',
|
|
38596
|
+
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _780 => _780.screenshots, 'optionalAccess', _781 => _781.length]), () => ( 0))) > 0;
|
|
38687
38597
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
38688
38598
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
38689
38599
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -38702,7 +38612,7 @@ function RoadmapCard({
|
|
|
38702
38612
|
unoptimized: true,
|
|
38703
38613
|
className: "h-8 w-8 object-contain"
|
|
38704
38614
|
}
|
|
38705
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
38615
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _782 => _782.title, 'optionalAccess', _783 => _783.substring, 'call', _784 => _784(0, 2)]) || "??" })
|
|
38706
38616
|
}
|
|
38707
38617
|
),
|
|
38708
38618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -38777,7 +38687,7 @@ function RoadmapCard({
|
|
|
38777
38687
|
unoptimized: true,
|
|
38778
38688
|
className: "object-contain p-1"
|
|
38779
38689
|
}
|
|
38780
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
38690
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _785 => _785.title, 'optionalAccess', _786 => _786.substring, 'call', _787 => _787(0, 2)]) || "??" }) }),
|
|
38781
38691
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
|
|
38782
38692
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2", children: item.title }) }),
|
|
38783
38693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: [
|
|
@@ -39287,7 +39197,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
39287
39197
|
] }) : null,
|
|
39288
39198
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview }) }) : null
|
|
39289
39199
|
] }),
|
|
39290
|
-
_optionalChain([anchorProps, 'optionalAccess',
|
|
39200
|
+
_optionalChain([anchorProps, 'optionalAccess', _788 => _788.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
39291
39201
|
] });
|
|
39292
39202
|
if (!anchorProps) {
|
|
39293
39203
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
@@ -39357,7 +39267,7 @@ function getDefaultOptions() {
|
|
|
39357
39267
|
// node_modules/date-fns/startOfWeek.mjs
|
|
39358
39268
|
function startOfWeek(date, options) {
|
|
39359
39269
|
const defaultOptions2 = getDefaultOptions();
|
|
39360
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
39270
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _789 => _789.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _790 => _790.locale, 'optionalAccess', _791 => _791.options, 'optionalAccess', _792 => _792.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _793 => _793.locale, 'optionalAccess', _794 => _794.options, 'optionalAccess', _795 => _795.weekStartsOn]))), () => ( 0));
|
|
39361
39271
|
const _date = toDate(date);
|
|
39362
39272
|
const day = _date.getDay();
|
|
39363
39273
|
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
@@ -39532,7 +39442,7 @@ var formatDistance = (token, count, options) => {
|
|
|
39532
39442
|
} else {
|
|
39533
39443
|
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
39534
39444
|
}
|
|
39535
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
39445
|
+
if (_optionalChain([options, 'optionalAccess', _796 => _796.addSuffix])) {
|
|
39536
39446
|
if (options.comparison && options.comparison > 0) {
|
|
39537
39447
|
return "in " + result;
|
|
39538
39448
|
} else {
|
|
@@ -39599,15 +39509,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
|
|
|
39599
39509
|
// node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
|
|
39600
39510
|
function buildLocalizeFn(args) {
|
|
39601
39511
|
return (value, options) => {
|
|
39602
|
-
const context = _optionalChain([options, 'optionalAccess',
|
|
39512
|
+
const context = _optionalChain([options, 'optionalAccess', _797 => _797.context]) ? String(options.context) : "standalone";
|
|
39603
39513
|
let valuesArray;
|
|
39604
39514
|
if (context === "formatting" && args.formattingValues) {
|
|
39605
39515
|
const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
|
39606
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
39516
|
+
const width = _optionalChain([options, 'optionalAccess', _798 => _798.width]) ? String(options.width) : defaultWidth;
|
|
39607
39517
|
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
|
39608
39518
|
} else {
|
|
39609
39519
|
const defaultWidth = args.defaultWidth;
|
|
39610
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
39520
|
+
const width = _optionalChain([options, 'optionalAccess', _799 => _799.width]) ? String(options.width) : args.defaultWidth;
|
|
39611
39521
|
valuesArray = args.values[width] || args.values[defaultWidth];
|
|
39612
39522
|
}
|
|
39613
39523
|
const index = args.argumentCallback ? args.argumentCallback(value) : value;
|
|
@@ -39987,7 +39897,7 @@ function getWeekYear(date, options) {
|
|
|
39987
39897
|
const _date = toDate(date);
|
|
39988
39898
|
const year = _date.getFullYear();
|
|
39989
39899
|
const defaultOptions2 = getDefaultOptions();
|
|
39990
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
39900
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _800 => _800.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _801 => _801.locale, 'optionalAccess', _802 => _802.options, 'optionalAccess', _803 => _803.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _804 => _804.locale, 'optionalAccess', _805 => _805.options, 'optionalAccess', _806 => _806.firstWeekContainsDate]))), () => ( 1));
|
|
39991
39901
|
const firstWeekOfNextYear = constructFrom(date, 0);
|
|
39992
39902
|
firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
|
|
39993
39903
|
firstWeekOfNextYear.setHours(0, 0, 0, 0);
|
|
@@ -40008,7 +39918,7 @@ function getWeekYear(date, options) {
|
|
|
40008
39918
|
// node_modules/date-fns/startOfWeekYear.mjs
|
|
40009
39919
|
function startOfWeekYear(date, options) {
|
|
40010
39920
|
const defaultOptions2 = getDefaultOptions();
|
|
40011
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
39921
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _807 => _807.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _808 => _808.locale, 'optionalAccess', _809 => _809.options, 'optionalAccess', _810 => _810.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _811 => _811.locale, 'optionalAccess', _812 => _812.options, 'optionalAccess', _813 => _813.firstWeekContainsDate]))), () => ( 1));
|
|
40012
39922
|
const year = getWeekYear(date, options);
|
|
40013
39923
|
const firstWeek = constructFrom(date, 0);
|
|
40014
39924
|
firstWeek.setFullYear(year, 0, firstWeekContainsDate);
|
|
@@ -40823,9 +40733,9 @@ var doubleQuoteRegExp = /''/g;
|
|
|
40823
40733
|
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
40824
40734
|
function format(date, formatStr, options) {
|
|
40825
40735
|
const defaultOptions2 = getDefaultOptions();
|
|
40826
|
-
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
40827
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
40828
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
40736
|
+
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _814 => _814.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
|
|
40737
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _815 => _815.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _816 => _816.locale, 'optionalAccess', _817 => _817.options, 'optionalAccess', _818 => _818.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _819 => _819.locale, 'optionalAccess', _820 => _820.options, 'optionalAccess', _821 => _821.firstWeekContainsDate]))), () => ( 1));
|
|
40738
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _822 => _822.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _823 => _823.locale, 'optionalAccess', _824 => _824.options, 'optionalAccess', _825 => _825.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _826 => _826.locale, 'optionalAccess', _827 => _827.options, 'optionalAccess', _828 => _828.weekStartsOn]))), () => ( 0));
|
|
40829
40739
|
const originalDate = toDate(date);
|
|
40830
40740
|
if (!isValid(originalDate)) {
|
|
40831
40741
|
throw new RangeError("Invalid time value");
|
|
@@ -40866,7 +40776,7 @@ function format(date, formatStr, options) {
|
|
|
40866
40776
|
return parts.map((part) => {
|
|
40867
40777
|
if (!part.isToken) return part.value;
|
|
40868
40778
|
const token = part.value;
|
|
40869
|
-
if (!_optionalChain([options, 'optionalAccess',
|
|
40779
|
+
if (!_optionalChain([options, 'optionalAccess', _829 => _829.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _830 => _830.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
|
|
40870
40780
|
warnOrThrowProtectedError(token, formatStr, String(date));
|
|
40871
40781
|
}
|
|
40872
40782
|
const formatter = formatters[token[0]];
|
|
@@ -41044,7 +40954,7 @@ function ProgramCard({
|
|
|
41044
40954
|
const dur = formatDurationFromRange(w.start_at, w.end_at);
|
|
41045
40955
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
41046
40956
|
}
|
|
41047
|
-
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access',
|
|
40957
|
+
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _831 => _831.labels, 'optionalAccess', _832 => _832.singular])].filter(
|
|
41048
40958
|
(s) => typeof s === "string" && s.length > 0
|
|
41049
40959
|
);
|
|
41050
40960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
@@ -41201,7 +41111,7 @@ function ProgramCard({
|
|
|
41201
41111
|
|
|
41202
41112
|
|
|
41203
41113
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
41204
|
-
const goalsCount = _optionalChain([campaign, 'access',
|
|
41114
|
+
const goalsCount = _optionalChain([campaign, 'access', _833 => _833.goals, 'optionalAccess', _834 => _834.length]) || 0;
|
|
41205
41115
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
41206
41116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
41207
41117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -41363,7 +41273,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
41363
41273
|
if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
|
|
41364
41274
|
const safePath = sanitizePath(row.path);
|
|
41365
41275
|
if (safePath) {
|
|
41366
|
-
const docTarget = row.documentType ? _optionalChain([ctx, 'access',
|
|
41276
|
+
const docTarget = row.documentType ? _optionalChain([ctx, 'access', _835 => _835.docPlatformTargets, 'optionalAccess', _836 => _836[row.documentType]]) : void 0;
|
|
41367
41277
|
if (docTarget) {
|
|
41368
41278
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
41369
41279
|
const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
@@ -41578,8 +41488,8 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
41578
41488
|
if (href) {
|
|
41579
41489
|
items.push({
|
|
41580
41490
|
id: "open-details",
|
|
41581
|
-
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
41582
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
41491
|
+
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _837 => _837.label]), () => ( "Open Details")),
|
|
41492
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _838 => _838.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.EyeIcon, { size: 20 }))),
|
|
41583
41493
|
// Main row → open the entity (same tab, soft Link nav).
|
|
41584
41494
|
href,
|
|
41585
41495
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
@@ -41609,8 +41519,8 @@ function HubspotTicketChatCard({
|
|
|
41609
41519
|
isNewTab,
|
|
41610
41520
|
discuss
|
|
41611
41521
|
}) {
|
|
41612
|
-
const status = typeof _optionalChain([chatRef, 'access',
|
|
41613
|
-
const statusLabel = typeof _optionalChain([chatRef, 'access',
|
|
41522
|
+
const status = typeof _optionalChain([chatRef, 'access', _839 => _839.metadata, 'optionalAccess', _840 => _840.status]) === "string" ? chatRef.metadata.status : void 0;
|
|
41523
|
+
const statusLabel = typeof _optionalChain([chatRef, 'access', _841 => _841.metadata, 'optionalAccess', _842 => _842.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
|
|
41614
41524
|
const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
|
|
41615
41525
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41616
41526
|
MingoInfoCard,
|
|
@@ -41633,7 +41543,7 @@ function FaqChatCard({
|
|
|
41633
41543
|
isNewTab,
|
|
41634
41544
|
discuss
|
|
41635
41545
|
}) {
|
|
41636
|
-
const section = typeof _optionalChain([chatRef, 'access',
|
|
41546
|
+
const section = typeof _optionalChain([chatRef, 'access', _843 => _843.metadata, 'optionalAccess', _844 => _844.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
|
|
41637
41547
|
const statusLabel = section && section.length > 0 ? section : "FAQ";
|
|
41638
41548
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41639
41549
|
MingoInfoCard,
|
|
@@ -41653,7 +41563,7 @@ function SlackChatCard({
|
|
|
41653
41563
|
isNewTab,
|
|
41654
41564
|
discuss
|
|
41655
41565
|
}) {
|
|
41656
|
-
const channelName = typeof _optionalChain([chatRef, 'access',
|
|
41566
|
+
const channelName = typeof _optionalChain([chatRef, 'access', _845 => _845.metadata, 'optionalAccess', _846 => _846.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
|
|
41657
41567
|
const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
|
|
41658
41568
|
const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
|
|
41659
41569
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -41693,7 +41603,7 @@ function GenericFinancialChatCard({
|
|
|
41693
41603
|
isNewTab,
|
|
41694
41604
|
discuss
|
|
41695
41605
|
}) {
|
|
41696
|
-
const subtitle = typeof _optionalChain([chatRef, 'access',
|
|
41606
|
+
const subtitle = typeof _optionalChain([chatRef, 'access', _847 => _847.metadata, 'optionalAccess', _848 => _848.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
|
|
41697
41607
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41698
41608
|
MingoInfoCard,
|
|
41699
41609
|
{
|
|
@@ -41762,12 +41672,12 @@ function ProductReleaseChatCard({
|
|
|
41762
41672
|
discuss
|
|
41763
41673
|
}) {
|
|
41764
41674
|
const releaseProps = buildProps(item);
|
|
41765
|
-
const status = _optionalChain([item, 'optionalAccess',
|
|
41675
|
+
const status = _optionalChain([item, 'optionalAccess', _849 => _849.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
|
|
41766
41676
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41767
41677
|
EntityMingoCard,
|
|
41768
41678
|
{
|
|
41769
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41770
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
41679
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _850 => _850.title]), () => ( "")),
|
|
41680
|
+
description: _optionalChain([item, 'optionalAccess', _851 => _851.summary]) || releaseProps.formattedDate || void 0,
|
|
41771
41681
|
cover: releaseProps.coverImage || void 0,
|
|
41772
41682
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Rocket02Icon, { size: 24 }),
|
|
41773
41683
|
status,
|
|
@@ -41784,17 +41694,17 @@ function CampaignChatCard({
|
|
|
41784
41694
|
isNewTab,
|
|
41785
41695
|
discuss
|
|
41786
41696
|
}) {
|
|
41787
|
-
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
41697
|
+
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _852 => _852.goals])) ? item.goals.length : 0;
|
|
41788
41698
|
const meta = [
|
|
41789
|
-
_optionalChain([item, 'optionalAccess',
|
|
41699
|
+
_optionalChain([item, 'optionalAccess', _853 => _853.start_date]) ? formatDateShort(item.start_date) : null,
|
|
41790
41700
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
41791
41701
|
"Marketing campaign"
|
|
41792
41702
|
].filter(Boolean).join(" \xB7 ");
|
|
41793
41703
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41794
41704
|
EntityMingoCard,
|
|
41795
41705
|
{
|
|
41796
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41797
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
41706
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _854 => _854.name]), () => ( "")),
|
|
41707
|
+
description: meta || _optionalChain([item, 'optionalAccess', _855 => _855.description]) || void 0,
|
|
41798
41708
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Megaphone01Icon, { size: 24 }),
|
|
41799
41709
|
chatRef,
|
|
41800
41710
|
isNewTab,
|
|
@@ -41847,14 +41757,14 @@ function BlogChatCard({
|
|
|
41847
41757
|
hasEmbeddedVideo,
|
|
41848
41758
|
discuss
|
|
41849
41759
|
}) {
|
|
41850
|
-
const category = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
41760
|
+
const category = Array.isArray(_optionalChain([item, 'optionalAccess', _856 => _856.categories])) ? _optionalChain([item, 'access', _857 => _857.categories, 'access', _858 => _858.find, 'call', _859 => _859((c) => c && c.name), 'optionalAccess', _860 => _860.name]) : void 0;
|
|
41851
41761
|
const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
|
|
41852
41762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41853
41763
|
EntityMingoCard,
|
|
41854
41764
|
{
|
|
41855
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41856
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41857
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
41765
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _861 => _861.title]), () => ( "")),
|
|
41766
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _862 => _862.summary]), () => ( void 0)),
|
|
41767
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _863 => _863.featured_image]), ogPlaceholder),
|
|
41858
41768
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.NewspaperIcon, { size: 24 }),
|
|
41859
41769
|
status,
|
|
41860
41770
|
chatRef,
|
|
@@ -41871,13 +41781,13 @@ function CaseStudyChatCard({
|
|
|
41871
41781
|
ogPlaceholder,
|
|
41872
41782
|
discuss
|
|
41873
41783
|
}) {
|
|
41874
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
41784
|
+
const meta = [_optionalChain([item, 'optionalAccess', _864 => _864.msp, 'optionalAccess', _865 => _865.name]), _optionalChain([item, 'optionalAccess', _866 => _866.user, 'optionalAccess', _867 => _867.full_name])].filter(Boolean).join(" \xB7 ");
|
|
41875
41785
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41876
41786
|
EntityMingoCard,
|
|
41877
41787
|
{
|
|
41878
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41879
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
41880
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
41788
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _868 => _868.title]), () => ( "")),
|
|
41789
|
+
description: _optionalChain([item, 'optionalAccess', _869 => _869.summary]) || meta || void 0,
|
|
41790
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _870 => _870.featured_image]), ogPlaceholder),
|
|
41881
41791
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TrophyIcon, { size: 24 }),
|
|
41882
41792
|
status: { label: "Case study", variant: "grey" },
|
|
41883
41793
|
chatRef,
|
|
@@ -41894,13 +41804,13 @@ function CustomerInterviewChatCard({
|
|
|
41894
41804
|
ogPlaceholder,
|
|
41895
41805
|
discuss
|
|
41896
41806
|
}) {
|
|
41897
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
41807
|
+
const meta = [_optionalChain([item, 'optionalAccess', _871 => _871.user, 'optionalAccess', _872 => _872.full_name]), _optionalChain([item, 'optionalAccess', _873 => _873.msp, 'optionalAccess', _874 => _874.name])].filter(Boolean).join(" \xB7 ");
|
|
41898
41808
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41899
41809
|
EntityMingoCard,
|
|
41900
41810
|
{
|
|
41901
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41902
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
41903
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
41811
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _875 => _875.title]), () => ( "")),
|
|
41812
|
+
description: _optionalChain([item, 'optionalAccess', _876 => _876.video_summary]) || meta || void 0,
|
|
41813
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _877 => _877.featured_image]), ogPlaceholder),
|
|
41904
41814
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MicrophoneIcon, { size: 24 }),
|
|
41905
41815
|
status: { label: "Interview", variant: "grey" },
|
|
41906
41816
|
chatRef,
|
|
@@ -41917,13 +41827,13 @@ function InvestorUpdateChatCard({
|
|
|
41917
41827
|
ogPlaceholder,
|
|
41918
41828
|
discuss
|
|
41919
41829
|
}) {
|
|
41920
|
-
const title = _optionalChain([item, 'optionalAccess',
|
|
41830
|
+
const title = _optionalChain([item, 'optionalAccess', _878 => _878.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _879 => _879.update_number]), () => ( "?"))}`;
|
|
41921
41831
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41922
41832
|
EntityMingoCard,
|
|
41923
41833
|
{
|
|
41924
41834
|
title,
|
|
41925
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
41926
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
41835
|
+
description: _optionalChain([item, 'optionalAccess', _880 => _880.strategic_update]) || _optionalChain([item, 'optionalAccess', _881 => _881.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _882 => _882.period_start]), _optionalChain([item, 'optionalAccess', _883 => _883.period_end])) || void 0,
|
|
41836
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _884 => _884.featured_image]), ogPlaceholder),
|
|
41927
41837
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PresentationLineIcon, { size: 24 }),
|
|
41928
41838
|
status: { label: "Investor update", variant: "grey" },
|
|
41929
41839
|
chatRef,
|
|
@@ -41940,12 +41850,12 @@ function OnboardingGuideChatCard({
|
|
|
41940
41850
|
ogPlaceholder,
|
|
41941
41851
|
discuss
|
|
41942
41852
|
}) {
|
|
41943
|
-
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess',
|
|
41853
|
+
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _885 => _885.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _886 => _886.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _887 => _887.og_image_url]), ogPlaceholder)));
|
|
41944
41854
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41945
41855
|
EntityMingoCard,
|
|
41946
41856
|
{
|
|
41947
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41948
|
-
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41857
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _888 => _888.title]), () => ( "")),
|
|
41858
|
+
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _889 => _889.summary]), () => ( _optionalChain([item, 'optionalAccess', _890 => _890.description]))), () => ( void 0)),
|
|
41949
41859
|
cover,
|
|
41950
41860
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CompassIcon, { size: 24 }),
|
|
41951
41861
|
status: { label: "Guide", variant: "grey" },
|
|
@@ -41966,25 +41876,25 @@ function ProgramChatCard({
|
|
|
41966
41876
|
discuss
|
|
41967
41877
|
}) {
|
|
41968
41878
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MicrophoneIcon, { size: 24 });
|
|
41969
|
-
const isScheduled = _optionalChain([item, 'optionalAccess',
|
|
41879
|
+
const isScheduled = _optionalChain([item, 'optionalAccess', _891 => _891.status]) === "scheduled";
|
|
41970
41880
|
let typeMeta;
|
|
41971
|
-
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess',
|
|
41881
|
+
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _892 => _892.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
41972
41882
|
typeMeta = formatDurationCompact(item.duration_seconds);
|
|
41973
|
-
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess',
|
|
41883
|
+
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _893 => _893.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
41974
41884
|
typeMeta = item.location_name;
|
|
41975
|
-
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess',
|
|
41885
|
+
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _894 => _894.start_at])) {
|
|
41976
41886
|
const time = formatTimeWithTimezone(item.start_at, null);
|
|
41977
41887
|
const dur = formatDurationFromRange(item.start_at, item.end_at);
|
|
41978
41888
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
41979
41889
|
}
|
|
41980
|
-
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41890
|
+
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _895 => _895.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
41981
41891
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
41982
41892
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41983
41893
|
EntityMingoCard,
|
|
41984
41894
|
{
|
|
41985
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41986
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
41987
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
41895
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _896 => _896.title]), () => ( "")),
|
|
41896
|
+
description: meta || _optionalChain([item, 'optionalAccess', _897 => _897.description]) || void 0,
|
|
41897
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _898 => _898.cover_url]), ogPlaceholder),
|
|
41988
41898
|
fallbackIcon: icon,
|
|
41989
41899
|
status: { label, variant: "grey" },
|
|
41990
41900
|
chatRef,
|
|
@@ -42001,10 +41911,10 @@ function RoadmapChatCard({
|
|
|
42001
41911
|
cardType,
|
|
42002
41912
|
discuss
|
|
42003
41913
|
}) {
|
|
42004
|
-
const logoUrl = typeof _optionalChain([item, 'optionalAccess',
|
|
42005
|
-
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess',
|
|
41914
|
+
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _899 => _899.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
41915
|
+
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _900 => _900.customItemId]) != null;
|
|
42006
41916
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MapIcon, { size: 24 });
|
|
42007
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess',
|
|
41917
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _901 => _901.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
42008
41918
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
42009
41919
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
42010
41920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
|
|
@@ -42012,10 +41922,10 @@ function RoadmapChatCard({
|
|
|
42012
41922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42013
41923
|
EntityMingoCard,
|
|
42014
41924
|
{
|
|
42015
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
42016
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
41925
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _902 => _902.title]), () => ( "")),
|
|
41926
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _903 => _903.description]), () => ( void 0)),
|
|
42017
41927
|
fallbackIcon: icon,
|
|
42018
|
-
status: statusPill(_optionalChain([item, 'optionalAccess',
|
|
41928
|
+
status: statusPill(_optionalChain([item, 'optionalAccess', _904 => _904.status])),
|
|
42019
41929
|
chatRef,
|
|
42020
41930
|
isNewTab,
|
|
42021
41931
|
discuss,
|
|
@@ -42101,7 +42011,7 @@ function programRegistryEntries() {
|
|
|
42101
42011
|
discuss: opts.discuss,
|
|
42102
42012
|
configKey: cfg.configKey,
|
|
42103
42013
|
label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
|
|
42104
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42014
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _905 => _905.extras, 'optionalAccess', _906 => _906.buildOgPlaceholderUrl, 'optionalCall', _907 => _907(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.title]), () => ( "")))]), () => ( null))
|
|
42105
42015
|
}
|
|
42106
42016
|
)
|
|
42107
42017
|
};
|
|
@@ -42253,8 +42163,8 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42253
42163
|
chatRef,
|
|
42254
42164
|
isNewTab: opts.isNewTab,
|
|
42255
42165
|
discuss: opts.discuss,
|
|
42256
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42257
|
-
hasEmbeddedVideo: _optionalChain([chatRef, 'access',
|
|
42166
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _909 => _909.extras, 'optionalAccess', _910 => _910.buildOgPlaceholderUrl, 'optionalCall', _911 => _911(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _912 => _912.title]), () => ( "")))]), () => ( null)),
|
|
42167
|
+
hasEmbeddedVideo: _optionalChain([chatRef, 'access', _913 => _913.metadata, 'optionalAccess', _914 => _914.hasEmbeddedVideo]) === true
|
|
42258
42168
|
}
|
|
42259
42169
|
)
|
|
42260
42170
|
},
|
|
@@ -42271,7 +42181,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42271
42181
|
chatRef,
|
|
42272
42182
|
isNewTab: opts.isNewTab,
|
|
42273
42183
|
discuss: opts.discuss,
|
|
42274
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42184
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _915 => _915.extras, 'optionalAccess', _916 => _916.buildOgPlaceholderUrl, 'optionalCall', _917 => _917(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _918 => _918.title]), () => ( "")))]), () => ( null))
|
|
42275
42185
|
}
|
|
42276
42186
|
)
|
|
42277
42187
|
},
|
|
@@ -42288,7 +42198,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42288
42198
|
chatRef,
|
|
42289
42199
|
isNewTab: opts.isNewTab,
|
|
42290
42200
|
discuss: opts.discuss,
|
|
42291
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42201
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _919 => _919.extras, 'optionalAccess', _920 => _920.buildOgPlaceholderUrl, 'optionalCall', _921 => _921(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.title]), () => ( "")))]), () => ( null))
|
|
42292
42202
|
}
|
|
42293
42203
|
)
|
|
42294
42204
|
},
|
|
@@ -42299,7 +42209,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42299
42209
|
bareInline: true,
|
|
42300
42210
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
|
|
42301
42211
|
render: (item, chatRef, opts) => {
|
|
42302
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42212
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _923 => _923.extras, 'optionalAccess', _924 => _924.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
|
|
42303
42213
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42304
42214
|
ProductReleaseChatCard,
|
|
42305
42215
|
{
|
|
@@ -42326,7 +42236,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42326
42236
|
chatRef,
|
|
42327
42237
|
isNewTab: opts.isNewTab,
|
|
42328
42238
|
discuss: opts.discuss,
|
|
42329
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42239
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _925 => _925.extras, 'optionalAccess', _926 => _926.buildOgPlaceholderUrl, 'optionalCall', _927 => _927(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")))]), () => ( null))
|
|
42330
42240
|
}
|
|
42331
42241
|
)
|
|
42332
42242
|
},
|
|
@@ -42345,7 +42255,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42345
42255
|
chatRef,
|
|
42346
42256
|
isNewTab: opts.isNewTab,
|
|
42347
42257
|
discuss: opts.discuss,
|
|
42348
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
42258
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _929 => _929.extras, 'optionalAccess', _930 => _930.buildOgPlaceholderUrl, 'optionalCall', _931 => _931(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _932 => _932.title]), () => ( "")))]), () => ( null))
|
|
42349
42259
|
}
|
|
42350
42260
|
)
|
|
42351
42261
|
},
|
|
@@ -42357,7 +42267,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
42357
42267
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
|
|
42358
42268
|
// No public viewer — synthesize the hub-internal admin URL post-fetch
|
|
42359
42269
|
// so the wrapper + isNewTab computation see the actual destination.
|
|
42360
|
-
fallbackHref: (item) => _optionalChain([item, 'optionalAccess',
|
|
42270
|
+
fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _933 => _933.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
|
|
42361
42271
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42362
42272
|
CampaignChatCard,
|
|
42363
42273
|
{
|
|
@@ -42383,12 +42293,12 @@ function ChatCardNavWrap({
|
|
|
42383
42293
|
const onClickCapture = (e) => {
|
|
42384
42294
|
if (!href) return;
|
|
42385
42295
|
const targetEl = e.target;
|
|
42386
|
-
if (_optionalChain([targetEl, 'optionalAccess',
|
|
42387
|
-
if (!_optionalChain([targetEl, 'optionalAccess',
|
|
42296
|
+
if (_optionalChain([targetEl, 'optionalAccess', _934 => _934.closest, 'optionalCall', _935 => _935("button")])) return;
|
|
42297
|
+
if (!_optionalChain([targetEl, 'optionalAccess', _936 => _936.closest, 'optionalCall', _937 => _937("a")])) return;
|
|
42388
42298
|
const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
|
|
42389
42299
|
if (!handled) return;
|
|
42390
42300
|
e.stopPropagation();
|
|
42391
|
-
if (!isNewTab && _optionalChain([panel, 'optionalAccess',
|
|
42301
|
+
if (!isNewTab && _optionalChain([panel, 'optionalAccess', _938 => _938.closeChat])) panel.closeChat();
|
|
42392
42302
|
};
|
|
42393
42303
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
|
|
42394
42304
|
}
|
|
@@ -42410,7 +42320,7 @@ function ChatCardLoader({
|
|
|
42410
42320
|
title: chatRef.title,
|
|
42411
42321
|
externalUrl: chatRef.url,
|
|
42412
42322
|
targetPlatform: chatRef.targetPlatform,
|
|
42413
|
-
path: typeof _optionalChain([chatRef, 'access',
|
|
42323
|
+
path: typeof _optionalChain([chatRef, 'access', _939 => _939.metadata, 'optionalAccess', _940 => _940.path]) === "string" ? chatRef.metadata.path : null
|
|
42414
42324
|
},
|
|
42415
42325
|
sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
|
|
42416
42326
|
);
|
|
@@ -42424,7 +42334,7 @@ function ChatCardLoader({
|
|
|
42424
42334
|
const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
|
|
42425
42335
|
const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
|
|
42426
42336
|
const { item, isLoading } = useChatCardItem(
|
|
42427
|
-
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess',
|
|
42337
|
+
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _941 => _941.contentRefType]), () => ( "")),
|
|
42428
42338
|
fetchEntry ? resolvedChatRef.id : ""
|
|
42429
42339
|
);
|
|
42430
42340
|
if (!entry) return null;
|
|
@@ -42455,7 +42365,7 @@ function ChatCardLoader({
|
|
|
42455
42365
|
isNewTab,
|
|
42456
42366
|
discuss
|
|
42457
42367
|
};
|
|
42458
|
-
const path = typeof _optionalChain([finalChatRef, 'access',
|
|
42368
|
+
const path = typeof _optionalChain([finalChatRef, 'access', _942 => _942.metadata, 'optionalAccess', _943 => _943.path]) === "string" ? finalChatRef.metadata.path : null;
|
|
42459
42369
|
const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42460
42370
|
ChatCardNavWrap,
|
|
42461
42371
|
{
|
|
@@ -42841,7 +42751,7 @@ function useJetStreamDialogSubscription({
|
|
|
42841
42751
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
42842
42752
|
conn: sharedConn,
|
|
42843
42753
|
wsUrl,
|
|
42844
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
42754
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _944 => _944.current, 'optionalCall', _945 => _945()]),
|
|
42845
42755
|
backoff: reconnectionBackoffRef.current,
|
|
42846
42756
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
42847
42757
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -42856,7 +42766,7 @@ function useJetStreamDialogSubscription({
|
|
|
42856
42766
|
setReconnectionCount((c) => c + 1);
|
|
42857
42767
|
}
|
|
42858
42768
|
hadConnectionBeforeRef.current = true;
|
|
42859
|
-
_optionalChain([onConnectRef, 'access',
|
|
42769
|
+
_optionalChain([onConnectRef, 'access', _946 => _946.current, 'optionalCall', _947 => _947()]);
|
|
42860
42770
|
}
|
|
42861
42771
|
if (status === "error") {
|
|
42862
42772
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -42866,7 +42776,7 @@ function useJetStreamDialogSubscription({
|
|
|
42866
42776
|
setIsConnected(false);
|
|
42867
42777
|
setIsSubscribed(false);
|
|
42868
42778
|
tearDownSubscription();
|
|
42869
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
42779
|
+
_optionalChain([onDisconnectRef, 'access', _948 => _948.current, 'optionalCall', _949 => _949()]);
|
|
42870
42780
|
}
|
|
42871
42781
|
}
|
|
42872
42782
|
});
|
|
@@ -42945,7 +42855,7 @@ function useJetStreamDialogSubscription({
|
|
|
42945
42855
|
}
|
|
42946
42856
|
subscriptionRef.current = handle;
|
|
42947
42857
|
setIsSubscribed(true);
|
|
42948
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
42858
|
+
_optionalChain([onSubscribedRef, 'access', _950 => _950.current, 'optionalCall', _951 => _951()]);
|
|
42949
42859
|
} catch (e43) {
|
|
42950
42860
|
if (!cancelled) {
|
|
42951
42861
|
setIsSubscribed(false);
|
|
@@ -43058,20 +42968,20 @@ function useNatsDialogSubscription({
|
|
|
43058
42968
|
const tearDownSubscriptions = () => {
|
|
43059
42969
|
subscriptionRefs.current.forEach((sub) => {
|
|
43060
42970
|
try {
|
|
43061
|
-
_optionalChain([sub, 'optionalAccess',
|
|
42971
|
+
_optionalChain([sub, 'optionalAccess', _952 => _952.unsubscribe, 'call', _953 => _953()]);
|
|
43062
42972
|
} catch (e45) {
|
|
43063
42973
|
}
|
|
43064
42974
|
});
|
|
43065
42975
|
subscriptionRefs.current.clear();
|
|
43066
42976
|
lastSubscribedDialogIdRef.current = null;
|
|
43067
|
-
_optionalChain([abortControllerRef, 'access',
|
|
42977
|
+
_optionalChain([abortControllerRef, 'access', _954 => _954.current, 'optionalAccess', _955 => _955.abort, 'call', _956 => _956()]);
|
|
43068
42978
|
abortControllerRef.current = null;
|
|
43069
42979
|
};
|
|
43070
42980
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
43071
42981
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
43072
42982
|
conn: sharedConn,
|
|
43073
42983
|
wsUrl,
|
|
43074
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
42984
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _957 => _957.current, 'optionalCall', _958 => _958()]),
|
|
43075
42985
|
backoff: reconnectionBackoffRef.current,
|
|
43076
42986
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
43077
42987
|
shouldRetryOn: isDisconnectStatus,
|
|
@@ -43082,7 +42992,7 @@ function useNatsDialogSubscription({
|
|
|
43082
42992
|
setReconnectionCount((c) => c + 1);
|
|
43083
42993
|
}
|
|
43084
42994
|
hadConnectionBeforeRef.current = true;
|
|
43085
|
-
_optionalChain([onConnectRef, 'access',
|
|
42995
|
+
_optionalChain([onConnectRef, 'access', _959 => _959.current, 'optionalCall', _960 => _960()]);
|
|
43086
42996
|
}
|
|
43087
42997
|
if (status === "error") {
|
|
43088
42998
|
console.warn("[NATS] protocol error:", evt.data);
|
|
@@ -43092,7 +43002,7 @@ function useNatsDialogSubscription({
|
|
|
43092
43002
|
setIsConnected(false);
|
|
43093
43003
|
setIsSubscribed(false);
|
|
43094
43004
|
tearDownSubscriptions();
|
|
43095
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
43005
|
+
_optionalChain([onDisconnectRef, 'access', _961 => _961.current, 'optionalCall', _962 => _962()]);
|
|
43096
43006
|
}
|
|
43097
43007
|
}
|
|
43098
43008
|
});
|
|
@@ -43123,13 +43033,13 @@ function useNatsDialogSubscription({
|
|
|
43123
43033
|
setIsSubscribed(false);
|
|
43124
43034
|
subscriptionRefs.current.forEach((sub) => {
|
|
43125
43035
|
try {
|
|
43126
|
-
_optionalChain([sub, 'optionalAccess',
|
|
43036
|
+
_optionalChain([sub, 'optionalAccess', _963 => _963.unsubscribe, 'call', _964 => _964()]);
|
|
43127
43037
|
} catch (e46) {
|
|
43128
43038
|
}
|
|
43129
43039
|
});
|
|
43130
43040
|
subscriptionRefs.current.clear();
|
|
43131
43041
|
lastSubscribedDialogIdRef.current = null;
|
|
43132
|
-
_optionalChain([abortControllerRef, 'access',
|
|
43042
|
+
_optionalChain([abortControllerRef, 'access', _965 => _965.current, 'optionalAccess', _966 => _966.abort, 'call', _967 => _967()]);
|
|
43133
43043
|
abortControllerRef.current = null;
|
|
43134
43044
|
}
|
|
43135
43045
|
return;
|
|
@@ -43141,12 +43051,12 @@ function useNatsDialogSubscription({
|
|
|
43141
43051
|
if (subscriptionRefs.current.size > 0) {
|
|
43142
43052
|
subscriptionRefs.current.forEach((sub) => {
|
|
43143
43053
|
try {
|
|
43144
|
-
_optionalChain([sub, 'optionalAccess',
|
|
43054
|
+
_optionalChain([sub, 'optionalAccess', _968 => _968.unsubscribe, 'call', _969 => _969()]);
|
|
43145
43055
|
} catch (e47) {
|
|
43146
43056
|
}
|
|
43147
43057
|
});
|
|
43148
43058
|
subscriptionRefs.current.clear();
|
|
43149
|
-
_optionalChain([abortControllerRef, 'access',
|
|
43059
|
+
_optionalChain([abortControllerRef, 'access', _970 => _970.current, 'optionalAccess', _971 => _971.abort, 'call', _972 => _972()]);
|
|
43150
43060
|
}
|
|
43151
43061
|
abortControllerRef.current = new AbortController();
|
|
43152
43062
|
const abort = abortControllerRef.current;
|
|
@@ -43178,7 +43088,7 @@ function useNatsDialogSubscription({
|
|
|
43178
43088
|
});
|
|
43179
43089
|
lastSubscribedDialogIdRef.current = dialogId;
|
|
43180
43090
|
setIsSubscribed(true);
|
|
43181
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
43091
|
+
_optionalChain([onSubscribedRef, 'access', _973 => _973.current, 'optionalCall', _974 => _974()]);
|
|
43182
43092
|
};
|
|
43183
43093
|
if (isConnectedRef.current) {
|
|
43184
43094
|
createSubscriptions();
|
|
@@ -43188,7 +43098,7 @@ function useNatsDialogSubscription({
|
|
|
43188
43098
|
abort.abort();
|
|
43189
43099
|
subscriptionRefs.current.forEach((sub) => {
|
|
43190
43100
|
try {
|
|
43191
|
-
_optionalChain([sub, 'optionalAccess',
|
|
43101
|
+
_optionalChain([sub, 'optionalAccess', _975 => _975.unsubscribe, 'call', _976 => _976()]);
|
|
43192
43102
|
} catch (e49) {
|
|
43193
43103
|
}
|
|
43194
43104
|
});
|
|
@@ -43229,7 +43139,7 @@ function useNatsDialogSubscription({
|
|
|
43229
43139
|
});
|
|
43230
43140
|
lastSubscribedDialogIdRef.current = dialogId2;
|
|
43231
43141
|
setIsSubscribed(true);
|
|
43232
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
43142
|
+
_optionalChain([onSubscribedRef, 'access', _977 => _977.current, 'optionalCall', _978 => _978()]);
|
|
43233
43143
|
} else if (subscriptionRefs.current.size > 0) {
|
|
43234
43144
|
setIsSubscribed(true);
|
|
43235
43145
|
}
|
|
@@ -43237,10 +43147,10 @@ function useNatsDialogSubscription({
|
|
|
43237
43147
|
return { isConnected, isSubscribed, reconnectionCount };
|
|
43238
43148
|
}
|
|
43239
43149
|
function buildNatsWsUrl(apiBaseUrl, options) {
|
|
43240
|
-
const path = _optionalChain([options, 'optionalAccess',
|
|
43150
|
+
const path = _optionalChain([options, 'optionalAccess', _979 => _979.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
|
|
43241
43151
|
const u = new URL(path, apiBaseUrl);
|
|
43242
43152
|
u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
|
|
43243
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
43153
|
+
if (_optionalChain([options, 'optionalAccess', _980 => _980.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _981 => _981.token])) {
|
|
43244
43154
|
u.searchParams.set("authorization", options.token);
|
|
43245
43155
|
}
|
|
43246
43156
|
return u.toString();
|
|
@@ -43376,7 +43286,7 @@ function parseChunkToAction(chunk) {
|
|
|
43376
43286
|
// is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
|
|
43377
43287
|
// historical path in `process-historical-messages.ts`) — keeps both
|
|
43378
43288
|
// message sources producing an identical shape.
|
|
43379
|
-
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess',
|
|
43289
|
+
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _982 => _982.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _983 => _983.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
43380
43290
|
};
|
|
43381
43291
|
case MESSAGE_TYPE.TOKEN_USAGE:
|
|
43382
43292
|
return {
|
|
@@ -43568,8 +43478,8 @@ var MessageSegmentAccumulator = class {
|
|
|
43568
43478
|
type: "tool_execution",
|
|
43569
43479
|
data: {
|
|
43570
43480
|
...toolData,
|
|
43571
|
-
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess',
|
|
43572
|
-
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess',
|
|
43481
|
+
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _984 => _984.data, 'access', _985 => _985.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _986 => _986.toolTitle]))),
|
|
43482
|
+
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _987 => _987.parameters])
|
|
43573
43483
|
}
|
|
43574
43484
|
};
|
|
43575
43485
|
if (existingIndex !== -1) {
|
|
@@ -43593,8 +43503,8 @@ var MessageSegmentAccumulator = class {
|
|
|
43593
43503
|
if (seg.type !== "approval_batch") return seg;
|
|
43594
43504
|
const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
|
|
43595
43505
|
if (!hasCall) return seg;
|
|
43596
|
-
const prev = _optionalChain([seg, 'access',
|
|
43597
|
-
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess',
|
|
43506
|
+
const prev = _optionalChain([seg, 'access', _988 => _988.data, 'access', _989 => _989.executions, 'optionalAccess', _990 => _990[execId]]);
|
|
43507
|
+
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _991 => _991.result]), success: _optionalChain([prev, 'optionalAccess', _992 => _992.success]) };
|
|
43598
43508
|
matched = true;
|
|
43599
43509
|
return {
|
|
43600
43510
|
...seg,
|
|
@@ -43716,10 +43626,10 @@ var MessageSegmentAccumulator = class {
|
|
|
43716
43626
|
const segment = {
|
|
43717
43627
|
type: "approval_request",
|
|
43718
43628
|
data: {
|
|
43719
|
-
command: _optionalChain([pendingApproval, 'optionalAccess',
|
|
43720
|
-
explanation: _optionalChain([pendingApproval, 'optionalAccess',
|
|
43629
|
+
command: _optionalChain([pendingApproval, 'optionalAccess', _993 => _993.command]) || "",
|
|
43630
|
+
explanation: _optionalChain([pendingApproval, 'optionalAccess', _994 => _994.explanation]),
|
|
43721
43631
|
requestId,
|
|
43722
|
-
approvalType: _optionalChain([pendingApproval, 'optionalAccess',
|
|
43632
|
+
approvalType: _optionalChain([pendingApproval, 'optionalAccess', _995 => _995.approvalType]) || approvalType
|
|
43723
43633
|
},
|
|
43724
43634
|
status,
|
|
43725
43635
|
onApprove: this.callbacks.onApprove,
|
|
@@ -43911,7 +43821,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
43911
43821
|
if (initialState.escalatedApprovals) {
|
|
43912
43822
|
pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
|
|
43913
43823
|
initialState.escalatedApprovals.forEach((data, requestId) => {
|
|
43914
|
-
_optionalChain([callbacks, 'access',
|
|
43824
|
+
_optionalChain([callbacks, 'access', _996 => _996.onEscalatedApproval, 'optionalCall', _997 => _997(requestId, data)]);
|
|
43915
43825
|
});
|
|
43916
43826
|
}
|
|
43917
43827
|
hasEverStreamedRef.current = true;
|
|
@@ -43932,12 +43842,12 @@ function useRealtimeChunkProcessor(options) {
|
|
|
43932
43842
|
if (!action) return;
|
|
43933
43843
|
const accumulator = accumulatorRef.current;
|
|
43934
43844
|
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
43935
|
-
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access',
|
|
43845
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _998 => _998.onSegmentsUpdate, 'optionalCall', _999 => _999(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
43936
43846
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
43937
43847
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
43938
43848
|
if (isInStreamRef.current) {
|
|
43939
43849
|
isInStreamRef.current = false;
|
|
43940
|
-
_optionalChain([callbacks, 'access',
|
|
43850
|
+
_optionalChain([callbacks, 'access', _1000 => _1000.onStreamEnd, 'optionalCall', _1001 => _1001()]);
|
|
43941
43851
|
accumulator.resetSegments();
|
|
43942
43852
|
}
|
|
43943
43853
|
return;
|
|
@@ -43946,16 +43856,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
43946
43856
|
case "message_start":
|
|
43947
43857
|
isInStreamRef.current = true;
|
|
43948
43858
|
hasEverStreamedRef.current = true;
|
|
43949
|
-
_optionalChain([callbacks, 'access',
|
|
43859
|
+
_optionalChain([callbacks, 'access', _1002 => _1002.onStreamStart, 'optionalCall', _1003 => _1003()]);
|
|
43950
43860
|
accumulator.resetSegments();
|
|
43951
43861
|
break;
|
|
43952
43862
|
case "message_end":
|
|
43953
43863
|
isInStreamRef.current = false;
|
|
43954
|
-
_optionalChain([callbacks, 'access',
|
|
43864
|
+
_optionalChain([callbacks, 'access', _1004 => _1004.onStreamEnd, 'optionalCall', _1005 => _1005()]);
|
|
43955
43865
|
accumulator.resetSegments();
|
|
43956
43866
|
break;
|
|
43957
43867
|
case "metadata":
|
|
43958
|
-
_optionalChain([callbacks, 'access',
|
|
43868
|
+
_optionalChain([callbacks, 'access', _1006 => _1006.onMetadata, 'optionalCall', _1007 => _1007(action)]);
|
|
43959
43869
|
break;
|
|
43960
43870
|
case "text": {
|
|
43961
43871
|
const segments = accumulator.appendText(action.text);
|
|
@@ -43998,7 +43908,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
43998
43908
|
emitSegments(segments);
|
|
43999
43909
|
} else {
|
|
44000
43910
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
44001
|
-
_optionalChain([callbacks, 'access',
|
|
43911
|
+
_optionalChain([callbacks, 'access', _1008 => _1008.onEscalatedApproval, 'optionalCall', _1009 => _1009(requestId, { command, explanation, approvalType })]);
|
|
44002
43912
|
}
|
|
44003
43913
|
break;
|
|
44004
43914
|
}
|
|
@@ -44010,13 +43920,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44010
43920
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
44011
43921
|
pendingEscalatedRef.current.set(requestId, {
|
|
44012
43922
|
command: summary,
|
|
44013
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
43923
|
+
explanation: _optionalChain([required, 'optionalAccess', _1010 => _1010.toolExplanation]),
|
|
44014
43924
|
approvalType,
|
|
44015
43925
|
toolCalls
|
|
44016
43926
|
});
|
|
44017
|
-
_optionalChain([callbacks, 'access',
|
|
43927
|
+
_optionalChain([callbacks, 'access', _1011 => _1011.onEscalatedApproval, 'optionalCall', _1012 => _1012(requestId, {
|
|
44018
43928
|
command: summary,
|
|
44019
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
43929
|
+
explanation: _optionalChain([required, 'optionalAccess', _1013 => _1013.toolExplanation]),
|
|
44020
43930
|
approvalType
|
|
44021
43931
|
})]);
|
|
44022
43932
|
break;
|
|
@@ -44046,7 +43956,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44046
43956
|
const status = approved ? "approved" : "rejected";
|
|
44047
43957
|
if (escalatedData) {
|
|
44048
43958
|
pendingEscalatedRef.current.delete(requestId);
|
|
44049
|
-
_optionalChain([callbacks, 'access',
|
|
43959
|
+
_optionalChain([callbacks, 'access', _1014 => _1014.onEscalatedApprovalResult, 'optionalCall', _1015 => _1015(requestId, approved, {
|
|
44050
43960
|
command: escalatedData.command,
|
|
44051
43961
|
explanation: escalatedData.explanation,
|
|
44052
43962
|
approvalType: escalatedData.approvalType
|
|
@@ -44092,29 +44002,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44092
44002
|
emitSegments(accumulator.getSegments());
|
|
44093
44003
|
}
|
|
44094
44004
|
}
|
|
44095
|
-
_optionalChain([callbacks, 'access',
|
|
44005
|
+
_optionalChain([callbacks, 'access', _1016 => _1016.onApprovalResolved, 'optionalCall', _1017 => _1017(requestId, status, approvalType, resolvedByName)]);
|
|
44096
44006
|
break;
|
|
44097
44007
|
}
|
|
44098
44008
|
case "error": {
|
|
44099
44009
|
let message2;
|
|
44100
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
44010
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _1018 => _1018.details])) {
|
|
44101
44011
|
try {
|
|
44102
|
-
message2 = _optionalChain([JSON, 'access',
|
|
44012
|
+
message2 = _optionalChain([JSON, 'access', _1019 => _1019.parse, 'call', _1020 => _1020(action.details), 'optionalAccess', _1021 => _1021.error, 'optionalAccess', _1022 => _1022.message]);
|
|
44103
44013
|
} catch (e51) {
|
|
44104
44014
|
message2 = action.details;
|
|
44105
44015
|
}
|
|
44106
44016
|
}
|
|
44107
44017
|
const segments = accumulator.addError(action.error, message2);
|
|
44108
44018
|
emitSegments(segments);
|
|
44109
|
-
_optionalChain([callbacks, 'access',
|
|
44019
|
+
_optionalChain([callbacks, 'access', _1023 => _1023.onError, 'optionalCall', _1024 => _1024(action.error, message2)]);
|
|
44110
44020
|
break;
|
|
44111
44021
|
}
|
|
44112
44022
|
case "system": {
|
|
44113
|
-
_optionalChain([callbacks, 'access',
|
|
44023
|
+
_optionalChain([callbacks, 'access', _1025 => _1025.onSystemMessage, 'optionalCall', _1026 => _1026(action.text, { streamSeq })]);
|
|
44114
44024
|
break;
|
|
44115
44025
|
}
|
|
44116
44026
|
case "direct_message": {
|
|
44117
|
-
_optionalChain([callbacks, 'access',
|
|
44027
|
+
_optionalChain([callbacks, 'access', _1027 => _1027.onDirectMessage, 'optionalCall', _1028 => _1028(action.text, {
|
|
44118
44028
|
ownerType: action.ownerType,
|
|
44119
44029
|
displayName: action.displayName,
|
|
44120
44030
|
userId: action.userId,
|
|
@@ -44123,7 +44033,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44123
44033
|
break;
|
|
44124
44034
|
}
|
|
44125
44035
|
case "message_request":
|
|
44126
|
-
_optionalChain([callbacks, 'access',
|
|
44036
|
+
_optionalChain([callbacks, 'access', _1029 => _1029.onUserMessage, 'optionalCall', _1030 => _1030(action.text, {
|
|
44127
44037
|
ownerType: action.ownerType,
|
|
44128
44038
|
displayName: action.displayName,
|
|
44129
44039
|
userId: action.userId,
|
|
@@ -44132,7 +44042,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44132
44042
|
})]);
|
|
44133
44043
|
break;
|
|
44134
44044
|
case "token_usage":
|
|
44135
|
-
_optionalChain([callbacks, 'access',
|
|
44045
|
+
_optionalChain([callbacks, 'access', _1031 => _1031.onTokenUsage, 'optionalCall', _1032 => _1032(action.data)]);
|
|
44136
44046
|
break;
|
|
44137
44047
|
case "context_compaction_start": {
|
|
44138
44048
|
const standalone = !isInStreamRef.current;
|
|
@@ -44147,7 +44057,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44147
44057
|
break;
|
|
44148
44058
|
}
|
|
44149
44059
|
case "dialog_closed":
|
|
44150
|
-
_optionalChain([callbacks, 'access',
|
|
44060
|
+
_optionalChain([callbacks, 'access', _1033 => _1033.onDialogClosed, 'optionalCall', _1034 => _1034()]);
|
|
44151
44061
|
break;
|
|
44152
44062
|
default:
|
|
44153
44063
|
break;
|
|
@@ -44186,12 +44096,18 @@ function useRealtimeChunkProcessor(options) {
|
|
|
44186
44096
|
|
|
44187
44097
|
|
|
44188
44098
|
async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
44189
|
-
|
|
44190
|
-
|
|
44191
|
-
|
|
44192
|
-
|
|
44193
|
-
|
|
44194
|
-
|
|
44099
|
+
try {
|
|
44100
|
+
const url = new URL(commandsUrl, window.location.origin);
|
|
44101
|
+
if (prefix) url.searchParams.set("q", prefix);
|
|
44102
|
+
const res = await _chunkG56GYN7Zcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44103
|
+
if (!res.ok) return [];
|
|
44104
|
+
const data = await res.json();
|
|
44105
|
+
return _nullishCoalesce(data.commands, () => ( []));
|
|
44106
|
+
} catch (err) {
|
|
44107
|
+
if (_optionalChain([err, 'optionalAccess', _1035 => _1035.name]) === "AbortError") throw err;
|
|
44108
|
+
console.warn("[chat] slash-commands fetch failed, showing none:", err);
|
|
44109
|
+
return [];
|
|
44110
|
+
}
|
|
44195
44111
|
}
|
|
44196
44112
|
function useSlashCommands(prefix, commandsUrl) {
|
|
44197
44113
|
const [commands, setCommands] = _react.useState.call(void 0, []);
|
|
@@ -44209,7 +44125,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
44209
44125
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
44210
44126
|
if (!cancelled) setCommands(next);
|
|
44211
44127
|
} catch (err) {
|
|
44212
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
44128
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _1036 => _1036.name]) !== "AbortError") {
|
|
44213
44129
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
44214
44130
|
}
|
|
44215
44131
|
} finally {
|
|
@@ -44228,9 +44144,14 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
44228
44144
|
const query = _reactquery.useQuery.call(void 0, {
|
|
44229
44145
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
44230
44146
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
44231
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
44147
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1037 => _1037.enabled]), () => ( true)),
|
|
44232
44148
|
staleTime: Infinity,
|
|
44233
|
-
gcTime: Infinity
|
|
44149
|
+
gcTime: Infinity,
|
|
44150
|
+
// The commands registry is non-critical chrome — a failure degrades to an
|
|
44151
|
+
// empty registry (handled in `fetchSlashCommands`). Don't retry: settle to
|
|
44152
|
+
// the neutral empty state immediately so a flaky endpoint never holds the
|
|
44153
|
+
// welcome UI in a loading spinner.
|
|
44154
|
+
retry: false
|
|
44234
44155
|
});
|
|
44235
44156
|
return {
|
|
44236
44157
|
commands: _nullishCoalesce(query.data, () => ( [])),
|
|
@@ -44248,20 +44169,26 @@ var EMPTY_STATE_FALLBACK = {
|
|
|
44248
44169
|
suggestedQueries: []
|
|
44249
44170
|
};
|
|
44250
44171
|
async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
44251
|
-
|
|
44252
|
-
|
|
44253
|
-
|
|
44254
|
-
if (res.
|
|
44255
|
-
|
|
44172
|
+
try {
|
|
44173
|
+
const url = new URL(emptyStateUrl, window.location.origin);
|
|
44174
|
+
const res = await _chunkG56GYN7Zcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44175
|
+
if (!res.ok) {
|
|
44176
|
+
if (res.status >= 500) {
|
|
44177
|
+
console.error(`[chat] empty-state config fetch failed (${res.status}): ${url.pathname}`);
|
|
44178
|
+
}
|
|
44179
|
+
return EMPTY_STATE_FALLBACK;
|
|
44256
44180
|
}
|
|
44181
|
+
const data = await res.json();
|
|
44182
|
+
return {
|
|
44183
|
+
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1038 => _1038.greeting]), () => ( null)),
|
|
44184
|
+
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1039 => _1039.enabledRagTableIds]), () => ( [])),
|
|
44185
|
+
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1040 => _1040.suggestedQueries]), () => ( []))
|
|
44186
|
+
};
|
|
44187
|
+
} catch (err) {
|
|
44188
|
+
if (_optionalChain([err, 'optionalAccess', _1041 => _1041.name]) === "AbortError") throw err;
|
|
44189
|
+
console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
|
|
44257
44190
|
return EMPTY_STATE_FALLBACK;
|
|
44258
44191
|
}
|
|
44259
|
-
const data = await res.json();
|
|
44260
|
-
return {
|
|
44261
|
-
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1039 => _1039.greeting]), () => ( null)),
|
|
44262
|
-
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1040 => _1040.enabledRagTableIds]), () => ( [])),
|
|
44263
|
-
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1041 => _1041.suggestedQueries]), () => ( []))
|
|
44264
|
-
};
|
|
44265
44192
|
}
|
|
44266
44193
|
function useEmptyStateConfig(emptyStateUrl, options) {
|
|
44267
44194
|
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1042 => _1042.enabled]), () => ( true))) && !!emptyStateUrl;
|
|
@@ -44270,7 +44197,11 @@ function useEmptyStateConfig(emptyStateUrl, options) {
|
|
|
44270
44197
|
queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
|
|
44271
44198
|
enabled,
|
|
44272
44199
|
staleTime: Infinity,
|
|
44273
|
-
gcTime: Infinity
|
|
44200
|
+
gcTime: Infinity,
|
|
44201
|
+
// The empty-state config is non-critical chrome — a failure degrades to the
|
|
44202
|
+
// neutral fallback (handled in `fetchEmptyStateConfig`). Don't retry: settle
|
|
44203
|
+
// immediately so a flaky endpoint never holds the welcome in a spinner.
|
|
44204
|
+
retry: false
|
|
44274
44205
|
});
|
|
44275
44206
|
return {
|
|
44276
44207
|
config: _nullishCoalesce(query.data, () => ( EMPTY_STATE_FALLBACK)),
|
|
@@ -44620,8 +44551,11 @@ function useResolveChatIdentity(enabled) {
|
|
|
44620
44551
|
return { ...data, isLoading };
|
|
44621
44552
|
}
|
|
44622
44553
|
var ChatIdentityContext = _react.createContext.call(void 0, null);
|
|
44623
|
-
function ChatIdentityProvider({
|
|
44624
|
-
|
|
44554
|
+
function ChatIdentityProvider({
|
|
44555
|
+
children,
|
|
44556
|
+
enabled = true
|
|
44557
|
+
}) {
|
|
44558
|
+
const identity = useResolveChatIdentity(enabled);
|
|
44625
44559
|
return _react.createElement.call(void 0, ChatIdentityContext.Provider, { value: identity }, children);
|
|
44626
44560
|
}
|
|
44627
44561
|
function useChatIdentity() {
|
|
@@ -47704,6 +47638,8 @@ function EmbeddableChatInner({
|
|
|
47704
47638
|
[]
|
|
47705
47639
|
);
|
|
47706
47640
|
const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
47641
|
+
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1208 => _1208.firstName]), _optionalChain([identityUser, 'optionalAccess', _1209 => _1209.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1210 => _1210.name, 'optionalAccess', _1211 => _1211.trim, 'call', _1212 => _1212()]) || void 0 : void 0;
|
|
47642
|
+
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1213 => _1213.avatarUrl, 'optionalAccess', _1214 => _1214.trim, 'call', _1215 => _1215()]) || void 0 : void 0;
|
|
47707
47643
|
const messages = _react.useMemo.call(void 0, () => {
|
|
47708
47644
|
const cache = timestampCacheRef.current;
|
|
47709
47645
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -47723,8 +47659,8 @@ function EmbeddableChatInner({
|
|
|
47723
47659
|
// Host-supplied per-message name/avatar win (e.g. the signed-in user's
|
|
47724
47660
|
// full name + photo on a `user` bubble); fall back to the role default
|
|
47725
47661
|
// when the host doesn't provide them.
|
|
47726
|
-
name: _nullishCoalesce(m.name, () => ( (m.role === "assistant" ? "Mingo" : "You"))),
|
|
47727
|
-
avatar: _nullishCoalesce(m.avatar, () => ( null)),
|
|
47662
|
+
name: _nullishCoalesce(m.name, () => ( (m.role === "assistant" ? "Mingo" : _nullishCoalesce(guideUserName, () => ( "You"))))),
|
|
47663
|
+
avatar: _nullishCoalesce(m.avatar, () => ( (m.role === "user" ? _nullishCoalesce(guideUserAvatar, () => ( null)) : null))),
|
|
47728
47664
|
// Forward the host's authorType so user bubbles get the same accent
|
|
47729
47665
|
// name color as the standalone /mingo page (user → 'admin').
|
|
47730
47666
|
...m.authorType ? { authorType: m.authorType } : {},
|
|
@@ -47743,7 +47679,7 @@ function EmbeddableChatInner({
|
|
|
47743
47679
|
}
|
|
47744
47680
|
}
|
|
47745
47681
|
return mapped;
|
|
47746
|
-
}, [rawMessages]);
|
|
47682
|
+
}, [rawMessages, guideUserName, guideUserAvatar]);
|
|
47747
47683
|
const handleSend = _react.useCallback.call(void 0,
|
|
47748
47684
|
(text) => {
|
|
47749
47685
|
let augmentedText = text;
|
|
@@ -47851,9 +47787,9 @@ function EmbeddableChatInner({
|
|
|
47851
47787
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
47852
47788
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
47853
47789
|
if (chatLoading) return void 0;
|
|
47854
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
47790
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1216 => _1216.sources]);
|
|
47855
47791
|
if (!sources || sources.length === 0) return void 0;
|
|
47856
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
47792
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1217 => _1217.content]) || "";
|
|
47857
47793
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
47858
47794
|
(m) => parseInt(m[1], 10)
|
|
47859
47795
|
);
|
|
@@ -47900,7 +47836,7 @@ function EmbeddableChatInner({
|
|
|
47900
47836
|
ChatPanelHeader,
|
|
47901
47837
|
{
|
|
47902
47838
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
47903
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
47839
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1218 => _1218.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
|
|
47904
47840
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
47905
47841
|
isArchivedView: isViewingArchived,
|
|
47906
47842
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -48007,7 +47943,7 @@ function EmbeddableChatInner({
|
|
|
48007
47943
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
48008
47944
|
subtitleLoading: emptyStateLoading,
|
|
48009
47945
|
...guideWelcome,
|
|
48010
|
-
quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess',
|
|
47946
|
+
quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1219 => _1219.quickActions]), () => ( guideSuggestedActions)),
|
|
48011
47947
|
onQuickAction: (action) => {
|
|
48012
47948
|
handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
|
|
48013
47949
|
},
|
|
@@ -49068,7 +49004,5 @@ function EmbeddableChatInner({
|
|
|
49068
49004
|
|
|
49069
49005
|
|
|
49070
49006
|
|
|
49071
|
-
|
|
49072
|
-
|
|
49073
|
-
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.SquareAvatar = SquareAvatar; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.PageHeader = PageHeader; exports.TitleBlock = TitleBlock; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.PageWithHeader = PageWithHeader; exports.PageLayout = PageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
49074
|
-
//# sourceMappingURL=chunk-ZDN6OEWV.cjs.map
|
|
49007
|
+
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.SquareAvatar = SquareAvatar; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
49008
|
+
//# sourceMappingURL=chunk-7KTSRZI4.cjs.map
|