@flamingo-stack/openframe-frontend-core 0.0.705 → 0.0.706-snapshot.20261006181108
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/chat-protocol/index.cjs +23 -14
- package/dist/chat-protocol/index.js +23 -14
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +11 -2
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-QFXRPRFT.js → chunk-2YHNQAMU.js} +3 -3
- package/dist/{chunk-YHM5AWTT.js → chunk-3FZP73R4.js} +6 -6
- package/dist/{chunk-VR2ZLFCP.js → chunk-4IBPRIQH.js} +1 -1
- package/dist/{chunk-AQWZNP6A.js → chunk-4RVC6TCE.js} +4 -4
- package/dist/{chunk-OUY3HHW6.cjs → chunk-4UMOD5NU.cjs} +928 -539
- package/dist/{chunk-IKTQ3ZAG.cjs → chunk-54L6NMKQ.cjs} +6 -6
- package/dist/{chunk-A75QY6CD.cjs → chunk-56LOCS37.cjs} +21 -21
- package/dist/{chunk-WA6GUYQ4.cjs → chunk-5CMYEGHE.cjs} +104 -104
- package/dist/{chunk-VA5T32XA.js → chunk-632NGOIH.js} +2 -2
- package/dist/{chunk-MMOODW57.cjs → chunk-6NTPY5QA.cjs} +1887 -94
- package/dist/{chunk-VESKITRQ.cjs → chunk-7XVBJDH7.cjs} +728 -732
- package/dist/{chunk-3MX5S4CF.cjs → chunk-AGNG62O2.cjs} +905 -2564
- package/dist/{chunk-ZSAO2HBW.js → chunk-BETJB7UV.js} +15 -15
- package/dist/{chunk-MP2C3LJ4.js → chunk-CUME3VTQ.js} +1 -1
- package/dist/{chunk-PDWVPI3S.js → chunk-CZ7Y7UG4.js} +4 -72
- package/dist/{chunk-F6I6XZMN.js → chunk-E2TQZIOJ.js} +5 -5
- package/dist/{chunk-X5MQ7JRP.js → chunk-ECXW3RIH.js} +9 -9
- package/dist/{chunk-JEZKGCZI.cjs → chunk-EUSDLX5W.cjs} +26 -26
- package/dist/{chunk-6NJKKO73.cjs → chunk-F4E3L3KV.cjs} +15 -15
- package/dist/{chunk-MFFCUVWG.js → chunk-F57ECE2I.js} +1 -1
- package/dist/{chunk-F6AFPNDF.js → chunk-FBY4V3YS.js} +15 -15
- package/dist/{chunk-CH5232HV.js → chunk-FI6GMDO7.js} +2455 -662
- package/dist/{chunk-NDESEPW5.js → chunk-FXJ3WWUB.js} +68 -0
- package/dist/{chunk-FCGC42TS.js → chunk-HTBN3XYF.js} +57 -61
- package/dist/{chunk-ZSAGLQOD.cjs → chunk-I43ZVJRL.cjs} +17 -17
- package/dist/{chunk-7VVFKJY5.js → chunk-IBQZMRWO.js} +1796 -3455
- package/dist/{chunk-4KX6OED2.cjs → chunk-JFSLQ2XS.cjs} +46 -46
- package/dist/{chunk-5HBHO5TB.js → chunk-JPG7OHEG.js} +1 -1
- package/dist/{chunk-MKXO4Q5P.js → chunk-KUC673HM.js} +383 -142
- package/dist/{chunk-4I45Y3DN.cjs → chunk-L3Q7R7CQ.cjs} +6 -6
- package/dist/{chunk-X72J4ACL.cjs → chunk-LLSUVPQC.cjs} +252 -8
- package/dist/{chunk-RKV5B7EU.cjs → chunk-LM7TXMLU.cjs} +72 -4
- package/dist/{chunk-PN2RKPDF.js → chunk-LSQPH73L.js} +10 -10
- package/dist/{chunk-HPWWNJE7.cjs → chunk-MY3JYZQY.cjs} +89 -89
- package/dist/{chunk-2YXVWZVF.js → chunk-N45D4ZXQ.js} +959 -715
- package/dist/{chunk-Z2VNQQ74.js → chunk-NCPTID44.js} +978 -942
- package/dist/{chunk-KOWVJD4V.cjs → chunk-O6WNIA6W.cjs} +56 -56
- package/dist/{chunk-ABU3TGXA.cjs → chunk-OF6GEI5A.cjs} +3 -3
- package/dist/{chunk-OHFS7VOU.cjs → chunk-PLYEKV3N.cjs} +2 -2
- package/dist/{chunk-VHCACDKP.cjs → chunk-RQRX4YC3.cjs} +39 -39
- package/dist/{chunk-DW7G4KG3.js → chunk-RZNRVXHH.js} +3 -3
- package/dist/{chunk-G5A3PSPV.js → chunk-SGJP2WKD.js} +1080 -691
- package/dist/{chunk-7LS22BZU.cjs → chunk-STXYW25T.cjs} +14 -14
- package/dist/{chunk-YFBM2K6X.cjs → chunk-TB5EDWRC.cjs} +4 -4
- package/dist/{chunk-RBDP4WDE.js → chunk-U6BWEKJC.js} +6 -6
- package/dist/{chunk-XOYH2YQE.cjs → chunk-UDFRUKLC.cjs} +2 -2
- package/dist/{chunk-TYWLNCNH.cjs → chunk-UVTD52MD.cjs} +14 -82
- package/dist/{chunk-N3COXDBH.cjs → chunk-VX4E6YSB.cjs} +41 -5
- package/dist/{chunk-2QEUFXNS.cjs → chunk-WCVZCGK5.cjs} +312 -71
- package/dist/{chunk-6XIF2Z7I.js → chunk-WMX26HB5.js} +3 -3
- package/dist/{chunk-IHERL5V4.cjs → chunk-WXAT5C4C.cjs} +34 -34
- package/dist/{chunk-D7BTSVMS.cjs → chunk-Y2GSOUCS.cjs} +2 -2
- package/dist/{chunk-6SEANMOU.js → chunk-Y5VSOYPS.js} +11 -11
- package/dist/{chunk-DENB2XJC.js → chunk-YQWTGQG5.js} +2 -2
- package/dist/components/case-studies/index.cjs +30 -32
- package/dist/components/case-studies/index.js +14 -16
- package/dist/components/chat/entity-cards/case-study-card.d.ts +11 -4
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -11
- package/dist/components/chat/index.js +14 -16
- package/dist/components/chat/types/message.types.d.ts +20 -16
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +1 -1
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +12 -14
- package/dist/components/contact/index.js +11 -13
- package/dist/components/docs/index.cjs +15 -17
- package/dist/components/docs/index.js +14 -16
- package/dist/components/embeds/index.cjs +12 -14
- package/dist/components/embeds/index.js +11 -13
- package/dist/components/faq/index.cjs +13 -15
- package/dist/components/faq/index.js +12 -14
- package/dist/components/features/index.cjs +12 -14
- package/dist/components/features/index.js +21 -23
- package/dist/components/help-center-pages/index.cjs +118 -120
- package/dist/components/help-center-pages/index.js +33 -35
- package/dist/components/icons/index.cjs +3 -5
- package/dist/components/icons/index.js +9 -11
- package/dist/components/icons-v2-generated/index.cjs +3 -5
- package/dist/components/icons-v2-generated/index.js +2 -4
- package/dist/components/index.cjs +86 -159
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +329 -402
- package/dist/components/loading/page-layout-skeleton.d.ts +1 -1
- package/dist/components/meeting-scheduler/index.cjs +62 -64
- package/dist/components/meeting-scheduler/index.js +12 -14
- package/dist/components/navigation/index.cjs +28 -16
- package/dist/components/navigation/index.d.ts +14 -10
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +38 -26
- package/dist/components/navigation/mingo-ai-button.d.ts +38 -3
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts +3 -0
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts.map +1 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts +48 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -0
- package/dist/components/navigation/nav-item-row.d.ts +27 -0
- package/dist/components/navigation/nav-item-row.d.ts.map +1 -0
- package/dist/components/navigation/nav-panel.d.ts +43 -0
- package/dist/components/navigation/nav-panel.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -2
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.d.ts +28 -0
- package/dist/components/navigation/site-footer.d.ts.map +1 -0
- package/dist/components/navigation/site-header.d.ts +61 -0
- package/dist/components/navigation/site-header.d.ts.map +1 -0
- package/dist/components/navigation/site-nav-link.d.ts +26 -0
- package/dist/components/navigation/site-nav-link.d.ts.map +1 -0
- package/dist/components/navigation/top-navigation.d.ts +2 -2
- package/dist/components/navigation/top-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +15 -17
- package/dist/components/onboarding-guides/index.js +14 -16
- package/dist/components/related-content/index.cjs +10 -8
- package/dist/components/related-content/index.js +9 -7
- package/dist/components/tickets/index.cjs +16 -18
- package/dist/components/tickets/index.js +15 -17
- package/dist/components/ui/index.cjs +12 -14
- package/dist/components/ui/index.js +17 -19
- package/dist/hooks/index.cjs +19 -11
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +19 -11
- package/dist/hooks/ui/index.d.ts +3 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-active-section.d.ts +10 -0
- package/dist/hooks/ui/use-active-section.d.ts.map +1 -0
- package/dist/hooks/ui/use-nav-menus.d.ts +48 -0
- package/dist/hooks/ui/use-nav-menus.d.ts.map +1 -0
- package/dist/hooks/ui/use-visitor-os.d.ts +15 -0
- package/dist/hooks/ui/use-visitor-os.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +9 -0
- package/dist/hooks/use-location-hash.d.ts.map +1 -0
- package/dist/index.cjs +55 -22
- package/dist/index.js +229 -196
- package/dist/types/case-study.d.ts +9 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/navigation.d.ts +95 -65
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/index.cjs +55 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +50 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/visitor-os.d.ts +45 -0
- package/dist/utils/visitor-os.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/chat-protocol/nats-decoder.ts +10 -8
- package/src/chat-protocol/source-metadata.ts +25 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +115 -5
- package/src/components/chat/types/message.types.ts +21 -15
- package/src/components/chat/types/unified-chat-state.types.ts +1 -1
- package/src/components/chat/utils/icon-library.tsx +35 -1
- package/src/components/chat/utils/process-historical-messages.ts +12 -4
- package/src/components/index.ts +0 -2
- package/src/components/loading/page-layout-skeleton.tsx +1 -1
- package/src/components/navigation/index.ts +21 -14
- package/src/components/navigation/mingo-ai-button.tsx +139 -63
- package/src/components/navigation/mobile-nav-sheet-id.ts +2 -0
- package/src/components/navigation/mobile-nav-sheet.tsx +241 -0
- package/src/components/navigation/nav-item-row.tsx +129 -0
- package/src/components/navigation/nav-panel.tsx +196 -0
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -2
- package/src/components/navigation/site-footer.tsx +256 -0
- package/src/components/navigation/site-header.tsx +339 -0
- package/src/components/navigation/site-nav-link.tsx +41 -0
- package/src/components/navigation/ticket-alerts-button.tsx +2 -2
- package/src/components/navigation/top-navigation.tsx +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/ui/index.ts +3 -0
- package/src/hooks/ui/use-active-section.ts +44 -0
- package/src/hooks/ui/use-nav-menus.ts +200 -0
- package/src/hooks/ui/use-visitor-os.ts +33 -0
- package/src/hooks/use-location-hash.ts +34 -0
- package/src/styles/chat-animations.css +57 -2
- package/src/types/case-study.ts +16 -0
- package/src/types/navigation.ts +80 -66
- package/src/utils/index.ts +1 -0
- package/src/utils/source-icons.ts +13 -0
- package/src/utils/visitor-os.ts +84 -0
- package/dist/chunk-LMBC5FFP.js +0 -43
- package/dist/chunk-O43V3EOS.js +0 -252
- package/dist/chunk-QZVSJF2K.cjs +0 -252
- package/dist/chunk-RALRPFDW.cjs +0 -43
- package/dist/components/footer-waitlist-button.d.ts +0 -29
- package/dist/components/footer-waitlist-button.d.ts.map +0 -1
- package/dist/components/footer.d.ts +0 -47
- package/dist/components/footer.d.ts.map +0 -1
- package/dist/components/navigation/client-only-header.d.ts +0 -8
- package/dist/components/navigation/client-only-header.d.ts.map +0 -1
- package/dist/components/navigation/header-skeleton.d.ts +0 -12
- package/dist/components/navigation/header-skeleton.d.ts.map +0 -1
- package/dist/components/navigation/header.d.ts +0 -9
- package/dist/components/navigation/header.d.ts.map +0 -1
- package/dist/components/navigation/mobile-nav-panel.d.ts +0 -10
- package/dist/components/navigation/mobile-nav-panel.d.ts.map +0 -1
- package/src/components/footer-waitlist-button.tsx +0 -53
- package/src/components/footer.tsx +0 -195
- package/src/components/navigation/client-only-header.tsx +0 -22
- package/src/components/navigation/header-skeleton.tsx +0 -74
- package/src/components/navigation/header.tsx +0 -429
- package/src/components/navigation/mobile-nav-panel.tsx +0 -155
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useSelfFetch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4IBPRIQH.js";
|
|
5
5
|
import {
|
|
6
6
|
CONTENT_REF_GROUPS,
|
|
7
7
|
Pagination,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-UT4YHQZW.js";
|
|
12
12
|
import {
|
|
13
13
|
pageCount
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CUME3VTQ.js";
|
|
15
15
|
import {
|
|
16
16
|
AiPromptCard,
|
|
17
17
|
AiPromptCardSkeleton,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
decideNewTab,
|
|
43
43
|
extractItemId,
|
|
44
44
|
extractItems
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FI6GMDO7.js";
|
|
46
46
|
|
|
47
47
|
// src/components/related-content/related-content-section.tsx
|
|
48
48
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkL3Q7R7CQcjs = require('./chunk-L3Q7R7CQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkF4E3L3KVcjs = require('./chunk-F4E3L3KV.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkUDFRUKLCcjs = require('./chunk-UDFRUKLC.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,13 +18,12 @@ var _chunkXOYH2YQEcjs = require('./chunk-XOYH2YQE.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk7XVBJDH7cjs = require('./chunk-7XVBJDH7.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
var _chunk3MX5S4CFcjs = require('./chunk-3MX5S4CF.cjs');
|
|
26
|
+
var _chunkAGNG62O2cjs = require('./chunk-AGNG62O2.cjs');
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
|
|
@@ -34,10 +33,11 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
34
33
|
|
|
35
34
|
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
|
|
37
|
+
var _chunk6NTPY5QAcjs = require('./chunk-6NTPY5QA.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkLM7TXMLUcjs = require('./chunk-LM7TXMLU.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
@@ -62,7 +62,7 @@ function OnboardingGuidesCatalogSkeleton() {
|
|
|
62
62
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 rounded bg-ods-border/70" }),
|
|
63
63
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 rounded-full bg-ods-text-secondary/20" })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
65
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
66
66
|
] }, sectionIdx)) })
|
|
67
67
|
] });
|
|
68
68
|
}
|
|
@@ -86,10 +86,10 @@ function OnboardingGuidesCatalogView({
|
|
|
86
86
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
87
87
|
const activeSection = sectionValue || "all";
|
|
88
88
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
89
|
-
const guidesRes =
|
|
89
|
+
const guidesRes = _chunkUDFRUKLCcjs.useSelfFetch.call(void 0,
|
|
90
90
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
91
91
|
);
|
|
92
|
-
const sectionsRes =
|
|
92
|
+
const sectionsRes = _chunkUDFRUKLCcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
93
93
|
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])]);
|
|
94
94
|
const sections = _react.useMemo.call(void 0,
|
|
95
95
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -132,25 +132,25 @@ function OnboardingGuidesCatalogView({
|
|
|
132
132
|
});
|
|
133
133
|
};
|
|
134
134
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
135
|
-
const docSearch =
|
|
135
|
+
const docSearch = _chunkF4E3L3KVcjs.useDocSearch.call(void 0, {
|
|
136
136
|
source,
|
|
137
137
|
baseRoute: basePath,
|
|
138
138
|
onNavigate: (path) => router.push(path),
|
|
139
139
|
tableIds: ["onboarding-guides"]
|
|
140
140
|
});
|
|
141
141
|
const defaultRenderCard = (guide) => {
|
|
142
|
-
const cta =
|
|
142
|
+
const cta = _chunk7XVBJDH7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
143
143
|
type: "onboarding_guide",
|
|
144
144
|
slug: guide.slug,
|
|
145
145
|
basePath,
|
|
146
146
|
platforms: guide.onboarding_guide_platforms
|
|
147
147
|
});
|
|
148
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
149
149
|
};
|
|
150
150
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
151
151
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
152
152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
-
|
|
153
|
+
_chunkF4E3L3KVcjs.DocSearchBar,
|
|
154
154
|
{
|
|
155
155
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
156
156
|
query: docSearch.query,
|
|
@@ -162,7 +162,7 @@ function OnboardingGuidesCatalogView({
|
|
|
162
162
|
}
|
|
163
163
|
),
|
|
164
164
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
-
|
|
165
|
+
_chunk7XVBJDH7cjs.FilterPillRow,
|
|
166
166
|
{
|
|
167
167
|
label: "Section",
|
|
168
168
|
selectedValue: activeSection,
|
|
@@ -172,7 +172,7 @@ function OnboardingGuidesCatalogView({
|
|
|
172
172
|
)
|
|
173
173
|
] });
|
|
174
174
|
if (selfFetch && guidesRes.error) {
|
|
175
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
176
176
|
}
|
|
177
177
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
178
178
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -204,7 +204,7 @@ function OnboardingGuideDetailView({
|
|
|
204
204
|
slug,
|
|
205
205
|
guideEndpoint,
|
|
206
206
|
related = [],
|
|
207
|
-
MarkdownRenderer =
|
|
207
|
+
MarkdownRenderer = _chunk7XVBJDH7cjs.RichMarkdownRenderer,
|
|
208
208
|
renderRelatedCard,
|
|
209
209
|
backHref,
|
|
210
210
|
backLabel = "Back to Getting Started",
|
|
@@ -214,51 +214,51 @@ function OnboardingGuideDetailView({
|
|
|
214
214
|
}) {
|
|
215
215
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
216
216
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
217
|
-
const captions =
|
|
217
|
+
const captions = _chunkAGNG62O2cjs.useCaptions.call(void 0, );
|
|
218
218
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
219
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
219
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
220
220
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
221
|
-
const { data: guide, isLoading, error, reload } =
|
|
222
|
-
const { ref: videoWarmupRef } =
|
|
221
|
+
const { data: guide, isLoading, error, reload } = _chunkUDFRUKLCcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
222
|
+
const { ref: videoWarmupRef } = _chunk6NTPY5QAcjs.useVideoWarmup.call(void 0, {
|
|
223
223
|
videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
|
|
224
224
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
225
225
|
});
|
|
226
226
|
if (error || !guide && !isLoading) {
|
|
227
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
228
228
|
}
|
|
229
229
|
if (!guide) {
|
|
230
230
|
return renderShell(
|
|
231
231
|
// Match the loaded page's top offset (TitleBlock's
|
|
232
232
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL3Q7R7CQcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
236
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
|
|
237
237
|
const videoPoster = guide.main_video_thumbnail || guide.featured_image || guide.og_image_url || // `buildOgPlaceholderUrl` always returns a usable string (relative route at
|
|
238
238
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
239
|
-
|
|
239
|
+
_chunkLM7TXMLUcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
|
|
240
240
|
const defaultRenderRelatedCard = (g) => {
|
|
241
|
-
const cta =
|
|
241
|
+
const cta = _chunk7XVBJDH7cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
242
242
|
type: "onboarding_guide",
|
|
243
243
|
slug: g.slug,
|
|
244
244
|
basePath,
|
|
245
245
|
platforms: g.onboarding_guide_platforms
|
|
246
246
|
});
|
|
247
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
248
248
|
};
|
|
249
249
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
250
250
|
return renderShell(
|
|
251
251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
252
|
-
|
|
252
|
+
_chunk7XVBJDH7cjs.PageLayout,
|
|
253
253
|
{
|
|
254
254
|
title: guide.title,
|
|
255
255
|
titleSize: "h1",
|
|
256
256
|
titleWrap: true,
|
|
257
257
|
backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
|
|
258
258
|
children: [
|
|
259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
260
260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
-
|
|
261
|
+
_chunk6NTPY5QAcjs.EntityAuthorCard,
|
|
262
262
|
{
|
|
263
263
|
author: guide.author,
|
|
264
264
|
authorHref,
|
|
@@ -273,7 +273,7 @@ function OnboardingGuideDetailView({
|
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
275
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
276
|
-
|
|
276
|
+
_chunkAGNG62O2cjs.EntityVideoSection,
|
|
277
277
|
{
|
|
278
278
|
mainVideoUrl: guide.main_video_url,
|
|
279
279
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -291,17 +291,17 @@ function OnboardingGuideDetailView({
|
|
|
291
291
|
) }),
|
|
292
292
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
293
293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
-
|
|
294
|
+
_chunkAGNG62O2cjs.VideoBitesStrip,
|
|
295
295
|
{
|
|
296
296
|
bites: _nullishCoalesce(guide.video_bites, () => ( [])),
|
|
297
297
|
filterPublished: true,
|
|
298
298
|
showTitle: false,
|
|
299
|
-
profile:
|
|
299
|
+
profile: _chunk6NTPY5QAcjs.toStripProfile.call(void 0, guide.author),
|
|
300
300
|
href: `/onboarding-guides/${guide.slug}`
|
|
301
301
|
}
|
|
302
302
|
),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
304
|
-
|
|
304
|
+
_chunkL3Q7R7CQcjs.ArticleAuthorByline,
|
|
305
305
|
{
|
|
306
306
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
307
307
|
avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPLYEKV3Ncjs = require('./chunk-PLYEKV3N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
|
|
|
116
116
|
},
|
|
117
117
|
"aria-hidden": isPaginationDisabled,
|
|
118
118
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
119
|
-
|
|
119
|
+
_chunkPLYEKV3Ncjs.UnifiedPagination,
|
|
120
120
|
{
|
|
121
121
|
currentPage: displayCurrentPage,
|
|
122
122
|
totalPages: displayTotalPages,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4RVC6TCE.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage,
|
|
10
10
|
ListEmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RZNRVXHH.js";
|
|
12
12
|
import {
|
|
13
13
|
EmptyState,
|
|
14
14
|
UnifiedPagination
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F57ECE2I.js";
|
|
16
16
|
import {
|
|
17
17
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
18
18
|
TICKET_TEXT_MAX_CHARS,
|
|
19
19
|
TOAST_COPY,
|
|
20
20
|
isOptimistic,
|
|
21
21
|
useOptionalTicketLive
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2YHNQAMU.js";
|
|
23
23
|
import {
|
|
24
24
|
AlertDialog,
|
|
25
25
|
AlertDialogAction,
|
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
Textarea,
|
|
36
36
|
TicketAttachmentsList,
|
|
37
37
|
devSectionAnchorId
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HTBN3XYF.js";
|
|
39
39
|
import {
|
|
40
40
|
toast,
|
|
41
41
|
useScrollToHash
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KUC673HM.js";
|
|
43
43
|
import {
|
|
44
44
|
PAGE_PARAM_LIMITS,
|
|
45
45
|
pageCount,
|
|
46
46
|
positiveInt
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CUME3VTQ.js";
|
|
48
48
|
import {
|
|
49
49
|
ChatAttachmentAddButton,
|
|
50
50
|
ChatAttachmentChipStrip,
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
formatRelativeTime,
|
|
56
56
|
useChatAttachments,
|
|
57
57
|
useChatIdentity
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-IBQZMRWO.js";
|
|
59
59
|
import {
|
|
60
60
|
STICKY_HEADER_OFFSET_PX,
|
|
61
61
|
scrollElementIntoView
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-CZ7Y7UG4.js";
|
|
63
63
|
import {
|
|
64
64
|
usePathname,
|
|
65
65
|
useRouter,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
SquareAvatar,
|
|
72
72
|
StatusBadge,
|
|
73
73
|
getStatusColorScheme
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-FI6GMDO7.js";
|
|
75
75
|
import {
|
|
76
76
|
embedAuthedFetch
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FXJ3WWUB.js";
|
|
78
78
|
import {
|
|
79
79
|
useRequiredChatRuntime
|
|
80
80
|
} from "./chunk-E4ABZWTJ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_FOLDER_INDEX_FILE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HTBN3XYF.js";
|
|
5
5
|
import {
|
|
6
6
|
scrollElementIntoView
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CZ7Y7UG4.js";
|
|
8
8
|
import {
|
|
9
9
|
cn
|
|
10
10
|
} from "./chunk-7RXWKTAP.js";
|
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEUSDLX5Wcjs = require('../../chunk-EUSDLX5W.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk7XVBJDH7cjs = require('../../chunk-7XVBJDH7.cjs');
|
|
12
12
|
require('../../chunk-HQQE74RO.cjs');
|
|
13
13
|
require('../../chunk-DEY6XXGO.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkWCVZCGK5cjs = require('../../chunk-WCVZCGK5.cjs');
|
|
17
17
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
18
18
|
require('../../chunk-BIZNSF3U.cjs');
|
|
19
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-OF6GEI5A.cjs');
|
|
20
20
|
require('../../chunk-LX22Y43B.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
require('../../chunk-
|
|
24
|
+
var _chunkAGNG62O2cjs = require('../../chunk-AGNG62O2.cjs');
|
|
25
|
+
require('../../chunk-UVTD52MD.cjs');
|
|
26
26
|
require('../../chunk-7DNL734S.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
+
var _chunk6NTPY5QAcjs = require('../../chunk-6NTPY5QA.cjs');
|
|
31
|
+
require('../../chunk-MGHIV4L6.cjs');
|
|
32
|
+
require('../../chunk-LM7TXMLU.cjs');
|
|
30
33
|
|
|
31
34
|
|
|
32
|
-
var _chunkX72J4ACLcjs = require('../../chunk-X72J4ACL.cjs');
|
|
33
|
-
require('../../chunk-N3COXDBH.cjs');
|
|
34
|
-
require('../../chunk-RDW5JAME.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
41
|
-
require('../../chunk-QZVSJF2K.cjs');
|
|
42
|
-
require('../../chunk-RALRPFDW.cjs');
|
|
38
|
+
var _chunkLLSUVPQCcjs = require('../../chunk-LLSUVPQC.cjs');
|
|
39
|
+
require('../../chunk-VX4E6YSB.cjs');
|
|
40
|
+
require('../../chunk-RDW5JAME.cjs');
|
|
43
41
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
44
42
|
require('../../chunk-BM5MVGH3.cjs');
|
|
45
43
|
require('../../chunk-4GFNWALL.cjs');
|
|
@@ -75,7 +73,7 @@ var DEFAULT_CONTACT_FORM_PROPS = {
|
|
|
75
73
|
buttonVariant: "outline",
|
|
76
74
|
buttonClassName: "w-full",
|
|
77
75
|
successToastMessage: "Thank you! We'll reach out to schedule your case study.",
|
|
78
|
-
rescue:
|
|
76
|
+
rescue: _chunkWCVZCGK5cjs.RESCUE_FORMS.caseStudyPitch
|
|
79
77
|
};
|
|
80
78
|
function ShareExperienceSection({
|
|
81
79
|
title = DEFAULT_TITLE,
|
|
@@ -87,7 +85,7 @@ function ShareExperienceSection({
|
|
|
87
85
|
} = {}) {
|
|
88
86
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: `flex flex-col gap-10${className ? ` ${className}` : ""}`, children: [
|
|
89
87
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-primary", children: [
|
|
90
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children:
|
|
88
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children: _chunk6NTPY5QAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
91
89
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-6 max-w-[765px] text-h4", children: subtitle })
|
|
92
90
|
] }),
|
|
93
91
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md border border-ods-border bg-ods-bg p-10", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-10", children: [
|
|
@@ -95,45 +93,45 @@ function ShareExperienceSection({
|
|
|
95
93
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2", children: howItWorksTitle }),
|
|
96
94
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: howItWorksBody })
|
|
97
95
|
] }),
|
|
98
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
96
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7XVBJDH7cjs.BenefitCardGrid, { columns: 4, children: [
|
|
99
97
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
98
|
+
_chunk7XVBJDH7cjs.BenefitCard,
|
|
101
99
|
{
|
|
102
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.G2Icon, { width: 24, height: 24 }) }),
|
|
103
101
|
title: "G2",
|
|
104
102
|
description: "g2.com",
|
|
105
103
|
variant: "auth-figma"
|
|
106
104
|
}
|
|
107
105
|
),
|
|
108
106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
-
|
|
107
|
+
_chunk7XVBJDH7cjs.BenefitCard,
|
|
110
108
|
{
|
|
111
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.CapterraIcon, { width: 24, height: 24 }) }),
|
|
112
110
|
title: "Capterra",
|
|
113
111
|
description: "capterra.com",
|
|
114
112
|
variant: "auth-figma"
|
|
115
113
|
}
|
|
116
114
|
),
|
|
117
115
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
|
-
|
|
116
|
+
_chunk7XVBJDH7cjs.BenefitCard,
|
|
119
117
|
{
|
|
120
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.TrustpilotIcon, { width: 24, height: 24 }) }),
|
|
121
119
|
title: "TrustPilot",
|
|
122
120
|
description: "trustpilot.com",
|
|
123
121
|
variant: "auth-figma"
|
|
124
122
|
}
|
|
125
123
|
),
|
|
126
124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
-
|
|
125
|
+
_chunk7XVBJDH7cjs.BenefitCard,
|
|
128
126
|
{
|
|
129
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.GetAppIcon, { width: 24, height: 24 }) }),
|
|
130
128
|
title: "GetApp",
|
|
131
129
|
description: "getapp.com",
|
|
132
130
|
variant: "auth-figma"
|
|
133
131
|
}
|
|
134
132
|
)
|
|
135
133
|
] }),
|
|
136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUSDLX5Wcjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
|
|
137
135
|
] }) })
|
|
138
136
|
] });
|
|
139
137
|
}
|
|
@@ -143,10 +141,10 @@ function ShareExperienceSection({
|
|
|
143
141
|
function EntityQuotesPanel({ quotes, className }) {
|
|
144
142
|
if (!quotes || quotes.length === 0) return null;
|
|
145
143
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
146
|
-
|
|
144
|
+
_chunk7XVBJDH7cjs.StackedRowsPanel,
|
|
147
145
|
{
|
|
148
146
|
className,
|
|
149
|
-
title: `${
|
|
147
|
+
title: `${_chunk7XVBJDH7cjs.ENTITY_QUOTES_TITLE} \xB7 ${quotes.length}`,
|
|
150
148
|
rows: quotes.map((q) => ({
|
|
151
149
|
id: q.key,
|
|
152
150
|
columns: [
|
|
@@ -172,7 +170,7 @@ function EntityQuotesPanel({ quotes, className }) {
|
|
|
172
170
|
function QuoteCardsStrip({ quotes, className }) {
|
|
173
171
|
if (quotes.length === 0) return null;
|
|
174
172
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
-
|
|
173
|
+
_chunkAGNG62O2cjs.CardsStrip,
|
|
176
174
|
{
|
|
177
175
|
className,
|
|
178
176
|
showTitle: false,
|
|
@@ -180,15 +178,15 @@ function QuoteCardsStrip({ quotes, className }) {
|
|
|
180
178
|
items: [...quotes],
|
|
181
179
|
itemKey: (quote) => quote.key,
|
|
182
180
|
renderCard: (quote, ctx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
183
|
-
|
|
181
|
+
_chunk6NTPY5QAcjs.Card,
|
|
184
182
|
{
|
|
185
183
|
"aria-hidden": ctx.isClone || void 0,
|
|
186
184
|
onPointerEnter: ctx.isTouch ? void 0 : () => ctx.onActivate(ctx.cardKey),
|
|
187
185
|
onPointerLeave: ctx.isTouch ? void 0 : () => ctx.onDeactivate(ctx.cardKey),
|
|
188
186
|
className: "relative shrink-0 rounded-md border-ods-border bg-ods-card p-[var(--spacing-system-sf)] shadow-none hover:border-ods-border-hover",
|
|
189
187
|
children: [
|
|
190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
|
|
189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAGNG62O2cjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative: ctx.isClone })
|
|
192
190
|
]
|
|
193
191
|
},
|
|
194
192
|
ctx.cardKey
|
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-4RVC6TCE.js";
|
|
5
5
|
import {
|
|
6
6
|
BenefitCard,
|
|
7
7
|
BenefitCardGrid,
|
|
8
8
|
ENTITY_QUOTES_TITLE,
|
|
9
9
|
PersonCell,
|
|
10
10
|
StackedRowsPanel
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-HTBN3XYF.js";
|
|
12
12
|
import "../../chunk-LQYXMEYF.js";
|
|
13
13
|
import "../../chunk-4JPLYOS6.js";
|
|
14
14
|
import {
|
|
15
15
|
RESCUE_FORMS
|
|
16
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-KUC673HM.js";
|
|
17
17
|
import "../../chunk-HFL2F4RM.js";
|
|
18
18
|
import "../../chunk-UT4YHQZW.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-CUME3VTQ.js";
|
|
20
20
|
import "../../chunk-PLWMIU72.js";
|
|
21
21
|
import {
|
|
22
22
|
CardHitLayer,
|
|
23
23
|
CardsStrip
|
|
24
|
-
} from "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
} from "../../chunk-IBQZMRWO.js";
|
|
25
|
+
import "../../chunk-CZ7Y7UG4.js";
|
|
26
26
|
import "../../chunk-GY4IZG22.js";
|
|
27
|
+
import {
|
|
28
|
+
Card,
|
|
29
|
+
accentSentenceMarks
|
|
30
|
+
} from "../../chunk-FI6GMDO7.js";
|
|
31
|
+
import "../../chunk-FBZMAPWO.js";
|
|
32
|
+
import "../../chunk-FXJ3WWUB.js";
|
|
27
33
|
import {
|
|
28
34
|
CapterraIcon,
|
|
29
35
|
G2Icon,
|
|
30
36
|
GetAppIcon,
|
|
31
37
|
TrustpilotIcon
|
|
32
|
-
} from "../../chunk-
|
|
33
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-N45D4ZXQ.js";
|
|
39
|
+
import "../../chunk-NCPTID44.js";
|
|
34
40
|
import "../../chunk-OSIKGEBU.js";
|
|
35
|
-
import {
|
|
36
|
-
Card,
|
|
37
|
-
accentSentenceMarks
|
|
38
|
-
} from "../../chunk-CH5232HV.js";
|
|
39
|
-
import "../../chunk-FBZMAPWO.js";
|
|
40
|
-
import "../../chunk-NDESEPW5.js";
|
|
41
|
-
import "../../chunk-O43V3EOS.js";
|
|
42
|
-
import "../../chunk-LMBC5FFP.js";
|
|
43
41
|
import "../../chunk-E4ABZWTJ.js";
|
|
44
42
|
import "../../chunk-FLKJYMVB.js";
|
|
45
43
|
import "../../chunk-INS7KZJB.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CaseStudyCardData } from '../../../types/case-study';
|
|
2
2
|
export interface CaseStudyCardProps {
|
|
3
|
-
study:
|
|
3
|
+
study: CaseStudyCardData;
|
|
4
4
|
/** Detail URL resolved by the caller. */
|
|
5
5
|
href: string;
|
|
6
6
|
/** When `_blank`, opens in a new tab. Set by chat dispatch via
|
|
@@ -10,7 +10,14 @@ export interface CaseStudyCardProps {
|
|
|
10
10
|
targetPlatform?: string | null;
|
|
11
11
|
/** OG placeholder URL, used when `study.featured_image` is missing. */
|
|
12
12
|
placeholderUrl?: string | null;
|
|
13
|
-
|
|
13
|
+
/** `menu` is the site menu's card: the story's video plays muted on hover or
|
|
14
|
+
* focus (the video bites' hover grammar), then who it is about and who tells it. */
|
|
15
|
+
size?: 'default' | 'sm' | 'portrait' | 'menu';
|
|
16
|
+
/** `menu`: mount the hover player (the host passes whether its panel is open,
|
|
17
|
+
* so a closed menu holds no player). Omitted: the card's own viewport gate. */
|
|
18
|
+
mediaMounted?: boolean;
|
|
19
|
+
/** `menu`: runs on click, before the navigation (the host closes its panel). */
|
|
20
|
+
onNavigate?: () => void;
|
|
14
21
|
/** Portrait density: render the content-type chip. Mixed rails only; single-type rails pass false. Default true. */
|
|
15
22
|
showTypeBadge?: boolean;
|
|
16
23
|
className?: string;
|
|
@@ -20,5 +27,5 @@ export interface CaseStudyCardProps {
|
|
|
20
27
|
export declare function CaseStudyCardSkeleton({ size }: {
|
|
21
28
|
size?: 'default' | 'sm' | 'portrait';
|
|
22
29
|
}): import("react").JSX.Element;
|
|
23
|
-
export declare function CaseStudyCard({ study, href, target: targetProp, rel: relProp, targetPlatform, placeholderUrl: placeholderUrlProp, size, showTypeBadge, className, }: CaseStudyCardProps): import("react").JSX.Element;
|
|
30
|
+
export declare function CaseStudyCard({ study, href, target: targetProp, rel: relProp, targetPlatform, placeholderUrl: placeholderUrlProp, size, showTypeBadge, mediaMounted, onNavigate, className, }: CaseStudyCardProps): import("react").JSX.Element;
|
|
24
31
|
//# sourceMappingURL=case-study-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-study-card.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/entity-cards/case-study-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"case-study-card.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/entity-cards/case-study-card.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA0BnE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,iBAAiB,CAAC;IACzB,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb;mDAC+C;IAC/C,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,GAAG,CAAC,EAAE,UAAU,GAAG,qBAAqB,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;yFACqF;IACrF,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;IAC9C;oFACgF;IAChF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,oHAAoH;IACpH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;wEACwE;AACxE,wBAAgB,qBAAqB,CAAC,EAAE,IAAgB,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,UAAU,CAAA;CAAE,+BAoCnG;AAkBD,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAI,EACJ,MAAM,EAAE,UAAU,EAClB,GAAG,EAAE,OAAO,EACZ,cAAc,EACd,cAAc,EAAE,kBAAkB,EAClC,IAAgB,EAChB,aAAoB,EACpB,YAAY,EACZ,UAAU,EACV,SAAS,GACV,EAAE,kBAAkB,+BA2NpB"}
|