@flamingo-stack/openframe-frontend-core 0.0.807 → 0.0.808
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/build/export-map.json +1 -1
- package/dist/{chunk-IEDID3EB.cjs → chunk-6B5BDFZ6.cjs} +3 -3
- package/dist/{chunk-QPHQVTJO.cjs → chunk-6BYSVWIS.cjs} +2 -2
- package/dist/{chunk-224GFGSR.cjs → chunk-A5TMKZRQ.cjs} +16 -16
- package/dist/{chunk-QWB3CTGR.cjs → chunk-BSF7E5EZ.cjs} +24 -24
- package/dist/{chunk-74I2HT4X.cjs → chunk-DRTXDPWM.cjs} +12 -12
- package/dist/{chunk-3B6PFUL3.cjs → chunk-FRS2VO22.cjs} +71 -19
- package/dist/{chunk-XDVBSTFB.cjs → chunk-H6U3K5EX.cjs} +7 -7
- package/dist/{chunk-Z4IYLXJU.cjs → chunk-HKYGJVTA.cjs} +15 -15
- package/dist/{chunk-XCYL3TYS.cjs → chunk-K6YBHFWX.cjs} +34 -34
- package/dist/{chunk-MBGUHO7Z.cjs → chunk-LF7B3LJE.cjs} +16 -16
- package/dist/{chunk-BAOKF4OV.cjs → chunk-R2S22LDL.cjs} +3 -3
- package/dist/{chunk-M5NBPOKJ.cjs → chunk-SPS7TL7Z.cjs} +677 -639
- package/dist/{chunk-WKVAD374.cjs → chunk-T64MG3HS.cjs} +4 -4
- package/dist/{cloud-tenants-KL2COIBU.cjs → cloud-tenants-H5TMGGDF.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- 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/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +16 -4
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +9 -2
- package/dist/components/help-center-pages/index.cjs +55 -55
- package/dist/components/index.cjs +21 -19
- 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/assignee-dropdown.d.ts +10 -0
- package/dist/components/ui/assignee-dropdown.d.ts.map +1 -1
- package/dist/components/ui/assignee-dropdown.js +14 -2
- package/dist/components/ui/autocomplete.d.ts +24 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +26 -4
- package/dist/components/ui/index.cjs +5 -3
- package/dist/components/ui/reopen-ticket-modal.d.ts +17 -1
- package/dist/components/ui/reopen-ticket-modal.d.ts.map +1 -1
- package/dist/components/ui/reopen-ticket-modal.js +8 -15
- package/dist/components/ui/searchable-select.d.ts +17 -0
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +24 -9
- package/dist/components/ui/server-search-options.d.ts +30 -0
- package/dist/components/ui/server-search-options.d.ts.map +1 -0
- package/dist/components/ui/server-search-options.js +30 -0
- package/dist/components/ui/take-over-ticket-modal.d.ts +25 -1
- package/dist/components/ui/take-over-ticket-modal.d.ts.map +1 -1
- package/dist/components/ui/take-over-ticket-modal.js +14 -14
- package/dist/components/ui/ticket-info-section.d.ts +2 -0
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-info-section.js +2 -1
- package/dist/{devices-3HQDYLE2.cjs → devices-4MF5B7WJ.cjs} +4 -4
- package/dist/index.cjs +6 -4
- package/dist/{knowledge-6LA6XYUR.cjs → knowledge-MI7VMPRF.cjs} +3 -3
- package/dist/{logs-R4YZI33F.cjs → logs-7TEU2UXV.cjs} +11 -11
- package/dist/{policies-DGJMMGXN.cjs → policies-AR7B4LW5.cjs} +7 -7
- package/dist/{remote-session-HLGLKOGW.cjs → remote-session-LMUFV2RZ.cjs} +4 -4
- package/dist/{scripts-6KR5UZQY.cjs → scripts-HTMYPV5Q.cjs} +10 -10
- package/dist/{software-update-R63SKZQM.cjs → software-update-YMSYGYCM.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +10 -1
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +10 -4
- package/src/components/ui/assignee-dropdown.tsx +29 -1
- package/src/components/ui/autocomplete.tsx +68 -5
- package/src/components/ui/reopen-ticket-modal.tsx +22 -14
- package/src/components/ui/searchable-select.tsx +52 -8
- package/src/components/ui/server-search-options.ts +65 -0
- package/src/components/ui/take-over-ticket-modal.tsx +35 -13
- package/src/components/ui/ticket-info-section.tsx +3 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkH6U3K5EXcjs = require('./chunk-H6U3K5EX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -24,10 +24,10 @@ var _chunkRZNRKWG5cjs = require('./chunk-RZNRKWG5.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -187,7 +187,7 @@ function ProductReleasesView({
|
|
|
187
187
|
initialData
|
|
188
188
|
});
|
|
189
189
|
const isLoading = inScope || fetching;
|
|
190
|
-
|
|
190
|
+
_chunkH6U3K5EXcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
191
191
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
192
192
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
193
193
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -206,10 +206,10 @@ function ProductReleasesView({
|
|
|
206
206
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
207
207
|
};
|
|
208
208
|
if (error) {
|
|
209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
210
210
|
}
|
|
211
211
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.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,
|
|
212
|
-
|
|
212
|
+
_chunkH6U3K5EXcjs.ListEmptyState,
|
|
213
213
|
{
|
|
214
214
|
isFiltered: hasActiveFilters,
|
|
215
215
|
filtered: {
|
|
@@ -322,7 +322,7 @@ function MediaGalleryStripSkeleton({
|
|
|
322
322
|
var _lucidereact = require('lucide-react');
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
var DefaultMarkdownRenderer =
|
|
325
|
+
var DefaultMarkdownRenderer = _chunkSPS7TL7Zcjs.RichMarkdownRenderer;
|
|
326
326
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
327
327
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
328
328
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -372,7 +372,7 @@ function ReleaseDetailPage({
|
|
|
372
372
|
}) {
|
|
373
373
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
374
374
|
const captions = _chunkKS5V55HNcjs.useCaptions.call(void 0, );
|
|
375
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
375
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
376
376
|
const seed = initialData == null ? void 0 : initialData;
|
|
377
377
|
const {
|
|
378
378
|
data: release,
|
|
@@ -465,7 +465,7 @@ function ReleaseDetailPage({
|
|
|
465
465
|
const bugFixed = view.bugs_fixed;
|
|
466
466
|
const improvements = view.improvements;
|
|
467
467
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
468
|
-
|
|
468
|
+
_chunkFRS2VO22cjs.PageLayout,
|
|
469
469
|
{
|
|
470
470
|
title: releaseTitle,
|
|
471
471
|
subtitle: loading ? void 0 : `Version: ${releaseVersion}`,
|
|
@@ -478,7 +478,7 @@ function ReleaseDetailPage({
|
|
|
478
478
|
children: [
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
480
480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkSPS7TL7Zcjs.EntityTagBadges,
|
|
482
482
|
{
|
|
483
483
|
tags: view.product_release_tags,
|
|
484
484
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -559,7 +559,7 @@ function ReleaseDetailPage({
|
|
|
559
559
|
] })
|
|
560
560
|
] }) }) }),
|
|
561
561
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkSPS7TL7Zcjs.ReleaseChangelogSection,
|
|
563
563
|
{
|
|
564
564
|
title: "Breaking Changes",
|
|
565
565
|
entries: breakingChanges || [],
|
|
@@ -571,7 +571,7 @@ function ReleaseDetailPage({
|
|
|
571
571
|
}
|
|
572
572
|
),
|
|
573
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
574
|
-
|
|
574
|
+
_chunkSPS7TL7Zcjs.ReleaseChangelogSection,
|
|
575
575
|
{
|
|
576
576
|
title: "Features Added",
|
|
577
577
|
entries: featuresAdded || [],
|
|
@@ -581,7 +581,7 @@ function ReleaseDetailPage({
|
|
|
581
581
|
}
|
|
582
582
|
),
|
|
583
583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
584
|
-
|
|
584
|
+
_chunkSPS7TL7Zcjs.ReleaseChangelogSection,
|
|
585
585
|
{
|
|
586
586
|
title: "Bugs Fixed",
|
|
587
587
|
entries: bugFixed || [],
|
|
@@ -591,7 +591,7 @@ function ReleaseDetailPage({
|
|
|
591
591
|
}
|
|
592
592
|
),
|
|
593
593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
|
|
594
|
+
_chunkSPS7TL7Zcjs.ReleaseChangelogSection,
|
|
595
595
|
{
|
|
596
596
|
title: "Improvements",
|
|
597
597
|
entries: improvements || [],
|
|
@@ -620,9 +620,9 @@ function ReleaseDetailPage({
|
|
|
620
620
|
return deliveryLoading ? (
|
|
621
621
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
622
622
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.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 }) }) }) })
|
|
624
624
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
|
|
625
|
+
_chunkSPS7TL7Zcjs.FadePreview,
|
|
626
626
|
{
|
|
627
627
|
hiddenCount: deliveryCount - 1,
|
|
628
628
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -1056,7 +1056,7 @@ function RoadmapGrid({
|
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
1058
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1059
|
-
|
|
1059
|
+
_chunkSPS7TL7Zcjs.Accordion,
|
|
1060
1060
|
{
|
|
1061
1061
|
type: "multiple",
|
|
1062
1062
|
value: expandedQuarters,
|
|
@@ -1066,14 +1066,14 @@ function RoadmapGrid({
|
|
|
1066
1066
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1067
1067
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1068
1068
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1069
|
-
|
|
1069
|
+
_chunkSPS7TL7Zcjs.AccordionItem,
|
|
1070
1070
|
{
|
|
1071
1071
|
value: quarter,
|
|
1072
1072
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1073
1073
|
className: "border-0",
|
|
1074
1074
|
"data-loading-item": true,
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.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: [
|
|
1077
1077
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1078
1078
|
"h3",
|
|
1079
1079
|
{
|
|
@@ -1103,7 +1103,7 @@ function RoadmapGrid({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
)
|
|
1105
1105
|
] }) }),
|
|
1106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.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,
|
|
1107
1107
|
RoadmapGridSingle,
|
|
1108
1108
|
{
|
|
1109
1109
|
items: itemsByQuarter[quarter],
|
|
@@ -1154,18 +1154,18 @@ function RoadmapView({
|
|
|
1154
1154
|
});
|
|
1155
1155
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1156
1156
|
_chunkAZJYMTBScjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1157
|
-
const syncInPage =
|
|
1157
|
+
const syncInPage = _chunkH6U3K5EXcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1158
1158
|
if (error) {
|
|
1159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1160
1160
|
}
|
|
1161
1161
|
if (isLoading && !data) {
|
|
1162
1162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1163
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1163
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.DataSyncLine, { loading: true }),
|
|
1164
1164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1165
1165
|
] });
|
|
1166
1166
|
}
|
|
1167
1167
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1168
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1168
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1169
1169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1170
1170
|
RoadmapGrid,
|
|
1171
1171
|
{
|
|
@@ -1189,7 +1189,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkPRCGRDHVcjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1189
1189
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1190
1190
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1191
1191
|
function DeliveryTableSkeleton() {
|
|
1192
|
-
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, _chunk7JWFMAQBcjs.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,
|
|
1192
|
+
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, _chunk7JWFMAQBcjs.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, _chunkH6U3K5EXcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1193
1193
|
}
|
|
1194
1194
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1195
1195
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1202,7 +1202,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1202
1202
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1203
1203
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1204
1204
|
// outer wrapper here ONLY exists for the row separators.
|
|
1205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH6U3K5EXcjs.DeliveryRow, { item, id: _chunkBT53NHR7cjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1206
1206
|
)) }) });
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
@@ -1287,18 +1287,18 @@ function DeliveryLists({
|
|
|
1287
1287
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1288
1288
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1289
1289
|
_chunkAZJYMTBScjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1290
|
-
const syncInPage =
|
|
1290
|
+
const syncInPage = _chunkH6U3K5EXcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1291
1291
|
const showCompleted = true;
|
|
1292
1292
|
const showInProgress = true;
|
|
1293
1293
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1294
1294
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1295
1295
|
if (error) {
|
|
1296
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1297
1297
|
}
|
|
1298
1298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1299
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1299
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1300
1300
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1301
|
-
|
|
1301
|
+
_chunkH6U3K5EXcjs.ListEmptyState,
|
|
1302
1302
|
{
|
|
1303
1303
|
isFiltered: hasActiveFilters,
|
|
1304
1304
|
filtered: {
|
|
@@ -1535,7 +1535,7 @@ function LegalDocumentPage({
|
|
|
1535
1535
|
emptyStateMessage: emptyStateMessageProp,
|
|
1536
1536
|
initialData = null,
|
|
1537
1537
|
apiEndpoint,
|
|
1538
|
-
MarkdownRenderer =
|
|
1538
|
+
MarkdownRenderer = _chunkSPS7TL7Zcjs.RichMarkdownRenderer,
|
|
1539
1539
|
documentsEndpoint,
|
|
1540
1540
|
backButton,
|
|
1541
1541
|
faq,
|
|
@@ -1557,7 +1557,7 @@ function LegalDocumentPage({
|
|
|
1557
1557
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1558
1558
|
const subtitle = isLoading ? void 0 : _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1559
1559
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1560
|
-
|
|
1560
|
+
_chunkFRS2VO22cjs.PageLayout,
|
|
1561
1561
|
{
|
|
1562
1562
|
title,
|
|
1563
1563
|
subtitle,
|
|
@@ -1566,7 +1566,7 @@ function LegalDocumentPage({
|
|
|
1566
1566
|
titleSize: "h1",
|
|
1567
1567
|
titleWrap: true,
|
|
1568
1568
|
children: [
|
|
1569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1570
1570
|
/* @__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: _chunk7JWFMAQBcjs.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: [
|
|
1571
1571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1572
1572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1590,7 +1590,7 @@ function LegalDocumentPage({
|
|
|
1590
1590
|
]
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1593
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -209,7 +209,7 @@ function ContactForm({
|
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkSPS7TL7Zcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -5,12 +5,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
|
|
9
9
|
|
|
10
10
|
// src/components/product-demo/screens/devices-view.tsx
|
|
11
11
|
var _jsxruntime = require('react/jsx-runtime');
|
|
12
12
|
var DEVICES_SEARCH_QUERY = "Windows";
|
|
13
|
-
var TOOLBAR = { ...
|
|
13
|
+
var TOOLBAR = { ..._chunkSPS7TL7Zcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
|
|
14
14
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
15
15
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
16
16
|
var NO_DEVICES = [];
|
|
@@ -22,7 +22,7 @@ function DevicesScreenView({
|
|
|
22
22
|
loading = false
|
|
23
23
|
}) {
|
|
24
24
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25
|
-
|
|
25
|
+
_chunkSPS7TL7Zcjs.DevicesPanelView,
|
|
26
26
|
{
|
|
27
27
|
className: "p-[var(--spacing-system-l)]",
|
|
28
28
|
headerSlot: NO_HEADER,
|