@flamingo-stack/openframe-frontend-core 0.0.782 → 0.0.783
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/{chunk-QV4GHAWN.cjs → chunk-3PKORICR.cjs} +42 -42
- package/dist/{chunk-N7QNWHJA.cjs → chunk-62TMGBRO.cjs} +1 -1
- package/dist/{chunk-GFRKNUJZ.cjs → chunk-6NEWJ6I2.cjs} +13 -13
- package/dist/{chunk-YX7X5QQN.cjs → chunk-AFSVWR3X.cjs} +10 -10
- package/dist/{chunk-IZKEWQJN.cjs → chunk-APO7GMZQ.cjs} +2 -2
- package/dist/{chunk-I7LRZR4Q.cjs → chunk-BAJB3JF3.cjs} +3 -3
- package/dist/{chunk-JGKPEGZN.cjs → chunk-H3RHAN6B.cjs} +35 -35
- package/dist/{chunk-C5UUWXHE.cjs → chunk-KRXHRL3W.cjs} +41 -41
- package/dist/{chunk-2EXD2RSC.cjs → chunk-LGISRUGF.cjs} +2 -2
- package/dist/{chunk-VZUV2FCP.cjs → chunk-PQSTPJQQ.cjs} +2 -2
- package/dist/{chunk-C42BXIY7.cjs → chunk-RL45AU2C.cjs} +11 -11
- package/dist/{chunk-A4YUTS6Q.cjs → chunk-THOGSAFH.cjs} +78 -78
- package/dist/{chunk-MDGDL3C7.cjs → chunk-URFAMWCA.cjs} +5 -5
- package/dist/{chunk-7DKDVJMR.cjs → chunk-WHNI4QTG.cjs} +3 -3
- package/dist/{chunk-LTF6UDGO.cjs → chunk-WS7IDGEL.cjs} +4 -4
- package/dist/{chunk-VH3KQSI2.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
- package/dist/{chunk-ISB7LW3D.cjs → chunk-YU23M33V.cjs} +28 -28
- package/dist/{cloud-tenants-LXKEG5N4.cjs → cloud-tenants-QYW3MPPP.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.js +120 -98
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-PYJRYIQN.cjs → devices-DMMMEO2B.cjs} +4 -4
- package/dist/{embeddable-chat-7MSM62UC.cjs → embeddable-chat-OSSPL7L4.cjs} +120 -98
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-R4H2ZDX2.cjs → knowledge-XQQXVV6C.cjs} +3 -3
- package/dist/{logs-YWL6NK24.cjs → logs-BHKMDCBP.cjs} +11 -11
- package/dist/{policies-3COFYSKB.cjs → policies-5IY7QUED.cjs} +7 -7
- package/dist/{scripts-72EJDICT.cjs → scripts-ZQXRBGVK.cjs} +8 -8
- package/dist/{software-update-PPUVCLPO.cjs → software-update-RGFRYL3N.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +21 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkAFSVWR3Xcjs = require('./chunk-AFSVWR3X.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkYXZOP726cjs = require('./chunk-YXZOP726.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkBAJB3JF3cjs = require('./chunk-BAJB3JF3.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunkI7LRZR4Qcjs = require('./chunk-I7LRZR4Q.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkTS6TISIFcjs = require('./chunk-TS6TISIF.cjs');
|
|
@@ -36,7 +36,7 @@ var _chunkCBKXU77Hcjs = require('./chunk-CBKXU77H.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -114,8 +114,8 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
114
114
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
115
115
|
var PRODUCT_RELEASES_PAGE_SIZE = 5;
|
|
116
116
|
var PAGER_ROW_CLASS = "flex w-full justify-center";
|
|
117
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
118
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
117
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
118
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
119
119
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
120
120
|
function ReleaseRow({
|
|
121
121
|
release,
|
|
@@ -124,7 +124,7 @@ function ReleaseRow({
|
|
|
124
124
|
}) {
|
|
125
125
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
126
126
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
127
|
-
const cta =
|
|
127
|
+
const cta = _chunk62TMGBROcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
128
128
|
type: "product_release",
|
|
129
129
|
slug: release.slug,
|
|
130
130
|
basePath,
|
|
@@ -184,7 +184,7 @@ function ProductReleasesView({
|
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunkAFSVWR3Xcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
188
188
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
189
189
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
190
190
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -203,10 +203,10 @@ function ProductReleasesView({
|
|
|
203
203
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
204
204
|
};
|
|
205
205
|
if (error) {
|
|
206
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
207
207
|
}
|
|
208
208
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "flex w-full flex-col gap-[40px]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[600px] items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
-
|
|
209
|
+
_chunkAFSVWR3Xcjs.ListEmptyState,
|
|
210
210
|
{
|
|
211
211
|
isFiltered: hasActiveFilters,
|
|
212
212
|
filtered: {
|
|
@@ -319,7 +319,7 @@ function MediaGalleryStripSkeleton({
|
|
|
319
319
|
var _lucidereact = require('lucide-react');
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
var DefaultMarkdownRenderer =
|
|
322
|
+
var DefaultMarkdownRenderer = _chunkTHOGSAFHcjs.RichMarkdownRenderer;
|
|
323
323
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
324
324
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
325
325
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -369,7 +369,7 @@ function ReleaseDetailPage({
|
|
|
369
369
|
}) {
|
|
370
370
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
371
371
|
const captions = _chunk7OJMOG34cjs.useCaptions.call(void 0, );
|
|
372
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
373
373
|
const seed = initialData == null ? void 0 : initialData;
|
|
374
374
|
const {
|
|
375
375
|
data: release,
|
|
@@ -475,7 +475,7 @@ function ReleaseDetailPage({
|
|
|
475
475
|
children: [
|
|
476
476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
477
477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
-
|
|
478
|
+
_chunkTHOGSAFHcjs.EntityTagBadges,
|
|
479
479
|
{
|
|
480
480
|
tags: view.product_release_tags,
|
|
481
481
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkTHOGSAFHcjs.ReleaseChangelogSection,
|
|
560
560
|
{
|
|
561
561
|
title: "Breaking Changes",
|
|
562
562
|
entries: breakingChanges || [],
|
|
@@ -568,7 +568,7 @@ function ReleaseDetailPage({
|
|
|
568
568
|
}
|
|
569
569
|
),
|
|
570
570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
571
|
-
|
|
571
|
+
_chunkTHOGSAFHcjs.ReleaseChangelogSection,
|
|
572
572
|
{
|
|
573
573
|
title: "Features Added",
|
|
574
574
|
entries: featuresAdded || [],
|
|
@@ -578,7 +578,7 @@ function ReleaseDetailPage({
|
|
|
578
578
|
}
|
|
579
579
|
),
|
|
580
580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
581
|
-
|
|
581
|
+
_chunkTHOGSAFHcjs.ReleaseChangelogSection,
|
|
582
582
|
{
|
|
583
583
|
title: "Bugs Fixed",
|
|
584
584
|
entries: bugFixed || [],
|
|
@@ -588,7 +588,7 @@ function ReleaseDetailPage({
|
|
|
588
588
|
}
|
|
589
589
|
),
|
|
590
590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
591
|
-
|
|
591
|
+
_chunkTHOGSAFHcjs.ReleaseChangelogSection,
|
|
592
592
|
{
|
|
593
593
|
title: "Improvements",
|
|
594
594
|
entries: improvements || [],
|
|
@@ -617,9 +617,9 @@ function ReleaseDetailPage({
|
|
|
617
617
|
return deliveryLoading ? (
|
|
618
618
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
619
619
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.FadePreview, { fixedHeight: true, collapsedHeight: DELIVERY_PREVIEW_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DELIVERY_TABLES_STACK_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) }) }) })
|
|
621
621
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
-
|
|
622
|
+
_chunkTHOGSAFHcjs.FadePreview,
|
|
623
623
|
{
|
|
624
624
|
hiddenCount: deliveryCount - 1,
|
|
625
625
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -880,7 +880,7 @@ function RoadmapGridSingle({
|
|
|
880
880
|
_chunk5XAWVXNIcjs.RoadmapCard,
|
|
881
881
|
{
|
|
882
882
|
item,
|
|
883
|
-
id:
|
|
883
|
+
id: _chunk62TMGBROcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
884
884
|
userVote: getVote(item.id),
|
|
885
885
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
886
886
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1015,7 +1015,7 @@ function RoadmapGrid({
|
|
|
1015
1015
|
);
|
|
1016
1016
|
}
|
|
1017
1017
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1018
|
-
|
|
1018
|
+
_chunkTHOGSAFHcjs.Accordion,
|
|
1019
1019
|
{
|
|
1020
1020
|
type: "multiple",
|
|
1021
1021
|
value: expandedQuarters,
|
|
@@ -1025,14 +1025,14 @@ function RoadmapGrid({
|
|
|
1025
1025
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1026
1026
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1027
1027
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1028
|
-
|
|
1028
|
+
_chunkTHOGSAFHcjs.AccordionItem,
|
|
1029
1029
|
{
|
|
1030
1030
|
value: quarter,
|
|
1031
1031
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1032
1032
|
className: "border-0",
|
|
1033
1033
|
"data-loading-item": true,
|
|
1034
1034
|
children: [
|
|
1035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:ml-auto [&>svg]:h-5 [&>svg]:w-5 [&>svg]:shrink-0 [&>svg]:text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: QUARTER_HEAD_CLASS, children: [
|
|
1036
1036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1037
1037
|
"h3",
|
|
1038
1038
|
{
|
|
@@ -1062,7 +1062,7 @@ function RoadmapGrid({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
)
|
|
1064
1064
|
] }) }),
|
|
1065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.AccordionContent, { className: "overflow-hidden pb-0 pt-4 data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1066
1066
|
RoadmapGridSingle,
|
|
1067
1067
|
{
|
|
1068
1068
|
items: itemsByQuarter[quarter],
|
|
@@ -1088,8 +1088,8 @@ function RoadmapGrid({
|
|
|
1088
1088
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1089
1089
|
var NO_ITEMS = [];
|
|
1090
1090
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1091
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1092
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1091
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1092
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1093
1093
|
function RoadmapView({
|
|
1094
1094
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1095
1095
|
initialItems,
|
|
@@ -1113,18 +1113,18 @@ function RoadmapView({
|
|
|
1113
1113
|
});
|
|
1114
1114
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1115
1115
|
_chunkCBKXU77Hcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1116
|
-
const syncInPage =
|
|
1116
|
+
const syncInPage = _chunkAFSVWR3Xcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1117
1117
|
if (error) {
|
|
1118
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1118
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1119
1119
|
}
|
|
1120
1120
|
if (isLoading && !data) {
|
|
1121
1121
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1122
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1122
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataSyncLine, { loading: true }),
|
|
1123
1123
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1124
1124
|
] });
|
|
1125
1125
|
}
|
|
1126
1126
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1127
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1127
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1128
1128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1129
1129
|
RoadmapGrid,
|
|
1130
1130
|
{
|
|
@@ -1148,7 +1148,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkODDUGLYFcjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1148
1148
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1149
1149
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1150
1150
|
function DeliveryTableSkeleton() {
|
|
1151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGEUZRNQcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1151
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGEUZRNQcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAFSVWR3Xcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1152
1152
|
}
|
|
1153
1153
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1154
1154
|
if (_chunkMGEUZRNQcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1161,7 +1161,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1161
1161
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1162
1162
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1163
1163
|
// outer wrapper here ONLY exists for the row separators.
|
|
1164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAFSVWR3Xcjs.DeliveryRow, { item, id: _chunk62TMGBROcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1165
1165
|
)) }) });
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
@@ -1170,8 +1170,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1170
1170
|
|
|
1171
1171
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1172
1172
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1173
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1174
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1173
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1174
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunk62TMGBROcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1175
1175
|
function DeliveryLists({
|
|
1176
1176
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1177
1177
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1246,18 +1246,18 @@ function DeliveryLists({
|
|
|
1246
1246
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1247
1247
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1248
1248
|
_chunkCBKXU77Hcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1249
|
-
const syncInPage =
|
|
1249
|
+
const syncInPage = _chunkAFSVWR3Xcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1250
1250
|
const showCompleted = true;
|
|
1251
1251
|
const showInProgress = true;
|
|
1252
1252
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1253
1253
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1254
1254
|
if (error) {
|
|
1255
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1255
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1256
1256
|
}
|
|
1257
1257
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1258
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1258
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1259
1259
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1260
|
-
|
|
1260
|
+
_chunkAFSVWR3Xcjs.ListEmptyState,
|
|
1261
1261
|
{
|
|
1262
1262
|
isFiltered: hasActiveFilters,
|
|
1263
1263
|
filtered: {
|
|
@@ -1494,7 +1494,7 @@ function LegalDocumentPage({
|
|
|
1494
1494
|
emptyStateMessage: emptyStateMessageProp,
|
|
1495
1495
|
initialData = null,
|
|
1496
1496
|
apiEndpoint,
|
|
1497
|
-
MarkdownRenderer =
|
|
1497
|
+
MarkdownRenderer = _chunkTHOGSAFHcjs.RichMarkdownRenderer,
|
|
1498
1498
|
documentsEndpoint,
|
|
1499
1499
|
backButton,
|
|
1500
1500
|
faq,
|
|
@@ -1525,7 +1525,7 @@ function LegalDocumentPage({
|
|
|
1525
1525
|
titleSize: "h1",
|
|
1526
1526
|
titleWrap: true,
|
|
1527
1527
|
children: [
|
|
1528
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1528
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1529
1529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "flex-1", isLoading && "w-full"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: "space-y-2", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LegalDocumentSkeleton, {}) : error ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 text-center", children: [
|
|
1530
1530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1531
1531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1545,11 +1545,11 @@ function LegalDocumentPage({
|
|
|
1545
1545
|
"for more information."
|
|
1546
1546
|
] })
|
|
1547
1547
|
] }) }) }) }) }),
|
|
1548
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1548
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBAJB3JF3cjs.FaqSection, { ..._chunkBAJB3JF3cjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1549
1549
|
]
|
|
1550
1550
|
}
|
|
1551
1551
|
);
|
|
1552
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1552
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
1555
|
|
|
@@ -5300,7 +5300,7 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5300
5300
|
|
|
5301
5301
|
// src/components/chat/index.ts
|
|
5302
5302
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5303
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5303
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-OSSPL7L4.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5304
5304
|
);
|
|
5305
5305
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5306
5306
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
@@ -5,20 +5,20 @@ var _chunk3INHO6GPcjs = require('./chunk-3INHO6GP.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPQSTPJQQcjs = require('./chunk-PQSTPJQQ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkTS6TISIFcjs = require('./chunk-TS6TISIF.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -143,14 +143,14 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkPQSTPJQQcjs.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 = _chunk62TMGBROcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
154
154
|
type: "onboarding_guide",
|
|
155
155
|
slug: guide.slug,
|
|
156
156
|
basePath,
|
|
@@ -161,7 +161,7 @@ function OnboardingGuidesCatalogView({
|
|
|
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
|
+
_chunkPQSTPJQQcjs.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
|
+
_chunkTHOGSAFHcjs.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, _chunkTHOGSAFHcjs.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,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunkTHOGSAFHcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -316,7 +316,7 @@ function OnboardingGuideDetailView({
|
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
317
|
const captions = _chunk7OJMOG34cjs.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, _chunkTHOGSAFHcjs.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 = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
|
|
|
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, _chunkTHOGSAFHcjs.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,7 +342,7 @@ function OnboardingGuideDetailView({
|
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
343
|
_chunkF2FFJWOQcjs.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 = _chunk62TMGBROcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
346
346
|
type: "onboarding_guide",
|
|
347
347
|
slug: g.slug,
|
|
348
348
|
basePath,
|
|
@@ -352,7 +352,7 @@ function OnboardingGuideDetailView({
|
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
354
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTS6TISIFcjs.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, _chunkTHOGSAFHcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
357
|
_chunk5XAWVXNIcjs.EntityAuthorCard,
|
|
358
358
|
{
|
|
@@ -5,7 +5,7 @@ var _chunkYXZOP726cjs = require('./chunk-YXZOP726.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBAJB3JF3cjs = require('./chunk-BAJB3JF3.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkTS6TISIFcjs = require('./chunk-TS6TISIF.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
|
|
|
105
105
|
function PageDataSyncRow({ inline = false }) {
|
|
106
106
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
107
107
|
if (!context) return null;
|
|
108
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
109
109
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
110
110
|
}
|
|
111
111
|
function usePageDataSync(sync, loading) {
|
|
@@ -124,7 +124,7 @@ function usePageDataSync(sync, loading) {
|
|
|
124
124
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
125
125
|
|
|
126
126
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
127
|
-
const section =
|
|
127
|
+
const section = _chunk62TMGBROcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
128
128
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
129
129
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
130
130
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -166,7 +166,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
166
166
|
preControls,
|
|
167
167
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
168
168
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunkTHOGSAFHcjs.SearchInput,
|
|
170
170
|
{
|
|
171
171
|
showDropdown: false,
|
|
172
172
|
placeholder: search.placeholder,
|
|
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkTHOGSAFHcjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
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 = _chunk62TMGBROcjs.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
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBAJB3JF3cjs.FaqSection, { ..._chunkBAJB3JF3cjs.pageFaqProps.call(void 0, faq) })
|
|
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, _chunkTHOGSAFHcjs.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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk7OJMOG34cjs = require('./chunk-7OJMOG34.cjs');
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunk62TMGBROcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -5,7 +5,7 @@ var _chunkCBKXU77Hcjs = require('./chunk-CBKXU77H.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
|
|
|
140
140
|
|
|
141
141
|
var PICK_ROOT_MARGIN = "600px";
|
|
142
142
|
function faqAskCardShown(assistant) {
|
|
143
|
-
return
|
|
143
|
+
return _chunk62TMGBROcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
144
144
|
}
|
|
145
145
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
146
146
|
const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
147
147
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
148
148
|
if (inView && !reached) setReached(true);
|
|
149
149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
|
|
150
|
+
_chunk62TMGBROcjs.AssistantAskPrompts,
|
|
151
151
|
{
|
|
152
152
|
variant: "card",
|
|
153
153
|
topic,
|