@flamingo-stack/openframe-frontend-core 0.0.801 → 0.0.802
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-LOCJD7TD.cjs → chunk-2BUSXRZ7.cjs} +7 -7
- package/dist/{chunk-237MLBT7.cjs → chunk-52NI57KM.cjs} +37 -37
- package/dist/{chunk-LEEBFBI4.cjs → chunk-75BFVMNA.cjs} +23 -23
- package/dist/{chunk-PJMLRXAG.cjs → chunk-A7IT7MZO.cjs} +2 -2
- package/dist/{chunk-CJSUMYTH.cjs → chunk-A7NRENMU.cjs} +10 -10
- package/dist/{chunk-SHOE6ATQ.cjs → chunk-D3IQHAGL.cjs} +2 -2
- package/dist/{chunk-YUGX72P4.cjs → chunk-DSIIRR3G.cjs} +28 -28
- package/dist/{chunk-PY6SPYUR.cjs → chunk-EJVJDLYC.cjs} +3 -3
- package/dist/{chunk-XYPNYTCV.cjs → chunk-HRMLGU6A.cjs} +3 -3
- package/dist/{chunk-QAUQYQWT.cjs → chunk-M7E7ILE5.cjs} +4 -4
- package/dist/{chunk-THQKEA2T.cjs → chunk-NCQJIYDN.cjs} +7 -7
- package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
- package/dist/{chunk-Z66FOMSA.cjs → chunk-VMQAJIQC.cjs} +26 -26
- package/dist/{chunk-QNIUDJAK.cjs → chunk-YD344MMX.cjs} +2 -2
- package/dist/{chunk-3YPEXJVQ.cjs → chunk-YMPCACQX.cjs} +13 -13
- package/dist/{cloud-tenants-X7QHAIX2.cjs → cloud-tenants-3SWYRUXB.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 +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +39 -15
- package/dist/components/help-center-pages/index.cjs +104 -79
- package/dist/components/index.cjs +26 -26
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-VBFYZVVG.cjs → devices-MQILRW53.cjs} +4 -4
- package/dist/hooks/index.cjs +2 -2
- package/dist/index.cjs +7 -5
- package/dist/{knowledge-RJZJFD2Y.cjs → knowledge-WQ3ABXZC.cjs} +3 -3
- package/dist/{logs-3WZ4GROE.cjs → logs-XRSJGB3I.cjs} +11 -11
- package/dist/{policies-E6WQEXDF.cjs → policies-Q67ZXAGY.cjs} +7 -7
- package/dist/{scripts-JLCM42F4.cjs → scripts-YX324R4S.cjs} +8 -8
- package/dist/{software-update-BVBHAROC.cjs → software-update-PHMXJVAC.cjs} +6 -6
- package/dist/types/downloads.d.ts +5 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/downloads.js +3 -1
- package/dist/types/index.cjs +2 -0
- package/package.json +1 -1
- package/src/components/help-center-pages/download-apps-page.tsx +42 -13
- package/src/types/downloads.ts +6 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -361,7 +361,7 @@ function OnboardingWalkthrough({
|
|
|
361
361
|
isStepSkipped,
|
|
362
362
|
allStepsComplete,
|
|
363
363
|
markMultipleComplete
|
|
364
|
-
} =
|
|
364
|
+
} = _chunkOG4XH6C5cjs.useOnboardingState.call(void 0, storageKey);
|
|
365
365
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
366
366
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
367
367
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -1,14 +1,14 @@
|
|
|
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 _chunkNCQJIYDNcjs = require('./chunk-NCQJIYDN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2BUSXRZ7cjs = require('./chunk-2BUSXRZ7.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -28,11 +28,11 @@ var _chunk3W2PBWD5cjs = require('./chunk-3W2PBWD5.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -691,7 +691,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
691
691
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
692
692
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
|
|
693
693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
694
|
-
|
|
694
|
+
_chunkVMQAJIQCcjs.Textarea,
|
|
695
695
|
{
|
|
696
696
|
id: "ticket-content",
|
|
697
697
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -821,7 +821,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
821
821
|
dateClosed: clickup.date_closed,
|
|
822
822
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
823
823
|
};
|
|
824
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkYBTORXFYcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
824
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkYBTORXFYcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BUSXRZ7cjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
825
825
|
}
|
|
826
826
|
|
|
827
827
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -903,13 +903,13 @@ function TicketReplyComposer({
|
|
|
903
903
|
}
|
|
904
904
|
)
|
|
905
905
|
] }),
|
|
906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
907
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVMQAJIQCcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
907
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVMQAJIQCcjs.AlertDialogHeader, { children: [
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
910
910
|
] }),
|
|
911
911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
912
|
-
|
|
912
|
+
_chunkVMQAJIQCcjs.Textarea,
|
|
913
913
|
{
|
|
914
914
|
value: resolution,
|
|
915
915
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -919,9 +919,9 @@ function TicketReplyComposer({
|
|
|
919
919
|
className: "mt-2"
|
|
920
920
|
}
|
|
921
921
|
),
|
|
922
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
922
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVMQAJIQCcjs.AlertDialogFooter, { children: [
|
|
923
923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
924
|
-
|
|
924
|
+
_chunkVMQAJIQCcjs.AlertDialogCancel,
|
|
925
925
|
{
|
|
926
926
|
disabled: busy,
|
|
927
927
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -929,7 +929,7 @@ function TicketReplyComposer({
|
|
|
929
929
|
}
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
932
|
-
|
|
932
|
+
_chunkVMQAJIQCcjs.AlertDialogAction,
|
|
933
933
|
{
|
|
934
934
|
onClick: () => void confirmClose(),
|
|
935
935
|
disabled: busy,
|
|
@@ -1089,7 +1089,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1089
1089
|
avatarUrl: avatarSrc,
|
|
1090
1090
|
timeLabel: eng.createdAt ? _chunk7MV23NNTcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1091
1091
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1092
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1092
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1093
1093
|
},
|
|
1094
1094
|
eng.id
|
|
1095
1095
|
);
|
|
@@ -1283,7 +1283,7 @@ function TicketRowLoaded({
|
|
|
1283
1283
|
|
|
1284
1284
|
var TICKET_CENTER_CLASS = "flex flex-col gap-6";
|
|
1285
1285
|
var TICKET_LIST_BLOCK_CLASS = "flex flex-col gap-2";
|
|
1286
|
-
function TicketCenter({ toast: toast2 =
|
|
1286
|
+
function TicketCenter({ toast: toast2 = _chunkOG4XH6C5cjs.toast } = {}) {
|
|
1287
1287
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterPending, { region: false });
|
|
1288
1288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterGate, { toast: toast2 });
|
|
1289
1289
|
}
|
|
@@ -1343,7 +1343,7 @@ function TicketCenterAuthed({
|
|
|
1343
1343
|
const toggleRow = _react.useCallback.call(void 0, (id) => {
|
|
1344
1344
|
setExpandedTicketId((prev) => prev === id ? null : id);
|
|
1345
1345
|
}, []);
|
|
1346
|
-
const syncInPage =
|
|
1346
|
+
const syncInPage = _chunk2BUSXRZ7cjs.usePageDataSync.call(void 0, sync, isLoading);
|
|
1347
1347
|
const merged = [...optimisticTickets, ...tickets];
|
|
1348
1348
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1349
1349
|
TicketCenterView,
|
|
@@ -1379,7 +1379,7 @@ function TicketCenterAuthed({
|
|
|
1379
1379
|
function TicketCenterPending({
|
|
1380
1380
|
region = true
|
|
1381
1381
|
} = {}) {
|
|
1382
|
-
const syncInPage =
|
|
1382
|
+
const syncInPage = _chunk2BUSXRZ7cjs.usePageDataSync.call(void 0, null, true);
|
|
1383
1383
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7E4BC3AFcjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1384
1384
|
TicketCenterView,
|
|
1385
1385
|
{
|
|
@@ -1442,7 +1442,7 @@ function TicketListHeader({
|
|
|
1442
1442
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
|
|
1443
1443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
|
|
1444
1444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
1445
|
-
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1445
|
+
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
|
|
1446
1446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1447
1447
|
_chunkAHBTZ7DNcjs.Button,
|
|
1448
1448
|
{
|
|
@@ -1477,7 +1477,7 @@ function HelpCenterCard(props) {
|
|
|
1477
1477
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
|
|
1478
1478
|
}
|
|
1479
1479
|
function HelpCenterCardSkeleton({ id, ...props }) {
|
|
1480
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1480
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BUSXRZ7cjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
|
|
1481
1481
|
}
|
|
1482
1482
|
function HelpCenterCardLoaded({
|
|
1483
1483
|
ticket,
|
|
@@ -1571,7 +1571,7 @@ function HelpCenterCardLoaded({
|
|
|
1571
1571
|
"aria-expanded": isExpandable ? isExpanded : void 0,
|
|
1572
1572
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1573
1573
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1574
|
-
|
|
1574
|
+
_chunk2BUSXRZ7cjs.DevCardRowContent,
|
|
1575
1575
|
{
|
|
1576
1576
|
title,
|
|
1577
1577
|
subtitle,
|
|
@@ -1652,7 +1652,7 @@ function HelpCenterCreateFormBody({
|
|
|
1652
1652
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1653
1653
|
] });
|
|
1654
1654
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1655
|
-
|
|
1655
|
+
_chunkNCQJIYDNcjs.ContactForm,
|
|
1656
1656
|
{
|
|
1657
1657
|
rescue: null,
|
|
1658
1658
|
title: "Open a new ticket",
|
|
@@ -1691,7 +1691,7 @@ function HelpCenterCreateFormBody({
|
|
|
1691
1691
|
|
|
1692
1692
|
// src/components/tickets/help-center-list.tsx
|
|
1693
1693
|
|
|
1694
|
-
function HelpCenterList({ toast: toast2 =
|
|
1694
|
+
function HelpCenterList({ toast: toast2 = _chunkOG4XH6C5cjs.toast, backButton, title, shell } = {}) {
|
|
1695
1695
|
const identity = _chunk7E4BC3AFcjs.useChatIdentity.call(void 0, );
|
|
1696
1696
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
1697
1697
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
@@ -1702,7 +1702,7 @@ function HelpCenterList({ toast: toast2 = _chunkBWR5ACK3cjs.toast, backButton, t
|
|
|
1702
1702
|
const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1703
1703
|
if (identity.isLoading) {
|
|
1704
1704
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1705
|
-
|
|
1705
|
+
_chunk2BUSXRZ7cjs.DevSectionPage,
|
|
1706
1706
|
{
|
|
1707
1707
|
sectionKey: "tickets",
|
|
1708
1708
|
backButton,
|
|
@@ -1714,7 +1714,7 @@ function HelpCenterList({ toast: toast2 = _chunkBWR5ACK3cjs.toast, backButton, t
|
|
|
1714
1714
|
);
|
|
1715
1715
|
}
|
|
1716
1716
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1717
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1717
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BUSXRZ7cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1718
1718
|
_chunkZPVFFPQMcjs.EmptyState,
|
|
1719
1719
|
{
|
|
1720
1720
|
type: "generic",
|
|
@@ -1824,7 +1824,7 @@ function HelpCenterListAuthed({
|
|
|
1824
1824
|
[tickets, ticketParam, setOpenTicket]
|
|
1825
1825
|
);
|
|
1826
1826
|
const merged = [...optimisticTickets, ...tickets];
|
|
1827
|
-
|
|
1827
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, tickets, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1828
1828
|
const hasActiveFilters = search !== "" || status !== "" && status !== "all";
|
|
1829
1829
|
const hasResults = merged.length > 0;
|
|
1830
1830
|
const form = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1845,7 +1845,7 @@ function HelpCenterListAuthed({
|
|
|
1845
1845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1846
1846
|
] }),
|
|
1847
1847
|
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading || !hasResults && isFetching ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterRowsFrame, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1848
|
-
|
|
1848
|
+
_chunk2BUSXRZ7cjs.ListEmptyState,
|
|
1849
1849
|
{
|
|
1850
1850
|
isFiltered: hasActiveFilters,
|
|
1851
1851
|
filtered: {
|
|
@@ -1885,7 +1885,7 @@ function HelpCenterListAuthed({
|
|
|
1885
1885
|
)) }) }),
|
|
1886
1886
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZPVFFPQMcjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1887
1887
|
] });
|
|
1888
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1888
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BUSXRZ7cjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1889
1889
|
}
|
|
1890
1890
|
function HelpCenterRowsFrame({ children }) {
|
|
1891
1891
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
|
|
@@ -5,12 +5,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.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 = { ..._chunkVMQAJIQCcjs.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
|
+
_chunkVMQAJIQCcjs.DevicesPanelView,
|
|
26
26
|
{
|
|
27
27
|
className: "p-[var(--spacing-system-l)]",
|
|
28
28
|
headerSlot: NO_HEADER,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.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
|
+
_chunkVMQAJIQCcjs.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
|
+
_chunkVMQAJIQCcjs.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,
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkYD344MMXcjs = require('./chunk-YD344MMX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
@@ -37,7 +37,7 @@ function FaqDocumentPage({
|
|
|
37
37
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
38
38
|
};
|
|
39
39
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
40
|
+
_chunkYD344MMXcjs.FaqSection,
|
|
41
41
|
{
|
|
42
42
|
initialFaqs,
|
|
43
43
|
heading: null,
|
|
@@ -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, _chunkVMQAJIQCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
|
|
@@ -120,13 +120,13 @@ function ContactForm({
|
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
122
|
const attachments = _chunk7E4BC3AFcjs.useChatAttachments.call(void 0, );
|
|
123
|
-
const builtInSubmission =
|
|
123
|
+
const builtInSubmission = _chunkOG4XH6C5cjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
126
126
|
successToastMessage
|
|
127
127
|
});
|
|
128
128
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
129
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
129
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkOG4XH6C5cjs.useHumanitySignals.call(void 0, );
|
|
130
130
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
131
131
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
132
132
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -152,7 +152,7 @@ function ContactForm({
|
|
|
152
152
|
),
|
|
153
153
|
[hideFields]
|
|
154
154
|
);
|
|
155
|
-
const rescue =
|
|
155
|
+
const rescue = _chunkOG4XH6C5cjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
156
156
|
const handleFormSubmit = async (data) => {
|
|
157
157
|
if (isSubmitting) return;
|
|
158
158
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -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, _chunkVMQAJIQCcjs.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: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTTZEDDR5cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkVMQAJIQCcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -1254,6 +1254,7 @@ var DOWNLOAD_ARCHITECTURE_LABELS = {
|
|
|
1254
1254
|
x64: "x64",
|
|
1255
1255
|
arm64: "ARM"
|
|
1256
1256
|
};
|
|
1257
|
+
var OPEN_APP_LABEL = "Open the app";
|
|
1257
1258
|
|
|
1258
1259
|
// src/hooks/use-downloads.ts
|
|
1259
1260
|
var IDLE = { data: null, isLoading: false, error: false };
|
|
@@ -3121,4 +3122,5 @@ function useRescuedForm(form, { rescue, fields, getSignals, fieldPath }) {
|
|
|
3121
3122
|
|
|
3122
3123
|
|
|
3123
3124
|
|
|
3124
|
-
|
|
3125
|
+
|
|
3126
|
+
exports.useDeferredError = useDeferredError; exports.useFocusTrap = useFocusTrap; exports.useStickyToolbar = useStickyToolbar; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.resolveActiveSection = resolveActiveSection; exports.useActiveSection = useActiveSection; exports.useNavMenus = useNavMenus; exports.useResumableTimeout = useResumableTimeout; exports.usePreventScroll = _overlays.usePreventScroll; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useCopyToClipboard = useCopyToClipboard; exports.DOWNLOADS_API_PATH = DOWNLOADS_API_PATH; exports.DOWNLOADS_CACHE_SECONDS = DOWNLOADS_CACHE_SECONDS; exports.DOWNLOADS_TITLE = DOWNLOADS_TITLE; exports.DOWNLOADS_TAGLINE = DOWNLOADS_TAGLINE; exports.DOWNLOADS_MOBILE_TITLE = DOWNLOADS_MOBILE_TITLE; exports.DOWNLOADS_MOBILE_TAGLINE = DOWNLOADS_MOBILE_TAGLINE; exports.APP_DOWNLOAD_KINDS = APP_DOWNLOAD_KINDS; exports.DESKTOP_OS_LABELS = DESKTOP_OS_LABELS; exports.DOWNLOAD_ARCHITECTURE_LABELS = DOWNLOAD_ARCHITECTURE_LABELS; exports.OPEN_APP_LABEL = OPEN_APP_LABEL; exports.resetDownloadsStore = resetDownloadsStore; exports.useDownloads = useDownloads; exports.useVisitorDesktopDownload = useVisitorDesktopDownload; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useScenarioPlayer = useScenarioPlayer; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.useClaudeMirrorSrc = useClaudeMirrorSrc; exports.useLocationHash = useLocationHash; exports.useScrollToHash = useScrollToHash; exports.useHumanitySignals = useHumanitySignals; exports.completeFormRescue = completeFormRescue; exports.useFormRescue = useFormRescue; exports.useRescuedForm = useRescuedForm;
|
|
@@ -52,7 +52,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
@@ -2428,7 +2428,7 @@ function InfoCardValueRow({
|
|
|
2428
2428
|
copyAriaLabel,
|
|
2429
2429
|
loading: loadingProp
|
|
2430
2430
|
}) {
|
|
2431
|
-
const { copy, copied } =
|
|
2431
|
+
const { copy, copied } = _chunkOG4XH6C5cjs.useCopyToClipboard.call(void 0, );
|
|
2432
2432
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2433
2433
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: VALUE_ROW_CLASS, children: [
|
|
2434
2434
|
loading && label === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-20" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: ROW_LABEL_CLASS, children: showLabel ? _nullishCoalesce(label, () => ( "")) : "" }),
|
|
@@ -6141,7 +6141,7 @@ var KIND_HEADING = {
|
|
|
6141
6141
|
design: "Claude Design"
|
|
6142
6142
|
};
|
|
6143
6143
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6144
|
-
const { src: mirrorSrc, status } =
|
|
6144
|
+
const { src: mirrorSrc, status } = _chunkOG4XH6C5cjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6145
6145
|
const isProbing = status === "probing";
|
|
6146
6146
|
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunk6GCXQIUUcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6147
6147
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11785,7 +11785,7 @@ function ServiceCard({
|
|
|
11785
11785
|
function ServiceCardRowItem({ row, loading: loadingProp }) {
|
|
11786
11786
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
11787
11787
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
11788
|
-
const { copy, copied } =
|
|
11788
|
+
const { copy, copied } = _chunkOG4XH6C5cjs.useCopyToClipboard.call(void 0, );
|
|
11789
11789
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkV4FXUIMHcjs.useIsTruncated.call(void 0, row.value);
|
|
11790
11790
|
const actions = _react.useMemo.call(void 0, () => rowActions(row), [row]);
|
|
11791
11791
|
const displayValue = row.isSecret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskedValue, { value: row.value, isRevealed: revealed }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: row.value });
|
|
@@ -15929,7 +15929,7 @@ function TestResultsTable({ rows, loading: loadingProp }) {
|
|
|
15929
15929
|
] }) }) });
|
|
15930
15930
|
}
|
|
15931
15931
|
function TestRunErrorBanner({ error, className }) {
|
|
15932
|
-
const { copy } =
|
|
15932
|
+
const { copy } = _chunkOG4XH6C5cjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
15933
15933
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15934
15934
|
"div",
|
|
15935
15935
|
{
|
|
@@ -17813,7 +17813,7 @@ function SnapCarousel({
|
|
|
17813
17813
|
const goNext = _react.useCallback.call(void 0, () => goTo(index >= count - 1 ? 0 : index + 1), [count, goTo, index]);
|
|
17814
17814
|
const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
|
|
17815
17815
|
const playing = auto.playing && canAutoAdvance;
|
|
17816
|
-
const ranMs =
|
|
17816
|
+
const ranMs = _chunkOG4XH6C5cjs.useResumableTimeout.call(void 0, {
|
|
17817
17817
|
running: playing,
|
|
17818
17818
|
durationMs: autoAdvanceMs,
|
|
17819
17819
|
resetKey: index,
|
|
@@ -18164,10 +18164,10 @@ function AccountDetailsFields({
|
|
|
18164
18164
|
onKeyDown,
|
|
18165
18165
|
layout = "stacked"
|
|
18166
18166
|
}) {
|
|
18167
|
-
const firstNameErr =
|
|
18168
|
-
const lastNameErr =
|
|
18169
|
-
const passwordErr =
|
|
18170
|
-
const confirmErr =
|
|
18167
|
+
const firstNameErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _375 => _375.firstName]), firstName);
|
|
18168
|
+
const lastNameErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _376 => _376.lastName]), lastName);
|
|
18169
|
+
const passwordErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _377 => _377.password]), password);
|
|
18170
|
+
const confirmErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _378 => _378.confirmPassword]), confirmPassword);
|
|
18171
18171
|
const names = [
|
|
18172
18172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18173
18173
|
_chunkTTZEDDR5cjs.Input,
|
|
@@ -18627,9 +18627,9 @@ function CreateOrganizationForm({
|
|
|
18627
18627
|
}) {
|
|
18628
18628
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18629
18629
|
const fieldsDisabled = disabled || loading;
|
|
18630
|
-
const emailErr =
|
|
18631
|
-
const orgNameErr =
|
|
18632
|
-
const domainErr =
|
|
18630
|
+
const emailErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _380 => _380.email]), _nullishCoalesce(email, () => ( "")));
|
|
18631
|
+
const orgNameErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _381 => _381.organizationName]), organizationName);
|
|
18632
|
+
const domainErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _382 => _382.domain]), domain);
|
|
18633
18633
|
const handleKeyDown = (event) => {
|
|
18634
18634
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18635
18635
|
onSubmit();
|
|
@@ -18857,7 +18857,7 @@ function LoginForm({
|
|
|
18857
18857
|
}) {
|
|
18858
18858
|
const fieldDisabled = disabled || loading;
|
|
18859
18859
|
const providersDisabled = fieldDisabled || ssoDisabled;
|
|
18860
|
-
const emailErr =
|
|
18860
|
+
const emailErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _389 => _389.email]), email);
|
|
18861
18861
|
const handleKeyDown = (event) => {
|
|
18862
18862
|
if (event.key !== "Enter" || event.repeat || fieldDisabled) return;
|
|
18863
18863
|
if (onSubmitClick) {
|
|
@@ -19035,8 +19035,8 @@ function OpenFrameSsoLoginForm({
|
|
|
19035
19035
|
className
|
|
19036
19036
|
}) {
|
|
19037
19037
|
const fieldsDisabled = disabled || loading;
|
|
19038
|
-
const emailErr =
|
|
19039
|
-
const passwordErr =
|
|
19038
|
+
const emailErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _393 => _393.email]), email);
|
|
19039
|
+
const passwordErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _394 => _394.password]), password);
|
|
19040
19040
|
const handleKeyDown = (event) => {
|
|
19041
19041
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19042
19042
|
onSubmit();
|
|
@@ -19141,7 +19141,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19141
19141
|
className
|
|
19142
19142
|
}) {
|
|
19143
19143
|
const fieldsDisabled = disabled || loading;
|
|
19144
|
-
const emailErr =
|
|
19144
|
+
const emailErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _395 => _395.email]), email);
|
|
19145
19145
|
const handleKeyDown = (event) => {
|
|
19146
19146
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19147
19147
|
onSubmit();
|
|
@@ -19246,8 +19246,8 @@ function PasswordResetForm({
|
|
|
19246
19246
|
className
|
|
19247
19247
|
}) {
|
|
19248
19248
|
const fieldsDisabled = disabled || loading;
|
|
19249
|
-
const passwordErr =
|
|
19250
|
-
const confirmErr =
|
|
19249
|
+
const passwordErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _396 => _396.password]), password);
|
|
19250
|
+
const confirmErr = _chunkOG4XH6C5cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _397 => _397.confirmPassword]), confirmPassword);
|
|
19251
19251
|
const handleKeyDown = (event) => {
|
|
19252
19252
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19253
19253
|
onSubmit();
|
|
@@ -26642,13 +26642,13 @@ function WaitlistForm({
|
|
|
26642
26642
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26643
26643
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26644
26644
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26645
|
-
const { toast } =
|
|
26646
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26645
|
+
const { toast } = _chunkOG4XH6C5cjs.useToast.call(void 0, );
|
|
26646
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkOG4XH6C5cjs.useHumanitySignals.call(void 0, );
|
|
26647
26647
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26648
26648
|
const isClient = _chunk7E4BC3AFcjs.useIsHydrated.call(void 0, );
|
|
26649
26649
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26650
26650
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26651
|
-
const rescue =
|
|
26651
|
+
const rescue = _chunkOG4XH6C5cjs.useFormRescue.call(void 0, {
|
|
26652
26652
|
form: rescueForm,
|
|
26653
26653
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
26654
26654
|
fieldNames: ["email", "phone"],
|
|
@@ -27417,7 +27417,7 @@ var typeColorByVariant = {
|
|
|
27417
27417
|
error: "text-ods-error"
|
|
27418
27418
|
};
|
|
27419
27419
|
var progressColorByVariant2 = {
|
|
27420
|
-
...
|
|
27420
|
+
..._chunkOG4XH6C5cjs.progressColorByVariant,
|
|
27421
27421
|
default: "bg-ods-accent",
|
|
27422
27422
|
info: "bg-ods-accent"
|
|
27423
27423
|
};
|
|
@@ -27511,7 +27511,7 @@ function LoadedNotificationTile({
|
|
|
27511
27511
|
height: 16,
|
|
27512
27512
|
unoptimized: true
|
|
27513
27513
|
}
|
|
27514
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27514
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkOG4XH6C5cjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27515
27515
|
type ? lockscreen ? (
|
|
27516
27516
|
// A phone names the sender in plain words and never cuts them.
|
|
27517
27517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -27846,7 +27846,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27846
27846
|
] });
|
|
27847
27847
|
}
|
|
27848
27848
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27849
|
-
const { supported, permission, request } =
|
|
27849
|
+
const { supported, permission, request } = _chunkOG4XH6C5cjs.useNotificationPermission.call(void 0, );
|
|
27850
27850
|
if (!supported) return null;
|
|
27851
27851
|
const blocked = permission === "denied";
|
|
27852
27852
|
const handleChange = async (value) => {
|
|
@@ -30187,7 +30187,7 @@ function DevicesList({
|
|
|
30187
30187
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
30188
30188
|
const narrowed = isNarrowed(narrowing);
|
|
30189
30189
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
30190
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
30190
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkOG4XH6C5cjs.useStickyToolbar.call(void 0, );
|
|
30191
30191
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
30192
30192
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions2 ? getDeviceActionsColumn(rowActions2) : void 0, [rowActions2]);
|
|
30193
30193
|
return (
|
|
@@ -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 _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -341,7 +341,7 @@ function GroupedFaqList({
|
|
|
341
341
|
}, [groups, hashTarget]);
|
|
342
342
|
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
343
343
|
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
344
|
-
|
|
344
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
345
345
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
346
346
|
if (pillSyncedHash !== hashTarget) {
|
|
347
347
|
setPillSyncedHash(hashTarget);
|