@flamingo-stack/openframe-frontend-core 0.0.838 → 0.0.839
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-MMPMQUQM.cjs → chunk-2XZZHRRU.cjs} +4 -4
- package/dist/{chunk-JFR3OFE6.cjs → chunk-37XKZ4JM.cjs} +2 -2
- package/dist/{chunk-U4MJ2Z4V.cjs → chunk-3MBKEF7Z.cjs} +10 -10
- package/dist/{chunk-V322TUBY.cjs → chunk-C4RYIDPU.cjs} +3 -3
- package/dist/{chunk-TMD55O5U.cjs → chunk-DFTXZE7B.cjs} +24 -24
- package/dist/{chunk-JI34QKPJ.cjs → chunk-GN6LEJWY.cjs} +20 -20
- package/dist/{chunk-B4THEQOW.cjs → chunk-N2TCVIPR.cjs} +208 -25
- package/dist/{chunk-NV5AHL4G.cjs → chunk-SZVPRP5E.cjs} +3 -3
- package/dist/{chunk-7QNGILIY.cjs → chunk-TKS25VKE.cjs} +7 -7
- package/dist/{chunk-4TUHHKLR.cjs → chunk-UDRVVCOC.cjs} +31 -31
- package/dist/{chunk-2X5LYDNA.cjs → chunk-XJ4AB24Y.cjs} +3 -3
- package/dist/{cloud-tenants-GLPDB2F5.cjs → cloud-tenants-WE3H3VAW.cjs} +2 -2
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/docs/index.cjs +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/command-box.js +4 -23
- package/dist/components/features/index.cjs +12 -2
- package/dist/components/features/software/index.d.ts +1 -0
- package/dist/components/features/software/index.d.ts.map +1 -1
- package/dist/components/features/software/index.js +12 -0
- package/dist/components/features/software/software-action-form.d.ts +9 -1
- package/dist/components/features/software/software-action-form.d.ts.map +1 -1
- package/dist/components/features/software/software-action-form.js +18 -1
- package/dist/components/features/software/update-settings-fields.d.ts +43 -0
- package/dist/components/features/software/update-settings-fields.d.ts.map +1 -0
- package/dist/components/features/software/update-settings-fields.js +202 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +2 -3
- package/dist/components/help-center-pages/index.cjs +48 -49
- package/dist/components/index.cjs +27 -17
- package/dist/components/meeting-scheduler/index.cjs +20 -20
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/onboarding-guides/index.cjs +3 -3
- package/dist/components/product-demo/fixtures/software-update.d.ts +2 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/software-update.js +3 -2
- package/dist/components/product-demo/index.cjs +11 -11
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/{devices-GHPW5WCO.cjs → devices-ZBZN2RRG.cjs} +3 -3
- package/dist/index.cjs +13 -3
- package/dist/{knowledge-4TOSY2S5.cjs → knowledge-2QNZGDFO.cjs} +2 -2
- package/dist/{logs-MUODFY6N.cjs → logs-YPWTJVIH.cjs} +9 -9
- package/dist/{policies-TJHO3VLE.cjs → policies-BK7TUKAF.cjs} +6 -6
- package/dist/{scripts-X5CMYE2V.cjs → scripts-K7AOYWZE.cjs} +7 -7
- package/dist/{software-update-2UZKHTYM.cjs → software-update-UFN4SBMY.cjs} +7 -7
- package/dist/utils/notifications.cjs +2 -0
- package/dist/utils/notifications.d.ts +1 -1
- package/dist/utils/notifications.d.ts.map +1 -1
- package/dist/utils/notifications.js +2 -0
- package/package.json +1 -1
- package/src/components/features/command-box.tsx +17 -19
- package/src/components/features/notifications/notification-category-icon.tsx +1 -1
- package/src/components/features/software/index.ts +11 -0
- package/src/components/features/software/software-action-form.tsx +28 -1
- package/src/components/features/software/update-settings-fields.tsx +265 -0
- package/src/components/help-center-pages/download-apps-page.tsx +4 -5
- package/src/components/product-demo/fixtures/software-update.ts +2 -2
- package/src/utils/notifications.ts +2 -0
|
@@ -13,7 +13,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkN2TCVIPRcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -228,7 +228,7 @@ function DevSectionPage({
|
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk2QAUQPGCcjs = require('./chunk-2QAUQPGC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
@@ -51,7 +51,7 @@ function FaqDocumentPage({
|
|
|
51
51
|
skeletonNav
|
|
52
52
|
}
|
|
53
53
|
) });
|
|
54
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
54
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXJ4AB24Ycjs = require('./chunk-XJ4AB24Y.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ var _chunk7XRFAHJFcjs = require('./chunk-7XRFAHJF.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
@@ -354,7 +354,7 @@ function toDocContent(value, requestedPath) {
|
|
|
354
354
|
function toDataSync(value) {
|
|
355
355
|
if (!isRecord(value)) return void 0;
|
|
356
356
|
const source = readString(value, "source");
|
|
357
|
-
if (!
|
|
357
|
+
if (!_chunkN2TCVIPRcjs.isDataSyncSource.call(void 0, source)) return void 0;
|
|
358
358
|
return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
|
|
359
359
|
}
|
|
360
360
|
function useDocumentTree(config, initialPath) {
|
|
@@ -796,7 +796,7 @@ function DocViewerContent({
|
|
|
796
796
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
797
797
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
798
798
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
799
|
-
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
799
|
+
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
|
|
800
800
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
801
801
|
_chunk7XRFAHJFcjs.DocSearchBar,
|
|
802
802
|
{
|
|
@@ -887,7 +887,7 @@ function DocViewerContent({
|
|
|
887
887
|
) })
|
|
888
888
|
] })
|
|
889
889
|
] }) }) });
|
|
890
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
// src/components/docs/skeletons.tsx
|
|
@@ -959,7 +959,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
959
959
|
] }),
|
|
960
960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
|
|
961
961
|
] }),
|
|
962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.EmbedLoadingSkeleton, { region: false })
|
|
963
963
|
] });
|
|
964
964
|
}
|
|
965
965
|
|
|
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
967
967
|
|
|
968
968
|
var DEFAULT_TITLE = "Documents";
|
|
969
969
|
var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
|
|
970
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
971
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
972
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
970
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXJ4AB24Ycjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
971
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXJ4AB24Ycjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
972
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
973
973
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
974
|
-
|
|
974
|
+
_chunkXJ4AB24Ycjs.FileDownloadCard,
|
|
975
975
|
{
|
|
976
976
|
fileName: content.fileName,
|
|
977
977
|
mimeType: content.mimeType,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -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, _chunkN2TCVIPRcjs.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, _chunkSWF6TNZ3cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkN2TCVIPRcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -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 _chunkC4RYIDPUcjs = require('./chunk-C4RYIDPU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2XZZHRRUcjs = require('./chunk-2XZZHRRU.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ var _chunkENK75WN4cjs = require('./chunk-ENK75WN4.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -693,7 +693,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
693
693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
694
694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
|
|
695
695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
696
|
-
|
|
696
|
+
_chunkN2TCVIPRcjs.Textarea,
|
|
697
697
|
{
|
|
698
698
|
id: "ticket-content",
|
|
699
699
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -823,7 +823,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
823
823
|
dateClosed: clickup.date_closed,
|
|
824
824
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
825
825
|
};
|
|
826
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkTD4CC4KVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkTD4CC4KVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XZZHRRUcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -905,13 +905,13 @@ function TicketReplyComposer({
|
|
|
905
905
|
}
|
|
906
906
|
)
|
|
907
907
|
] }),
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
909
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN2TCVIPRcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN2TCVIPRcjs.AlertDialogHeader, { children: [
|
|
910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
912
912
|
] }),
|
|
913
913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
-
|
|
914
|
+
_chunkN2TCVIPRcjs.Textarea,
|
|
915
915
|
{
|
|
916
916
|
value: resolution,
|
|
917
917
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -921,9 +921,9 @@ function TicketReplyComposer({
|
|
|
921
921
|
className: "mt-2"
|
|
922
922
|
}
|
|
923
923
|
),
|
|
924
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
924
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN2TCVIPRcjs.AlertDialogFooter, { children: [
|
|
925
925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunkN2TCVIPRcjs.AlertDialogCancel,
|
|
927
927
|
{
|
|
928
928
|
disabled: busy,
|
|
929
929
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -931,7 +931,7 @@ function TicketReplyComposer({
|
|
|
931
931
|
}
|
|
932
932
|
),
|
|
933
933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
-
|
|
934
|
+
_chunkN2TCVIPRcjs.AlertDialogAction,
|
|
935
935
|
{
|
|
936
936
|
onClick: () => void confirmClose(),
|
|
937
937
|
disabled: busy,
|
|
@@ -1092,7 +1092,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1092
1092
|
avatarUrl: avatarSrc,
|
|
1093
1093
|
timeLabel: eng.createdAt ? _chunk5L3UKDC6cjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1094
1094
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1095
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1095
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1096
1096
|
},
|
|
1097
1097
|
eng.id
|
|
1098
1098
|
);
|
|
@@ -1339,7 +1339,7 @@ function TicketCenterAuthed({
|
|
|
1339
1339
|
const toggleRow = _react.useCallback.call(void 0, (id) => {
|
|
1340
1340
|
setExpandedTicketId((prev) => prev === id ? null : id);
|
|
1341
1341
|
}, []);
|
|
1342
|
-
const syncInPage =
|
|
1342
|
+
const syncInPage = _chunk2XZZHRRUcjs.usePageDataSync.call(void 0, sync, isLoading);
|
|
1343
1343
|
const merged = [...optimisticTickets, ...tickets];
|
|
1344
1344
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1345
1345
|
TicketCenterView,
|
|
@@ -1375,7 +1375,7 @@ function TicketCenterAuthed({
|
|
|
1375
1375
|
function TicketCenterPending({
|
|
1376
1376
|
region = true
|
|
1377
1377
|
} = {}) {
|
|
1378
|
-
const syncInPage =
|
|
1378
|
+
const syncInPage = _chunk2XZZHRRUcjs.usePageDataSync.call(void 0, null, true);
|
|
1379
1379
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1380
1380
|
TicketCenterView,
|
|
1381
1381
|
{
|
|
@@ -1438,7 +1438,7 @@ function TicketListHeader({
|
|
|
1438
1438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
|
|
1439
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
|
|
1440
1440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
1441
|
-
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1441
|
+
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
|
|
1442
1442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1443
1443
|
_chunkFCZAUK4Dcjs.Button,
|
|
1444
1444
|
{
|
|
@@ -1473,7 +1473,7 @@ function HelpCenterCard(props) {
|
|
|
1473
1473
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
|
|
1474
1474
|
}
|
|
1475
1475
|
function HelpCenterCardSkeleton({ id, ...props }) {
|
|
1476
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.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,
|
|
1476
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.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, _chunk2XZZHRRUcjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
|
|
1477
1477
|
}
|
|
1478
1478
|
function HelpCenterCardLoaded({
|
|
1479
1479
|
ticket,
|
|
@@ -1567,7 +1567,7 @@ function HelpCenterCardLoaded({
|
|
|
1567
1567
|
"aria-expanded": isExpandable ? isExpanded : void 0,
|
|
1568
1568
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1569
1569
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1570
|
-
|
|
1570
|
+
_chunk2XZZHRRUcjs.DevCardRowContent,
|
|
1571
1571
|
{
|
|
1572
1572
|
title,
|
|
1573
1573
|
subtitle,
|
|
@@ -1648,7 +1648,7 @@ function HelpCenterCreateFormBody({
|
|
|
1648
1648
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1649
1649
|
] });
|
|
1650
1650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1651
|
-
|
|
1651
|
+
_chunkC4RYIDPUcjs.ContactForm,
|
|
1652
1652
|
{
|
|
1653
1653
|
rescue: null,
|
|
1654
1654
|
title: "Open a new ticket",
|
|
@@ -1698,7 +1698,7 @@ function HelpCenterList({ toast: toast2 = _chunkLWMWY3JOcjs.toast, backButton, t
|
|
|
1698
1698
|
const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1699
1699
|
if (identity.isLoading) {
|
|
1700
1700
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1701
|
-
|
|
1701
|
+
_chunk2XZZHRRUcjs.DevSectionPage,
|
|
1702
1702
|
{
|
|
1703
1703
|
sectionKey: "tickets",
|
|
1704
1704
|
backButton,
|
|
@@ -1710,7 +1710,7 @@ function HelpCenterList({ toast: toast2 = _chunkLWMWY3JOcjs.toast, backButton, t
|
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
1712
1712
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1713
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1713
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XZZHRRUcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1714
1714
|
_chunkWVNUCKB7cjs.EmptyState,
|
|
1715
1715
|
{
|
|
1716
1716
|
type: "generic",
|
|
@@ -1841,7 +1841,7 @@ function HelpCenterListAuthed({
|
|
|
1841
1841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1842
1842
|
] }),
|
|
1843
1843
|
!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, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1844
|
-
|
|
1844
|
+
_chunk2XZZHRRUcjs.ListEmptyState,
|
|
1845
1845
|
{
|
|
1846
1846
|
isFiltered: hasActiveFilters,
|
|
1847
1847
|
filtered: {
|
|
@@ -1881,7 +1881,7 @@ function HelpCenterListAuthed({
|
|
|
1881
1881
|
)) }) }),
|
|
1882
1882
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWVNUCKB7cjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1883
1883
|
] });
|
|
1884
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1884
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XZZHRRUcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1885
1885
|
}
|
|
1886
1886
|
function HelpCenterRowsFrame({ children }) {
|
|
1887
1887
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
|
|
@@ -18,7 +18,7 @@ var _chunkENK75WN4cjs = require('./chunk-ENK75WN4.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkN2TCVIPRcjs = require('./chunk-N2TCVIPR.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkTRZEFT2Ncjs = require('./chunk-TRZEFT2N.cjs');
|
|
@@ -211,7 +211,7 @@ function NavItemRow({
|
|
|
211
211
|
className
|
|
212
212
|
}) {
|
|
213
213
|
const label = navLinkLabel(link);
|
|
214
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
214
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
215
215
|
const singleLine = !link.description && !link.builtOn;
|
|
216
216
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
217
217
|
ROW_CLASSES[variant],
|
|
@@ -633,7 +633,7 @@ function SiteHeader({
|
|
|
633
633
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
634
634
|
leading,
|
|
635
635
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
636
|
-
|
|
636
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
637
637
|
{
|
|
638
638
|
className: "border-r border-ods-border lg:hidden",
|
|
639
639
|
onClick: mobile.onToggle,
|
|
@@ -940,7 +940,7 @@ function SiteFooter({
|
|
|
940
940
|
const bandPrimary = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", href: nav.primaryCta.href, children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
941
941
|
const columns = nav.footerColumns;
|
|
942
942
|
const accordion = columns.length > ACCORDION_OVER;
|
|
943
|
-
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
+
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.SocialIconRow, { compact: true, links: _chunkN2TCVIPRcjs.siteNavSocialLinks.call(void 0, nav.brand.social) }) : null)));
|
|
944
944
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
945
945
|
"footer",
|
|
946
946
|
{
|
|
@@ -1244,7 +1244,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1244
1244
|
});
|
|
1245
1245
|
if (sections.length === 0 && !inScope) return null;
|
|
1246
1246
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1247
|
-
|
|
1247
|
+
_chunkN2TCVIPRcjs.PageContainer,
|
|
1248
1248
|
{
|
|
1249
1249
|
as: "div",
|
|
1250
1250
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
@@ -1379,7 +1379,7 @@ function RowIcon({ item, size, className }) {
|
|
|
1379
1379
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex shrink-0 items-center justify-center", size === 20 ? "size-5" : "size-4", className),
|
|
1380
1380
|
children: [
|
|
1381
1381
|
sizedIcon(item.icon, size),
|
|
1382
|
-
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1382
|
+
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadDot, { size: "fixed", className: "@[140px]/of-nav-sidebar:hidden" })
|
|
1383
1383
|
]
|
|
1384
1384
|
}
|
|
1385
1385
|
);
|
|
@@ -1702,7 +1702,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1702
1702
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1703
1703
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1704
1704
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1705
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1705
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadDot, { size: "fixed" })
|
|
1706
1706
|
] }),
|
|
1707
1707
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1708
1708
|
"span",
|
|
@@ -2243,7 +2243,7 @@ function toMenuGroups(entries) {
|
|
|
2243
2243
|
),
|
|
2244
2244
|
children: [
|
|
2245
2245
|
entry.icon,
|
|
2246
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2246
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadCountBadge, { count: _nullishCoalesce(entry.count, () => ( 0)) })
|
|
2247
2247
|
]
|
|
2248
2248
|
}
|
|
2249
2249
|
) : void 0,
|
|
@@ -2314,7 +2314,7 @@ function AccountPopover({
|
|
|
2314
2314
|
"aria-hidden": "true"
|
|
2315
2315
|
}
|
|
2316
2316
|
),
|
|
2317
|
-
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2317
|
+
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadDot, { size: "fixed" })
|
|
2318
2318
|
] }),
|
|
2319
2319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2320
2320
|
"span",
|
|
@@ -2493,14 +2493,14 @@ function NotificationsBellButton({
|
|
|
2493
2493
|
variant = "cell",
|
|
2494
2494
|
className
|
|
2495
2495
|
}) {
|
|
2496
|
-
const ctx =
|
|
2496
|
+
const ctx = _chunkN2TCVIPRcjs.useOptionalNotifications.call(void 0, );
|
|
2497
2497
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _66 => _66.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2498
2498
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _67 => _67.isOpen]), () => ( false));
|
|
2499
2499
|
const onClick = _optionalChain([ctx, 'optionalAccess', _68 => _68.toggle]);
|
|
2500
2500
|
const floating = variant === "floating";
|
|
2501
2501
|
const iconClassName = variant === "cell" ? "h-6 w-6" : "h-5 w-5";
|
|
2502
2502
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2503
|
-
|
|
2503
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2504
2504
|
{
|
|
2505
2505
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: iconClassName }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: iconClassName }),
|
|
2506
2506
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2530,7 +2530,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2530
2530
|
const target = targetId ? _chunk5E4YEHHOcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
2531
2531
|
const handleClick = () => _chunkZABZIM2Ycjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
2532
2532
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2533
|
-
|
|
2533
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2534
2534
|
{
|
|
2535
2535
|
icon: (
|
|
2536
2536
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -2540,7 +2540,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2540
2540
|
// existing while updates are unread — never by tinting the glyph.
|
|
2541
2541
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
2542
2542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: variant === "compact" ? "h-5 w-5" : "h-6 w-6" }),
|
|
2543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
2544
2544
|
] })
|
|
2545
2545
|
),
|
|
2546
2546
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -2613,7 +2613,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2613
2613
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
2614
2614
|
const cellDivider = "border-l border-ods-border";
|
|
2615
2615
|
const renderCustomCells = (placement) => _optionalChain([customCells, 'optionalAccess', _69 => _69.filter, 'call', _70 => _70((cell) => (_nullishCoalesce(cell.placement, () => ( "start"))) === placement), 'access', _71 => _71.map, 'call', _72 => _72((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2616
|
-
|
|
2616
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2617
2617
|
{
|
|
2618
2618
|
type: "button",
|
|
2619
2619
|
icon: cell.icon,
|
|
@@ -2634,7 +2634,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2634
2634
|
leading: (
|
|
2635
2635
|
// Mobile: Burger Menu Button
|
|
2636
2636
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2637
|
-
|
|
2637
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2638
2638
|
{
|
|
2639
2639
|
onClick: onToggleMobileMenu,
|
|
2640
2640
|
isActive: isMobileMenuOpen,
|
|
@@ -2660,7 +2660,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2660
2660
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
2661
2661
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2662
2662
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2663
|
-
|
|
2663
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2664
2664
|
{
|
|
2665
2665
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
2666
2666
|
"aria-label": "Search",
|
|
@@ -2678,7 +2678,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2678
2678
|
}
|
|
2679
2679
|
),
|
|
2680
2680
|
renderCustomCells("start"),
|
|
2681
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2681
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
2682
2682
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2683
2683
|
NotificationsBellButton,
|
|
2684
2684
|
{
|
|
@@ -2697,7 +2697,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2697
2697
|
),
|
|
2698
2698
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
2699
2699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2700
|
-
|
|
2700
|
+
_chunkN2TCVIPRcjs.HeaderButton,
|
|
2701
2701
|
{
|
|
2702
2702
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2703
2703
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
@@ -3630,7 +3630,7 @@ function AppLayout({
|
|
|
3630
3630
|
disabled
|
|
3631
3631
|
}
|
|
3632
3632
|
),
|
|
3633
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2TCVIPRcjs.NotificationDrawer, { showClose: !desktopHeader }),
|
|
3634
3634
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3635
3635
|
"div",
|
|
3636
3636
|
{
|
|
@@ -3667,7 +3667,7 @@ function AppLayout({
|
|
|
3667
3667
|
style: bottomInset > 0 || dockFloats ? {
|
|
3668
3668
|
paddingBottom: bottomInset,
|
|
3669
3669
|
[COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
|
|
3670
|
-
...dockFloats && dockHeight > 0 ?
|
|
3670
|
+
...dockFloats && dockHeight > 0 ? _chunkN2TCVIPRcjs.previewFadeMask.call(void 0, `calc(100% - ${dockHeight}px)`) : {}
|
|
3671
3671
|
} : void 0,
|
|
3672
3672
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMG3HJIGGcjs.ContentAreaWidthContext.Provider, { value: contentAreaWidth, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOT6P57ZScjs.ComposerDockHeightContext.Provider, { value: hasDock ? dockHeight : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: adaptive ? "ods-content-scope" : "contents", children }) }) })
|
|
3673
3673
|
}
|