@flamingo-stack/openframe-frontend-core 0.0.735 → 0.0.737
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-F7STMHT7.cjs → chunk-4FJZ7RJD.cjs} +66 -66
- package/dist/{chunk-SZRZBCWC.cjs → chunk-4ISP3XP4.cjs} +75 -69
- package/dist/{chunk-EQ7OOK4B.cjs → chunk-4RMLAHU2.cjs} +24 -16
- package/dist/{chunk-XKB7YGQM.cjs → chunk-77SD7RXY.cjs} +18 -6
- package/dist/{chunk-NVCSVGNI.cjs → chunk-CM35DLKS.cjs} +33 -33
- package/dist/{chunk-T323E2Y6.cjs → chunk-DA4VS6TS.cjs} +4 -4
- package/dist/{chunk-36CCUJOE.cjs → chunk-E2JCZU36.cjs} +313 -313
- package/dist/{chunk-RH3AKULV.cjs → chunk-EJOXXJJB.cjs} +56 -4
- package/dist/{chunk-SHQZN5LF.cjs → chunk-EX2GYIGW.cjs} +6 -6
- package/dist/{chunk-EQH7BUNS.cjs → chunk-FA2LATDM.cjs} +4 -4
- package/dist/{chunk-3JP2OVH3.cjs → chunk-KVGBDWYV.cjs} +30 -30
- package/dist/{chunk-HBUUCLQM.cjs → chunk-L535OD7V.cjs} +2 -2
- package/dist/{chunk-3X4N3IT7.cjs → chunk-LW3QSP47.cjs} +16 -16
- package/dist/{chunk-OXJ57643.cjs → chunk-MGW5DO6P.cjs} +76 -17
- package/dist/{chunk-4F7V2MAC.cjs → chunk-N6YOOGCD.cjs} +14 -14
- package/dist/chunk-O4MG7FXW.cjs +57 -0
- package/dist/{chunk-TUMUT7CV.cjs → chunk-SGVQO5J6.cjs} +11 -11
- package/dist/{chunk-MRVZ56GT.cjs → chunk-TJQYX3QC.cjs} +81 -81
- package/dist/{chunk-7HT3VHLJ.cjs → chunk-URIJ6YUG.cjs} +43 -69
- package/dist/{chunk-JDXQ6T5P.cjs → chunk-VL4JKXU2.cjs} +253 -290
- package/dist/{chunk-HLBFTDUL.cjs → chunk-VRNNIV5Y.cjs} +2 -2
- package/dist/{chunk-W6E7XCBI.cjs → chunk-VYODTHMR.cjs} +31 -31
- package/dist/{chunk-3FZZPR76.cjs → chunk-XLSVQJBA.cjs} +44 -44
- package/dist/{chunk-6TTAILSV.cjs → chunk-XPP7VCNY.cjs} +3 -3
- package/dist/{cloud-tenants-H5D57P4U.cjs → cloud-tenants-IWQ5FFLY.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +2 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.js +1 -1
- package/dist/components/chat/index.cjs +10 -8
- package/dist/components/chat/mingo-info-card.d.ts +17 -1
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +15 -3
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/faq-ask-card.d.ts +5 -4
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.d.ts +3 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +2 -0
- package/dist/components/faq/faq-section.d.ts +37 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +31 -9
- package/dist/components/faq/index.cjs +14 -8
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +4 -2
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/delivery-page.d.ts +8 -1
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.js +16 -4
- package/dist/components/help-center-pages/download-apps-page.d.ts +8 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +11 -6
- package/dist/components/help-center-pages/index.cjs +195 -140
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +8 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +26 -14
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +8 -1
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/product-releases-list-page.js +24 -12
- package/dist/components/help-center-pages/roadmap-page.d.ts +8 -1
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/roadmap-page.js +25 -13
- package/dist/components/index.cjs +67 -59
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/pagination.d.ts +9 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +72 -17
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/shared/dev-section/dev-section-page.d.ts +8 -1
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-page.js +8 -3
- package/dist/components/shared/legal-document/legal-document-page.d.ts +8 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +4 -1
- package/dist/components/tickets/index.cjs +13 -12
- package/dist/components/ui/index.cjs +12 -10
- package/dist/components/unified-pagination.d.ts.map +1 -1
- package/dist/components/unified-pagination.js +16 -4
- package/dist/contexts/assistant-runtime-context.d.ts +5 -5
- package/dist/{devices-SQTEXY2H.cjs → devices-OUHGWA6Y.cjs} +8 -8
- package/dist/{embeddable-chat-S5ODWE3L.cjs → embeddable-chat-U3C4WWB7.cjs} +72 -72
- package/dist/index.cjs +20 -14
- package/dist/{knowledge-FO3TPLFO.cjs → knowledge-3ZASPWMF.cjs} +8 -8
- package/dist/{logs-Y4WQB2YR.cjs → logs-E6Y54P6K.cjs} +15 -15
- package/dist/{policies-D6VY2ODF.cjs → policies-LAV75B5B.cjs} +11 -11
- package/dist/{software-update-7XN6U7HC.cjs → software-update-2CAL3AMJ.cjs} +10 -10
- package/dist/types/faq.d.ts +17 -0
- package/dist/types/faq.d.ts.map +1 -1
- package/dist/types/faq.js +4 -0
- package/dist/types/index.cjs +4 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +2 -2
- package/src/components/chat/mingo-info-card.tsx +39 -4
- package/src/components/faq/faq-ask-card.tsx +5 -4
- package/src/components/faq/faq-document-page.tsx +4 -0
- package/src/components/faq/faq-section.tsx +83 -14
- package/src/components/faq/index.ts +1 -1
- package/src/components/help-center-pages/delivery-page.tsx +16 -1
- package/src/components/help-center-pages/download-apps-page.tsx +9 -0
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +16 -1
- package/src/components/help-center-pages/product-releases-list-page.tsx +16 -1
- package/src/components/help-center-pages/roadmap-page.tsx +16 -1
- package/src/components/pagination.tsx +117 -21
- package/src/components/shared/dev-section/dev-section-page.tsx +9 -0
- package/src/components/shared/legal-document/legal-document-page.tsx +9 -0
- package/src/components/unified-pagination.tsx +23 -7
- package/src/contexts/assistant-runtime-context.tsx +5 -5
- package/src/types/faq.ts +18 -0
|
@@ -1,22 +1,16 @@
|
|
|
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 _chunk36CCUJOEcjs = require('./chunk-36CCUJOE.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
4
|
var _chunkVA7OMDZOcjs = require('./chunk-VA7OMDZO.cjs');
|
|
11
5
|
|
|
12
6
|
|
|
13
7
|
|
|
14
|
-
var
|
|
8
|
+
var _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
|
|
15
9
|
|
|
16
10
|
|
|
17
11
|
|
|
18
12
|
|
|
19
|
-
var
|
|
13
|
+
var _chunkVL4JKXU2cjs = require('./chunk-VL4JKXU2.cjs');
|
|
20
14
|
|
|
21
15
|
|
|
22
16
|
|
|
@@ -24,9 +18,6 @@ var _chunkJDXQ6T5Pcjs = require('./chunk-JDXQ6T5P.cjs');
|
|
|
24
18
|
var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
|
|
25
19
|
|
|
26
20
|
|
|
27
|
-
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
28
|
-
|
|
29
|
-
|
|
30
21
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
31
22
|
|
|
32
23
|
|
|
@@ -34,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
34
25
|
|
|
35
26
|
|
|
36
27
|
|
|
37
|
-
var
|
|
28
|
+
var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
|
|
38
29
|
|
|
39
30
|
|
|
40
|
-
var
|
|
31
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
41
32
|
|
|
42
33
|
|
|
43
34
|
var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
|
|
@@ -48,11 +39,8 @@ var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
|
48
39
|
|
|
49
40
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
50
41
|
|
|
51
|
-
// src/components/faq/faq-section.tsx
|
|
52
|
-
var _react = require('react');
|
|
53
|
-
|
|
54
42
|
// src/components/faq-accordion.tsx
|
|
55
|
-
|
|
43
|
+
var _react = require('react');
|
|
56
44
|
var _jsxruntime = require('react/jsx-runtime');
|
|
57
45
|
function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
58
46
|
const [openSet, setOpenSet] = _react.useState.call(void 0, new Set(defaultOpenIds));
|
|
@@ -69,7 +57,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
69
57
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
70
58
|
"div",
|
|
71
59
|
{
|
|
72
|
-
id:
|
|
60
|
+
id: _chunkVL4JKXU2cjs.faqItemAnchor.call(void 0, item.id),
|
|
73
61
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
74
62
|
children: [
|
|
75
63
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -122,14 +110,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
122
110
|
|
|
123
111
|
var PICK_ROOT_MARGIN = "600px";
|
|
124
112
|
function faqAskCardShown(assistant) {
|
|
125
|
-
return
|
|
113
|
+
return _chunk4FJZ7RJDcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
126
114
|
}
|
|
127
115
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
128
116
|
const { ref, inView } = _chunkSA7LDEVJcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
129
117
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
130
118
|
if (inView && !reached) setReached(true);
|
|
131
119
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
|
-
|
|
120
|
+
_chunk4FJZ7RJDcjs.AssistantAskPrompts,
|
|
133
121
|
{
|
|
134
122
|
variant: "card",
|
|
135
123
|
topic,
|
|
@@ -143,6 +131,9 @@ function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
|
143
131
|
) });
|
|
144
132
|
}
|
|
145
133
|
|
|
134
|
+
// src/components/faq/faq-section.tsx
|
|
135
|
+
|
|
136
|
+
|
|
146
137
|
// src/components/faq/json-ld.ts
|
|
147
138
|
var DEFAULT_NAME = "Frequently Asked Questions";
|
|
148
139
|
var DEFAULT_DESCRIPTION = "Answers to common questions.";
|
|
@@ -172,8 +163,20 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
|
|
|
172
163
|
// src/components/faq/faq-section.tsx
|
|
173
164
|
|
|
174
165
|
var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
|
|
175
|
-
|
|
176
|
-
|
|
166
|
+
var PAGE_FAQ_SECTION_ID = "faq";
|
|
167
|
+
var PAGE_FAQ_IN_PAGE_CLASS = "space-y-10 pt-12 md:pt-20";
|
|
168
|
+
function pageFaqProps(faq) {
|
|
169
|
+
return { ...faq, id: PAGE_FAQ_SECTION_ID, className: PAGE_FAQ_IN_PAGE_CLASS };
|
|
170
|
+
}
|
|
171
|
+
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
172
|
+
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
173
|
+
return _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
174
|
+
apiBaseUrl,
|
|
175
|
+
entityType,
|
|
176
|
+
entityId,
|
|
177
|
+
count: minResults,
|
|
178
|
+
extraParams: entityScoped ? void 0 : { topic }
|
|
179
|
+
});
|
|
177
180
|
}
|
|
178
181
|
function groupFaqsBySection(faqs) {
|
|
179
182
|
const byName = /* @__PURE__ */ new Map();
|
|
@@ -188,7 +191,7 @@ function groupFaqsBySection(faqs) {
|
|
|
188
191
|
}
|
|
189
192
|
let group = byName.get(name);
|
|
190
193
|
if (!group) {
|
|
191
|
-
group = { section: name, slug:
|
|
194
|
+
group = { section: name, slug: _chunkVL4JKXU2cjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
192
195
|
byName.set(name, group);
|
|
193
196
|
}
|
|
194
197
|
group.items.push(item);
|
|
@@ -243,7 +246,7 @@ function GroupedFaqList({
|
|
|
243
246
|
}, [slugKey]);
|
|
244
247
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
245
248
|
_react.useEffect.call(void 0, () => {
|
|
246
|
-
const refresh = () => setHashTarget(
|
|
249
|
+
const refresh = () => setHashTarget(_chunkVL4JKXU2cjs.parseFaqHash.call(void 0, window.location.hash));
|
|
247
250
|
refresh();
|
|
248
251
|
window.addEventListener("hashchange", refresh);
|
|
249
252
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -293,7 +296,7 @@ function GroupedFaqList({
|
|
|
293
296
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
294
297
|
const key = groupKey(group);
|
|
295
298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
296
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
299
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
297
300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
298
301
|
FaqAccordion,
|
|
299
302
|
{
|
|
@@ -332,27 +335,35 @@ function FaqSection({
|
|
|
332
335
|
initialFaqs,
|
|
333
336
|
entityType,
|
|
334
337
|
entityId,
|
|
338
|
+
topic,
|
|
335
339
|
heading,
|
|
336
340
|
emitJsonLd = false,
|
|
337
341
|
jsonLd,
|
|
338
342
|
className,
|
|
343
|
+
id,
|
|
344
|
+
showTopic = false,
|
|
339
345
|
minResults,
|
|
340
346
|
apiBaseUrl = "",
|
|
341
347
|
aside: asideProp,
|
|
342
348
|
ask
|
|
343
349
|
}) {
|
|
344
350
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
345
|
-
const askTopic = ask === false ? void 0 : _optionalChain([ask, 'optionalAccess', _14 => _14.topic]) || entityType;
|
|
351
|
+
const askTopic = ask === false ? void 0 : _optionalChain([ask, 'optionalAccess', _14 => _14.topic]) || topic || entityType;
|
|
346
352
|
const aside = _nullishCoalesce(asideProp, () => ( (ask !== false && askTopic && faqAskCardShown(assistant) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqAskCard, { ...ask, topic: askTopic }) : void 0)));
|
|
347
|
-
const url = buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl);
|
|
353
|
+
const url = buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl, topic);
|
|
348
354
|
const initialData = _react.useMemo.call(void 0,
|
|
349
355
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
350
356
|
[initialFaqs]
|
|
351
357
|
);
|
|
352
|
-
const { data, isLoading, error } =
|
|
353
|
-
const
|
|
358
|
+
const { data, dataUrl, isLoading, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
359
|
+
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
|
|
360
|
+
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
354
361
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
355
|
-
const
|
|
362
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
363
|
+
const headingNode = showTopic && topic ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
364
|
+
titleNode,
|
|
365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-muted text-h6", children: topic })
|
|
366
|
+
] }) : titleNode;
|
|
356
367
|
if (error) return null;
|
|
357
368
|
if (!isLoading && faqs.length === 0) return null;
|
|
358
369
|
if (isLoading && faqs.length === 0) {
|
|
@@ -360,7 +371,7 @@ function FaqSection({
|
|
|
360
371
|
}
|
|
361
372
|
const schema = emitJsonLd ? buildFaqJsonLdFromFaqs(faqs, jsonLd) : null;
|
|
362
373
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
363
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: _nullishCoalesce(className, () => ( "space-y-10")), children: [
|
|
374
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id, "data-faq-topic": topic, className: _nullishCoalesce(className, () => ( "space-y-10")), children: [
|
|
364
375
|
!aside && headingNode,
|
|
365
376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
366
377
|
GroupedFaqList,
|
|
@@ -382,47 +393,10 @@ function FaqSection({
|
|
|
382
393
|
] });
|
|
383
394
|
}
|
|
384
395
|
|
|
385
|
-
// src/components/faq/faq-document-page.tsx
|
|
386
|
-
|
|
387
|
-
function FaqDocumentPage({
|
|
388
|
-
title = "Frequently Asked Questions",
|
|
389
|
-
subtitle,
|
|
390
|
-
backButton,
|
|
391
|
-
initialFaqs,
|
|
392
|
-
emitJsonLd,
|
|
393
|
-
jsonLd,
|
|
394
|
-
apiBaseUrl,
|
|
395
|
-
entityType,
|
|
396
|
-
entityId,
|
|
397
|
-
minResults,
|
|
398
|
-
ask,
|
|
399
|
-
shell = true
|
|
400
|
-
}) {
|
|
401
|
-
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
402
|
-
const backCfg = backButton === false ? void 0 : {
|
|
403
|
-
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.label]), () => ( "Back to home")),
|
|
404
|
-
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _18 => _18.href]), () => ( "/")))
|
|
405
|
-
};
|
|
406
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
407
|
-
FaqSection,
|
|
408
|
-
{
|
|
409
|
-
initialFaqs,
|
|
410
|
-
heading: null,
|
|
411
|
-
emitJsonLd,
|
|
412
|
-
jsonLd,
|
|
413
|
-
apiBaseUrl,
|
|
414
|
-
entityType,
|
|
415
|
-
entityId,
|
|
416
|
-
minResults,
|
|
417
|
-
ask
|
|
418
|
-
}
|
|
419
|
-
) });
|
|
420
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk36CCUJOEcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
421
|
-
}
|
|
422
396
|
|
|
423
397
|
|
|
424
398
|
|
|
425
399
|
|
|
426
400
|
|
|
427
401
|
|
|
428
|
-
exports.FaqAccordion = FaqAccordion; exports.FaqAskCard = FaqAskCard; exports.
|
|
402
|
+
exports.FaqAccordion = FaqAccordion; exports.FaqAskCard = FaqAskCard; exports.PAGE_FAQ_SECTION_ID = PAGE_FAQ_SECTION_ID; exports.pageFaqProps = pageFaqProps; exports.FaqSection = FaqSection;
|