@flamingo-stack/openframe-frontend-core 0.0.705 → 0.0.706-snapshot.20261006181108
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/chat-protocol/index.cjs +23 -14
- package/dist/chat-protocol/index.js +23 -14
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +11 -2
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-QFXRPRFT.js → chunk-2YHNQAMU.js} +3 -3
- package/dist/{chunk-YHM5AWTT.js → chunk-3FZP73R4.js} +6 -6
- package/dist/{chunk-VR2ZLFCP.js → chunk-4IBPRIQH.js} +1 -1
- package/dist/{chunk-AQWZNP6A.js → chunk-4RVC6TCE.js} +4 -4
- package/dist/{chunk-OUY3HHW6.cjs → chunk-4UMOD5NU.cjs} +928 -539
- package/dist/{chunk-IKTQ3ZAG.cjs → chunk-54L6NMKQ.cjs} +6 -6
- package/dist/{chunk-A75QY6CD.cjs → chunk-56LOCS37.cjs} +21 -21
- package/dist/{chunk-WA6GUYQ4.cjs → chunk-5CMYEGHE.cjs} +104 -104
- package/dist/{chunk-VA5T32XA.js → chunk-632NGOIH.js} +2 -2
- package/dist/{chunk-MMOODW57.cjs → chunk-6NTPY5QA.cjs} +1887 -94
- package/dist/{chunk-VESKITRQ.cjs → chunk-7XVBJDH7.cjs} +728 -732
- package/dist/{chunk-3MX5S4CF.cjs → chunk-AGNG62O2.cjs} +905 -2564
- package/dist/{chunk-ZSAO2HBW.js → chunk-BETJB7UV.js} +15 -15
- package/dist/{chunk-MP2C3LJ4.js → chunk-CUME3VTQ.js} +1 -1
- package/dist/{chunk-PDWVPI3S.js → chunk-CZ7Y7UG4.js} +4 -72
- package/dist/{chunk-F6I6XZMN.js → chunk-E2TQZIOJ.js} +5 -5
- package/dist/{chunk-X5MQ7JRP.js → chunk-ECXW3RIH.js} +9 -9
- package/dist/{chunk-JEZKGCZI.cjs → chunk-EUSDLX5W.cjs} +26 -26
- package/dist/{chunk-6NJKKO73.cjs → chunk-F4E3L3KV.cjs} +15 -15
- package/dist/{chunk-MFFCUVWG.js → chunk-F57ECE2I.js} +1 -1
- package/dist/{chunk-F6AFPNDF.js → chunk-FBY4V3YS.js} +15 -15
- package/dist/{chunk-CH5232HV.js → chunk-FI6GMDO7.js} +2455 -662
- package/dist/{chunk-NDESEPW5.js → chunk-FXJ3WWUB.js} +68 -0
- package/dist/{chunk-FCGC42TS.js → chunk-HTBN3XYF.js} +57 -61
- package/dist/{chunk-ZSAGLQOD.cjs → chunk-I43ZVJRL.cjs} +17 -17
- package/dist/{chunk-7VVFKJY5.js → chunk-IBQZMRWO.js} +1796 -3455
- package/dist/{chunk-4KX6OED2.cjs → chunk-JFSLQ2XS.cjs} +46 -46
- package/dist/{chunk-5HBHO5TB.js → chunk-JPG7OHEG.js} +1 -1
- package/dist/{chunk-MKXO4Q5P.js → chunk-KUC673HM.js} +383 -142
- package/dist/{chunk-4I45Y3DN.cjs → chunk-L3Q7R7CQ.cjs} +6 -6
- package/dist/{chunk-X72J4ACL.cjs → chunk-LLSUVPQC.cjs} +252 -8
- package/dist/{chunk-RKV5B7EU.cjs → chunk-LM7TXMLU.cjs} +72 -4
- package/dist/{chunk-PN2RKPDF.js → chunk-LSQPH73L.js} +10 -10
- package/dist/{chunk-HPWWNJE7.cjs → chunk-MY3JYZQY.cjs} +89 -89
- package/dist/{chunk-2YXVWZVF.js → chunk-N45D4ZXQ.js} +959 -715
- package/dist/{chunk-Z2VNQQ74.js → chunk-NCPTID44.js} +978 -942
- package/dist/{chunk-KOWVJD4V.cjs → chunk-O6WNIA6W.cjs} +56 -56
- package/dist/{chunk-ABU3TGXA.cjs → chunk-OF6GEI5A.cjs} +3 -3
- package/dist/{chunk-OHFS7VOU.cjs → chunk-PLYEKV3N.cjs} +2 -2
- package/dist/{chunk-VHCACDKP.cjs → chunk-RQRX4YC3.cjs} +39 -39
- package/dist/{chunk-DW7G4KG3.js → chunk-RZNRVXHH.js} +3 -3
- package/dist/{chunk-G5A3PSPV.js → chunk-SGJP2WKD.js} +1080 -691
- package/dist/{chunk-7LS22BZU.cjs → chunk-STXYW25T.cjs} +14 -14
- package/dist/{chunk-YFBM2K6X.cjs → chunk-TB5EDWRC.cjs} +4 -4
- package/dist/{chunk-RBDP4WDE.js → chunk-U6BWEKJC.js} +6 -6
- package/dist/{chunk-XOYH2YQE.cjs → chunk-UDFRUKLC.cjs} +2 -2
- package/dist/{chunk-TYWLNCNH.cjs → chunk-UVTD52MD.cjs} +14 -82
- package/dist/{chunk-N3COXDBH.cjs → chunk-VX4E6YSB.cjs} +41 -5
- package/dist/{chunk-2QEUFXNS.cjs → chunk-WCVZCGK5.cjs} +312 -71
- package/dist/{chunk-6XIF2Z7I.js → chunk-WMX26HB5.js} +3 -3
- package/dist/{chunk-IHERL5V4.cjs → chunk-WXAT5C4C.cjs} +34 -34
- package/dist/{chunk-D7BTSVMS.cjs → chunk-Y2GSOUCS.cjs} +2 -2
- package/dist/{chunk-6SEANMOU.js → chunk-Y5VSOYPS.js} +11 -11
- package/dist/{chunk-DENB2XJC.js → chunk-YQWTGQG5.js} +2 -2
- package/dist/components/case-studies/index.cjs +30 -32
- package/dist/components/case-studies/index.js +14 -16
- package/dist/components/chat/entity-cards/case-study-card.d.ts +11 -4
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -11
- package/dist/components/chat/index.js +14 -16
- package/dist/components/chat/types/message.types.d.ts +20 -16
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +1 -1
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +12 -14
- package/dist/components/contact/index.js +11 -13
- package/dist/components/docs/index.cjs +15 -17
- package/dist/components/docs/index.js +14 -16
- package/dist/components/embeds/index.cjs +12 -14
- package/dist/components/embeds/index.js +11 -13
- package/dist/components/faq/index.cjs +13 -15
- package/dist/components/faq/index.js +12 -14
- package/dist/components/features/index.cjs +12 -14
- package/dist/components/features/index.js +21 -23
- package/dist/components/help-center-pages/index.cjs +118 -120
- package/dist/components/help-center-pages/index.js +33 -35
- package/dist/components/icons/index.cjs +3 -5
- package/dist/components/icons/index.js +9 -11
- package/dist/components/icons-v2-generated/index.cjs +3 -5
- package/dist/components/icons-v2-generated/index.js +2 -4
- package/dist/components/index.cjs +86 -159
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +329 -402
- package/dist/components/loading/page-layout-skeleton.d.ts +1 -1
- package/dist/components/meeting-scheduler/index.cjs +62 -64
- package/dist/components/meeting-scheduler/index.js +12 -14
- package/dist/components/navigation/index.cjs +28 -16
- package/dist/components/navigation/index.d.ts +14 -10
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +38 -26
- package/dist/components/navigation/mingo-ai-button.d.ts +38 -3
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts +3 -0
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts.map +1 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts +48 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -0
- package/dist/components/navigation/nav-item-row.d.ts +27 -0
- package/dist/components/navigation/nav-item-row.d.ts.map +1 -0
- package/dist/components/navigation/nav-panel.d.ts +43 -0
- package/dist/components/navigation/nav-panel.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -2
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.d.ts +28 -0
- package/dist/components/navigation/site-footer.d.ts.map +1 -0
- package/dist/components/navigation/site-header.d.ts +61 -0
- package/dist/components/navigation/site-header.d.ts.map +1 -0
- package/dist/components/navigation/site-nav-link.d.ts +26 -0
- package/dist/components/navigation/site-nav-link.d.ts.map +1 -0
- package/dist/components/navigation/top-navigation.d.ts +2 -2
- package/dist/components/navigation/top-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +15 -17
- package/dist/components/onboarding-guides/index.js +14 -16
- package/dist/components/related-content/index.cjs +10 -8
- package/dist/components/related-content/index.js +9 -7
- package/dist/components/tickets/index.cjs +16 -18
- package/dist/components/tickets/index.js +15 -17
- package/dist/components/ui/index.cjs +12 -14
- package/dist/components/ui/index.js +17 -19
- package/dist/hooks/index.cjs +19 -11
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +19 -11
- package/dist/hooks/ui/index.d.ts +3 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-active-section.d.ts +10 -0
- package/dist/hooks/ui/use-active-section.d.ts.map +1 -0
- package/dist/hooks/ui/use-nav-menus.d.ts +48 -0
- package/dist/hooks/ui/use-nav-menus.d.ts.map +1 -0
- package/dist/hooks/ui/use-visitor-os.d.ts +15 -0
- package/dist/hooks/ui/use-visitor-os.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +9 -0
- package/dist/hooks/use-location-hash.d.ts.map +1 -0
- package/dist/index.cjs +55 -22
- package/dist/index.js +229 -196
- package/dist/types/case-study.d.ts +9 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/navigation.d.ts +95 -65
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/index.cjs +55 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +50 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/visitor-os.d.ts +45 -0
- package/dist/utils/visitor-os.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/chat-protocol/nats-decoder.ts +10 -8
- package/src/chat-protocol/source-metadata.ts +25 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +115 -5
- package/src/components/chat/types/message.types.ts +21 -15
- package/src/components/chat/types/unified-chat-state.types.ts +1 -1
- package/src/components/chat/utils/icon-library.tsx +35 -1
- package/src/components/chat/utils/process-historical-messages.ts +12 -4
- package/src/components/index.ts +0 -2
- package/src/components/loading/page-layout-skeleton.tsx +1 -1
- package/src/components/navigation/index.ts +21 -14
- package/src/components/navigation/mingo-ai-button.tsx +139 -63
- package/src/components/navigation/mobile-nav-sheet-id.ts +2 -0
- package/src/components/navigation/mobile-nav-sheet.tsx +241 -0
- package/src/components/navigation/nav-item-row.tsx +129 -0
- package/src/components/navigation/nav-panel.tsx +196 -0
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -2
- package/src/components/navigation/site-footer.tsx +256 -0
- package/src/components/navigation/site-header.tsx +339 -0
- package/src/components/navigation/site-nav-link.tsx +41 -0
- package/src/components/navigation/ticket-alerts-button.tsx +2 -2
- package/src/components/navigation/top-navigation.tsx +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/ui/index.ts +3 -0
- package/src/hooks/ui/use-active-section.ts +44 -0
- package/src/hooks/ui/use-nav-menus.ts +200 -0
- package/src/hooks/ui/use-visitor-os.ts +33 -0
- package/src/hooks/use-location-hash.ts +34 -0
- package/src/styles/chat-animations.css +57 -2
- package/src/types/case-study.ts +16 -0
- package/src/types/navigation.ts +80 -66
- package/src/utils/index.ts +1 -0
- package/src/utils/source-icons.ts +13 -0
- package/src/utils/visitor-os.ts +84 -0
- package/dist/chunk-LMBC5FFP.js +0 -43
- package/dist/chunk-O43V3EOS.js +0 -252
- package/dist/chunk-QZVSJF2K.cjs +0 -252
- package/dist/chunk-RALRPFDW.cjs +0 -43
- package/dist/components/footer-waitlist-button.d.ts +0 -29
- package/dist/components/footer-waitlist-button.d.ts.map +0 -1
- package/dist/components/footer.d.ts +0 -47
- package/dist/components/footer.d.ts.map +0 -1
- package/dist/components/navigation/client-only-header.d.ts +0 -8
- package/dist/components/navigation/client-only-header.d.ts.map +0 -1
- package/dist/components/navigation/header-skeleton.d.ts +0 -12
- package/dist/components/navigation/header-skeleton.d.ts.map +0 -1
- package/dist/components/navigation/header.d.ts +0 -9
- package/dist/components/navigation/header.d.ts.map +0 -1
- package/dist/components/navigation/mobile-nav-panel.d.ts +0 -10
- package/dist/components/navigation/mobile-nav-panel.d.ts.map +0 -1
- package/src/components/footer-waitlist-button.tsx +0 -53
- package/src/components/footer.tsx +0 -195
- package/src/components/navigation/client-only-header.tsx +0 -22
- package/src/components/navigation/header-skeleton.tsx +0 -74
- package/src/components/navigation/header.tsx +0 -429
- package/src/components/navigation/mobile-nav-panel.tsx +0 -155
|
@@ -4,41 +4,41 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7XVBJDH7cjs = require('./chunk-7XVBJDH7.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkWCVZCGK5cjs = require('./chunk-WCVZCGK5.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
var _chunk6NTPY5QAcjs = require('./chunk-6NTPY5QA.cjs');
|
|
20
21
|
|
|
21
22
|
|
|
23
|
+
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
var _chunkX72J4ACLcjs = require('./chunk-X72J4ACL.cjs');
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
var _chunkN3COXDBHcjs = require('./chunk-N3COXDBH.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
var _chunkLLSUVPQCcjs = require('./chunk-LLSUVPQC.cjs');
|
|
35
36
|
|
|
36
37
|
|
|
37
38
|
|
|
38
|
-
var _chunkMMOODW57cjs = require('./chunk-MMOODW57.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -66,27 +66,27 @@ SoftwareInfo.displayName = "SoftwareInfo";
|
|
|
66
66
|
// src/components/platform/SoftwareSourceBadge.tsx
|
|
67
67
|
|
|
68
68
|
var sourceConfig = {
|
|
69
|
-
apps: { label: "App", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
-
chrome_extensions: { label: "Chrome", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
71
|
-
firefox_addons: { label: "Firefox", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
|
-
safari_extensions: { label: "Safari", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
ie_extensions: { label: "IE", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
74
|
-
vscode_extensions: { label: "VS Code", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
atom_packages: { label: "Atom", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
76
|
-
homebrew_packages: { label: "Homebrew", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
npm_packages: { label: "NPM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
-
python_packages: { label: "Python", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
-
apt_sources: { label: "APT", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
80
|
-
deb_packages: { label: "DEB", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
|
-
rpm_packages: { label: "RPM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
82
|
-
yum_sources: { label: "YUM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
-
portage_packages: { label: "Portage", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
84
|
-
chocolatey_packages: { label: "Chocolatey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
85
|
-
programs: { label: "Windows", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
pkg_packages: { label: "PKG", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
+
apps: { label: "App", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MacOSIcon, { className: "h-4 w-4" }) },
|
|
70
|
+
chrome_extensions: { label: "Chrome", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
71
|
+
firefox_addons: { label: "Firefox", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
72
|
+
safari_extensions: { label: "Safari", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
73
|
+
ie_extensions: { label: "IE", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
74
|
+
vscode_extensions: { label: "VS Code", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
75
|
+
atom_packages: { label: "Atom", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
76
|
+
homebrew_packages: { label: "Homebrew", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MacOSIcon, { className: "h-4 w-4" }) },
|
|
77
|
+
npm_packages: { label: "NPM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
78
|
+
python_packages: { label: "Python", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) },
|
|
79
|
+
apt_sources: { label: "APT", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.LinuxIcon, { className: "h-4 w-4" }) },
|
|
80
|
+
deb_packages: { label: "DEB", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.LinuxIcon, { className: "h-4 w-4" }) },
|
|
81
|
+
rpm_packages: { label: "RPM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.LinuxIcon, { className: "h-4 w-4" }) },
|
|
82
|
+
yum_sources: { label: "YUM", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.LinuxIcon, { className: "h-4 w-4" }) },
|
|
83
|
+
portage_packages: { label: "Portage", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.LinuxIcon, { className: "h-4 w-4" }) },
|
|
84
|
+
chocolatey_packages: { label: "Chocolatey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.WindowsIcon, { className: "h-4 w-4" }) },
|
|
85
|
+
programs: { label: "Windows", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.WindowsIcon, { className: "h-4 w-4" }) },
|
|
86
|
+
pkg_packages: { label: "PKG", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) }
|
|
87
87
|
};
|
|
88
88
|
var SoftwareSourceBadge = ({ source, className }) => {
|
|
89
|
-
const config = sourceConfig[source] || { label: source, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
89
|
+
const config = sourceConfig[source] || { label: source, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.PackageIcon, { className: "h-4 w-4" }) };
|
|
90
90
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 text-ods-text-primary", className), children: [
|
|
91
91
|
config.icon,
|
|
92
92
|
config.label
|
|
@@ -110,7 +110,7 @@ var CveLink = ({ cveId, className }) => {
|
|
|
110
110
|
),
|
|
111
111
|
children: [
|
|
112
112
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: cveId }),
|
|
113
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.CustomExternalLinkIcon, { className: "h-4 w-4 text-ods-text-secondary transition-colors group-hover:text-ods-accent" })
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
);
|
|
@@ -128,8 +128,8 @@ var ToolBadge = ({
|
|
|
128
128
|
className,
|
|
129
129
|
iconClassName
|
|
130
130
|
}) => {
|
|
131
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
132
|
-
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
131
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunk7XVBJDH7cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
132
|
+
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUVTD52MDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
133
133
|
const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
134
134
|
if (variant === "chip") {
|
|
135
135
|
return linked(
|
|
@@ -162,42 +162,42 @@ var ToolBadge = ({
|
|
|
162
162
|
// src/components/platform/ShellTypeBadge.tsx
|
|
163
163
|
|
|
164
164
|
var shellIconMap = {
|
|
165
|
-
[
|
|
166
|
-
icon:
|
|
165
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.POWERSHELL]: {
|
|
166
|
+
icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
|
|
167
167
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
168
168
|
},
|
|
169
|
-
[
|
|
170
|
-
icon:
|
|
169
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.CMD]: {
|
|
170
|
+
icon: _chunkLLSUVPQCcjs.CmdIcon,
|
|
171
171
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
172
172
|
},
|
|
173
|
-
[
|
|
174
|
-
icon:
|
|
173
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.BASH]: {
|
|
174
|
+
icon: _chunkLLSUVPQCcjs.BashIcon,
|
|
175
175
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
176
176
|
},
|
|
177
|
-
[
|
|
178
|
-
icon:
|
|
177
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.PYTHON]: {
|
|
178
|
+
icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
|
|
179
179
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
180
180
|
},
|
|
181
|
-
[
|
|
182
|
-
icon:
|
|
181
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.NUSHELL]: {
|
|
182
|
+
icon: _chunkLLSUVPQCcjs.NushellIcon,
|
|
183
183
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
184
184
|
},
|
|
185
|
-
[
|
|
186
|
-
icon:
|
|
185
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.DENO]: {
|
|
186
|
+
icon: _chunkLLSUVPQCcjs.DenoIcon,
|
|
187
187
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
188
188
|
},
|
|
189
|
-
[
|
|
190
|
-
icon:
|
|
189
|
+
[_chunk7XVBJDH7cjs.ShellTypeValues.SHELL]: {
|
|
190
|
+
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
191
191
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
var defaultIconConfig = {
|
|
195
|
-
icon:
|
|
195
|
+
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
196
196
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
197
197
|
};
|
|
198
198
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
199
199
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
200
|
-
const label =
|
|
200
|
+
const label = _chunk7XVBJDH7cjs.getShellLabel.call(void 0, normalizedType);
|
|
201
201
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
202
202
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
203
203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -213,11 +213,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
213
213
|
if (!platforms || platforms.length === 0) {
|
|
214
214
|
return "All Platforms";
|
|
215
215
|
}
|
|
216
|
-
return platforms.map((platform) =>
|
|
216
|
+
return platforms.map((platform) => _chunk7XVBJDH7cjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
217
217
|
}
|
|
218
218
|
function InfoCell({ label, value, avatar, className }) {
|
|
219
219
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
220
|
-
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials ||
|
|
220
|
+
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunk6NTPY5QAcjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
221
221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
222
222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
223
223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -233,7 +233,7 @@ var ScriptInfoSection = ({
|
|
|
233
233
|
author,
|
|
234
234
|
className
|
|
235
235
|
}) => {
|
|
236
|
-
const shellLabel =
|
|
236
|
+
const shellLabel = _chunk7XVBJDH7cjs.getShellLabel.call(void 0, shellType);
|
|
237
237
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
238
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
239
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -313,7 +313,7 @@ var ScriptArguments = ({
|
|
|
313
313
|
disabled,
|
|
314
314
|
readOnly: isStoredSecret,
|
|
315
315
|
title: isStoredSecret ? STORED_SECRET_KEY_HINT : void 0,
|
|
316
|
-
startAdornment: arg.secret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
+
startAdornment: arg.secret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LockIcon, { role: "img", "aria-label": "Secret" }) : void 0
|
|
317
317
|
}
|
|
318
318
|
)
|
|
319
319
|
] }),
|
|
@@ -359,7 +359,7 @@ var ScriptArguments = ({
|
|
|
359
359
|
onClick: () => handleAdd(),
|
|
360
360
|
disabled,
|
|
361
361
|
className: "self-start",
|
|
362
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
362
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
363
363
|
children: addButtonLabel
|
|
364
364
|
}
|
|
365
365
|
),
|
|
@@ -372,7 +372,7 @@ var ScriptArguments = ({
|
|
|
372
372
|
onClick: () => handleAdd(true),
|
|
373
373
|
disabled,
|
|
374
374
|
className: "self-start",
|
|
375
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
375
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LockIcon, { className: "text-ods-text-secondary" }),
|
|
376
376
|
children: addSecretButtonLabel
|
|
377
377
|
}
|
|
378
378
|
)
|
|
@@ -408,7 +408,7 @@ function OnboardingStepCard({
|
|
|
408
408
|
onSkip();
|
|
409
409
|
};
|
|
410
410
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
411
|
-
|
|
411
|
+
_chunk6NTPY5QAcjs.InteractiveCard,
|
|
412
412
|
{
|
|
413
413
|
clickable: false,
|
|
414
414
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -434,7 +434,7 @@ function OnboardingStepCard({
|
|
|
434
434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
435
435
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
436
436
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
437
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
437
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
438
438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
439
439
|
_chunkDFQYAYBHcjs.Button,
|
|
440
440
|
{
|
|
@@ -445,7 +445,7 @@ function OnboardingStepCard({
|
|
|
445
445
|
children: step.completedText
|
|
446
446
|
}
|
|
447
447
|
)
|
|
448
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
448
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
449
449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
450
450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
451
451
|
] })
|
|
@@ -480,7 +480,7 @@ function OnboardingWalkthrough({
|
|
|
480
480
|
isStepSkipped,
|
|
481
481
|
allStepsComplete,
|
|
482
482
|
markMultipleComplete
|
|
483
|
-
} =
|
|
483
|
+
} = _chunkWCVZCGK5cjs.useOnboardingState.call(void 0, storageKey);
|
|
484
484
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
485
485
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
486
486
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -562,7 +562,7 @@ function OnboardingWalkthrough({
|
|
|
562
562
|
const isAllComplete = allStepsComplete(steps);
|
|
563
563
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
564
564
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk6NTPY5QAcjs.SECTION_HEADING_CLASS, children: _chunk6NTPY5QAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
566
566
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
567
567
|
] }),
|
|
568
568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkLM7TXMLUcjs = require('./chunk-LM7TXMLU.cjs');
|
|
6
6
|
|
|
7
7
|
// src/utils/search-params.ts
|
|
8
8
|
function positiveInt(raw, fallback, { min = 1, max } = {}) {
|
|
@@ -122,9 +122,9 @@ function withQuery(path, queryString) {
|
|
|
122
122
|
|
|
123
123
|
// src/utils/embed-content-fetch.ts
|
|
124
124
|
var contentFetch = (input, init) => {
|
|
125
|
-
if (!
|
|
125
|
+
if (!_chunkLM7TXMLUcjs.hasEmbedAuthAdapter.call(void 0, )) return fetch(input, init);
|
|
126
126
|
const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
127
|
-
return
|
|
127
|
+
return _chunkLM7TXMLUcjs.embedAuthedFetch.call(void 0, url, init);
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -164,7 +164,7 @@ function UnifiedPagination({
|
|
|
164
164
|
if (syncUrl) {
|
|
165
165
|
const params = new URLSearchParams(searchParams.toString());
|
|
166
166
|
params.set("page", page.toString());
|
|
167
|
-
window.history.replaceState(null, "",
|
|
167
|
+
window.history.replaceState(null, "", _chunkOF6GEI5Acjs.withQuery.call(void 0, pathname, params.toString()));
|
|
168
168
|
}
|
|
169
169
|
setTimeout(() => {
|
|
170
170
|
window.scrollTo({
|
|
@@ -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(); } } 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 _chunkUDFRUKLCcjs = require('./chunk-UDFRUKLC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ var _chunkXOYH2YQEcjs = require('./chunk-XOYH2YQE.cjs');
|
|
|
11
11
|
var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -42,7 +42,7 @@ var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunk6NTPY5QAcjs = require('./chunk-6NTPY5QA.cjs');
|
|
46
46
|
|
|
47
47
|
// src/components/related-content/related-content-section.tsx
|
|
48
48
|
var _react = require('react');
|
|
@@ -440,13 +440,13 @@ function cardEntry(definition) {
|
|
|
440
440
|
}
|
|
441
441
|
function programEntry(configKey) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeProgramRow,
|
|
445
445
|
render: (item, ctx) => {
|
|
446
446
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
447
|
if (!config) return null;
|
|
448
448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
449
|
+
_chunk6NTPY5QAcjs.ProgramCard,
|
|
450
450
|
{
|
|
451
451
|
config,
|
|
452
452
|
item,
|
|
@@ -463,10 +463,10 @@ function programEntry(configKey) {
|
|
|
463
463
|
}
|
|
464
464
|
function roadmapEntry(cardType) {
|
|
465
465
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunk6NTPY5QAcjs.RoadmapCard,
|
|
470
470
|
{
|
|
471
471
|
item,
|
|
472
472
|
href: ctx.href,
|
|
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
|
|
|
483
483
|
}
|
|
484
484
|
var RELATED_CARD_REGISTRY = {
|
|
485
485
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunk6NTPY5QAcjs.BlogCard,
|
|
490
490
|
{
|
|
491
491
|
post,
|
|
492
492
|
size: ctx.legacySize,
|
|
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
498
|
)
|
|
499
499
|
}),
|
|
500
500
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunk6NTPY5QAcjs.CaseStudyCard,
|
|
505
505
|
{
|
|
506
506
|
study,
|
|
507
507
|
size: ctx.legacySize,
|
|
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
513
|
)
|
|
514
514
|
}),
|
|
515
515
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunk6NTPY5QAcjs.CustomerInterviewCard,
|
|
520
520
|
{
|
|
521
521
|
interview,
|
|
522
522
|
size: ctx.legacySize,
|
|
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
534
|
* record, and the three props the rail sets itself are read off it.
|
|
535
535
|
*/
|
|
536
536
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
537
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
538
|
decode: asRecord,
|
|
539
539
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
540
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunk6NTPY5QAcjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunk6NTPY5QAcjs.ProductReleaseCard,
|
|
544
544
|
{
|
|
545
545
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
546
|
title: str(release, "title"),
|
|
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
556
|
webinar: programEntry("webinar"),
|
|
557
557
|
event: programEntry("event"),
|
|
558
558
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunk6NTPY5QAcjs.InvestorUpdateCard,
|
|
563
563
|
{
|
|
564
564
|
update,
|
|
565
565
|
size: ctx.legacySize,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
575
|
* section" rail, not this full-width row. */
|
|
576
576
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunk6NTPY5QAcjs.OnboardingGuideCard,
|
|
581
581
|
{
|
|
582
582
|
guide,
|
|
583
583
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
594
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
595
|
* card in a dead <a>. */
|
|
596
596
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunk6NTPY5QAcjs.WhatIShippedCard,
|
|
601
601
|
{
|
|
602
602
|
entry,
|
|
603
603
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
607
|
}),
|
|
608
608
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
609
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunk6NTPY5QAcjs.HowIWorkCard,
|
|
614
614
|
{
|
|
615
615
|
entry,
|
|
616
616
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
620
|
}),
|
|
621
621
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
622
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NTPY5QAcjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunk6NTPY5QAcjs.AiPromptCard,
|
|
627
627
|
{
|
|
628
628
|
entry,
|
|
629
629
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
644
|
children
|
|
645
645
|
}) {
|
|
646
646
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
647
|
+
const newTab = _chunk6NTPY5QAcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
648
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
649
|
}
|
|
650
650
|
function defaultResolveHref(ref) {
|
|
@@ -700,8 +700,8 @@ function CardForType({
|
|
|
700
700
|
function useGroupItems(type, refs, buildUrl) {
|
|
701
701
|
const ids = refs.map((r) => r.id);
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
|
-
const { data, isLoading } =
|
|
704
|
-
const items = data != null ?
|
|
703
|
+
const { data, isLoading } = _chunkUDFRUKLCcjs.useSelfFetch.call(void 0, url);
|
|
704
|
+
const items = data != null ? _chunk6NTPY5QAcjs.extractItems.call(void 0, data) : null;
|
|
705
705
|
return { items, isLoading };
|
|
706
706
|
}
|
|
707
707
|
function gridClassFor(columns) {
|
|
@@ -740,7 +740,7 @@ function ContentGroup({
|
|
|
740
740
|
setPage(1);
|
|
741
741
|
}
|
|
742
742
|
}, [refsKey]);
|
|
743
|
-
const totalGroupPages =
|
|
743
|
+
const totalGroupPages = _chunkOF6GEI5Acjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
744
744
|
const safePage = Math.min(page, totalGroupPages);
|
|
745
745
|
const visibleGroupRefs = refs.length > GROUP_PAGE_SIZE ? refs.slice((safePage - 1) * GROUP_PAGE_SIZE, safePage * GROUP_PAGE_SIZE) : refs;
|
|
746
746
|
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIZNSF3Ucjs.Pagination, { currentPage: safePage, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
@@ -753,7 +753,7 @@ function ContentGroup({
|
|
|
753
753
|
}
|
|
754
754
|
if (!items || items.length === 0) return null;
|
|
755
755
|
const rowKey = (it) => {
|
|
756
|
-
const extracted =
|
|
756
|
+
const extracted = _chunk6NTPY5QAcjs.extractItemId.call(void 0, type, it);
|
|
757
757
|
if (extracted !== null) return extracted;
|
|
758
758
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
759
759
|
};
|
|
@@ -842,9 +842,9 @@ function RelatedContentSection({
|
|
|
842
842
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
843
843
|
[initialItems, suggestionsDisabled]
|
|
844
844
|
);
|
|
845
|
-
const { data, isLoading } =
|
|
845
|
+
const { data, isLoading } = _chunkUDFRUKLCcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
846
846
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
847
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
847
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk6NTPY5QAcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
848
848
|
[buildListUrl2, apiBaseUrl]
|
|
849
849
|
);
|
|
850
850
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -855,12 +855,12 @@ function RelatedContentSection({
|
|
|
855
855
|
if (isLoading) {
|
|
856
856
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
857
857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk6NTPY5QAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
859
859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
|
|
860
860
|
] });
|
|
861
861
|
}
|
|
862
862
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk6NTPY5QAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
864
864
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
865
865
|
] });
|
|
866
866
|
}
|
|
@@ -871,14 +871,14 @@ function RelatedContentSection({
|
|
|
871
871
|
}
|
|
872
872
|
let orderedTypes = _chunkBIZNSF3Ucjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
873
873
|
if (entityType) {
|
|
874
|
-
const canonicalEntityType =
|
|
875
|
-
const sameType = orderedTypes.filter((t) =>
|
|
874
|
+
const canonicalEntityType = _chunk6NTPY5QAcjs.canonicalContentRefType.call(void 0, entityType);
|
|
875
|
+
const sameType = orderedTypes.filter((t) => _chunk6NTPY5QAcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
876
876
|
if (sameType.length > 0) {
|
|
877
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
877
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk6NTPY5QAcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk6NTPY5QAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
882
882
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
883
|
ContentGroup,
|
|
884
884
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F57ECE2I.js";
|
|
5
5
|
import {
|
|
6
6
|
OPENFRAME_DEV_SECTIONS,
|
|
7
7
|
PageLayout,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
StatusFilterComponent,
|
|
11
11
|
TASK_TYPE_LABELS,
|
|
12
12
|
TASK_TYPE_TEXT_COLORS
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HTBN3XYF.js";
|
|
14
14
|
import {
|
|
15
15
|
usePathname,
|
|
16
16
|
useRouter,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
AvatarStack,
|
|
21
21
|
StatusBadge,
|
|
22
22
|
getStatusColorScheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FI6GMDO7.js";
|
|
24
24
|
import {
|
|
25
25
|
next_link_default
|
|
26
26
|
} from "./chunk-DAAVMYUT.js";
|