@flamingo-stack/openframe-frontend-core 0.0.734 → 0.0.736
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-XKB7YGQM.cjs → chunk-77SD7RXY.cjs} +18 -6
- package/dist/{chunk-FA5SMA7L.cjs → chunk-7V2KP2TB.cjs} +4 -4
- package/dist/{chunk-KSXZABGH.cjs → chunk-BDF3FNOC.cjs} +38 -38
- package/dist/{chunk-3NANWZO3.cjs → chunk-BL5GOCHP.cjs} +14 -14
- package/dist/{chunk-DHIISS4W.cjs → chunk-EJOXXJJB.cjs} +62 -10
- package/dist/{chunk-TLQQP2EL.cjs → chunk-EX2GYIGW.cjs} +6 -6
- package/dist/{chunk-JRC3KXKV.cjs → chunk-FTGVG6FW.cjs} +30 -30
- package/dist/{chunk-4Q34V7MD.cjs → chunk-JGGSRCRD.cjs} +18 -18
- package/dist/{chunk-73ZW3265.cjs → chunk-JM54CNZZ.cjs} +85 -85
- package/dist/{chunk-HBUUCLQM.cjs → chunk-L535OD7V.cjs} +2 -2
- package/dist/{chunk-AOTOOGNX.cjs → chunk-LIH5OQLY.cjs} +3 -3
- package/dist/{chunk-OXJ57643.cjs → chunk-MGW5DO6P.cjs} +76 -17
- package/dist/{chunk-R65UD6BH.cjs → chunk-NONQUGRP.cjs} +14 -14
- package/dist/{chunk-4V672TEI.cjs → chunk-OJUMVOMP.cjs} +408 -355
- package/dist/{chunk-HAWQA5FI.cjs → chunk-OV6BGMEL.cjs} +151 -184
- package/dist/{chunk-5OGT7H2S.cjs → chunk-P6Z3EBPJ.cjs} +15 -15
- package/dist/{chunk-5DDFSGCE.cjs → chunk-SZFA2LQR.cjs} +33 -33
- package/dist/{chunk-EMBH2EJO.cjs → chunk-T27CVQBO.cjs} +65 -65
- package/dist/{chunk-CMUEFHM3.cjs → chunk-UBQSOB3X.cjs} +4 -4
- package/dist/{chunk-L7WJBJU7.cjs → chunk-URX2YTCL.cjs} +72 -72
- package/dist/{chunk-BP6R5WDW.cjs → chunk-VA7OMDZO.cjs} +41 -23
- package/dist/{chunk-D34BLEIR.cjs → chunk-VRNNIV5Y.cjs} +2 -2
- package/dist/{chunk-2OHBH6PS.cjs → chunk-XLSVQJBA.cjs} +44 -44
- package/dist/{chunk-OV7QQHLG.cjs → chunk-ZEX5WU35.cjs} +17 -17
- package/dist/{cloud-tenants-HU7YZD33.cjs → cloud-tenants-M55HMW6F.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +6 -6
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/cards-strip.js +6 -2
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/video-bites-strip.d.ts +6 -1
- package/dist/components/features/video-bites-strip.d.ts.map +1 -1
- package/dist/components/features/video-bites-strip.js +15 -3
- package/dist/components/help-center-pages/index.cjs +109 -109
- package/dist/components/index.cjs +68 -62
- package/dist/components/meeting-scheduler/index.cjs +35 -35
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/pagination.d.ts +9 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +72 -17
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/fade-preview.d.ts +5 -1
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.js +18 -1
- package/dist/components/ui/index.cjs +18 -12
- 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 +1 -0
- package/dist/components/ui/layout-hold.d.ts +31 -0
- package/dist/components/ui/layout-hold.d.ts.map +1 -0
- package/dist/components/ui/layout-hold.js +25 -0
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +28 -15
- package/dist/components/unified-pagination.d.ts.map +1 -1
- package/dist/components/unified-pagination.js +16 -4
- package/dist/{devices-CKLN7BHY.cjs → devices-WWJZFG6E.cjs} +9 -9
- package/dist/{embeddable-chat-FTAX4SVV.cjs → embeddable-chat-76IJ6TQZ.cjs} +72 -72
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/index.js +1 -0
- package/dist/hooks/ui/use-resumable-timeout.d.ts +22 -0
- package/dist/hooks/ui/use-resumable-timeout.d.ts.map +1 -0
- package/dist/hooks/ui/use-resumable-timeout.js +26 -0
- package/dist/hooks/use-scenario-player.d.ts +4 -3
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +17 -23
- package/dist/index.cjs +24 -16
- package/dist/{knowledge-NRLHSCC5.cjs → knowledge-F4YFQT3G.cjs} +9 -9
- package/dist/{logs-BR6SLYAF.cjs → logs-GAYEGEZM.cjs} +16 -16
- package/dist/{policies-MQRXBYG2.cjs → policies-ZOVJCJWX.cjs} +12 -12
- package/dist/{software-update-RUGIQP7N.cjs → software-update-H4YE5GMJ.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +9 -8
- package/src/components/features/cards-strip.tsx +11 -2
- package/src/components/features/video-bites-strip.tsx +22 -3
- package/src/components/pagination.tsx +117 -21
- package/src/components/ui/fade-preview.tsx +30 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/layout-hold.tsx +55 -0
- package/src/components/ui/snap-carousel.tsx +36 -20
- package/src/components/unified-pagination.tsx +23 -7
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-resumable-timeout.ts +55 -0
- package/src/hooks/use-scenario-player.ts +28 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -156,15 +156,19 @@ function UnifiedPagination({
|
|
|
156
156
|
}) {
|
|
157
157
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
158
158
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
159
|
+
const pageHref = (page) => {
|
|
160
|
+
const params = new URLSearchParams(searchParams.toString());
|
|
161
|
+
if (page <= 1) params.delete("page");
|
|
162
|
+
else params.set("page", page.toString());
|
|
163
|
+
return _chunkBLH2SFOOcjs.withQuery.call(void 0, pathname, params.toString());
|
|
164
|
+
};
|
|
159
165
|
const handlePageChange = (page) => {
|
|
160
166
|
const currentScrollY = window.scrollY;
|
|
161
167
|
if (onPageChange) {
|
|
162
168
|
onPageChange(page);
|
|
163
169
|
}
|
|
164
170
|
if (syncUrl) {
|
|
165
|
-
|
|
166
|
-
params.set("page", page.toString());
|
|
167
|
-
window.history.replaceState(null, "", _chunkBLH2SFOOcjs.withQuery.call(void 0, pathname, params.toString()));
|
|
171
|
+
window.history.replaceState(null, "", pageHref(page));
|
|
168
172
|
}
|
|
169
173
|
setTimeout(() => {
|
|
170
174
|
window.scrollTo({
|
|
@@ -175,10 +179,18 @@ function UnifiedPagination({
|
|
|
175
179
|
}, 0);
|
|
176
180
|
};
|
|
177
181
|
if (totalPages <= 1) {
|
|
178
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGW5DO6Pcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
179
183
|
} }) }) }) : null;
|
|
180
184
|
}
|
|
181
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
_chunkMGW5DO6Pcjs.Pagination,
|
|
187
|
+
{
|
|
188
|
+
currentPage,
|
|
189
|
+
totalPages,
|
|
190
|
+
onPageChange: handlePageChange,
|
|
191
|
+
getPageHref: syncUrl ? pageHref : void 0
|
|
192
|
+
}
|
|
193
|
+
) });
|
|
182
194
|
}
|
|
183
195
|
|
|
184
196
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOV6BGMELcjs = require('./chunk-OV6BGMEL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -47,7 +47,7 @@ function HorizontalSectionNav({
|
|
|
47
47
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
|
|
48
48
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
|
|
49
49
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
50
|
-
|
|
50
|
+
_chunkOV6BGMELcjs.ScrollShadow,
|
|
51
51
|
{
|
|
52
52
|
axis: "horizontal",
|
|
53
53
|
className: "min-w-0 flex-1",
|
|
@@ -332,7 +332,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
332
332
|
// src/components/navigation/multi-level-navigation.tsx
|
|
333
333
|
var _lucidereact = require('lucide-react');
|
|
334
334
|
|
|
335
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
335
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkT27CVQBOcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
336
336
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
337
337
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
338
338
|
if (selectedPath === node.path) {
|
|
@@ -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 _chunkUBQSOB3Xcjs = require('./chunk-UBQSOB3X.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ var _chunkCMUEFHM3cjs = require('./chunk-CMUEFHM3.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkOJUMVOMPcjs = require('./chunk-OJUMVOMP.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk3HPB4H4Ccjs = require('./chunk-3HPB4H4C.cjs');
|
|
@@ -21,7 +21,7 @@ var _chunk3HPB4H4Ccjs = require('./chunk-3HPB4H4C.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkVA7OMDZOcjs = require('./chunk-VA7OMDZO.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkAAFW4STCcjs = require('./chunk-AAFW4STC.cjs');
|
|
@@ -32,10 +32,10 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkOV6BGMELcjs = require('./chunk-OV6BGMEL.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
var _chunkZRYKDN2Jcjs = require('./chunk-ZRYKDN2J.cjs');
|
|
@@ -87,7 +87,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
var
|
|
90
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
@@ -155,7 +155,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
155
155
|
{
|
|
156
156
|
"aria-hidden": "true",
|
|
157
157
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
158
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
159
159
|
}
|
|
160
160
|
);
|
|
161
161
|
}
|
|
@@ -168,7 +168,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
168
168
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
169
169
|
box
|
|
170
170
|
),
|
|
171
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
171
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
172
172
|
}
|
|
173
173
|
);
|
|
174
174
|
}
|
|
@@ -181,7 +181,7 @@ function NavItemRow({
|
|
|
181
181
|
className
|
|
182
182
|
}) {
|
|
183
183
|
const label = navLinkLabel(link);
|
|
184
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
184
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
185
185
|
const singleLine = !link.description && !link.builtOn;
|
|
186
186
|
const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
187
187
|
ROW_CLASSES[variant],
|
|
@@ -198,7 +198,7 @@ function NavItemRow({
|
|
|
198
198
|
] });
|
|
199
199
|
} else if (variant === "side") {
|
|
200
200
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
201
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
201
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
202
202
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
203
203
|
counter
|
|
204
204
|
] });
|
|
@@ -302,7 +302,7 @@ var NavPanel = _react.forwardRef.call(void 0, function NavPanelImpl({
|
|
|
302
302
|
!!_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
|
|
303
303
|
// would wrap lands on a zero-height row, where its cell clips it.
|
|
304
304
|
/* @__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,
|
|
305
|
-
|
|
305
|
+
_chunkEJOXXJJBcjs.CaseStudyCard,
|
|
306
306
|
{
|
|
307
307
|
size: "menu",
|
|
308
308
|
study: feature.study,
|
|
@@ -419,7 +419,7 @@ function TopNavigation({
|
|
|
419
419
|
|
|
420
420
|
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";
|
|
421
421
|
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";
|
|
422
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
423
423
|
function SiteHeader({
|
|
424
424
|
nav,
|
|
425
425
|
pathname,
|
|
@@ -442,8 +442,8 @@ function SiteHeader({
|
|
|
442
442
|
}) {
|
|
443
443
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
444
444
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
445
|
-
const activeId =
|
|
446
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
445
|
+
const activeId = _chunkVA7OMDZOcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
446
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkVA7OMDZOcjs.useNavMenus.call(void 0, { pathname });
|
|
447
447
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
448
448
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
449
449
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -569,7 +569,7 @@ function SiteHeader({
|
|
|
569
569
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
570
570
|
leading,
|
|
571
571
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
572
|
-
|
|
572
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
573
573
|
{
|
|
574
574
|
className: "border-r border-ods-border lg:hidden",
|
|
575
575
|
onClick: mobile.onToggle,
|
|
@@ -595,7 +595,7 @@ function SiteHeader({
|
|
|
595
595
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
596
596
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
597
597
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
|
|
598
|
+
_chunkT27CVQBOcjs.MingoAiButton,
|
|
599
599
|
{
|
|
600
600
|
source: mingo.source,
|
|
601
601
|
icon: mingo.icon,
|
|
@@ -659,9 +659,9 @@ function MobileNavSheetBody({
|
|
|
659
659
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
660
660
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
661
661
|
_overlays.usePreventScroll.call(void 0, );
|
|
662
|
-
|
|
662
|
+
_chunkVA7OMDZOcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
663
663
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
664
|
-
const active =
|
|
664
|
+
const active = _chunkVA7OMDZOcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
665
665
|
return active ? { [active]: true } : {};
|
|
666
666
|
});
|
|
667
667
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
@@ -697,7 +697,7 @@ function MobileNavSheetBody({
|
|
|
697
697
|
] }),
|
|
698
698
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
699
699
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
700
|
-
|
|
700
|
+
_chunkT27CVQBOcjs.MingoAiButton,
|
|
701
701
|
{
|
|
702
702
|
variant: "field",
|
|
703
703
|
source: askAI.source,
|
|
@@ -875,7 +875,7 @@ function SiteFooter({
|
|
|
875
875
|
const columns = nav.footerColumns;
|
|
876
876
|
const accordion = columns.length > ACCORDION_OVER;
|
|
877
877
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
878
|
-
|
|
878
|
+
_chunkOJUMVOMPcjs.SocialIconRow,
|
|
879
879
|
{
|
|
880
880
|
compact: true,
|
|
881
881
|
links: nav.brand.social.map((link) => ({
|
|
@@ -978,12 +978,12 @@ var _framermotion = require('framer-motion');
|
|
|
978
978
|
|
|
979
979
|
function SlidingSidebar({ config }) {
|
|
980
980
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
981
|
-
const mounted =
|
|
981
|
+
const mounted = _chunkOV6BGMELcjs.useIsHydrated.call(void 0, );
|
|
982
982
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
983
983
|
const asideRef = _react.useRef.call(void 0, null);
|
|
984
984
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
985
985
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
986
|
-
|
|
986
|
+
_chunkVA7OMDZOcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
987
987
|
const toggleExpanded = (itemId) => {
|
|
988
988
|
const newExpanded = new Set(expandedItems);
|
|
989
989
|
if (newExpanded.has(itemId)) {
|
|
@@ -1251,7 +1251,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1251
1251
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1252
1252
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1253
1253
|
}),
|
|
1254
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1254
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.UnreadDot, { size: "fixed" })
|
|
1255
1255
|
] }),
|
|
1256
1256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1257
1257
|
"span",
|
|
@@ -1352,7 +1352,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1352
1352
|
setTabletFor(isTablet);
|
|
1353
1353
|
if (isTablet) setTabletMinimized(true);
|
|
1354
1354
|
}
|
|
1355
|
-
const hydrated =
|
|
1355
|
+
const hydrated = _chunkOV6BGMELcjs.useIsHydrated.call(void 0, );
|
|
1356
1356
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1357
1357
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1358
1358
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1544,7 +1544,7 @@ function HeaderGlobalSearch({
|
|
|
1544
1544
|
"form",
|
|
1545
1545
|
{
|
|
1546
1546
|
onSubmit: handleSubmit,
|
|
1547
|
-
...
|
|
1547
|
+
..._chunkT27CVQBOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1548
1548
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1549
1549
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1550
1550
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1669,16 +1669,16 @@ function HeaderOrganizationFilter({
|
|
|
1669
1669
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1670
1670
|
|
|
1671
1671
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1672
|
-
const live =
|
|
1672
|
+
const live = _chunkUBQSOB3Xcjs.useOptionalTicketLive.call(void 0, );
|
|
1673
1673
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1674
1674
|
const targetId = live.nextUnreadTicketId;
|
|
1675
|
-
const target = targetId ?
|
|
1675
|
+
const target = targetId ? _chunkT27CVQBOcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1676
1676
|
const handleClick = () => {
|
|
1677
1677
|
if (onNavigate) onNavigate(target);
|
|
1678
1678
|
else window.location.assign(target);
|
|
1679
1679
|
};
|
|
1680
1680
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1681
|
-
|
|
1681
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
1682
1682
|
{
|
|
1683
1683
|
icon: (
|
|
1684
1684
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1688,7 +1688,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1688
1688
|
// existing while updates are unread — never by tinting the glyph.
|
|
1689
1689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1690
1690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1692
1692
|
] })
|
|
1693
1693
|
),
|
|
1694
1694
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1764,7 +1764,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1764
1764
|
leading: (
|
|
1765
1765
|
// Mobile: Burger Menu Button
|
|
1766
1766
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1767
|
-
|
|
1767
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
1768
1768
|
{
|
|
1769
1769
|
onClick: onToggleMobileMenu,
|
|
1770
1770
|
isActive: isMobileMenuOpen,
|
|
@@ -1790,7 +1790,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1790
1790
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1791
1791
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1792
1792
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1793
|
-
|
|
1793
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
1794
1794
|
{
|
|
1795
1795
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1796
1796
|
"aria-label": "Search",
|
|
@@ -1807,7 +1807,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1807
1807
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1808
1808
|
}
|
|
1809
1809
|
),
|
|
1810
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1810
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1811
1811
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1812
1812
|
NotificationsHeaderButton,
|
|
1813
1813
|
{
|
|
@@ -1827,7 +1827,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1827
1827
|
),
|
|
1828
1828
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL2RMTGOKcjs.DropdownMenu, { children: [
|
|
1829
1829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL2RMTGOKcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1830
|
-
|
|
1830
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
1831
1831
|
{
|
|
1832
1832
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1833
1833
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
@@ -1912,12 +1912,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1912
1912
|
);
|
|
1913
1913
|
});
|
|
1914
1914
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1915
|
-
const ctx =
|
|
1915
|
+
const ctx = _chunkOJUMVOMPcjs.useOptionalNotifications.call(void 0, );
|
|
1916
1916
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1917
1917
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
|
|
1918
1918
|
const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
|
|
1919
1919
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1920
|
-
|
|
1920
|
+
_chunkOJUMVOMPcjs.HeaderButton,
|
|
1921
1921
|
{
|
|
1922
1922
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1923
1923
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2369,7 +2369,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2369
2369
|
}) {
|
|
2370
2370
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2371
2371
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2372
|
-
|
|
2372
|
+
_chunkVA7OMDZOcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2373
2373
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2374
2374
|
(item) => {
|
|
2375
2375
|
if (item.onClick) {
|
|
@@ -2590,7 +2590,7 @@ function AppLayout({
|
|
|
2590
2590
|
}),
|
|
2591
2591
|
[]
|
|
2592
2592
|
);
|
|
2593
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2593
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.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: [
|
|
2594
2594
|
topBar,
|
|
2595
2595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2596
2596
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2614,7 +2614,7 @@ function AppLayout({
|
|
|
2614
2614
|
disabled
|
|
2615
2615
|
}
|
|
2616
2616
|
),
|
|
2617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.NotificationDrawer, {}),
|
|
2618
2618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2619
2619
|
"div",
|
|
2620
2620
|
{
|
|
@@ -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 _chunk77SD7RXYcjs = require('./chunk-77SD7RXY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -10,13 +10,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkOJUMVOMPcjs = require('./chunk-OJUMVOMP.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
@@ -41,7 +41,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
41
41
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
42
42
|
if (isFiltered) {
|
|
43
43
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44
|
-
|
|
44
|
+
_chunk77SD7RXYcjs.EmptyState,
|
|
45
45
|
{
|
|
46
46
|
type: "search",
|
|
47
47
|
title: filtered.title,
|
|
@@ -54,7 +54,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
54
54
|
}
|
|
55
55
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
56
56
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
57
|
-
|
|
57
|
+
_chunk77SD7RXYcjs.EmptyState,
|
|
58
58
|
{
|
|
59
59
|
type: "generic",
|
|
60
60
|
title: empty.title,
|
|
@@ -71,7 +71,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
71
71
|
var _react = require('react');
|
|
72
72
|
|
|
73
73
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
74
|
-
const section =
|
|
74
|
+
const section = _chunkT27CVQBOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
75
75
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
76
76
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
77
77
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -122,7 +122,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
122
122
|
preControls,
|
|
123
123
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
124
124
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
125
|
-
|
|
125
|
+
_chunkOJUMVOMPcjs.SearchInput,
|
|
126
126
|
{
|
|
127
127
|
showDropdown: false,
|
|
128
128
|
placeholder: search.placeholder,
|
|
@@ -132,7 +132,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
132
132
|
}
|
|
133
133
|
),
|
|
134
134
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
-
|
|
135
|
+
_chunkOJUMVOMPcjs.StatusFilterComponent,
|
|
136
136
|
{
|
|
137
137
|
selectedStatus: currentFilterValue,
|
|
138
138
|
onStatusChange: handleFilterChange,
|
|
@@ -156,7 +156,7 @@ function DevSectionPage({
|
|
|
156
156
|
shell = true
|
|
157
157
|
}) {
|
|
158
158
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
159
|
-
const section =
|
|
159
|
+
const section = _chunkT27CVQBOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
160
160
|
const backCfg = backButton === false ? void 0 : {
|
|
161
161
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
162
162
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -180,7 +180,7 @@ function DevSectionPage({
|
|
|
180
180
|
}
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -240,7 +240,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
240
240
|
const taskType = item.taskType;
|
|
241
241
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
242
242
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
243
|
-
const statusBadgeScheme =
|
|
243
|
+
const statusBadgeScheme = _chunkEJOXXJJBcjs.getStatusColorScheme.call(void 0, item.status);
|
|
244
244
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
245
245
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
246
246
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -252,7 +252,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
252
252
|
] }),
|
|
253
253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
254
254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
255
|
-
|
|
255
|
+
_chunkEJOXXJJBcjs.StatusBadge,
|
|
256
256
|
{
|
|
257
257
|
text: item.status.toUpperCase(),
|
|
258
258
|
colorScheme: statusBadgeScheme,
|
|
@@ -261,7 +261,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
261
261
|
}
|
|
262
262
|
),
|
|
263
263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
-
|
|
264
|
+
_chunkEJOXXJJBcjs.StatusBadge,
|
|
265
265
|
{
|
|
266
266
|
text: typeBadgeLabel,
|
|
267
267
|
variant: "card",
|