@flamingo-stack/openframe-frontend-core 0.0.726 → 0.0.728
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3UZET2G7.js → chunk-2F4DO7DS.js} +2 -2
- package/dist/{chunk-X2PG6XWF.cjs → chunk-32QAIKXR.cjs} +9 -9
- package/dist/{chunk-Q2G7NVFH.cjs → chunk-33QHEG7K.cjs} +289 -285
- package/dist/{chunk-VPABPC2M.cjs → chunk-4ICMFNCJ.cjs} +29 -56
- package/dist/{chunk-MZY6LBM5.cjs → chunk-5K3QUH7C.cjs} +3 -3
- package/dist/{chunk-AZKVHJA5.js → chunk-66XG5RFJ.js} +2 -2
- package/dist/{chunk-DXDLCYCM.cjs → chunk-7N6M77PI.cjs} +3 -3
- package/dist/{chunk-4ND65E2B.cjs → chunk-7VYBSCCL.cjs} +35 -35
- package/dist/{chunk-R3BOJNZI.cjs → chunk-APJCBQ7X.cjs} +16 -16
- package/dist/{chunk-RVSNXG6J.cjs → chunk-CELBOIKC.cjs} +488 -421
- package/dist/{chunk-MZ3TMXIX.cjs → chunk-CI7KWY6L.cjs} +3 -3
- package/dist/{chunk-COFT3YPA.js → chunk-EM3WCK2K.js} +5 -5
- package/dist/{chunk-YVWJ3TRY.js → chunk-GEUUDNCI.js} +5 -5
- package/dist/{chunk-SCTS3EMJ.js → chunk-GINCQZMM.js} +3 -3
- package/dist/{chunk-4VRHDFF2.js → chunk-HP4C2DFL.js} +1 -1
- package/dist/{chunk-NLWIBA55.js → chunk-HTQJSW3Y.js} +3 -3
- package/dist/{chunk-EHYAOIE4.cjs → chunk-OKEJY2GC.cjs} +8 -8
- package/dist/{chunk-RSE3MU4G.cjs → chunk-OYU7QNLQ.cjs} +11 -11
- package/dist/{chunk-NZYMMYWN.js → chunk-QL4RUHKU.js} +1 -1
- package/dist/{chunk-5SWQ2ZU5.cjs → chunk-RMXLHYEG.cjs} +26 -26
- package/dist/{chunk-MM66P4X4.js → chunk-SKEW5NMJ.js} +22 -49
- package/dist/{chunk-XEIDJ6SL.cjs → chunk-SSXQYS5K.cjs} +65 -65
- package/dist/{chunk-3XDVGHL4.js → chunk-TYMLEI2I.js} +2 -2
- package/dist/{chunk-SBPPM65Y.js → chunk-UF3NFAQK.js} +265 -198
- package/dist/{chunk-FMFCPX3R.cjs → chunk-UJZ5Y3RK.cjs} +33 -33
- package/dist/{chunk-C5KMQLJP.js → chunk-URYLQ4MC.js} +15 -11
- package/dist/{chunk-MQ3ZM7FJ.js → chunk-VGRQK7YS.js} +1 -1
- package/dist/{chunk-JYJBL7GD.js → chunk-XYSKJ7GA.js} +1 -1
- package/dist/{chunk-Z3VAFLYK.cjs → chunk-YREYU6DY.cjs} +9 -9
- package/dist/{chunk-VKR56R3U.js → chunk-ZDGK2TNJ.js} +3 -3
- package/dist/{cloud-tenants-5JTQ2ENQ.cjs → cloud-tenants-XP3L6PWO.cjs} +3 -3
- package/dist/{cloud-tenants-NH7VE7KE.js → cloud-tenants-XVVFCOK2.js} +2 -2
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/assistant-ask-prompts.d.ts +34 -14
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +34 -7
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.js +3 -5
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/faq-ask-card.d.ts +8 -11
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -1
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/auth/auth-shell.d.ts +3 -1
- package/dist/components/features/auth/auth-shell.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +35 -37
- package/dist/components/index.js +14 -16
- package/dist/components/meeting-scheduler/index.cjs +19 -19
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.js +4 -6
- package/dist/{devices-PV76NGQO.cjs → devices-MMHLY67A.cjs} +4 -4
- package/dist/{devices-OC7JEI6U.js → devices-S7PJJI66.js} +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{knowledge-5AYFIVKD.cjs → knowledge-LJNFAJNE.cjs} +4 -4
- package/dist/{knowledge-L7WQ7IEP.js → knowledge-WW3LOQKN.js} +2 -2
- package/dist/{logs-4F77RJXJ.cjs → logs-F4ZVNUKQ.cjs} +11 -11
- package/dist/{logs-MGFHGVIE.js → logs-I4DMHQDA.js} +2 -2
- package/dist/{policies-VCGM3C5Z.cjs → policies-KZXFXGD7.cjs} +7 -7
- package/dist/{policies-WRDZFNIB.js → policies-RX55V46V.js} +2 -2
- package/dist/{software-update-YD2MNL3K.cjs → software-update-4A242VDB.cjs} +6 -6
- package/dist/{software-update-WVG2GDZO.js → software-update-VI7FQYR4.js} +2 -2
- package/dist/utils/index.cjs +8 -6
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +6 -5
- package/dist/utils/trial.d.ts +17 -9
- package/dist/utils/trial.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/assistant-ask-prompts.tsx +84 -39
- package/src/components/chat/hooks/index.ts +3 -2
- package/src/components/chat/hooks/use-ask-prompts.ts +140 -56
- package/src/components/faq/faq-ask-card.tsx +22 -67
- package/src/components/features/auth/auth-benefits-panel.tsx +15 -8
- package/src/components/features/auth/auth-shell.tsx +4 -2
- package/src/utils/index.ts +1 -1
- package/src/utils/trial.ts +16 -10
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -45,7 +45,7 @@ function HorizontalSectionNav({
|
|
|
45
45
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
|
|
46
46
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
|
|
47
47
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkCELBOIKCcjs.ScrollShadow,
|
|
49
49
|
{
|
|
50
50
|
axis: "horizontal",
|
|
51
51
|
className: "min-w-0 flex-1",
|
|
@@ -330,7 +330,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
330
330
|
// src/components/navigation/multi-level-navigation.tsx
|
|
331
331
|
var _lucidereact = require('lucide-react');
|
|
332
332
|
|
|
333
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
333
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkCELBOIKCcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
334
334
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
335
335
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
336
336
|
if (selectedPath === node.path) {
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VGRQK7YS.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav,
|
|
11
11
|
useScrollSpy
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QL4RUHKU.js";
|
|
13
13
|
import {
|
|
14
14
|
DocSearchBar,
|
|
15
15
|
useDocSearch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-66XG5RFJ.js";
|
|
17
17
|
import {
|
|
18
18
|
CategorySidebarSkeleton,
|
|
19
19
|
FigmaEmbed,
|
|
20
20
|
PageShell
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-URYLQ4MC.js";
|
|
22
22
|
import {
|
|
23
23
|
PageLayout
|
|
24
24
|
} from "./chunk-TU5LEF6A.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
findDocNodeByPath,
|
|
28
28
|
getDocAncestorNodeIds,
|
|
29
29
|
stripFolderIndexFromPath
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UF3NFAQK.js";
|
|
31
31
|
import {
|
|
32
32
|
HUB_HEADER_OFFSET_PX,
|
|
33
33
|
navigateSamePageHash,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TYMLEI2I.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage,
|
|
10
10
|
ListEmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2F4DO7DS.js";
|
|
12
12
|
import {
|
|
13
13
|
EmptyState,
|
|
14
14
|
UnifiedPagination
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TOAST_COPY,
|
|
20
20
|
isOptimistic,
|
|
21
21
|
useOptionalTicketLive
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XYSKJ7GA.js";
|
|
23
23
|
import {
|
|
24
24
|
AlertDialog,
|
|
25
25
|
AlertDialogAction,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
AlertDialogTitle,
|
|
32
32
|
Textarea,
|
|
33
33
|
TicketAttachmentsList
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-URYLQ4MC.js";
|
|
35
35
|
import {
|
|
36
36
|
toast,
|
|
37
37
|
useScrollToHash
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
devSectionAnchorId,
|
|
49
49
|
useChatAttachments,
|
|
50
50
|
useChatIdentity
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UF3NFAQK.js";
|
|
52
52
|
import {
|
|
53
53
|
formatRelativeTime
|
|
54
54
|
} from "./chunk-5D2K7TFT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useOptionalTicketLive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XYSKJ7GA.js";
|
|
5
5
|
import {
|
|
6
6
|
AppLayoutDrawerContainerContext,
|
|
7
7
|
AppLayoutDrawerCoordinationContext,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
UnreadCountBadge,
|
|
13
13
|
UnreadDot,
|
|
14
14
|
useOptionalNotifications
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-URYLQ4MC.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveActiveSection,
|
|
18
18
|
useActiveSection,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
OVERLAY_BACKDROP_CLASS,
|
|
29
29
|
buildTicketOpenHref,
|
|
30
30
|
useIsHydrated
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UF3NFAQK.js";
|
|
32
32
|
import {
|
|
33
33
|
useHeaderHeight
|
|
34
34
|
} from "./chunk-4I3K6LEH.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
ListEmptyState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2F4DO7DS.js";
|
|
9
9
|
import {
|
|
10
10
|
EmptyState
|
|
11
11
|
} from "./chunk-K76ACBR3.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
PageShell,
|
|
24
24
|
ReleaseChangelogSection,
|
|
25
25
|
RichMarkdownRenderer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-URYLQ4MC.js";
|
|
27
27
|
import {
|
|
28
28
|
PageLayout
|
|
29
29
|
} from "./chunk-TU5LEF6A.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
resolveContentHref,
|
|
40
40
|
useCaptions,
|
|
41
41
|
useIsHydrated
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UF3NFAQK.js";
|
|
43
43
|
import {
|
|
44
44
|
STICKY_HEADER_OFFSET_PX
|
|
45
45
|
} from "./chunk-4I3K6LEH.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk33QHEG7Kcjs = require('./chunk-33QHEG7K.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -115,7 +115,7 @@ function ContactForm({
|
|
|
115
115
|
successToastMessage = "Redirecting you to join our community...",
|
|
116
116
|
rescue: rescueForm = null
|
|
117
117
|
} = {}) {
|
|
118
|
-
const attachments =
|
|
118
|
+
const attachments = _chunkCELBOIKCcjs.useChatAttachments.call(void 0, );
|
|
119
119
|
const builtInSubmission = _chunk4LY6R4TNcjs.useContactSubmission.call(void 0, {
|
|
120
120
|
userId,
|
|
121
121
|
successRedirectUrl,
|
|
@@ -199,13 +199,13 @@ function ContactForm({
|
|
|
199
199
|
);
|
|
200
200
|
}),
|
|
201
201
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
202
|
-
...
|
|
202
|
+
..._chunkCELBOIKCcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
203
203
|
children: [
|
|
204
204
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
205
205
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
206
206
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
207
207
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.HoneypotField, { ...honeypotInputProps }),
|
|
209
209
|
extraTopField,
|
|
210
210
|
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: [
|
|
211
211
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -330,7 +330,7 @@ function ContactForm({
|
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
|
|
331
331
|
] }),
|
|
332
332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
-
|
|
333
|
+
_chunk33QHEG7Kcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -345,7 +345,7 @@ function ContactForm({
|
|
|
345
345
|
] }),
|
|
346
346
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
347
347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
|
|
348
|
+
_chunkCELBOIKCcjs.ChatAttachmentChipStrip,
|
|
349
349
|
{
|
|
350
350
|
attachments: attachments.attachments,
|
|
351
351
|
onRemove: attachments.removeAttachment,
|
|
@@ -354,7 +354,7 @@ function ContactForm({
|
|
|
354
354
|
),
|
|
355
355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkCELBOIKCcjs.ChatAttachmentAddButton,
|
|
358
358
|
{
|
|
359
359
|
attachmentsEnabled: true,
|
|
360
360
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -6,7 +6,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -118,31 +118,31 @@ CveLink.displayName = "CveLink";
|
|
|
118
118
|
// src/components/platform/ShellTypeBadge.tsx
|
|
119
119
|
|
|
120
120
|
var shellIconMap = {
|
|
121
|
-
[
|
|
121
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.POWERSHELL]: {
|
|
122
122
|
icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
|
|
123
123
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
124
124
|
},
|
|
125
|
-
[
|
|
125
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.CMD]: {
|
|
126
126
|
icon: _chunkLLSUVPQCcjs.CmdIcon,
|
|
127
127
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
128
128
|
},
|
|
129
|
-
[
|
|
129
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.BASH]: {
|
|
130
130
|
icon: _chunkLLSUVPQCcjs.BashIcon,
|
|
131
131
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
132
132
|
},
|
|
133
|
-
[
|
|
133
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.PYTHON]: {
|
|
134
134
|
icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
|
|
135
135
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
136
136
|
},
|
|
137
|
-
[
|
|
137
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.NUSHELL]: {
|
|
138
138
|
icon: _chunkLLSUVPQCcjs.NushellIcon,
|
|
139
139
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
140
140
|
},
|
|
141
|
-
[
|
|
141
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.DENO]: {
|
|
142
142
|
icon: _chunkLLSUVPQCcjs.DenoIcon,
|
|
143
143
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
144
144
|
},
|
|
145
|
-
[
|
|
145
|
+
[_chunkCELBOIKCcjs.ShellTypeValues.SHELL]: {
|
|
146
146
|
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
147
147
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
148
148
|
}
|
|
@@ -153,7 +153,7 @@ var defaultIconConfig = {
|
|
|
153
153
|
};
|
|
154
154
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
155
155
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
156
|
-
const label =
|
|
156
|
+
const label = _chunkCELBOIKCcjs.getShellLabel.call(void 0, normalizedType);
|
|
157
157
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
158
158
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
159
159
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -169,7 +169,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
169
169
|
if (!platforms || platforms.length === 0) {
|
|
170
170
|
return "All Platforms";
|
|
171
171
|
}
|
|
172
|
-
return platforms.map((platform) =>
|
|
172
|
+
return platforms.map((platform) => _chunkCELBOIKCcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
173
173
|
}
|
|
174
174
|
function InfoCell({ label, value, avatar, className }) {
|
|
175
175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -189,7 +189,7 @@ var ScriptInfoSection = ({
|
|
|
189
189
|
author,
|
|
190
190
|
className
|
|
191
191
|
}) => {
|
|
192
|
-
const shellLabel =
|
|
192
|
+
const shellLabel = _chunkCELBOIKCcjs.getShellLabel.call(void 0, shellType);
|
|
193
193
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
194
194
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
195
195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -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 _chunk5K3QUH7Ccjs = require('./chunk-5K3QUH7C.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ var _chunkMZY6LBM5cjs = require('./chunk-MZY6LBM5.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk33QHEG7Kcjs = require('./chunk-33QHEG7K.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
|
|
@@ -147,7 +147,7 @@ function NavItemRow({
|
|
|
147
147
|
className
|
|
148
148
|
}) {
|
|
149
149
|
const label = navLinkLabel(link);
|
|
150
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
151
151
|
const singleLine = !link.description && !link.builtOn;
|
|
152
152
|
const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
153
153
|
ROW_CLASSES[variant],
|
|
@@ -535,7 +535,7 @@ function SiteHeader({
|
|
|
535
535
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
536
536
|
leading,
|
|
537
537
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
538
|
-
|
|
538
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
539
539
|
{
|
|
540
540
|
className: "border-r border-ods-border lg:hidden",
|
|
541
541
|
onClick: mobile.onToggle,
|
|
@@ -561,7 +561,7 @@ function SiteHeader({
|
|
|
561
561
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
562
562
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
563
563
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
564
|
-
|
|
564
|
+
_chunkCELBOIKCcjs.MingoAiButton,
|
|
565
565
|
{
|
|
566
566
|
source: mingo.source,
|
|
567
567
|
icon: mingo.icon,
|
|
@@ -663,7 +663,7 @@ function MobileNavSheetBody({
|
|
|
663
663
|
] }),
|
|
664
664
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
665
665
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
666
|
-
|
|
666
|
+
_chunkCELBOIKCcjs.MingoAiButton,
|
|
667
667
|
{
|
|
668
668
|
variant: "field",
|
|
669
669
|
source: askAI.source,
|
|
@@ -841,7 +841,7 @@ function SiteFooter({
|
|
|
841
841
|
const columns = nav.footerColumns;
|
|
842
842
|
const accordion = columns.length > ACCORDION_OVER;
|
|
843
843
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
844
|
-
|
|
844
|
+
_chunk33QHEG7Kcjs.SocialIconRow,
|
|
845
845
|
{
|
|
846
846
|
compact: true,
|
|
847
847
|
links: nav.brand.social.map((link) => ({
|
|
@@ -944,7 +944,7 @@ var _framermotion = require('framer-motion');
|
|
|
944
944
|
|
|
945
945
|
function SlidingSidebar({ config }) {
|
|
946
946
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
947
|
-
const mounted =
|
|
947
|
+
const mounted = _chunkCELBOIKCcjs.useIsHydrated.call(void 0, );
|
|
948
948
|
const headerHeight = _chunkK2JUJ37Dcjs.useHeaderHeight.call(void 0, );
|
|
949
949
|
const asideRef = _react.useRef.call(void 0, null);
|
|
950
950
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -1076,7 +1076,7 @@ function SlidingSidebar({ config }) {
|
|
|
1076
1076
|
duration: 0.3,
|
|
1077
1077
|
ease: [0.4, 0, 0.2, 1]
|
|
1078
1078
|
},
|
|
1079
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
1079
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkCELBOIKCcjs.OVERLAY_BACKDROP_CLASS),
|
|
1080
1080
|
onClick: () => config.onClose()
|
|
1081
1081
|
}
|
|
1082
1082
|
) }),
|
|
@@ -1217,7 +1217,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1217
1217
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1218
1218
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1219
1219
|
}),
|
|
1220
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1220
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.UnreadDot, { size: "fixed" })
|
|
1221
1221
|
] }),
|
|
1222
1222
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1223
1223
|
"span",
|
|
@@ -1318,7 +1318,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1318
1318
|
setTabletFor(isTablet);
|
|
1319
1319
|
if (isTablet) setTabletMinimized(true);
|
|
1320
1320
|
}
|
|
1321
|
-
const hydrated =
|
|
1321
|
+
const hydrated = _chunkCELBOIKCcjs.useIsHydrated.call(void 0, );
|
|
1322
1322
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1323
1323
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1324
1324
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1510,7 +1510,7 @@ function HeaderGlobalSearch({
|
|
|
1510
1510
|
"form",
|
|
1511
1511
|
{
|
|
1512
1512
|
onSubmit: handleSubmit,
|
|
1513
|
-
...
|
|
1513
|
+
..._chunkCELBOIKCcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1514
1514
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1515
1515
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1516
1516
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1643,16 +1643,16 @@ function HeaderOrganizationFilter({
|
|
|
1643
1643
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1644
1644
|
|
|
1645
1645
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1646
|
-
const live =
|
|
1646
|
+
const live = _chunk5K3QUH7Ccjs.useOptionalTicketLive.call(void 0, );
|
|
1647
1647
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1648
1648
|
const targetId = live.nextUnreadTicketId;
|
|
1649
|
-
const target = targetId ?
|
|
1649
|
+
const target = targetId ? _chunkCELBOIKCcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1650
1650
|
const handleClick = () => {
|
|
1651
1651
|
if (onNavigate) onNavigate(target);
|
|
1652
1652
|
else window.location.assign(target);
|
|
1653
1653
|
};
|
|
1654
1654
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1655
|
-
|
|
1655
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
1656
1656
|
{
|
|
1657
1657
|
icon: (
|
|
1658
1658
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1662,7 +1662,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1662
1662
|
// existing while updates are unread — never by tinting the glyph.
|
|
1663
1663
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1664
1664
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1666
1666
|
] })
|
|
1667
1667
|
),
|
|
1668
1668
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1738,7 +1738,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1738
1738
|
leading: (
|
|
1739
1739
|
// Mobile: Burger Menu Button
|
|
1740
1740
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1741
|
-
|
|
1741
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
1742
1742
|
{
|
|
1743
1743
|
onClick: onToggleMobileMenu,
|
|
1744
1744
|
isActive: isMobileMenuOpen,
|
|
@@ -1764,7 +1764,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1764
1764
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1765
1765
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1766
1766
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1767
|
-
|
|
1767
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
1768
1768
|
{
|
|
1769
1769
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1770
1770
|
"aria-label": "Search",
|
|
@@ -1781,7 +1781,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1781
1781
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1782
1782
|
}
|
|
1783
1783
|
),
|
|
1784
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1784
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1785
1785
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1786
1786
|
NotificationsHeaderButton,
|
|
1787
1787
|
{
|
|
@@ -1801,7 +1801,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1801
1801
|
),
|
|
1802
1802
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenu, { children: [
|
|
1803
1803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1804
|
-
|
|
1804
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
1805
1805
|
{
|
|
1806
1806
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1807
1807
|
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
@@ -1886,12 +1886,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1886
1886
|
);
|
|
1887
1887
|
});
|
|
1888
1888
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1889
|
-
const ctx =
|
|
1889
|
+
const ctx = _chunk33QHEG7Kcjs.useOptionalNotifications.call(void 0, );
|
|
1890
1890
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1891
1891
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
|
|
1892
1892
|
const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
|
|
1893
1893
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1894
|
-
|
|
1894
|
+
_chunk33QHEG7Kcjs.HeaderButton,
|
|
1895
1895
|
{
|
|
1896
1896
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1897
1897
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2408,7 +2408,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2408
2408
|
{
|
|
2409
2409
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
2410
2410
|
"absolute inset-0 z-[100] md:hidden",
|
|
2411
|
-
|
|
2411
|
+
_chunkCELBOIKCcjs.OVERLAY_BACKDROP_CLASS,
|
|
2412
2412
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
2413
2413
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
2414
2414
|
),
|
|
@@ -2564,7 +2564,7 @@ function AppLayout({
|
|
|
2564
2564
|
}),
|
|
2565
2565
|
[]
|
|
2566
2566
|
);
|
|
2567
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2567
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2568
2568
|
topBar,
|
|
2569
2569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2570
2570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2588,7 +2588,7 @@ function AppLayout({
|
|
|
2588
2588
|
disabled
|
|
2589
2589
|
}
|
|
2590
2590
|
),
|
|
2591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2591
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.NotificationDrawer, {}),
|
|
2592
2592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2593
2593
|
"div",
|
|
2594
2594
|
{
|