@flamingo-stack/openframe-frontend-core 0.0.722 → 0.0.724
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-XJYAUIOL.cjs → chunk-2A4AGW7Z.cjs} +11 -11
- package/dist/{chunk-65C4WHG4.js → chunk-2HLGX6JF.js} +5 -5
- package/dist/{chunk-5K6YKRP5.cjs → chunk-3MMKIVWZ.cjs} +23 -23
- package/dist/{chunk-P7Y626YJ.cjs → chunk-3NVSC3BU.cjs} +687 -611
- package/dist/{chunk-VSYQJCNR.js → chunk-4N5DLIEC.js} +1 -1
- package/dist/{chunk-GYSTZD6X.cjs → chunk-5CJGNPTT.cjs} +35 -35
- package/dist/{chunk-AWWLEYAU.js → chunk-6BKDXUOQ.js} +6 -6
- package/dist/{chunk-BUDZWXRG.js → chunk-6QO6BIX7.js} +1 -1
- package/dist/{chunk-FDWYBJYD.cjs → chunk-7AXOAA5T.cjs} +3 -3
- package/dist/{chunk-SZF7ENIW.js → chunk-7CNGNPBI.js} +3 -3
- package/dist/{chunk-6HRQLM6T.cjs → chunk-A4WHVIYZ.cjs} +17 -17
- package/dist/{chunk-VV5INIQB.cjs → chunk-BIWG3CYN.cjs} +3 -3
- package/dist/{chunk-I3UUMRO7.js → chunk-BWMEQ7IZ.js} +1 -1
- package/dist/{chunk-7UZ2JZJY.js → chunk-CJENFR5T.js} +29 -3
- package/dist/{chunk-IITZ6JSC.cjs → chunk-DGNGABNG.cjs} +33 -7
- package/dist/{chunk-KWBH63GV.cjs → chunk-FR4MFSH5.cjs} +19 -19
- package/dist/{chunk-DWSBTGKT.cjs → chunk-GRB5HVEV.cjs} +2610 -2125
- package/dist/{chunk-JQ55FFIK.cjs → chunk-IPUDFAU5.cjs} +31 -31
- package/dist/{chunk-F33RMJOL.js → chunk-IUQKIU5A.js} +6 -6
- package/dist/{chunk-LV6UJD2K.cjs → chunk-JKWQWHNV.cjs} +6 -1
- package/dist/{chunk-VC7COEWF.cjs → chunk-JQ7A7PO5.cjs} +76 -76
- package/dist/{chunk-BCU6UUNQ.js → chunk-KKO4GRM3.js} +4 -4
- package/dist/{chunk-RVQV6J5K.cjs → chunk-L5CAET76.cjs} +64 -64
- package/dist/{chunk-WY4SLTMZ.js → chunk-MRBPJ4NB.js} +1 -1
- package/dist/{chunk-IF72N4PE.js → chunk-MU5F5QXJ.js} +6 -6
- package/dist/{chunk-NMGWNUKB.js → chunk-N2PX26BZ.js} +2 -2
- package/dist/{chunk-NFABAOMD.cjs → chunk-N4NGKXUU.cjs} +15 -15
- package/dist/{chunk-ETQVXIYW.js → chunk-NLZZUWR6.js} +4 -4
- package/dist/{chunk-ZMHP4Y6M.js → chunk-OFOBVPDV.js} +2 -2
- package/dist/{chunk-DX3W7DPC.js → chunk-OWFDXYEO.js} +1 -1
- package/dist/{chunk-HA2ASGJM.js → chunk-PF4WAKCS.js} +4 -4
- package/dist/{chunk-GAFK3WNT.cjs → chunk-QJ67GFF3.cjs} +32 -32
- package/dist/{chunk-KBPGSPXQ.js → chunk-QN3OXRTM.js} +4492 -4007
- package/dist/{chunk-ZHC6MDGF.cjs → chunk-QUI7DKBW.cjs} +41 -41
- package/dist/{chunk-E7NIZXDT.js → chunk-S4SVKXHN.js} +88 -12
- package/dist/{chunk-VYHCN5NU.cjs → chunk-SOTXV3T5.cjs} +3 -3
- package/dist/{chunk-MJ4SXOG2.cjs → chunk-SVDXNMBL.cjs} +16 -16
- package/dist/{chunk-UYMTAFHG.js → chunk-VLPGV5WH.js} +1 -1
- package/dist/{chunk-SZ3CBFSH.js → chunk-XDTD6YGG.js} +7 -7
- package/dist/{chunk-VU7RU3LL.cjs → chunk-YKV45BSJ.cjs} +4 -4
- package/dist/{chunk-XR7NVJXS.cjs → chunk-ZKL52ALL.cjs} +3 -3
- package/dist/{chunk-EWED6ISQ.js → chunk-ZQKN2Z6W.js} +5 -0
- package/dist/{cloud-tenants-4Z36KWSX.js → cloud-tenants-5MINXS5J.js} +6 -6
- package/dist/{cloud-tenants-5NIC5VXK.cjs → cloud-tenants-UMZJZTMB.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/case-studies/index.js +7 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/chat/utils/icon-library.d.ts +2 -0
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/docs/index.js +10 -10
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +23 -7
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +22 -6
- package/dist/components/features/model-token-rates.d.ts +179 -0
- package/dist/components/features/model-token-rates.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +130 -126
- package/dist/components/help-center-pages/index.js +47 -43
- package/dist/components/help-center-pages/trust-center-page.d.ts +34 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +73 -55
- package/dist/components/index.js +36 -18
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +6 -6
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.js +9 -9
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/data-attribution.d.ts +3 -1
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/download-button.d.ts +19 -0
- package/dist/components/ui/download-button.d.ts.map +1 -0
- package/dist/components/ui/index.cjs +9 -7
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +8 -6
- package/dist/{devices-2TK3LAKM.js → devices-FSSUAUQN.js} +6 -6
- package/dist/{devices-7IKT72DK.cjs → devices-HOT7YSDN.cjs} +8 -8
- package/dist/index.cjs +53 -11
- package/dist/index.js +52 -10
- package/dist/{knowledge-HYSEV35H.cjs → knowledge-3N6HCFLU.cjs} +8 -8
- package/dist/{knowledge-3GJ4MU3V.js → knowledge-7HRUJX26.js} +6 -6
- package/dist/{logs-ZX3NADQC.cjs → logs-75M5YP6V.cjs} +15 -15
- package/dist/{logs-TATVM62H.js → logs-T25OE2QW.js} +6 -6
- package/dist/{policies-MRRKLF4Q.js → policies-4OK4XTD4.js} +6 -6
- package/dist/{policies-J4FSDKPI.cjs → policies-BTG7UJJC.cjs} +11 -11
- package/dist/{remote-session-Z2YCUPHU.cjs → remote-session-4DTOM3QD.cjs} +5 -5
- package/dist/{remote-session-WCLR47RN.js → remote-session-AZJXG7ZF.js} +3 -3
- package/dist/{software-update-KM46WUVQ.js → software-update-5SOV4FIR.js} +6 -6
- package/dist/{software-update-CXUBWYD2.cjs → software-update-OZURO4VK.cjs} +11 -11
- package/dist/types/index.cjs +27 -2
- package/dist/types/index.js +25 -3
- package/dist/types/trust-center.d.ts +19 -2
- package/dist/types/trust-center.d.ts.map +1 -1
- package/dist/utils/ai-providers.d.ts +29 -0
- package/dist/utils/ai-providers.d.ts.map +1 -0
- package/dist/utils/index.cjs +76 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +68 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/model-token-rates.d.ts +55 -0
- package/dist/utils/model-token-rates.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +3 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/features/index.ts +1 -0
- package/src/components/features/model-token-rates.tsx +696 -0
- package/src/components/help-center-pages/trust-center-page.tsx +50 -29
- package/src/components/help-center-pages/trust-center-sections.tsx +2 -2
- package/src/components/ui/data-attribution.tsx +19 -6
- package/src/components/ui/download-button.tsx +34 -0
- package/src/components/ui/index.ts +1 -0
- package/src/types/trust-center.ts +52 -4
- package/src/utils/ai-providers.ts +46 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/model-token-rates.ts +103 -0
- package/src/utils/source-icons.ts +3 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HoneypotField,
|
|
4
4
|
Textarea
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QN3OXRTM.js";
|
|
6
6
|
import {
|
|
7
7
|
Select,
|
|
8
8
|
SelectContent,
|
|
9
9
|
SelectItem,
|
|
10
10
|
SelectTrigger,
|
|
11
11
|
SelectValue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VLPGV5WH.js";
|
|
13
13
|
import {
|
|
14
14
|
useContactSubmission,
|
|
15
15
|
useHumanitySignals,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
ChatAttachmentChipStrip,
|
|
21
21
|
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
22
22
|
useChatAttachments
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S4SVKXHN.js";
|
|
24
24
|
import {
|
|
25
25
|
SECTION_HEADING_CLASS,
|
|
26
26
|
accentSentenceMarks
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CJENFR5T.js";
|
|
28
28
|
import {
|
|
29
29
|
Input,
|
|
30
30
|
Label,
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
ShellTypeValues,
|
|
7
7
|
getOSLabel,
|
|
8
8
|
getShellLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S4SVKXHN.js";
|
|
10
10
|
import {
|
|
11
11
|
InteractiveCard,
|
|
12
12
|
SECTION_HEADING_CLASS,
|
|
13
13
|
StatusBadge,
|
|
14
14
|
accentSentenceMarks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CJENFR5T.js";
|
|
16
16
|
import {
|
|
17
17
|
nameInitials
|
|
18
18
|
} from "./chunk-KZQO5EJQ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PageShell
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QN3OXRTM.js";
|
|
5
5
|
import {
|
|
6
6
|
PageLayout
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VLPGV5WH.js";
|
|
8
8
|
import {
|
|
9
9
|
useScrollToHash
|
|
10
10
|
} from "./chunk-2TXGR7IK.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
useAskPrompts,
|
|
19
19
|
useAssistantOpen,
|
|
20
20
|
useShownAskPromptIds
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S4SVKXHN.js";
|
|
22
22
|
import {
|
|
23
23
|
AssistantRuntimeContext,
|
|
24
24
|
useAssistantRuntime
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
SECTION_HEADING_CLASS,
|
|
39
39
|
buildSuggestionUrl,
|
|
40
40
|
useSelfFetch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CJENFR5T.js";
|
|
42
42
|
import {
|
|
43
43
|
Chevron02DownIcon
|
|
44
44
|
} from "./chunk-NCPTID44.js";
|
|
@@ -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 _chunkBIWG3CYNcjs = require('./chunk-BIWG3CYN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ var _chunkVV5INIQBcjs = require('./chunk-VV5INIQB.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkGRB5HVEVcjs = require('./chunk-GRB5HVEV.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -28,14 +28,14 @@ var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk3NVSC3BUcjs = require('./chunk-3NVSC3BU.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkDGNGABNGcjs = require('./chunk-DGNGABNG.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
@@ -121,7 +121,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
121
121
|
{
|
|
122
122
|
"aria-hidden": "true",
|
|
123
123
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
124
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
124
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNGABNGcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
127
|
}
|
|
@@ -134,7 +134,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
134
134
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
135
135
|
box
|
|
136
136
|
),
|
|
137
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
137
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNGABNGcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
138
138
|
}
|
|
139
139
|
);
|
|
140
140
|
}
|
|
@@ -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, _chunkGRB5HVEVcjs.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],
|
|
@@ -164,7 +164,7 @@ function NavItemRow({
|
|
|
164
164
|
] });
|
|
165
165
|
} else if (variant === "side") {
|
|
166
166
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
167
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNGABNGcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
168
168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
169
169
|
counter
|
|
170
170
|
] });
|
|
@@ -268,7 +268,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
268
268
|
!!_optionalChain([menu, 'access', _10 => _10.features, 'optionalAccess', _11 => _11.length]) && // One row of cards, as many as the bar's width holds: a card that
|
|
269
269
|
// would wrap lands on a zero-height row, where its cell clips it.
|
|
270
270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-w-0 flex-[3] auto-rows-[0px] grid-cols-[repeat(auto-fit,minmax(240px,1fr))] grid-rows-[minmax(0,1fr)] gap-x-[var(--spacing-system-mf)]", children: menu.features.map((feature) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
-
|
|
271
|
+
_chunkDGNGABNGcjs.CaseStudyCard,
|
|
272
272
|
{
|
|
273
273
|
size: "menu",
|
|
274
274
|
study: feature.study,
|
|
@@ -385,7 +385,7 @@ function TopNavigation({
|
|
|
385
385
|
|
|
386
386
|
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";
|
|
387
387
|
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";
|
|
388
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNGABNGcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
389
389
|
function SiteHeader({
|
|
390
390
|
nav,
|
|
391
391
|
pathname,
|
|
@@ -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
|
+
_chunkGRB5HVEVcjs.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
|
+
_chunk3NVSC3BUcjs.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
|
+
_chunk3NVSC3BUcjs.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
|
+
_chunkGRB5HVEVcjs.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 = _chunk3NVSC3BUcjs.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]", _chunk3NVSC3BUcjs.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, _chunkGRB5HVEVcjs.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 = _chunk3NVSC3BUcjs.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
|
+
..._chunk3NVSC3BUcjs.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 = _chunkBIWG3CYNcjs.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 ? _chunk3NVSC3BUcjs.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
|
+
_chunkGRB5HVEVcjs.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, _chunkGRB5HVEVcjs.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
|
+
_chunkGRB5HVEVcjs.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
|
+
_chunkGRB5HVEVcjs.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, _chunkGRB5HVEVcjs.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
|
+
_chunkGRB5HVEVcjs.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 = _chunkGRB5HVEVcjs.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
|
+
_chunkGRB5HVEVcjs.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
|
+
_chunk3NVSC3BUcjs.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, _chunkGRB5HVEVcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRB5HVEVcjs.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, _chunkGRB5HVEVcjs.NotificationDrawer, {}),
|
|
2592
2592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2593
2593
|
"div",
|
|
2594
2594
|
{
|