@flamingo-stack/openframe-frontend-core 0.0.847 → 0.0.848
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-DJOHIHYU.cjs → case-study-card-X2HKPKT7.cjs} +5 -5
- package/dist/{chunk-N2A24FDF.cjs → chunk-2V6FCVUL.cjs} +955 -932
- package/dist/{chunk-CNMXP77I.cjs → chunk-36DUCHI7.cjs} +4 -4
- package/dist/{chunk-J2IXYCEH.cjs → chunk-3W4ASAXN.cjs} +15 -15
- package/dist/{chunk-6LDL3UZE.cjs → chunk-4YBS4HIO.cjs} +20 -20
- package/dist/{chunk-QK2A334V.cjs → chunk-5HOWR4TG.cjs} +12 -12
- package/dist/{chunk-2FUTZKLB.cjs → chunk-74Z34I2C.cjs} +6 -6
- package/dist/{chunk-PV3NKXWS.cjs → chunk-7DW3LZ52.cjs} +57 -57
- package/dist/{chunk-ZTO7KNYV.cjs → chunk-7LE4HWHA.cjs} +35 -35
- package/dist/{chunk-URP6GYTD.cjs → chunk-7YJQTQPV.cjs} +56 -56
- package/dist/{chunk-4R4HAFXI.cjs → chunk-ALRYVZ3E.cjs} +6 -6
- package/dist/{chunk-57JYB3E2.cjs → chunk-C3WZXOZJ.cjs} +3 -3
- package/dist/{chunk-SSSI2RBV.cjs → chunk-FNQWL4W4.cjs} +14 -14
- package/dist/{chunk-J2ZSGOUC.cjs → chunk-GASFYPGH.cjs} +27 -27
- package/dist/{chunk-3V5JWG27.cjs → chunk-GG466XFQ.cjs} +2 -2
- package/dist/{chunk-XCVH5BCZ.cjs → chunk-GRCOEICK.cjs} +6 -6
- package/dist/{chunk-5GBLXY5F.cjs → chunk-HTYJUMFB.cjs} +7 -7
- package/dist/{chunk-HBDLJUI3.cjs → chunk-I3YRYS23.cjs} +5 -5
- package/dist/{chunk-HPXET3LH.cjs → chunk-IIUZE73M.cjs} +27 -27
- package/dist/{chunk-WCK5T3UD.cjs → chunk-IKOL6NJY.cjs} +101 -69
- package/dist/{chunk-DGQDGCQH.cjs → chunk-INA2FX2N.cjs} +2 -2
- package/dist/{chunk-PQDCSZ3W.cjs → chunk-IUZVOQXP.cjs} +85 -85
- package/dist/{chunk-BIOSHDXQ.cjs → chunk-MDLT6D46.cjs} +61 -61
- package/dist/{chunk-DEEQSVLX.cjs → chunk-MWYEROAP.cjs} +90 -90
- package/dist/{chunk-D5DMWXF2.cjs → chunk-NYT6IBIX.cjs} +4 -4
- package/dist/{chunk-TBOWFTEN.cjs → chunk-O4BXHCMK.cjs} +22 -22
- package/dist/{chunk-YC52LSPP.cjs → chunk-OCJXOSIH.cjs} +40 -40
- package/dist/{chunk-3TOWCFIK.cjs → chunk-PMUCEUFQ.cjs} +13 -1
- package/dist/{chunk-BZZE4KIV.cjs → chunk-QUSCSYHJ.cjs} +135 -135
- package/dist/{chunk-744JXTDP.cjs → chunk-SA2NNWIJ.cjs} +23 -23
- package/dist/{chunk-BHOVF4KP.cjs → chunk-SOSIXRQ3.cjs} +2 -2
- package/dist/{chunk-PZNWIJRZ.cjs → chunk-TIVPOVIM.cjs} +2 -2
- package/dist/{chunk-FLW4WULE.cjs → chunk-U7UBYJEZ.cjs} +17 -61
- package/dist/{chunk-Y2OEC7UW.cjs → chunk-VW4446JR.cjs} +40 -40
- package/dist/{chunk-NFNSPLGC.cjs → chunk-W7OFAROY.cjs} +14 -9
- package/dist/{chunk-RAJ5FYFL.cjs → chunk-Y2ZWWIUA.cjs} +14 -14
- package/dist/{chunk-MPVOPSU6.cjs → chunk-Y4BG7SPX.cjs} +96 -96
- package/dist/{chunk-SIFRIUPW.cjs → chunk-YAW7CHLV.cjs} +340 -354
- package/dist/{chunk-ABL5OBSF.cjs → chunk-YXKAHQYS.cjs} +294 -249
- package/dist/{chunk-SWF6TNZ3.cjs → chunk-ZGEWT3SF.cjs} +2 -2
- package/dist/{chunk-5SZ4ILU3.cjs → chunk-ZZDFMUEU.cjs} +3 -3
- package/dist/{cloud-tenants-XEUUMABT.cjs → cloud-tenants-YAZHLPOQ.cjs} +21 -21
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +4 -3
- package/dist/components/chat/chat-container.d.ts.map +1 -1
- package/dist/components/chat/chat-container.js +2 -2
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/design-doc-card.js +5 -17
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +4 -7
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +22 -22
- package/dist/components/docs/index.cjs +25 -25
- package/dist/components/embeds/index.cjs +22 -22
- package/dist/components/faq/index.cjs +23 -23
- package/dist/components/features/index.cjs +21 -21
- package/dist/components/features/status-filter-component.d.ts +7 -1
- package/dist/components/features/status-filter-component.d.ts.map +1 -1
- package/dist/components/features/status-filter-component.js +9 -3
- package/dist/components/help-center-pages/index.cjs +140 -140
- package/dist/components/index.cjs +137 -135
- package/dist/components/layout/back-button.d.ts +7 -1
- package/dist/components/layout/back-button.d.ts.map +1 -1
- package/dist/components/layout/back-button.js +34 -2
- package/dist/components/loading/unified-skeleton.d.ts +6 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +13 -1
- package/dist/components/meeting-scheduler/index.cjs +119 -119
- package/dist/components/navigation/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/product-demo/index.cjs +33 -33
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/file-manager/file-manager-table.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-table.js +59 -50
- package/dist/components/ui/file-manager/index.cjs +71 -62
- package/dist/components/ui/index.cjs +23 -21
- package/dist/components/ui/markdown/engine.d.ts +5 -4
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +15 -15
- package/dist/components/ui/people-cell.d.ts +9 -2
- package/dist/components/ui/people-cell.d.ts.map +1 -1
- package/dist/components/ui/people-cell.js +39 -23
- package/dist/components/ui/progress-bar.d.ts +6 -0
- package/dist/components/ui/progress-bar.d.ts.map +1 -1
- package/dist/components/ui/progress-bar.js +2 -0
- package/dist/components/ui/tag.d.ts +8 -0
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/components/ui/tag.js +5 -0
- package/dist/{devices-7YDIHVVP.cjs → devices-IZROCLFK.cjs} +22 -22
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/next-image.cjs +3 -3
- package/dist/{embeddable-chat-Z3S37SSM.cjs → embeddable-chat-ETW6S22E.cjs} +94 -94
- package/dist/hooks/index.cjs +6 -6
- package/dist/index.cjs +30 -32
- package/dist/{knowledge-SQVPQSKM.cjs → knowledge-4IRWLTNW.cjs} +22 -22
- package/dist/{logs-M5DFGUBC.cjs → logs-EFDGY5IO.cjs} +28 -28
- package/dist/{policies-T3VQEJUD.cjs → policies-3KEXZ5BP.cjs} +25 -25
- package/dist/{remote-session-EE6477O3.cjs → remote-session-NT4NG7EF.cjs} +10 -10
- package/dist/{scripts-JFRFJKPH.cjs → scripts-PCGTZLZL.cjs} +28 -28
- package/dist/{software-update-E7W3AAIY.cjs → software-update-YCDNVFJE.cjs} +25 -25
- package/dist/{tickets-board-44HO3LR4.cjs → tickets-board-7FLGQEHF.cjs} +10 -10
- package/dist/types/design-doc.d.ts +45 -8
- package/dist/types/design-doc.d.ts.map +1 -1
- package/dist/utils/design-doc-readiness.d.ts +17 -15
- package/dist/utils/design-doc-readiness.d.ts.map +1 -1
- package/dist/utils/design-doc-readiness.js +5 -11
- package/dist/utils/index.cjs +5 -11
- package/package.json +1 -1
- package/src/components/chat/chat-composer.tsx +10 -3
- package/src/components/chat/chat-container.tsx +6 -4
- package/src/components/chat/entity-cards/design-doc-card.tsx +12 -17
- package/src/components/chat/entity-cards/dispatch.tsx +7 -10
- package/src/components/features/status-filter-component.tsx +15 -0
- package/src/components/layout/back-button.tsx +54 -2
- package/src/components/loading/unified-skeleton.tsx +18 -2
- package/src/components/ui/file-manager/file-manager-table.tsx +8 -3
- package/src/components/ui/markdown/engine.tsx +21 -30
- package/src/components/ui/people-cell.tsx +53 -17
- package/src/components/ui/progress-bar.tsx +8 -0
- package/src/components/ui/tag.tsx +14 -0
- package/src/types/design-doc.ts +59 -10
- package/src/utils/design-doc-readiness.ts +22 -23
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkO4BXHCMKcjs = require('./chunk-O4BXHCMK.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNYT6IBIXcjs = require('./chunk-NYT6IBIX.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -19,17 +19,17 @@ var _chunkD5DMWXF2cjs = require('./chunk-D5DMWXF2.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk2V6FCVULcjs = require('./chunk-2V6FCVUL.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkINA2FX2Ncjs = require('./chunk-INA2FX2N.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkFNQWL4W4cjs = require('./chunk-FNQWL4W4.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkIUDBG3HJcjs = require('./chunk-IUDBG3HJ.cjs');
|
|
@@ -41,7 +41,7 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkQUSCSYHJcjs = require('./chunk-QUSCSYHJ.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -54,10 +54,10 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkYAW7CHLVcjs = require('./chunk-YAW7CHLV.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunk4YBS4HIOcjs = require('./chunk-4YBS4HIO.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkYJZ7R3W5cjs = require('./chunk-YJZ7R3W5.cjs');
|
|
@@ -102,7 +102,7 @@ var _chunk4TUSPDNScjs = require('./chunk-4TUSPDNS.cjs');
|
|
|
102
102
|
var _chunkCON36SEJcjs = require('./chunk-CON36SEJ.cjs');
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkGRCOEICKcjs = require('./chunk-GRCOEICK.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkFW7RKWPYcjs = require('./chunk-FW7RKWPY.cjs');
|
|
@@ -116,10 +116,10 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunkW7OFAROYcjs = require('./chunk-W7OFAROY.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
var
|
|
122
|
+
var _chunkMDLT6D46cjs = require('./chunk-MDLT6D46.cjs');
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
@@ -148,7 +148,7 @@ var _chunkS3QXLD4Xcjs = require('./chunk-S3QXLD4X.cjs');
|
|
|
148
148
|
var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
var
|
|
151
|
+
var _chunkPMUCEUFQcjs = require('./chunk-PMUCEUFQ.cjs');
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
|
|
@@ -193,7 +193,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
193
193
|
{
|
|
194
194
|
"aria-hidden": "true",
|
|
195
195
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMDLT6D46cjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
}
|
|
@@ -206,7 +206,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
206
206
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
207
207
|
box
|
|
208
208
|
),
|
|
209
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMDLT6D46cjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
210
210
|
}
|
|
211
211
|
);
|
|
212
212
|
}
|
|
@@ -219,7 +219,7 @@ function NavItemRow({
|
|
|
219
219
|
className
|
|
220
220
|
}) {
|
|
221
221
|
const label = navLinkLabel(link);
|
|
222
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
222
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
223
223
|
const singleLine = !link.description && !link.builtOn;
|
|
224
224
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
225
225
|
ROW_CLASSES[variant],
|
|
@@ -236,7 +236,7 @@ function NavItemRow({
|
|
|
236
236
|
] });
|
|
237
237
|
} else if (variant === "side") {
|
|
238
238
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
239
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
239
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMDLT6D46cjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
241
241
|
counter
|
|
242
242
|
] });
|
|
@@ -267,7 +267,7 @@ var featureCardLoad = null;
|
|
|
267
267
|
var featureCardListeners = /* @__PURE__ */ new Set();
|
|
268
268
|
function loadFeatureCard() {
|
|
269
269
|
if (featureCard || featureCardLoad) return;
|
|
270
|
-
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-
|
|
270
|
+
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-X2HKPKT7.cjs"))).then((module) => {
|
|
271
271
|
featureCard = module.CaseStudyCard;
|
|
272
272
|
for (const listener of featureCardListeners) listener();
|
|
273
273
|
}).catch(() => void 0).finally(() => {
|
|
@@ -276,7 +276,7 @@ function loadFeatureCard() {
|
|
|
276
276
|
}
|
|
277
277
|
function subscribeToFeatureCard(listener) {
|
|
278
278
|
featureCardListeners.add(listener);
|
|
279
|
-
const cancel =
|
|
279
|
+
const cancel = _chunkQUSCSYHJcjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
280
280
|
return () => {
|
|
281
281
|
featureCardListeners.delete(listener);
|
|
282
282
|
cancel();
|
|
@@ -491,7 +491,7 @@ function TopNavigation({
|
|
|
491
491
|
|
|
492
492
|
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";
|
|
493
493
|
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";
|
|
494
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
494
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMDLT6D46cjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
495
495
|
function SiteHeader({
|
|
496
496
|
nav,
|
|
497
497
|
pathname,
|
|
@@ -514,8 +514,8 @@ function SiteHeader({
|
|
|
514
514
|
}) {
|
|
515
515
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
516
516
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
517
|
-
const activeId =
|
|
518
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
517
|
+
const activeId = _chunkFNQWL4W4cjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
518
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkFNQWL4W4cjs.useNavMenus.call(void 0, { pathname });
|
|
519
519
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
520
520
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
521
521
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -641,7 +641,7 @@ function SiteHeader({
|
|
|
641
641
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
642
642
|
leading,
|
|
643
643
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
644
|
-
|
|
644
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
645
645
|
{
|
|
646
646
|
className: "border-r border-ods-border lg:hidden",
|
|
647
647
|
onClick: mobile.onToggle,
|
|
@@ -667,7 +667,7 @@ function SiteHeader({
|
|
|
667
667
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
668
668
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
669
669
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
670
|
-
|
|
670
|
+
_chunkQUSCSYHJcjs.MingoAiButton,
|
|
671
671
|
{
|
|
672
672
|
source: mingo.source,
|
|
673
673
|
icon: mingo.icon,
|
|
@@ -733,9 +733,9 @@ function MobileNavSheetBody({
|
|
|
733
733
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
734
734
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
735
735
|
_overlays.usePreventScroll.call(void 0, );
|
|
736
|
-
|
|
736
|
+
_chunkFNQWL4W4cjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
737
737
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
738
|
-
const active =
|
|
738
|
+
const active = _chunkFNQWL4W4cjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
739
739
|
return active ? { [active]: true } : {};
|
|
740
740
|
});
|
|
741
741
|
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));
|
|
@@ -771,7 +771,7 @@ function MobileNavSheetBody({
|
|
|
771
771
|
] }),
|
|
772
772
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
773
773
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
774
|
-
|
|
774
|
+
_chunkQUSCSYHJcjs.MingoAiButton,
|
|
775
775
|
{
|
|
776
776
|
variant: "field",
|
|
777
777
|
source: askAI.source,
|
|
@@ -949,7 +949,7 @@ function SiteFooter({
|
|
|
949
949
|
const columns = nav.footerColumns;
|
|
950
950
|
const accordion = columns.length > ACCORDION_OVER;
|
|
951
951
|
const footerSocial = [...nav.brand.social, ..._nullishCoalesce(nav.brand.feeds, () => ( []))];
|
|
952
|
-
const socialRow = _nullishCoalesce(social, () => ( (footerSocial.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
952
|
+
const socialRow = _nullishCoalesce(social, () => ( (footerSocial.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.SocialIconRow, { compact: true, links: _chunk2V6FCVULcjs.siteNavSocialLinks.call(void 0, footerSocial) }) : null)));
|
|
953
953
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
954
954
|
"footer",
|
|
955
955
|
{
|
|
@@ -1043,12 +1043,12 @@ var _framermotion = require('framer-motion');
|
|
|
1043
1043
|
|
|
1044
1044
|
function SlidingSidebar({ config }) {
|
|
1045
1045
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1046
|
-
const mounted =
|
|
1046
|
+
const mounted = _chunkYAW7CHLVcjs.useIsHydrated.call(void 0, );
|
|
1047
1047
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1048
1048
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1049
1049
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1050
1050
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1051
|
-
|
|
1051
|
+
_chunkFNQWL4W4cjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1052
1052
|
const toggleExpanded = (itemId) => {
|
|
1053
1053
|
const newExpanded = new Set(expandedItems);
|
|
1054
1054
|
if (newExpanded.has(itemId)) {
|
|
@@ -1175,7 +1175,7 @@ function SlidingSidebar({ config }) {
|
|
|
1175
1175
|
duration: 0.3,
|
|
1176
1176
|
ease: [0.4, 0, 0.2, 1]
|
|
1177
1177
|
},
|
|
1178
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
1178
|
+
className: _chunk63A4GZMBcjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkINA2FX2Ncjs.OVERLAY_BACKDROP_CLASS),
|
|
1179
1179
|
onClick: () => config.onClose()
|
|
1180
1180
|
}
|
|
1181
1181
|
) }),
|
|
@@ -1218,7 +1218,7 @@ function SlidingSidebar({ config }) {
|
|
|
1218
1218
|
// src/components/navigation/page-section-bar.tsx
|
|
1219
1219
|
|
|
1220
1220
|
|
|
1221
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1221
|
+
var SECTION_BAR_HEIGHT_PX = _chunkO4BXHCMKcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1222
1222
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1223
1223
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1224
1224
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1246,21 +1246,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1246
1246
|
const sections = useRenderedSections(listed);
|
|
1247
1247
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1248
1248
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1249
|
-
const { activeSection, handleSectionClick } =
|
|
1249
|
+
const { activeSection, handleSectionClick } = _chunkO4BXHCMKcjs.useScrollSpy.call(void 0, sections, {
|
|
1250
1250
|
syncHash: true,
|
|
1251
1251
|
aboveFirst: "none",
|
|
1252
1252
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1253
1253
|
});
|
|
1254
1254
|
if (sections.length === 0 && !inScope) return null;
|
|
1255
1255
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1256
|
-
|
|
1256
|
+
_chunk2V6FCVULcjs.PageContainer,
|
|
1257
1257
|
{
|
|
1258
1258
|
as: "div",
|
|
1259
1259
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1260
1260
|
backgroundStyle: { top: headerBottom },
|
|
1261
1261
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1262
1262
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1263
|
-
|
|
1263
|
+
_chunkO4BXHCMKcjs.StickySectionNav,
|
|
1264
1264
|
{
|
|
1265
1265
|
orientation: "horizontal",
|
|
1266
1266
|
label,
|
|
@@ -1269,7 +1269,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1269
1269
|
onSectionClick: handleSectionClick,
|
|
1270
1270
|
brand,
|
|
1271
1271
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1272
|
-
|
|
1272
|
+
_chunkYAW7CHLVcjs.NavLinkAnchorViaRuntime,
|
|
1273
1273
|
{
|
|
1274
1274
|
href: action.href,
|
|
1275
1275
|
onClick: (event) => {
|
|
@@ -1297,7 +1297,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1297
1297
|
|
|
1298
1298
|
function NavigationItemBadge({ label, compact = false, className, ...rest }) {
|
|
1299
1299
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1300
|
-
|
|
1300
|
+
_chunkW7OFAROYcjs.Tag,
|
|
1301
1301
|
{
|
|
1302
1302
|
as: "span",
|
|
1303
1303
|
label,
|
|
@@ -1350,7 +1350,7 @@ var idleIcon = (group) => _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
1350
1350
|
);
|
|
1351
1351
|
var EXPANDED_ONLY = "opacity-0 transition-opacity duration-150 @[140px]/of-nav-sidebar:opacity-100 motion-reduce:transition-none";
|
|
1352
1352
|
function RowEnd({ count }) {
|
|
1353
|
-
return count > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1353
|
+
return count > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.CountPill, { count, className: "ml-auto" }) : null;
|
|
1354
1354
|
}
|
|
1355
1355
|
function RowLabel({ item, showLabel = true }) {
|
|
1356
1356
|
const unreadCount = _nullishCoalesce(item.unreadCount, () => ( 0));
|
|
@@ -1364,7 +1364,7 @@ function RowLabel({ item, showLabel = true }) {
|
|
|
1364
1364
|
),
|
|
1365
1365
|
children: [
|
|
1366
1366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1367
|
-
|
|
1367
|
+
_chunkW7OFAROYcjs.FloatingTooltip,
|
|
1368
1368
|
{
|
|
1369
1369
|
content: item.label,
|
|
1370
1370
|
side: "top",
|
|
@@ -1387,7 +1387,7 @@ function RowIcon({ item, size, className }) {
|
|
|
1387
1387
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex shrink-0 items-center justify-center", size === 20 ? "size-5" : "size-4", className),
|
|
1388
1388
|
children: [
|
|
1389
1389
|
sizedIcon(item.icon, size),
|
|
1390
|
-
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1390
|
+
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadDot, { size: "fixed", className: "@[140px]/of-nav-sidebar:hidden" })
|
|
1391
1391
|
]
|
|
1392
1392
|
}
|
|
1393
1393
|
);
|
|
@@ -1468,7 +1468,7 @@ function GroupedChildRow({
|
|
|
1468
1468
|
),
|
|
1469
1469
|
children: [
|
|
1470
1470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1471
|
-
|
|
1471
|
+
_chunkW7OFAROYcjs.FloatingTooltip,
|
|
1472
1472
|
{
|
|
1473
1473
|
content: item.label,
|
|
1474
1474
|
side: "top",
|
|
@@ -1666,8 +1666,8 @@ function NavigationSidebarGroupedSkeleton() {
|
|
|
1666
1666
|
className: "flex h-11 w-full items-center overflow-hidden pl-[var(--spacing-system-xsf)] @[140px]/of-nav-sidebar:pr-[var(--spacing-system-xsf)]",
|
|
1667
1667
|
"aria-hidden": "true",
|
|
1668
1668
|
children: [
|
|
1669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "ml-[var(--spacing-system-xsf)] min-w-0 flex-1", EXPANDED_ONLY), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "size-5 shrink-0 rounded" }),
|
|
1670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "ml-[var(--spacing-system-xsf)] min-w-0 flex-1", EXPANDED_ONLY), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }) })
|
|
1671
1671
|
]
|
|
1672
1672
|
}
|
|
1673
1673
|
);
|
|
@@ -1722,7 +1722,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1722
1722
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1723
1723
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1724
1724
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1725
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1725
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadDot, { size: "fixed" })
|
|
1726
1726
|
] }),
|
|
1727
1727
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1728
1728
|
"span",
|
|
@@ -1734,7 +1734,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1734
1734
|
"aria-hidden": !showLabel,
|
|
1735
1735
|
children: [
|
|
1736
1736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1737
|
-
|
|
1737
|
+
_chunkW7OFAROYcjs.FloatingTooltip,
|
|
1738
1738
|
{
|
|
1739
1739
|
content: item.label,
|
|
1740
1740
|
side: "top",
|
|
@@ -1777,8 +1777,8 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1777
1777
|
}
|
|
1778
1778
|
function NavigationSidebarItemSkeleton({ showLabel }) {
|
|
1779
1779
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunk63A4GZMBcjs.BUTTON_KIND_CLASS.rail, NAV_SIDEBAR_ROW_LAYOUT_CLASS), "aria-hidden": "true", children: [
|
|
1780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1781
|
-
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) }),
|
|
1781
|
+
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "ml-[var(--spacing-system-xs)] h-4 flex-1 rounded" })
|
|
1782
1782
|
] });
|
|
1783
1783
|
}
|
|
1784
1784
|
|
|
@@ -2007,7 +2007,7 @@ function NavigationSidebar({
|
|
|
2007
2007
|
setTabletFor(isTablet);
|
|
2008
2008
|
if (isTablet) setTabletMinimized(true);
|
|
2009
2009
|
}
|
|
2010
|
-
const hydrated =
|
|
2010
|
+
const hydrated = _chunkYAW7CHLVcjs.useIsHydrated.call(void 0, );
|
|
2011
2011
|
const serverMinimized = isControlled ? desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
2012
2012
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : serverMinimized;
|
|
2013
2013
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
@@ -2021,7 +2021,7 @@ function NavigationSidebar({
|
|
|
2021
2021
|
setSize: setChosenExpandedWidth,
|
|
2022
2022
|
resetSize: resetChosenExpandedWidth,
|
|
2023
2023
|
clampSize: clampExpandedWidth
|
|
2024
|
-
} =
|
|
2024
|
+
} = _chunkINA2FX2Ncjs.useResizablePanelSize.call(void 0, {
|
|
2025
2025
|
enabled: resize !== void 0,
|
|
2026
2026
|
minSize: resizeMinWidth,
|
|
2027
2027
|
maxSize: _nullishCoalesce(_optionalChain([resize, 'optionalAccess', _38 => _38.maxWidth]), () => ( Number.POSITIVE_INFINITY)),
|
|
@@ -2288,7 +2288,7 @@ function NavigationSidebar({
|
|
|
2288
2288
|
}
|
|
2289
2289
|
),
|
|
2290
2290
|
resize !== void 0 && !minimized && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2291
|
-
|
|
2291
|
+
_chunkYAW7CHLVcjs.PanelResizeHandle,
|
|
2292
2292
|
{
|
|
2293
2293
|
side: "left",
|
|
2294
2294
|
variant: "inLayout",
|
|
@@ -2301,7 +2301,7 @@ function NavigationSidebar({
|
|
|
2301
2301
|
onReset: resetChosenExpandedWidth,
|
|
2302
2302
|
ariaLabel: "Resize navigation sidebar",
|
|
2303
2303
|
className: "inset-y-0 hidden w-6 -translate-x-1/2 justify-center pl-0 lg:flex",
|
|
2304
|
-
grip: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2304
|
+
grip: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAW7CHLVcjs.PanelResizeGrip, {})
|
|
2305
2305
|
}
|
|
2306
2306
|
)
|
|
2307
2307
|
]
|
|
@@ -2340,7 +2340,7 @@ function toMenuGroups(entries) {
|
|
|
2340
2340
|
),
|
|
2341
2341
|
children: [
|
|
2342
2342
|
entry.icon,
|
|
2343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadCountBadge, { count: _nullishCoalesce(entry.count, () => ( 0)) })
|
|
2344
2344
|
]
|
|
2345
2345
|
}
|
|
2346
2346
|
) : void 0,
|
|
@@ -2403,7 +2403,7 @@ function AccountPopover({
|
|
|
2403
2403
|
children: [
|
|
2404
2404
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex shrink-0", children: [
|
|
2405
2405
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2406
|
-
|
|
2406
|
+
_chunkW7OFAROYcjs.SquareAvatar,
|
|
2407
2407
|
{
|
|
2408
2408
|
src: _nullishCoalesce(avatarUrl, () => ( void 0)),
|
|
2409
2409
|
alt: name,
|
|
@@ -2413,7 +2413,7 @@ function AccountPopover({
|
|
|
2413
2413
|
"aria-hidden": "true"
|
|
2414
2414
|
}
|
|
2415
2415
|
),
|
|
2416
|
-
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2416
|
+
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadDot, { size: "fixed" })
|
|
2417
2417
|
] }),
|
|
2418
2418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2419
2419
|
"span",
|
|
@@ -2423,7 +2423,7 @@ function AccountPopover({
|
|
|
2423
2423
|
children: [
|
|
2424
2424
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
2425
2425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2426
|
-
|
|
2426
|
+
_chunkW7OFAROYcjs.FloatingTooltip,
|
|
2427
2427
|
{
|
|
2428
2428
|
content: name,
|
|
2429
2429
|
side: "top",
|
|
@@ -2443,7 +2443,7 @@ function AccountPopover({
|
|
|
2443
2443
|
)
|
|
2444
2444
|
] }),
|
|
2445
2445
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2446
|
-
|
|
2446
|
+
_chunkW7OFAROYcjs.FloatingTooltip,
|
|
2447
2447
|
{
|
|
2448
2448
|
content: subtitle,
|
|
2449
2449
|
side: "top",
|
|
@@ -2499,7 +2499,7 @@ function HeaderGlobalSearch({
|
|
|
2499
2499
|
"form",
|
|
2500
2500
|
{
|
|
2501
2501
|
onSubmit: handleSubmit,
|
|
2502
|
-
...
|
|
2502
|
+
..._chunkQUSCSYHJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
2503
2503
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
2504
2504
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
2505
2505
|
// Transparent so the cell inherits the bar's background
|
|
@@ -2566,7 +2566,7 @@ function HeaderMingoButton({
|
|
|
2566
2566
|
) : (
|
|
2567
2567
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
2568
2568
|
// and corner block are ODS cyan.
|
|
2569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4YBS4HIOcjs.AgentMark, { agent: "mingo", className: "h-6 w-6 shrink-0" })
|
|
2570
2570
|
),
|
|
2571
2571
|
!iconOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
2572
2572
|
]
|
|
@@ -2612,14 +2612,14 @@ function NotificationsBellButton({
|
|
|
2612
2612
|
variant = "cell",
|
|
2613
2613
|
className
|
|
2614
2614
|
}) {
|
|
2615
|
-
const ctx =
|
|
2615
|
+
const ctx = _chunk2V6FCVULcjs.useOptionalNotifications.call(void 0, );
|
|
2616
2616
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _75 => _75.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2617
2617
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _76 => _76.isOpen]), () => ( false));
|
|
2618
2618
|
const onClick = _optionalChain([ctx, 'optionalAccess', _77 => _77.toggle]);
|
|
2619
2619
|
const floating = variant === "floating";
|
|
2620
2620
|
const iconClassName = variant === "cell" ? "h-6 w-6" : "h-5 w-5";
|
|
2621
2621
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2622
|
-
|
|
2622
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2623
2623
|
{
|
|
2624
2624
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: iconClassName }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: iconClassName }),
|
|
2625
2625
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2642,14 +2642,14 @@ function NotificationsBellButton({
|
|
|
2642
2642
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
2643
2643
|
|
|
2644
2644
|
function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
2645
|
-
const live =
|
|
2645
|
+
const live = _chunkNYT6IBIXcjs.useOptionalTicketLive.call(void 0, );
|
|
2646
2646
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
2647
2647
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
2648
2648
|
const targetId = live.nextUnreadTicketId;
|
|
2649
|
-
const target = targetId ?
|
|
2650
|
-
const handleClick = () =>
|
|
2649
|
+
const target = targetId ? _chunkQUSCSYHJcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
2650
|
+
const handleClick = () => _chunkGRCOEICKcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
2651
2651
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2652
|
-
|
|
2652
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2653
2653
|
{
|
|
2654
2654
|
icon: (
|
|
2655
2655
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -2659,7 +2659,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2659
2659
|
// existing while updates are unread — never by tinting the glyph.
|
|
2660
2660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
2661
2661
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: variant === "compact" ? "h-5 w-5" : "h-6 w-6" }),
|
|
2662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
2663
2663
|
] })
|
|
2664
2664
|
),
|
|
2665
2665
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -2732,7 +2732,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2732
2732
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
2733
2733
|
const cellDivider = "border-l border-ods-border";
|
|
2734
2734
|
const renderCustomCells = (placement) => _optionalChain([customCells, 'optionalAccess', _78 => _78.filter, 'call', _79 => _79((cell) => (_nullishCoalesce(cell.placement, () => ( "start"))) === placement), 'access', _80 => _80.map, 'call', _81 => _81((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2735
|
-
|
|
2735
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2736
2736
|
{
|
|
2737
2737
|
type: "button",
|
|
2738
2738
|
icon: cell.icon,
|
|
@@ -2753,7 +2753,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2753
2753
|
leading: (
|
|
2754
2754
|
// Mobile: Burger Menu Button
|
|
2755
2755
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2756
|
-
|
|
2756
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2757
2757
|
{
|
|
2758
2758
|
onClick: onToggleMobileMenu,
|
|
2759
2759
|
isActive: isMobileMenuOpen,
|
|
@@ -2779,7 +2779,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2779
2779
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
2780
2780
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2781
2781
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2782
|
-
|
|
2782
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2783
2783
|
{
|
|
2784
2784
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
2785
2785
|
"aria-label": "Search",
|
|
@@ -2797,7 +2797,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2797
2797
|
}
|
|
2798
2798
|
),
|
|
2799
2799
|
renderCustomCells("start"),
|
|
2800
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2800
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
2801
2801
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2802
2802
|
NotificationsBellButton,
|
|
2803
2803
|
{
|
|
@@ -2816,10 +2816,10 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2816
2816
|
),
|
|
2817
2817
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
2818
2818
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2819
|
-
|
|
2819
|
+
_chunk2V6FCVULcjs.HeaderButton,
|
|
2820
2820
|
{
|
|
2821
2821
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2822
|
-
|
|
2822
|
+
_chunkW7OFAROYcjs.SquareAvatar,
|
|
2823
2823
|
{
|
|
2824
2824
|
src: userAvatarUrl || void 0,
|
|
2825
2825
|
alt: userName || "User",
|
|
@@ -2845,7 +2845,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2845
2845
|
children: [
|
|
2846
2846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
2847
2847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2848
|
-
|
|
2848
|
+
_chunkW7OFAROYcjs.SquareAvatar,
|
|
2849
2849
|
{
|
|
2850
2850
|
src: userAvatarUrl || void 0,
|
|
2851
2851
|
alt: userName || "User",
|
|
@@ -2911,12 +2911,12 @@ function customCellFootprints(cells, placement) {
|
|
|
2911
2911
|
return (_nullishCoalesce(cells, () => ( []))).filter((cell) => (_nullishCoalesce(cell.placement, () => ( "start"))) === placement).map((cell) => cell.mobileOnly ? "icon-max-md" : "icon");
|
|
2912
2912
|
}
|
|
2913
2913
|
function HeaderCellSkeleton({ className }) {
|
|
2914
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-full w-14 shrink-0 items-center justify-center border-l border-ods-border", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2914
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-full w-14 shrink-0 items-center justify-center border-l border-ods-border", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) });
|
|
2915
2915
|
}
|
|
2916
2916
|
function HeaderWideCellSkeleton() {
|
|
2917
2917
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center gap-2 border-l border-ods-border md:w-[140px] md:px-4", children: [
|
|
2918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-6 w-6 shrink-0 rounded" }),
|
|
2919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "hidden h-5 rounded md:block md:w-[72px]" })
|
|
2920
2920
|
] });
|
|
2921
2921
|
}
|
|
2922
2922
|
function AppHeaderSkeleton({
|
|
@@ -2933,14 +2933,14 @@ function AppHeaderSkeleton({
|
|
|
2933
2933
|
"aria-busy": "true",
|
|
2934
2934
|
leading: (
|
|
2935
2935
|
// Burger cell: mobile only, in CSS.
|
|
2936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center border-r border-ods-border md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-14 shrink-0 items-center justify-center border-r border-ods-border md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }) })
|
|
2937
2937
|
),
|
|
2938
2938
|
logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2939
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2940
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-6 w-6 shrink-0 rounded" }),
|
|
2940
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-4 w-24 rounded" })
|
|
2941
2941
|
] }),
|
|
2942
2942
|
logoClassName: "gap-2 md:hidden",
|
|
2943
|
-
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2943
|
+
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.UnifiedSkeleton, { className: "h-10 w-full rounded-md" }) : void 0,
|
|
2944
2944
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2945
2945
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderCellSkeleton, { className: "md:hidden" }),
|
|
2946
2946
|
cells.map(
|
|
@@ -3240,7 +3240,7 @@ function SidePanelResizeHandle({ state, label, controls }) {
|
|
|
3240
3240
|
onPointerCancel: endDrag,
|
|
3241
3241
|
onKeyDown: handleKeyDown,
|
|
3242
3242
|
className: "group absolute inset-y-0 left-0 z-10 flex w-4 -translate-x-1/2 cursor-col-resize touch-none select-none items-center justify-center outline-none",
|
|
3243
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3243
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAW7CHLVcjs.PanelResizeGrip, {})
|
|
3244
3244
|
}
|
|
3245
3245
|
);
|
|
3246
3246
|
}
|
|
@@ -3340,7 +3340,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3340
3340
|
}) {
|
|
3341
3341
|
const panelRef = _react.useRef.call(void 0, null);
|
|
3342
3342
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
3343
|
-
|
|
3343
|
+
_chunkFNQWL4W4cjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
3344
3344
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
3345
3345
|
(item) => {
|
|
3346
3346
|
if (item.onClick) {
|
|
@@ -3429,7 +3429,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3429
3429
|
"aria-disabled": disabled || void 0,
|
|
3430
3430
|
children: [
|
|
3431
3431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3432
|
-
|
|
3432
|
+
_chunkW7OFAROYcjs.SquareAvatar,
|
|
3433
3433
|
{
|
|
3434
3434
|
src: user.userAvatarUrl || void 0,
|
|
3435
3435
|
alt: user.userName || "User",
|
|
@@ -3470,7 +3470,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3470
3470
|
{
|
|
3471
3471
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3472
3472
|
"absolute inset-0",
|
|
3473
|
-
|
|
3473
|
+
_chunkINA2FX2Ncjs.OVERLAY_BACKDROP_CLASS,
|
|
3474
3474
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3475
3475
|
isOpen ? "pointer-events-auto opacity-100" : "opacity-0"
|
|
3476
3476
|
),
|
|
@@ -3542,7 +3542,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
3542
3542
|
{
|
|
3543
3543
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3544
3544
|
"absolute inset-0 z-[100] md:hidden",
|
|
3545
|
-
|
|
3545
|
+
_chunkINA2FX2Ncjs.OVERLAY_BACKDROP_CLASS,
|
|
3546
3546
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
3547
3547
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
3548
3548
|
),
|
|
@@ -3742,7 +3742,7 @@ function AppLayout({
|
|
|
3742
3742
|
disabled
|
|
3743
3743
|
}
|
|
3744
3744
|
),
|
|
3745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2V6FCVULcjs.NotificationDrawer, { showClose: !desktopHeader }),
|
|
3746
3746
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3747
3747
|
"div",
|
|
3748
3748
|
{
|
|
@@ -3779,7 +3779,7 @@ function AppLayout({
|
|
|
3779
3779
|
style: bottomInset > 0 || dockFloats ? {
|
|
3780
3780
|
paddingBottom: bottomInset,
|
|
3781
3781
|
[COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
|
|
3782
|
-
...dockFloats && dockHeight > 0 ?
|
|
3782
|
+
...dockFloats && dockHeight > 0 ? _chunk2V6FCVULcjs.previewFadeMask.call(void 0, `calc(100% - ${dockHeight}px)`) : {}
|
|
3783
3783
|
} : void 0,
|
|
3784
3784
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUAI4VMEFcjs.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 }) }) })
|
|
3785
3785
|
}
|