@flamingo-stack/openframe-frontend-core 0.0.761 → 0.0.762
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-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
- package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
- package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
- package/dist/{chunk-G6IK3HC5.cjs → chunk-3WPWUUFU.cjs} +32 -32
- package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
- package/dist/{chunk-HQYWVNQL.cjs → chunk-4NGXJA3V.cjs} +4 -4
- package/dist/{chunk-GLQBCQOF.cjs → chunk-4VAMNI27.cjs} +59 -59
- package/dist/{chunk-4EM7HIIM.cjs → chunk-72XMAKDA.cjs} +566 -566
- package/dist/{chunk-B7AOUPBV.cjs → chunk-AXGTRPF6.cjs} +20 -20
- package/dist/{chunk-6T6O36LT.cjs → chunk-CEJDHCFZ.cjs} +89 -89
- package/dist/{chunk-NOFJH7MA.cjs → chunk-CZ3OVWUL.cjs} +14 -14
- package/dist/{chunk-GKRHGVB4.cjs → chunk-DYJWZIPU.cjs} +100 -100
- package/dist/{chunk-6M54EVOA.cjs → chunk-DZ6BYXQF.cjs} +28 -28
- package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
- package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
- package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
- package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
- package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
- package/dist/{chunk-VAZTFCVY.cjs → chunk-J4P47JHM.cjs} +20 -20
- package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
- package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
- package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
- package/dist/{chunk-TIV74DVS.cjs → chunk-N52HFJTK.cjs} +43 -43
- package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
- package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
- package/dist/{chunk-OBXZDUC3.cjs → chunk-NSR7K57R.cjs} +83 -83
- package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
- package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
- package/dist/{chunk-EMSOBT6R.cjs → chunk-PFXR3RF3.cjs} +6 -6
- package/dist/{chunk-D252ICCO.cjs → chunk-QCO32MEE.cjs} +17 -17
- package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
- package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
- package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
- package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
- package/dist/{chunk-H45OTVYI.cjs → chunk-TGVV7STM.cjs} +22 -22
- package/dist/{chunk-SUHPBFNU.cjs → chunk-TQPQKBBL.cjs} +242 -240
- package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
- package/dist/{chunk-LOM3S64Z.cjs → chunk-TWAHPTWW.cjs} +8 -8
- package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
- package/dist/{cloud-tenants-BDGV4N2T.cjs → cloud-tenants-M5SIL6QZ.cjs} +22 -22
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +24 -24
- package/dist/components/features/index.cjs +22 -22
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +83 -83
- package/dist/components/meeting-scheduler/index.cjs +77 -77
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/index.cjs +22 -22
- package/dist/{devices-Q5YHMXGV.cjs → devices-TZY7RF7M.cjs} +23 -23
- package/dist/{embeddable-chat-ST5IR6VN.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +28 -28
- package/dist/{knowledge-UJTJT36J.cjs → knowledge-UKC2BLQP.cjs} +23 -23
- package/dist/{logs-WMNITBLM.cjs → logs-MFVTQ5NN.cjs} +30 -30
- package/dist/platform-domains.cjs +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +2 -0
- package/dist/{policies-TRXVBOH7.cjs → policies-BETELENB.cjs} +26 -26
- package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
- package/dist/{scripts-HECY7XDL.cjs → scripts-XDT3ZAXU.cjs} +29 -29
- package/dist/{software-update-NNFLEMYD.cjs → software-update-EW5X7R2X.cjs} +26 -26
- package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
- package/dist/types/platform.d.ts +1 -1
- package/dist/types/platform.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -0
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +1 -0
- package/dist/utils/platform-identity.cjs +10 -0
- package/dist/utils/platform-identity.d.ts +3 -2
- package/dist/utils/platform-identity.d.ts.map +1 -1
- package/dist/utils/platform-identity.js +10 -0
- package/package.json +1 -1
- package/src/platform-domains.ts +2 -0
- package/src/styles/README.md +1 -0
- package/src/styles/ods-colors.css +16 -0
- package/src/types/platform.ts +1 -0
- package/src/utils/platform-config.tsx +1 -0
- package/src/utils/platform-identity.ts +19 -2
|
@@ -14,7 +14,7 @@ var _chunkC7GIHB3Vcjs = require('./chunk-C7GIHB3V.cjs');
|
|
|
14
14
|
var _chunkHFNBMV5Mcjs = require('./chunk-HFNBMV5M.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSVP6DJFLcjs = require('./chunk-SVP6DJFL.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -25,18 +25,18 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkOJJ4RL2Tcjs = require('./chunk-OJJ4RL2T.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -65,10 +65,10 @@ function formatTicketRelativeTime(iso) {
|
|
|
65
65
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
66
66
|
const diffHours = Math.floor(diffMin / 60);
|
|
67
67
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
68
|
-
return
|
|
68
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, date, null, "numeric");
|
|
69
69
|
}
|
|
70
70
|
function formatTicketFullTimestamp(iso) {
|
|
71
|
-
return
|
|
71
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, iso, null, "numericDateTime");
|
|
72
72
|
}
|
|
73
73
|
function formatRelativeTime(timestamp) {
|
|
74
74
|
return formatRelativeTimeFrom(timestamp, /* @__PURE__ */ new Date());
|
|
@@ -94,7 +94,7 @@ function formatRelativeTimeFrom(timestamp, now) {
|
|
|
94
94
|
const weeks = Math.floor(diffInDays / 7);
|
|
95
95
|
return `${weeks}w ago`;
|
|
96
96
|
}
|
|
97
|
-
return
|
|
97
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
98
98
|
month: "short",
|
|
99
99
|
day: "numeric",
|
|
100
100
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -106,7 +106,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
106
106
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
107
107
|
return "Invalid date";
|
|
108
108
|
}
|
|
109
|
-
return
|
|
109
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
110
110
|
year: "numeric",
|
|
111
111
|
month: "short",
|
|
112
112
|
day: "numeric",
|
|
@@ -119,7 +119,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
119
119
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
120
120
|
return "Invalid date";
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
123
123
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
124
124
|
...options
|
|
125
125
|
});
|
|
@@ -281,13 +281,13 @@ function TicketStatusTag({
|
|
|
281
281
|
const config = getTicketStatusConfig(status);
|
|
282
282
|
const customStyle = color ? {
|
|
283
283
|
"--tag-bg": color,
|
|
284
|
-
"--tag-bg-hover":
|
|
285
|
-
"--tag-bg-active":
|
|
286
|
-
color:
|
|
284
|
+
"--tag-bg-hover": _chunkOJJ4RL2Tcjs.deriveHoverColor.call(void 0, color),
|
|
285
|
+
"--tag-bg-active": _chunkOJJ4RL2Tcjs.deriveActiveColor.call(void 0, color),
|
|
286
|
+
color: _chunkOJJ4RL2Tcjs.getReadableTextColor.call(void 0, color)
|
|
287
287
|
} : void 0;
|
|
288
288
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
289
289
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
-
|
|
290
|
+
_chunkEQZXJUYVcjs.Tag,
|
|
291
291
|
{
|
|
292
292
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
293
293
|
variant: _nullishCoalesce(variant, () => ( config.variant)),
|
|
@@ -330,7 +330,7 @@ function TicketStatusTag({
|
|
|
330
330
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
331
331
|
// Reuse the tag's variant styling, but split into a label section and a
|
|
332
332
|
// separated chevron section (the common dropdown-button seam).
|
|
333
|
-
|
|
333
|
+
_chunkEQZXJUYVcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
334
334
|
"w-fit shrink-0 items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
335
335
|
"disabled:cursor-not-allowed disabled:opacity-60",
|
|
336
336
|
// Custom color: bg/hover/active from the CSS vars set above.
|
|
@@ -618,7 +618,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
618
618
|
onClick: onToggle,
|
|
619
619
|
className: "flex w-full cursor-pointer items-start gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left",
|
|
620
620
|
children: [
|
|
621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSVP6DJFLcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
622
622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
623
|
"div",
|
|
624
624
|
{
|
|
@@ -774,13 +774,13 @@ ApprovalBatchMessage.displayName = "ApprovalBatchMessage";
|
|
|
774
774
|
|
|
775
775
|
|
|
776
776
|
var MARK_IMAGE_SIZES = "96px";
|
|
777
|
-
function AgentMark({ agent, className = "", color =
|
|
778
|
-
const identity =
|
|
777
|
+
function AgentMark({ agent, className = "", color = _chunkOJJ4RL2Tcjs.AGENT_GLYPH_COLOR }) {
|
|
778
|
+
const identity = _chunkOJJ4RL2Tcjs.useAgentIdentityIcon.call(void 0, agent);
|
|
779
779
|
if (_optionalChain([identity, 'optionalAccess', _15 => _15.url])) {
|
|
780
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: MARK_IMAGE_SIZES, className:
|
|
780
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: MARK_IMAGE_SIZES, className: _chunkOJJ4RL2Tcjs.AGENT_PICTURE_CLASS }) });
|
|
781
781
|
}
|
|
782
782
|
if (_optionalChain([identity, 'optionalAccess', _16 => _16.name])) {
|
|
783
|
-
return _react.createElement.call(void 0,
|
|
783
|
+
return _react.createElement.call(void 0, _chunkR3TWQ3ZJcjs.resolveIcon.call(void 0, identity.name), {
|
|
784
784
|
className,
|
|
785
785
|
"aria-hidden": true,
|
|
786
786
|
color,
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkJ4P47JHMcjs = require('./chunk-J4P47JHM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk72XMAKDAcjs = require('./chunk-72XMAKDA.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -34,8 +34,8 @@ function FaqDocumentPage({
|
|
|
34
34
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
35
35
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
36
36
|
};
|
|
37
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
-
|
|
37
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
+
_chunkJ4P47JHMcjs.FaqSection,
|
|
39
39
|
{
|
|
40
40
|
initialFaqs,
|
|
41
41
|
heading: null,
|
|
@@ -49,7 +49,7 @@ function FaqDocumentPage({
|
|
|
49
49
|
ask
|
|
50
50
|
}
|
|
51
51
|
) });
|
|
52
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
52
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|
|
@@ -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 _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkSUHPBFNUcjs = require('./chunk-SUHPBFNU.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk3RYIF4OWcjs = require('./chunk-3RYIF4OW.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -50,7 +50,7 @@ function HorizontalSectionNav({
|
|
|
50
50
|
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: [
|
|
51
51
|
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 }),
|
|
52
52
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
53
|
-
|
|
53
|
+
_chunkTQPQKBBLcjs.ScrollShadow,
|
|
54
54
|
{
|
|
55
55
|
axis: "horizontal",
|
|
56
56
|
className: "min-w-0 flex-1",
|
|
@@ -169,7 +169,7 @@ function useSectionNavigation(sections, options) {
|
|
|
169
169
|
if (!targetElement) return;
|
|
170
170
|
isScrollingFromClick.current = true;
|
|
171
171
|
setActiveSection(sectionId);
|
|
172
|
-
|
|
172
|
+
_chunk3RYIF4OWcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
|
|
173
173
|
setTimeout(() => {
|
|
174
174
|
isScrollingFromClick.current = false;
|
|
175
175
|
}, 500);
|
|
@@ -222,13 +222,13 @@ var SCROLL_OFFSET = 100;
|
|
|
222
222
|
var ID_SEPARATOR = "\n";
|
|
223
223
|
var LINE_TOLERANCE_PX = 1;
|
|
224
224
|
function currentHashId() {
|
|
225
|
-
return
|
|
225
|
+
return _chunk3RYIF4OWcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
226
226
|
}
|
|
227
227
|
function activeChildAnchor(section) {
|
|
228
|
-
return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${
|
|
228
|
+
return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunk3RYIF4OWcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
|
|
229
229
|
}
|
|
230
230
|
function hashIsWithin(section) {
|
|
231
|
-
return section.contains(
|
|
231
|
+
return section.contains(_chunk3RYIF4OWcjs.getHashTargetElement.call(void 0, currentHashId()));
|
|
232
232
|
}
|
|
233
233
|
function hashForSection(sectionId) {
|
|
234
234
|
const section = document.getElementById(sectionId);
|
|
@@ -236,7 +236,7 @@ function hashForSection(sectionId) {
|
|
|
236
236
|
return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
|
|
237
237
|
}
|
|
238
238
|
function resolveScroller(firstSection) {
|
|
239
|
-
const container = firstSection ?
|
|
239
|
+
const container = firstSection ? _chunk3RYIF4OWcjs.getScrollableAncestor.call(void 0, firstSection) : null;
|
|
240
240
|
if (container) {
|
|
241
241
|
return {
|
|
242
242
|
target: container,
|
|
@@ -266,8 +266,8 @@ function useScrollSpy(sections, options = {}) {
|
|
|
266
266
|
if (!targetElement) return;
|
|
267
267
|
isScrollingFromClick.current = true;
|
|
268
268
|
setActiveSection(sectionId);
|
|
269
|
-
if (syncHash)
|
|
270
|
-
|
|
269
|
+
if (syncHash) _chunk3RYIF4OWcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
|
|
270
|
+
_chunk3RYIF4OWcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
|
|
271
271
|
setTimeout(() => {
|
|
272
272
|
isScrollingFromClick.current = false;
|
|
273
273
|
}, 800);
|
|
@@ -283,7 +283,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
283
283
|
const scrollTop = scroller.scrollTop();
|
|
284
284
|
const viewportTop = scroller.viewportTop();
|
|
285
285
|
const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
|
|
286
|
-
const reached = (element) => scrollTop + Math.max(headerOffset,
|
|
286
|
+
const reached = (element) => scrollTop + Math.max(headerOffset, _chunk3RYIF4OWcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
|
|
287
287
|
const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
|
|
288
288
|
let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
|
|
289
289
|
const scrollHeight = scroller.scrollHeight();
|
|
@@ -306,16 +306,16 @@ function useScrollSpy(sections, options = {}) {
|
|
|
306
306
|
setActiveSection((prev) => prev !== active ? active : prev);
|
|
307
307
|
if (!syncHash) return;
|
|
308
308
|
if (fromScroll) {
|
|
309
|
-
|
|
309
|
+
_chunk3RYIF4OWcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
|
-
if (restoredChecked.current || !
|
|
313
|
-
const target =
|
|
312
|
+
if (restoredChecked.current || !_chunk3RYIF4OWcjs.isScrollSyncedHash.call(void 0, )) return;
|
|
313
|
+
const target = _chunk3RYIF4OWcjs.getHashTargetElement.call(void 0, currentHashId());
|
|
314
314
|
const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _16 => _16.getElementById, 'call', _17 => _17(id), 'optionalAccess', _18 => _18.contains, 'call', _19 => _19(target)]), () => ( false)));
|
|
315
315
|
if (!target || !tracked) return;
|
|
316
316
|
restoredChecked.current = true;
|
|
317
317
|
const section = isAboveFirst ? null : document.getElementById(currentSection);
|
|
318
|
-
if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)]))
|
|
318
|
+
if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunk3RYIF4OWcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
|
|
319
319
|
};
|
|
320
320
|
let scrollTimer;
|
|
321
321
|
const throttledScroll = () => {
|
|
@@ -335,7 +335,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
335
335
|
// src/components/navigation/multi-level-navigation.tsx
|
|
336
336
|
var _lucidereact = require('lucide-react');
|
|
337
337
|
|
|
338
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
338
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkCEJDHCFZcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
339
339
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
340
340
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
341
341
|
if (selectedPath === node.path) {
|
|
@@ -259,6 +259,7 @@ var platformDisplayNames = {
|
|
|
259
259
|
"product-hub": "Flamingo Product Hub",
|
|
260
260
|
"revenue-hub": "Flamingo Revenue Hub",
|
|
261
261
|
"people-hub": "Flamingo People Hub",
|
|
262
|
+
"coding-hub": "Flamingo Coding Hub",
|
|
262
263
|
"company-hub": "Flamingo Company Hub",
|
|
263
264
|
tmcg: "TMCG",
|
|
264
265
|
mlg: "Major League GitHub",
|
|
@@ -302,6 +303,7 @@ var ODS_STEM_TOKENS = {
|
|
|
302
303
|
success: "attention-green-success",
|
|
303
304
|
warning: "attention-yellow-warning",
|
|
304
305
|
error: "attention-red-error",
|
|
306
|
+
"text-primary": "system-greys-white",
|
|
305
307
|
"text-secondary": "system-greys-grey"
|
|
306
308
|
};
|
|
307
309
|
var ODS_STEM_CLASSES = {
|
|
@@ -341,6 +343,12 @@ var ODS_STEM_CLASSES = {
|
|
|
341
343
|
bgSoft: "bg-ods-error/10",
|
|
342
344
|
borderSoft: "border-ods-error/30"
|
|
343
345
|
},
|
|
346
|
+
"text-primary": {
|
|
347
|
+
text: "text-ods-text-primary",
|
|
348
|
+
bg: "bg-ods-text-primary",
|
|
349
|
+
bgSoft: "bg-ods-text-primary/10",
|
|
350
|
+
borderSoft: "border-ods-text-primary/30"
|
|
351
|
+
},
|
|
344
352
|
"text-secondary": {
|
|
345
353
|
text: "text-ods-text-secondary",
|
|
346
354
|
bg: "bg-ods-text-secondary",
|
|
@@ -364,6 +372,7 @@ var PLATFORM_BRAND = {
|
|
|
364
372
|
"product-hub": { accentStem: "success", secondaryStem: "success" },
|
|
365
373
|
"revenue-hub": { accentStem: "warning", secondaryStem: "warning" },
|
|
366
374
|
"people-hub": { accentStem: "flamingo-cyan", secondaryStem: "flamingo-cyan" },
|
|
375
|
+
"coding-hub": { accentStem: "text-primary", secondaryStem: "text-primary" },
|
|
367
376
|
"company-hub": { accentStem: "error", secondaryStem: "error" },
|
|
368
377
|
mlg: { accentStem: "flamingo-pink", secondaryStem: "flamingo-cyan" },
|
|
369
378
|
universal: { accentStem: "text-secondary", secondaryStem: "text-secondary" }
|
|
@@ -416,6 +425,7 @@ var platformHexColors = {
|
|
|
416
425
|
"product-hub": "#5ea62e",
|
|
417
426
|
"revenue-hub": "#e1b32f",
|
|
418
427
|
"people-hub": "#5efaf0",
|
|
428
|
+
"coding-hub": "#fafafa",
|
|
419
429
|
"company-hub": "#f36666",
|
|
420
430
|
tmcg: "#f357bb",
|
|
421
431
|
mlg: "#f357bb"
|
|
@@ -1,14 +1,14 @@
|
|
|
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 _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -74,7 +74,7 @@ function DetailPageSkeleton({
|
|
|
74
74
|
] });
|
|
75
75
|
if (bare) return content;
|
|
76
76
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
|
|
77
|
+
_chunk2IFCRPNPcjs.PageLayout,
|
|
78
78
|
{
|
|
79
79
|
showHeader: false,
|
|
80
80
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -87,7 +87,7 @@ function DetailPageSkeleton({
|
|
|
87
87
|
var _lucidereact = require('lucide-react');
|
|
88
88
|
|
|
89
89
|
function formatDate(value) {
|
|
90
|
-
return
|
|
90
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, value, null, "long");
|
|
91
91
|
}
|
|
92
92
|
function ArticleAuthorByline({
|
|
93
93
|
author,
|
|
@@ -103,7 +103,7 @@ function ArticleAuthorByline({
|
|
|
103
103
|
}) {
|
|
104
104
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
105
105
|
if (!author) return null;
|
|
106
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
106
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunk22XAPV6Ncjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
107
107
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
108
108
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
109
109
|
directHttps: true
|
|
@@ -111,7 +111,7 @@ function ArticleAuthorByline({
|
|
|
111
111
|
const avatarSizeClass = size === "lg" ? "w-16 h-16" : "w-14 h-14";
|
|
112
112
|
const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
|
|
113
113
|
const avatarDim = size === "lg" ? 64 : 56;
|
|
114
|
-
const formattedBio =
|
|
114
|
+
const formattedBio = _chunkEQZXJUYVcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
|
|
115
115
|
const dateLabel = publishedAt ? formatDate(publishedAt) : "";
|
|
116
116
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
117
117
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -45,7 +45,7 @@ function PaginationControl({
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
const handleClick = (event) => {
|
|
48
|
-
if (
|
|
48
|
+
if (_chunk22XAPV6Ncjs.isModifierClick.call(void 0, event)) return;
|
|
49
49
|
event.preventDefault();
|
|
50
50
|
onPageChange(page);
|
|
51
51
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/components/tool-icon.tsx
|
|
7
7
|
var _react = require('react');
|
|
@@ -12,7 +12,7 @@ function toolIcon(toolType) {
|
|
|
12
12
|
const words = toolType.toLowerCase().split("_").filter(Boolean);
|
|
13
13
|
let icon = null;
|
|
14
14
|
for (let count = words.length; count >= 1 && !icon; count -= 1) {
|
|
15
|
-
icon =
|
|
15
|
+
icon = _chunkR3TWQ3ZJcjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
|
|
16
16
|
}
|
|
17
17
|
TOOL_ICONS.set(toolType, icon);
|
|
18
18
|
return icon;
|
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkTSJUL6IHcjs = require('./chunk-TSJUL6IH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJ4P47JHMcjs = require('./chunk-J4P47JHM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk72XMAKDAcjs = require('./chunk-72XMAKDA.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -31,10 +31,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkM7YZGRAVcjs = require('./chunk-M7YZGRAV.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
@@ -53,7 +53,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
53
53
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
54
54
|
if (isFiltered) {
|
|
55
55
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
-
|
|
56
|
+
_chunkTSJUL6IHcjs.EmptyState,
|
|
57
57
|
{
|
|
58
58
|
type: "search",
|
|
59
59
|
title: filtered.title,
|
|
@@ -66,7 +66,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
66
66
|
}
|
|
67
67
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
68
68
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
-
|
|
69
|
+
_chunkTSJUL6IHcjs.EmptyState,
|
|
70
70
|
{
|
|
71
71
|
type: "generic",
|
|
72
72
|
title: empty.title,
|
|
@@ -95,7 +95,7 @@ function PageDataSyncProvider({ children }) {
|
|
|
95
95
|
function PageDataSyncRow({ inline = false }) {
|
|
96
96
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
97
97
|
if (!context) return null;
|
|
98
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, inline });
|
|
99
99
|
}
|
|
100
100
|
function usePageDataSync(sync, loading) {
|
|
101
101
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
@@ -113,7 +113,7 @@ function usePageDataSync(sync, loading) {
|
|
|
113
113
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
114
114
|
|
|
115
115
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
116
|
-
const section =
|
|
116
|
+
const section = _chunkCEJDHCFZcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
117
117
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
118
118
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
119
119
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -151,11 +151,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
151
151
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
152
152
|
};
|
|
153
153
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
154
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
154
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
155
155
|
preControls,
|
|
156
156
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
157
157
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
-
|
|
158
|
+
_chunk72XMAKDAcjs.SearchInput,
|
|
159
159
|
{
|
|
160
160
|
showDropdown: false,
|
|
161
161
|
placeholder: search.placeholder,
|
|
@@ -165,7 +165,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
-
|
|
168
|
+
_chunk72XMAKDAcjs.StatusFilterComponent,
|
|
169
169
|
{
|
|
170
170
|
selectedStatus: currentFilterValue,
|
|
171
171
|
onStatusChange: handleFilterChange,
|
|
@@ -190,7 +190,7 @@ function DevSectionPage({
|
|
|
190
190
|
shell = true
|
|
191
191
|
}) {
|
|
192
192
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
193
|
-
const section =
|
|
193
|
+
const section = _chunkCEJDHCFZcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
194
194
|
const backCfg = backButton === false ? void 0 : {
|
|
195
195
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
196
196
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -203,7 +203,7 @@ function DevSectionPage({
|
|
|
203
203
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
204
204
|
// frozen and renders title-only.)
|
|
205
205
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
206
|
-
|
|
206
|
+
_chunk2IFCRPNPcjs.PageLayout,
|
|
207
207
|
{
|
|
208
208
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
209
209
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -212,12 +212,12 @@ function DevSectionPage({
|
|
|
212
212
|
backButton: backCfg,
|
|
213
213
|
children: [
|
|
214
214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
215
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4P47JHMcjs.FaqSection, { ..._chunkJ4P47JHMcjs.pageFaqProps.call(void 0, faq) })
|
|
216
216
|
]
|
|
217
217
|
}
|
|
218
218
|
)
|
|
219
219
|
);
|
|
220
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -288,7 +288,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
288
288
|
const taskType = item.taskType;
|
|
289
289
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
290
290
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
291
|
-
const statusBadgeScheme =
|
|
291
|
+
const statusBadgeScheme = _chunk22XAPV6Ncjs.getStatusColorScheme.call(void 0, item.status);
|
|
292
292
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
293
293
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
294
294
|
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: [
|
|
@@ -300,7 +300,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
300
300
|
] }),
|
|
301
301
|
/* @__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: [
|
|
302
302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
|
-
|
|
303
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
304
304
|
{
|
|
305
305
|
text: item.status.toUpperCase(),
|
|
306
306
|
colorScheme: statusBadgeScheme,
|
|
@@ -309,7 +309,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
309
309
|
}
|
|
310
310
|
),
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
313
313
|
{
|
|
314
314
|
text: typeBadgeLabel,
|
|
315
315
|
variant: "card",
|
|
@@ -317,7 +317,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
319
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
320
|
-
|
|
320
|
+
_chunkM7YZGRAVcjs.AvatarStack,
|
|
321
321
|
{
|
|
322
322
|
size: "xs",
|
|
323
323
|
className: "ml-auto content-md:ml-0",
|