@flamingo-stack/openframe-frontend-core 0.0.769 → 0.0.771
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/build/export-map.json +1 -1
- package/dist/{chunk-MZLWB5AH.cjs → chunk-2LTJ4457.cjs} +5 -4
- package/dist/{chunk-D45Q3WEP.cjs → chunk-4AF5E6E5.cjs} +3 -3
- package/dist/{chunk-UIXWG2IW.cjs → chunk-4DMYDHCD.cjs} +24 -24
- package/dist/{chunk-2MND64QJ.cjs → chunk-5HBGBLJT.cjs} +50 -63
- package/dist/{chunk-4EJU462O.cjs → chunk-5V7BIUGA.cjs} +2 -2
- package/dist/{chunk-QC47HVA4.cjs → chunk-62P4Q4Q3.cjs} +72 -80
- package/dist/{chunk-L5WSNX4H.cjs → chunk-ALNP25TX.cjs} +713 -695
- package/dist/{chunk-MYA6NR2C.cjs → chunk-CTRJNTYU.cjs} +2 -2
- package/dist/{chunk-HQF62LAU.cjs → chunk-FPCGKH5K.cjs} +28 -28
- package/dist/{chunk-VVBRYOSI.cjs → chunk-FT5NPAZY.cjs} +17 -17
- package/dist/{chunk-BIHMMGRP.cjs → chunk-GX3JUXYX.cjs} +96 -91
- package/dist/{chunk-2TS3FEPQ.cjs → chunk-HFNWBNLE.cjs} +4 -4
- package/dist/{chunk-ZXFOMNI5.cjs → chunk-ILZEXCJH.cjs} +99 -99
- package/dist/{chunk-BLTNKLAX.cjs → chunk-JJNOAYD4.cjs} +4 -4
- package/dist/{chunk-3AZZFTT6.cjs → chunk-JPOIEEFO.cjs} +6 -6
- package/dist/{chunk-QS4G7CHU.cjs → chunk-KSCEAIBS.cjs} +2 -2
- package/dist/{chunk-IEPWXEA6.cjs → chunk-L5QJZBZK.cjs} +33 -33
- package/dist/{chunk-5HWBW7WU.cjs → chunk-NQ4WRB3Y.cjs} +12 -12
- package/dist/{chunk-GGORS7G6.cjs → chunk-REFL3YNE.cjs} +13 -13
- package/dist/{chunk-SV6K7ZLA.cjs → chunk-SETDVBMW.cjs} +41 -41
- package/dist/{chunk-YTPEJIAO.cjs → chunk-TGPHB7PC.cjs} +3 -3
- package/dist/{chunk-EZTHTSWZ.cjs → chunk-UG263H4A.cjs} +37 -37
- package/dist/{chunk-DEJB5WHZ.cjs → chunk-WT5XF66W.cjs} +24 -24
- package/dist/{chunk-ZVNL5OK6.cjs → chunk-X5Z4HRH7.cjs} +2 -2
- package/dist/{chunk-UBPSA3RM.cjs → chunk-YI3CDGKM.cjs} +70 -70
- package/dist/{chunk-5O6PHVKO.cjs → chunk-ZYGC2A7G.cjs} +4 -4
- package/dist/{cloud-tenants-3BEIT4LX.cjs → cloud-tenants-XRXWTUGP.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +32 -30
- package/dist/components/case-studies/quote-cards-strip.d.ts +7 -2
- package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
- package/dist/components/case-studies/quote-cards-strip.js +7 -5
- package/dist/components/categories-cart.d.ts +9 -2
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +9 -4
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +5 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +2 -2
- package/dist/components/chat/index.cjs +5 -5
- 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/faq-section.d.ts +7 -4
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq-accordion.d.ts +2 -4
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +8 -2
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +7 -3
- package/dist/components/features/cards-strip.d.ts +2 -2
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/model-token-rates.js +2 -2
- package/dist/components/features/remote-session/remote-desktop-chat-panel.js +2 -2
- package/dist/components/help-center-pages/index.cjs +94 -103
- package/dist/components/help-center-pages/trust-center-page.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +7 -4
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.js +5 -14
- package/dist/components/index.cjs +66 -61
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/logs-list.js +3 -2
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/multi-level-navigation.d.ts +6 -7
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +5 -5
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +3 -3
- package/dist/components/product-demo/index.cjs +18 -18
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +4 -17
- package/dist/components/shared/dev-section/dev-card-row.d.ts +3 -3
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.js +2 -2
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +6 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +4 -2
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +10 -3
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +12 -8
- package/dist/components/tickets/help-center-list.js +4 -4
- package/dist/components/tickets/hooks/use-tickets-list.d.ts +2 -0
- package/dist/components/tickets/hooks/use-tickets-list.d.ts.map +1 -1
- package/dist/components/tickets/hooks/use-tickets-list.js +3 -2
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +3 -9
- package/dist/components/ui/autocomplete.d.ts +5 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +3 -2
- package/dist/components/ui/data-table/data-table-body.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.js +5 -2
- package/dist/components/ui/data-table/utils.d.ts +21 -0
- package/dist/components/ui/data-table/utils.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.js +7 -0
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +1 -1
- package/dist/components/ui/search-input.d.ts +3 -1
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/search-input.js +3 -2
- package/dist/components/ui/searchable-select.d.ts +2 -0
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +10 -6
- package/dist/components/ui/table/table-skeleton.d.ts +2 -2
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/table.js +2 -1
- package/dist/components/ui/table/types.d.ts +1 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/{devices-ZCOK24D4.cjs → devices-L4ER34X7.cjs} +9 -9
- package/dist/{embeddable-chat-BXEK3SPJ.cjs → embeddable-chat-CEAP424I.cjs} +73 -73
- package/dist/index.cjs +15 -14
- package/dist/{knowledge-W47QGTEK.cjs → knowledge-PZYA65GL.cjs} +9 -9
- package/dist/{logs-3DMPE2TM.cjs → logs-GYTZWHDP.cjs} +16 -16
- package/dist/{policies-UWHW765K.cjs → policies-OIK7NWJ7.cjs} +12 -12
- package/dist/{remote-session-WVORQV7V.cjs → remote-session-3HFVODOT.cjs} +4 -4
- package/dist/{scripts-BH7V2ZC4.cjs → scripts-K4L3STNZ.cjs} +15 -15
- package/dist/{software-update-W6AAGJ2H.cjs → software-update-RWV2RI5C.cjs} +12 -12
- package/dist/types/category.d.ts +5 -0
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/logs.types.d.ts +2 -0
- package/dist/types/logs.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/case-studies/quote-cards-strip.tsx +16 -7
- package/src/components/categories-cart.tsx +16 -5
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +5 -1
- package/src/components/chat/entity-cards/program-card.tsx +6 -3
- package/src/components/faq/faq-section.tsx +7 -4
- package/src/components/faq-accordion.tsx +2 -4
- package/src/components/features/capability-explorer.tsx +16 -4
- package/src/components/features/cards-strip.tsx +3 -3
- package/src/components/features/model-token-rates.tsx +4 -4
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +4 -4
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +15 -22
- package/src/components/logs-list.tsx +6 -5
- package/src/components/navigation/multi-level-navigation.tsx +6 -7
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +6 -6
- package/src/components/related-content/related-content-section.tsx +6 -27
- package/src/components/shared/dev-section/dev-card-row.tsx +3 -3
- package/src/components/shared/product-release/release-detail-page.tsx +2 -2
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +11 -3
- package/src/components/shared/roadmap/roadmap-grid.tsx +27 -13
- package/src/components/tickets/help-center-list.tsx +4 -4
- package/src/components/tickets/hooks/use-tickets-list.ts +3 -2
- package/src/components/tickets/ticket-center.tsx +4 -13
- package/src/components/ui/autocomplete.tsx +12 -3
- package/src/components/ui/data-table/data-table-body.tsx +8 -2
- package/src/components/ui/data-table/data-table-infinite-footer.tsx +10 -3
- package/src/components/ui/data-table/utils.ts +18 -0
- package/src/components/ui/markdown/engine.tsx +6 -1
- package/src/components/ui/search-input.tsx +9 -3
- package/src/components/ui/searchable-select.tsx +18 -9
- package/src/components/ui/table/table-skeleton.tsx +2 -2
- package/src/components/ui/table/table.tsx +4 -1
- package/src/components/ui/table/types.ts +2 -1
- package/src/types/category.ts +5 -0
- package/src/types/logs.types.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkKSCEAIBScjs = require('./chunk-KSCEAIBS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -184,14 +184,14 @@ function UnifiedPagination({
|
|
|
184
184
|
}, 0);
|
|
185
185
|
};
|
|
186
186
|
if (loading) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKSCEAIBScjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
|
|
188
188
|
}
|
|
189
189
|
if (totalPages <= 1) {
|
|
190
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
190
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKSCEAIBScjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
191
191
|
} }) }) }) : null;
|
|
192
192
|
}
|
|
193
193
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
194
|
-
|
|
194
|
+
_chunkKSCEAIBScjs.Pagination,
|
|
195
195
|
{
|
|
196
196
|
currentPage,
|
|
197
197
|
totalPages,
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkREFL3YNEcjs = require('./chunk-REFL3YNE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkALNP25TXcjs = require('./chunk-ALNP25TX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2LTJ4457cjs = require('./chunk-2LTJ4457.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -36,8 +36,8 @@ function FaqDocumentPage({
|
|
|
36
36
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
37
37
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
38
38
|
};
|
|
39
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
39
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LTJ4457cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
+
_chunkREFL3YNEcjs.FaqSection,
|
|
41
41
|
{
|
|
42
42
|
initialFaqs,
|
|
43
43
|
heading: null,
|
|
@@ -53,7 +53,7 @@ function FaqDocumentPage({
|
|
|
53
53
|
skeletonNav
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALNP25TXcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -49,7 +49,7 @@ function PaginationControl({
|
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
const handleClick = (event) => {
|
|
52
|
-
if (
|
|
52
|
+
if (_chunk5V7BIUGAcjs.isModifierClick.call(void 0, event)) return;
|
|
53
53
|
event.preventDefault();
|
|
54
54
|
onPageChange(page);
|
|
55
55
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
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 _chunkX5Z4HRH7cjs = require('./chunk-X5Z4HRH7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNQ4WRB3Ycjs = require('./chunk-NQ4WRB3Y.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkALNP25TXcjs = require('./chunk-ALNP25TX.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk2LTJ4457cjs = require('./chunk-2LTJ4457.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkYI3CDGKMcjs = require('./chunk-YI3CDGKM.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkILZEXCJHcjs = require('./chunk-ILZEXCJH.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkRNLRS4IDcjs = require('./chunk-RNLRS4ID.cjs');
|
|
@@ -33,13 +33,13 @@ var _chunkRNLRS4IDcjs = require('./chunk-RNLRS4ID.cjs');
|
|
|
33
33
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkFPCGKH5Kcjs = require('./chunk-FPCGKH5K.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunk3LW5TD54cjs = require('./chunk-3LW5TD54.cjs');
|
|
@@ -71,16 +71,16 @@ var CATALOG_SECTION_CLASS = "space-y-4";
|
|
|
71
71
|
var CATALOG_SECTION_HEADING_CLASS = "flex items-center gap-2 text-ods-text-primary text-h3";
|
|
72
72
|
var CATALOG_SECTION_COUNT_CLASS = "inline-flex items-center justify-center rounded-full bg-ods-text-secondary/20 px-2 py-0.5 text-ods-text-secondary text-h6";
|
|
73
73
|
var CATALOG_LIST_CLASS = "flex flex-col gap-4";
|
|
74
|
-
var
|
|
74
|
+
var ONBOARDING_CATALOG_SKELETON_CARDS = 3;
|
|
75
75
|
function OnboardingCatalogSectionsSkeleton() {
|
|
76
76
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_SECTIONS_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: CATALOG_SECTION_CLASS, "data-loading-item": true, children: [
|
|
77
77
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h2", { className: CATALOG_SECTION_HEADING_CLASS, children: [
|
|
78
78
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
|
|
79
79
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
|
|
80
80
|
] }),
|
|
81
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: Array.from({ length:
|
|
81
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: Array.from({ length: ONBOARDING_CATALOG_SKELETON_CARDS }, (_, i) => (
|
|
82
82
|
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
|
|
83
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, i)
|
|
84
84
|
)) })
|
|
85
85
|
] }) });
|
|
86
86
|
}
|
|
@@ -105,10 +105,10 @@ function OnboardingGuidesCatalogView({
|
|
|
105
105
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
106
106
|
const activeSection = sectionValue || "all";
|
|
107
107
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
108
|
-
const guidesRes =
|
|
108
|
+
const guidesRes = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0,
|
|
109
109
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
110
110
|
);
|
|
111
|
-
const sectionsRes =
|
|
111
|
+
const sectionsRes = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
112
112
|
const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
|
|
113
113
|
const sections = _react.useMemo.call(void 0,
|
|
114
114
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -152,25 +152,25 @@ function OnboardingGuidesCatalogView({
|
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
154
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
155
|
-
const docSearch =
|
|
155
|
+
const docSearch = _chunkNQ4WRB3Ycjs.useDocSearch.call(void 0, {
|
|
156
156
|
source,
|
|
157
157
|
baseRoute: basePath,
|
|
158
158
|
onNavigate: (path) => router.push(path),
|
|
159
159
|
tableIds: ["onboarding-guides"]
|
|
160
160
|
});
|
|
161
161
|
const defaultRenderCard = (guide) => {
|
|
162
|
-
const cta =
|
|
162
|
+
const cta = _chunkYI3CDGKMcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
163
163
|
type: "onboarding_guide",
|
|
164
164
|
slug: guide.slug,
|
|
165
165
|
basePath,
|
|
166
166
|
platforms: guide.onboarding_guide_platforms
|
|
167
167
|
});
|
|
168
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
169
169
|
};
|
|
170
170
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
171
171
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
172
172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
|
|
173
|
+
_chunkNQ4WRB3Ycjs.DocSearchBar,
|
|
174
174
|
{
|
|
175
175
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
176
176
|
query: docSearch.query,
|
|
@@ -182,7 +182,7 @@ function OnboardingGuidesCatalogView({
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkALNP25TXcjs.FilterPillRow,
|
|
186
186
|
{
|
|
187
187
|
label: "Section",
|
|
188
188
|
selectedValue: activeSection,
|
|
@@ -193,7 +193,7 @@ function OnboardingGuidesCatalogView({
|
|
|
193
193
|
)
|
|
194
194
|
] });
|
|
195
195
|
if (!loading && selfFetch && guidesRes.error) {
|
|
196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALNP25TXcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
197
197
|
}
|
|
198
198
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
199
199
|
preControls,
|
|
@@ -313,7 +313,7 @@ function OnboardingGuideDetailView({
|
|
|
313
313
|
slug,
|
|
314
314
|
guideEndpoint,
|
|
315
315
|
related = [],
|
|
316
|
-
MarkdownRenderer =
|
|
316
|
+
MarkdownRenderer = _chunkALNP25TXcjs.RichMarkdownRenderer,
|
|
317
317
|
renderRelatedCard,
|
|
318
318
|
backHref,
|
|
319
319
|
backLabel = "Back to Getting Started",
|
|
@@ -323,9 +323,9 @@ function OnboardingGuideDetailView({
|
|
|
323
323
|
}) {
|
|
324
324
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
325
325
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
326
|
-
const captions =
|
|
326
|
+
const captions = _chunkILZEXCJHcjs.useCaptions.call(void 0, );
|
|
327
327
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
328
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALNP25TXcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
329
329
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
330
330
|
const scoped = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
331
331
|
const {
|
|
@@ -333,7 +333,7 @@ function OnboardingGuideDetailView({
|
|
|
333
333
|
isLoading,
|
|
334
334
|
error,
|
|
335
335
|
reload
|
|
336
|
-
} =
|
|
336
|
+
} = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0, scoped ? null : url, {
|
|
337
337
|
initialData
|
|
338
338
|
});
|
|
339
339
|
const { ref: videoWarmupRef } = _chunkRNLRS4IDcjs.useVideoWarmup.call(void 0, {
|
|
@@ -343,7 +343,7 @@ function OnboardingGuideDetailView({
|
|
|
343
343
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
344
344
|
const loading = scoped || !guide && isLoading;
|
|
345
345
|
if (!loading && (error || !guide)) {
|
|
346
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALNP25TXcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
347
347
|
}
|
|
348
348
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
349
349
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -351,19 +351,19 @@ function OnboardingGuideDetailView({
|
|
|
351
351
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
352
352
|
_chunk3LW5TD54cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
353
353
|
const defaultRenderRelatedCard = (g) => {
|
|
354
|
-
const cta =
|
|
354
|
+
const cta = _chunkYI3CDGKMcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
355
355
|
type: "onboarding_guide",
|
|
356
356
|
slug: g.slug,
|
|
357
357
|
basePath,
|
|
358
358
|
platforms: g.onboarding_guide_platforms
|
|
359
359
|
});
|
|
360
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
360
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
361
361
|
};
|
|
362
362
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
363
|
-
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
+
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2LTJ4457cjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALNP25TXcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
365
365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
366
|
-
|
|
366
|
+
_chunk5V7BIUGAcjs.EntityAuthorCard,
|
|
367
367
|
{
|
|
368
368
|
author: view.author,
|
|
369
369
|
authorHref,
|
|
@@ -379,7 +379,7 @@ function OnboardingGuideDetailView({
|
|
|
379
379
|
),
|
|
380
380
|
!loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
|
|
381
381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
382
|
-
|
|
382
|
+
_chunkILZEXCJHcjs.EntityVideoSection,
|
|
383
383
|
{
|
|
384
384
|
mainVideoUrl: view.main_video_url,
|
|
385
385
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -396,17 +396,17 @@ function OnboardingGuideDetailView({
|
|
|
396
396
|
) }),
|
|
397
397
|
(loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
|
|
398
398
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
-
|
|
399
|
+
_chunkILZEXCJHcjs.VideoBitesStrip,
|
|
400
400
|
{
|
|
401
401
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
402
402
|
filterPublished: true,
|
|
403
403
|
showTitle: false,
|
|
404
|
-
profile:
|
|
404
|
+
profile: _chunk5V7BIUGAcjs.toStripProfile.call(void 0, view.author),
|
|
405
405
|
href: `/onboarding-guides/${view.slug}`
|
|
406
406
|
}
|
|
407
407
|
) }),
|
|
408
408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
409
|
-
|
|
409
|
+
_chunkX5Z4HRH7cjs.ArticleAuthorByline,
|
|
410
410
|
{
|
|
411
411
|
author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
412
412
|
avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkALNP25TXcjs = require('./chunk-ALNP25TX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkILZEXCJHcjs = require('./chunk-ILZEXCJH.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkXXJL5GY3cjs = require('./chunk-XXJL5GY3.cjs');
|
|
@@ -19,7 +19,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -40,7 +40,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
40
40
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
41
41
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
42
42
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
43
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
43
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkILZEXCJHcjs.resolveSourceIcon.call(void 0, {
|
|
44
44
|
sourceRepo,
|
|
45
45
|
documentType: docType
|
|
46
46
|
});
|
|
@@ -70,7 +70,7 @@ function DocSearchBar({
|
|
|
70
70
|
renderResult
|
|
71
71
|
}) {
|
|
72
72
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
|
|
73
|
+
_chunkALNP25TXcjs.SearchInput,
|
|
74
74
|
{
|
|
75
75
|
placeholder,
|
|
76
76
|
value: query,
|
|
@@ -120,7 +120,7 @@ function mapDocSearchResults(docs) {
|
|
|
120
120
|
results.push({
|
|
121
121
|
id: `group-${entry.repo}`,
|
|
122
122
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
123
|
-
title: `${
|
|
123
|
+
title: `${_chunkILZEXCJHcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkILZEXCJHcjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
124
124
|
path: rows[0].path,
|
|
125
125
|
type: "file",
|
|
126
126
|
metadata: {
|
|
@@ -183,7 +183,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
|
|
|
183
183
|
if (composed && !isAbsoluteHref(href)) {
|
|
184
184
|
return { kind: "navigate-same-tab", href };
|
|
185
185
|
}
|
|
186
|
-
const isNewTab =
|
|
186
|
+
const isNewTab = _chunk5V7BIUGAcjs.decideNewTab.call(void 0, {
|
|
187
187
|
href,
|
|
188
188
|
targetPlatform: composed ? composed.targetPlatform : targetPlatform,
|
|
189
189
|
surface: "useUnifiedNav",
|
|
@@ -312,31 +312,31 @@ function useDocSearch(config) {
|
|
|
312
312
|
case "navigate-same-tab": {
|
|
313
313
|
if (wantsNewTab) {
|
|
314
314
|
setKeepOpen(true);
|
|
315
|
-
window.open(action.href, "_blank",
|
|
315
|
+
window.open(action.href, "_blank", _chunk5V7BIUGAcjs.NEW_TAB_FEATURES);
|
|
316
316
|
return;
|
|
317
317
|
}
|
|
318
318
|
setKeepOpen(false);
|
|
319
319
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
320
320
|
if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
|
|
321
|
-
router.push(
|
|
321
|
+
router.push(_chunk5V7BIUGAcjs.stripSameOriginToPath.call(void 0, action.href));
|
|
322
322
|
return;
|
|
323
323
|
}
|
|
324
324
|
case "navigate-new-tab":
|
|
325
325
|
setKeepOpen(true);
|
|
326
326
|
if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
|
|
327
327
|
const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
|
|
328
|
-
|
|
328
|
+
_chunk5V7BIUGAcjs.resolveExternalNavigation.call(void 0, {
|
|
329
329
|
href: action.href,
|
|
330
330
|
targetPlatform,
|
|
331
331
|
runtime
|
|
332
332
|
}).open();
|
|
333
333
|
return;
|
|
334
334
|
}
|
|
335
|
-
window.open(action.href, "_blank",
|
|
335
|
+
window.open(action.href, "_blank", _chunk5V7BIUGAcjs.NEW_TAB_FEATURES);
|
|
336
336
|
return;
|
|
337
337
|
case "ask-ai":
|
|
338
338
|
setKeepOpen(false);
|
|
339
|
-
window.dispatchEvent(new CustomEvent(
|
|
339
|
+
window.dispatchEvent(new CustomEvent(_chunkILZEXCJHcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
340
340
|
return;
|
|
341
341
|
case "route":
|
|
342
342
|
setKeepOpen(false);
|
|
@@ -5,12 +5,12 @@ var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYI3CDGKMcjs = require('./chunk-YI3CDGKM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkILZEXCJHcjs = require('./chunk-ILZEXCJH.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 _chunkFPCGKH5Kcjs = require('./chunk-FPCGKH5K.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -72,7 +72,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
72
72
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
id:
|
|
75
|
+
id: _chunkILZEXCJHcjs.faqItemAnchor.call(void 0, item.id),
|
|
76
76
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
77
77
|
"data-loading-item": true,
|
|
78
78
|
children: [
|
|
@@ -141,14 +141,14 @@ function FaqAccordionSkeleton({
|
|
|
141
141
|
|
|
142
142
|
var PICK_ROOT_MARGIN = "600px";
|
|
143
143
|
function faqAskCardShown(assistant) {
|
|
144
|
-
return
|
|
144
|
+
return _chunkYI3CDGKMcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
145
145
|
}
|
|
146
146
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
147
147
|
const { ref, inView } = _chunkXXJL5GY3cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
148
148
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
149
149
|
if (inView && !reached) setReached(true);
|
|
150
150
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
151
|
-
|
|
151
|
+
_chunkYI3CDGKMcjs.AssistantAskPrompts,
|
|
152
152
|
{
|
|
153
153
|
variant: "card",
|
|
154
154
|
topic,
|
|
@@ -208,7 +208,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
|
|
|
208
208
|
var FAQ_NAV_SKELETON_PILLS = 8;
|
|
209
209
|
var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
|
|
210
210
|
var CATEGORY_SECTION_CLASS = "scroll-mt-24";
|
|
211
|
-
var CATEGORY_HEADING_CLASS = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
211
|
+
var CATEGORY_HEADING_CLASS = _chunk65VVJSQZcjs.cn.call(void 0, _chunk5V7BIUGAcjs.SECTION_HEADING_CLASS, "pb-4");
|
|
212
212
|
var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
|
|
213
213
|
function FaqLayout({
|
|
214
214
|
heading,
|
|
@@ -234,7 +234,7 @@ function FaqLayout({
|
|
|
234
234
|
] });
|
|
235
235
|
}
|
|
236
236
|
function faqHeadingNode(heading, showTopic, topic) {
|
|
237
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
237
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk5V7BIUGAcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
238
238
|
if (!(showTopic && topic)) return titleNode;
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
|
|
@@ -248,7 +248,7 @@ function pageFaqProps(faq) {
|
|
|
248
248
|
}
|
|
249
249
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
250
250
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
251
|
-
return
|
|
251
|
+
return _chunkFPCGKH5Kcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
252
252
|
apiBaseUrl,
|
|
253
253
|
entityType,
|
|
254
254
|
entityId,
|
|
@@ -269,7 +269,7 @@ function groupFaqsBySection(faqs) {
|
|
|
269
269
|
}
|
|
270
270
|
let group = byName.get(name);
|
|
271
271
|
if (!group) {
|
|
272
|
-
group = { section: name, slug:
|
|
272
|
+
group = { section: name, slug: _chunkILZEXCJHcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
273
273
|
byName.set(name, group);
|
|
274
274
|
}
|
|
275
275
|
group.items.push(item);
|
|
@@ -325,7 +325,7 @@ function GroupedFaqList({
|
|
|
325
325
|
}, [slugKey]);
|
|
326
326
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
327
327
|
_react.useEffect.call(void 0, () => {
|
|
328
|
-
const refresh = () => setHashTarget(
|
|
328
|
+
const refresh = () => setHashTarget(_chunkILZEXCJHcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
329
329
|
refresh();
|
|
330
330
|
window.addEventListener("hashchange", refresh);
|
|
331
331
|
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 } = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
|
|
429
429
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.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]);
|