@flamingo-stack/openframe-frontend-core 0.0.826 → 0.0.828
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/{case-study-card-O4IQCJAX.cjs → case-study-card-QMFGPABF.cjs} +2 -2
- package/dist/chat-protocol/frames.d.ts +2 -0
- package/dist/chat-protocol/frames.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +9 -6
- package/dist/chat-protocol/progress.d.ts +2 -1
- package/dist/chat-protocol/progress.d.ts.map +1 -1
- package/dist/chat-protocol/progress.js +6 -6
- package/dist/{chunk-QYJZDEG7.cjs → chunk-3WKQ2GCR.cjs} +4 -4
- package/dist/{chunk-5AQKXEMI.cjs → chunk-4ZH7RPEA.cjs} +178 -178
- package/dist/{chunk-QS6AKUUL.cjs → chunk-6GPMVHJN.cjs} +1 -1
- package/dist/{chunk-PJY3SYCS.cjs → chunk-6SFCI6D4.cjs} +20 -20
- package/dist/{chunk-37OYBX7W.cjs → chunk-6ZLCEIIC.cjs} +32 -32
- package/dist/{chunk-63T2KKDZ.cjs → chunk-7VC5FVWT.cjs} +62 -62
- package/dist/{chunk-74GWFGH2.cjs → chunk-ALRX2VIY.cjs} +11 -11
- package/dist/{chunk-TJG2BJ5J.cjs → chunk-B5H7RKFF.cjs} +4 -4
- package/dist/{chunk-2TQJSB62.cjs → chunk-BGT6JFMP.cjs} +12342 -12354
- package/dist/{chunk-6G4WRMEM.cjs → chunk-DR4P7AEU.cjs} +3 -3
- package/dist/{chunk-DRSFR5AC.cjs → chunk-FMSAN6SR.cjs} +101 -101
- package/dist/{chunk-XDHQC4XH.cjs → chunk-K6X7VP2Y.cjs} +39 -39
- package/dist/{chunk-IWQ2LJGW.cjs → chunk-LKP5R3EQ.cjs} +2 -2
- package/dist/{chunk-GZAPOCKS.cjs → chunk-OKTNRGM5.cjs} +49 -49
- package/dist/{chunk-HQ4FKHOO.cjs → chunk-QMQWXGCH.cjs} +71 -71
- package/dist/{chunk-AJM4YZTW.cjs → chunk-RPKWEBHC.cjs} +3 -3
- package/dist/{chunk-K34TTZAE.cjs → chunk-SVCTAOJR.cjs} +2 -2
- package/dist/{chunk-JDR72QFU.cjs → chunk-UULSSD56.cjs} +5 -5
- package/dist/{chunk-PWAKRRRO.cjs → chunk-UWGPYAB3.cjs} +46 -46
- package/dist/{chunk-MDEOCOIE.cjs → chunk-VAIML6YU.cjs} +17 -17
- package/dist/{chunk-HJAPXKWK.cjs → chunk-XPF74L76.cjs} +2 -2
- package/dist/{chunk-WGMU45NV.cjs → chunk-YKUL6JBI.cjs} +13 -13
- package/dist/{chunk-TYJ73DHW.cjs → chunk-YMLRDVPO.cjs} +8 -8
- package/dist/{chunk-EJNDTSKY.cjs → chunk-ZT7JHN7G.cjs} +74 -74
- package/dist/{cloud-tenants-F67KQ5GC.cjs → cloud-tenants-LKTWIZNS.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +2 -15
- package/dist/components/chat/thinking-display.d.ts.map +1 -1
- package/dist/components/chat/thinking-display.js +2 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/help-center-pages/index.cjs +83 -83
- package/dist/components/index.cjs +53 -53
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/product-demo/index.cjs +17 -17
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +8 -8
- package/dist/{devices-SJORCARH.cjs → devices-JWG72ANF.cjs} +9 -9
- package/dist/{embeddable-chat-7Z4CEZJL.cjs → embeddable-chat-5UT6UHEO.cjs} +76 -76
- package/dist/index.cjs +12 -12
- package/dist/{knowledge-QXILUVEM.cjs → knowledge-DQXVSHME.cjs} +9 -9
- package/dist/{logs-E3KQQQD6.cjs → logs-Z33VBTVX.cjs} +15 -15
- package/dist/{policies-IOYQY6TF.cjs → policies-XE4UMH6Z.cjs} +12 -12
- package/dist/{scripts-E5TWWUNP.cjs → scripts-MECQG5GG.cjs} +13 -13
- package/dist/{software-update-QZGYG4TD.cjs → software-update-PCSIA6BP.cjs} +11 -11
- package/package.json +1 -1
- package/src/chat-protocol/frames.ts +3 -0
- package/src/chat-protocol/progress.ts +11 -10
- package/src/components/chat/stream/chat-stream-reducer.ts +4 -18
- package/src/components/chat/thinking-display.tsx +2 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXPF74L76cjs = require('./chunk-XPF74L76.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkB5H7RKFFcjs = require('./chunk-B5H7RKFF.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -17,10 +17,10 @@ var _chunkTJG2BJ5Jcjs = require('./chunk-TJG2BJ5J.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkSVCTAOJRcjs = require('./chunk-SVCTAOJR.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -38,7 +38,7 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -49,7 +49,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
var _chunk3B6ZE4EZcjs = require('./chunk-3B6ZE4EZ.cjs');
|
|
@@ -110,7 +110,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
110
110
|
var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
var
|
|
113
|
+
var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
@@ -184,7 +184,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
184
184
|
{
|
|
185
185
|
"aria-hidden": "true",
|
|
186
186
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
187
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
188
188
|
}
|
|
189
189
|
);
|
|
190
190
|
}
|
|
@@ -197,7 +197,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
197
197
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
198
198
|
box
|
|
199
199
|
),
|
|
200
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
200
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
201
201
|
}
|
|
202
202
|
);
|
|
203
203
|
}
|
|
@@ -210,7 +210,7 @@ function NavItemRow({
|
|
|
210
210
|
className
|
|
211
211
|
}) {
|
|
212
212
|
const label = navLinkLabel(link);
|
|
213
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
213
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
214
214
|
const singleLine = !link.description && !link.builtOn;
|
|
215
215
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
216
216
|
ROW_CLASSES[variant],
|
|
@@ -227,7 +227,7 @@ function NavItemRow({
|
|
|
227
227
|
] });
|
|
228
228
|
} else if (variant === "side") {
|
|
229
229
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
230
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
230
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
231
231
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
232
232
|
counter
|
|
233
233
|
] });
|
|
@@ -258,7 +258,7 @@ var featureCardLoad = null;
|
|
|
258
258
|
var featureCardListeners = /* @__PURE__ */ new Set();
|
|
259
259
|
function loadFeatureCard() {
|
|
260
260
|
if (featureCard || featureCardLoad) return;
|
|
261
|
-
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-
|
|
261
|
+
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-QMFGPABF.cjs"))).then((module) => {
|
|
262
262
|
featureCard = module.CaseStudyCard;
|
|
263
263
|
for (const listener of featureCardListeners) listener();
|
|
264
264
|
}).catch(() => void 0).finally(() => {
|
|
@@ -267,7 +267,7 @@ function loadFeatureCard() {
|
|
|
267
267
|
}
|
|
268
268
|
function subscribeToFeatureCard(listener) {
|
|
269
269
|
featureCardListeners.add(listener);
|
|
270
|
-
const cancel =
|
|
270
|
+
const cancel = _chunkQMQWXGCHcjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
271
271
|
return () => {
|
|
272
272
|
featureCardListeners.delete(listener);
|
|
273
273
|
cancel();
|
|
@@ -482,7 +482,7 @@ function TopNavigation({
|
|
|
482
482
|
|
|
483
483
|
var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
|
|
484
484
|
var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
|
|
485
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
485
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
486
486
|
function SiteHeader({
|
|
487
487
|
nav,
|
|
488
488
|
pathname,
|
|
@@ -632,7 +632,7 @@ function SiteHeader({
|
|
|
632
632
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
633
633
|
leading,
|
|
634
634
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
635
|
-
|
|
635
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
636
636
|
{
|
|
637
637
|
className: "border-r border-ods-border lg:hidden",
|
|
638
638
|
onClick: mobile.onToggle,
|
|
@@ -658,7 +658,7 @@ function SiteHeader({
|
|
|
658
658
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
659
659
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
660
660
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
661
|
-
|
|
661
|
+
_chunkQMQWXGCHcjs.MingoAiButton,
|
|
662
662
|
{
|
|
663
663
|
source: mingo.source,
|
|
664
664
|
icon: mingo.icon,
|
|
@@ -762,7 +762,7 @@ function MobileNavSheetBody({
|
|
|
762
762
|
] }),
|
|
763
763
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
764
764
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
765
|
-
|
|
765
|
+
_chunkQMQWXGCHcjs.MingoAiButton,
|
|
766
766
|
{
|
|
767
767
|
variant: "field",
|
|
768
768
|
source: askAI.source,
|
|
@@ -940,7 +940,7 @@ function SiteFooter({
|
|
|
940
940
|
const columns = nav.footerColumns;
|
|
941
941
|
const accordion = columns.length > ACCORDION_OVER;
|
|
942
942
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
-
|
|
943
|
+
_chunk4ZH7RPEAcjs.SocialIconRow,
|
|
944
944
|
{
|
|
945
945
|
compact: true,
|
|
946
946
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1043,7 +1043,7 @@ var _framermotion = require('framer-motion');
|
|
|
1043
1043
|
|
|
1044
1044
|
function SlidingSidebar({ config }) {
|
|
1045
1045
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1046
|
-
const mounted =
|
|
1046
|
+
const mounted = _chunkBGT6JFMPcjs.useIsHydrated.call(void 0, );
|
|
1047
1047
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1048
1048
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1049
1049
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -1175,7 +1175,7 @@ function SlidingSidebar({ config }) {
|
|
|
1175
1175
|
duration: 0.3,
|
|
1176
1176
|
ease: [0.4, 0, 0.2, 1]
|
|
1177
1177
|
},
|
|
1178
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
1178
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkSVCTAOJRcjs.OVERLAY_BACKDROP_CLASS),
|
|
1179
1179
|
onClick: () => config.onClose()
|
|
1180
1180
|
}
|
|
1181
1181
|
) }),
|
|
@@ -1218,7 +1218,7 @@ function SlidingSidebar({ config }) {
|
|
|
1218
1218
|
// src/components/navigation/page-section-bar.tsx
|
|
1219
1219
|
|
|
1220
1220
|
|
|
1221
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1221
|
+
var SECTION_BAR_HEIGHT_PX = _chunkXPF74L76cjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1222
1222
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1223
1223
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1224
1224
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1246,21 +1246,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1246
1246
|
const sections = useRenderedSections(listed);
|
|
1247
1247
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1248
1248
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1249
|
-
const { activeSection, handleSectionClick } =
|
|
1249
|
+
const { activeSection, handleSectionClick } = _chunkXPF74L76cjs.useScrollSpy.call(void 0, sections, {
|
|
1250
1250
|
syncHash: true,
|
|
1251
1251
|
aboveFirst: "none",
|
|
1252
1252
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1253
1253
|
});
|
|
1254
1254
|
if (sections.length === 0 && !inScope) return null;
|
|
1255
1255
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1256
|
-
|
|
1256
|
+
_chunk4ZH7RPEAcjs.PageContainer,
|
|
1257
1257
|
{
|
|
1258
1258
|
as: "div",
|
|
1259
1259
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1260
1260
|
backgroundStyle: { top: headerBottom },
|
|
1261
1261
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1262
1262
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1263
|
-
|
|
1263
|
+
_chunkXPF74L76cjs.StickySectionNav,
|
|
1264
1264
|
{
|
|
1265
1265
|
orientation: "horizontal",
|
|
1266
1266
|
label,
|
|
@@ -1269,7 +1269,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1269
1269
|
onSectionClick: handleSectionClick,
|
|
1270
1270
|
brand,
|
|
1271
1271
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1272
|
-
|
|
1272
|
+
_chunkBGT6JFMPcjs.NavLinkAnchorViaRuntime,
|
|
1273
1273
|
{
|
|
1274
1274
|
href: action.href,
|
|
1275
1275
|
onClick: (event) => {
|
|
@@ -1388,7 +1388,7 @@ function RowIcon({ item, size, className }) {
|
|
|
1388
1388
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex shrink-0 items-center justify-center", size === 20 ? "size-5" : "size-4", className),
|
|
1389
1389
|
children: [
|
|
1390
1390
|
sizedIcon(item.icon, size),
|
|
1391
|
-
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1391
|
+
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadDot, { size: "fixed", className: "@[140px]/of-nav-sidebar:hidden" })
|
|
1392
1392
|
]
|
|
1393
1393
|
}
|
|
1394
1394
|
);
|
|
@@ -1711,7 +1711,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1711
1711
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1712
1712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1713
1713
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1714
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1714
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadDot, { size: "fixed" })
|
|
1715
1715
|
] }),
|
|
1716
1716
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1717
1717
|
"span",
|
|
@@ -1971,7 +1971,7 @@ function NavigationSidebar({
|
|
|
1971
1971
|
setTabletFor(isTablet);
|
|
1972
1972
|
if (isTablet) setTabletMinimized(true);
|
|
1973
1973
|
}
|
|
1974
|
-
const hydrated =
|
|
1974
|
+
const hydrated = _chunkBGT6JFMPcjs.useIsHydrated.call(void 0, );
|
|
1975
1975
|
const serverMinimized = isControlled ? desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1976
1976
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : serverMinimized;
|
|
1977
1977
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
@@ -2252,7 +2252,7 @@ function toMenuGroups(entries) {
|
|
|
2252
2252
|
),
|
|
2253
2253
|
children: [
|
|
2254
2254
|
entry.icon,
|
|
2255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadCountBadge, { count: _nullishCoalesce(entry.count, () => ( 0)) })
|
|
2256
2256
|
]
|
|
2257
2257
|
}
|
|
2258
2258
|
) : void 0,
|
|
@@ -2323,7 +2323,7 @@ function AccountPopover({
|
|
|
2323
2323
|
"aria-hidden": "true"
|
|
2324
2324
|
}
|
|
2325
2325
|
),
|
|
2326
|
-
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2326
|
+
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadDot, { size: "fixed" })
|
|
2327
2327
|
] }),
|
|
2328
2328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2329
2329
|
"span",
|
|
@@ -2389,7 +2389,7 @@ function HeaderGlobalSearch({
|
|
|
2389
2389
|
"form",
|
|
2390
2390
|
{
|
|
2391
2391
|
onSubmit: handleSubmit,
|
|
2392
|
-
...
|
|
2392
|
+
..._chunkQMQWXGCHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
2393
2393
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
2394
2394
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
2395
2395
|
// Transparent so the cell inherits the bar's background
|
|
@@ -2502,14 +2502,14 @@ function NotificationsBellButton({
|
|
|
2502
2502
|
variant = "cell",
|
|
2503
2503
|
className
|
|
2504
2504
|
}) {
|
|
2505
|
-
const ctx =
|
|
2505
|
+
const ctx = _chunk4ZH7RPEAcjs.useOptionalNotifications.call(void 0, );
|
|
2506
2506
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _66 => _66.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2507
2507
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _67 => _67.isOpen]), () => ( false));
|
|
2508
2508
|
const onClick = _optionalChain([ctx, 'optionalAccess', _68 => _68.toggle]);
|
|
2509
2509
|
const floating = variant === "floating";
|
|
2510
2510
|
const iconClassName = variant === "cell" ? "h-6 w-6" : "h-5 w-5";
|
|
2511
2511
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2512
|
-
|
|
2512
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2513
2513
|
{
|
|
2514
2514
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: iconClassName }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: iconClassName }),
|
|
2515
2515
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2532,14 +2532,14 @@ function NotificationsBellButton({
|
|
|
2532
2532
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
2533
2533
|
|
|
2534
2534
|
function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
2535
|
-
const live =
|
|
2535
|
+
const live = _chunkB5H7RKFFcjs.useOptionalTicketLive.call(void 0, );
|
|
2536
2536
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
2537
2537
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
2538
2538
|
const targetId = live.nextUnreadTicketId;
|
|
2539
|
-
const target = targetId ?
|
|
2539
|
+
const target = targetId ? _chunkQMQWXGCHcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
2540
2540
|
const handleClick = () => _chunkW4VEDSAXcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
2541
2541
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2542
|
-
|
|
2542
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2543
2543
|
{
|
|
2544
2544
|
icon: (
|
|
2545
2545
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -2549,7 +2549,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2549
2549
|
// existing while updates are unread — never by tinting the glyph.
|
|
2550
2550
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
2551
2551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: variant === "compact" ? "h-5 w-5" : "h-6 w-6" }),
|
|
2552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
2553
2553
|
] })
|
|
2554
2554
|
),
|
|
2555
2555
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -2622,7 +2622,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2622
2622
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
2623
2623
|
const cellDivider = "border-l border-ods-border";
|
|
2624
2624
|
const renderCustomCells = (placement) => _optionalChain([customCells, 'optionalAccess', _69 => _69.filter, 'call', _70 => _70((cell) => (_nullishCoalesce(cell.placement, () => ( "start"))) === placement), 'access', _71 => _71.map, 'call', _72 => _72((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2625
|
-
|
|
2625
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2626
2626
|
{
|
|
2627
2627
|
type: "button",
|
|
2628
2628
|
icon: cell.icon,
|
|
@@ -2643,7 +2643,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2643
2643
|
leading: (
|
|
2644
2644
|
// Mobile: Burger Menu Button
|
|
2645
2645
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2646
|
-
|
|
2646
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2647
2647
|
{
|
|
2648
2648
|
onClick: onToggleMobileMenu,
|
|
2649
2649
|
isActive: isMobileMenuOpen,
|
|
@@ -2669,7 +2669,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2669
2669
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
2670
2670
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2671
2671
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2672
|
-
|
|
2672
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2673
2673
|
{
|
|
2674
2674
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
2675
2675
|
"aria-label": "Search",
|
|
@@ -2687,7 +2687,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2687
2687
|
}
|
|
2688
2688
|
),
|
|
2689
2689
|
renderCustomCells("start"),
|
|
2690
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2690
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
2691
2691
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2692
2692
|
NotificationsBellButton,
|
|
2693
2693
|
{
|
|
@@ -2706,7 +2706,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2706
2706
|
),
|
|
2707
2707
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
2708
2708
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2709
|
-
|
|
2709
|
+
_chunk4ZH7RPEAcjs.HeaderButton,
|
|
2710
2710
|
{
|
|
2711
2711
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2712
2712
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
@@ -3367,7 +3367,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3367
3367
|
{
|
|
3368
3368
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3369
3369
|
"absolute inset-0",
|
|
3370
|
-
|
|
3370
|
+
_chunkSVCTAOJRcjs.OVERLAY_BACKDROP_CLASS,
|
|
3371
3371
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3372
3372
|
isOpen ? "pointer-events-auto opacity-100" : "opacity-0"
|
|
3373
3373
|
),
|
|
@@ -3439,7 +3439,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3439
3439
|
{
|
|
3440
3440
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3441
3441
|
"absolute inset-0 z-[100] md:hidden",
|
|
3442
|
-
|
|
3442
|
+
_chunkSVCTAOJRcjs.OVERLAY_BACKDROP_CLASS,
|
|
3443
3443
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3444
3444
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
3445
3445
|
),
|
|
@@ -3639,7 +3639,7 @@ function AppLayout({
|
|
|
3639
3639
|
disabled
|
|
3640
3640
|
}
|
|
3641
3641
|
),
|
|
3642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.NotificationDrawer, { showClose: !desktopHeader }),
|
|
3643
3643
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3644
3644
|
"div",
|
|
3645
3645
|
{
|
|
@@ -3676,7 +3676,7 @@ function AppLayout({
|
|
|
3676
3676
|
style: bottomInset > 0 || dockFloats ? {
|
|
3677
3677
|
paddingBottom: bottomInset,
|
|
3678
3678
|
[COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
|
|
3679
|
-
...dockFloats && dockHeight > 0 ?
|
|
3679
|
+
...dockFloats && dockHeight > 0 ? _chunk4ZH7RPEAcjs.previewFadeMask.call(void 0, `calc(100% - ${dockHeight}px)`) : {}
|
|
3680
3680
|
} : void 0,
|
|
3681
3681
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMG3HJIGGcjs.ContentAreaWidthContext.Provider, { value: contentAreaWidth, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOT6P57ZScjs.ComposerDockHeightContext.Provider, { value: hasDock ? dockHeight : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: adaptive ? "ods-content-scope" : "contents", children }) }) })
|
|
3682
3682
|
}
|
|
@@ -6,7 +6,7 @@ var _chunkIKWQW3YJcjs = require('./chunk-IKWQW3YJ.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -47,13 +47,13 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
var _chunk2HQNXX2Kcjs = require('./chunk-2HQNXX2K.cjs');
|
|
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
|
|
|
172
172
|
// src/components/platform/ShellTypeBadge.tsx
|
|
173
173
|
|
|
174
174
|
var shellIconMap = {
|
|
175
|
-
[
|
|
175
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.POWERSHELL]: {
|
|
176
176
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
177
177
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
178
178
|
},
|
|
179
|
-
[
|
|
179
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.CMD]: {
|
|
180
180
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
181
181
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
182
182
|
},
|
|
183
|
-
[
|
|
183
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.BASH]: {
|
|
184
184
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
185
185
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.PYTHON]: {
|
|
188
188
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
189
189
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
190
190
|
},
|
|
191
|
-
[
|
|
191
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.NUSHELL]: {
|
|
192
192
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
193
193
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
194
194
|
},
|
|
195
|
-
[
|
|
195
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.DENO]: {
|
|
196
196
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
197
197
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
198
198
|
},
|
|
199
|
-
[
|
|
199
|
+
[_chunkQMQWXGCHcjs.ShellTypeValues.SHELL]: {
|
|
200
200
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
201
201
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
202
202
|
}
|
|
@@ -207,7 +207,7 @@ var defaultIconConfig = {
|
|
|
207
207
|
};
|
|
208
208
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
209
209
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
210
|
-
const label =
|
|
210
|
+
const label = _chunkQMQWXGCHcjs.getShellLabel.call(void 0, normalizedType);
|
|
211
211
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
212
212
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
213
213
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
223
223
|
if (!platforms || platforms.length === 0) {
|
|
224
224
|
return "All Platforms";
|
|
225
225
|
}
|
|
226
|
-
return platforms.map((platform) =>
|
|
226
|
+
return platforms.map((platform) => _chunkQMQWXGCHcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
227
227
|
}
|
|
228
228
|
function InfoCell({ label, value, avatar, className }) {
|
|
229
229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
|
|
|
253
253
|
author,
|
|
254
254
|
className
|
|
255
255
|
}) => {
|
|
256
|
-
const shellLabel =
|
|
256
|
+
const shellLabel = _chunkQMQWXGCHcjs.getShellLabel.call(void 0, shellType);
|
|
257
257
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
258
258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -301,7 +301,7 @@ function OnboardingStepCard({
|
|
|
301
301
|
onSkip();
|
|
302
302
|
};
|
|
303
303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
304
|
-
|
|
304
|
+
_chunkFMSAN6SRcjs.InteractiveCard,
|
|
305
305
|
{
|
|
306
306
|
clickable: false,
|
|
307
307
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
@@ -327,7 +327,7 @@ function OnboardingStepCard({
|
|
|
327
327
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-[32px] w-[100px] rounded-[6px]" }),
|
|
328
328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-[32px] w-[120px] rounded-[6px]" })
|
|
329
329
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
331
331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
332
332
|
_chunkFCZAUK4Dcjs.Button,
|
|
333
333
|
{
|
|
@@ -338,7 +338,7 @@ function OnboardingStepCard({
|
|
|
338
338
|
children: step.completedText
|
|
339
339
|
}
|
|
340
340
|
)
|
|
341
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
341
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
342
342
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
343
343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
344
344
|
] })
|
|
@@ -456,7 +456,7 @@ function OnboardingWalkthrough({
|
|
|
456
456
|
const isAllComplete = allStepsComplete(steps);
|
|
457
457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
458
458
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFMSAN6SRcjs.SECTION_HEADING_CLASS, children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
460
460
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
461
461
|
] }),
|
|
462
462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkIBD2FPSXcjs = require('./chunk-IBD2FPSX.cjs');
|
|
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
396
396
|
// src/components/navigation/multi-level-navigation.tsx
|
|
397
397
|
var _lucidereact = require('lucide-react');
|
|
398
398
|
|
|
399
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
399
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkQMQWXGCHcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
400
400
|
var NAV_LIST_CLASS = "space-y-2";
|
|
401
401
|
var NAV_ITEM_CLASS = "space-y-1";
|
|
402
402
|
var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";
|
|
@@ -5,12 +5,12 @@ var _chunkIKWQW3YJcjs = require('./chunk-IKWQW3YJ.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkYMLRDVPOcjs = require('./chunk-YMLRDVPO.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
|
|
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
|
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
|
-
id:
|
|
77
|
+
id: _chunkBGT6JFMPcjs.faqItemAnchor.call(void 0, item.id),
|
|
78
78
|
className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
|
|
79
79
|
"data-loading-item": true,
|
|
80
80
|
children: [
|
|
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
|
|
|
140
140
|
|
|
141
141
|
var PICK_ROOT_MARGIN = "600px";
|
|
142
142
|
function faqAskCardShown(assistant) {
|
|
143
|
-
return
|
|
143
|
+
return _chunkQMQWXGCHcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
144
144
|
}
|
|
145
145
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
146
146
|
const { ref, inView } = _chunkW4VEDSAXcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
147
147
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
148
148
|
if (inView && !reached) setReached(true);
|
|
149
149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
|
|
150
|
+
_chunkQMQWXGCHcjs.AssistantAskPrompts,
|
|
151
151
|
{
|
|
152
152
|
variant: "card",
|
|
153
153
|
topic,
|
|
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
|
|
|
207
207
|
var FAQ_NAV_SKELETON_PILLS = 8;
|
|
208
208
|
var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
|
|
209
209
|
var CATEGORY_SECTION_CLASS = "scroll-mt-24";
|
|
210
|
-
var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
210
|
+
var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkFMSAN6SRcjs.SECTION_HEADING_CLASS, "pb-4");
|
|
211
211
|
var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
|
|
212
212
|
function FaqLayout({
|
|
213
213
|
heading,
|
|
@@ -233,7 +233,7 @@ function FaqLayout({
|
|
|
233
233
|
] });
|
|
234
234
|
}
|
|
235
235
|
function faqHeadingNode(heading, showTopic, topic) {
|
|
236
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
236
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkFMSAN6SRcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
237
237
|
if (!(showTopic && topic)) return titleNode;
|
|
238
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
|
|
239
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
|
|
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
|
|
|
247
247
|
}
|
|
248
248
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
249
249
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
250
|
-
return
|
|
250
|
+
return _chunkYMLRDVPOcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
251
251
|
apiBaseUrl,
|
|
252
252
|
entityType,
|
|
253
253
|
entityId,
|
|
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
|
|
|
268
268
|
}
|
|
269
269
|
let group = byName.get(name);
|
|
270
270
|
if (!group) {
|
|
271
|
-
group = { section: name, slug:
|
|
271
|
+
group = { section: name, slug: _chunkBGT6JFMPcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
272
272
|
byName.set(name, group);
|
|
273
273
|
}
|
|
274
274
|
group.items.push(item);
|
|
@@ -324,7 +324,7 @@ function GroupedFaqList({
|
|
|
324
324
|
}, [slugKey]);
|
|
325
325
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
326
326
|
_react.useEffect.call(void 0, () => {
|
|
327
|
-
const refresh = () => setHashTarget(
|
|
327
|
+
const refresh = () => setHashTarget(_chunkBGT6JFMPcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
328
328
|
refresh();
|
|
329
329
|
window.addEventListener("hashchange", refresh);
|
|
330
330
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -425,7 +425,7 @@ function FaqSection({
|
|
|
425
425
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
426
426
|
[initialFaqs]
|
|
427
427
|
);
|
|
428
|
-
const { data, dataUrl, isLoading, error } =
|
|
428
|
+
const { data, dataUrl, isLoading, error } = _chunkYMLRDVPOcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
|
|
429
429
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
|
|
430
430
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
431
431
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|