@flamingo-stack/openframe-frontend-core 0.0.771 → 0.0.772
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-UG263H4A.cjs → chunk-2MAENZL3.cjs} +16 -16
- package/dist/{chunk-NQ4WRB3Y.cjs → chunk-7FYOVKQD.cjs} +2 -2
- package/dist/{chunk-4AF5E6E5.cjs → chunk-E25TJPWV.cjs} +3 -3
- package/dist/{chunk-SETDVBMW.cjs → chunk-IHCHU355.cjs} +15 -15
- package/dist/{chunk-4DMYDHCD.cjs → chunk-J5ZNEAGY.cjs} +16 -16
- package/dist/{chunk-L5QJZBZK.cjs → chunk-QOEOY7BJ.cjs} +12 -12
- package/dist/{chunk-WT5XF66W.cjs → chunk-QPK2433W.cjs} +7 -7
- package/dist/{chunk-JPOIEEFO.cjs → chunk-S3NEBAKD.cjs} +4 -4
- package/dist/{chunk-GX3JUXYX.cjs → chunk-UR3I3J5K.cjs} +35 -35
- package/dist/{chunk-2LTJ4457.cjs → chunk-V3W56L2D.cjs} +13 -5
- package/dist/{chunk-62P4Q4Q3.cjs → chunk-VZAOLKKF.cjs} +26 -26
- package/dist/{chunk-TGPHB7PC.cjs → chunk-W5LX7DFB.cjs} +3 -3
- package/dist/{chunk-ALNP25TX.cjs → chunk-ZVKJKWAB.cjs} +179 -179
- package/dist/{cloud-tenants-XRXWTUGP.cjs → cloud-tenants-CUNC5KBD.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +55 -55
- package/dist/components/index.cjs +20 -20
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/select.d.ts +11 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +13 -5
- package/dist/{devices-L4ER34X7.cjs → devices-TO4VUO7F.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-PZYA65GL.cjs → knowledge-CYJP4XYY.cjs} +3 -3
- package/dist/{logs-GYTZWHDP.cjs → logs-NL3ZBQKC.cjs} +11 -11
- package/dist/{policies-OIK7NWJ7.cjs → policies-WTUV4EIT.cjs} +7 -7
- package/dist/{remote-session-3HFVODOT.cjs → remote-session-TC3BZDBZ.cjs} +4 -4
- package/dist/{scripts-K4L3STNZ.cjs → scripts-EE6MLBQP.cjs} +10 -10
- package/dist/{software-update-RWV2RI5C.cjs → software-update-HX6PN4SB.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/ui/select.tsx +28 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQPK2433Wcjs = require('./chunk-QPK2433W.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -26,10 +26,10 @@ var _chunkREFL3YNEcjs = require('./chunk-REFL3YNE.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -179,7 +179,7 @@ function ProductReleasesView({
|
|
|
179
179
|
initialData
|
|
180
180
|
});
|
|
181
181
|
const isLoading = inScope || fetching;
|
|
182
|
-
|
|
182
|
+
_chunkQPK2433Wcjs.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, _chunkZVKJKWABcjs.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
|
+
_chunkQPK2433Wcjs.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 = _chunkZVKJKWABcjs.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 = _chunkILZEXCJHcjs.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, _chunkZVKJKWABcjs.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,
|
|
@@ -457,7 +457,7 @@ function ReleaseDetailPage({
|
|
|
457
457
|
const bugFixed = view.bugs_fixed;
|
|
458
458
|
const improvements = view.improvements;
|
|
459
459
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
460
|
-
|
|
460
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
461
461
|
{
|
|
462
462
|
title: releaseTitle,
|
|
463
463
|
subtitle: loading ? void 0 : `Version: ${releaseVersion}`,
|
|
@@ -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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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
|
+
_chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.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
|
_chunkXVFM6SJAcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1117
|
-
const syncInPage =
|
|
1117
|
+
const syncInPage = _chunkQPK2433Wcjs.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, _chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.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 ${_chunk5V7BIUGAcjs.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, _chunkQPK2433Wcjs.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, _chunkQPK2433Wcjs.DeliveryRow, { item, id: _chunkYI3CDGKMcjs.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
|
_chunkXVFM6SJAcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1250
|
-
const syncInPage =
|
|
1250
|
+
const syncInPage = _chunkQPK2433Wcjs.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, _chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1260
1260
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1261
|
-
|
|
1261
|
+
_chunkQPK2433Wcjs.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, _chunkZVKJKWABcjs.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 = _chunkZVKJKWABcjs.RichMarkdownRenderer,
|
|
1499
1499
|
documentsEndpoint,
|
|
1500
1500
|
backButton,
|
|
1501
1501
|
faq,
|
|
@@ -1517,7 +1517,7 @@ function LegalDocumentPage({
|
|
|
1517
1517
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1518
1518
|
const subtitle = isLoading ? void 0 : _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1519
1519
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1520
|
-
|
|
1520
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
1521
1521
|
{
|
|
1522
1522
|
title,
|
|
1523
1523
|
subtitle,
|
|
@@ -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, _chunkZVKJKWABcjs.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, _chunkZVKJKWABcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
|
|
@@ -940,14 +940,15 @@ var SelectContent = _react.forwardRef.call(void 0, ({ className, children, posit
|
|
|
940
940
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
941
941
|
var SelectLabel = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Label, { ref, className: _chunk65VVJSQZcjs.cn.call(void 0, "py-1.5 pl-8 pr-2 font-semibold text-h6", className), ...props }));
|
|
942
942
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
943
|
-
var SelectItem = _react.forwardRef.call(void 0, ({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
943
|
+
var SelectItem = _react.forwardRef.call(void 0, ({ className, children, description, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
944
944
|
SelectPrimitive.Item,
|
|
945
945
|
{
|
|
946
946
|
ref,
|
|
947
947
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
948
|
-
"flex
|
|
948
|
+
"flex w-full cursor-pointer select-none items-center justify-between gap-2 border-b border-ods-border px-4 last:border-b-0",
|
|
949
949
|
// Typography - match trigger
|
|
950
|
-
"
|
|
950
|
+
"text-h4",
|
|
951
|
+
description == null ? "h-11 whitespace-nowrap md:h-12" : "min-h-11 whitespace-normal py-[var(--spacing-system-xs)] md:min-h-12",
|
|
951
952
|
// Hover state with visible background change
|
|
952
953
|
"outline-none hover:bg-ods-bg-hover data-[highlighted]:bg-ods-bg-surface",
|
|
953
954
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
@@ -956,8 +957,15 @@ var SelectItem = _react.forwardRef.call(void 0, ({ className, children, ...props
|
|
|
956
957
|
),
|
|
957
958
|
...props,
|
|
958
959
|
children: [
|
|
959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children })
|
|
960
|
-
|
|
960
|
+
description == null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children }) : (
|
|
961
|
+
// min-w-0 lets the column shrink below its longest line, which is what
|
|
962
|
+
// makes the lines wrap instead of pushing past the list's edge.
|
|
963
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-col text-left", children: [
|
|
964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children }),
|
|
965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: description })
|
|
966
|
+
] })
|
|
967
|
+
),
|
|
968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 }) })
|
|
961
969
|
]
|
|
962
970
|
}
|
|
963
971
|
));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkJ5ZNEAGYcjs = require('./chunk-J5ZNEAGY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ var _chunk4DMYDHCDcjs = require('./chunk-4DMYDHCD.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkQPK2433Wcjs = require('./chunk-QPK2433W.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -29,7 +29,7 @@ var _chunkHFNWBNLEcjs = require('./chunk-HFNWBNLE.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -689,7 +689,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
689
689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
690
690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
|
|
691
691
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
692
|
-
|
|
692
|
+
_chunkZVKJKWABcjs.Textarea,
|
|
693
693
|
{
|
|
694
694
|
id: "ticket-content",
|
|
695
695
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -819,7 +819,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
819
819
|
dateClosed: clickup.date_closed,
|
|
820
820
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
821
821
|
};
|
|
822
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunk5V7BIUGAcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
822
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunk5V7BIUGAcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -901,13 +901,13 @@ function TicketReplyComposer({
|
|
|
901
901
|
}
|
|
902
902
|
)
|
|
903
903
|
] }),
|
|
904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
905
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZVKJKWABcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
905
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZVKJKWABcjs.AlertDialogHeader, { children: [
|
|
906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
908
908
|
] }),
|
|
909
909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
910
|
-
|
|
910
|
+
_chunkZVKJKWABcjs.Textarea,
|
|
911
911
|
{
|
|
912
912
|
value: resolution,
|
|
913
913
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -917,9 +917,9 @@ function TicketReplyComposer({
|
|
|
917
917
|
className: "mt-2"
|
|
918
918
|
}
|
|
919
919
|
),
|
|
920
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
920
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZVKJKWABcjs.AlertDialogFooter, { children: [
|
|
921
921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
922
|
-
|
|
922
|
+
_chunkZVKJKWABcjs.AlertDialogCancel,
|
|
923
923
|
{
|
|
924
924
|
disabled: busy,
|
|
925
925
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -927,7 +927,7 @@ function TicketReplyComposer({
|
|
|
927
927
|
}
|
|
928
928
|
),
|
|
929
929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
930
|
-
|
|
930
|
+
_chunkZVKJKWABcjs.AlertDialogAction,
|
|
931
931
|
{
|
|
932
932
|
onClick: () => void confirmClose(),
|
|
933
933
|
disabled: busy,
|
|
@@ -1085,7 +1085,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1085
1085
|
avatarUrl: avatarSrc,
|
|
1086
1086
|
timeLabel: eng.createdAt ? _chunkEHJE3UWZcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1087
1087
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1088
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1088
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1089
1089
|
},
|
|
1090
1090
|
eng.id
|
|
1091
1091
|
);
|
|
@@ -1331,7 +1331,7 @@ function TicketCenterAuthed({
|
|
|
1331
1331
|
const toggleRow = _react.useCallback.call(void 0, (id) => {
|
|
1332
1332
|
setExpandedTicketId((prev) => prev === id ? null : id);
|
|
1333
1333
|
}, []);
|
|
1334
|
-
const syncInPage =
|
|
1334
|
+
const syncInPage = _chunkQPK2433Wcjs.usePageDataSync.call(void 0, sync, isLoading);
|
|
1335
1335
|
const merged = [...optimisticTickets, ...tickets];
|
|
1336
1336
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1337
1337
|
TicketCenterView,
|
|
@@ -1366,7 +1366,7 @@ function TicketCenterAuthed({
|
|
|
1366
1366
|
function TicketCenterPending({
|
|
1367
1367
|
region = true
|
|
1368
1368
|
} = {}) {
|
|
1369
|
-
const syncInPage =
|
|
1369
|
+
const syncInPage = _chunkQPK2433Wcjs.usePageDataSync.call(void 0, null, true);
|
|
1370
1370
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading tickets", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1371
1371
|
TicketCenterView,
|
|
1372
1372
|
{
|
|
@@ -1429,7 +1429,7 @@ function TicketListHeader({
|
|
|
1429
1429
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
|
|
1430
1430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
|
|
1431
1431
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
1432
|
-
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1432
|
+
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
|
|
1433
1433
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1434
1434
|
_chunkTF5D5MNOcjs.Button,
|
|
1435
1435
|
{
|
|
@@ -1549,7 +1549,7 @@ function HelpCenterCard({
|
|
|
1549
1549
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1550
1550
|
className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default content-md:p-[16px]",
|
|
1551
1551
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1552
|
-
|
|
1552
|
+
_chunkQPK2433Wcjs.DevCardRowContent,
|
|
1553
1553
|
{
|
|
1554
1554
|
title,
|
|
1555
1555
|
subtitle,
|
|
@@ -1660,7 +1660,7 @@ function HelpCenterCreateForm({
|
|
|
1660
1660
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1661
1661
|
] });
|
|
1662
1662
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1663
|
-
|
|
1663
|
+
_chunkJ5ZNEAGYcjs.ContactForm,
|
|
1664
1664
|
{
|
|
1665
1665
|
rescue: null,
|
|
1666
1666
|
title: "Open a new ticket",
|
|
@@ -1709,19 +1709,19 @@ function HelpCenterList({ toast: toast2 = _chunkXVFM6SJAcjs.toast, backButton, t
|
|
|
1709
1709
|
const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1710
1710
|
if (identity.isLoading) {
|
|
1711
1711
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1712
|
-
|
|
1712
|
+
_chunkQPK2433Wcjs.DevSectionPage,
|
|
1713
1713
|
{
|
|
1714
1714
|
sectionKey: "tickets",
|
|
1715
1715
|
backButton,
|
|
1716
1716
|
title,
|
|
1717
1717
|
shell,
|
|
1718
1718
|
preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
|
|
1719
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1719
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DevCardRowSkeletonList, { rows: TICKETS_PAGE_SIZE })
|
|
1720
1720
|
}
|
|
1721
1721
|
);
|
|
1722
1722
|
}
|
|
1723
1723
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _67 => _67.user, 'optionalAccess', _68 => _68.email])) {
|
|
1724
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1724
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1725
1725
|
_chunkJJNOAYD4cjs.EmptyState,
|
|
1726
1726
|
{
|
|
1727
1727
|
type: "generic",
|
|
@@ -1851,15 +1851,15 @@ function HelpCenterListAuthed({
|
|
|
1851
1851
|
] }),
|
|
1852
1852
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1853
1853
|
] }),
|
|
1854
|
-
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1854
|
+
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DevCardRowSkeletonList, { rows: pageSize }) : !hasResults && isFetching ? (
|
|
1855
1855
|
// Bridge state — background refetch in flight and the
|
|
1856
1856
|
// optimistic placeholder was just removed by the mutation
|
|
1857
1857
|
// callback. Without this branch "No tickets yet" would flash
|
|
1858
1858
|
// for ~50ms between `removeOptimistic` and the server
|
|
1859
1859
|
// response landing.
|
|
1860
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DevCardRowSkeletonList, { rows: 1 })
|
|
1861
1861
|
) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1862
|
-
|
|
1862
|
+
_chunkQPK2433Wcjs.ListEmptyState,
|
|
1863
1863
|
{
|
|
1864
1864
|
isFiltered: hasActiveFilters,
|
|
1865
1865
|
filtered: {
|
|
@@ -1908,7 +1908,7 @@ function HelpCenterListAuthed({
|
|
|
1908
1908
|
) }),
|
|
1909
1909
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJJNOAYD4cjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1910
1910
|
] });
|
|
1911
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1911
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPK2433Wcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1912
1912
|
}
|
|
1913
1913
|
|
|
1914
1914
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkZVKJKWABcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkZVKJKWABcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|