@flamingo-stack/openframe-frontend-core 0.0.844 → 0.0.845
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{case-study-card-VN3JBNF5.cjs → case-study-card-DJOHIHYU.cjs} +3 -3
- package/dist/{chunk-GBB7NLN7.cjs → chunk-7P3UJHEG.cjs} +3 -3
- package/dist/{chunk-7ERU4NGF.cjs → chunk-7VKKA64D.cjs} +39 -39
- package/dist/{chunk-23DVVS4I.cjs → chunk-ABL5OBSF.cjs} +110 -110
- package/dist/{chunk-EUEPGHY4.cjs → chunk-BIOSHDXQ.cjs} +14 -11
- package/dist/{chunk-4ASUUB3A.cjs → chunk-BZZE4KIV.cjs} +71 -71
- package/dist/{chunk-EGOCAIZJ.cjs → chunk-D3GUIEDW.cjs} +181 -181
- package/dist/{chunk-MWQOM2EI.cjs → chunk-D5DMWXF2.cjs} +4 -4
- package/dist/{chunk-NMLNZCK2.cjs → chunk-DGQDGCQH.cjs} +2 -2
- package/dist/{chunk-KSPMB4GV.cjs → chunk-EEYYIRS2.cjs} +51 -51
- package/dist/{chunk-6HFTSVVC.cjs → chunk-FLW4WULE.cjs} +8 -8
- package/dist/{chunk-SOTTMZ6U.cjs → chunk-HPXET3LH.cjs} +17 -17
- package/dist/{chunk-B4FUDHRE.cjs → chunk-IU7MNE3S.cjs} +62 -62
- package/dist/{chunk-QPJUQ5YU.cjs → chunk-J2ZSGOUC.cjs} +14 -14
- package/dist/{chunk-WUJGPHF2.cjs → chunk-LOGXNO4Y.cjs} +20 -20
- package/dist/{chunk-6CZVQ72C.cjs → chunk-PGAMWM6C.cjs} +3 -3
- package/dist/{chunk-C2X73N3E.cjs → chunk-PJSTK3OK.cjs} +34 -34
- package/dist/{chunk-6M764K5Z.cjs → chunk-QK2A334V.cjs} +5 -5
- package/dist/{chunk-SC36S7DJ.cjs → chunk-RAJ5FYFL.cjs} +2 -2
- package/dist/{chunk-WPMJUYW3.cjs → chunk-SIFRIUPW.cjs} +79 -79
- package/dist/{chunk-5CPEMPNP.cjs → chunk-TBOWFTEN.cjs} +2 -2
- package/dist/{chunk-SVI3AB3A.cjs → chunk-TRCMVH5W.cjs} +3 -3
- package/dist/{chunk-KSOBM66X.cjs → chunk-TRZN6NGN.cjs} +4 -4
- package/dist/{chunk-RSZZTB5T.cjs → chunk-URP6GYTD.cjs} +49 -49
- package/dist/{chunk-M7QI23GE.cjs → chunk-VQF4QN7D.cjs} +74 -74
- package/dist/{chunk-USUVHAQ7.cjs → chunk-X432Y6RM.cjs} +29 -1
- package/dist/{chunk-IUWCOK3X.cjs → chunk-ZWDENGHZ.cjs} +11 -11
- package/dist/{cloud-tenants-5C32YDIE.cjs → cloud-tenants-BAEVUGHO.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +25 -25
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/faq/index.cjs +12 -12
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/video-hover-preview.d.ts +7 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +4 -1
- package/dist/components/features/video-shared.d.ts +2 -0
- package/dist/components/features/video-shared.d.ts.map +1 -1
- package/dist/components/features/video-shared.js +29 -1
- package/dist/components/help-center-pages/index.cjs +85 -85
- package/dist/components/index.cjs +55 -55
- package/dist/components/meeting-scheduler/index.cjs +36 -36
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/product-demo/index.cjs +19 -19
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/ui/index.cjs +10 -10
- package/dist/{devices-F2ENCTJM.cjs → devices-IXWCDJAP.cjs} +11 -11
- package/dist/{embeddable-chat-C6DUH2JL.cjs → embeddable-chat-Z3S37SSM.cjs} +78 -78
- package/dist/index.cjs +14 -14
- package/dist/{knowledge-ZNUNREKL.cjs → knowledge-LMWQ6EOF.cjs} +11 -11
- package/dist/{logs-DHZFCX2I.cjs → logs-PRYX25NH.cjs} +17 -17
- package/dist/{policies-2FKRLSOC.cjs → policies-PQZNRL3M.cjs} +14 -14
- package/dist/{scripts-J3J7XCT4.cjs → scripts-LDPZN73H.cjs} +15 -15
- package/dist/{software-update-AIQHLJ5O.cjs → software-update-URVEWPXZ.cjs} +13 -13
- package/dist/{video-file-player-IHO66P2Q.cjs → video-file-player-XMOB234V.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/features/video-hover-preview.tsx +48 -38
- package/src/components/features/video-shared.tsx +36 -0
|
@@ -8,13 +8,13 @@ var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkBZZE4KIVcjs = require('./chunk-BZZE4KIV.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSIFRIUPWcjs = require('./chunk-SIFRIUPW.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -33,10 +33,10 @@ var _chunkIX2E3AN7cjs = require('./chunk-IX2E3AN7.cjs');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkFLW4WULEcjs = require('./chunk-FLW4WULE.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkABL5OBSFcjs = require('./chunk-ABL5OBSF.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
|
|
@@ -82,7 +82,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
|
|
|
82
82
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
83
83
|
"div",
|
|
84
84
|
{
|
|
85
|
-
id:
|
|
85
|
+
id: _chunkSIFRIUPWcjs.faqItemAnchor.call(void 0, item.id),
|
|
86
86
|
className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
|
|
87
87
|
"data-loading-item": true,
|
|
88
88
|
children: [
|
|
@@ -148,14 +148,14 @@ function FaqAccordionSkeleton({
|
|
|
148
148
|
|
|
149
149
|
var PICK_ROOT_MARGIN = "600px";
|
|
150
150
|
function faqAskCardShown(assistant) {
|
|
151
|
-
return
|
|
151
|
+
return _chunkBZZE4KIVcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
152
152
|
}
|
|
153
153
|
function FaqAskCard({ exclude, count, title, description, onOpen }) {
|
|
154
154
|
const { ref, inView } = _chunkXCVH5BCZcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
155
155
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
156
156
|
if (inView && !reached) setReached(true);
|
|
157
157
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
-
|
|
158
|
+
_chunkBZZE4KIVcjs.AssistantAskPrompts,
|
|
159
159
|
{
|
|
160
160
|
variant: "card",
|
|
161
161
|
count,
|
|
@@ -214,7 +214,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
|
|
|
214
214
|
var FAQ_NAV_SKELETON_PILLS = 8;
|
|
215
215
|
var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
|
|
216
216
|
var CATEGORY_SECTION_CLASS = "scroll-mt-24";
|
|
217
|
-
var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
217
|
+
var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkABL5OBSFcjs.SECTION_HEADING_CLASS, "pb-4");
|
|
218
218
|
var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
|
|
219
219
|
function FaqLayout({
|
|
220
220
|
heading,
|
|
@@ -240,11 +240,11 @@ function FaqLayout({
|
|
|
240
240
|
] });
|
|
241
241
|
}
|
|
242
242
|
function faqHeadingNode(heading, showTopic, topic) {
|
|
243
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
243
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkABL5OBSFcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
244
244
|
if (!(showTopic && topic)) return titleNode;
|
|
245
245
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
|
|
246
246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
|
|
247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.PageTopicLabel, {})
|
|
248
248
|
] });
|
|
249
249
|
}
|
|
250
250
|
var PAGE_FAQ_SECTION_ID = "faq";
|
|
@@ -255,7 +255,7 @@ function SharedPageFaq() {
|
|
|
255
255
|
}
|
|
256
256
|
function buildFaqsUrl(endpoint, entityType, entityId, minResults, topic) {
|
|
257
257
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
258
|
-
return
|
|
258
|
+
return _chunkFLW4WULEcjs.buildSuggestionUrl.call(void 0, endpoint, {
|
|
259
259
|
entityType,
|
|
260
260
|
entityId,
|
|
261
261
|
count: minResults,
|
|
@@ -275,7 +275,7 @@ function groupFaqsBySection(faqs) {
|
|
|
275
275
|
}
|
|
276
276
|
let group = byName.get(name);
|
|
277
277
|
if (!group) {
|
|
278
|
-
group = { section: name, slug:
|
|
278
|
+
group = { section: name, slug: _chunkSIFRIUPWcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
279
279
|
byName.set(name, group);
|
|
280
280
|
}
|
|
281
281
|
group.items.push(item);
|
|
@@ -331,7 +331,7 @@ function GroupedFaqList({
|
|
|
331
331
|
}, [slugKey]);
|
|
332
332
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
333
333
|
_react.useEffect.call(void 0, () => {
|
|
334
|
-
const refresh = () => setHashTarget(
|
|
334
|
+
const refresh = () => setHashTarget(_chunkSIFRIUPWcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
335
335
|
refresh();
|
|
336
336
|
window.addEventListener("hashchange", refresh);
|
|
337
337
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -435,7 +435,7 @@ function FaqSection({
|
|
|
435
435
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
436
436
|
[initialFaqs]
|
|
437
437
|
);
|
|
438
|
-
const { data, dataUrl, isLoading, error } =
|
|
438
|
+
const { data, dataUrl, isLoading, error } = _chunkFLW4WULEcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
|
|
439
439
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
|
|
440
440
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
441
441
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkCNMXP77Icjs = require('./chunk-CNMXP77I.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJ2ZSGOUCcjs = require('./chunk-J2ZSGOUC.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,16 +13,16 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkD3GUIEDWcjs = require('./chunk-D3GUIEDW.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkWCK5T3UDcjs = require('./chunk-WCK5T3UD.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkBZZE4KIVcjs = require('./chunk-BZZE4KIV.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkSIFRIUPWcjs = require('./chunk-SIFRIUPW.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -31,13 +31,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkABL5OBSFcjs = require('./chunk-ABL5OBSF.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunk5GBLXY5Fcjs = require('./chunk-5GBLXY5F.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkBIOSHDXQcjs = require('./chunk-BIOSHDXQ.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -125,7 +125,7 @@ function usePageDataSync(sync, loading) {
|
|
|
125
125
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
126
126
|
|
|
127
127
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
128
|
-
const section =
|
|
128
|
+
const section = _chunkBZZE4KIVcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
129
129
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
130
130
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
131
131
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -163,11 +163,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
163
163
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
164
164
|
};
|
|
165
165
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { stated: section.mirrored, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
166
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
166
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABL5OBSFcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
167
167
|
preControls,
|
|
168
168
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
169
169
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkSIFRIUPWcjs.SearchInput,
|
|
171
171
|
{
|
|
172
172
|
showDropdown: false,
|
|
173
173
|
placeholder: search.placeholder,
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkD3GUIEDWcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -201,7 +201,7 @@ function DevSectionPage({
|
|
|
201
201
|
shell = true
|
|
202
202
|
}) {
|
|
203
203
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
204
|
-
const section =
|
|
204
|
+
const section = _chunkBZZE4KIVcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
205
205
|
const backCfg = backButton === false ? void 0 : {
|
|
206
206
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
207
207
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -223,12 +223,12 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ2ZSGOUCcjs.SharedPageFaq, {})
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -258,7 +258,7 @@ function DevCardRowContentSkeleton(props) {
|
|
|
258
258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h5", className: "w-1/2" }) }),
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) })
|
|
260
260
|
] }),
|
|
261
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_BADGES_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_BADGES_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { loading: true, text: "", variant: "card" }) })
|
|
262
262
|
] });
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -290,7 +290,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
290
290
|
const taskType = item.taskType;
|
|
291
291
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
292
292
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
293
|
-
const statusBadgeScheme =
|
|
293
|
+
const statusBadgeScheme = _chunkABL5OBSFcjs.getStatusColorScheme.call(void 0, item.status);
|
|
294
294
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
295
295
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
296
296
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
@@ -302,7 +302,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
302
302
|
] }),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
304
304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
305
|
-
|
|
305
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
306
306
|
{
|
|
307
307
|
text: item.status.toUpperCase(),
|
|
308
308
|
colorScheme: statusBadgeScheme,
|
|
@@ -311,7 +311,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
-
|
|
314
|
+
_chunkBIOSHDXQcjs.StatusBadge,
|
|
315
315
|
{
|
|
316
316
|
text: typeBadgeLabel,
|
|
317
317
|
variant: "card",
|
|
@@ -359,8 +359,8 @@ function DeliveryRowSkeleton({ caption, className }) {
|
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", lines: 2, className: "w-full" }) })
|
|
360
360
|
] }),
|
|
361
361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { loading: true, text: "", variant: "card" }),
|
|
363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIOSHDXQcjs.StatusBadge, { loading: true, text: "", variant: "card" })
|
|
364
364
|
] })
|
|
365
365
|
] }) });
|
|
366
366
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkX432Y6RMcjs = require('./chunk-X432Y6RM.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
|
|
@@ -22,8 +22,8 @@ function useVideoOriginPreconnect({ supabaseStorageOrigin } = {}) {
|
|
|
22
22
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
23
23
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.supabaseStorageOrigin])));
|
|
24
24
|
try {
|
|
25
|
-
_reactdom2.default.preconnect(
|
|
26
|
-
_reactdom2.default.preconnect(
|
|
25
|
+
_reactdom2.default.preconnect(_chunkX432Y6RMcjs.MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
|
|
26
|
+
_reactdom2.default.preconnect(_chunkX432Y6RMcjs.MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
|
|
27
27
|
if (resolvedOrigin) {
|
|
28
28
|
_reactdom2.default.preconnect(resolvedOrigin, { crossOrigin: "anonymous" });
|
|
29
29
|
}
|
|
@@ -1,47 +1,47 @@
|
|
|
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 _chunkRAJ5FYFLcjs = require('./chunk-RAJ5FYFL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQK2A334Vcjs = require('./chunk-QK2A334V.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkD3GUIEDWcjs = require('./chunk-D3GUIEDW.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkWCK5T3UDcjs = require('./chunk-WCK5T3UD.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkBZZE4KIVcjs = require('./chunk-BZZE4KIV.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkSIFRIUPWcjs = require('./chunk-SIFRIUPW.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkPGAMWM6Ccjs = require('./chunk-PGAMWM6C.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkFLW4WULEcjs = require('./chunk-FLW4WULE.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkABL5OBSFcjs = require('./chunk-ABL5OBSF.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkBIOSHDXQcjs = require('./chunk-BIOSHDXQ.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkPZNWIJRZcjs = require('./chunk-PZNWIJRZ.cjs');
|
|
@@ -75,7 +75,7 @@ function OnboardingCatalogSectionsSkeleton() {
|
|
|
75
75
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
|
|
76
76
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
|
|
77
77
|
] }),
|
|
78
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABL5OBSFcjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
|
|
79
79
|
] }) });
|
|
80
80
|
}
|
|
81
81
|
function OnboardingGuidesCatalogView({
|
|
@@ -96,10 +96,10 @@ function OnboardingGuidesCatalogView({
|
|
|
96
96
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
97
97
|
const activeSection = sectionValue || "all";
|
|
98
98
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
99
|
-
const guidesRes =
|
|
99
|
+
const guidesRes = _chunkFLW4WULEcjs.useSelfFetch.call(void 0,
|
|
100
100
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
101
101
|
);
|
|
102
|
-
const sectionsRes =
|
|
102
|
+
const sectionsRes = _chunkFLW4WULEcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
103
103
|
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])]);
|
|
104
104
|
const sections = _react.useMemo.call(void 0,
|
|
105
105
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -143,25 +143,25 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkQK2A334Vcjs.useDocSearch.call(void 0, {
|
|
147
147
|
source,
|
|
148
148
|
baseRoute: basePath,
|
|
149
149
|
onNavigate: (path) => router.push(path),
|
|
150
150
|
tableIds: ["onboarding-guides"]
|
|
151
151
|
});
|
|
152
152
|
const defaultRenderCard = (guide) => {
|
|
153
|
-
const cta =
|
|
153
|
+
const cta = _chunkBZZE4KIVcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
154
154
|
type: "onboarding_guide",
|
|
155
155
|
slug: guide.slug,
|
|
156
156
|
basePath,
|
|
157
157
|
platforms: guide.onboarding_guide_platforms
|
|
158
158
|
});
|
|
159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABL5OBSFcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
160
160
|
};
|
|
161
161
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
162
162
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkQK2A334Vcjs.DocSearchBar,
|
|
165
165
|
{
|
|
166
166
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
167
167
|
query: docSearch.query,
|
|
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
|
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
175
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
-
|
|
176
|
+
_chunkD3GUIEDWcjs.FilterPillRow,
|
|
177
177
|
{
|
|
178
178
|
label: "Section",
|
|
179
179
|
selectedValue: activeSection,
|
|
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
|
|
|
184
184
|
)
|
|
185
185
|
] });
|
|
186
186
|
if (!loading && selfFetch && guidesRes.error) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
188
188
|
}
|
|
189
189
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
190
190
|
preControls,
|
|
@@ -200,7 +200,7 @@ function OnboardingGuidesCatalogView({
|
|
|
200
200
|
)
|
|
201
201
|
] });
|
|
202
202
|
if (!loading) return view;
|
|
203
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
|
|
204
204
|
}
|
|
205
205
|
function OnboardingCatalogSections({
|
|
206
206
|
grouped,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunkD3GUIEDWcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -314,9 +314,9 @@ function OnboardingGuideDetailView({
|
|
|
314
314
|
}) {
|
|
315
315
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
|
-
const captions =
|
|
317
|
+
const captions = _chunkSIFRIUPWcjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
320
320
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
321
321
|
const scoped = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -324,17 +324,17 @@ function OnboardingGuideDetailView({
|
|
|
324
324
|
isLoading,
|
|
325
325
|
error,
|
|
326
326
|
reload
|
|
327
|
-
} =
|
|
327
|
+
} = _chunkFLW4WULEcjs.useSelfFetch.call(void 0, scoped ? null : url, {
|
|
328
328
|
initialData
|
|
329
329
|
});
|
|
330
|
-
const { ref: videoWarmupRef } =
|
|
330
|
+
const { ref: videoWarmupRef } = _chunkPGAMWM6Ccjs.useVideoWarmup.call(void 0, {
|
|
331
331
|
videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
|
|
332
332
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
333
333
|
});
|
|
334
334
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
335
335
|
const loading = scoped || !guide && isLoading;
|
|
336
336
|
if (!loading && (error || !guide)) {
|
|
337
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
338
338
|
}
|
|
339
339
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
340
340
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -342,19 +342,19 @@ function OnboardingGuideDetailView({
|
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
343
|
_chunkPZNWIJRZcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
344
344
|
const defaultRenderRelatedCard = (g) => {
|
|
345
|
-
const cta =
|
|
345
|
+
const cta = _chunkBZZE4KIVcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
346
346
|
type: "onboarding_guide",
|
|
347
347
|
slug: g.slug,
|
|
348
348
|
basePath,
|
|
349
349
|
platforms: g.onboarding_guide_platforms
|
|
350
350
|
});
|
|
351
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABL5OBSFcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
354
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWCK5T3UDcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3GUIEDWcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkABL5OBSFcjs.EntityAuthorCard,
|
|
358
358
|
{
|
|
359
359
|
author: view.author,
|
|
360
360
|
authorHref,
|
|
@@ -370,7 +370,7 @@ function OnboardingGuideDetailView({
|
|
|
370
370
|
),
|
|
371
371
|
!loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
|
|
372
372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
373
|
-
|
|
373
|
+
_chunkSIFRIUPWcjs.EntityVideoSection,
|
|
374
374
|
{
|
|
375
375
|
mainVideoUrl: view.main_video_url,
|
|
376
376
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -387,17 +387,17 @@ function OnboardingGuideDetailView({
|
|
|
387
387
|
) }),
|
|
388
388
|
(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, () => ( "")) }) }),
|
|
389
389
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
|
|
390
|
+
_chunkSIFRIUPWcjs.VideoBitesStrip,
|
|
391
391
|
{
|
|
392
392
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
393
393
|
filterPublished: true,
|
|
394
394
|
showTitle: false,
|
|
395
|
-
profile:
|
|
395
|
+
profile: _chunkBIOSHDXQcjs.toStripProfile.call(void 0, view.author),
|
|
396
396
|
href: `/onboarding-guides/${view.slug}`
|
|
397
397
|
}
|
|
398
398
|
) }),
|
|
399
399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
400
|
-
|
|
400
|
+
_chunkRAJ5FYFLcjs.ArticleAuthorByline,
|
|
401
401
|
{
|
|
402
402
|
author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
403
403
|
avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -410,7 +410,7 @@ function OnboardingGuideDetailView({
|
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RelatedGuides, { section: view.section, related, renderCard: renderRelatedCardFn }),
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: relatedContent }, "related-content")
|
|
412
412
|
] });
|
|
413
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSIFRIUPWcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
// src/components/onboarding-guides/hooks/use-onboarding-guides.ts
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSIFRIUPWcjs = require('./chunk-SIFRIUPW.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
35
35
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
36
36
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
37
37
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
38
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
38
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkSIFRIUPWcjs.resolveSourceIcon.call(void 0, {
|
|
39
39
|
sourceRepo,
|
|
40
40
|
documentType: docType
|
|
41
41
|
});
|
|
@@ -65,7 +65,7 @@ function DocSearchBar({
|
|
|
65
65
|
renderResult
|
|
66
66
|
}) {
|
|
67
67
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
68
|
-
|
|
68
|
+
_chunkSIFRIUPWcjs.SearchInput,
|
|
69
69
|
{
|
|
70
70
|
placeholder,
|
|
71
71
|
value: query,
|
|
@@ -115,7 +115,7 @@ function mapDocSearchResults(docs) {
|
|
|
115
115
|
results.push({
|
|
116
116
|
id: `group-${entry.repo}`,
|
|
117
117
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
118
|
-
title: `${
|
|
118
|
+
title: `${_chunkSIFRIUPWcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkSIFRIUPWcjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
119
119
|
path: rows[0].path,
|
|
120
120
|
type: "file",
|
|
121
121
|
metadata: {
|
|
@@ -314,7 +314,7 @@ function useDocSearch(config) {
|
|
|
314
314
|
}
|
|
315
315
|
case "ask-ai":
|
|
316
316
|
setKeepOpen(false);
|
|
317
|
-
window.dispatchEvent(new CustomEvent(
|
|
317
|
+
window.dispatchEvent(new CustomEvent(_chunkSIFRIUPWcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
318
318
|
return;
|
|
319
319
|
case "route":
|
|
320
320
|
setKeepOpen(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkABL5OBSFcjs = require('./chunk-ABL5OBSF.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
|
|
|
52
52
|
proxyImageUrl,
|
|
53
53
|
className
|
|
54
54
|
}) {
|
|
55
|
-
const proxiedAvatar =
|
|
55
|
+
const proxiedAvatar = _chunkABL5OBSFcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
|
|
56
56
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
57
57
|
if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
|
|
58
58
|
if (!author) return null;
|