@flamingo-stack/openframe-frontend-core 0.0.774 → 0.0.775
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-NX7P2T2U.cjs → chunk-36GYLB3Z.cjs} +3 -3
- package/dist/{chunk-ZHGOXDA3.cjs → chunk-3XLDYEQD.cjs} +13 -6
- package/dist/{chunk-4JZC624S.cjs → chunk-42JGOJCB.cjs} +8 -7
- package/dist/{chunk-TTQHSSHF.cjs → chunk-4LFB4YY3.cjs} +3 -3
- package/dist/{chunk-5Z3XL2VU.cjs → chunk-5YJWT5ZQ.cjs} +26 -26
- package/dist/{chunk-U332FL4C.cjs → chunk-6SJYFUGD.cjs} +5 -5
- package/dist/{chunk-LEVA5WO3.cjs → chunk-F67SEXCW.cjs} +13 -13
- package/dist/{chunk-VWUQVJ2D.cjs → chunk-FHTTRWAK.cjs} +32 -32
- package/dist/{chunk-Q7EXOVMT.cjs → chunk-ODF3KCRK.cjs} +10 -10
- package/dist/{chunk-E5E7IE7X.cjs → chunk-PMX6QNNN.cjs} +2 -2
- package/dist/{chunk-Q6B2DC65.cjs → chunk-TF2XYDH3.cjs} +3 -3
- package/dist/{chunk-HTSRAQVG.cjs → chunk-VAGZJRYV.cjs} +2 -2
- package/dist/{chunk-UAKXZ2KD.cjs → chunk-VDXBACD3.cjs} +16 -16
- package/dist/{cloud-tenants-7RNZ6GHM.cjs → cloud-tenants-ISGAMTJD.cjs} +2 -2
- package/dist/components/authors/author-detail-view.d.ts.map +1 -1
- package/dist/components/authors/author-detail-view.js +12 -2
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/help-center-pages/index.cjs +49 -49
- package/dist/components/index.cjs +30 -20
- package/dist/components/meeting-scheduler/index.cjs +18 -18
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/product-demo/index.cjs +11 -11
- package/dist/components/related-content/card-registry.d.ts +5 -0
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/card-registry.js +2 -0
- package/dist/components/related-content/index.cjs +2 -2
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +11 -6
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/photo-wall.d.ts +9 -1
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +8 -7
- package/dist/{devices-NNDBC6IH.cjs → devices-AHJX6ACJ.cjs} +3 -3
- package/dist/index.cjs +3 -3
- package/dist/{knowledge-DPUMWQED.cjs → knowledge-FH5GVRVP.cjs} +2 -2
- package/dist/{logs-EE25MWYM.cjs → logs-JBIHHLUQ.cjs} +10 -10
- package/dist/{policies-H5LPZWEM.cjs → policies-XLJ2ABY5.cjs} +6 -6
- package/dist/{scripts-YGO4LOES.cjs → scripts-CQLXM7PP.cjs} +7 -7
- package/dist/{software-update-5BEB62ZH.cjs → software-update-7NYZ7L76.cjs} +5 -5
- package/package.json +1 -1
- package/src/components/authors/author-detail-view.tsx +10 -2
- package/src/components/related-content/card-registry.tsx +7 -0
- package/src/components/related-content/related-content-section.tsx +12 -2
- package/src/components/ui/photo-wall.tsx +19 -8
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6SJYFUGDcjs = require('./chunk-6SJYFUGD.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ var _chunkL5CKY5WAcjs = require('./chunk-L5CKY5WA.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
@@ -179,7 +179,7 @@ function ProductReleasesView({
|
|
|
179
179
|
initialData
|
|
180
180
|
});
|
|
181
181
|
const isLoading = inScope || fetching;
|
|
182
|
-
|
|
182
|
+
_chunk6SJYFUGDcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
183
183
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
184
184
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
185
185
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -198,10 +198,10 @@ function ProductReleasesView({
|
|
|
198
198
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
199
199
|
};
|
|
200
200
|
if (error) {
|
|
201
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
201
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
202
202
|
}
|
|
203
203
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.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,
|
|
204
|
-
|
|
204
|
+
_chunk6SJYFUGDcjs.ListEmptyState,
|
|
205
205
|
{
|
|
206
206
|
isFiltered: hasActiveFilters,
|
|
207
207
|
filtered: {
|
|
@@ -314,7 +314,7 @@ function MediaGalleryStripSkeleton({
|
|
|
314
314
|
var _lucidereact = require('lucide-react');
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
var DefaultMarkdownRenderer =
|
|
317
|
+
var DefaultMarkdownRenderer = _chunk42JGOJCBcjs.RichMarkdownRenderer;
|
|
318
318
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
319
319
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
320
320
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -364,7 +364,7 @@ function ReleaseDetailPage({
|
|
|
364
364
|
}) {
|
|
365
365
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
366
366
|
const captions = _chunkKWZ62LPZcjs.useCaptions.call(void 0, );
|
|
367
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
368
368
|
const seed = initialData == null ? void 0 : initialData;
|
|
369
369
|
const {
|
|
370
370
|
data: release,
|
|
@@ -470,7 +470,7 @@ function ReleaseDetailPage({
|
|
|
470
470
|
children: [
|
|
471
471
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
472
472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
-
|
|
473
|
+
_chunk42JGOJCBcjs.EntityTagBadges,
|
|
474
474
|
{
|
|
475
475
|
tags: view.product_release_tags,
|
|
476
476
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -551,7 +551,7 @@ function ReleaseDetailPage({
|
|
|
551
551
|
] })
|
|
552
552
|
] }) }) }),
|
|
553
553
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
554
|
-
|
|
554
|
+
_chunk42JGOJCBcjs.ReleaseChangelogSection,
|
|
555
555
|
{
|
|
556
556
|
title: "Breaking Changes",
|
|
557
557
|
entries: breakingChanges || [],
|
|
@@ -563,7 +563,7 @@ function ReleaseDetailPage({
|
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
566
|
-
|
|
566
|
+
_chunk42JGOJCBcjs.ReleaseChangelogSection,
|
|
567
567
|
{
|
|
568
568
|
title: "Features Added",
|
|
569
569
|
entries: featuresAdded || [],
|
|
@@ -573,7 +573,7 @@ function ReleaseDetailPage({
|
|
|
573
573
|
}
|
|
574
574
|
),
|
|
575
575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
-
|
|
576
|
+
_chunk42JGOJCBcjs.ReleaseChangelogSection,
|
|
577
577
|
{
|
|
578
578
|
title: "Bugs Fixed",
|
|
579
579
|
entries: bugFixed || [],
|
|
@@ -583,7 +583,7 @@ function ReleaseDetailPage({
|
|
|
583
583
|
}
|
|
584
584
|
),
|
|
585
585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
586
|
-
|
|
586
|
+
_chunk42JGOJCBcjs.ReleaseChangelogSection,
|
|
587
587
|
{
|
|
588
588
|
title: "Improvements",
|
|
589
589
|
entries: improvements || [],
|
|
@@ -612,9 +612,9 @@ function ReleaseDetailPage({
|
|
|
612
612
|
return deliveryLoading ? (
|
|
613
613
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
614
614
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.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 }) }) }) })
|
|
616
616
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
617
|
-
|
|
617
|
+
_chunk42JGOJCBcjs.FadePreview,
|
|
618
618
|
{
|
|
619
619
|
hiddenCount: deliveryCount - 1,
|
|
620
620
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -1017,7 +1017,7 @@ function RoadmapGrid({
|
|
|
1017
1017
|
);
|
|
1018
1018
|
}
|
|
1019
1019
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1020
|
-
|
|
1020
|
+
_chunk42JGOJCBcjs.Accordion,
|
|
1021
1021
|
{
|
|
1022
1022
|
type: "multiple",
|
|
1023
1023
|
value: expandedQuarters,
|
|
@@ -1027,14 +1027,14 @@ function RoadmapGrid({
|
|
|
1027
1027
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _20 => _20[quarter], 'optionalAccess', _21 => _21.length]) || 0;
|
|
1028
1028
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1029
1029
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1030
|
-
|
|
1030
|
+
_chunk42JGOJCBcjs.AccordionItem,
|
|
1031
1031
|
{
|
|
1032
1032
|
value: quarter,
|
|
1033
1033
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1034
1034
|
className: "border-0",
|
|
1035
1035
|
"data-loading-item": true,
|
|
1036
1036
|
children: [
|
|
1037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.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: [
|
|
1038
1038
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1039
1039
|
"h3",
|
|
1040
1040
|
{
|
|
@@ -1064,7 +1064,7 @@ function RoadmapGrid({
|
|
|
1064
1064
|
}
|
|
1065
1065
|
)
|
|
1066
1066
|
] }) }),
|
|
1067
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1067
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.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,
|
|
1068
1068
|
RoadmapGridSingle,
|
|
1069
1069
|
{
|
|
1070
1070
|
items: itemsByQuarter[quarter],
|
|
@@ -1114,18 +1114,18 @@ function RoadmapView({
|
|
|
1114
1114
|
});
|
|
1115
1115
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.items]), () => ( []));
|
|
1116
1116
|
_chunkE64HPPRHcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1117
|
-
const syncInPage =
|
|
1117
|
+
const syncInPage = _chunk6SJYFUGDcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _23 => _23.sync]), isLoading && !data);
|
|
1118
1118
|
if (error) {
|
|
1119
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1119
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1120
1120
|
}
|
|
1121
1121
|
if (isLoading && !data) {
|
|
1122
1122
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1123
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1123
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { loading: true }),
|
|
1124
1124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridQuarterSkeleton, { showLeftMargin })
|
|
1125
1125
|
] });
|
|
1126
1126
|
}
|
|
1127
1127
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1128
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1128
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _24 => _24.sync]) }),
|
|
1129
1129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1130
1130
|
RoadmapGrid,
|
|
1131
1131
|
{
|
|
@@ -1149,7 +1149,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkY3EBUFX4cjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1149
1149
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1150
1150
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1151
1151
|
function DeliveryTableSkeleton() {
|
|
1152
|
-
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: Array.from({ length: DELIVERY_TABLE_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1152
|
+
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: Array.from({ length: DELIVERY_TABLE_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DeliveryRowSkeleton, {}) }, i)) }) });
|
|
1153
1153
|
}
|
|
1154
1154
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1155
1155
|
if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1162,7 +1162,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1162
1162
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1163
1163
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1164
1164
|
// outer wrapper here ONLY exists for the row separators.
|
|
1165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6SJYFUGDcjs.DeliveryRow, { item, id: _chunkBTVO676Bcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1166
1166
|
)) }) });
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
@@ -1247,18 +1247,18 @@ function DeliveryLists({
|
|
|
1247
1247
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _25 => _25.completed]) || [];
|
|
1248
1248
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _26 => _26.inProgress]) || [];
|
|
1249
1249
|
_chunkE64HPPRHcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1250
|
-
const syncInPage =
|
|
1250
|
+
const syncInPage = _chunk6SJYFUGDcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1251
1251
|
const showCompleted = true;
|
|
1252
1252
|
const showInProgress = true;
|
|
1253
1253
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1254
1254
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1255
1255
|
if (error) {
|
|
1256
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1256
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1257
1257
|
}
|
|
1258
1258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1259
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1259
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1260
1260
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1261
|
-
|
|
1261
|
+
_chunk6SJYFUGDcjs.ListEmptyState,
|
|
1262
1262
|
{
|
|
1263
1263
|
isFiltered: hasActiveFilters,
|
|
1264
1264
|
filtered: {
|
|
@@ -1483,7 +1483,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1485
1485
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1486
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1486
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.RichMarkdownRendererSkeleton, { title: true, sections }) });
|
|
1487
1487
|
}
|
|
1488
1488
|
function LegalDocumentPage({
|
|
1489
1489
|
docType,
|
|
@@ -1495,7 +1495,7 @@ function LegalDocumentPage({
|
|
|
1495
1495
|
emptyStateMessage: emptyStateMessageProp,
|
|
1496
1496
|
initialData = null,
|
|
1497
1497
|
apiEndpoint,
|
|
1498
|
-
MarkdownRenderer =
|
|
1498
|
+
MarkdownRenderer = _chunk42JGOJCBcjs.RichMarkdownRenderer,
|
|
1499
1499
|
documentsEndpoint,
|
|
1500
1500
|
backButton,
|
|
1501
1501
|
faq,
|
|
@@ -1526,7 +1526,7 @@ function LegalDocumentPage({
|
|
|
1526
1526
|
titleSize: "h1",
|
|
1527
1527
|
titleWrap: true,
|
|
1528
1528
|
children: [
|
|
1529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1530
1530
|
/* @__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: _chunk65VVJSQZcjs.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: [
|
|
1531
1531
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1532
1532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1550,7 +1550,7 @@ function LegalDocumentPage({
|
|
|
1550
1550
|
]
|
|
1551
1551
|
}
|
|
1552
1552
|
);
|
|
1553
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1553
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
|
|
@@ -5,14 +5,14 @@ var _chunkVISK6LKEcjs = require('./chunk-VISK6LKE.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPMX6QNNNcjs = require('./chunk-PMX6QNNN.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
@@ -152,7 +152,7 @@ function OnboardingGuidesCatalogView({
|
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
154
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
155
|
-
const docSearch =
|
|
155
|
+
const docSearch = _chunkPMX6QNNNcjs.useDocSearch.call(void 0, {
|
|
156
156
|
source,
|
|
157
157
|
baseRoute: basePath,
|
|
158
158
|
onNavigate: (path) => router.push(path),
|
|
@@ -170,7 +170,7 @@ function OnboardingGuidesCatalogView({
|
|
|
170
170
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
171
171
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
172
172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
|
|
173
|
+
_chunkPMX6QNNNcjs.DocSearchBar,
|
|
174
174
|
{
|
|
175
175
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
176
176
|
query: docSearch.query,
|
|
@@ -182,7 +182,7 @@ function OnboardingGuidesCatalogView({
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunk42JGOJCBcjs.FilterPillRow,
|
|
186
186
|
{
|
|
187
187
|
label: "Section",
|
|
188
188
|
selectedValue: activeSection,
|
|
@@ -193,7 +193,7 @@ function OnboardingGuidesCatalogView({
|
|
|
193
193
|
)
|
|
194
194
|
] });
|
|
195
195
|
if (!loading && selfFetch && guidesRes.error) {
|
|
196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
197
197
|
}
|
|
198
198
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
199
199
|
preControls,
|
|
@@ -313,7 +313,7 @@ function OnboardingGuideDetailView({
|
|
|
313
313
|
slug,
|
|
314
314
|
guideEndpoint,
|
|
315
315
|
related = [],
|
|
316
|
-
MarkdownRenderer =
|
|
316
|
+
MarkdownRenderer = _chunk42JGOJCBcjs.RichMarkdownRenderer,
|
|
317
317
|
renderRelatedCard,
|
|
318
318
|
backHref,
|
|
319
319
|
backLabel = "Back to Getting Started",
|
|
@@ -325,7 +325,7 @@ function OnboardingGuideDetailView({
|
|
|
325
325
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
326
326
|
const captions = _chunkKWZ62LPZcjs.useCaptions.call(void 0, );
|
|
327
327
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
328
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
329
329
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
330
330
|
const scoped = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
331
331
|
const {
|
|
@@ -343,7 +343,7 @@ function OnboardingGuideDetailView({
|
|
|
343
343
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
344
344
|
const loading = scoped || !guide && isLoading;
|
|
345
345
|
if (!loading && (error || !guide)) {
|
|
346
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
347
347
|
}
|
|
348
348
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
349
349
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -361,7 +361,7 @@ function OnboardingGuideDetailView({
|
|
|
361
361
|
};
|
|
362
362
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
363
363
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
365
365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
366
366
|
_chunkY3EBUFX4cjs.EntityAuthorCard,
|
|
367
367
|
{
|
|
@@ -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(); } } 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 _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -70,7 +70,7 @@ function DocSearchBar({
|
|
|
70
70
|
renderResult
|
|
71
71
|
}) {
|
|
72
72
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
|
|
73
|
+
_chunk42JGOJCBcjs.SearchInput,
|
|
74
74
|
{
|
|
75
75
|
placeholder,
|
|
76
76
|
value: query,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
6
6
|
|
|
7
7
|
// src/components/product-demo/screens/devices-view.tsx
|
|
8
8
|
var _jsxruntime = require('react/jsx-runtime');
|
|
9
9
|
var DEVICES_SEARCH_QUERY = "Windows";
|
|
10
|
-
var TOOLBAR = { ...
|
|
10
|
+
var TOOLBAR = { ..._chunk42JGOJCBcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
|
|
11
11
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
12
12
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
13
13
|
var NO_DEVICES = [];
|
|
@@ -19,7 +19,7 @@ function DevicesScreenView({
|
|
|
19
19
|
loading = false
|
|
20
20
|
}) {
|
|
21
21
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
-
|
|
22
|
+
_chunk42JGOJCBcjs.DevicesPanelView,
|
|
23
23
|
{
|
|
24
24
|
className: "p-[var(--spacing-system-l)]",
|
|
25
25
|
headerSlot: NO_HEADER,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkL5CKY5WAcjs = require('./chunk-L5CKY5WA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
@@ -53,7 +53,7 @@ function FaqDocumentPage({
|
|
|
53
53
|
skeletonNav
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -18,7 +18,7 @@ var _chunkUSMR73NDcjs = require('./chunk-USMR73ND.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
@@ -192,7 +192,7 @@ function NavItemRow({
|
|
|
192
192
|
className
|
|
193
193
|
}) {
|
|
194
194
|
const label = navLinkLabel(link);
|
|
195
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
196
196
|
const singleLine = !link.description && !link.builtOn;
|
|
197
197
|
const rowClassName = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
198
198
|
ROW_CLASSES[variant],
|
|
@@ -580,7 +580,7 @@ function SiteHeader({
|
|
|
580
580
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
581
581
|
leading,
|
|
582
582
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
584
584
|
{
|
|
585
585
|
className: "border-r border-ods-border lg:hidden",
|
|
586
586
|
onClick: mobile.onToggle,
|
|
@@ -888,7 +888,7 @@ function SiteFooter({
|
|
|
888
888
|
const columns = nav.footerColumns;
|
|
889
889
|
const accordion = columns.length > ACCORDION_OVER;
|
|
890
890
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
891
|
-
|
|
891
|
+
_chunk42JGOJCBcjs.SocialIconRow,
|
|
892
892
|
{
|
|
893
893
|
compact: true,
|
|
894
894
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1201,7 +1201,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1201
1201
|
});
|
|
1202
1202
|
if (sections.length === 0 && !inScope) return null;
|
|
1203
1203
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1204
|
-
|
|
1204
|
+
_chunk42JGOJCBcjs.PageContainer,
|
|
1205
1205
|
{
|
|
1206
1206
|
as: "div",
|
|
1207
1207
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
@@ -1336,7 +1336,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1336
1336
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1337
1337
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1338
1338
|
}),
|
|
1339
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1339
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.UnreadDot, { size: "fixed" })
|
|
1340
1340
|
] }),
|
|
1341
1341
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1342
1342
|
"span",
|
|
@@ -1763,7 +1763,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1763
1763
|
else window.location.assign(target);
|
|
1764
1764
|
};
|
|
1765
1765
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1766
|
-
|
|
1766
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
1767
1767
|
{
|
|
1768
1768
|
icon: (
|
|
1769
1769
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1773,7 +1773,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1773
1773
|
// existing while updates are unread — never by tinting the glyph.
|
|
1774
1774
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1775
1775
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1777
1777
|
] })
|
|
1778
1778
|
),
|
|
1779
1779
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1849,7 +1849,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1849
1849
|
leading: (
|
|
1850
1850
|
// Mobile: Burger Menu Button
|
|
1851
1851
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1852
|
-
|
|
1852
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
1853
1853
|
{
|
|
1854
1854
|
onClick: onToggleMobileMenu,
|
|
1855
1855
|
isActive: isMobileMenuOpen,
|
|
@@ -1875,7 +1875,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1875
1875
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1876
1876
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1877
1877
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1878
|
-
|
|
1878
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
1879
1879
|
{
|
|
1880
1880
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1881
1881
|
"aria-label": "Search",
|
|
@@ -1892,7 +1892,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1892
1892
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1893
1893
|
}
|
|
1894
1894
|
),
|
|
1895
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1895
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.TimeTrackerHeaderButton, { disabled, className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1896
1896
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1897
1897
|
NotificationsHeaderButton,
|
|
1898
1898
|
{
|
|
@@ -1912,7 +1912,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1912
1912
|
),
|
|
1913
1913
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenu, { children: [
|
|
1914
1914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1915
|
-
|
|
1915
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
1916
1916
|
{
|
|
1917
1917
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1918
1918
|
_chunkHY6BCZH7cjs.SquareAvatar,
|
|
@@ -1997,12 +1997,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1997
1997
|
);
|
|
1998
1998
|
});
|
|
1999
1999
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
2000
|
-
const ctx =
|
|
2000
|
+
const ctx = _chunk42JGOJCBcjs.useOptionalNotifications.call(void 0, );
|
|
2001
2001
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2002
2002
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
2003
2003
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
2004
2004
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2005
|
-
|
|
2005
|
+
_chunk42JGOJCBcjs.HeaderButton,
|
|
2006
2006
|
{
|
|
2007
2007
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
2008
2008
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2675,7 +2675,7 @@ function AppLayout({
|
|
|
2675
2675
|
}),
|
|
2676
2676
|
[]
|
|
2677
2677
|
);
|
|
2678
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2678
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2679
2679
|
topBar,
|
|
2680
2680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2681
2681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2699,7 +2699,7 @@ function AppLayout({
|
|
|
2699
2699
|
disabled
|
|
2700
2700
|
}
|
|
2701
2701
|
),
|
|
2702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.NotificationDrawer, {}),
|
|
2703
2703
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2704
2704
|
"div",
|
|
2705
2705
|
{
|
|
@@ -9,7 +9,7 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
9
9
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk42JGOJCBcjs = require('./chunk-42JGOJCB.cjs');
|
|
13
13
|
require('./chunk-LJT2KRE2.cjs');
|
|
14
14
|
require('./chunk-RB7VLVMD.cjs');
|
|
15
15
|
require('./chunk-V3W56L2D.cjs');
|
|
@@ -1916,7 +1916,7 @@ var getHref = () => "#";
|
|
|
1916
1916
|
function CloudTenantsScreen(_props) {
|
|
1917
1917
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1918
1918
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1919
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1919
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk42JGOJCBcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1920
1920
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1921
1921
|
}
|
|
1922
1922
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author-detail-view.d.ts","sourceRoot":"","sources":["../../../src/components/authors/author-detail-view.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAU/D,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,aAAa,CAAC;IACtB,uEAAuE;IACvE,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"author-detail-view.d.ts","sourceRoot":"","sources":["../../../src/components/authors/author-detail-view.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAU/D,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,aAAa,CAAC;IACtB,uEAAuE;IACvE,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,qBAAqB,qBAuGrG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import Image from "../../embed-shims/next-image.js";
|
|
4
|
-
import { AVATAR_SIZE } from "../../styles/component-sizes.js";
|
|
4
|
+
import { AVATAR_SIZE, AVATAR_SIZE_PX } from "../../styles/component-sizes.js";
|
|
5
5
|
import { cn } from "../../utils/cn.js";
|
|
6
6
|
import { formatBioText } from "../../utils/format.js";
|
|
7
7
|
import { useProxiedImageUrl } from "../chat/hooks/use-proxied-image-url.js";
|
|
@@ -29,7 +29,17 @@ function AuthorDetailView({ author, proxyImageUrl, children, className }) {
|
|
|
29
29
|
/* @__PURE__ */ jsx("div", { className: AVATAR_BOX_CLASS, children: loading ? (
|
|
30
30
|
// The avatar in its scope draws its own skeleton, the round box of this frame.
|
|
31
31
|
/* @__PURE__ */ jsx(SquareAvatar, { variant: "round", alt: "", className: "h-full w-full" })
|
|
32
|
-
) : /* @__PURE__ */ jsx("div", { className: "relative h-full w-full overflow-hidden rounded-full border border-ods-border bg-ods-bg-surface", children: proxiedAvatar ? /* @__PURE__ */ jsx(
|
|
32
|
+
) : /* @__PURE__ */ jsx("div", { className: "relative h-full w-full overflow-hidden rounded-full border border-ods-border bg-ods-bg-surface", children: proxiedAvatar ? /* @__PURE__ */ jsx(
|
|
33
|
+
Image,
|
|
34
|
+
{
|
|
35
|
+
src: proxiedAvatar,
|
|
36
|
+
alt: author.fullName,
|
|
37
|
+
fill: true,
|
|
38
|
+
sizes: `${AVATAR_SIZE_PX.profile}px`,
|
|
39
|
+
className: "object-cover",
|
|
40
|
+
unoptimized: true
|
|
41
|
+
}
|
|
42
|
+
) : /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center justify-center text-ods-text-secondary text-h2", children: author.fullName.charAt(0).toUpperCase() }) }) }),
|
|
33
43
|
/* @__PURE__ */ jsxs("div", { className: cn(IDENTITY_TEXT_CLASS, loading && "w-full"), children: [
|
|
34
44
|
/* @__PURE__ */ jsx("p", { className: NAME_CLASS, children: loading ? (
|
|
35
45
|
// A typical name's width (about 282px at the name's `text-h2`).
|