@flamingo-stack/openframe-frontend-core 0.0.829 → 0.0.831
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/{case-study-card-QMFGPABF.cjs → case-study-card-TK7ZCNLM.cjs} +5 -5
- package/dist/{chunk-LKP5R3EQ.cjs → chunk-46LATWQR.cjs} +2 -2
- package/dist/{chunk-IBD2FPSX.cjs → chunk-4JHO2NVI.cjs} +2 -2
- package/dist/{chunk-3B6ZE4EZ.cjs → chunk-5L3UKDC6.cjs} +16 -16
- package/dist/{chunk-THPAGFT6.cjs → chunk-7COZUANC.cjs} +60 -69
- package/dist/{chunk-DWSU35QQ.cjs → chunk-7WQD3R5J.cjs} +84 -84
- package/dist/{chunk-DAKGX2WF.cjs → chunk-APNONOHY.cjs} +2 -2
- package/dist/{chunk-KPGKTEEB.cjs → chunk-BUEEQD3G.cjs} +2 -2
- package/dist/{chunk-YMLRDVPO.cjs → chunk-C4OQIYGW.cjs} +11 -11
- package/dist/{chunk-IFLGIBFZ.cjs → chunk-CP46CVUC.cjs} +91 -91
- package/dist/{chunk-UO6F6LLI.cjs → chunk-D6ZSRGH2.cjs} +699 -642
- package/dist/{chunk-UE5ZBCJ4.cjs → chunk-DAQMCWCK.cjs} +3 -3
- package/dist/{chunk-MFYSV7DE.cjs → chunk-EYSIQORA.cjs} +94 -94
- package/dist/{chunk-DU6AF77X.cjs → chunk-FNNDGOR3.cjs} +33 -33
- package/dist/{chunk-OKTNRGM5.cjs → chunk-GPXKG34G.cjs} +54 -54
- package/dist/{chunk-FMSAN6SR.cjs → chunk-H3WTYAVR.cjs} +129 -129
- package/dist/{chunk-HMC2IWV4.cjs → chunk-HDLY6OMQ.cjs} +6 -6
- package/dist/{chunk-2VLPXUQK.cjs → chunk-HLJXCOMA.cjs} +4 -4
- package/dist/{chunk-PBHP3FHO.cjs → chunk-JBTH3O2C.cjs} +4 -4
- package/dist/{chunk-2HQNXX2K.cjs → chunk-JQCQCE6U.cjs} +2 -2
- package/dist/{chunk-AY6XJOIN.cjs → chunk-LWMWY3JO.cjs} +45 -45
- package/dist/{chunk-R3PKAIX3.cjs → chunk-OGPAVRNF.cjs} +17 -17
- package/dist/{chunk-4DUVTJ6A.cjs → chunk-P5DWAVWK.cjs} +28 -28
- package/dist/{chunk-4ZIKDOPY.cjs → chunk-QHBKZJ6A.cjs} +4 -4
- package/dist/{chunk-PRZAEPGG.cjs → chunk-R6QZHOJB.cjs} +46 -46
- package/dist/{chunk-F2J5WN6U.cjs → chunk-SOCCHWDK.cjs} +2 -2
- package/dist/{chunk-IMDYB77M.cjs → chunk-SRHHLDBP.cjs} +36 -36
- package/dist/{chunk-7PZQ7SHB.cjs → chunk-SWMUW3RR.cjs} +18 -18
- package/dist/{chunk-6GPMVHJN.cjs → chunk-TD4CC4KV.cjs} +20 -20
- package/dist/{chunk-6WNSZ5XP.cjs → chunk-UGM3YDCK.cjs} +25 -25
- package/dist/{chunk-AH4YWTWZ.cjs → chunk-UQS2RI5Y.cjs} +12 -12
- package/dist/{chunk-IHRMX3X6.cjs → chunk-VBGBKRDO.cjs} +684 -661
- package/dist/{chunk-YHQDB5QJ.cjs → chunk-VQG2A7GA.cjs} +2 -2
- package/dist/{chunk-S6UJEW4G.cjs → chunk-WCOSGDGA.cjs} +2 -2
- package/dist/{chunk-ENMPSEEQ.cjs → chunk-WVNUCKB7.cjs} +4 -4
- package/dist/{chunk-LNXRTVOY.cjs → chunk-X76TZ5YR.cjs} +21 -21
- package/dist/{chunk-IBQ3CSKL.cjs → chunk-X7VQM5TU.cjs} +6 -6
- package/dist/{chunk-BIG3O33P.cjs → chunk-YJZ7R3W5.cjs} +28 -2
- package/dist/{chunk-W4VEDSAX.cjs → chunk-ZABZIM2Y.cjs} +6 -6
- package/dist/{chunk-ZJXLNIWC.cjs → chunk-ZJ5K6XHW.cjs} +21 -21
- package/dist/{cloud-tenants-YVCSVVIS.cjs → cloud-tenants-E2AC4WEJ.cjs} +20 -20
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/embeddable-chat.d.ts +3 -3
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +21 -14
- package/dist/components/chat/guide-welcome.d.ts +5 -16
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.js +4 -29
- package/dist/components/chat/index.cjs +19 -15
- package/dist/components/chat/mingo-quick-action-wall.d.ts +42 -16
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/mingo-quick-action-wall.js +105 -19
- package/dist/components/chat/mingo-welcome.d.ts +6 -13
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/mingo-welcome.js +5 -9
- package/dist/components/chat/quick-action-chip.d.ts +8 -2
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/quick-action-chip.js +18 -8
- package/dist/components/chat/utils/icon-registry.d.ts +2 -2
- package/dist/components/chat/utils/icon-registry.js +2 -2
- package/dist/components/contact/index.cjs +21 -21
- package/dist/components/docs/index.cjs +24 -24
- package/dist/components/embeds/index.cjs +21 -21
- package/dist/components/faq/index.cjs +22 -22
- package/dist/components/features/index.cjs +22 -20
- package/dist/components/features/notifications/index.d.ts +3 -1
- package/dist/components/features/notifications/index.d.ts.map +1 -1
- package/dist/components/features/notifications/index.js +2 -0
- package/dist/components/features/notifications/notification-category-icon.d.ts +7 -0
- package/dist/components/features/notifications/notification-category-icon.d.ts.map +1 -0
- package/dist/components/features/notifications/notification-category-icon.js +26 -0
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/types.d.ts +1 -1
- package/dist/components/features/notifications/types.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +90 -82
- package/dist/components/meeting-scheduler/index.cjs +69 -69
- package/dist/components/navigation/index.cjs +23 -23
- package/dist/components/navigation/site-footer.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.js +2 -12
- package/dist/components/onboarding-guides/index.cjs +23 -23
- package/dist/components/product-demo/index.cjs +31 -31
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/social-icon-row.d.ts +6 -2
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/social-icon-row.js +5 -6
- package/dist/components/tickets/index.cjs +27 -27
- package/dist/components/ui/actions-menu.d.ts.map +1 -1
- package/dist/components/ui/actions-menu.js +27 -1
- package/dist/components/ui/index.cjs +24 -20
- package/dist/{devices-AW6BERJF.cjs → devices-CAYUGD2N.cjs} +21 -21
- package/dist/{embeddable-chat-ZJIOMMSA.cjs → embeddable-chat-FYHMR66R.cjs} +121 -114
- package/dist/hooks/index.cjs +7 -7
- package/dist/index.cjs +31 -25
- package/dist/{knowledge-PEOXTIVS.cjs → knowledge-OI4OPEVL.cjs} +21 -21
- package/dist/{logs-CYA7H4KM.cjs → logs-B3XV2NHV.cjs} +27 -27
- package/dist/platform-domains.cjs +4 -0
- package/dist/platform-domains.d.ts +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +4 -0
- package/dist/{policies-M6QSFL5G.cjs → policies-ZB4Z42DV.cjs} +24 -24
- package/dist/{remote-session-QGFG5WAL.cjs → remote-session-CN3G7JNR.cjs} +7 -7
- package/dist/{scripts-Y46ECDDP.cjs → scripts-I4DNUOQC.cjs} +27 -27
- package/dist/{software-update-OTC2DGQZ.cjs → software-update-AWH4WXOH.cjs} +24 -24
- package/dist/{tickets-board-KCH6ITUV.cjs → tickets-board-PLYD2NSY.cjs} +11 -11
- package/dist/types/marketing.d.ts +61 -216
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/notifications.cjs +55 -0
- package/dist/utils/notifications.d.ts +29 -0
- package/dist/utils/notifications.d.ts.map +1 -0
- package/dist/utils/notifications.js +53 -0
- package/dist/utils/social-platforms.d.ts +9 -9
- package/dist/utils/social-platforms.d.ts.map +1 -1
- package/package.json +7 -1
- package/src/components/chat/embeddable-chat.tsx +29 -45
- package/src/components/chat/guide-welcome.tsx +12 -57
- package/src/components/chat/mingo-quick-action-wall.tsx +166 -31
- package/src/components/chat/mingo-welcome.tsx +16 -35
- package/src/components/chat/quick-action-chip.tsx +32 -8
- package/src/components/chat/utils/icon-registry.ts +5 -5
- package/src/components/chat/utils/index.ts +1 -1
- package/src/components/features/notifications/index.ts +2 -1
- package/src/components/features/notifications/notification-category-icon.tsx +38 -0
- package/src/components/features/notifications/notification-tile.tsx +2 -1
- package/src/components/features/notifications/types.ts +1 -2
- package/src/components/navigation/site-footer.tsx +2 -11
- package/src/components/social-icon-row.tsx +11 -10
- package/src/components/ui/actions-menu.tsx +35 -1
- package/src/platform-domains.ts +5 -0
- package/src/types/marketing.ts +90 -268
- package/src/utils/index.ts +1 -1
- package/src/utils/notifications.ts +71 -0
- package/src/utils/social-platforms.ts +9 -9
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkTD4CC4KVcjs = require('./chunk-TD4CC4KV.cjs');
|
|
6
|
+
require('./chunk-JBTH3O2C.cjs');
|
|
7
7
|
require('./chunk-USUVHAQ7.cjs');
|
|
8
8
|
require('./chunk-S5C3OZCO.cjs');
|
|
9
9
|
require('./chunk-4IYNDV3G.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-APNONOHY.cjs');
|
|
11
11
|
require('./chunk-FX35L4Y6.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-JQCQCE6U.cjs');
|
|
13
13
|
require('./chunk-NTPX5GXI.cjs');
|
|
14
14
|
require('./chunk-GI3MMBP3.cjs');
|
|
15
15
|
require('./chunk-3V5JWG27.cjs');
|
|
@@ -20,4 +20,4 @@ require('./chunk-63A4GZMB.cjs');
|
|
|
20
20
|
require('./chunk-V45KLJQP.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.CaseStudyCard =
|
|
23
|
+
exports.CaseStudyCard = _chunkTD4CC4KVcjs.CaseStudyCard;
|
|
@@ -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(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkH3WTYAVRcjs = require('./chunk-H3WTYAVR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
|
|
|
52
52
|
proxyImageUrl,
|
|
53
53
|
className
|
|
54
54
|
}) {
|
|
55
|
-
const proxiedAvatar =
|
|
55
|
+
const proxiedAvatar = _chunkH3WTYAVRcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
|
|
56
56
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
57
57
|
if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
|
|
58
58
|
if (!author) return null;
|
|
@@ -24,7 +24,7 @@ var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
|
24
24
|
var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkJQCQCE6Ucjs = require('./chunk-JQCQCE6U.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -807,7 +807,7 @@ function SlashCommandSuggestions({
|
|
|
807
807
|
className
|
|
808
808
|
),
|
|
809
809
|
children: commands.map((cmd, idx) => {
|
|
810
|
-
const Icon =
|
|
810
|
+
const Icon = _chunkJQCQCE6Ucjs.resolveIcon.call(void 0, cmd.iconName);
|
|
811
811
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
812
812
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
813
813
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYJZ7R3W5cjs = require('./chunk-YJZ7R3W5.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkOEP5KAT6cjs = require('./chunk-OEP5KAT6.cjs');
|
|
@@ -14,7 +14,7 @@ var _chunkOEP5KAT6cjs = require('./chunk-OEP5KAT6.cjs');
|
|
|
14
14
|
var _chunkHFNBMV5Mcjs = require('./chunk-HFNBMV5M.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkBUEEQD3Gcjs = require('./chunk-BUEEQD3G.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -31,14 +31,14 @@ var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkJBTH3O2Ccjs = require('./chunk-JBTH3O2C.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkJQCQCE6Ucjs = require('./chunk-JQCQCE6U.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
var _chunk3V5JWG27cjs = require('./chunk-3V5JWG27.cjs');
|
|
@@ -292,9 +292,9 @@ function TicketStatusTag({
|
|
|
292
292
|
const config = getTicketStatusConfig(status);
|
|
293
293
|
const customStyle = color ? {
|
|
294
294
|
"--tag-bg": color,
|
|
295
|
-
"--tag-bg-hover":
|
|
296
|
-
"--tag-bg-active":
|
|
297
|
-
color:
|
|
295
|
+
"--tag-bg-hover": _chunkJBTH3O2Ccjs.deriveHoverColor.call(void 0, color),
|
|
296
|
+
"--tag-bg-active": _chunkJBTH3O2Ccjs.deriveActiveColor.call(void 0, color),
|
|
297
|
+
color: _chunkJBTH3O2Ccjs.getReadableTextColor.call(void 0, color)
|
|
298
298
|
} : void 0;
|
|
299
299
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
300
300
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -310,15 +310,15 @@ function TicketStatusTag({
|
|
|
310
310
|
);
|
|
311
311
|
if (loading || disabled || !options || options.length === 0 || !onSelect) {
|
|
312
312
|
if (!loading && disabled && disabledReason) {
|
|
313
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
315
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
313
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYJZ7R3W5cjs.Tooltip, { children: [
|
|
314
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
|
|
315
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipContent, { children: disabledReason })
|
|
316
316
|
] }) });
|
|
317
317
|
}
|
|
318
318
|
return tag;
|
|
319
319
|
}
|
|
320
320
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
-
|
|
321
|
+
_chunkYJZ7R3W5cjs.ActionsMenuDropdown,
|
|
322
322
|
{
|
|
323
323
|
align: "start",
|
|
324
324
|
groups: [
|
|
@@ -627,7 +627,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
627
627
|
const hasExpandableBody = args.length > 0 || typeof result === "string" && result.length > 0;
|
|
628
628
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start border-b border-ods-border bg-ods-card last:border-b-0", children: [
|
|
629
629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "row", type: "button", onClick: onToggle, "aria-expanded": expanded, className: "rounded-none", children: [
|
|
630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
631
631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
632
632
|
"div",
|
|
633
633
|
{
|
|
@@ -866,13 +866,13 @@ ApprovalBatchMessage.displayName = "ApprovalBatchMessage";
|
|
|
866
866
|
// src/components/agent-mark.tsx
|
|
867
867
|
|
|
868
868
|
|
|
869
|
-
function AgentMark({ agent, className = "", color =
|
|
870
|
-
const identity =
|
|
869
|
+
function AgentMark({ agent, className = "", color = _chunkJBTH3O2Ccjs.AGENT_GLYPH_COLOR }) {
|
|
870
|
+
const identity = _chunkJBTH3O2Ccjs.useAgentIdentityIcon.call(void 0, agent);
|
|
871
871
|
if (_optionalChain([identity, 'optionalAccess', _15 => _15.url])) {
|
|
872
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes:
|
|
872
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: _chunkJQCQCE6Ucjs.fixedImageSlot.call(void 0, "mark"), className: _chunkJBTH3O2Ccjs.AGENT_PICTURE_CLASS }) });
|
|
873
873
|
}
|
|
874
874
|
if (_optionalChain([identity, 'optionalAccess', _16 => _16.name])) {
|
|
875
|
-
return _react.createElement.call(void 0,
|
|
875
|
+
return _react.createElement.call(void 0, _chunkJQCQCE6Ucjs.resolveIcon.call(void 0, identity.name), {
|
|
876
876
|
className,
|
|
877
877
|
"aria-hidden": true,
|
|
878
878
|
color,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOGPAVRNFcjs = require('./chunk-OGPAVRNF.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQHBKZJ6Acjs = require('./chunk-QHBKZJ6A.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -17,16 +17,17 @@ var _chunk4ZIKDOPYcjs = require('./chunk-4ZIKDOPY.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var _chunkIHRMX3X6cjs = require('./chunk-IHRMX3X6.cjs');
|
|
21
20
|
|
|
21
|
+
var _chunkVBGBKRDOcjs = require('./chunk-VBGBKRDO.cjs');
|
|
22
22
|
|
|
23
|
-
var _chunkYHQDB5QJcjs = require('./chunk-YHQDB5QJ.cjs');
|
|
24
23
|
|
|
24
|
+
var _chunkVQG2A7GAcjs = require('./chunk-VQG2A7GA.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
var _chunkLWMWY3JOcjs = require('./chunk-LWMWY3JO.cjs');
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
var _chunkAPOMNC7Hcjs = require('./chunk-APOMNC7H.cjs');
|
|
@@ -38,7 +39,7 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
|
|
41
|
-
var
|
|
42
|
+
var _chunkEYSIQORAcjs = require('./chunk-EYSIQORA.cjs');
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
|
|
@@ -49,13 +50,13 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
49
50
|
|
|
50
51
|
|
|
51
52
|
|
|
52
|
-
var
|
|
53
|
+
var _chunkD6ZSRGH2cjs = require('./chunk-D6ZSRGH2.cjs');
|
|
53
54
|
|
|
54
55
|
|
|
55
|
-
var
|
|
56
|
+
var _chunk5L3UKDC6cjs = require('./chunk-5L3UKDC6.cjs');
|
|
56
57
|
|
|
57
58
|
|
|
58
|
-
var
|
|
59
|
+
var _chunkYJZ7R3W5cjs = require('./chunk-YJZ7R3W5.cjs');
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
var _chunk756VZNPPcjs = require('./chunk-756VZNPP.cjs');
|
|
@@ -97,7 +98,7 @@ var _chunk4TUSPDNScjs = require('./chunk-4TUSPDNS.cjs');
|
|
|
97
98
|
var _chunkCON36SEJcjs = require('./chunk-CON36SEJ.cjs');
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
var
|
|
101
|
+
var _chunkZABZIM2Ycjs = require('./chunk-ZABZIM2Y.cjs');
|
|
101
102
|
|
|
102
103
|
|
|
103
104
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
@@ -110,7 +111,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
110
111
|
var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
var
|
|
114
|
+
var _chunkTD4CC4KVcjs = require('./chunk-TD4CC4KV.cjs');
|
|
114
115
|
|
|
115
116
|
|
|
116
117
|
|
|
@@ -184,7 +185,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
184
185
|
{
|
|
185
186
|
"aria-hidden": "true",
|
|
186
187
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
187
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
188
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
188
189
|
}
|
|
189
190
|
);
|
|
190
191
|
}
|
|
@@ -197,7 +198,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
197
198
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
198
199
|
box
|
|
199
200
|
),
|
|
200
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
201
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
201
202
|
}
|
|
202
203
|
);
|
|
203
204
|
}
|
|
@@ -210,7 +211,7 @@ function NavItemRow({
|
|
|
210
211
|
className
|
|
211
212
|
}) {
|
|
212
213
|
const label = navLinkLabel(link);
|
|
213
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
214
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
214
215
|
const singleLine = !link.description && !link.builtOn;
|
|
215
216
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
216
217
|
ROW_CLASSES[variant],
|
|
@@ -227,7 +228,7 @@ function NavItemRow({
|
|
|
227
228
|
] });
|
|
228
229
|
} else if (variant === "side") {
|
|
229
230
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
230
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
231
232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
232
233
|
counter
|
|
233
234
|
] });
|
|
@@ -258,7 +259,7 @@ var featureCardLoad = null;
|
|
|
258
259
|
var featureCardListeners = /* @__PURE__ */ new Set();
|
|
259
260
|
function loadFeatureCard() {
|
|
260
261
|
if (featureCard || featureCardLoad) return;
|
|
261
|
-
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-
|
|
262
|
+
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-TK7ZCNLM.cjs"))).then((module) => {
|
|
262
263
|
featureCard = module.CaseStudyCard;
|
|
263
264
|
for (const listener of featureCardListeners) listener();
|
|
264
265
|
}).catch(() => void 0).finally(() => {
|
|
@@ -267,7 +268,7 @@ function loadFeatureCard() {
|
|
|
267
268
|
}
|
|
268
269
|
function subscribeToFeatureCard(listener) {
|
|
269
270
|
featureCardListeners.add(listener);
|
|
270
|
-
const cancel =
|
|
271
|
+
const cancel = _chunkEYSIQORAcjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
271
272
|
return () => {
|
|
272
273
|
featureCardListeners.delete(listener);
|
|
273
274
|
cancel();
|
|
@@ -482,7 +483,7 @@ function TopNavigation({
|
|
|
482
483
|
|
|
483
484
|
var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
|
|
484
485
|
var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
|
|
485
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
486
487
|
function SiteHeader({
|
|
487
488
|
nav,
|
|
488
489
|
pathname,
|
|
@@ -505,8 +506,8 @@ function SiteHeader({
|
|
|
505
506
|
}) {
|
|
506
507
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
507
508
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
508
|
-
const activeId =
|
|
509
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
509
|
+
const activeId = _chunkLWMWY3JOcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
510
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkLWMWY3JOcjs.useNavMenus.call(void 0, { pathname });
|
|
510
511
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
511
512
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
512
513
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -632,7 +633,7 @@ function SiteHeader({
|
|
|
632
633
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
633
634
|
leading,
|
|
634
635
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
635
|
-
|
|
636
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
636
637
|
{
|
|
637
638
|
className: "border-r border-ods-border lg:hidden",
|
|
638
639
|
onClick: mobile.onToggle,
|
|
@@ -658,7 +659,7 @@ function SiteHeader({
|
|
|
658
659
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
659
660
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
660
661
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
661
|
-
|
|
662
|
+
_chunkEYSIQORAcjs.MingoAiButton,
|
|
662
663
|
{
|
|
663
664
|
source: mingo.source,
|
|
664
665
|
icon: mingo.icon,
|
|
@@ -724,9 +725,9 @@ function MobileNavSheetBody({
|
|
|
724
725
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
725
726
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
726
727
|
_overlays.usePreventScroll.call(void 0, );
|
|
727
|
-
|
|
728
|
+
_chunkLWMWY3JOcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
728
729
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
729
|
-
const active =
|
|
730
|
+
const active = _chunkLWMWY3JOcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
730
731
|
return active ? { [active]: true } : {};
|
|
731
732
|
});
|
|
732
733
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
@@ -762,7 +763,7 @@ function MobileNavSheetBody({
|
|
|
762
763
|
] }),
|
|
763
764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
764
765
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
765
|
-
|
|
766
|
+
_chunkEYSIQORAcjs.MingoAiButton,
|
|
766
767
|
{
|
|
767
768
|
variant: "field",
|
|
768
769
|
source: askAI.source,
|
|
@@ -939,17 +940,7 @@ function SiteFooter({
|
|
|
939
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));
|
|
940
941
|
const columns = nav.footerColumns;
|
|
941
942
|
const accordion = columns.length > ACCORDION_OVER;
|
|
942
|
-
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
-
_chunkIHRMX3X6cjs.SocialIconRow,
|
|
944
|
-
{
|
|
945
|
-
compact: true,
|
|
946
|
-
links: nav.brand.social.map((link) => ({
|
|
947
|
-
platform: _nullishCoalesce(link.iconName, () => ( link.id)),
|
|
948
|
-
href: link.href,
|
|
949
|
-
label: link.label
|
|
950
|
-
}))
|
|
951
|
-
}
|
|
952
|
-
) : null)));
|
|
943
|
+
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.SocialIconRow, { compact: true, links: _chunkVBGBKRDOcjs.siteNavSocialLinks.call(void 0, nav.brand.social) }) : null)));
|
|
953
944
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
954
945
|
"footer",
|
|
955
946
|
{
|
|
@@ -1043,12 +1034,12 @@ var _framermotion = require('framer-motion');
|
|
|
1043
1034
|
|
|
1044
1035
|
function SlidingSidebar({ config }) {
|
|
1045
1036
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1046
|
-
const mounted =
|
|
1037
|
+
const mounted = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
|
|
1047
1038
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1048
1039
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1049
1040
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1050
1041
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1051
|
-
|
|
1042
|
+
_chunkLWMWY3JOcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1052
1043
|
const toggleExpanded = (itemId) => {
|
|
1053
1044
|
const newExpanded = new Set(expandedItems);
|
|
1054
1045
|
if (newExpanded.has(itemId)) {
|
|
@@ -1175,7 +1166,7 @@ function SlidingSidebar({ config }) {
|
|
|
1175
1166
|
duration: 0.3,
|
|
1176
1167
|
ease: [0.4, 0, 0.2, 1]
|
|
1177
1168
|
},
|
|
1178
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
1169
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkVQG2A7GAcjs.OVERLAY_BACKDROP_CLASS),
|
|
1179
1170
|
onClick: () => config.onClose()
|
|
1180
1171
|
}
|
|
1181
1172
|
) }),
|
|
@@ -1218,7 +1209,7 @@ function SlidingSidebar({ config }) {
|
|
|
1218
1209
|
// src/components/navigation/page-section-bar.tsx
|
|
1219
1210
|
|
|
1220
1211
|
|
|
1221
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1212
|
+
var SECTION_BAR_HEIGHT_PX = _chunkOGPAVRNFcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1222
1213
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1223
1214
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1224
1215
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1246,21 +1237,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1246
1237
|
const sections = useRenderedSections(listed);
|
|
1247
1238
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1248
1239
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1249
|
-
const { activeSection, handleSectionClick } =
|
|
1240
|
+
const { activeSection, handleSectionClick } = _chunkOGPAVRNFcjs.useScrollSpy.call(void 0, sections, {
|
|
1250
1241
|
syncHash: true,
|
|
1251
1242
|
aboveFirst: "none",
|
|
1252
1243
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1253
1244
|
});
|
|
1254
1245
|
if (sections.length === 0 && !inScope) return null;
|
|
1255
1246
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1256
|
-
|
|
1247
|
+
_chunkVBGBKRDOcjs.PageContainer,
|
|
1257
1248
|
{
|
|
1258
1249
|
as: "div",
|
|
1259
1250
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1260
1251
|
backgroundStyle: { top: headerBottom },
|
|
1261
1252
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1262
1253
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1263
|
-
|
|
1254
|
+
_chunkOGPAVRNFcjs.StickySectionNav,
|
|
1264
1255
|
{
|
|
1265
1256
|
orientation: "horizontal",
|
|
1266
1257
|
label,
|
|
@@ -1269,7 +1260,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1269
1260
|
onSectionClick: handleSectionClick,
|
|
1270
1261
|
brand,
|
|
1271
1262
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1272
|
-
|
|
1263
|
+
_chunkD6ZSRGH2cjs.NavLinkAnchorViaRuntime,
|
|
1273
1264
|
{
|
|
1274
1265
|
href: action.href,
|
|
1275
1266
|
onClick: (event) => {
|
|
@@ -1388,7 +1379,7 @@ function RowIcon({ item, size, className }) {
|
|
|
1388
1379
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex shrink-0 items-center justify-center", size === 20 ? "size-5" : "size-4", className),
|
|
1389
1380
|
children: [
|
|
1390
1381
|
sizedIcon(item.icon, size),
|
|
1391
|
-
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1382
|
+
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadDot, { size: "fixed", className: "@[140px]/of-nav-sidebar:hidden" })
|
|
1392
1383
|
]
|
|
1393
1384
|
}
|
|
1394
1385
|
);
|
|
@@ -1711,7 +1702,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1711
1702
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1712
1703
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1713
1704
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1714
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1705
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadDot, { size: "fixed" })
|
|
1715
1706
|
] }),
|
|
1716
1707
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1717
1708
|
"span",
|
|
@@ -1971,7 +1962,7 @@ function NavigationSidebar({
|
|
|
1971
1962
|
setTabletFor(isTablet);
|
|
1972
1963
|
if (isTablet) setTabletMinimized(true);
|
|
1973
1964
|
}
|
|
1974
|
-
const hydrated =
|
|
1965
|
+
const hydrated = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
|
|
1975
1966
|
const serverMinimized = isControlled ? desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1976
1967
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : serverMinimized;
|
|
1977
1968
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
@@ -2252,7 +2243,7 @@ function toMenuGroups(entries) {
|
|
|
2252
2243
|
),
|
|
2253
2244
|
children: [
|
|
2254
2245
|
entry.icon,
|
|
2255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2246
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadCountBadge, { count: _nullishCoalesce(entry.count, () => ( 0)) })
|
|
2256
2247
|
]
|
|
2257
2248
|
}
|
|
2258
2249
|
) : void 0,
|
|
@@ -2284,7 +2275,7 @@ function AccountPopover({
|
|
|
2284
2275
|
onChange: onOpenChange
|
|
2285
2276
|
});
|
|
2286
2277
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2287
|
-
|
|
2278
|
+
_chunkYJZ7R3W5cjs.ActionsMenuDropdown,
|
|
2288
2279
|
{
|
|
2289
2280
|
open,
|
|
2290
2281
|
onOpenChange: setOpen,
|
|
@@ -2323,7 +2314,7 @@ function AccountPopover({
|
|
|
2323
2314
|
"aria-hidden": "true"
|
|
2324
2315
|
}
|
|
2325
2316
|
),
|
|
2326
|
-
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2317
|
+
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadDot, { size: "fixed" })
|
|
2327
2318
|
] }),
|
|
2328
2319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2329
2320
|
"span",
|
|
@@ -2389,7 +2380,7 @@ function HeaderGlobalSearch({
|
|
|
2389
2380
|
"form",
|
|
2390
2381
|
{
|
|
2391
2382
|
onSubmit: handleSubmit,
|
|
2392
|
-
...
|
|
2383
|
+
..._chunkEYSIQORAcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
2393
2384
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
2394
2385
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
2395
2386
|
// Transparent so the cell inherits the bar's background
|
|
@@ -2456,7 +2447,7 @@ function HeaderMingoButton({
|
|
|
2456
2447
|
) : (
|
|
2457
2448
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
2458
2449
|
// and corner block are ODS cyan.
|
|
2459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentMark, { agent: "mingo", className: "h-6 w-6 shrink-0" })
|
|
2460
2451
|
),
|
|
2461
2452
|
!iconOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
2462
2453
|
]
|
|
@@ -2502,14 +2493,14 @@ function NotificationsBellButton({
|
|
|
2502
2493
|
variant = "cell",
|
|
2503
2494
|
className
|
|
2504
2495
|
}) {
|
|
2505
|
-
const ctx =
|
|
2496
|
+
const ctx = _chunkVBGBKRDOcjs.useOptionalNotifications.call(void 0, );
|
|
2506
2497
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _66 => _66.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2507
2498
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _67 => _67.isOpen]), () => ( false));
|
|
2508
2499
|
const onClick = _optionalChain([ctx, 'optionalAccess', _68 => _68.toggle]);
|
|
2509
2500
|
const floating = variant === "floating";
|
|
2510
2501
|
const iconClassName = variant === "cell" ? "h-6 w-6" : "h-5 w-5";
|
|
2511
2502
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2512
|
-
|
|
2503
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2513
2504
|
{
|
|
2514
2505
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: iconClassName }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: iconClassName }),
|
|
2515
2506
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2532,14 +2523,14 @@ function NotificationsBellButton({
|
|
|
2532
2523
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
2533
2524
|
|
|
2534
2525
|
function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
2535
|
-
const live =
|
|
2526
|
+
const live = _chunkQHBKZJ6Acjs.useOptionalTicketLive.call(void 0, );
|
|
2536
2527
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
2537
2528
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
2538
2529
|
const targetId = live.nextUnreadTicketId;
|
|
2539
|
-
const target = targetId ?
|
|
2540
|
-
const handleClick = () =>
|
|
2530
|
+
const target = targetId ? _chunkEYSIQORAcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
2531
|
+
const handleClick = () => _chunkZABZIM2Ycjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
2541
2532
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2542
|
-
|
|
2533
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2543
2534
|
{
|
|
2544
2535
|
icon: (
|
|
2545
2536
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -2549,7 +2540,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2549
2540
|
// existing while updates are unread — never by tinting the glyph.
|
|
2550
2541
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
2551
2542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: variant === "compact" ? "h-5 w-5" : "h-6 w-6" }),
|
|
2552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
2553
2544
|
] })
|
|
2554
2545
|
),
|
|
2555
2546
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -2622,7 +2613,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2622
2613
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
2623
2614
|
const cellDivider = "border-l border-ods-border";
|
|
2624
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,
|
|
2625
|
-
|
|
2616
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2626
2617
|
{
|
|
2627
2618
|
type: "button",
|
|
2628
2619
|
icon: cell.icon,
|
|
@@ -2643,7 +2634,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2643
2634
|
leading: (
|
|
2644
2635
|
// Mobile: Burger Menu Button
|
|
2645
2636
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2646
|
-
|
|
2637
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2647
2638
|
{
|
|
2648
2639
|
onClick: onToggleMobileMenu,
|
|
2649
2640
|
isActive: isMobileMenuOpen,
|
|
@@ -2669,7 +2660,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2669
2660
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
2670
2661
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2671
2662
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2672
|
-
|
|
2663
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2673
2664
|
{
|
|
2674
2665
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
2675
2666
|
"aria-label": "Search",
|
|
@@ -2687,7 +2678,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2687
2678
|
}
|
|
2688
2679
|
),
|
|
2689
2680
|
renderCustomCells("start"),
|
|
2690
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2681
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
2691
2682
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2692
2683
|
NotificationsBellButton,
|
|
2693
2684
|
{
|
|
@@ -2706,7 +2697,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2706
2697
|
),
|
|
2707
2698
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
2708
2699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2709
|
-
|
|
2700
|
+
_chunkVBGBKRDOcjs.HeaderButton,
|
|
2710
2701
|
{
|
|
2711
2702
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2712
2703
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
@@ -3237,7 +3228,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3237
3228
|
}) {
|
|
3238
3229
|
const panelRef = _react.useRef.call(void 0, null);
|
|
3239
3230
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
3240
|
-
|
|
3231
|
+
_chunkLWMWY3JOcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
3241
3232
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
3242
3233
|
(item) => {
|
|
3243
3234
|
if (item.onClick) {
|
|
@@ -3367,7 +3358,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3367
3358
|
{
|
|
3368
3359
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3369
3360
|
"absolute inset-0",
|
|
3370
|
-
|
|
3361
|
+
_chunkVQG2A7GAcjs.OVERLAY_BACKDROP_CLASS,
|
|
3371
3362
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3372
3363
|
isOpen ? "pointer-events-auto opacity-100" : "opacity-0"
|
|
3373
3364
|
),
|
|
@@ -3439,7 +3430,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3439
3430
|
{
|
|
3440
3431
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3441
3432
|
"absolute inset-0 z-[100] md:hidden",
|
|
3442
|
-
|
|
3433
|
+
_chunkVQG2A7GAcjs.OVERLAY_BACKDROP_CLASS,
|
|
3443
3434
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3444
3435
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
3445
3436
|
),
|
|
@@ -3639,7 +3630,7 @@ function AppLayout({
|
|
|
3639
3630
|
disabled
|
|
3640
3631
|
}
|
|
3641
3632
|
),
|
|
3642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVBGBKRDOcjs.NotificationDrawer, { showClose: !desktopHeader }),
|
|
3643
3634
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3644
3635
|
"div",
|
|
3645
3636
|
{
|
|
@@ -3676,7 +3667,7 @@ function AppLayout({
|
|
|
3676
3667
|
style: bottomInset > 0 || dockFloats ? {
|
|
3677
3668
|
paddingBottom: bottomInset,
|
|
3678
3669
|
[COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
|
|
3679
|
-
...dockFloats && dockHeight > 0 ?
|
|
3670
|
+
...dockFloats && dockHeight > 0 ? _chunkVBGBKRDOcjs.previewFadeMask.call(void 0, `calc(100% - ${dockHeight}px)`) : {}
|
|
3680
3671
|
} : void 0,
|
|
3681
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 }) }) })
|
|
3682
3673
|
}
|